CN106790609A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN106790609A
CN106790609A CN201611249253.8A CN201611249253A CN106790609A CN 106790609 A CN106790609 A CN 106790609A CN 201611249253 A CN201611249253 A CN 201611249253A CN 106790609 A CN106790609 A CN 106790609A
Authority
CN
China
Prior art keywords
server
servers
mailing address
resource data
agent
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.)
Granted
Application number
CN201611249253.8A
Other languages
Chinese (zh)
Other versions
CN106790609B (en
Inventor
肖剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201611249253.8A priority Critical patent/CN106790609B/en
Publication of CN106790609A publication Critical patent/CN106790609A/en
Application granted granted Critical
Publication of CN106790609B publication Critical patent/CN106790609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

The invention provides data transmission method and device, each corresponding configuration files of group character ID are set in server beyond the clouds;When calculate node needs to obtain target resource data, the targeted packets mark ID of packet where itself is determined;The targeted packets mark corresponding target configuration files of ID can be fed back to calculate node by cloud server, and calculate node is obtained and the P2P servers of own operations business's information identical the according to each corresponding operator's informaiton of P2P servers in target configuration file;The mailing address of the calculate node of the target resource data that are stored with is obtained by a P2P servers.First P2P servers and calculate node belong to same operator, therefore are not in the phenomenon that operator kidnaps, the mailing address of the calculate node that the target resource data that are stored with are obtained from a P2P servers that can succeed.Without downloading target resource data from CDN server, so as to reduce the bandwidth traffic of CDN server.

Description

Data transmission method and device
Technical field
The invention relates to communication technical field, a kind of data transmission method and device are more particularly related to.
Background technology
P2P (peer-to-peer) technologies or Peer-To-Peer technology are a kind of by different computers (based on being also called Operator node) between, without the direct exchange data of trunking or the technology of service.Calculate node in peer-to-peer network has Client and server end double characteristic, can simultaneously as the user and supplier of service.P2P networks include P2P servers With multiple calculate nodes, P2P networks can include it is multiple be grouped, the P2P server admins in each packet have in respective packets The corresponding resource data of each calculate node storage, if calculate node needs to obtain a certain resource data, first by same point P2P servers in group obtain the calculate node of this resource data that is stored with, and then obtain it from corresponding calculate node The resource data of demand.
Each calculate node can be divided into nodes of telecommunication network, mobile network node, UNICOM's network node etc. in P2P networks Deng P2P servers can also be divided into telecommunication network server, mobile network service device, UNICOM's webserver etc.;Calculating When node obtains the calculate node of this resource data that is stored with to P2P servers, often there is outgoing access, such as telecommunications network Network node visit mobile network service device, because outgoing access, can cause the bandwidth cost increase of the operator of calculate node, because This operator can limit outgoing access, that is, the phenomenon that operator kidnaps occurs, i.e., the corresponding money that is stored with is obtained from P2P servers The calculate node failure of source data, resource data needed for leading to not obtain oneself from corresponding calculate node can only be from CDN (Content Delivery Network, content distributing network) server obtains respective resources data, increased CDN server Bandwidth traffic.
The content of the invention
In view of this, the invention provides a kind of data transmission method and device, occurs inter-network in the prior art to overcome During access, due to the phenomenon that operator kidnaps occurs, lead to not obtain resource needed for oneself from corresponding calculate node Data, can only obtain respective resources data from CDN server, increased the problem of the bandwidth traffic of CDN server.
To achieve the above object, the present invention provides following technical scheme:
A kind of data transmission method, including:
Determine the targeted packets mark ID of packet where itself;
ID is identified according to the targeted packets, from each corresponding configuration files of group character ID of cloud server storage In, obtain the targeted packets mark corresponding target configuration files of ID;
Wherein, configuration file includes that respective packets identify the operator's letter belonging to each P2P servers during ID correspondences are grouped The mailing address of each P2P servers in breath and correspondence packet;
According to each corresponding operator's informaiton of P2P servers in the target configuration file, obtain and own operations business letter The breath P2P servers of identical the;
According to the mailing address of a P2P servers, sent to a P2P servers and obtain target resource number According to request, so that a P2P server feedbacks are stored with the mailing address of the calculate node of the target resource data.
Wherein, configuration file also includes that respective packets identify the operator's letter belonging to each proxy server during ID correspondences are grouped The mailing address of each proxy server in breath, and correspondence packet;The data transmission method also includes:
According to each corresponding operator's informaiton of proxy server in the target configuration file, obtain and own operations business letter Breath identical first agent's server;
When the meter of the target resource data that are stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of operator node, according to the mailing address of first agent's server, sent to first agent's server The request of the target resource data is obtained to P2P servers forwarding;
The target resource number that is stored with of a P2P server feedbacks is received by first agent's server According to calculate node mailing address.
Preferably, also include:
When the target resource data that are stored with that first agent's server feedback is not received in Preset Time During the mailing address of calculate node, determined from the target configuration file and taken with the 2nd P2P of itself non-same operator Business device;
Forwarding is sent to the 2nd P2P servers by first agent's server and obtains the target resource data Request.
Preferably, also include:
When the target resource data that are stored with that first agent's server feedback is not received in Preset Time During the mailing address of calculate node, determined from the target configuration file and taken with the second agent of itself non-same operator Business device;
According to the mailing address of second agent's server, sent to described first to second agent's server The forwarding of P2P servers obtains the request of the target resource data;
The target resource number that is stored with of a P2P server feedbacks is received by second agent's server According to calculate node mailing address.
Preferably, also include:
When the target resource data that are stored with that second agent's server feedback is not received in Preset Time During the mailing address of calculate node, determined from the target configuration file and taken with the 2nd P2P of itself non-same operator Business device;
According to the mailing address of the 2nd P2P servers, taken to the 2nd P2P by second agent's server Business device forwarding obtains the request of the target resource data.
Preferably, also include:
When the meter of the target resource data that are stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of operator node, determined from the target configuration file and serviced with the 2nd P2P of itself non-same operator Device;
According to the mailing address of the 2nd P2P servers, sent to the 2nd P2P servers and obtain the target money The request of source data;
Receive the calculate node of the target resource data that are stored with of the 2nd P2P server feedbacks communicatedly Location.
A kind of data transmission device, including:
Determining module, the targeted packets for determining packet where itself identify ID;
First acquisition module, for identifying ID according to the targeted packets, from each group character of cloud server storage In the corresponding configuration files of ID, the targeted packets mark corresponding target configuration files of ID are obtained;
Wherein, configuration file includes that respective packets identify the operator's letter belonging to each P2P servers during ID correspondences are grouped The mailing address of each P2P servers in breath and correspondence packet;
Second acquisition module, for according to each corresponding operator's informaiton of P2P servers in the target configuration file, obtaining Obtain and the P2P servers of own operations business's information identical the;
First sending module, for the mailing address according to a P2P servers, to a P2P servers The request for obtaining target resource data is sent, so that a P2P server feedbacks are stored with the target resource data The mailing address of calculate node.
Preferably, configuration file also includes that respective packets identify the operator belonging to each proxy server during ID correspondences are grouped The mailing address of each proxy server in information, and correspondence packet;The data transmission device also includes:
3rd acquisition module, for according to each corresponding operator's informaiton of proxy server in the target configuration file, Obtain and own operations business's information identical first agent's server;
Second sending module, for having worked as the storage that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for stating target resource data, according to the mailing address of first agent's server, to described First agent's server sends the request that the target resource data are obtained to P2P servers forwarding;
First receiver module, for receiving depositing for a P2P server feedbacks by first agent's server Contain the mailing address of the calculate node of the target resource data.
Preferably, also include:
First determining module, for having worked as the storage that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
3rd sending module, obtains for sending forwarding to the 2nd P2P servers by first agent's server Take the request of the target resource data.
Preferably, also include:
Second determining module, for having worked as the storage that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek second agent's server of business;
4th sending module, for the mailing address according to second agent's server, services to the second agent Device sends the request that the target resource data are obtained to P2P servers forwarding;
Second receiver module, for receiving depositing for a P2P server feedbacks by second agent's server Contain the mailing address of the calculate node of the target resource data.
Preferably, also include:
3rd determining module, for having worked as the storage that second agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
5th sending module, for the mailing address according to the 2nd P2P servers, is serviced by the second agent Device obtains the request of the target resource data to the 2nd P2P servers forwarding.
Preferably, also include:
4th determining module, for having worked as the storage that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
6th sending module, for the mailing address according to the 2nd P2P servers, to the 2nd P2P servers Send the request for obtaining the target resource data;
3rd receiver module, the target resource data that are stored with for receiving the 2nd P2P server feedbacks The mailing address of calculate node.
Understood via above-mentioned technical scheme, compared with prior art, the embodiment of the invention provides a kind of data transfer Method, sets each corresponding configuration files of group character ID beyond the clouds in server, configuration file includes that respective packets are identified The mailing address of each P2P servers in operator's informaiton and correspondence packet in ID correspondence packets belonging to each P2P servers;When When calculate node needs to obtain target resource data, the targeted packets mark ID of packet where itself can be first determined;High in the clouds takes Targeted packets are identified the corresponding target configuration files of ID by the targeted packets mark ID that business device can be determined according to calculate node Calculate node is fed back to, calculate node can be obtained according to each corresponding operator's informaiton of P2P servers in target configuration file With the P2P servers of own operations business's information identical the;According to the mailing address of a P2P servers, to described One P2P servers send the request for obtaining the target resource data, so as to a P2P server feedbacks be stored with it is described The mailing address of the calculate node of target resource data.Because a P2P servers and calculate node belong to same operator, because This is not in the phenomenon that operator kidnaps, and obtains the target money that is stored with from a P2P servers such that it is able to success The mailing address of the calculate node of source data.Without downloading target resource data from CDN server, so as to reduce CDN clothes The bandwidth traffic of business device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of structural representation of data transmission system that Fig. 1 is provided for the embodiment of the present application;
A kind of signaling diagram of data transmission method that Fig. 2 is provided for the embodiment of the present application;
The structural representation of the another data transmission system that Fig. 3 is provided for the embodiment of the present application;
The signaling diagram of the another data transmission method that Fig. 4 is provided for the embodiment of the present application;
The signaling diagram of another data transmission method that Fig. 5 is provided for the embodiment of the present application;
The signaling diagram of the another data transmission method that Fig. 6 is provided for the embodiment of the present application;
A kind of structural representation of data transmission device that Fig. 7 is provided for the embodiment of the present application.
Specific 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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The data transmission method that the embodiment of the present application is provided can apply to data transmission system, as shown in figure 1, being this Shen Please a kind of structural representation of data transmission system that provides of embodiment, the data transmission system includes:It is multiple calculate nodes, many Individual P2P servers, cloud server 10, wherein:
Multiple calculate nodes constitute a P2P networks, and multiple calculate nodes are divided into a packet or multiple packets, each One or more P2P servers are equipped with packet.
Fig. 1 is only an example, and limitation is not caused to the embodiment of the present application.Fig. 1 shows that a P2P network includes 4 packets (the embodiment of the present application is provided but is not limited to 4 packets), wherein packet 1 includes:Calculate node A, calculate node B, P2P server C, P2P servers D;Packet 2 includes:Calculate node M, calculate node M, P2P server P, P2P server Q;Point Group 3 includes:Calculate node H, calculate node J, P2P server K, P2P server L;Packet 4 includes:Calculate node E, P2P is serviced Device F, P2P server G.
Each packet has group character ID.
Be stored with each corresponding configuration files of group character ID in cloud server 10.Wherein, configuration file includes phase Each P2P servers in operator's informaiton and correspondence packet in answering group character ID correspondences to be grouped belonging to each P2P servers Mailing address.
Each calculate node was first depending on high in the clouds clothes before the request for obtaining target resource data is sent to P2P servers Business device 10, determine with oneself same packet, and be the P2P servers of same operator, then the target resource will be obtained The request of data is sent to the P2P servers.
Based on above-mentioned data transmission system, data transmission method is illustrated below, refer to Fig. 2, be the application reality A kind of signaling diagram of data transmission method of example offer is applied, the method includes:
Step S201:Calculate node A (being assumed to be the calculate node A of packet 1) determines the targeted packets of packet where itself Mark ID.
Step S202:Calculate node A sends to cloud server 10 targeted packets mark ID.
Step S203:In each corresponding configuration files of group character ID of the cloud server 10 according to storage, obtain described Targeted packets identify the corresponding target configuration files of ID, and target configuration file is sent to calculate node A.
Configuration file include operator's informaiton in respective packets mark ID correspondence packets belonging to each P2P servers and The mailing address of each P2P servers in correspondence packet.
Assuming that telecom operators' information is CT;UNICOM's operator's informaiton is CNC;Mobile operator information is CMNET.
Optionally, the content for being stored in configuration file can be as follows:
<Group MatchKey=" 0 ">
<Host ISP=" CT ">101.227.22.23:17788</Host>
<Host ISP=" CT ">58.215.125.47:17788</Host>
<Host ISP=" CT ">183.61.167.104:17788</Host>
<Host ISP=" CNC ">113.207.90.12:17788</Host>
<Host ISP=" CNC ">119.188.13.150:17788</Host>
<Host ISP=" CNC ">119.188.13.151:17788</Host>
<Host ISP=" CMNET ">120.192.88.83:17788</Host>
</Group>
Wherein, 101.227.22.23:17788、58.215.125.47:17788 ..., it is mailing address.
Each calculate node can be stored with the operator's informaiton of itself, when not storing, can be by other server (examples Such as using HTTP mode access schedulings device) obtain the operator's informaiton of itself.
The form of the operator's informaiton of calculate node storage is optionally, as follows:{"t":"CT|QIYI_SHMinRun- 101.227.12.253 " ... }, the operator for illustrating the calculate node is telecom operators.
Step S204:Calculate node A according to each corresponding operator's informaiton of P2P servers in the target configuration file, Obtain with the P2P servers of own operations business's information identical the (be assumed to be the P2P server C in Fig. 1, subsequently referred to as first P2P server C).
If the packet 1 where calculate node A include it is multiple with oneself with operator P2P servers, it is therefrom random Selection one conducts interviews.
Step S205:Calculate node A according to a P2P servers mailing address, to a P2P servers C sends the request for obtaining the target resource data.
Step S206:First P2P servers C feeds back the calculating section of the target resource data that are stored with to calculate node A The mailing address of point.
A kind of data transmission method provided in an embodiment of the present invention, sets each group character ID corresponding beyond the clouds in server Configuration file, configuration file includes the operator's informaiton belonging to each P2P servers in respective packets mark ID correspondence packets And correspond to the mailing address of each P2P servers in packet;When calculate node needs to obtain target resource data, can be first true The targeted packets mark ID of fixed itself place packet;The targeted packets mark that cloud server can be determined according to calculate node ID, calculate node is fed back to by the targeted packets mark corresponding target configuration files of ID, and calculate node can be configured according to target Each corresponding operator's informaiton of P2P servers in file, obtains and the P2P servers of own operations business's information identical the;According to According to the mailing address of a P2P servers, sent to a P2P servers and obtain asking for the target resource data Ask, so that a P2P server feedbacks are stored with the mailing address of the calculate node of the target resource data.Due to One P2P servers and calculate node belong to same operator, therefore are not in the phenomenon that operator kidnaps, such that it is able to success The mailing address of the calculate node of the target resource data that are stored with is obtained from a P2P servers.Need not be from CDN service Target resource data are downloaded in device, so as to reduce the bandwidth traffic of CDN server.
Generally, in the method shown in Fig. 2 calculate node A can the P2P servers of successful access the, if Fig. 2 institutes Calculate node A is accessed and failed in the method shown, such as P2P server fails etc., now, the data shown in Fig. 1 Also include one or more proxy servers in each packet in Transmission system.The Fig. 1 increased after proxy server is as shown in Figure 3.
Fig. 3 is only an example, does not cause limitation, the packet 1 in Fig. 3 to include agency service to the embodiment of the present application Device S and proxy server R;Packet 2 includes proxy server V;Packet 3 includes proxy server U;Packet 4 includes Proxy server T.
Optionally, proxy server can be HTTP (HyperText Transfer Protocol, Hyper text transfer association View) proxy server.
Also include in the configuration file that cloud server 10 includes:Each agency service in respective packets mark ID correspondence packets The mailing address of each proxy server in operator's informaiton and correspondence packet belonging to device.
When the method shown in Fig. 1 fails, data transmission method can also include method as shown in Figure 4:
Step S401:Calculate node A according to each corresponding operator's informaiton of proxy server in the target configuration file, Obtain and (be assumed to be proxy server S, be subsequently referred to as first agent's clothes with own operations business information identical first agent server Business device S).
Step S402:Calculate node A ought not receive being stored with for the P2P servers C feedbacks in Preset Time During the mailing address of the calculate node of the target resource data, according to the mailing address of first agent's server, to institute State first agent's server S and send the request that the target resource data are obtained to P2P servers forwarding.
Step S403:First agent's server S is received and obtains the target resource number to P2P servers forwarding According to request, and the request for obtaining the target resource data is sent to the P2P servers C.
Step S404:First P2P servers C sends the target resource data that are stored with to first agent's server S The mailing address of calculate node.
Step S405:First agent's server S receives the target resource number that is stored with that a P2P servers C sends According to calculate node mailing address, and send to calculate node A.
If by the method shown in step S401 to step S405, calculate node A still obtains the mesh that is stored with not successfully The mailing address of the calculate node of resource data is marked, then also includes step as shown in Figure 5:
Step S501:Calculate node A ought not receive being stored with for first agent's server feedback in Preset Time During the mailing address of the calculate node of the target resource data, determined from the target configuration file non-same with itself The 2nd P2P servers (being assumed to be P2P server D, be subsequently referred to as the 2nd P2P server D) of operator.
Step S502:Forwarding is sent to the 2nd P2P servers D by first agent's server S and obtains described The request of target resource data.
Step S503:First agent's server S is received and sends to second the request for obtaining the target resource data P2P servers D.
Step S504:2nd P2P servers D sends the target resource data that are stored with to first agent's server S The mailing address of calculate node.
Step S505:First agent's server S receives the target resource number that is stored with that the 2nd P2P servers D sends According to calculate node mailing address, and send to calculate node A.
If by method or method shown in Fig. 2 shown in the method or Fig. 5 shown in Fig. 4, calculate node A is still obtained and deposited not successfully The mailing address of the calculate node of the target resource data is contained, then also includes step as shown in Figure 6:
Step S601:Calculate node A ought not receive being stored with for first agent's server feedback in Preset Time During the mailing address of the calculate node of the target resource data, determined from the target configuration file non-same with itself Second agent's server (being assumed to be proxy server R, be subsequently referred to as second agent server R) of operator.
Step S602:Calculate node A takes according to the mailing address of second agent's server R to the second agent Business device R sends the request that the target resource data are obtained to P2P servers C forwardings.
Step S603:Second agent's server R receives the request for obtaining the target resource data, and height is obtained into described The request of target resource data is sent to the P2P servers C.
Step S604:First P2P servers C sends the target resource data that are stored with to second agent's server R The mailing address of calculate node.
Step S605:Second agent's server R receives the target resource number that is stored with that a P2P servers C sends According to calculate node mailing address, and send to calculate node A.
If by method shown in the method or Fig. 5 shown in Fig. 4 or method shown in Fig. 6 or method shown in Fig. 2, calculate node A The mailing address of the still failed calculate node for obtaining the target resource data that are stored with, then it is further comprising the steps of:
When the target resource data that are stored with that second agent's server feedback is not received in Preset Time During the mailing address of calculate node, determined from the target configuration file and taken with the 2nd P2P of itself non-same operator Business device;
According to the mailing address of the 2nd P2P servers, taken to the 2nd P2P by second agent's server Business device forwarding obtains the request of the target resource data.
If by method shown in the method or Fig. 5 shown in Fig. 4 or method shown in Fig. 6 or method shown in Fig. 2, calculate node A The mailing address of the still failed calculate node for obtaining the target resource data that are stored with, then it is further comprising the steps of:
When the meter of the target resource data that are stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of operator node, determined from the target configuration file and serviced with the 2nd P2P of itself non-same operator Device.
According to the mailing address of the 2nd P2P servers, sent to the 2nd P2P servers and obtain the target money The request of source data.
Receive the calculate node of the target resource data that are stored with of the 2nd P2P server feedbacks communicatedly Location.
The embodiment of the present application additionally provides the data transmission device corresponding with data transmission method, data transmission device institute Comprising module labor, refer to the description of corresponding steps in data transmission method, will not be repeated here.
Fig. 7 is referred to, is a kind of structural representation of data transmission device that the embodiment of the present application is provided, the data transfer Device includes:
Determining module 71, the targeted packets for determining packet where itself identify ID;
First acquisition module 72, for identifying ID according to the targeted packets, from each packet mark of cloud server storage Know in the corresponding configuration files of ID, obtain the targeted packets mark corresponding target configuration files of ID;
Wherein, configuration file includes that respective packets identify the operator's letter belonging to each P2P servers during ID correspondences are grouped The mailing address of each P2P servers in breath and correspondence packet;
Second acquisition module 73, for according to each corresponding operator's informaiton of P2P servers in the target configuration file, Obtain and the P2P servers of own operations business's information identical the;
First sending module 74, for the mailing address according to a P2P servers, services to a P2P Device sends the request for obtaining target resource data, so that a P2P server feedbacks are stored with the target resource data Calculate node mailing address.
Optionally, configuration file also includes that respective packets identify the operator belonging to each proxy server during ID correspondences are grouped The mailing address of each proxy server in information, and correspondence packet;The data transmission device also includes:
3rd acquisition module, for according to each corresponding operator's informaiton of proxy server in the target configuration file, Obtain and own operations business's information identical first agent's server;
Second sending module, for having worked as the storage that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for stating target resource data, according to the mailing address of first agent's server, to described First agent's server sends the request that the target resource data are obtained to P2P servers forwarding;
First receiver module, for receiving depositing for a P2P server feedbacks by first agent's server Contain the mailing address of the calculate node of the target resource data.
Optionally, also include:
First determining module, for having worked as the storage that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
3rd sending module, obtains for sending forwarding to the 2nd P2P servers by first agent's server Take the request of the target resource data.
Optionally, also include:
Second determining module, for having worked as the storage that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek second agent's server of business;
4th sending module, for the mailing address according to second agent's server, services to the second agent Device sends the request that the target resource data are obtained to P2P servers forwarding;
Second receiver module, for receiving depositing for a P2P server feedbacks by second agent's server Contain the mailing address of the calculate node of the target resource data.
Optionally, also include:
3rd determining module, for having worked as the storage that second agent's server feedback is not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
5th sending module, for the mailing address according to the 2nd P2P servers, is serviced by the second agent Device obtains the request of the target resource data to the 2nd P2P servers forwarding.
Optionally, also include:
4th determining module, for having worked as the storage that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for stating target resource data, determined from the target configuration file and itself non-same fortune Seek the 2nd P2P servers of business;
6th sending module, for the mailing address according to the 2nd P2P servers, to the 2nd P2P servers Send the request for obtaining the target resource data;
3rd receiver module, the target resource data that are stored with for receiving the 2nd P2P server feedbacks The mailing address of calculate node.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange Except also there is other identical element in the process including the key element, method, article or equipment.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the application. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where spirit herein or scope is not departed from.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (12)

1. a kind of data transmission method, it is characterised in that including:
Determine the targeted packets mark ID of packet where itself;
ID is identified according to the targeted packets, from each corresponding configuration files of group character ID of cloud server storage, is obtained Obtain the targeted packets mark corresponding target configuration files of ID;
Wherein, configuration file include operator's informaiton in respective packets mark ID correspondence packets belonging to each P2P servers with And correspond to the mailing address of each P2P servers in packet;
According to each corresponding operator's informaiton of P2P servers in the target configuration file, obtain and own operations business's information phase A same P2P servers;
According to the mailing address of a P2P servers, sent to a P2P servers and obtain target resource data Request, so that a P2P server feedbacks are stored with the mailing address of the calculate node of the target resource data.
2. data transmission method according to claim 1, it is characterised in that configuration file also includes that respective packets identify ID pairs The mailing address of each proxy server in operator's informaiton in should being grouped belonging to each proxy server, and correspondence packet;Institute Stating data transmission method also includes:
According to each corresponding operator's informaiton of proxy server in the target configuration file, obtain and own operations business's information phase Same first agent's server;
When the calculating section of the target resource data that are stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of point, according to the mailing address of first agent's server, sent to institute to first agent's server State the request that P2P servers forwarding obtains the target resource data;
The target resource data that are stored with of a P2P server feedbacks are received by first agent's server The mailing address of calculate node.
3. data transmission method according to claim 2, it is characterised in that also include:
When the calculating of the target resource data that are stored with that first agent's server feedback is not received in Preset Time During the mailing address of node, the 2nd P2P servers with itself non-same operator are determined from the target configuration file;
Forwarding is sent to the 2nd P2P servers by first agent's server and obtains asking for the target resource data Ask.
4. the data transmission method according to Claims 2 or 3, it is characterised in that also include:
When the calculating of the target resource data that are stored with that first agent's server feedback is not received in Preset Time During the mailing address of node, determined from the target configuration file and serviced with the second agent of itself non-same operator Device;
According to the mailing address of second agent's server, sent to second agent's server and taken to a P2P Business device forwarding obtains the request of the target resource data;
The target resource data that are stored with of a P2P server feedbacks are received by second agent's server The mailing address of calculate node.
5. data transmission method according to claim 4, it is characterised in that also include:
When the calculating of the target resource data that are stored with that second agent's server feedback is not received in Preset Time During the mailing address of node, the 2nd P2P servers with itself non-same operator are determined from the target configuration file;
According to the mailing address of the 2nd P2P servers, by second agent's server to the 2nd P2P servers Forwarding obtains the request of the target resource data.
6. data transmission method according to claim 1 or claim 2, it is characterised in that also include:
When the calculating section of the target resource data that are stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of point, the 2nd P2P servers with itself non-same operator are determined from the target configuration file;
According to the mailing address of the 2nd P2P servers, sent to the 2nd P2P servers and obtain the target resource number According to request;
Receive the mailing address of the calculate node of the target resource data that are stored with of the 2nd P2P server feedbacks.
7. a kind of data transmission device, it is characterised in that including:
Determining module, the targeted packets for determining packet where itself identify ID;
First acquisition module, for identifying ID according to the targeted packets, from each group character ID phases of cloud server storage In the configuration file answered, the targeted packets mark corresponding target configuration files of ID are obtained;
Wherein, configuration file include operator's informaiton in respective packets mark ID correspondence packets belonging to each P2P servers with And correspond to the mailing address of each P2P servers in packet;
Second acquisition module, for according to each corresponding operator's informaiton of P2P servers in the target configuration file, obtain with The P2P servers of own operations business's information identical the;
First sending module, for the mailing address according to a P2P servers, sends to a P2P servers The request of target resource data is obtained, so that a P2P server feedbacks are stored with the calculating of the target resource data The mailing address of node.
8. data transmission device according to claim 7, it is characterised in that configuration file also includes that respective packets identify ID pairs The mailing address of each proxy server in operator's informaiton in should being grouped belonging to each proxy server, and correspondence packet;Institute Stating data transmission device also includes:
3rd acquisition module, for according to each corresponding operator's informaiton of proxy server in the target configuration file, obtaining With own operations business's information identical first agent's server;
Second sending module, for when the mesh that is stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for marking resource data, according to the mailing address of first agent's server, to described first Proxy server sends the request that the target resource data are obtained to P2P servers forwarding;
First receiver module, for receiving being stored with for a P2P server feedbacks by first agent's server The mailing address of the calculate node of the target resource data.
9. data transmission device according to claim 8, it is characterised in that also include:
First determining module, for when the mesh that is stored with that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for marking resource data, determined from the target configuration file and itself non-same operator The 2nd P2P servers;
3rd sending module, institute is obtained for sending forwarding to the 2nd P2P servers by first agent's server State the request of target resource data.
10. data transmission device according to claim 8 or claim 9, it is characterised in that also include:
Second determining module, for when the mesh that is stored with that first agent's server feedback is not received in Preset Time During the mailing address of the calculate node for marking resource data, determined from the target configuration file and itself non-same operator Second agent's server;
4th sending module, for the mailing address according to second agent's server, sends out to second agent's server It is sent to the request that the P2P servers forwarding obtains the target resource data;
Second receiver module, for receiving being stored with for a P2P server feedbacks by second agent's server The mailing address of the calculate node of the target resource data.
11. data transmission devices according to claim 10, it is characterised in that also include:
3rd determining module, for when the mesh that is stored with that second agent's server feedback is not received in Preset Time During the mailing address of the calculate node for marking resource data, determined from the target configuration file and itself non-same operator The 2nd P2P servers;
5th sending module, for the mailing address according to the 2nd P2P servers, by second agent's server to The 2nd P2P servers forwarding obtains the request of the target resource data.
12. according to claim 7 or 8 data transmission device, it is characterised in that also include:
4th determining module, for when the mesh that is stored with that a P2P server feedbacks are not received in Preset Time During the mailing address of the calculate node for marking resource data, determined from the target configuration file and itself non-same operator The 2nd P2P servers;
6th sending module, for the mailing address according to the 2nd P2P servers, sends to the 2nd P2P servers Obtain the request of the target resource data;
3rd receiver module, the calculating of the target resource data that are stored with for receiving the 2nd P2P server feedbacks The mailing address of node.
CN201611249253.8A 2016-12-29 2016-12-29 Data transmission method and device Active CN106790609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611249253.8A CN106790609B (en) 2016-12-29 2016-12-29 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611249253.8A CN106790609B (en) 2016-12-29 2016-12-29 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN106790609A true CN106790609A (en) 2017-05-31
CN106790609B CN106790609B (en) 2020-03-03

