WO2007140721A1 - procédé et système pour une transmission de données d'homologue à homologue - Google Patents

procédé et système pour une transmission de données d'homologue à homologue Download PDF

Info

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
Application number
PCT/CN2007/070045
Other languages
English (en)
Chinese (zh)
Inventor
Yi Gong
Ye Zhu
Bo Wu
Jiancheng Li
Baohe Zhang
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Priority to BRPI0712694-8A priority Critical patent/BRPI0712694B1/pt
Publication of WO2007140721A1 publication Critical patent/WO2007140721A1/fr

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
    • 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
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1076Resource 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)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

L'invention concerne un procédé pour une transmission de données d'homologue à homologue (P2P), créant une liaison P2P par avance entre l'émetteur et le récepteur, le procédé comprenant également les étapes selon lesquelles : A. l'émetteur identifie lesdites données de transmission sur la base du type de données de transmission, et envoie les données de transmission identifiées au récepteur sur la base de ladite liaison P2P, les données de transmission étant d'au moins un type (101); B. le récepteur analyse les données de transmission pour obtenir l'identification des données de transmission, et traite les données de transmission en se basant sur le type correspondant à l'identification (102). Le mode de réalisation de la présente invention concerne également un système pour la transmission de données basée sur P2P.
PCT/CN2007/070045 2006-05-29 2007-05-22 procédé et système pour une transmission de données d'homologue à homologue WO2007140721A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
BRPI0712694-8A BRPI0712694B1 (pt) 2006-05-29 2007-05-22 método e sistema de transmissão de dados baseados em ponto a ponto

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006100806935A CN100518114C (zh) 2006-05-29 2006-05-29 一种基于点对点的数据传输方法及系统
CN200610080693.5 2006-05-29

Publications (1)

Publication Number Publication Date
WO2007140721A1 true WO2007140721A1 (fr) 2007-12-13

Family

ID=38801070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070045 WO2007140721A1 (fr) 2006-05-29 2007-05-22 procédé et système pour une transmission de données d'homologue à homologue

Country Status (5)

Country Link
CN (1) CN100518114C (fr)
BR (1) BRPI0712694B1 (fr)
MY (1) MY169684A (fr)
RU (1) RU2399160C1 (fr)
WO (1) WO2007140721A1 (fr)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309233B (zh) * 2008-06-04 2010-09-08 腾讯科技(深圳)有限公司 实现即时通讯tcp连接复用的方法
CN101355588B (zh) * 2008-09-08 2012-08-01 创新科存储技术(深圳)有限公司 基于对等网络的数据传输方法及传输终端
CN101848269A (zh) * 2009-03-26 2010-09-29 乐金电子(中国)研究开发中心有限公司 一种3g手机及其传输视频文件的方法
CN102082773B (zh) * 2009-11-30 2014-03-19 北京广利核系统工程有限公司 一种基于反应堆保护系统列间安全通讯网络协议的通信方法
CN102255827B (zh) * 2011-06-16 2014-06-25 北京奥米特科技有限公司 一种视频聊天方法、装置和系统
CN104427289B (zh) * 2013-09-02 2019-03-29 联想(北京)有限公司 一种信息处理方法及电子设备
CN104468675B (zh) * 2013-09-25 2019-06-11 中兴通讯股份有限公司 数据处理方法和设备
CN103986646A (zh) * 2014-05-30 2014-08-13 Tcl集团股份有限公司 一种消息传输方法、系统及终端设备
CN108616722B (zh) * 2018-04-18 2021-02-26 中南大学 一种嵌入式高清视频采集与数据流传输系统
CN110730203A (zh) * 2019-09-04 2020-01-24 华为技术有限公司 一种p2p通信方法及装置
CN113125849A (zh) * 2021-04-06 2021-07-16 上海创能国瑞新能源科技股份有限公司 智能电表数据的处理方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578278A (zh) * 2003-07-01 2005-02-09 微软公司 即时消息的传输系统
CN1625161A (zh) * 2003-12-02 2005-06-08 腾讯科技(深圳)有限公司 一种即时通讯中信息回放的方法和系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578278A (zh) * 2003-07-01 2005-02-09 微软公司 即时消息的传输系统
CN1625161A (zh) * 2003-12-02 2005-06-08 腾讯科技(深圳)有限公司 一种即时通讯中信息回放的方法和系统

Also Published As

Publication number Publication date
CN101083576A (zh) 2007-12-05
RU2008150399A (ru) 2010-07-10
BRPI0712694A2 (pt) 2012-07-03
MY169684A (en) 2019-05-13
BRPI0712694B1 (pt) 2019-10-29
CN100518114C (zh) 2009-07-22
RU2399160C1 (ru) 2010-09-10

Similar Documents

Publication Publication Date Title
WO2007140721A1 (fr) procédé et système pour une transmission de données d'homologue à homologue
JP4942936B2 (ja) グループ通信のための方法およびシステム
JP5249763B2 (ja) 要求に応じたマルチメディアコンテンツのマルチキャスト配信
KR100810759B1 (ko) P2p 파일 전송 시스템 및 방법
US20110211495A1 (en) Duplicating digital streams for digital conferencing using switching technologies
CN105493510B (zh) 数据通讯系统与方法
US20070280230A1 (en) Method and system for service discovery across a wide area network
JP5678198B2 (ja) モバイルインターネットサービスの実現方法、ゲートウェイ、プロキシ及びシステム
WO2013097401A1 (fr) Procédé, passerelle et système de communication pour un client de navigateur communiquant directement avec un serveur dorsal
US20080092178A1 (en) Streaming video
Heinz et al. Priorities in stream transmission control protocol (sctp) multistreaming
WO2007068209A1 (fr) Procede, systeme et dispositif d'envoi de messages instantanes ims
CN113162989A (zh) 一种基于MQTT-WebSocket的消息收发方法
JP5172850B2 (ja) セッションベースの通信
US10567183B2 (en) System and method for conference messaging between telephony devices in a first network and devices connected to a second network
US20080025306A1 (en) Internet protocol television system, method for providing internet protocol multicast TV signal, TV transferring apparatus, and TV receiving apparatus
WO2013075492A1 (fr) Procédé et système pour une transmission de message basée sur une plate-forme de publication ouverte aux services
US8346941B2 (en) Method for transmitting data from and to a control device
JP2010500804A (ja) 分散型ネットワークにおける情報拡散のための方法
US20060031560A1 (en) Method and system for transferring a file between data processing devices using a communication or instant messaging program
TWI407727B (zh) A Method and System of Data Transmission Based on Peer - to - Peer P2P
CN113572678A (zh) 一种基于websocket实现的即时通讯方法
CN111225252B (zh) 基于openwrt系统的PON网关UPNP视频直播方法
WO2010045830A1 (fr) Procédé et appareil pour la mise en oeuvre d'un service de flux multimédia
Cui et al. Onechat: Enabling group chat and messaging in opportunistic networks

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