WO2009033324A1 - Procédé de transmission de données de support en temps réel basé sur un protocole tcp - Google Patents

Procédé de transmission de données de support en temps réel basé sur un protocole tcp Download PDF

Info

Publication number
WO2009033324A1
WO2009033324A1 PCT/CN2007/002712 CN2007002712W WO2009033324A1 WO 2009033324 A1 WO2009033324 A1 WO 2009033324A1 CN 2007002712 W CN2007002712 W CN 2007002712W WO 2009033324 A1 WO2009033324 A1 WO 2009033324A1
Authority
WO
WIPO (PCT)
Prior art keywords
tcp
packet
data
real
transmission
Prior art date
Application number
PCT/CN2007/002712
Other languages
English (en)
Chinese (zh)
Inventor
Guoli Yin
Original Assignee
Coobol Technologies 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 Coobol Technologies Co. Ltd filed Critical Coobol Technologies Co. Ltd
Priority to PCT/CN2007/002712 priority Critical patent/WO2009033324A1/fr
Publication of WO2009033324A1 publication Critical patent/WO2009033324A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Definitions

  • the present invention relates to the field of network voice/video communication technologies, and in particular, to a method for real-time data transmission through a network firewall that allows only TCP protocol transmission. Background technique
  • TCP Transmission Control Protocol
  • SOCKET4/5 proxy SOCKET4/5 proxy
  • QQ the transmission problem to some extent
  • MSN MSN
  • MSN can use the proxy to access the Internet, but they are essentially based on the standard TCP protocol, because the reliability guarantee mechanism such as packet loss retransmission of the TCP protocol occupies a large amount of resources and time in the execution process.
  • the overhead of TCP makes the transmission of media data inefficient. Therefore, in this environment, the transmission of media data such as voice/video cannot guarantee real-time performance, and it is difficult to obtain better communication quality.
  • the main object of the present invention is to propose a basis based on
  • the method of transmitting media data in real time by the TCP protocol ensures the real-time transmission of media data under the condition that only the data packets of the TCP protocol are allowed to pass through the firewall, and has good media communication quality.
  • the invention is realized by the following technical solutions: A method for real-time transmission of media data based on a TCP protocol, first establishing a connection between two communication parties through a standard TCP protocol stack, and then directly transmitting and receiving data through the underlying network protocol interface, media data After the transfer is complete, disconnect.
  • the method includes the following steps:
  • A. Two-way connection The local communication party (source) directly establishes a connection with the other party (target end) through the standard TCP protocol stack; acquires the socket pair information of the connection (source IP, destination IP, source port, target port) , and the SEQ value, ACK value, etc. of the TCP packets of both parties;
  • TCP data packet The packet module at the source end uses the obtained information to split the data to be sent into an appropriate size according to the MTU value of the network, and encapsulates it into a TCP packet;
  • TCP data transmission The sending module at the source end delivers the encapsulated TCP data packet to the underlying network protocol interface and sends it to the target end;
  • TCP data processing The receiving module of the target end receives all TCP data packets, and determines whether the data packet belongs to the TCP data packet constructed by the method. If yes, it is handed over to the application layer for processing, otherwise, it is directly handed over to the system TCP/ Processing of the IP protocol stack; E. Broken connection: After the media data transmission is completed, both parties send the data packet with the FIN flag to disconnect the two parties.
  • the underlying network protocol interface is located below the TCP layer, above the network card; the operations of the source and destination are interchangeable.
  • the TCP protocol stack provided by the system is directly used to implement the connection with the other party, thus effectively avoiding conflicts with the system selection port number;
  • the TCP packets are not sent through the interface of the standard TCP protocol stack, but are directly sent through the underlying network interface;
  • the data packet does not pass through the interface of the standard TCP protocol, but directly searches for the data packet sent by the peer end through the underlying protocol interface, and sends the found data packet directly to the application layer for processing;
  • FIG. 1 is a schematic diagram of a working protocol layer of the present invention
  • connection/emission/receipt is a flow chart of connection/emission/receipt according to an embodiment of the present invention. detailed description
  • the present invention provides a method for real-time transmission of media data based on the TCP protocol, and the media data is converted into a TCP data packet, which can realize efficient transmission of media data through a firewall but bypassing a standard TCP protocol.
  • the purpose of the invention is to realize efficient transmission of media data through a firewall but bypassing a standard TCP protocol.
  • Figure 1 is a schematic diagram of the working protocol layer of the present invention, located under the TCP layer and above the network card.
  • Embodiments of the present invention use NDIS intermediate layer drivers to perform packet transmission of TCP, as well as filtering reception of data packets.
  • the NDIS middle layer is between the TCP protocol layer driver and the small port (network card) driver.
  • the upper TCP layer is represented by a virtual microport network card structure, and the lower network card is represented by a protocol layer structure.
  • the sender (source) establishes a connection with the receiver (target end) through the system standard TCP protocol stack at the application layer; 2.
  • the sender (source) application layer obtains the socket pair information of the connection, including the source IP, the destination IP, the source port, and the destination port, and transmits the information to the lower layer driver (NDIS intermediate layer);
  • the sender (source) application layer informs the driver (NDIS middle layer) to enter the intercept mode, and internally receives the RST packet in the driver to reset the respective TCP connections.
  • the sender constructs a TCP packet using the obtained socket pair information, transmits it using NDIS technology, and blocks the transmission of system standard TCP packets on the connection.
  • the receiver determines whether the data packet belongs to the TCP data packet constructed by the method. If yes, first determine whether the connection has an outstanding IRP read request, if yes, directly The request, otherwise put the data packet into the receiving buffer queue of the connection, and inform the application layer that the data packet has been received; if not, directly release the data packet to the upper layer TCP/IP protocol stack of the system for processing.
  • the active shutdown party can send a data packet with the FIN flag to instruct the other party to disconnect the connection.
  • the operations of the source end and the target end are interchangeable.
  • the invention has been tested and implemented, the real-time transmission is good, the speech is very clear, and the object of the invention is achieved.

Landscapes

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

Abstract

La présente invention concerne un procédé de transmission de données de support en temps réel basé sur un protocole TCP. L'invention concerne particulièrement un procédé de données de support croisant le pare-feu du réseau pour la transmission des données en temps réel. Le procédé résout principalement le problème au cours duquel la transmission de données de support en temps réel ne peut pas être garantie dans l'environnement du pare-feu qui permet uniquement le passage du protocole TCP. Le procédé comprend principalement les étapes suivantes : connexion des deux côtés de communication via d'abord la pile du protocole TCP standard, puis envoi et réception directs de données des deux côtés via l'interface de protocole de réseau inférieur, arrêt de la connexion après accomplissement de la transmission des données du support. Le procédé peut fonctionner avec la pile du protocole TCP standard dans le système d'exploitation, qui renforce la commodité du procédé. Même si le mode de transmission ne peut pas garantir la fiabilité de la transmission, il présente une bonne capacité de transmission en temps réel, ce qui peut améliorer la qualité de communication du support dans cet environnement de réseau.
PCT/CN2007/002712 2007-09-13 2007-09-13 Procédé de transmission de données de support en temps réel basé sur un protocole tcp WO2009033324A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/002712 WO2009033324A1 (fr) 2007-09-13 2007-09-13 Procédé de transmission de données de support en temps réel basé sur un protocole tcp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/002712 WO2009033324A1 (fr) 2007-09-13 2007-09-13 Procédé de transmission de données de support en temps réel basé sur un protocole tcp

Publications (1)

Publication Number Publication Date
WO2009033324A1 true WO2009033324A1 (fr) 2009-03-19

Family

ID=40451548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/002712 WO2009033324A1 (fr) 2007-09-13 2007-09-13 Procédé de transmission de données de support en temps réel basé sur un protocole tcp

