CN104580285A - HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints - Google Patents
HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints Download PDFInfo
- Publication number
- CN104580285A CN104580285A CN201310479835.5A CN201310479835A CN104580285A CN 104580285 A CN104580285 A CN 104580285A CN 201310479835 A CN201310479835 A CN 201310479835A CN 104580285 A CN104580285 A CN 104580285A
- Authority
- CN
- China
- Prior art keywords
- downloading
- file
- http
- resources
- breakpoints
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
With the development of the internet technology in today's world, people can acquire network shared resources quickly and easily. More and more people begin to download resources through the internet. However, during resource downloading, downloading may be interrupted or stopped due to multiple accidents such as accidental cutting off of power supplies, interruption of networks and restart of systems caused by operating system failures. Those reasons can cause interruption of downloading, but a user finds that originally downloaded data disappear and is required to download resources again when downloading the resources again and feels that all previous efforts are wasted. In order to solve the problem, the invention discloses an HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints. According to the method, downloading tasks are completed instead of being started all over again by the aid of some redirection mechanisms in the network protocol.
Description
Technical field
The present invention relates to a kind of implementation method based on http protocol breakpoint transmission file.The invention belongs to field of computer technology.
Background technology
Along with the development of world today's Internet technology, people more and more rely on the Internet.Be not difficult to find, present people online has not been singly that open any browser carrys out browsing page, but starts the various resources downloaded on the Internet.But, downloading resource from the Internet is a process, in the process of downloaded resources, probably there will be a lot of fortuitous events download is interrupted or stops, such as unexpected power-off, unexpected suspension or operating system failure causes system restart etc.These reasons all can cause the interruption of downloading, and when user wishes to find when continuing downloaded resources that the original data downloaded have not been present in, must restart to download.Downloaded to the resource of 99% soon, but owing to going offline suddenly, all that has been achieved is spoiled, and that dejected probably everybody lives through.Breakpoint transmission just effectively can solve such problem, its task is when downloading stopping, record the information of current download, and utilize some redirection mechanisms in procotol to continue downloading task and need not do again from the beginning, namely continue to download from the place of file interruption last time download.
Summary of the invention
In order to bring convenience to the download of numerous Internet users, enabling user continue to download the file interrupting because of various reasons last time downloading, invention describes a kind of implementation method based on http protocol breakpoint transmission file.Concrete steps are as follows:
Step 1: user enters system, fills in the association attributes of necessary downloaded resources in newly-built task.
Step 2: system sends HTTP message request, and then server returns response message according to request, confirms that the errorless thread that just starts starts downloaded resources, and the data stored in buffer memory is finally stored into object store path.
Step 3: the newly-built downloading task of user, in time having downloaded a part, has interrupted downloading, and then the task that beginning has just been interrupted, then original downloading task can continue to download, instead of again downloads.
Embodiment
Embodiment one
Use MyEclipse 8.6 as developing instrument, use special database management tools MySQL on market to set up the database required for system.
But 1. judge whether to carry out breakpoint transmission: when user newly set up a downloading task and choose download file deposit path time, first judge whether this file exists under this catalogue.If there is no, then set up new downloading task to download; If existed, also need to judge that this file judges that whether file destination is complete: if the file of complete download, system can point out user whether will cover download; If just downloaded the file of part, then carry out breakpoint transmission.
2. arrange breakpoint: analyze the temporary file downloaded, all temporary files of traversal file destination, arrange the starting position of breakpoint transmission, i.e. the length of each temporary file, and to server request from file reading.The naming method of temporary file is: file destination name+" _ "+numbering.
3. resume: arrange local file write start byte, and connect from last time transmitted breakpoint succession write.
In addition to the implementation, the present invention can also have other execution modes.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection range of application claims.
Claims (3)
1. analyze the temporary file downloaded, all temporary files of traversal file destination, arrange the starting position of breakpoint transmission.
2. the naming method of temporary file is: file destination name+" _ "+numbering.
3., after local file write start byte is set, transmitted breakpoint succession write from last time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310479835.5A CN104580285A (en) | 2013-10-15 | 2013-10-15 | HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310479835.5A CN104580285A (en) | 2013-10-15 | 2013-10-15 | HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104580285A true CN104580285A (en) | 2015-04-29 |
Family
ID=53095464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310479835.5A Pending CN104580285A (en) | 2013-10-15 | 2013-10-15 | HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104580285A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101284A (en) * | 2016-08-19 | 2016-11-09 | 福建天晴数码有限公司 | A kind of method and system of file download breakpoint transmission |
CN106453474A (en) * | 2015-07-17 | 2017-02-22 | 生物辐射实验室股份有限公司 | Network transfer of large files in unstable network environments |
CN108600377A (en) * | 2018-04-28 | 2018-09-28 | 武汉斗鱼网络科技有限公司 | A kind of pause method of file download, device, terminal and storage medium |
CN114115943A (en) * | 2021-11-17 | 2022-03-01 | 武汉虹信技术服务有限责任公司 | Version updating method, system, medium and equipment supporting breakpoint continuous transmission |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928857A (en) * | 2005-09-07 | 2007-03-14 | 展讯通信(上海)有限公司 | Device for improving mobile phone wireless networking transmission band width |
EP1806877A1 (en) * | 2004-10-26 | 2007-07-11 | Matsushita Electric Industrial Co., Ltd. | Transmitting device, receiving device, and file forwarding system |
CN101005676A (en) * | 2007-01-18 | 2007-07-25 | 上海柯斯软件有限公司 | Method for down loading network resource using mobile terminal |
CN101577730A (en) * | 2009-01-15 | 2009-11-11 | 传神联合(北京)信息技术有限公司 | Method for uploading and downloading files synchronously based on FTP protocol |
CN103227812A (en) * | 2013-03-19 | 2013-07-31 | 青岛海信宽带多媒体技术有限公司 | Downloading method and device supporting breakpoint resuming in intelligent equipment |
-
2013
- 2013-10-15 CN CN201310479835.5A patent/CN104580285A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1806877A1 (en) * | 2004-10-26 | 2007-07-11 | Matsushita Electric Industrial Co., Ltd. | Transmitting device, receiving device, and file forwarding system |
CN1928857A (en) * | 2005-09-07 | 2007-03-14 | 展讯通信(上海)有限公司 | Device for improving mobile phone wireless networking transmission band width |
CN101005676A (en) * | 2007-01-18 | 2007-07-25 | 上海柯斯软件有限公司 | Method for down loading network resource using mobile terminal |
CN101577730A (en) * | 2009-01-15 | 2009-11-11 | 传神联合(北京)信息技术有限公司 | Method for uploading and downloading files synchronously based on FTP protocol |
CN103227812A (en) * | 2013-03-19 | 2013-07-31 | 青岛海信宽带多媒体技术有限公司 | Downloading method and device supporting breakpoint resuming in intelligent equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453474A (en) * | 2015-07-17 | 2017-02-22 | 生物辐射实验室股份有限公司 | Network transfer of large files in unstable network environments |
CN106453474B (en) * | 2015-07-17 | 2021-02-05 | 生物辐射实验室股份有限公司 | Network transmission of large files in unstable network environments |
CN106101284A (en) * | 2016-08-19 | 2016-11-09 | 福建天晴数码有限公司 | A kind of method and system of file download breakpoint transmission |
CN106101284B (en) * | 2016-08-19 | 2019-04-02 | 福建天晴数码有限公司 | A kind of method and system of file download breakpoint transmission |
CN108600377A (en) * | 2018-04-28 | 2018-09-28 | 武汉斗鱼网络科技有限公司 | A kind of pause method of file download, device, terminal and storage medium |
CN108600377B (en) * | 2018-04-28 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Method, device, terminal and storage medium for suspending file downloading |
CN114115943A (en) * | 2021-11-17 | 2022-03-01 | 武汉虹信技术服务有限责任公司 | Version updating method, system, medium and equipment supporting breakpoint continuous transmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6000401B2 (en) | Cloud storage | |
US20190278694A1 (en) | Debug event handling | |
CN105446750B (en) | The method and apparatus that WebApp starting runs, generates image file | |
US9077681B2 (en) | Page loading optimization using page-maintained cache | |
US20180121323A1 (en) | Debug Session Management | |
US9100460B2 (en) | Media stream fragment request | |
US10831741B2 (en) | Log-shipping data replication with early log record fetching | |
JP5455069B2 (en) | Information processing system and information processing method | |
CN104580285A (en) | HTTP (hypertext transfer protocol)-based method for realizing continuous file transfer from breakpoints | |
WO2012113076A1 (en) | Network-aware structured content downloads | |
WO2020224098A1 (en) | Cloud access method and apparatus based on global server load balance, and storage medium | |
US10509724B2 (en) | Systems and methods for reconstructing cache loss | |
CN117729217B (en) | Cloud platform and bucket management method for object storage service provided by cloud platform | |
CN108304296A (en) | A kind of server monitoring method, system, equipment and computer readable storage medium | |
KR102009020B1 (en) | Method and apparatus for providing website authentication data for search engine | |
CN104378428A (en) | Method and device for downloading files | |
EP2715543A2 (en) | Redirecting requests to secondary location during temporary outage | |
CN117762886A (en) | Resource sharing method, system, equipment and storage medium | |
CN106101710A (en) | A kind of distributed video transcoding method and device | |
US20110185134A1 (en) | Temporary state service protocol | |
CN101102333A (en) | Network download system and its method | |
US7546384B1 (en) | Maintaining relative time stamps when transferring files across network | |
CN105610908B (en) | A kind of samba service implementing method and system based on Android device | |
EP3396553B1 (en) | Method and device for processing data after restart of node | |
US20150205762A1 (en) | Automated script breakdown |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150429 |
|
WD01 | Invention patent application deemed withdrawn after publication |