CN111787121A - Method for migrating file downloading task without delay - Google Patents

Method for migrating file downloading task without delay Download PDF

Info

Publication number
CN111787121A
CN111787121A CN202010679384.XA CN202010679384A CN111787121A CN 111787121 A CN111787121 A CN 111787121A CN 202010679384 A CN202010679384 A CN 202010679384A CN 111787121 A CN111787121 A CN 111787121A
Authority
CN
China
Prior art keywords
computer
task
file
downloading
download
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
Application number
CN202010679384.XA
Other languages
Chinese (zh)
Inventor
孟晶石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN202010679384.XA priority Critical patent/CN111787121A/en
Publication of CN111787121A publication Critical patent/CN111787121A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols 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)

Abstract

The invention discloses a method for migrating file downloading tasks with zero delay, which is characterized in that a computer distributes residual file intervals and file resource addresses which are not downloaded to active terminal equipment or computers on an intranet before power failure, and processes file splicing and assembling are carried out after all computers receiving downloading tasks complete downloading of respective file interval contents. And sending a clearing instruction to the computer which receives the downloading task after the assembly is finished. The whole process is automatically finished, manual operation of a user is not needed, and searching for the live and drop computer is finished through the intranet broadcast message.

Description

Method for migrating file downloading task without delay
Technical Field
The invention relates to the technical field of networks, in particular to a method for migrating a file downloading task with zero delay.
Background
When downloading the file, the user stops the task after closing the computer and needs to continue downloading after starting the computer next time. Or, transferring the downloading task from one computer to another computer requires manual copying, and the copying of the incomplete file part is slow and complicated.
Disclosure of Invention
The present invention aims to provide a method for migrating file downloading task without delay, which is aimed at the defects of the prior art.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
a method for migrating file downloading tasks with zero delay comprises the following steps:
s1, when downloading files, the computer sends the remaining file interval information and file resource descriptor in the uncompleted downloading task as instruction data to the active terminal device or computer on the intranet before being forced to cut off the power supply; storing the downloaded file interval information and file content in the computer; storing the ip address and the host name of the terminal equipment or the computer receiving the handover download task to the computer, and simultaneously recording the ip address and the host name of the computer dispatching the task by the computer receiving the download task;
s2, when the computer to be assigned the task of the computer which finishes the download task comes online, the file content is initiatively transferred to the computer which assigns the task, the computer which assigns the task finishes the file splicing, or when the computer which assigns the task comes online, the computer which receives the task initiatively requests the finished file segment, the computer which assigns the task finishes the file splicing;
and S3, after the splicing and assembly of all the contents of the files are completed, sending a task clearing and file content command to all the computers receiving the tasks.
Further, the computer receiving the download task may also hand over the unfinished task to the next active terminal device or computer using the same method as S1, and this step may be repeated several times.
The further technical scheme is that the file resource descriptor is URL, thunder, BT and magnetic link address.
Adopt the produced beneficial effect of above-mentioned technical scheme to lie in: the invention relates to a method for realizing the continuous progress of a downloading task without extra time after a machine is closed when the machine is required to be closed and a file is not completely downloaded in a home or office network system. Or the computer is turned off before sleep when a high-definition movie is downloaded at home, and the unfinished file part can be handed over to the router to be finished continuously.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for migrating a file download task with zero delay includes the following steps:
s1, when downloading files, the computer compelled to cut off the power supply and send the remaining file interval information and file resource descriptors (such as URL, thunder, BT, magnetic link address) in the unfinished downloading task as instruction data to the active terminal devices or computers on the intranet, and the searching for the active terminal devices or computers is completed through intranet broadcast messages; storing the downloaded file interval information and file content in the computer; and storing the ip address and the host name of the terminal equipment or the computer receiving the handover download task to the computer, and recording the ip address and the host name of the computer dispatching the task by the computer receiving the download task.
S2, splicing and assembling the file segments distributed on different computers, wherein 1, when the computer to be assigned the task of the computer which finishes the download task comes online, the file content is initiatively handed over to the computer to be assigned the task, and the computer to be assigned the task finishes the file splicing. Or 2, when the computer for dispatching the task is on line, actively requesting the completed file interval from the computer for receiving the task, and completing the file splicing by the computer for dispatching the task.
And S3, after the splicing and assembly of all the contents of the files are completed, sending a task clearing and file content command to all the computers receiving the tasks.
The computer that accepts the download task may also hand over the unfinished task to the next active terminal device or computer using the same method as S1, and this step may be repeated several times.
The invention relates to a method for realizing the continuous progress of a downloading task without extra time after a machine is closed when the machine is required to be closed and a file is not completely downloaded in a home or office network system. Or the computer is turned off before sleep when a high-definition movie is downloaded at home, and the unfinished file part can be handed over to the router to be finished continuously.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (3)

1. A method for migrating file downloading tasks without delay is characterized by comprising the following steps:
s1, when downloading files, the computer sends the remaining file interval information and file resource descriptor in the uncompleted downloading task as instruction data to the active terminal device or computer on the intranet before being forced to cut off the power supply; storing the downloaded file interval information and file content in the computer; storing the ip address and the host name of the terminal equipment or the computer receiving the handover download task to the computer, and simultaneously recording the ip address and the host name of the computer dispatching the task by the computer receiving the download task;
s2, when the computer to be assigned the task of the computer which finishes the download task comes online, the file content is initiatively transferred to the computer which assigns the task, the computer which assigns the task finishes the file splicing, or when the computer which assigns the task comes online, the computer which receives the task initiatively requests the finished file segment, the computer which assigns the task finishes the file splicing;
and S3, after the splicing and assembly of all the contents of the files are completed, sending a task clearing and file content command to all the computers receiving the tasks.
2. The method of claim 1, wherein the computer receiving the download task can also hand over the unfinished task to the next active terminal device or computer using the same method as S1, and the steps can be repeated several times.
3. The method for migrating file download tasks with zero latency of claim 1, wherein the file resource descriptors are URL, thunderbolt, BT, magnetic link address.
CN202010679384.XA 2020-07-15 2020-07-15 Method for migrating file downloading task without delay Pending CN111787121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010679384.XA CN111787121A (en) 2020-07-15 2020-07-15 Method for migrating file downloading task without delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010679384.XA CN111787121A (en) 2020-07-15 2020-07-15 Method for migrating file downloading task without delay

Publications (1)

Publication Number Publication Date
CN111787121A true CN111787121A (en) 2020-10-16

Family

ID=72767252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010679384.XA Pending CN111787121A (en) 2020-07-15 2020-07-15 Method for migrating file downloading task without delay

Country Status (1)

Country Link
CN (1) CN111787121A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618447A (en) * 2014-12-31 2015-05-13 北京邮电大学 File cooperation downloading method and system
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
US20180116005A1 (en) * 2016-10-26 2018-04-26 Qualcomm Incorporated Data download handover from device to device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618447A (en) * 2014-12-31 2015-05-13 北京邮电大学 File cooperation downloading method and system
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
US20180116005A1 (en) * 2016-10-26 2018-04-26 Qualcomm Incorporated Data download handover from device to device

Similar Documents

Publication Publication Date Title
US10268471B2 (en) Method for upgrading terminal system, terminal, and system
CN105511889B (en) Universal game version increment updating system and method
CN103457966B (en) Method, equipment and system of based on DLNA technology access cloud storage equipment
CN111459954A (en) Distributed data synchronization method, device, equipment and medium
CN105471869A (en) Internet television content request connection reuse method and system thereof
CN110061855A (en) A kind of method for processing business, system and device
CN110716734A (en) Software upgrading method and device, electronic equipment and medium
KR20150099944A (en) Control method for transmitting distributed file based on P2Peer and P2P communication control apparatus therefor
CN102056014B (en) Stream media recording method and system
CN100512311C (en) Mobile streaming media arranging method based on single connection
JP2005518016A (en) Method and apparatus for reconfiguring server system
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium
CN102164150B (en) Method, device, server and system for delivering strategies
CN111787121A (en) Method for migrating file downloading task without delay
JP5109901B2 (en) Session data sharing method
CN102439946A (en) Data transmission method and device
JP4420399B2 (en) Download optimization in the presence of multicast data
CN104660664A (en) Method and apparatus for managing storage system
CN114143569B (en) Webpage recording and live broadcasting method and system
CN103731736A (en) Control method and device for upgrading of smart television
CN101242228A (en) Emergent handling method and system for interactive network TV system
CN105871678B (en) The method of terminal device in long-range management private network
CN105791146A (en) Method, device and system for interaction of customer premises equipment and auto-configuration sever
CN110267107A (en) A kind of software upgrade package method for down loading, system and storage medium
CN114650208B (en) Device firmware upgrading method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination