WO2007140721A1 - A method and system for data transmission based on peer to peer - Google Patents
A method and system for data transmission based on peer to peer Download PDFInfo
- Publication number
- WO2007140721A1 WO2007140721A1 PCT/CN2007/070045 CN2007070045W WO2007140721A1 WO 2007140721 A1 WO2007140721 A1 WO 2007140721A1 CN 2007070045 W CN2007070045 W CN 2007070045W WO 2007140721 A1 WO2007140721 A1 WO 2007140721A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- transmission
- transmission data
- sender
- receiver
- Prior art date
Links
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/1076—Resource dissemination mechanisms or network resource keeping policies for optimal resource availability in the overlay network
Definitions
- the present invention relates to the field of point-to-point (P2P) technology, and more particularly to a P2P-based data transmission method and system. Background of the invention
- P2P originated from the original networked communication method, such as connecting personal computers (PCs) in a building through a local area network, and dialing interconnections between different buildings via modems (Modem).
- the communication mode built on the Transmission Control Protocol (TCP) / Internet Protocol (IP) constitutes the foundation of today's Internet, so from a technical point of view, P2P is not a new technology, but a new application technology model.
- TCP Transmission Control Protocol
- IP Internet Protocol
- the Internet is mainly based on the server (Browser) or Server (Server) / Client (Client) structure application mode.
- Such an application must set at least one server in the network, and the information can be transmitted through the server. .
- the information is either first uploaded to the server for storage, then downloaded separately (such as a website), or the information is processed according to the proprietary rules on the server before the flow (such as mail) can be transmitted over the network.
- instant communication technology is one of the typical representative technologies.
- instant messaging applications two or more users communicate with each other using text, voice or files. This communication is fast and straightforward, and it is easy to communicate with non-PC network devices (such as PDAs, mobile phones, etc.), and it does not depend on The device can identify the user. Since P2P technology can be used to weaken or even get rid of the dependence on the central server, such communication is closer to the non-internet communication mode.
- video communication is a very wide range of applications. With the popularity of video communication, users are increasingly demanding video communication. many. Among them, multiplayer video is a very urgent need. However, people are not satisfied with the simple multiplayer video. People want to add more elements to the video, such as text chat to assist video chat, chat to send custom images, and file sharing.
- multi-person data sharing can be interpreted as an additional data transfer function such as multi-person text chat and multi-person file sharing.
- existing multiplayer text chats and multiplayer file sharing are based on the server/client model, where the sender's text message or file is first transmitted to the server, which then distributes the text message or file to others.
- an additional server is needed to forward the corresponding data, which not only increases the cost investment, but also destroys the original P2P audio and video system structure.
- the main purpose of embodiments of the present invention is to propose a P2P-based data transmission method to reduce costs.
- Another object of embodiments of the present invention is to propose a P2P-based data transmission system to reduce costs.
- a P2P-based data transmission method which is established in advance between a sender and a receiver.
- the method further includes:
- the sender identifies the transmission data according to the type of the transmission data, and sends the identified transmission data to the receiver based on the P2P connection, where the type of the transmission data is at least one type;
- the receiver parses the transmission data to obtain an identifier of the transmission data, and processes the transmission data according to the type corresponding to the identifier.
- a P2P-based data transmission system comprising:
- a sender configured to identify the transmission data according to a type of the transmitted data, and send the identified transmission data to the receiver according to the P2P connection, where the type of the transmitted data is at least one type;
- a receiving end configured to parse the transmitted data to obtain an identifier of the transmitted data, and process the transmitted data according to the type corresponding to the identifier;
- connection between the sender and the receiver is a P2P connection.
- the sender identifies the transmission data according to the type of the transmission data, and sends the identified transmission data to the receiver based on the P2P connection.
- the receiver parses the transmission data to obtain an identifier of the transmission data, and processes the transmission data according to the type corresponding to the identifier. Therefore, after applying the technical solution of the embodiment of the present invention, in the P2P communication mode, the sender identifies different types of data, and the receiver performs corresponding processing on different data according to the identifier to implement the same data channel.
- the sender identifies different types of data, and the receiver performs corresponding processing on different data according to the identifier to implement the same data channel.
- FIG. 1 is a flow chart of an exemplary method for transmitting data based on P2P according to an embodiment of the present invention.
- 2 is a schematic flow chart of a sender transmitting data according to an embodiment of the present invention.
- 3 is a schematic flow chart of receiving data by a receiver according to an embodiment of the present invention.
- 4 is a schematic diagram of multi-person audio and video and text chat, in accordance with an exemplary embodiment of the present invention.
- FIG. 5 is a schematic diagram of a transmission queue according to an embodiment of the invention.
- Figure 6 is a schematic diagram showing an exemplary structure of a system for transmitting data based on P2P according to an embodiment of the present invention. Mode for carrying out the invention
- FIG. 1 is a flow chart of an exemplary method for transmitting data based on P2P according to an embodiment of the present invention.
- the method pre-establishes a P2P connection between the sender and the receiver. As shown in FIG. 1, the method further includes:
- Step 101 The sender identifies the transmission data according to the type of the transmission data, and sends the identified transmission data to the receiver based on the P2P connection, where the type of the transmission data is at least one.
- Step 102 The receiver parses the transmission data to obtain an identifier of the transmission data, and processes the transmission data according to the type corresponding to the identifier.
- the receiver After receiving the transmission data, the receiver first parses the transmission data to obtain an identifier, and then processes the transmission data according to the type corresponding to the identifier.
- the transmission data may be parsed first to obtain an identifier, and then the transmission data is processed according to the type corresponding to the identifier.
- the following describes an embodiment of the present invention by taking audio and video chat in an instant messaging application as an example.
- a data channel will be established between each two people for transmission of data. For example, when N people make multi-person videos, then everyone will establish a data channel with other N-1 people, and then transfer their audio and video data to other N-1 individuals through these channels, while receiving other N- 1 person's audio and video data for audio and video communication.
- audio and video data channels although it is specifically used to transmit audio and video data, in fact, audio and video data channels do not care what data is transmitted. With this, you can make full use of these audio and video channels. It transmits some additional data to enable additional communication functions.
- data can be identified to facilitate parsing and processing different types of data. Since the underlying channel is the same for any data transmission, the data needs to be identified before transmission, and then the receiver parses out different data according to the unified identification data, thereby performing different processing. At the same time, since the audio and video channels are utilized, it is necessary to consider the influence on audio and video communication, and it is not suitable for directly transmitting and receiving data like a normal channel.
- Step 201 Add corresponding identifiers to different types of data, and then uniformly add data to the data sending queue.
- the sender needs to identify the data before transmission, so that the receiver can parse different data according to the unified identification data for different processing.
- the sender's identification of the data is related to the functional requirements, because the receiver will handle different functional data differently.
- the video data needs to be decoded and displayed
- the text chat data needs to be displayed in the chat box
- the picture data needs to be parsed and displayed in the corresponding picture format, and the like. Therefore, the sender adds the data corresponding to the first function to the first function data identifier, adds the data corresponding to the second function to the second function data identifier, and adds the data corresponding to the third function to the third function data identifier. .
- the transmission data may be any one of audio data, video data, electronic files, instant messaging information, or any combination of more than one of them.
- Step 201 Obtain data from the sending queue and send it to different users.
- the transmission mode of the P2P preferably corresponds to a plurality of users, that is to say preferably corresponding to a plurality of senders and receivers, it is preferred here to transmit data to different recipients. Similarly, other senders have the same or similar transmission process.
- each sender separately identifies the transmission data transmitted according to the type of the transmission data, wherein each sender uses the same identifier for the same type of transmission data, and each The sender transmits the identified transmission data to the recipient based on the P2P connection.
- FIG. 3 is a receiver receiving data according to an embodiment of the present invention. Schematic diagram of an exemplary process. As shown in Figure 3, it includes:
- Step 301 Receive data from different users, and add all data to the data processing queue
- the P2P transmission mode preferably corresponds to a plurality of users, that is to say preferably corresponding to a plurality of senders and receivers, it is preferred here to receive data from different recipients and to add all data to the data processing queue.
- Step 302 Acquire and parse the data from the data processing queue, and perform corresponding processing corresponding to the data of different identifiers.
- data is first obtained from the data processing queue, and then the data is parsed to obtain a corresponding identifier, and the data corresponding to the identifier is separately processed.
- the video data is decoded and displayed, the text chat data needs to be displayed in the chat box, the picture data is parsed and displayed in the corresponding picture format, and the like. In other words, different data is processed differently.
- each receiver parses the received transmission data to obtain the identifier of the transmission data, and uniformly processes the transmission data with the same identifier according to the type corresponding to the identifier.
- a multi-user multi-function system can be completed, such as multi-person text chat while multi-person audio and video chat.
- FIG. 4 is a schematic diagram of multi-person audio and video and text chat according to an embodiment of the present invention. As can be seen from FIG. 4, a plurality of users can perform text chat while performing multi-person audio and video chat, thereby greatly promoting the intimate feeling of the chat, and does not need to improve the existing server architecture, and also greatly saves The cost.
- the present invention when applying the present invention to multi-person chat in an instant messaging application, since the audio and video channels are utilized to transmit additional data, it is necessary to consider additional data for audio and video communication. It is preferable that the transmission and reception of data are not directly performed. In order to ensure the smooth flow of audio and video communication, an active and continuous data stream is required to be transmitted on the audio and video channels. Therefore, when using this channel to transmit additional data, the impact on the transmission of audio and video data should be minimized, so that it will not be It has any bad influence on the smoothness of audio and video communication.
- the present invention preferably controls the transmission frequency of the additional data to avoid affecting the audio and video fluency.
- the additional transmission data is too large, not only the data transmission is performed by adding the identifier, but also the frequency of the transmission is controlled. Otherwise, the audio and video data may be blocked due to the large amount of additional data transmission, thereby affecting the sound.
- the fluency of video communication is not only the data transmission is performed by adding the identifier, but also the frequency of the transmission is controlled. Otherwise, the audio and video data may be blocked due to the large amount of additional data transmission, thereby affecting the sound. The fluency of video communication.
- the present invention preferably preliminarily mixes various types of transmission data at intervals before transmitting transmission data. Due to the existence of the data transmission queue, as long as the interval of adding data to the data transmission queue is constant, the interval for sending data in the order of the queue is also fixed when transmitting, so that the network transmission fluctuation caused by the network may be ignored. Therefore, for audio and video data, when the data transmission queue is added, it is continuously added, and the additional data is inserted at equal intervals when it is added to the data transmission queue, so that the transmission data is mixed at equal intervals. Therefore, as long as the data is sequentially sent from the sending queue for transmission, the time interval for data transmission is guaranteed to be constant.
- M additional data may be spaced every N audio/video data, where N is a positive integer greater than or equal to 1, and M is also a positive integer greater than or equal to 1.
- the present invention has no limitation on the values of N and M.
- the value of N can be greater than M, less than M, and equal to M. For example, when N is equal to 3, there may be 1 additional data for every 3 audio/video data intervals, or 2 additional data for every 3 audio/video data intervals, or 3 intervals for every 3 audio/video data.
- Additional data generally choose to insert an additional data for every three audio and video data.
- FIG. 5 is a schematic diagram of a transmission queue according to an embodiment of the invention.
- the circular data is audio and video data
- the block data is additional data.
- one additional data is inserted at intervals of every three audio and video data, wherein the additional data can be electronic files, instant messaging information ( Text chat information) and so on.
- FIG. 6 is a schematic diagram showing an exemplary structure of a P2P transmission data system according to an embodiment of the present invention.
- the system includes a plurality of terminals, wherein each terminal can be either a sender or a receiver.
- the system includes:
- a sender configured to identify the transmission data according to a type of the transmitted data, and send the identified transmission data to the receiver according to the P2P connection, where the type of the transmitted data is at least one type;
- a receiving end configured to parse the transmitted data to obtain an identifier of the transmitted data, and process the transmitted data according to the type corresponding to the identifier;
- connection between the sender and the receiver is a P2P connection.
- the number of the senders is at least two, and the number of the receivers is at least two.
- Each sender is configured to separately identify the transmission data sent by the sender according to the type of the transmission data, where each sender uses the same identifier for the same type of transmission data, and each sender is further used to connect based on the P2P Transmitting the identified transmission data to a receiver;
- Each receiver is configured to parse the transmission data it receives to obtain the identification of the transmission data, and uniformly process the transmission data with the same identification according to the type corresponding to the identification.
- the type of transmission data is at least two, and the sender is further configured to mix the various types of transmission data equally at intervals before transmitting the transmission data.
- the transmission data that is mixed at equal intervals includes audio/video data and additional data, and an additional data is interposed every three audio/video data.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BRPI0712694-8A BRPI0712694B1 (en) | 2006-05-29 | 2007-05-22 | peer-to-peer data transmission method and system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100806935A CN100518114C (en) | 2006-05-29 | 2006-05-29 | Point-to-point data transmission method and system |
CN200610080693.5 | 2006-05-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007140721A1 true WO2007140721A1 (en) | 2007-12-13 |
Family
ID=38801070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/070045 WO2007140721A1 (en) | 2006-05-29 | 2007-05-22 | A method and system for data transmission based on peer to peer |
Country Status (5)
Country | Link |
---|---|
CN (1) | CN100518114C (en) |
BR (1) | BRPI0712694B1 (en) |
MY (1) | MY169684A (en) |
RU (1) | RU2399160C1 (en) |
WO (1) | WO2007140721A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309233B (en) * | 2008-06-04 | 2010-09-08 | 腾讯科技(深圳)有限公司 | Method realizing TCP connection reusing in instant communication |
CN101355588B (en) * | 2008-09-08 | 2012-08-01 | 创新科存储技术(深圳)有限公司 | Data transmission method and transmission terminal base on peer-to-peer network |
CN101848269A (en) * | 2009-03-26 | 2010-09-29 | 乐金电子(中国)研究开发中心有限公司 | 3G mobile phone and method thereof for transmitting video files |
CN102082773B (en) * | 2009-11-30 | 2014-03-19 | 北京广利核系统工程有限公司 | Communication method based on inter-column security communication network protocol of reactor protection system |
CN102255827B (en) * | 2011-06-16 | 2014-06-25 | 北京奥米特科技有限公司 | Video chatting method, device and system |
CN104427289B (en) * | 2013-09-02 | 2019-03-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104468675B (en) * | 2013-09-25 | 2019-06-11 | 中兴通讯股份有限公司 | Data processing method and equipment |
CN103986646A (en) * | 2014-05-30 | 2014-08-13 | Tcl集团股份有限公司 | Message transmission method, system and terminal device |
CN108616722B (en) * | 2018-04-18 | 2021-02-26 | 中南大学 | Embedded high-definition video acquisition and data stream transmission system |
CN110730203A (en) * | 2019-09-04 | 2020-01-24 | 华为技术有限公司 | P2P communication method and device |
CN113125849A (en) * | 2021-04-06 | 2021-07-16 | 上海创能国瑞新能源科技股份有限公司 | Method and device for processing data of intelligent electric meter |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578278A (en) * | 2003-07-01 | 2005-02-09 | 微软公司 | Transport system for instant messaging |
CN1625161A (en) * | 2003-12-02 | 2005-06-08 | 腾讯科技(深圳)有限公司 | Method and system of information playback in immediate communication |
-
2006
- 2006-05-29 CN CNB2006100806935A patent/CN100518114C/en active Active
-
2007
- 2007-05-22 MY MYPI20084850A patent/MY169684A/en unknown
- 2007-05-22 BR BRPI0712694-8A patent/BRPI0712694B1/en active IP Right Grant
- 2007-05-22 WO PCT/CN2007/070045 patent/WO2007140721A1/en active Application Filing
- 2007-05-22 RU RU2008150399/09A patent/RU2399160C1/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578278A (en) * | 2003-07-01 | 2005-02-09 | 微软公司 | Transport system for instant messaging |
CN1625161A (en) * | 2003-12-02 | 2005-06-08 | 腾讯科技(深圳)有限公司 | Method and system of information playback in immediate communication |
Also Published As
Publication number | Publication date |
---|---|
RU2008150399A (en) | 2010-07-10 |
CN101083576A (en) | 2007-12-05 |
CN100518114C (en) | 2009-07-22 |
BRPI0712694B1 (en) | 2019-10-29 |
RU2399160C1 (en) | 2010-09-10 |
BRPI0712694A2 (en) | 2012-07-03 |
MY169684A (en) | 2019-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007140721A1 (en) | A method and system for data transmission based on peer to peer | |
JP4942936B2 (en) | Method and system for group communication | |
JP5249763B2 (en) | Multicast delivery of multimedia content on demand | |
KR100810759B1 (en) | P2P File Transmission System and Method | |
US7921157B2 (en) | Duplicating digital streams for digital conferencing using switching technologies | |
CN105493510B (en) | Data communication system and method | |
US20070280230A1 (en) | Method and system for service discovery across a wide area network | |
JP5678198B2 (en) | Mobile Internet service realization method, gateway, proxy and system | |
Heinz et al. | Priorities in stream transmission control protocol (sctp) multistreaming | |
WO2007068209A1 (en) | A method, system and device for transmitting ims instant messages | |
CN113162989A (en) | MQTT-Websocket-based message transceiving method | |
JP5172850B2 (en) | Session-based communication | |
US20080025306A1 (en) | Internet protocol television system, method for providing internet protocol multicast TV signal, TV transferring apparatus, and TV receiving apparatus | |
WO2013075492A1 (en) | Method and system for message communication based on open service publishing platform | |
US8346941B2 (en) | Method for transmitting data from and to a control device | |
JP2010500804A (en) | A method for information diffusion in distributed networks | |
US20060031560A1 (en) | Method and system for transferring a file between data processing devices using a communication or instant messaging program | |
TWI407727B (en) | A Method and System of Data Transmission Based on Peer - to - Peer P2P | |
CN113572678A (en) | Instant messaging method realized based on websocket | |
CN111225252B (en) | PON gateway UPNP video live broadcast method based on openwrt system | |
WO2010045830A1 (en) | Method and apparatus for implementing stream media service | |
Cui et al. | Onechat: Enabling group chat and messaging in opportunistic networks | |
KR100621328B1 (en) | Method and System for Providing Multimedia Streaming Service by Using Information on Multicasting | |
WO2008091156A1 (en) | A method and device for transferring a message | |
CN116582521A (en) | Multi-user video-end conference data processing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07721668 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 6345/CHENP/2008 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2008150399 Country of ref document: RU |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC.EPO FORM 1205A DATED:15.04.2009 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07721668 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: PI0712694 Country of ref document: BR Kind code of ref document: A2 Effective date: 20081128 |