CN105025064B - Download the method, apparatus and system of file - Google Patents
Download the method, apparatus and system of file Download PDFInfo
- Publication number
- CN105025064B CN105025064B CN201410180453.7A CN201410180453A CN105025064B CN 105025064 B CN105025064 B CN 105025064B CN 201410180453 A CN201410180453 A CN 201410180453A CN 105025064 B CN105025064 B CN 105025064B
- Authority
- CN
- China
- Prior art keywords
- information
- address
- file
- node
- server
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method, apparatus and system for downloading file, belong to Internet technical field.The described method includes: receiving the file download request that terminal is sent, the characteristic information of file to be downloaded is carried in file download request;The corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, determines the address information of at least one corresponding node index server of the characteristic information of file to be downloaded;The address information of this at least one node index server is sent to terminal, so that address information of the terminal according to this at least one node index server, obtains file to be downloaded.Using the present invention, the efficiency of file download can be improved.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of method, apparatus and system for downloading file.
Background technique
With gradually popularizing for internet, file is downloaded on the internet and has become a kind of important side that people obtain information
Formula.P2P (Peer to Peer, point-to-point) technology is a kind of very common file download technology.P2P technology is a kind of node
With the technology of the form shared resource directly exchanged, Bitorrent (bit stream) agreement, eMule (electricity between (terminal) and node
Mule) agreement, Magnet (magnetic force chain) agreement be all based on the file download protocol of P2P technology.
In P2P technology, by taking Bitorrent agreement as an example, different resource providers is established respectively respective node
Index server (such as Tracker (tracking) server), node index server provides different targets to be downloaded for user
File corresponding seed file includes that address information (can be the address chain of node index server setting in seed file
Connect), the downloading for respective objects file.In downloading process, terminal is first from the corresponding seed of file destination to be downloaded
In file, address link is obtained, and the appropriate address in node index server is connected to according to the address chain in succession, then, section
Point index server will be just in the address of node information of downloading object file (such as IP (Internet Protocol, network association
View) address and port numbers) it is sent to the terminal, and recording the terminal is the node being newly added, and the terminal is according to the ground of each node
Location information establishes connection with corresponding each node respectively, and between corresponding each node I-goal file data, thus
Obtain file destination.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
The address information that terminal is issued by node index server is connected to the node index server and obtains other sections
The address information of point, to carry out the downloading of file destination, however, the node that the node index server is capable of providing often compares
It is limited, moreover, the user of node often limits uploading bandwidth, so the data volume that each node can provide, which also compares, to be had
Limit, thus, cause the efficiency of file download more low.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides it is a kind of download file method, apparatus and be
System.The technical solution is as follows:
In a first aspect, providing a kind of method for downloading file, which comprises
The file download request that terminal is sent is received, the feature letter of file to be downloaded is carried in the file download request
Breath;
The corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, determine it is described to
Download the address information of at least one corresponding node index server of characteristic information of file;
The address information that at least one node index server is sent to the terminal, so that the terminal is according to institute
The address information for stating at least one node index server obtains the file to be downloaded.
Second aspect provides a kind of method for downloading file, which comprises
File download request is sent to server, the feature letter of file to be downloaded is carried in the file download request
Breath, so that the corresponding relationship of the address information of server characteristic information according to the pre-stored data and node index server,
Determine the address information of at least one corresponding node index server of the characteristic information of the file to be downloaded;
Receive the address information at least one node index server that the server is sent;
According to the address information of at least one node index server, the file to be downloaded is obtained.
The third aspect, provides a kind of server, and the server includes:
Receiving module is carried under in the file download request for receiving the file download request of terminal transmission
The characteristic information of published article part;
Determining module, for characteristic information according to the pre-stored data pass corresponding with the address information of node index server
System, determines the address information of at least one corresponding node index server of the characteristic information of the file to be downloaded;
Sending module, for sending the address information of at least one node index server to the terminal, so that
The terminal obtains the file to be downloaded according to the address information of at least one node index server.
Fourth aspect, provides a kind of terminal, and the terminal includes:
Sending module carries to be downloaded for sending file download request to server in the file download request
The characteristic information of file, so that the address information of the server characteristic information according to the pre-stored data and node index server
Corresponding relationship, determine at least one corresponding node index server of the characteristic information of the file to be downloaded address letter
Breath;
Receiving module, for receiving the address letter of at least one node index server described in the server transmission
Breath;
Module is obtained, for the address information according at least one node index server, is obtained described to be downloaded
File.
5th aspect provides a kind of system for downloading file, and the system comprises servers and terminal, in which:
The server carries in the file download request for receiving the file download request of the terminal transmission
There is the characteristic information of file to be downloaded;Characteristic information according to the pre-stored data is corresponding with the address information of node index server
Relationship determines the address information of at least one corresponding node index server of the characteristic information of the file to be downloaded;To institute
State the address information that terminal sends at least one node index server;
The terminal, for sending file download request to the server;Receive that the server sends it is described extremely
The address information of a few node index server;According to the address information of at least one node index server, obtain
The file to be downloaded.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram for downloading file provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for downloading file provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram for downloading file provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic network structure provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of method for downloading file, this method can be jointly real by server and terminal
It is existing.
As shown in Figure 1, the process flow of server may include following step in this method:
Step 101, the file download request that terminal is sent is received, the spy of file to be downloaded is carried in file download request
Reference breath.
Step 102, the corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, really
The address information of at least one corresponding node index server of characteristic information of this fixed file to be downloaded.
Step 103, the address information of this at least one node index server is sent to terminal so that terminal according to this extremely
The address information of a few node index server, obtains file to be downloaded.
As shown in Fig. 2, the process flow of terminal may include following step in this method:
Step 201, file download request is sent to server, the feature of file to be downloaded is carried in file download request
Information, so that the corresponding relationship of the address information of server characteristic information according to the pre-stored data and node index server, really
The address information of at least one corresponding node index server of characteristic information of this fixed file to be downloaded.
Step 202, the address information for this at least one node index server that server is sent is received.
Step 203, according to the address information of this at least one node index server, file to be downloaded is obtained.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
Embodiment two
The embodiment of the invention provides a kind of method for downloading file, this method can be jointly real by server and terminal
It is existing.Wherein, terminal can be the terminal for being equipped with the application program with download function, and server can be the application program
Background server.In the embodiment of the present invention, this server can be known as first server.
In this method, pair of the address information of characteristic information and node index server can be stored in advance in first server
It should be related to, wherein characteristic information is handle to the data of certain file by preset algorithm (such as Hash (hash) algorithm)
Information specific to this file arrived, for example, the hash value of file.The address information of node index server can be node rope
The link of some address or the IP address of node index server etc. for drawing server, specifically, for Bitorrent agreement, section
The address information of point index server can link for the address of node index server, such as URL (Uniform Resource
Locator, uniform resource identifier), multiple addresses links can be set in node index server and respectively corresponded a confession
The file of downloading, for eMule agreement, the address information of node index server can be the IP address of node index server
Deng.
The processing mode that first server stores the corresponding relationship of characteristic information and node index server can be with a variety of more
Sample may include that following manner storage characteristic information and node index for the difference of Bitorrent agreement and eMule agreement
The corresponding relationship of the address information of server:
Mode one, for Bitorrent agreement, which may include following step one to step 3:
Step 1, first server obtain the corresponding seed file of the first file.
Wherein, the first file is any file available for download.
In an implementation, first server can collect the first text for downloading in such a way that network crawls in a network
The corresponding seed file of part, for example, first server can by certain period, in multiple preset downloading resource websites,
Crawl seed file.
Optionally, when first server crawls one or more seed files, first server can be from each
Parsed in seed file it includes address link, and the link of corresponding Main Domain address, root are obtained by this address link
It links according to Main Domain address to node index server and obtains its homepage face data, then, first server can be from the acquisition
Homepage face data in crawl more seed files.
Step 2, first server obtain the characteristic information and node index clothes of the first file recorded in this seed file
The address information of business device.
Wherein, the address information of node index server can be the address link of node index server, specifically can be with
For the address link for P2P downloading of the first file setting corresponding in node index server.
In an implementation, the characteristic information and corresponding section of the first file of resource provider write-in are had recorded in seed file
The address link of point index server, after first server gets seed file, can parse first from seed file
The address link of the characteristic information and node index server of file.
Optionally, first server can also tap into row to the address chain of the node index server recorded in seed file
Detection, it is whether normal to determine node index server, to improve the efficiency of terminal downloading files.Specifically, first service
Device is linked according to the address of node index server, and Xiang Jiedian index server sends connection request, is indexed when receiving node
When the response of server, first server determines that node index server is normal, and executes step 3;When being not received by node
When the response of index server, first server determines that node index server is abnormal.
Step 3, the address information of characteristic information and node index server that first server will acquire, storage to spy
In the corresponding relationship of the address information of reference breath and node index server.
In an implementation, link first pair of the address that first server can establish characteristic information and node index server
Relation table is answered, the address of the characteristic information and node index server that obtain from a seed file is linked, the first clothes
Being engaged in device can will be in their corresponding deposit first mapping table.In the first mapping table, each characteristic information can
To be corresponding with the address link of one or more node index servers.
Mode two, for eMule agreement, the address of characteristic information Yu node index server is stored in advance in first server
The process of the corresponding relationship of information may include following step one to step 2:
Step 1, first server obtain the characteristic information of the second file, and obtain the address letter of node index server
Breath.
Wherein, the second file is any file available for download.The address information of node index server can be node
The IP address etc. of index server.
In an implementation, first server can collect the second text for downloading in such a way that network crawls in a network
The corresponding eMule of part is linked, and includes the information of the second file in eMule link, this information may include the name of the second file
Title, size and characteristic information etc. can get second from eMule link when first server gets eMule link
The characteristic information of file.Meanwhile first server itself is preserved server list file (such as server.met file), service
The IP address of at least one node index server can be preserved in device listing file, first server can also pass through network
The mode crawled is updated server list file, and in the step, first server can be from server list file
The IP address of fetching portion or whole node index servers.
Step 2, the address information of characteristic information and node index server that first server will acquire, storage to spy
In the corresponding relationship of the address information of reference breath and node index server.
In an implementation, first server can establish second pair of the address information of characteristic information and node index server
Relation table is answered, the IP address of characteristic information and node index server for acquisition, first server can correspond to them
Deposit second mapping table in.In the second mapping table, each characteristic information can be corresponding with one or more
The IP address of node index server.
Further optionally, characteristic information pass corresponding with address of node information can also be stored in advance in first server
System.First server stores characteristic information and the processing mode of the corresponding relationship of address of node information can be varied, needle
It may include following manner storage characteristic information and address of node information to the difference of Bitorrent agreement and eMule agreement
Corresponding relationship:
Mode one, for Bitorrent agreement, which may include following step one to step 4:
Step 1, first server obtain the corresponding seed file of third file.
Wherein, third file is any file available for download.The address information of node index server can be node
Address link of index server etc..
Step 2, first server obtain the characteristic information and node index service of the third file recorded in seed file
The address information of device.
The specific processing mode of above-mentioned steps one and step 2 is referred to first server storage characteristic information and node
Related content in the processing mode of the corresponding relationship of the address information of index server, details are not described herein again.
It is corresponding to obtain third file according to the address information of the node index server of acquisition for step 3, first server
Address of node information.
Wherein, node is the terminal for downloading third file.
In an implementation, first server is linked according to the address of the node index server of acquisition, is indexed and is taken to each node
Business device sends connection request, and node index server determines corresponding third file according to the address link in connection request, and
Further determine that the node of current downloading third file is sent to first then by address of node information (such as IP address)
Server, first server receive this address of node information.
The address of node information of the characteristic information of third file and acquisition, storage are arrived spy by step 4, first server
In reference breath and the corresponding relationship of address of node information.
In an implementation, first server can establish the third mapping table of characteristic information Yu address of node information,
Characteristic information and address of node information for acquisition, first server can be by the corresponding passes of their corresponding deposit thirds
It is in table.In third mapping table, each characteristic information can be corresponding with one or more address of node information.
Optionally, in node index server, the node for downloading each file is continually changing, it is possible to is arranged
Certain mechanism is updated characteristic information and the corresponding relationship of address of node information.First server can be according to one
The fixed period connects the address link of the node index server of above-mentioned acquisition, obtains corresponding node index server and return
Address of node information, it is corresponding with address of node information to characteristic information and according to the address of node information of acquisition
Relationship is updated.
Mode two, for eMule agreement, it is corresponding with address of node information that characteristic information is stored in advance in first server
The process of relationship may include following step one to step 3:
Step 1, first server obtain the characteristic information of the 4th file, and obtain the address letter of node index server
Breath.
Wherein, the 4th file is any file available for download.The address information of node index server can be node
The IP address etc. of index server.
The specific processing mode of above-mentioned steps one is referred to first server storage characteristic information and node index service
Related content in the processing mode of the corresponding relationship of the address information of device, details are not described herein again.
Step 2, first server are believed according to the characteristic information of the 4th file of acquisition and the address of node index server
Breath obtains the corresponding address of node information of the 4th file.
In an implementation, first server can generate node address according to the characteristic information of the 4th file got and ask
It asks, the characteristic information of the 4th file is carried in the node address request, then, first server is according to node index server
IP address, Xiang Jiedian index server sending node Address requests, node index server is according to the spy in node address request
Reference breath determines corresponding 4th file, and further determines that the node of the 4th file of current downloading, then by address of node
Information is sent to first server, and first server receives this address of node information.
The address of node information of the characteristic information of 4th file and acquisition, storage are arrived spy by step 3, first server
In reference breath and the corresponding relationship of address of node information.
In an implementation, first server can establish the 4th mapping table of characteristic information Yu address of node information,
Characteristic information and address of node information for acquisition, first server can be by their corresponding passes of corresponding deposit the 4th
It is in table.In the 4th mapping table, each characteristic information can be corresponding with one or more address of node information.
Further optionally, the address information of characteristic information and Resource Server can also be stored in advance in first server
Corresponding relationship.The processing mode that first server stores the corresponding relationship of the address information of characteristic information and Resource Server can be with
Varied, following present a kind of preferred processing mode, which can be with are as follows: first server receive that terminal sends the
The address information of the characteristic information of five files and corresponding Resource Server, then, first server can be by the 5th files
The corresponding relationship of the address information of the address information of characteristic information and Resource Server, storage to characteristic information and Resource Server
In.
Wherein, the 5th file is any file available for download.Resource Server is that downloading resource is provided for terminal (such as text
Part) server.The address information of Resource Server can connect for address chain.
In an implementation, user is connected to certain Resource Server by above-mentioned application program, is put to server mode
When downloading, the characteristic information of the 5th file of the available user's downloading of terminal, and obtain the address chain that this downloading process uses
It connects, then, gives the address chain sending and receiving of the characteristic information of the 5th file and Resource Server to first server, first server
The address of the characteristic information and Resource Server of 5th file is linked, the address of storage to characteristic information and Resource Server is believed
In the corresponding relationship of breath.
As shown in figure 3, the process flow of the method for downloading file provided in an embodiment of the present invention may include following step
It is rapid:
Step 301, terminal sends file download request to first server, carries in this document downloading request to be downloaded
The characteristic information of file.
In an implementation, it by taking Bitorrent agreement as an example, when the seed file of user's acquisition file to be downloaded, and needs logical
When crossing seed file downloading file to be downloaded, seed file can be input in the application program for being used for downloading by user, and
It is clicked in application program and starts to download, at this point, terminal obtains the characteristic information of file to be downloaded in seed file, terminal can be with
File download request is generated according to the characteristic information of this file to be downloaded, carries file to be downloaded in this document downloading request
This document downloading request is sent to first server by characteristic information, then, terminal.
Step 302, first server receives the file download request that terminal is sent.
Step 303, first server characteristic information according to the pre-stored data and the address information of node index server
Corresponding relationship determines the address information of at least one corresponding node index server of the characteristic information of this file to be downloaded.
In an implementation, first server can be according to the characteristic information of the file to be downloaded in file download request, upper
The corresponding relationship for stating the characteristic information of storage and the address information of node index server (can be above-mentioned first mapping table
Or second mapping table) in inquired, obtain the address information of at least one corresponding node index server.
Step 304, first server sends the address information of at least one node index server to terminal.
Optionally, for being stored with characteristic information and the corresponding relationship of address of node information in above-mentioned first server
Situation may include after step 302 following step:
Step 1, the corresponding relationship of first server characteristic information according to the pre-stored data and address of node information, really
At least one corresponding address of node information of characteristic information of this fixed file to be downloaded.
In an implementation, first server can be according to the characteristic information of the file to be downloaded in file download request, upper
The corresponding relationship for stating the characteristic information of storage and address of node information (can be above-mentioned third mapping table or the 4th corresponding
Relation table) in inquired, obtain at least one corresponding address of node information.
Step 2, first server send at least one address of node information to terminal.
Optionally, corresponding with the address information of Resource Server for being stored with characteristic information in above-mentioned first server
The case where relationship may include after step 302 following step:
Step 1, first server characteristic information according to the pre-stored data is corresponding with the address information of Resource Server to close
System, determines the address information of at least one corresponding Resource Server of the characteristic information of this file to be downloaded.
In an implementation, first server can be according to the characteristic information of the file to be downloaded in file download request, upper
State and inquired in the characteristic information of storage and the corresponding relationship of the address information of Resource Server, obtain it is corresponding at least one
The address information of Resource Server.
Step 2, first server send the address information of this at least one Resource Server to terminal.
In an implementation, first server can be by the address of the address of node information and/or Resource Server determined
Information, the address information with node index server, sends jointly to terminal.
Step 305, terminal receives the address information for this at least one node index server that first server is sent.
Step 306, terminal obtains file to be downloaded according to the address information of this at least one node index server.
It in an implementation, for Bitorrent agreement the case where, can be according to the ground of this at least one node index server
The address information of location information and the node index server in the corresponding seed file of file to be downloaded, obtains text to be downloaded
Part.Specifically, terminal (may include received node index server according to the address information of existing node index server
Address information, can also include the corresponding seed file of file to be downloaded in node index server address information), to
Each node index server sends connection request, and each node index server is determined according to the address information in connection request and corresponded to
File to be downloaded, and further determine that the node for currently downloading the file to be downloaded, then send address of node information
To terminal, and respectively, record terminal is the node being newly added, the address of node letter that terminal receiving node index server is sent
Breath.
Optionally, for eMule agreement the case where, can believe according to the address of this at least one node index server
The address information of breath and the node index server in server list file obtains file to be downloaded.Specifically, terminal
Node address request can be generated according to the characteristic information of the file got, then, terminal is according to node index server
Address information, to each node index server sending node Address requests, node index server is according in node address request
Characteristic information determine corresponding file to be downloaded, and further determine that the node of current downloading file to be downloaded, then will section
The address information of point is sent to terminal, and respectively record terminal is the node being newly added, terminal receiving node index server hair
The address of node information sent.
Optionally, file to be downloaded can be divided into multiple data slices in advance.When terminal receives address of node letter
After breath, connection can be established with corresponding each node respectively, terminal itself is also a node, establishes two nodes of connection each other
The identification information of the data slice respectively possessed can be sent to other side, in this way, terminal can determine what other each nodes possessed
Data slice, the data slice that terminal possesses according to each node arrange needs from the data slice that each node obtains, and according to
This arranges to obtain corresponding data slice from each node.
Optionally, the address letter of at least one node index server when terminal in addition to receiving first server transmission
Breath is outer, and when also receiving at least one address of node information of first server transmission, the processing of above-mentioned steps 306 can be with
Are as follows: terminal is obtained according to the address information and this at least one address of node information of this at least one node index server
File to be downloaded.
It in an implementation, can be with if terminal receives at least one address of node information of first server transmission
The address of node information that will be obtained in this at least one address of node information and above-mentioned processing from each node index server
It is used in combination, the different data piece of file to be downloaded is obtained from these nodes, finally obtains complete file to be downloaded.
Optionally, at least one address of node information is received in terminal, and establishes connect with corresponding each node respectively
During connecing, when terminal can not be connected with some node or multiple nodes, terminal can be sent to first server
Error message, can recorde the node that can not be connected in this error message, and first server collects the mistake that each node is sent
Information, when the error message of some node meets preset condition, for example, the quantity of the error message of certain node reaches default
Numerical value, first server can delete this address of node information in corresponding relationship of the characteristic information with address of node information
It removes.
Optionally, the address letter of at least one node index server when terminal in addition to receiving first server transmission
Breath is outer, when also receiving the address information of at least one Resource Server of first server transmission, the processing of above-mentioned steps 306
It can be with are as follows: terminal is according to the address information of this at least one node index server and the address of this at least one Resource Server
Information obtains file to be downloaded.
In an implementation, Resource Server can be seen as node, if terminal receives first server and sends extremely
The address information of a few Resource Server, then can will be in the address information of this at least one Resource Server and above-mentioned processing
The address of node information obtained from each node index server and/or first server is used in combination, from these nodes and money
The different data piece that file to be downloaded is obtained in source server, finally obtains complete file to be downloaded.
Optionally, terminal can receive the address information of at least one node index server, at least one node simultaneously
Address information and the address information of at least one Resource Server obtain file to be downloaded and by address above mentioned information, this
Sample, can increase the quantity of terminal connecting node, it is thus possible to improve the efficiency of file download.
Fig. 4 is a kind of schematic network structure provided in an embodiment of the present invention, is based on this network architecture, and terminal can execute
The method of downloading file provided in an embodiment of the present invention, to realize the downloading to file to be downloaded.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
Embodiment three
Based on the same technical idea, the embodiment of the invention also provides a kind of servers, as shown in figure 5, the server
Include:
Receiving module 510 carries to be downloaded for receiving the file download request of terminal transmission in file download request
The characteristic information of file;
Determining module 520, pair for characteristic information according to the pre-stored data and the address information of node index server
It should be related to, determine the address information of at least one corresponding node index server of the characteristic information of file to be downloaded;
Sending module 530, for sending the address information of this at least one node index server to terminal, so that terminal
According to the address information of this at least one node index server, file to be downloaded is obtained.
Optionally, server further includes memory module, is used for:
Obtain the corresponding seed file of the first file;Obtain the characteristic information and section of the first file recorded in seed file
The address information of point index server;Feature is arrived in the address information of the characteristic information and node index server that will acquire, storage
In the corresponding relationship of information and the address information of node index server;Alternatively,
The characteristic information of the second file is obtained, and obtains the address information of node index server;The feature letter that will acquire
The address information of breath and node index server, storage are closed to characteristic information is corresponding with the address information of node index server
In system.
Optionally it is determined that module 520, it is corresponding with address of node information to be also used to characteristic information according to the pre-stored data
Relationship determines at least one corresponding address of node information of the characteristic information of file to be downloaded;
Sending module 530 is also used to send this at least one address of node information to terminal.
Optionally, server further includes memory module, is used for:
Obtain the corresponding seed file of third file;Obtain the characteristic information and section of the third file recorded in seed file
The address information of point index server;According to the address information of the node index server of acquisition, it is corresponding to obtain third file
Address of node information;By the address of node information of the characteristic information of third file and acquisition, storage to characteristic information and section
In the corresponding relationship of the address information of point;Alternatively,
The characteristic information of the 4th file is obtained, and obtains the address information of node index server;According to the 4th of acquisition the
The characteristic information of file and the address information of node index server obtain the corresponding address of node information of the 4th file;It will
The characteristic information of 4th file and the address of node information of acquisition, storage are corresponding with address of node information to characteristic information
In relationship.
Optionally it is determined that module 520, is also used to the address information of characteristic information and Resource Server according to the pre-stored data
Corresponding relationship, determine the address information of at least one corresponding Resource Server of the characteristic information of file to be downloaded;
Sending module 530 is also used to send the address information of this at least one Resource Server to terminal.
Based on the same technical idea, the embodiment of the invention also provides a kind of terminals, as shown in fig. 6, the terminal includes:
Sending module 610 carries text to be downloaded in file download request for sending file download request to server
The characteristic information of part, so that server characteristic information according to the pre-stored data is corresponding with the address information of node index server
Relationship determines the address information of at least one corresponding node index server of the characteristic information of this file to be downloaded;
Receiving module 620, the address information of at least one node index server for receiving server transmission;
It obtains module 630 and obtains text to be downloaded for the address information according to this at least one node index server
Part.
Optionally, receiving module 620 are also used to receive at least one address of node information of server transmission;
Module 630 is obtained, for according to the address information of this at least one node index server and this at least one section
The address information of point obtains file to be downloaded.
Optionally, receiving module 620 are also used to receive the address letter of at least one Resource Server of server transmission
Breath;
Module 630 is obtained, for according to the address information of this at least one node index server and this at least one money
The address information of source server obtains file to be downloaded.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
It should be understood that server provided by the above embodiment and terminal be when downloading file, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of server or terminal is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, server provided by the above embodiment and terminal and the embodiment of the method for downloading file belong to same structure
Think, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Example IV
Based on the same technical idea, the embodiment of the invention also provides a kind of systems for downloading file, which is characterized in that
The system includes server and terminal, in which:
Server carries file to be downloaded in file download request for receiving the file download request of terminal transmission
Characteristic information;The corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, determines this
The address information of at least one corresponding node index server of the characteristic information of file to be downloaded;And this is sent at least to terminal
The address information of one node index server;
Terminal, for sending file download request to server;Receive this at least one node index that server is sent
The address information of server;And according to the address information of this at least one node index server, file to be downloaded is obtained.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
Embodiment five
Referring to FIG. 7, the server can be used it illustrates server architecture schematic diagram involved in the embodiment of the present invention
In the method for the downloading file for implementing to provide in above-described embodiment.Specifically:
Server 700 can generate bigger difference because configuration or performance are different, may include one or more
Central processing unit (central processing units, CPU) 722 (for example, one or more processors) and storage
Device 732, one or more storage application programs 742 or data 744 storage medium 730 (such as one or more
Mass memory unit).Wherein, memory 732 and storage medium 730 can be of short duration storage or persistent storage.It is stored in storage
The program of medium 730 may include one or more modules (diagram is not shown), and each module may include to server
In series of instructions operation.Further, central processing unit 722 can be set to communicate with storage medium 730, service
The series of instructions operation in storage medium 730 is executed on device 700.Server 700 can also include one or more electricity
Source 726, one or more wired or wireless network interfaces 750, one or more input/output interfaces 758, one
Or more than one keyboard 756, and/or, one or more operating systems 741, such as Windows ServerTM, Mac OS
XTM, UnixTM, LinuxTM, FreeBSDTM etc..Specifically in the present embodiment, server includes memory and one
Or more than one program, perhaps more than one program is stored in memory and one or more than one journey for one of them
Sequence may include one or more modules, and each module may include to the series of instructions operation in server, and
It is configured to execute this or more than one program by one or more than one processor to include for carrying out following grasp
The instruction of work:
The file download request that terminal is sent is received, the characteristic information of file to be downloaded is carried in file download request;
The corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, determines that this is waited for down
The address information of at least one corresponding node index server of characteristic information of published article part;
The address information of this at least one node index server is sent to terminal, at least one is saved so that terminal is according to this
The address information of point index server, obtains file to be downloaded.
Optionally, this method further include:
Obtain the corresponding seed file of the first file;Obtain the characteristic information and section of the first file recorded in seed file
The address information of point index server;Feature is arrived in the address information of the characteristic information and node index server that will acquire, storage
In the corresponding relationship of information and the address information of node index server;Alternatively,
The characteristic information of the second file is obtained, and obtains the address information of node index server;The feature letter that will acquire
The address information of breath and node index server, storage are closed to characteristic information is corresponding with the address information of node index server
In system.
Optionally, after receiving the file download request that terminal is sent, this method further include:
The corresponding relationship of characteristic information according to the pre-stored data and address of node information determines the spy of this file to be downloaded
Reference ceases at least one corresponding address of node information;
This at least one address of node information is sent to terminal.
Optionally, this method further include:
Obtain the corresponding seed file of third file;Obtain the characteristic information and section of the third file recorded in seed file
The address information of point index server;According to the address information of the node index server of acquisition, it is corresponding to obtain third file
Address of node information;By the address of node information of the characteristic information of third file and acquisition, storage to characteristic information and section
In the corresponding relationship of the address information of point;Alternatively,
The characteristic information of the 4th file is obtained, and obtains the address information of node index server;According to the 4th of acquisition the
The characteristic information of file and the address information of node index server obtain the corresponding address of node information of the 4th file;It will
The characteristic information of 4th file and the address of node information of acquisition, storage are corresponding with address of node information to characteristic information
In relationship.
Optionally, after receiving the file download request that terminal is sent, this method further include:
The corresponding relationship of the address information of characteristic information and Resource Server according to the pre-stored data, determines file to be downloaded
At least one corresponding Resource Server of characteristic information address information;
The address information of this at least one Resource Server is sent to terminal.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, and by above-mentioned processing mode, the acquisition node index clothes except existing way can be provided for terminal
The mode of the address information of business device, in this way, can increase the quantity of downloading process interior joint index server, and then can increase
Can connecting node quantity, it is thus possible to improve the efficiency of file download.
Embodiment six
Referring to FIG. 8, the terminal can be used for it illustrates the structural schematic diagram of terminal involved in the embodiment of the present invention
The method of downloading file provided in above-described embodiment is provided.Specifically:
Terminal 800 may include communication unit 110, include one or more depositing for computer readable storage medium
Reservoir 120, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WIFI (Wireless Fidelity,
Wireless Fidelity) module 170, the processor 180 and the components such as power supply 190 that include one or more than one processing core.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in figure, may include than diagram
More or fewer components perhaps combine certain components or different component layouts.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, the communication unit 110
Can for RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipments.Particularly, when
When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180
Reason;In addition, the data for being related to uplink are sent to base station.RF circuit usually as communication unit include but is not limited to antenna,
At least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler,
LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 110 can also be by wireless
Communication is communicated with network and other equipment.Any communication standard or agreement can be used in the wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code
Point multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long
Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in the software journey of memory 120 by operation
Sequence and module, thereby executing various function application and data processing.Memory 120 can mainly include storing program area and deposit
Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast
Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as sound according to terminal 800
Frequency evidence, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, it can also include non-volatile
Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits
Reservoir 120 can also include Memory Controller, to provide the access of processor 180 and input unit 130 to memory 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Preferably, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Preferably,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 800 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event
Corresponding visual output is provided on display panel 141.Although in fig. 8, touch sensitive surface 131 and display panel 141 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 800 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light
The brightness of display panel 141 secretly is adjusted, proximity sensor can close display panel 141 when terminal 800 is moved in one's ear
And/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for terminal 800
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 800.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110
End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone Yu terminal 800.
In order to realize wireless communication, wireless communication unit 170, the wireless communication unit 170 can be configured in the terminal
It can be WIFI module.WIFI belongs to short range wireless transmission technology, and unit 170 can help terminal 800 by wireless communication
User sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.
Although showing wireless communication unit 170 in figure, but it is understood that, and it is not belonging to must be configured into for terminal 800, it is complete
It can according to need in the range for not changing disclosed essence and omit entirely.
Processor 180 is the control centre of terminal 800, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Interior data execute the various functions and processing data of terminal 800, to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 800 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event
Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 800 can also include camera, bluetooth module etc., and details are not described herein.In the present embodiment
In, terminal further includes having memory and more than one program one of them or more than one a program storage
In memory, and be configured to execute the one or more programs by one or more than one processor include
For carrying out the instruction of the method for embodiment of the present disclosure offer:
File download request is sent to server, the characteristic information of file to be downloaded is carried in file download request, with
The corresponding relationship for making the address information of server characteristic information according to the pre-stored data and node index server, determines that this is waited for down
The address information of at least one corresponding node index server of characteristic information of published article part;
Receive the address information for this at least one node index server that server is sent;
According to the address information of this at least one node index server, file to be downloaded is obtained.
Optionally, this method further include:
Receive at least one address of node information that server is sent;
According to the address information of this at least one node index server, file to be downloaded is obtained, comprising:
According to the address information of this at least one node index server and this at least one address of node information, obtain
File to be downloaded.
Optionally, this method further include:
Receive the address information at least one Resource Server that server is sent;
According to the address information of this at least one node index server, file to be downloaded is obtained, comprising:
Believed according to the address of the address information of this at least one node index server and this at least one Resource Server
Breath obtains file to be downloaded.
In the embodiment of the present invention, the file download request that terminal is sent is received, is carried in file download request to be downloaded
The corresponding relationship of the address information of the characteristic information of file, characteristic information according to the pre-stored data and node index server, really
Determine the address information of at least one corresponding node index server of characteristic information of file to be downloaded, and sends this extremely to terminal
The address information of a few node index server, so that terminal is believed according to the address of this at least one node index server
Breath obtains file to be downloaded, in this way, terminal can not only pass through the node index server of the currently used resource information of user
Address information obtain file to be downloaded, other at least one node can also be obtained by the characteristic information of file to be downloaded
The address information of index server, and obtained to be downloaded according to the address information of this at least one node index server simultaneously
File increases the quantity of downloading process interior joint index server, and then can increase the quantity of terminal connecting node, from
And the efficiency of file download can be improved.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (13)
1. a kind of method for downloading file, which is characterized in that be applied to server, the server is answering with download function
With the background server of program, which comprises
The file download request that terminal is sent is received, the characteristic information of file to be downloaded is carried in the file download request,
The application program with download function is installed in the terminal;
The corresponding relationship of the address information of characteristic information according to the pre-stored data and node index server, determines described to be downloaded
The address information of at least one corresponding node index server of the characteristic information of file;
The corresponding relationship of characteristic information according to the pre-stored data and address of node information determines the feature of the file to be downloaded
At least one corresponding address of node information of information;
The address information of at least one node index server and the ground of at least one node are sent to the terminal
Location information, so that the terminal will be believed from the address of node that the address information of at least one node index server obtains
Breath is used in combination at least one described address of node information, obtains the file to be downloaded.
2. the method according to claim 1, wherein the method also includes:
Obtain the corresponding seed file of the first file;Obtain the characteristic information of first file recorded in the seed file
With the address information of node index server;The address information of the characteristic information and node index server that will acquire, storage are arrived
In the corresponding relationship of the address information of the characteristic information and node index server;Alternatively,
The characteristic information of the second file is obtained, and obtains the address information of node index server;The characteristic information that will acquire and
The address information of node index server, storage are closed to the characteristic information is corresponding with the address information of node index server
In system.
3. the method according to claim 1, wherein the method also includes:
Obtain the corresponding seed file of third file;Obtain the characteristic information of the third file recorded in the seed file
With the address information of node index server;According to the address information of the node index server of acquisition, the third text is obtained
The corresponding address of node information of part;By the address of node information of the characteristic information of the third file and acquisition, storage is arrived
In the characteristic information and the corresponding relationship of address of node information;Alternatively,
The characteristic information of the 4th file is obtained, and obtains the address information of node index server;According to the described 4th of acquisition the
The characteristic information of file and the address information of node index server obtain the corresponding address of node letter of the 4th file
Breath;By the address of node information of the characteristic information of the 4th file and acquisition, storage to the characteristic information and node
In the corresponding relationship of address information.
4. the method according to claim 1, wherein it is described receive terminal send file download request after,
The method also includes:
The corresponding relationship of the address information of characteristic information and Resource Server according to the pre-stored data, determines the file to be downloaded
At least one corresponding Resource Server of characteristic information address information;
The address information of at least one Resource Server is sent to the terminal.
5. a kind of method for downloading file, which is characterized in that the described method includes:
File download request is sent to server, the characteristic information of file to be downloaded is carried in the file download request, with
The corresponding relationship for making the address information of server characteristic information according to the pre-stored data and node index server, determines institute
The address information of at least one corresponding node index server of characteristic information of file to be downloaded is stated, and according to the pre-stored data
The corresponding relationship of characteristic information and address of node information, determine the characteristic information of the file to be downloaded it is corresponding at least one
Address of node information;
Receive at least one node index server that the server is sent address information and it is described at least one
Address of node information;
By the address of node information obtained from the address information of at least one node index server and described at least one
A address of node information is used in combination, and obtains the file to be downloaded.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Receive the address information at least one Resource Server that the server is sent.
7. a kind of server, which is characterized in that the server is the background server of the application program with download function, institute
Stating server includes:
Receiving module carries text to be downloaded in the file download request for receiving the file download request of terminal transmission
The characteristic information of part is equipped with the application program with download function in the terminal;
Determining module, for the corresponding relationship of characteristic information according to the pre-stored data and the address information of node index server,
Determine the address information of at least one corresponding node index server of the characteristic information of the file to be downloaded;
The determining module is also used to the corresponding relationship of characteristic information according to the pre-stored data Yu address of node information, determines
At least one corresponding address of node information of the characteristic information of the file to be downloaded;
Sending module, for sent to the terminal at least one node index server address information and it is described at least
One address of node information, so that the terminal will be obtained from the address information of at least one node index server
Address of node information is used in combination at least one described address of node information, obtains the file to be downloaded.
8. server according to claim 7, which is characterized in that the server further includes memory module, is used for:
Obtain the corresponding seed file of the first file;Obtain the characteristic information of first file recorded in the seed file
With the address information of node index server;The address information of the characteristic information and node index server that will acquire, storage are arrived
In the corresponding relationship of the address information of the characteristic information and node index server;Alternatively,
The characteristic information of the second file is obtained, and obtains the address information of node index server;The characteristic information that will acquire and
The address information of node index server, storage are closed to the characteristic information is corresponding with the address information of node index server
In system.
9. server according to claim 7, which is characterized in that the server further includes memory module, is used for:
Obtain the corresponding seed file of third file;Obtain the characteristic information of the third file recorded in the seed file
With the address information of node index server;According to the address information of the node index server of acquisition, the third text is obtained
The corresponding address of node information of part;By the address of node information of the characteristic information of the third file and acquisition, storage is arrived
In the characteristic information and the corresponding relationship of address of node information;Alternatively,
The characteristic information of the 4th file is obtained, and obtains the address information of node index server;According to the described 4th of acquisition the
The characteristic information of file and the address information of node index server obtain the corresponding address of node letter of the 4th file
Breath;By the address of node information of the characteristic information of the 4th file and acquisition, storage to the characteristic information and node
In the corresponding relationship of address information.
10. server according to claim 7, which is characterized in that the determining module is also used to according to the pre-stored data
The corresponding relationship of the address information of characteristic information and Resource Server determines that the characteristic information of the file to be downloaded is corresponding extremely
The address information of a few Resource Server;
The sending module is also used to send the address information of at least one Resource Server to the terminal.
11. a kind of terminal, which is characterized in that the terminal includes:
Sending module carries file to be downloaded in the file download request for sending file download request to server
Characteristic information so that pair of the address information of server characteristic information according to the pre-stored data and node index server
It should be related to, determine the address information of at least one corresponding node index server of the characteristic information of the file to be downloaded, and
The corresponding relationship of characteristic information according to the pre-stored data and address of node information determines the characteristic information of the file to be downloaded
At least one corresponding address of node information;
Receiving module, for receive the server send described at least one node index server address information and
At least one described address of node information;
Obtain module, the address of node information for will obtain from the address information of at least one node index server
It is used in combination at least one described address of node information, obtains the file to be downloaded.
12. terminal according to claim 11, which is characterized in that the receiving module is also used to receive the server
The address information of at least one Resource Server sent.
13. a kind of system for downloading file, which is characterized in that the system comprises server and terminal, the server is tool
There is the background server of the application program of download function, in which:
The server, the file download request sent for receiving the terminal, carry in the file download request to
The characteristic information of file is downloaded, the application program with download function is installed in the terminal;It is according to the pre-stored data
The corresponding relationship of the address information of characteristic information and node index server determines that the characteristic information of the file to be downloaded is corresponding
At least one node index server address information;Pair of characteristic information according to the pre-stored data and address of node information
It should be related to, determine at least one corresponding address of node information of the characteristic information of the file to be downloaded;It is sent out to the terminal
The address information and at least one described address of node information for sending at least one node index server, so that the end
End will the address of node information that be obtained from the address information of at least one node index server with it is described at least one
Address of node information is used in combination, and obtains the file to be downloaded;
The terminal, for sending file download request to the server;Receive the server is sent described at least one
The address information of a node index server and at least one address of node information;It will be indexed from least one described node
The address of node information and at least one described address of node information that the address information of server obtains are used in combination, and obtain
The file to be downloaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410180453.7A CN105025064B (en) | 2014-04-30 | 2014-04-30 | Download the method, apparatus and system of file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410180453.7A CN105025064B (en) | 2014-04-30 | 2014-04-30 | Download the method, apparatus and system of file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105025064A CN105025064A (en) | 2015-11-04 |
CN105025064B true CN105025064B (en) | 2019-07-02 |
Family
ID=54414766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410180453.7A Active CN105025064B (en) | 2014-04-30 | 2014-04-30 | Download the method, apparatus and system of file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105025064B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908781A (en) * | 2017-12-05 | 2018-04-13 | 深圳市乐宜科技有限公司 | A kind of convenient method that need not update app versions issue different editions e-magazine |
CN110633440A (en) * | 2018-06-21 | 2019-12-31 | 阿里巴巴集团控股有限公司 | Method and device for acquiring electronic file of display object and electronic equipment |
CN109600453B (en) * | 2019-02-18 | 2021-10-08 | 广州卓远虚拟现实科技有限公司 | Distributed virtual reality content distribution method and system |
CN112565414B (en) * | 2020-12-03 | 2023-03-24 | 恒安嘉新(北京)科技股份公司 | Data downloading method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123578A (en) * | 2007-09-01 | 2008-02-13 | 腾讯科技(深圳)有限公司 | A method and system for improving access speed of network resource |
CN101183946A (en) * | 2006-12-26 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method and system of obtaining resource listing of download file |
CN101442558A (en) * | 2008-12-26 | 2009-05-27 | 中国科学院计算技术研究所 | Method and system for providing index service for P2SP network |
CN101826110A (en) * | 2010-04-13 | 2010-09-08 | 北京大学 | Method for crawling BitTorrent torrent files |
CN102638577A (en) * | 2012-03-27 | 2012-08-15 | 北京蓝汛通信技术有限责任公司 | Method, equipment and system for collecting seed files |
CN102833293A (en) * | 2011-06-17 | 2012-12-19 | 腾讯科技(深圳)有限公司 | Method for downloading resources in peer to server and peer (P2SP) network, and client |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110099372A1 (en) * | 2009-10-23 | 2011-04-28 | Siddhartha Annapureddy | Method and system for providing peer-to-peer video on demand |
-
2014
- 2014-04-30 CN CN201410180453.7A patent/CN105025064B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183946A (en) * | 2006-12-26 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method and system of obtaining resource listing of download file |
CN101123578A (en) * | 2007-09-01 | 2008-02-13 | 腾讯科技(深圳)有限公司 | A method and system for improving access speed of network resource |
CN101442558A (en) * | 2008-12-26 | 2009-05-27 | 中国科学院计算技术研究所 | Method and system for providing index service for P2SP network |
CN101826110A (en) * | 2010-04-13 | 2010-09-08 | 北京大学 | Method for crawling BitTorrent torrent files |
CN102833293A (en) * | 2011-06-17 | 2012-12-19 | 腾讯科技(深圳)有限公司 | Method for downloading resources in peer to server and peer (P2SP) network, and client |
CN102638577A (en) * | 2012-03-27 | 2012-08-15 | 北京蓝汛通信技术有限责任公司 | Method, equipment and system for collecting seed files |
Also Published As
Publication number | Publication date |
---|---|
CN105025064A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105824958B (en) | A kind of methods, devices and systems of inquiry log | |
JP6467526B2 (en) | Communication message transmission method and wearable device | |
CN104639672B (en) | The method and apparatus for carrying out domain name mapping | |
CN104142868B (en) | Establish the method and device of connection | |
CN105025043B (en) | Information sharing method, apparatus and system | |
CN104426962B (en) | Method, binding server, terminal and the system of multiple terminals binding | |
CN106161176A (en) | Cluster conversation message treatment method and device | |
CN103294515A (en) | Method, device and system for acquiring application programs | |
CN103763112B (en) | A kind of user identity protection method and apparatus | |
CN106210755A (en) | A kind of methods, devices and systems playing live video | |
CN104820665A (en) | Method, terminal and server for exhibiting recommendation information | |
CN108566304A (en) | Interface control method, electronic equipment and computer readable storage medium | |
CN103475914A (en) | Video playing method, video playing device, terminal equipment and server | |
CN104699501B (en) | A kind of method and device for running application program | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN105025064B (en) | Download the method, apparatus and system of file | |
CN103945241A (en) | Streaming data statistical method, system and related device | |
CN104660769B (en) | A kind of methods, devices and systems for adding associated person information | |
CN107465802A (en) | A kind of methods, devices and systems for showing communication message | |
CN108011937A (en) | Information push method, server, intelligent terminal and computer-readable recording medium | |
CN104424203B (en) | Photo in mobile device shares state inspection method and system | |
CN106100974B (en) | Information sharing method and device | |
CN105897917B (en) | Multi-medium data sharing method and device | |
CN105553718B (en) | Guidance information display methods and device | |
CN105577712B (en) | A kind of file uploading method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |