CN105872001A - Data transmission method and device based on P2P network - Google Patents

Data transmission method and device based on P2P network Download PDF

Info

Publication number
CN105872001A
CN105872001A CN201510968257.0A CN201510968257A CN105872001A CN 105872001 A CN105872001 A CN 105872001A CN 201510968257 A CN201510968257 A CN 201510968257A CN 105872001 A CN105872001 A CN 105872001A
Authority
CN
China
Prior art keywords
data
transmission
node
identification information
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510968257.0A
Other languages
Chinese (zh)
Inventor
李卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Cloud Computing 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 LeTV Cloud Computing Co Ltd filed Critical LeTV Cloud Computing Co Ltd
Priority to CN201510968257.0A priority Critical patent/CN105872001A/en
Publication of CN105872001A publication Critical patent/CN105872001A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a data transmission method and device based on a P2P network, relates to the technical field of information and mainly aims at solving the problem that at present, network resources cannot be reasonably utilized to select data with proper data quantity for transmission. The method comprises following steps of obtaining transmission speeds corresponding to different data transmission strategies, wherein the data transmission strategies comprise the data quantity of the data requested to a second P2P node by a first P2P node each time; determining the data transmission strategy corresponding to the fastest transmission speed; and requesting to the second P2P node for the data according to the data transmission strategy. The method and the device are applicable to data transmission based on the P2P network.

Description

Data transmission method based on P2P network and device
Technical field
The present embodiments relate to areas of information technology, particularly relate to a kind of data based on P2P network and pass Transmission method and device.
Background technology
In point-to-point (Peer-to-Peer, P2P) network, each node is the peer nodes of equality, often Individual node both can be serviced from other nodes, it is also possible to provides service to other nodes.At present, exist When carrying out data interaction between P2P nodes and node, need to transmit signaling between node.Its In, signaling mainly comprises heartbeat message, the information sending data, asks for the information etc. of data, and according to The data message of asking for carried in signaling sends corresponding data to other nodes;Each node is generally by one Individual big file is cut into several small datas block piece0~pieceN, these piece by identical rule The base unit of sharing data between node, the byte-sized of piece is usually a definite value, and each Piece has numbering idx accordingly, and this is numbered asks for and the mark of sharing data block.Wherein.? When P2P nodes and other nodes are transmitted data, the most only one piece of transmission.But, Owing to the data cutting between node is multiple piece, the most only one piece of transmission, needs between node Carry out repeatedly mutual, thus cause network resources waste.
At present, in order to solve the problems referred to above, it is transmitted data at P2P nodes and other nodes Time, transmit multiple piece every time.But, when network condition is the best, transmission piece number every time Amount, can cause the waste of Internet resources when i.e. the data volume of data is too small, when network condition is bad, pass Defeated piece quantity can cause transmission slowly time excessive, data congestion or loss of data.Therefore, at P2P Nodes and other nodes are transmitted data, reasonably utilize Internet resources, select reasonable data The data of amount are transmitted becoming current problem demanding prompt solution.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method based on P2P network and device, in order to solve Certainly prior art cannot reasonably utilize Internet resources, select the data of reasonable data amount to be transmitted Defect.
The embodiment of the present invention provides a kind of data transmission method based on P2P network, including:
Obtain the transmission speed that different pieces of information transmission strategy is the most corresponding, wherein, described data transmission policies Including the first point-to-point P2P node every time to the data volume of the 2nd P2P node requests data;
Determine the data transmission policies that the fastest transmission speed is corresponding;
According to described data transmission policies, to described 2nd P2P node requests data.
Further, the transmission speed that described acquisition different pieces of information transmission strategy is corresponding respectively includes:
The data volume size of the data that acquisition different pieces of information transmission strategy is the most corresponding, and described data The transmission time;
According to described data volume size and described transmission time, calculate described different pieces of information transmission strategy respectively Corresponding transmission speed.
Further, the transmission time of the described data of described acquisition includes:
Recording a described P2P node asks the time of described data and a described P2P node to receive Time to described data;
Time according to the described data of described request and the described time receiving described data, obtain described The transmission time of data.
Further, described according to described data transmission policies, to described 2nd P2P node requests data Before, described method also includes:
Receive the transmission data signaling that described 2nd P2P node sends, described transmission data signaling carries The identification information of available for transmission data;
Described according to described data transmission policies, include to described 2nd P2P node requests data:
According to described data transmission policies, from the identification information of described data to be transmitted, select request data Identification information;
According to described identification information, send request data signaling to described 2nd P2P node.
Further, described according to described data transmission policies, from the identification information of described data to be transmitted Before the identification information of middle selection request data, also include:
Judge whether described P2P node this locality exists and the identification information pair of described data to be transmitted The data answered;
Described according to described data transmission policies, from the identification information of described data to be transmitted, select request The identification information of data includes:
If not existing, then according to described data transmission policies, from the identification information of described data to be transmitted Select the identification information of request data.
The embodiment of the present invention provides a kind of data transmission device based on P2P network, including:
Acquiring unit, for obtaining the transmission speed that different pieces of information transmission strategy is the most corresponding, wherein, institute State data transmission policies and include that the first point-to-point P2P node is every time to the number of the 2nd P2P node requests data According to amount;
Determine unit, for determining the data transmission policies that the fastest transmission speed is corresponding;
Request unit, for according to described data transmission policies, to described 2nd P2P node number of request According to.
Further, described acquiring unit includes:
Acquisition module, for obtaining the data volume size of data corresponding to different pieces of information transmission strategy, And the transmission time of described data;
Computing module, for according to described data volume size and described transmission time, calculates described different number According to the transmission speed that transmission strategy is the most corresponding.
Further, described acquisition module, ask described number specifically for recording a described P2P node According to time and a described P2P node receive time of described data;
Described acquisition module, is specifically additionally operable to the time according to the described data of described request and described receives The time of described data, obtain the transmission time of described data.
Further, described device also includes: receive unit,
Described reception unit, for receiving the transmission data signaling that described 2nd P2P node sends, described Transmission data signaling carries the identification information of data to be transmitted;
Described request unit includes: select module and request module,
Described selection module, for according to described data transmission policies, treats the defeated mark reaching data from described Information selects the identification information of request data;
Described request module, for according to described identification information, sending request to described 2nd P2P node Data signaling.
Further, described request unit also includes: judge module,
Whether described judge module, be used for judging existing in described P2P node this locality to be passed with described The data that the identification information of transmission of data is corresponding;
Described selection module, if to be passed with described specifically for described P2P node this locality does not exist The data that the identification information of transmission of data is corresponding, then according to described data transmission policies, defeated reach number from described treating According to identification information in select the identification information of request data.
The data transmission method based on P2P network of embodiment of the present invention offer and device, by basis Data transmission policies corresponding to the fastest transmission speed carries out data transmission, wherein, and different data transmission The corresponding different data volume of strategy, changes prior art and cannot reasonably utilize Internet resources, select The defect that the data of reasonable data amount are transmitted, it is achieved that carry out data transmission according to network state, It is thus possible to ensure the speed of data transmission while avoiding network resources waste.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it is clear that Ground, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
A kind of based on P2P network the data transmission method flow process that Fig. 1 provides for the embodiment of the present invention Figure;
Another kind data transmission method based on the P2P network flow process that Fig. 2 provides for the embodiment of the present invention Figure;
The structure of a kind of based on P2P network the data transmission device that Fig. 3 provides for the embodiment of the present invention Schematic diagram;
The structure of a kind of based on P2P network the data transmission device that Fig. 4 provides for the embodiment of the present invention Schematic diagram.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in inventive embodiments, clearly and completely retouches the technical scheme in the embodiment of the present invention State, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of data transmission method based on P2P network, can apply to P2P node server, as it is shown in figure 1, described method includes:
101, the transmission speed that different pieces of information transmission strategy is the most corresponding is obtained.
Wherein, described data transmission policies includes that a P2P node is every time to the 2nd P2P node request The data volume of data.
In P2P network, usual 2nd P2P node, when a P2P node passes on data, needs First sending signaling to a P2P node, wherein, signaling includes that the 2nd P2P node has data Data message list.Then, a P2P node according to the actual requirements, to the 2nd P2P node rope Want data.When network state is preferable, a P2P node once asks for data to the 2nd P2P node Data volume very few time, the waste of Internet resources can be caused;When network state is poor, a P2P Node once to the 2nd P2P node ask for the data volume of data too much time, data can be caused to transmit relatively Slowly.Therefore, at a P2P node before the 2nd P2P node requests data, need network state Testing, formulate different data transmission policies, the i.e. the oneth P2P node is every time to the 2nd P2P joint The data of some request different pieces of information amount, then obtain the biography that the data of transmission different pieces of information amount are respectively necessary for Defeated speed.
Such as, node A to the signaling that node B sends include data message list datalist1=[1, 100], represent that node A has the data of the 1st piece to the 100th piece.Node-B receiver is to datalist1 After, can compare with the datalist2 in this locality, ask for the by comparing confirmation needs to node A The data of 10 pieces to the 100th piece.Therefore, at node A before Node B requests data, it is right to need Network state is tested, and formulates different data transmission policies.I.e. node A is every time to node B The data of request different pieces of information amount, then obtain the transmission that the data of transmission different pieces of information amount are respectively necessary for Speed.Specifically, the first data transmission policies: node A is every time to Node B requests the 101st Blocks of data, according to size and the transmission time of 1 blocks of data, obtains the transmission of transmission the 101st blocks of data Speed V1;The second data transmission policies: node A every time to 2 pieces of numbers of Node B requests, according to The size of 2 blocks of data and transmission time evidence, obtain transmission speed V2 of transmission 2 blocks of data.
102, the data transmission policies that the fastest transmission speed is corresponding is determined.
Such as, a total of three kinds of data transmission policies are respectively as follows: node B every time to Node A requests 1 Blocks of data;Node B is every time to Node A requests 2 blocks of data;Node B is every time to Node A requests 3 blocks of data.The transmission speed of three kinds of data transmission policies correspondences respectively is V1, V2, V3.Wherein, In V1, V2, V3, V3 is the fastest, then need to ask for the 10th piece to the 100th to node A as node B During the data of block, 3 blocks of data can be asked for node A every time, thus obtain and be there is a need to ask for Data.In actual application, the transmission that different pieces of information transmission strategy is the most corresponding can be obtained in real time Speed, as after data transmit a period of time, when network state changes, V2 V1, V2, In V3 the soonest, then node B can ask for 2 blocks of data to node A every time, thus obtains remaining Need the data asked for.
For the embodiment of the present invention, carried out by the data transmission policies corresponding according to the fastest transmission speed Data are transmitted, it is possible to overcome prior art cannot reasonably utilize Internet resources, select reasonable data amount The defect that is transmitted of data, it is achieved that carry out data transmission according to network state such that it is able to The speed of data transmission is ensured while avoiding network resources waste.
103, according to the data transmission policies that the fastest transmission speed is corresponding, to the 2nd P2P node request Data.
For the embodiment of the present invention, described it is specifically as follows to the 2nd P2P node requests data: to Two P2P nodes send request data signaling, carry the mark of request data in described request data signaling Knowledge information, described identification information can be the numbering of data, it is also possible to for the title of data, the present invention Embodiment does not limits.
A kind of based on P2P network the data transmission method that the embodiment of the present invention provides, by according to The data transmission policies that transmission speed is corresponding soon carries out data transmission, wherein, and different data transmission plans The most corresponding different data volume, changes prior art and cannot reasonably utilize Internet resources, selects to close The defect that the data of reason data volume are transmitted, it is achieved that carry out data transmission according to network state, from And the speed that data are transmitted can be ensured while avoiding network resources waste.
Embodiments provide another kind of data transmission method based on P2P network, can apply In P2P node server, as in figure 2 it is shown, described method includes:
201, the transmission speed that different pieces of information transmission strategy is the most corresponding is obtained.
Wherein, described data transmission policies includes that a P2P node is every time to the 2nd P2P node request The data volume of data.
For the embodiment of the present invention, step 201 is specifically as follows: obtain different pieces of information transmission strategy respectively The data volume size of corresponding data, and the transmission time of described data;According to described data volume size With the described transmission time, calculate the transmission speed that described different pieces of information transmission strategy is respectively corresponding.
Such as, the size of 1 blocks of data that the first data transmission policies is corresponding is: Size1, these data The transmission time is T1, then transmission speed V1=Size1/T1 that first data transmission strategy is corresponding;The second The size of 2 blocks of data that data transmission policies is corresponding is: Size2, and the transmission time of these data is T2, then Transmission speed V2=Size2/T2 that first data transmission strategy is corresponding.
For the embodiment of the present invention, the transmission time of the described data of described acquisition includes: record described first P2P node ask time of described data and a described P2P node receive described data time Between;Time according to the described data of described request and the described time receiving described data, obtain described The transmission time of data.
Such as, node B is t1 to the time of Node A requests the 10th blocks of data, i.e. sends to node A The time of signaling, the time receiving the 10th blocks of data that node A sends is t2, i.e. receives second P2P node sends the time of signaling, then the transmission time T1=t1-t2 of the 10th blocks of data.
202, the data transmission policies that the fastest transmission speed is corresponding is determined.
For the embodiment of the present invention, carried out by the data transmission policies corresponding according to the fastest transmission speed Data are transmitted, it is possible to overcome prior art cannot reasonably utilize Internet resources, select reasonable data amount The defect that is transmitted of data, it is achieved that carry out data transmission according to network state such that it is able to The speed of data transmission is ensured while avoiding network resources waste.
203, the transmission data signaling that the 2nd P2P node sends is received.
Wherein, described transmission data signaling carries the identification information of data to be transmitted.
204, according to the data transmission policies that the fastest transmission speed is corresponding, from the mark of data to be transmitted Information selects the identification information of request data.
Wherein, the identification information of described data to be transmitted can be the numbering of data, it is also possible to for data Title, the embodiment of the present invention does not limits.
Before the embodiment of the present invention, step 204, specifically can also include: judge a described P2P Whether node this locality exists the data corresponding with the identification information of described data to be transmitted.Now step 204 It is specifically as follows: if not existing, then according to described data transmission policies, from the mark of described data to be transmitted Knowledge information selects the identification information of request data.
Such as, node A to the signaling that node B sends include data message list datalist1=[1, 100], represent that node A has the data of the 1st piece to the 100th piece.Node B has had the 1st piece To the data of the 10th piece, node B has only to ask for the number of the 10th piece to the 100th piece to node A According to.When node B is every time when the transmission speed of Node A requests 3 blocks of data is the fastest, node B from In the identification information of the data of the 10th piece to the 100th piece, select the 10th piece to the 12nd blocks of data Identification information, then to Node A requests the 10th piece to the 12nd blocks of data.When receiving the 10th piece After the 12nd blocks of data, then to Node A requests the 13rd piece to the 15th blocks of data, until getting 100th blocks of data.
205, according to the identification information of request data, request data signaling is sent to the 2nd P2P node.
The another kind data transmission method based on P2P network that the embodiment of the present invention provides, by basis Data transmission policies corresponding to the fastest transmission speed carries out data transmission, wherein, and different data transmission The corresponding different data volume of strategy, changes prior art and cannot reasonably utilize Internet resources, select The defect that the data of reasonable data amount are transmitted, it is achieved that carry out data transmission according to network state, It is thus possible to ensure the speed of data transmission while avoiding network resources waste.
Further, implementing as Fig. 1 and Fig. 2, embodiments provide a kind of base In the data transmission device of P2P network, as it is shown on figure 3, described device includes: acquiring unit 31, Determine unit 32, request unit 33.
Acquiring unit 31, for obtaining the transmission speed that different pieces of information transmission strategy is the most corresponding, wherein, Described data transmission policies includes that the first point-to-point P2P node is every time to the 2nd P2P node requests data Data volume.Acquiring unit 31 is that this data transmission device based on P2P network obtains different pieces of information transmission plan The main functional modules of transmission speed corresponding slightly respectively.
Determine unit 32, for determining the data transmission policies that the fastest transmission speed is corresponding.Determine unit 32 Data transmission policies corresponding to the fastest transmission speed is determined for this data transmission device based on P2P network Main functional modules.
Request unit 33, for according to described data transmission policies, to described 2nd P2P node number of request According to.Determine that unit 32 is that this data transmission device based on P2P network please to described 2nd P2P node Seek the main functional modules of data.
Described acquiring unit 31 includes: acquisition module 3101 and computing module 3102.
Acquisition module 3101 is big for obtaining the data volume of data corresponding to different pieces of information transmission strategy Little, and the transmission time of described data.
Computing module 3102, for according to described data volume size and described transmission time, described in calculating not With the transmission speed that data transmission policies is the most corresponding.
Described acquisition module 3101, specifically for record described oneth P2P node ask described data time Between and a described P2P node receive time of described data.
Described acquisition module 3101, is specifically additionally operable to the time according to the described data of described request and described connects Receive the time of described data, obtain the transmission time of described data.
Such as Fig. 4, described device also includes: receive unit 34.
Described reception unit 34, for receiving the transmission data signaling that described 2nd P2P node sends, institute State the identification information carrying data to be transmitted in transmission data signaling.Receiving unit 34 is that this is based on P2P The data transmission device of network receives the major function of the transmission data signaling that described 2nd P2P node sends Module.
Described request unit 33 includes: select module 3301 and request module 3302.
Described selection module 3301, for according to described data transmission policies, treats the defeated data that reach from described Identification information selects the identification information of request data.
Described request module 3302, for according to described identification information, sending to described 2nd P2P node Request data signaling.
Described request unit 33 also includes: judge module 3303.
Described judge module 3303, is used for judging whether exist with described in described P2P node this locality The data that the identification information of data to be transmitted is corresponding.
Described selection module 3301, if specifically for not existing with described in described P2P node this locality The data that the identification information of data to be transmitted is corresponding, then according to described data transmission policies, from described treat defeated Reach the identification information selecting request data in the identification information of data.
It should be noted that a kind of based on P2P network the data transmission dress that the embodiment of the present invention provides Other of each functional unit involved by putting describe accordingly, are referred to the right of method shown in Fig. 1 and Fig. 2 Should describe, not repeat them here.The embodiment of the present invention can realize being correlated with by hardware processor Functional module.
A kind of based on P2P network the data transmission device that the embodiment of the present invention provides, by according to The data transmission policies that transmission speed is corresponding soon carries out data transmission, wherein, and different data transmission plans The most corresponding different data volume, changes prior art and cannot reasonably utilize Internet resources, selects to close The defect that the data of reason data volume are transmitted, it is achieved that carry out data transmission according to network state, from And the speed that data are transmitted can be ensured while avoiding network resources waste.
Device embodiment described above is only schematically, wherein said says as separating component Bright unit can be or may not be physically separate, and the parts shown as unit are permissible It is or may not be physical location, i.e. may be located at a place, or can also be distributed to many On individual NE.Some or all of module therein can be selected according to the actual needs to realize The purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying the situation of performing creative labour Under, i.e. it is appreciated that and implements.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each Embodiment can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware.Based on such understanding, prior art is made tribute by technique scheme the most in other words The part offered can embody with the form of software product, and this computer software product can be stored in In computer-readable recording medium, such as ROM/RAM, magnetic disc, CD etc., use including some instructions So that a computer equipment (can be personal computer, server, or the network equipment etc.) Perform the method described in some part of each embodiment or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than right It limits;Although the present invention being described in detail with reference to previous embodiment, this area common Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be repaiied by it Change, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, not The essence making appropriate technical solution departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a data transmission method based on P2P network, it is characterised in that including:
Obtain the transmission speed that different pieces of information transmission strategy is the most corresponding, wherein, described data transmission policies Including the first point-to-point P2P node every time to the data volume of the 2nd P2P node requests data;
Determine the data transmission policies that the fastest transmission speed is corresponding;
According to described data transmission policies, to described 2nd P2P node requests data.
Method the most according to claim 1, it is characterised in that described acquisition different pieces of information is transmitted The transmission speed that strategy is corresponding respectively includes:
The data volume size of the data that acquisition different pieces of information transmission strategy is the most corresponding, and described data The transmission time;
According to described data volume size and described transmission time, calculate described different pieces of information transmission strategy respectively Corresponding transmission speed.
Method the most according to claim 2, it is characterised in that the biography of the described data of described acquisition The defeated time includes:
Recording a described P2P node asks the time of described data and a described P2P node to receive Time to described data;
Time according to the described data of described request and the described time receiving described data, obtain described The transmission time of data.
Method the most according to claim 1, it is characterised in that described transmit according to described data Strategy, before described 2nd P2P node requests data, described method also includes:
Receive the transmission data signaling that described 2nd P2P node sends, described transmission data signaling carries The identification information of available for transmission data;
Described according to described data transmission policies, include to described 2nd P2P node requests data:
According to described data transmission policies, from the identification information of described data to be transmitted, select request data Identification information;
According to described identification information, send request data signaling to described 2nd P2P node.
Method the most according to claim 4, it is characterised in that described transmit according to described data Strategy, before selecting the identification information of request data, also wraps from the identification information of described data to be transmitted Include:
Judge whether described P2P node this locality exists and the identification information pair of described data to be transmitted The data answered;
Described according to described data transmission policies, from the identification information of described data to be transmitted, select request The identification information of data includes:
If not existing, then according to described data transmission policies, from the identification information of described data to be transmitted Select the identification information of request data.
6. a data transmission device based on P2P network, it is characterised in that including:
Acquiring unit, for obtaining the transmission speed that different pieces of information transmission strategy is the most corresponding, wherein, institute State data transmission policies and include that the first point-to-point P2P node is every time to the number of the 2nd P2P node requests data According to amount;
Determine unit, for determining the data transmission policies that the fastest transmission speed is corresponding;
Request unit, for according to described data transmission policies, to described 2nd P2P node number of request According to.
Device the most according to claim 6, it is characterised in that described acquiring unit includes:
Acquisition module, for obtaining the data volume size of data corresponding to different pieces of information transmission strategy, And the transmission time of described data;
Computing module, for according to described data volume size and described transmission time, calculates described different number According to the transmission speed that transmission strategy is the most corresponding.
Device the most according to claim 7, it is characterised in that
Described acquisition module, specifically for record described oneth P2P node ask described data time with And a described P2P node receives the time of described data;
Described acquisition module, is specifically additionally operable to the time according to the described data of described request and described receives The time of described data, obtain the transmission time of described data.
Device the most according to claim 6, it is characterised in that described device also includes: receive single Unit,
Described reception unit, for receiving the transmission data signaling that described 2nd P2P node sends, described Transmission data signaling carries the identification information of data to be transmitted;
Described request unit includes: select module and request module,
Described selection module, for according to described data transmission policies, treats the defeated mark reaching data from described Information selects the identification information of request data;
Described request module, for according to described identification information, sending request to described 2nd P2P node Data signaling.
Device the most according to claim 9, it is characterised in that described request unit also includes: Judge module,
Whether described judge module, be used for judging existing in described P2P node this locality to be passed with described The data that the identification information of transmission of data is corresponding;
Described selection module, if to be passed with described specifically for described P2P node this locality does not exist The data that the identification information of transmission of data is corresponding, then according to described data transmission policies, defeated reach number from described treating According to identification information in select the identification information of request data.
CN201510968257.0A 2015-12-21 2015-12-21 Data transmission method and device based on P2P network Pending CN105872001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510968257.0A CN105872001A (en) 2015-12-21 2015-12-21 Data transmission method and device based on P2P network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510968257.0A CN105872001A (en) 2015-12-21 2015-12-21 Data transmission method and device based on P2P network