Country Status (1)

Country Link
WO (1) WO2009033324A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660530A (zh) * 2021-07-27 2021-11-16 中央广播电视总台 节目流数据抓取方法、装置、计算机设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574792A (zh) * 2003-06-06 2005-02-02 微软公司 用于执行网络防火墙的基于多层的方法
US20050133051A1 (en) * 2003-12-22 2005-06-23 Philip Morris Usa Inc. Composite materials and their use in smoking articles
CN1741473A (zh) * 2005-09-05 2006-03-01 北京启明星辰信息技术有限公司 一种网络数据包有效性判定方法及系统
CN101039319A (zh) * 2006-08-20 2007-09-19 科博技术有限公司 一种基于tcp协议实时传输媒体数据的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574792A (zh) * 2003-06-06 2005-02-02 微软公司 用于执行网络防火墙的基于多层的方法
US20050133051A1 (en) * 2003-12-22 2005-06-23 Philip Morris Usa Inc. Composite materials and their use in smoking articles
CN1741473A (zh) * 2005-09-05 2006-03-01 北京启明星辰信息技术有限公司 一种网络数据包有效性判定方法及系统
CN101039319A (zh) * 2006-08-20 2007-09-19 科博技术有限公司 一种基于tcp协议实时传输媒体数据的方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660530A (zh) * 2021-07-27 2021-11-16 中央广播电视总台 节目流数据抓取方法、装置、计算机设备及可读存储介质
CN113660530B (zh) * 2021-07-27 2024-03-19 中央广播电视总台 节目流数据抓取方法、装置、计算机设备及可读存储介质

Similar Documents

Publication Publication Date Title
US9590821B2 (en) Communication system for transmitting data under a tunnel protocol between at least two data computers via a wide area network and a method for running such a communication system
TW419919B (en) TCP resegmentation
Camarillo et al. Evaluation of transport protocols for the session initiation protocol
JP4627669B2 (ja) パケット転送装置およびその転送制御方式
US9049144B2 (en) Method and node for employing network connections over a connectionless transport layer protocol
CA2611776C (fr) Methode et appareil assurant la communication entre d'autres appareils de communication
US8250643B2 (en) Communication device, communication system, communication method, and program
WO2019007209A1 (fr) Procédé de traitement de transmission de données à chemins multiples et dispositif de réseau
US20020143959A1 (en) Method and apparatus for interactive direct peer-to-peer multimedia streaming
WO2020253674A1 (fr) Procédé de transmission de données fiable à grande vitesse par voie de satellite basé sur un dpdk
JP3564011B2 (ja) Mssスプーフィングのための方法及び装置
WO2007036160A1 (fr) Appareil, systeme et procede assurant la communication entre un client et un serveur
CN101719918A (zh) 一种改进的适用于多连接多路径的传输方法
WO2012146189A1 (fr) Procédé, dispositif et système de traitement de message
US9787770B2 (en) Communication system utilizing HTTP
JP2020010326A (ja) WiFi管理フレームを利用したデータ送信方法、データ受信方法及びデータ通信方法
CN104184646A (zh) Vpn网络数据交互方法和系统及其网络数据交互设备
WO2014190643A1 (fr) Procédé, appareil et système d'interaction de données
JPH07250100A (ja) 広域網を用いたlan間の相互通信方式及びこれに用いる相互接続装置
US7203757B2 (en) Device, method and program for protocol translation
CN115766605A (zh) 网络拥塞控制方法、装置及系统
JP7012727B2 (ja) パケット交換方法及び関連装置
CN116074401B (zh) 一种在可编程交换机上的传输层协议实现方法
CN101039319A (zh) 一种基于tcp协议实时传输媒体数据的方法
WO2009033324A1 (fr) Procédé de transmission de données de support en temps réel basé sur un protocole tcp

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: 07816329

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07816329

Country of ref document: EP

Kind code of ref document: A1