Family

ID=58927555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611249253.8A Active CN106790609B (en) 2016-12-29 2016-12-29 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN106790609B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660639A (en) * 2018-12-11 2019-04-19 深圳市网心科技有限公司 A kind of data uploading method, equipment, system and medium
CN113364865A (en) * 2021-06-03 2021-09-07 湖南快乐阳光互动娱乐传媒有限公司 Resource acquisition method, device, readable medium and equipment
CN114979146A (en) * 2022-05-25 2022-08-30 中移(杭州)信息技术有限公司 Source returning method, CDN device, storage medium and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459614A (en) * 2008-12-24 2009-06-17 腾讯科技(深圳)有限公司 Method, system and equipment for network data transmission
CN101854387A (en) * 2010-05-14 2010-10-06 中国科学院计算技术研究所 P2P flow optimization method and system based on distributed index server architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459614A (en) * 2008-12-24 2009-06-17 腾讯科技(深圳)有限公司 Method, system and equipment for network data transmission
CN101854387A (en) * 2010-05-14 2010-10-06 中国科学院计算技术研究所 P2P flow optimization method and system based on distributed index server architecture

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660639A (en) * 2018-12-11 2019-04-19 深圳市网心科技有限公司 A kind of data uploading method, equipment, system and medium
CN109660639B (en) * 2018-12-11 2022-02-25 深圳市迅雷网络技术有限公司 Data uploading method, device, system and medium
CN113364865A (en) * 2021-06-03 2021-09-07 湖南快乐阳光互动娱乐传媒有限公司 Resource acquisition method, device, readable medium and equipment
CN113364865B (en) * 2021-06-03 2023-04-07 湖南快乐阳光互动娱乐传媒有限公司 Resource acquisition method, device, readable medium and equipment
CN114979146A (en) * 2022-05-25 2022-08-30 中移(杭州)信息技术有限公司 Source returning method, CDN device, storage medium and device

