CN101447926A - Point to point data transmission system and method thereof - Google Patents
Point to point data transmission system and method thereof Download PDFInfo
- Publication number
- CN101447926A CN101447926A CN 200810186661 CN200810186661A CN101447926A CN 101447926 A CN101447926 A CN 101447926A CN 200810186661 CN200810186661 CN 200810186661 CN 200810186661 A CN200810186661 A CN 200810186661A CN 101447926 A CN101447926 A CN 101447926A
- Authority
- CN
- China
- Prior art keywords
- data
- point
- receiving terminal
- threshold value
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/108—Resource delivery mechanisms characterised by resources being split in blocks or fragments
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the technical field of a computer network, and particularly provides a point to point data transmission system and a method thereof, wherein the method is based on the data transmission between a transmission terminal and a receiving terminal by a network channel and includes the following two steps: A, the transmission terminal, according to a preset partitioning unit, partitions the data to be transmitted and transmits the partitioned data into the receiving terminal through a network passage; and B, the receiving terminal checks the received partitioned data. The point to point data transmission system and the method can increase the speed of data transmission.
Description
Technical field
The present invention relates to technical field of the computer network, more particularly, relate to based on point-to-point data transmission system and method.
Background technology
Point-to-point (Peer-to-Peer is called for short " P2P "), technology was meant direct Data transmission between the network user, and each node that carries out transfer of data is reciprocity.The P2P The Application of Technology is very extensive at present, and instant messaging is exactly typical case's representative of P2P technology.By the P2P technology, the both sides of instant messaging can directly carry out the transfer of data of literal, voice or video.
When carrying out point-to-point transfer of data by network channel, the data in each passage (being fragment data) are bigger, and therefore the bandwidth that takies is more, thereby causes transfer of data slower.In addition, because the data volume in the passage is big, each passage is shared relatively difficulty of data, and consumes memory is also big.
Summary of the invention
It is a kind of based on point-to-point data transmission system and method that one of purpose of the present invention is to provide, and is intended to solve the slower problem of prior art transfer of data.
In order to realize goal of the invention, described system comprises transmission terminal and the receiving terminal that carries out transfer of data by network channel, this transmission terminal comprises data segmentation module, cuts apart unit and cuts apart data waiting for transmission according to default, so that divided data is sent to receiving terminal; This receiving terminal comprises the data check module, and described divided data is carried out verification.
Receiving terminal also can comprise: the accumulation module divided data that receives is accumulated, and the data of being accumulated are carried out threshold decision, and the data that will reach threshold value sends to the data check module.
Whether this data check module can further be obtained the cryptographic Hash of the data that reach threshold value, and correct according to the described data that reach threshold value of cryptographic Hash verification, and the data that verification is correct are stored.
Should default cut apart unit and can be 1K, this threshold value can be greater than 1K.
According to another aspect of the present invention, provide based on point-to-point data transmission method, be used to send the transfer of data of being undertaken by network channel between terminal and the receiving terminal, may further comprise the steps: A. sends terminal to be cut apart unit and cuts apart data waiting for transmission according to default, and divided data is transferred to receiving terminal by network channel; B. receiving terminal carries out verification to the divided data that receives.
Wherein, also can comprise before the steps A: the default unit of cutting apart is set in sending terminal.
Wherein, step B can comprise:
B1. receiving terminal is accumulated divided data, and the data of being accumulated are carried out threshold decision;
B2. the data that reach threshold value are carried out verification.
Step B2 can further comprise: obtain the cryptographic Hash of the data that reach threshold value, and whether correct according to the described data that reach threshold value of described cryptographic Hash verification, and the data that verification is correct are stored.
Before step B1, also can comprise: threshold value is set at receiving terminal.
Should default cut apart unit and can be 1K, this threshold value can be greater than 1K.
According to said system of the present invention and method, can make that the data volume in the network channel diminishes, therefore the bandwidth that takies is less, thereby has improved data transmission bauds.
Description of drawings
Fig. 1 is the demonstrative structure schematic diagram that the present invention is based on point-to-point data transmission system;
Fig. 2 is based on the structural representation of point-to-point data transmission system in one embodiment of the present of invention;
Fig. 3 is based on the structural representation of point-to-point data transmission system in one embodiment of the present of invention;
Fig. 4 is based on the flow chart of point-to-point data transmission method in one embodiment of the present of invention;
Fig. 5 is the flow chart that in one embodiment of the present of invention divided data is carried out the method for verification;
Fig. 6 is based on the flow chart of point-to-point data transmission method in one embodiment of the present of invention.
Embodiment
In the present invention, cut apart the data that transmission is cut apart in unit by sending terminal according to default, and divided data is sent to receiving terminal, receiving terminal carries out verification to divided data.Like this, improved data transmission bauds.
Fig. 1 shows among the present invention based on the demonstrative structure of point-to-point data transmission system, and this system comprises several terminals, and wherein each terminal both can be to send terminal, also can be receiving terminal.
Fig. 2 shows in one embodiment of the present of invention the structure based on point-to-point data transmission system, this system is a simple and clear system of the present invention, comprise send terminal 100 and with send terminal 100 and carry out the receiving terminal 200 of transfer of data by network channel.Should be noted that the annexation between each equipment is the needs of explaining its information interaction and control procedure for clear in all diagrams of the present invention, therefore should be considered as annexation in logic.Need to prove that in addition the communication mode between each functional module can be taked multiple, protection scope of the present invention should not be defined as the communication mode of certain particular type.Wherein:
Send terminal 100 and comprise data transmission blocks 101 and data segmentation module 102, wherein:
Receiving terminal 200 comprises data reception module 201 and data check module 203, wherein:
Should be noted that sending terminal 100 is comparatively speaking with receiving terminal 200, in based on point-to-point data transmission system, each terminal of carrying out transfer of data both can be to send terminal, also can be receiving terminal.In addition, the network channel of transmission data can be P2P passage, HTTP passage and/or other network channel between each terminal.When each passage transmitted divided data simultaneously, the data volume in the passage was smaller, and occupied bandwidth is few, therefore can improve the speed of transfer of data.
Fig. 3 shows in an alternative embodiment of the invention the structure based on point-to-point data transmission system, this system is a more detailed system on the basis of the foregoing description, comprise the transmission terminal 100 and the receiving terminal 200 that carry out transfer of data by network channel, wherein:
The composition that sends terminal 100 is same as the previously described embodiments, does not repeat them here.
In one embodiment, data check module 203 is further used for obtaining the cryptographic Hash of the data that reach threshold value, and whether reach the data of threshold value according to described cryptographic Hash verification correct, and the storage that verification is correct is to memory module 204.
In one embodiment, default cut apart unit and preferably be set to 1K, can certainly be set to other size (for example 2K, 3K, 4K etc.), but should not be set to too big.Threshold value can be set to preferably be set to 128K greater than 1K, also can be set to other size, is generally between 32K~512K.
Fig. 4 shows in one embodiment of the present of invention based on the flow process of point-to-point data transmission method, and this method flow is based on system configuration shown in Figure 2, and detailed process is as follows:
In step S401, send terminal 100 and cut apart unit and cut apart data waiting for transmission, and divided data is sent to receiving terminal 200 by network channel according to default.
In step S402,200 pairs of divided data that receive of receiving terminal are carried out verification.
In one embodiment, should also comprise before in steps carrying out institute: sending the default unit of cutting apart is set in the terminal 100.
In one embodiment, default cut apart unit and preferably be set to 1K, also can be set to other size.Sending the network channel that carries out transfer of data between terminal 100 and the receiving terminal 200 can be P2P passage, HTTP passage and/or other network channel.
Fig. 5 shows the method flow that in one embodiment of the present of invention divided data is carried out verification, and this method is based on system configuration shown in Figure 3, and detailed process is as follows:
Carry out institute in steps before, at receiving terminal 200 threshold value is set.Threshold size preferably is set to 128K greater than 1K.Also can threshold value be set to other size, generally can be arranged between 32K~512K.
In step S501,202 pairs of divided data of the accumulation module of receiving terminal 200 are accumulated, and the data of being accumulated are carried out threshold decision.
In step S502,203 pairs of data check modules reach the data of threshold value and carry out verification.In one embodiment, data check module 203 is obtained Hash (Hash) value of the data that reach threshold value, and according to cryptographic Hash verification whether reach the data of threshold value correct, and the data that verification is correct are stored.
Fig. 6 shows in one embodiment of the present of invention based on the flow process of point-to-point data transmission method, and this embodiment describes the specific implementation process of transfer of data in detail, and is specific as follows:
Carry out institute in steps before, be provided with and defaultly cut apart unit sending terminal 100, at receiving terminal 200 threshold value is set.In one embodiment, default cut apart unit and be set to 1K, threshold value is set to greater than 1K, preferably is set to 128K.
In step S601, the data segmentation module 102 that sends terminal 100 is cut apart the data of transmission according to the default unit of cutting apart, and obtains divided data.In a preferred embodiment, default to cut apart unit be 1K, and data segmentation module 102 is the data that transmission is cut apart in unit with 1K.
In step S602, data transmission blocks 101 transfers to receiving terminal 200 by the diverse network passage with divided data.In one embodiment, network channel can comprise P2P passage, HTTP passage and/or other network channel etc.
In step S603, the data reception module 201 of receiving terminal 200 receives divided data, accumulation module 202 accumulation divided data.
In step S604, judge whether the cumulative data in the accumulation module 202 reaches threshold value, if, then enter step S605, otherwise, step S603 returned.
In step S605, data check module 203 is obtained the cryptographic Hash of the data that reach threshold value.In a preferred embodiment, default cut apart unit and be set to 1K, threshold size is set to 128K, and when then the data of accumulating when accumulation module 202 reached 128K, data check module 203 was obtained the cryptographic Hash of the data of this 128K according to hash algorithm.
In step S606, whether data check module 203 is correct according to the data that this cryptographic Hash verification reaches threshold value, if, then enter step S607, otherwise, step S603 returned.About whether correctly being prior art, do not repeat them here according to the hash algorithm checking data.
In step S607, store the correct cumulative data of verification to memory module 204.
Should be noted that, provided by the present invention based on point-to-point data transmission system and method, be used for the transfer of data of carrying out between each terminal, be to adopt data transmission system provided by the present invention and method between each client, and also can adopt data transmission system provided by the present invention and method between client and the server.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1, a kind of based on point-to-point data transmission system, comprise the transmission terminal and the receiving terminal that carry out transfer of data by network channel, it is characterized in that,
Described transmission terminal comprises data segmentation module, cuts apart data waiting for transmission according to the default unit of cutting apart, so that divided data is sent to receiving terminal;
Described receiving terminal comprises the data check module, and described divided data is carried out verification.
2, system according to claim 1 is characterized in that, described receiving terminal also comprises:
The accumulation module is accumulated the divided data that receives, and the data of being accumulated is carried out threshold decision, and the data that will reach threshold value send to the data check module.
3, system according to claim 2, it is characterized in that, whether described data check module is further obtained the described cryptographic Hash that reaches the data of threshold value, and correct according to the described data that reach threshold value of described cryptographic Hash verification, and the data that verification is correct are stored.
4, according in the claim 1 to 3 any one describedly it is characterized in that described default to cut apart unit be 1K based on point-to-point data transmission system, described threshold value is greater than 1K.
5, a kind of based on point-to-point data transmission method, be used to send the transfer of data of being undertaken by network channel between terminal and the receiving terminal, it is characterized in that, said method comprising the steps of:
A. described transmission terminal is cut apart unit and is cut apart data waiting for transmission according to default, and divided data is transferred to receiving terminal by network channel;
B. described receiving terminal carries out verification to the divided data that receives.
6, according to claim 5ly it is characterized in that, also comprise before the described steps A: the default unit of cutting apart is set in sending terminal based on point-to-point data transmission method.
7, according to claim 5ly it is characterized in that based on point-to-point data transmission method described step B comprises:
B1. described receiving terminal is accumulated divided data, and the data of being accumulated are carried out threshold decision;
B2. the data that reach threshold value are carried out verification.
8, according to claim 7 based on point-to-point data transmission method, it is characterized in that, described step B2 further comprises: the cryptographic Hash of obtaining the data that reach threshold value, whether and correct according to the described data that reach threshold value of described cryptographic Hash verification, and the data that verification is correct are stored.
9, according to claim 7ly it is characterized in that, also comprise: threshold value is set at receiving terminal based on point-to-point data transmission method.
10, according in the claim 5 to 9 any one describedly it is characterized in that described default to cut apart unit be 1K based on point-to-point data transmission method, described threshold value is greater than 1K.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810186661 CN101447926A (en) | 2008-12-16 | 2008-12-16 | Point to point data transmission system and method thereof |
PCT/CN2009/075107 WO2010069217A1 (en) | 2008-12-16 | 2009-11-24 | Peer-to-peer data transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810186661 CN101447926A (en) | 2008-12-16 | 2008-12-16 | Point to point data transmission system and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101447926A true CN101447926A (en) | 2009-06-03 |
Family
ID=40743338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810186661 Pending CN101447926A (en) | 2008-12-16 | 2008-12-16 | Point to point data transmission system and method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101447926A (en) |
WO (1) | WO2010069217A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010069217A1 (en) * | 2008-12-16 | 2010-06-24 | 腾讯科技(深圳)有限公司 | Peer-to-peer data transmission system and method |
CN102006331A (en) * | 2010-11-29 | 2011-04-06 | 中国联合网络通信集团有限公司 | Method for sending media information, terminal and peer-to-peer (P2P) system |
CN103176839A (en) * | 2011-12-26 | 2013-06-26 | 艾默生网络能源有限公司 | Transmission/dispatching method and device of secure digital (SD) card data and data gathering system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104378422A (en) * | 2014-11-13 | 2015-02-25 | 中国联合网络通信有限公司保定市分公司 | Mobile terminal and file transmission method and system thereof |
CN105847139A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Data transmission method, apparatus and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69829736T2 (en) * | 1997-05-13 | 2006-02-09 | Matsushita Electric Industrial Co., Ltd., Kadoma | PACKAGE SENDER |
CN101447926A (en) * | 2008-12-16 | 2009-06-03 | 腾讯科技(深圳)有限公司 | Point to point data transmission system and method thereof |
-
2008
- 2008-12-16 CN CN 200810186661 patent/CN101447926A/en active Pending
-
2009
- 2009-11-24 WO PCT/CN2009/075107 patent/WO2010069217A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010069217A1 (en) * | 2008-12-16 | 2010-06-24 | 腾讯科技(深圳)有限公司 | Peer-to-peer data transmission system and method |
CN102006331A (en) * | 2010-11-29 | 2011-04-06 | 中国联合网络通信集团有限公司 | Method for sending media information, terminal and peer-to-peer (P2P) system |
CN103176839A (en) * | 2011-12-26 | 2013-06-26 | 艾默生网络能源有限公司 | Transmission/dispatching method and device of secure digital (SD) card data and data gathering system |
CN103176839B (en) * | 2011-12-26 | 2017-05-24 | 艾默生网络能源有限公司 | Transmission/dispatching method and device of secure digital (SD) card data and data gathering system |
Also Published As
Publication number | Publication date |
---|---|
WO2010069217A1 (en) | 2010-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8392448B2 (en) | Method and apparatus for transmitting packets in the network | |
CN101039310B (en) | Link sharing service apparatus and communication method thereof | |
US9203728B2 (en) | Metadata capture for testing TCP connections | |
CN101894092B (en) | Multi-core CPU and inter-core communication method thereof | |
CN101127623A (en) | Data processing method, device and system | |
CN110741573A (en) | Method and system for selectively propagating transactions using network coding in a blockchain network | |
CN101447926A (en) | Point to point data transmission system and method thereof | |
CN102217251A (en) | Data forwarding method, data processing method, system and device thereof | |
CN101136870A (en) | Symbol based message transferring method and system | |
CN106059936B (en) | The method and device of cloud system Multicast File | |
CN104869259A (en) | Information relay transmission system based on mobile terminals and relay transmission method thereof | |
CN107196878B (en) | Photoelectric hybrid network, system determination method and access switch | |
CN104303471A (en) | Method and apparatus for providing content by selecting data acceleration algorithm | |
US20120243413A1 (en) | Data Packet Priority Level Management | |
US20120054310A1 (en) | Terminal, intermediate node and communication method of the same | |
CN111787039A (en) | System and method for monitoring pathological parameters | |
CN105991629A (en) | TCP (transmission control protocol) connection establishment method and device | |
US20050251676A1 (en) | Method for offloading the digest portion of protocols | |
CN102255789B (en) | A kind of method of Message routing and intermediate NE | |
CN114553834B (en) | Interaction method and device of 5G core network and IMS network | |
CN111918365B (en) | Network distribution method, device and system of Internet of things and storage medium | |
CN101729494B (en) | Method and system for realizing message interaction, and session and message server | |
KR100850514B1 (en) | The apparatus and method for media access control of mobile communication system | |
KR100921491B1 (en) | Message transmission method without loss in ring-type communication network | |
CN106341737A (en) | IP multicast stream processing method, switch set, server and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20090603 |