CN104079607A - Method and equipment of downloading file - Google Patents
Method and equipment of downloading file Download PDFInfo
- Publication number
- CN104079607A CN104079607A CN201310105528.0A CN201310105528A CN104079607A CN 104079607 A CN104079607 A CN 104079607A CN 201310105528 A CN201310105528 A CN 201310105528A CN 104079607 A CN104079607 A CN 104079607A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- data block
- download
- data
- file
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 239000012634 fragment Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the invention provides a method and equipment of downloading a file, relating to the field of file transmission for improving the downloading speed of the file, thereby improving user experience. The method comprises the following steps that: first electronic equipment executes downloading of the file and determines that a first data block required for downloading the file lacks a first data slot, and when second electronic equipment is determined to exclude an integral second data block corresponding to the first data block, the file is downloaded according to the first data slot downloaded from the second electronic equipment by the second data block, wherein the second data block comprises the first data slot. The embodiment of the invention is used for downloading the file.
Description
Technical field
The present invention relates to file transfer field, relate in particular to the method and apparatus that a kind of file is downloaded.
Background technology
Current P2P(Peer to Peer, peer-to-peer network) download in (as BT download, sudden peal of thunder download etc.), electronic equipment can be divided into multiple data blocks by a file and download, (lack data slot if one of them data block is imperfect, described data block is become by least two data slice groups), this file cannot complete download, until occur in network that full block of data just can complete the download of this file, therefore, in the time there is not full block of data in network, cause file cannot complete in time download, reduced user's experience.
Summary of the invention
The method and apparatus that embodiments of the invention provide a kind of file to download, to improve the speed of download of file, experiences thereby promote user.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, a kind of method that provides file to download, is applied to the first electronic equipment, comprising:
The download of execute file, and determine that described file downloads the first required data block and lack the first data slot; Wherein, described the first data block comprises at least two data slots;
In the time that definite the second electronic equipment does not comprise with corresponding the second complete data block of described the first data block, download described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block; Wherein, described the second data block comprises described the first data slot.
On the other hand, provide a kind of electronic equipment, comprising:
Determining unit, downloads the first required data block for definite file and lacks the first data slot, and determines that the second electronic equipment does not comprise and corresponding the second complete data block of described the first data block;
Download unit, for in the time that described determining unit determines that described the second electronic equipment does not comprise with corresponding the second complete data block of described the first data block, download described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block; Wherein, described the second data block comprises described the first data slot.
Adopt such scheme, the first electronic equipment is in the time of download file, in the case of determine this file download the first required data block lack the first data slot and the second electronic equipment do not comprise with corresponding the second complete data block of this first data block, download this first data slot and complete the download of this file from this second electronic equipment according to this second data block, like this, the first electronic equipment local area network (LAN) do not exist with corresponding the second complete data block of this first data block time, only need to obtain the first data slot that data block lacks and can complete the download of file, improve the speed of download of file, thereby promote user's experience.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method schematic diagram that Fig. 1 downloads for a kind of file that the embodiment of the present invention provides;
The reference example figure of the method that Fig. 2 downloads for a kind of file that the embodiment of the present invention provides;
The schematic flow sheet of the method that Fig. 3 downloads for a kind of file that the embodiment of the present invention provides;
The structural representation of a kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of electronic equipment that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
A kind of method that the embodiment of the present invention provides file to download, is applied to the first electronic equipment, as shown in Figure 1, comprising:
The download of S101, the first electronic equipment execute file, and determine that this file downloads the first required data block and lack the first data slot.
Wherein, this first data block comprises at least two data slots.
Particularly, the first electronic equipment is in the time of download file, if the first data block in this file lacks the first data slot, thereby cause this file cannot complete download, now, the first electronic equipment sends query statement to the second electronic equipment, this query statement comprises the mark of this first data block, the second electronic equipment determines whether to comprise complete second data block corresponding with this first data block according to the mark of this first data block, if comprise the second data block that this is complete, download this second data block to complete the download of file, if do not comprise the second data block that this is complete, this file is always in downloading uncompleted state, thereby execution step S102.
S102, the first electronic equipment, in the time that definite the second electronic equipment does not comprise with corresponding the second complete data block of this first data block, are downloaded this first data slot and complete the download of this file from this second electronic equipment according to this second data block.
Wherein, this second data block comprises this first data slot.
Particularly, the first electronic equipment sends download instruction to this second electronic equipment, and receives this first data slot that this second electronic equipment sends according to this download instruction to complete the download of this file.
Further, complete the download of this file downloading this first data slot according to this second data block from this second electronic equipment, the first electronic equipment determines whether this second electronic equipment comprises this second data block, in the time that definite this second electronic equipment comprises this second data block, download this first data slot and complete the download of this file according to this second data block.
Particularly, complete the download of this file downloading this first data slot according to this second data block from this second electronic equipment, the first electronic equipment sends query statement to the second electronic equipment, wherein, this query statement comprises the mark of this data block and the mark of this first data slot, so that this second electronic equipment determines that according to the mark of the mark of this data block and this first data slot this second data block comprises this first data slot, the first electronic equipment receives the query feedback instruction that this second electronic equipment sends, this query feedback instruction indicates the secondth data block to comprise this first data slot, thereby determine that according to this query feedback instruction this second data block comprises this first data slot.
Illustratively, if comprising, this first data block downloads whole M required data slots, corresponding the second complete data block also comprises an above-mentioned M data slot, the first electronic equipment is in the time downloading this first data block, if determine when this first data block lacks M the first data slot in data slot, inquire about the second electronic equipment and whether comprise the second complete data block, the first electronic equipment, in the time that definite this second electronic equipment comprises with corresponding the second complete data block of this first data block, is downloaded this second data block and is downloaded to complete file; The first electronic equipment does not comprise and corresponding the second complete data block of this first data block at definite this second electronic equipment, when but this second data block comprises this first data slot, the first electronic equipment is downloaded this first data slot according to this second data block from this second electronic equipment and is completed file download.
It should be noted that, because the data block in file has corresponding sequence number, data slot corresponding to data block also has corresponding sequence number simultaneously, therefore the mark of this data block can be above-mentioned data block sequence number hereof, and the mark of this data slot can be the sequence number of above-mentioned data slot in data block.
For example, in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment determines that this data block 1 lacks data slot 3, the first electronic equipment sends query statement to the second electronic equipment and whether comprises the complete data block corresponding with this data block 1 to inquire about the second electronic equipment, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 3) of data slot in this data block hereof, if the second electronic equipment comprises the data block that this is complete, download this complete data block from the second electronic equipment and complete file download, if the second electronic equipment does not comprise the data block that this is complete, and determine that this data block comprises data slot 3, the first electronic equipment is downloaded this data slot 3 from the second electronic equipment, thereby completes the download of this file.
And for example, as shown in Figure 2, the first electronic equipment is the electronic equipment that current execute file is downloaded, the second electronic equipment 1 and the second electronic equipment 2 are respectively all the other electronic equipments except this first electronic equipment in local area network (LAN), in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment is determined this data block 1 and is lacked data slot 2 and data slot 3, the first electronic equipment sends query statement to inquire about this second electronic equipment 1 and whether the second electronic equipment 2 comprises the complete data block corresponding with this data block 1 to the second electronic equipment 1 and the second electronic equipment 2 respectively, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 2 and data slot 3) of data slot in this data block hereof, if the second electronic equipment 1 or the second electronic equipment 2 comprise complete data block, the first electronic equipment completes the download of file from the second electronic equipment 1 or second electronic equipment 2 these complete data blocks of download, if the second electronic equipment 1 and the second electronic equipment 2 do not comprise complete data block, but determine that this second electronic equipment 1 comprises data slot 2, the second electronic equipment 2 comprises data slot 3, the first electronic equipment is respectively from the second electronic equipment 1 downloading data fragment 2, from the second electronic equipment 2 downloading data fragments 3, thereby complete the download of file.Above-mentionedly just illustrate, be not construed as limiting.
It should be noted that, the saying of first, second employing in above-described embodiment description, the not meaning of restriction order and number, only for convenience of distinguishing.The first electronic equipment can be the electronic equipment that current execute file is downloaded, and the second electronic equipment can be other arbitrary electronic equipment except this first electronic equipment in local area network (LAN).
Further, complete the download of this file downloading this first data slot according to the second data block from this second electronic equipment, the first electronic equipment determines whether to download this first data slot and complete from this second electronic equipment according to this second data block the download of this file, determining when downloading this first data slot and complete the download of this file from this second electronic equipment according to this second data block, download this first data slot from the second electronic equipment.
Particularly, owing to may existing multiple electronic equipments all to comprise this first data slot in local area network (LAN), the first electronic equipment need to be determined electronic equipment corresponding to the first data slot that will download from multiple electronic equipments, illustratively, the first electronic equipment can be downloaded this first data slot from the fast electronic equipment of transmission speed, thereby further improve the speed that file is downloaded, experience to promote user.
Adopt the above-mentioned scheme that is applied to the first electronic equipment, the first electronic equipment is in the time of download file, in the case of determine this file download the first required data block lack the first data slot and the second electronic equipment do not comprise with corresponding the second complete data block of this first data block, download this first data slot and complete the download of this file from this second electronic equipment according to this second data block, like this, the first electronic equipment local area network (LAN) do not exist with corresponding the second complete data block of this first data block time, only need to obtain the first data slot that data block lacks and can complete the download of file, improve the speed of download of file, thereby promote user's experience.
A kind of method that the embodiment of the present invention provides file to download, as shown in Figure 3, the method comprises:
The download of S301, the first electronic equipment execute file, and determine that this file downloads the first required data block and lack the first data slot.
Particularly, the first electronic equipment is in the time of download file, if the first data block in this file lacks the first data slot, thereby cause this file cannot complete download, now, the first electronic equipment sends query statement to the second electronic equipment, this query statement comprises the mark of this first data block, the second electronic equipment determines whether to comprise complete second data block corresponding with this first data block according to the mark of this first data block, if comprise the second data block that this is complete, download this second data block to complete the download of file, if do not comprise the second data block that this is complete, this file is always in downloading uncompleted state.
S302, the first electronic equipment, in the time that definite the second electronic equipment does not comprise with corresponding the second complete data block of this first data block, send query statement to the second electronic equipment.
Wherein, this query statement comprises the mark of this first data block and the mark of this first data slot.
Wherein, because the data block in file has corresponding sequence number, data slot corresponding to data block also has corresponding sequence number simultaneously, therefore, the mark of above-mentioned data block can be this data block sequence number hereof, and the mark of above-mentioned data slot can be the sequence number of this data slot in data block.
S303, the second electronic equipment determine that according to the mark of the mark of this first data block and this first data slot this second data block comprises this first data slot.
S304, the second electronic equipment send query feedback instruction to the first electronic equipment.
Wherein, this query feedback instruction indicates this second data block to comprise this first data slot.
S305, the first electronic equipment determine that according to this query feedback instruction the second data block of this second electronic equipment comprises this first data slot.
S306, the first electronic equipment send download instruction to this second electronic equipment.
S307, the second electronic equipment are sent to the first electronic equipment according to this download instruction by the first data slot.
S308, the first electronic equipment, receiving after this first data slot, complete the download of this file.
Particularly, if comprising, this first data block downloads whole M required data slots, corresponding the second complete data block also comprises an above-mentioned M data slot, the first electronic equipment is in the time downloading this first data block, if determine when this first data block lacks M the first data slot in data slot, inquire about the second electronic equipment and whether comprise the second complete data block, the first electronic equipment, in the time that definite this second electronic equipment comprises with corresponding the second complete data block of this first data block, is downloaded this second data block and is downloaded to complete file; The first electronic equipment does not comprise and corresponding the second complete data block of this first data block at definite this second electronic equipment, when but this second data block comprises this first data slot, the first electronic equipment is downloaded this first data slot according to this second data block from this second electronic equipment and is completed file download.
For example, in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment determines that this data block 1 lacks data slot 3, the first electronic equipment sends query statement to the second electronic equipment and whether comprises the complete data block corresponding with this data block 1 to inquire about the second electronic equipment, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 3) of data slot in this data block hereof, if the second electronic equipment comprises the data block that this is complete, download this complete data block from the second electronic equipment and complete file download, if the second electronic equipment does not comprise the data block that this is complete, and determine that this data block comprises data slot 3, the first electronic equipment is downloaded this data slot 3 from the second electronic equipment, thereby completes the download of this file.
And for example, as shown in Figure 2, the first electronic equipment is the electronic equipment that current execute file is downloaded, the second electronic equipment 1 and the second electronic equipment 2 are respectively all the other electronic equipments except this first electronic equipment in local area network (LAN), in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment is determined this data block 1 and is lacked data slot 2 and data slot 3, the first electronic equipment sends query statement to inquire about this second electronic equipment 1 and whether the second electronic equipment 2 comprises the complete data block corresponding with this data block 1 to the second electronic equipment 1 and the second electronic equipment 2 respectively, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 2 and data slot 3) of data slot in this data block hereof, if the second electronic equipment 1 or the second electronic equipment 2 comprise complete data block, the first electronic equipment completes the download of file from the second electronic equipment 1 or second electronic equipment 2 these complete data blocks of download, if the second electronic equipment 1 and the second electronic equipment 2 do not comprise complete data block, but determine that this second electronic equipment 1 comprises data slot 2, the second electronic equipment 2 comprises data slot 3, the first electronic equipment is respectively from the second electronic equipment 1 downloading data fragment 2, from the second electronic equipment 2 downloading data fragments 3, thereby complete the download of file.Above-mentionedly just illustrate, be not construed as limiting.
In addition, owing to may existing multiple electronic equipments all to comprise this first data slot in local area network (LAN), the first electronic equipment need to be determined electronic equipment corresponding to the first data slot that will download from multiple electronic equipments, illustratively, the first electronic equipment can be downloaded this first data slot from the fast electronic equipment of transmission speed, thereby further improve the speed that file is downloaded, experience to promote user.
It should be noted that, for said method embodiment, for simple description, therefore be expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Adopt such scheme, this first electronic equipment is in the time of download file, in the case of determine this file download the first required data block lack the first data slot and the second electronic equipment do not comprise with corresponding the second complete data block of this first data block, download this first data slot and complete the download of this file from this second electronic equipment according to this second data block, like this, the first electronic equipment local area network (LAN) do not exist with corresponding the second complete data block of this first data block time, only need to obtain the first data slot that data block lacks and can complete the download of file, improve the speed of download of file, thereby promote user's experience.
The embodiment of the present invention provides a kind of electronic equipment 40, as shown in Figure 4, comprising:
Determining unit 41, downloads the first required data block for definite file and lacks the first data slot, and determines that the second electronic equipment does not comprise and corresponding the second complete data block of this first data block.
Wherein, this first data block comprises at least two data slots.
Download unit 42, for in the time that this determining unit 41 determines that this second electronic equipment does not comprise with corresponding the second complete data block of this first data block, download this first data slot and complete the download of this file from this second electronic equipment according to this second data block; Wherein, this second data block comprises this first data slot.
Alternatively, this download unit 42 specifically for, send download instruction to this second electronic equipment, and receive this first data slot that this second electronic equipment sends according to this download instruction to complete the download of this file.
Alternatively, this determining unit 41 also for, complete the download of this file downloading this first data slot according to this second data block from this second electronic equipment, determine whether this second electronic equipment comprises this second data block.
This download unit 42 specifically for, in the time that this determining unit determines that this second electronic equipment comprises this second data block, download this first data slot and complete the download of this file according to this second data block.
Further, as shown in Figure 5, this electronic equipment 40 also comprises: transmitting element 43, for completing the download of this file downloading this first data slot according to this second data block from this second electronic equipment, send query statement to this second electronic equipment, this query statement comprises the mark of this first data block and the mark of this first data slot, so that this second electronic equipment determines that according to the mark of the mark of this first data block and this first data slot this second data block comprises this first data slot;
Receiving element 44, the query feedback instruction sending for receiving this second electronic equipment.
Wherein, this query feedback instruction indicates this second data block to comprise this first data slot.
It should be noted that, because the data block in file has corresponding sequence number, data slot corresponding to data block also has corresponding sequence number simultaneously, therefore the mark of this data block can be this data block sequence number hereof, and the mark of this data slot can be the sequence number of this data slot in data block.
Particularly, if comprising, this first data block downloads whole M required data slots, corresponding the second complete data block also comprises an above-mentioned M data slot, the first electronic equipment is in the time downloading this first data block, if determine when this first data block lacks M the first data slot in data slot, inquire about the second electronic equipment and whether comprise the second complete data block, the first electronic equipment, in the time that definite this second electronic equipment comprises with corresponding the second complete data block of this first data block, is downloaded this second data block and is downloaded to complete file; The first electronic equipment does not comprise and corresponding the second complete data block of this first data block at definite this second electronic equipment, when but this second data block comprises this first data slot, the first electronic equipment is downloaded this first data slot according to this second data block from this second electronic equipment and is completed file download.
For example, in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment determines that this data block 1 lacks data slot 3, the first electronic equipment sends query statement to the second electronic equipment and whether comprises the complete data block corresponding with this data block 1 to inquire about the second electronic equipment, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 3) of data slot in this data block hereof, if the second electronic equipment comprises the data block that this is complete, download this complete data block from the second electronic equipment and complete file download, if the second electronic equipment does not comprise the data block that this is complete, and determine that this data block comprises data slot 3, the first electronic equipment is downloaded this data slot 3 from the second electronic equipment, thereby completes the download of this file.
And for example, as shown in Figure 2, the first electronic equipment is the electronic equipment that current execute file is downloaded, the second electronic equipment 1 and the second electronic equipment 2 are respectively all the other electronic equipments except this first electronic equipment in local area network (LAN), in the file of downloading, last data block 1 to be downloaded comprises that data slot 1 is to data slot 5, if the first electronic equipment is determined this data block 1 and is lacked data slot 2 and data slot 3, the first electronic equipment sends query statement to inquire about this second electronic equipment 1 and whether the second electronic equipment 2 comprises the complete data block corresponding with this data block 1 to the second electronic equipment 1 and the second electronic equipment 2 respectively, wherein, this query statement comprises data block sequence number (being data block 1) and the sequence number (be data slot 2 and data slot 3) of data slot in this data block hereof, if the second electronic equipment 1 or the second electronic equipment 2 comprise complete data block, the first electronic equipment completes the download of file from the second electronic equipment 1 or second electronic equipment 2 these complete data blocks of download, if the second electronic equipment 1 and the second electronic equipment 2 do not comprise complete data block, but determine that this second electronic equipment 1 comprises data slot 2, the second electronic equipment 2 comprises data slot 3, the first electronic equipment is respectively from the second electronic equipment 1 downloading data fragment 2, from the second electronic equipment 2 downloading data fragments 3, thereby complete the download of file.Above-mentionedly just illustrate, be not construed as limiting.
Alternatively, this determining unit 41 also for, complete the download of this file downloading this first data slot according to this second data block from this second electronic equipment, determine whether to download this first data slot and complete from this second electronic equipment according to this second data block the download of this file;
This download unit 42 specifically for, determine when downloading this first data slot and complete the download of this file from this second electronic equipment according to this second data block in this determining unit 41, download this first data slot from the second electronic equipment.
Particularly, owing to may existing multiple electronic equipments all to comprise this first data slot in local area network (LAN), the first electronic equipment need to be determined electronic equipment corresponding to the first data slot that will download from multiple electronic equipments, illustratively, the first electronic equipment can be downloaded this first data slot from the fast electronic equipment of transmission speed, thereby further improve the speed that file is downloaded, experience to promote user.
Adopt above-mentioned electronic equipment, the first electronic equipment is in the time of download file, in the case of determine this file download the first required data block lack the first data slot and the second electronic equipment do not comprise with corresponding the second complete data block of this first data block, download this first data slot and complete the download of this file from this second electronic equipment according to this second data block, like this, the first electronic equipment local area network (LAN) do not exist with corresponding the second complete data block of this first data block time, only need to obtain the first data slot that data block lacks and can complete the download of file, improve the speed of download of file, thereby promote user's experience.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.
Claims (10)
1. the method that file is downloaded, is applied to the first electronic equipment, it is characterized in that, comprising:
The download of execute file, and determine that described file downloads the first required data block and lack the first data slot; Wherein, described the first data block comprises at least two data slots;
In the time that definite the second electronic equipment does not comprise with corresponding the second complete data block of described the first data block, download described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block; Wherein, described the second data block comprises described the first data slot.
2. method according to claim 1, is characterized in that, downloads described the first data slot and completes the download of described file described according to described the second data block from described the second electronic equipment, and described method also comprises:
Determine whether described the second electronic equipment comprises described the second data block;
Describedly download according to described the second data block the download that described the first data slot completes described file and comprise:
In the time that definite described the second electronic equipment comprises described the second data block, download described the first data slot and complete the download of described file according to described the second data block.
3. method according to claim 2, is characterized in that, downloads described the first data slot and completes the download of described file described according to described the second data block from described the second electronic equipment, and described method also comprises:
Send query statement to described the second electronic equipment, described query statement comprises the mark of described the first data block and the mark of described the first data slot, so that described the second electronic equipment determines that according to the mark of the mark of described the first data block and described the first data slot described the second data block comprises described the first data slot;
Receive the query feedback instruction that described the second electronic equipment sends, described query feedback instruction indicates described the second data block to comprise described the first data slot.
4. according to the method in claim 2 or 3, it is characterized in that, download described the first data slot according to described the second data block from described the second electronic equipment and complete the download of described file described, described method also comprises:
Determine whether to download described the first data slot and complete from described the second electronic equipment according to described the second data block the download of described file;
Describedly download from described the second electronic equipment the download that described the first data slot completes described file according to described the second data block and comprise:
Determining when downloading described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block, download described the first data slot from the second electronic equipment.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, describedly download from described the second electronic equipment the download that described the first data slot completes described file according to described the second data block and comprise:
Send download instruction to described the second electronic equipment;
Receive described the first data slot that described the second electronic equipment sends according to described download instruction to complete the download of described file.
6. an electronic equipment, is characterized in that, comprising:
Determining unit, downloads the first required data block for definite file and lacks the first data slot, and determines that the second electronic equipment does not comprise and corresponding the second complete data block of described the first data block;
Download unit, for in the time that described determining unit determines that described the second electronic equipment does not comprise with corresponding the second complete data block of described the first data block, download described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block; Wherein, described the second data block comprises described the first data slot.
7. equipment according to claim 6, it is characterized in that, described determining unit also for, complete the download of described file downloading described the first data slot according to described the second data block from described the second electronic equipment, determine whether described the second electronic equipment comprises described the second data block;
Described download unit specifically for, in the time that described determining unit determines that described the second electronic equipment comprises described the second data block, download described the first data slot and complete the download of described file according to described the second data block.
8. equipment according to claim 7, is characterized in that, described equipment also comprises:
Transmitting element, for completing the download of described file downloading described the first data slot according to described the second data block from described the second electronic equipment, send query statement to described the second electronic equipment, described query statement comprises the mark of described the first data block and the mark of described the first data slot, so that described the second electronic equipment determines that according to the mark of the mark of described the first data block and described the first data slot described the second data block comprises described the first data slot;
Receiving element, the query feedback instruction sending for receiving described the second electronic equipment, described query feedback instruction indicates described the second data block to comprise described the first data slot.
9. according to the equipment described in claim 7 or 8, it is characterized in that, described determining unit also for, complete the download of described file downloading described the first data slot according to described the second data block from described the second electronic equipment, determine whether to download described the first data slot and complete from described the second electronic equipment according to described the second data block the download of described file;
Described download unit specifically for, determine when downloading described the first data slot and complete the download of described file from described the second electronic equipment according to described the second data block in described determining unit, download described the first data slot from the second electronic equipment.
10. according to the equipment described in claim 6 to 9 any one, it is characterized in that, described download unit specifically for, send download instruction to described the second electronic equipment, and receive described the first data slot that described the second electronic equipment sends according to described download instruction to complete the download of described file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310105528.0A CN104079607A (en) | 2013-03-28 | 2013-03-28 | Method and equipment of downloading file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310105528.0A CN104079607A (en) | 2013-03-28 | 2013-03-28 | Method and equipment of downloading file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104079607A true CN104079607A (en) | 2014-10-01 |
Family
ID=51600649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310105528.0A Pending CN104079607A (en) | 2013-03-28 | 2013-03-28 | Method and equipment of downloading file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104079607A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483653A (en) * | 2009-02-17 | 2009-07-15 | 杭州华三通信技术有限公司 | Method, device and system for providing application layer data to the application layer from network appliances |
CN101518033A (en) * | 2006-09-15 | 2009-08-26 | 汤姆森许可贸易公司 | Ile repair method for a content distribution system |
CN101635742A (en) * | 2009-08-24 | 2010-01-27 | 腾讯科技(深圳)有限公司 | Downloading method and device |
CN102037678A (en) * | 2008-05-20 | 2011-04-27 | 汤姆森许可贸易公司 | System and method for distributing a map of content available at multiple receivers |
-
2013
- 2013-03-28 CN CN201310105528.0A patent/CN104079607A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101518033A (en) * | 2006-09-15 | 2009-08-26 | 汤姆森许可贸易公司 | Ile repair method for a content distribution system |
CN102037678A (en) * | 2008-05-20 | 2011-04-27 | 汤姆森许可贸易公司 | System and method for distributing a map of content available at multiple receivers |
CN101483653A (en) * | 2009-02-17 | 2009-07-15 | 杭州华三通信技术有限公司 | Method, device and system for providing application layer data to the application layer from network appliances |
CN101635742A (en) * | 2009-08-24 | 2010-01-27 | 腾讯科技(深圳)有限公司 | Downloading method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9412137B2 (en) | Cloud computing for a manufacturing execution system | |
US20100257228A1 (en) | Cloud computing for an industrial automation and manufacturing system | |
CN110800358A (en) | Transmission configuration method and related products | |
CN108933805A (en) | A kind of document transmission method and system | |
CN103885426A (en) | Control method of equipment, client side, server, intermediate equipment and controlled equipment | |
CN104967635A (en) | Data transmission method and apparatus thereof | |
CN103259874A (en) | Method and system for cross-system operating of application and cloud server | |
CN113301568A (en) | Network distribution method and device and intelligent household equipment | |
CN103647756A (en) | Advertisement broadcasting method, server, client and system | |
CN109391694A (en) | Document transmission method and relevant device based on SFTP | |
CN103731476A (en) | Method and device for improving information push speed | |
CN104092763A (en) | Application program installation package pushing method and device | |
CN105721612B (en) | Data transmission method and device | |
CN104079610A (en) | Cloud server, and method and system for cloud synchronization of application software | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN110022323A (en) | A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux | |
CN104133781A (en) | Network storage equipment and method thereof for improving data access speed | |
CN102917370B (en) | Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit | |
CN104536926A (en) | Control method and device of serial devices | |
CN104079607A (en) | Method and equipment of downloading file | |
CN108121596A (en) | Data transmission method and device, storage medium, electronic equipment | |
CN105451228A (en) | Information processing method and device | |
CN105306386A (en) | Resource allocation method and device in local area network | |
CN105813187A (en) | Information processing method and electronic device | |
CN104182366A (en) | Method for processing information and electronic devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141001 |
|
RJ01 | Rejection of invention patent application after publication |