File downloading method and apparatus
A file download and target file technology, applied in the Internet field, can solve problems such as slow download speed, slow disk read and write speed, and suspended operating system, achieve the effect of fast download process, improve download experience, and reduce the probability of file damage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 2 It is a flow chart showing the file downloading method according to Embodiment 1 of the present invention. available in as image 3 The method is performed on the apparatus of the illustrated embodiment.
[0024] refer to figure 2 , in step S210, create a target file for the file to be downloaded, divide the file to be downloaded into data segments and assign them to multiple threads responsible for downloading, each data segment has a starting position information.
[0025] According to an exemplary embodiment of the present invention, the process of creating a target file for the file to be downloaded in step S210 further includes: setting the size of the created target file to be the same as the size of the file to be downloaded.
[0026] In a specific implementation, for example, when the user clicks the watch button in the video playback interface to instruct the user terminal to download the multimedia file, then the multimedia file is the file to be...
Embodiment 2
[0038] image 3 It is a logical block diagram showing a file downloading device according to Embodiment 2 of the present invention. can be used to execute as figure 2 The method steps of the illustrated embodiment.
[0039] refer to image 3 , the file downloading device includes a file allocation module 310 , a pointer setting module 320 and a file downloading module 330 . The file allocation module 310, the pointer setting module 320 and the file download module 330 are connected in sequence.
[0040] The file distribution module 310 is used to create a target file for the file to be downloaded, divide the file to be downloaded into data segments and assign them to multiple threads responsible for downloading, and each data segment has a starting position information.
[0041] According to a preferred embodiment of the present invention, the file allocation module 310 is further configured to set the size of the created target file to be the same as the size of the file t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com