Publications (1)

Publication Number Publication Date
CN105872001A true CN105872001A (en) 2016-08-17

Family

ID=56624484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510968257.0A Pending CN105872001A (en) 2015-12-21 2015-12-21 Data transmission method and device based on P2P network

Country Status (1)

Country Link
CN (1) CN105872001A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121705A1 (en) * 2016-12-30 2018-07-05 北京奇虎科技有限公司 Stream data bidirectional transmission method and device
CN110048906A (en) * 2019-03-27 2019-07-23 网宿科技股份有限公司 A kind of method, system, device and server judging node-node transmission quality
CN112291601A (en) * 2020-10-28 2021-01-29 Oppo广东移动通信有限公司 Data transmission method, electronic equipment and storage medium
US10917497B2 (en) 2019-03-27 2021-02-09 Wangsu Science & Technology Co., Ltd. Method, system, device and server for determining transmission quality of node
CN117675706A (en) * 2024-01-31 2024-03-08 利亚德智慧科技集团有限公司 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045772A (en) * 2009-10-21 2011-05-04 华为技术有限公司 Data transmission method and device
CN104168081A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 Document transmission method and device
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045772A (en) * 2009-10-21 2011-05-04 华为技术有限公司 Data transmission method and device
CN104168081A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 Document transmission method and device
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121705A1 (en) * 2016-12-30 2018-07-05 北京奇虎科技有限公司 Stream data bidirectional transmission method and device
CN110048906A (en) * 2019-03-27 2019-07-23 网宿科技股份有限公司 A kind of method, system, device and server judging node-node transmission quality
US10917497B2 (en) 2019-03-27 2021-02-09 Wangsu Science & Technology Co., Ltd. Method, system, device and server for determining transmission quality of node
CN112291601A (en) * 2020-10-28 2021-01-29 Oppo广东移动通信有限公司 Data transmission method, electronic equipment and storage medium
CN117675706A (en) * 2024-01-31 2024-03-08 利亚德智慧科技集团有限公司 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals
CN117675706B (en) * 2024-01-31 2024-04-19 利亚德智慧科技集团有限公司 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals

Similar Documents

Publication Publication Date Title
CN105872001A (en) Data transmission method and device based on P2P network
CN107347205B (en) A kind of network slice selection method, apparatus and system
CN111008075B (en) Load balancing system, method, device, equipment and medium
CN104394441A (en) Video content distribution scheduling method, device and system
CN110855792B (en) Message pushing method, device, equipment and medium
CN105678568A (en) Method and apparatus for determining preferential information
CN109218133A (en) Network speed testing system, method, apparatus and computer readable storage medium
CN108200218B (en) Method and device for realizing load balance and electronic equipment
CN108270828A (en) A kind of content distribution network system recommends method and device
CN105871509A (en) Data transmission method and device
CN110267268B (en) Pseudo base station identification method, device and system
CN102594912A (en) Data processing method under server architecture, server and server architecture
CN105978938A (en) Service processing equipment service status determining method and scheduling equipment
CN105554099A (en) Method and device for balancing load of acquisition servers
CN111083647A (en) Block chain service data transmission method and system based on mobile terminal
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN101868784B (en) Method and device for agile computing
CN102123063B (en) Method and device for detecting link bandwidth
CN108614750A (en) The restoration methods and device of delay machine data
US20170063643A1 (en) Method and server for guaranteeing service level of peer
CN103229486B (en) Batch file transmission method and equipment
CN105681266B (en) A kind of communication cluster method and device of mediaphone MMTel
CN110855528B (en) Message processing method and test equipment
CN107015906B (en) Test method and device, port generation method, port generator and test system
CN111885646B (en) Load balancing information transmission method and system of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817