Also Published As

Publication number Publication date
CN106790609B (en) 2020-03-03

Similar Documents

Publication Publication Date Title
CN102893556B (en) Method, system and equipment for source peer-to-peer Diameter based on capacity load Sharing
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN105530666B (en) Binding session method and system
CN102763366A (en) Diverse source message association
CN102611763A (en) DNS (Domain Name Server) inquiring method and equipment
CN102647341A (en) Message processing method, device and system
CN106790609A (en) Data transmission method and device
CN105656964B (en) The implementation method and device of data-pushing
CN106572454A (en) PCRF addressing method and addressing system
CN105471820A (en) Processing method and processing device for converged communication terminal discovery and ability detection
CN101282329B (en) Method and system for sharing network medium contents
CN103916489B (en) The many IP of a kind of single domain name domain name analytic method and system
US9473430B2 (en) Method and system for group number-based microblog aggregation
CN103188278B (en) Method and system for content data distribution
JP2016213604A (en) Communication device and management method
EP3190746B1 (en) Dynamic provision of application related sponsored data connectivity
CN104822140B (en) A kind of method and network communicating system of data query
US20170141959A1 (en) Methods, systems, and computer readable media for subscriber binding repository reconfiguration
CN103069782B (en) Communication system and the method for being communicated by this communication system
CN102404283A (en) Communication method and system of internet protocol (IP) multimedia subsystem (IMS)
CN105553852A (en) Information processing method and apparatus, electronic device and management platform
US10104604B2 (en) S9 roaming session destination selection
CN108351861B (en) System and method for configuration and registration
EP2891298B1 (en) Method and node for automatically exchanging network service provider information
CN103825914B (en) SN information reporting method, and method and apparatus for communication between DSN P2P network and IMS network communication

Legal Events

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