WO2009033324A1 - A method of real-time medium data transmission based on tcp protocol - Google Patents

A method of real-time medium data transmission based on tcp protocol 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
French (fr)
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/en
Publication of WO2009033324A1 publication Critical patent/WO2009033324A1/en

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

A method of real-time medium data transmission based on TCP protocol is provided. Especially a method of medium data crossing the network firewall for real-time data transmission is provided. The method mainly solves the problem that the real-time medium data transmission can not be ensured in the firewall environment that only allows the TCP protocol to go through. The method mainly comprises the steps as follows: connecting the both communication sides through standard TCP protocol stack firstly, then directly sending and receiving data at the both sides through bottom network protocol interface, cutting off the connection after the accomplishment of medium data transmission. The method is able to work with the standard TCP protocol stack in the operating system, which strengthens the practicability of the method. Although the transmission mode can not ensure the reliability of the transmission, it has good capability of real-time transmission, which can improve the quality of medium communication under said network environment.

Description

一种基于 TCP协议实时传输媒体数据的方法 技术领域  Method for real-time transmission of media data based on TCP protocol
本发明涉及网络语音 /视频通讯技术领域, 具体涉及一种媒体数 据穿越只允许 TCP协议传输的网络防火墙进行实时数据传输的方法。 背景技术  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
随着多媒体处理技术的发展,基于流媒体传输的多媒体应用得到 了迅速的发展。 而语音 /视频等媒体流对传输实时性要求很高, 因此 通常是采用基于 UDP的 RTP协议来传输的, 但目前有某些网络环境 中的网络防火墙不开放 UDP端口, 只允许 TCP协议的数据包通过, 这就阻碍了语音 /视频等媒体流的传输, 限制了防火墙内的客户端同 Internet上的客户端之间的语音 /视频互通。  With the development of multimedia processing technology, multimedia applications based on streaming media transmission have been rapidly developed. Media streams such as voice/video require high real-time transmission. Therefore, UDP-based RTP is usually used for transmission. However, in some network environments, network firewalls do not open UDP ports and only allow TCP data. The packet passes, which hinders the transmission of media streams such as voice/video, and limits the voice/video intercommunication between the client in the firewall and the client on the Internet.
为了使得该情况下可以进行语音 /视频通信, 就必须用 TCP来传 输媒体数据, 现有的相关解决方法有 HTTP代理, SOCKET4/5代理 等,他们在一定程度上解决了传输的问题, 比如 QQ、 MSN等在此种 情况下, 可以使用代理上网, 但是它们本质上都是基于标准 TCP协 议的, 因为 TCP协议的丢包重传等可靠性保证机制, 在执行过程中 占用大量的资源和时间上的开销, 使得 TCP传输媒体数据的效率不 高, 因此在此种环境下, 语音 /视频等媒体数据的传输就无法保证实 时性, 很难取得较好的通信质量。  In order to enable voice/video communication in this case, it is necessary to use TCP to transmit media data. The existing related solutions include HTTP proxy, SOCKET4/5 proxy, etc., and they solve the transmission problem to some extent, such as QQ. In this case, MSN, etc., 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.
1 1
确认本 发明内容 Confirmation Summary of the invention
针对现有技术的上述缺陷,本发明的主要目的在于提出一种基于 In view of the above drawbacks of the prior art, the main object of the present invention is to propose a basis based on
TCP协议实时传输媒体数据的方法, 在只允许 TCP协议的数据包通 过防火墙的条件下,保证媒体数据的传输实时性,具有较好的媒体通 讯质量。 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.
本发明是通过下述技术方案实现的: 一种基于 TCP协议实时传 输媒体数据的方法,先通过标准的 TCP协议栈建立通讯双方的连接, 然后通过底层网络协议接口直接发送和接收数据,媒体数据传输结束 后, 断开连接。  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.双方连接: 本地通讯方(源端)通过标准的 TCP协议栈直接 与对方(目标端)建立连接; 获取该连接的套接字对信息(源 IP、 目 标 IP、源端口、 目标端口), 以及双方 TCP包的 SEQ值、 ACK值等;  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;
B. TCP数据封包: 源端的封包模块利用前述获得的信息, 根据 网络的 MTU值,把要发送的数据拆分成适当的大小,封装成 TCP数 据包;  B. 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;
C. TCP数据发送: 源端的发送模块将封装好的 TCP数据包交给 底层网络协议接口发送至目标端;  C. 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;
D. TCP数据处理: 目标端的接收模块接收全部 TCP数据包, 并 判断该数据包是否属于本方法构造的 TCP数据包, 如果是, 则交给 应用层处理, 否则, 直接交给系统的 TCP/IP协议栈的处理; E. 断幵连接: 媒体数据传输结束后, 双方发送带 FIN标志的数 据包, 断开双方连接。 D. 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.
所述底层网络协议接口位于 TCP层之下, 网卡之上; 所述源端 和目标端的操作可以互换。  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 advantages of the invention are:
1. 不使用构造的数据包三次握手方式建立 TCP连接, 而是直接 使用系统提供的 TCP协议栈实现和对方的连接, 这样就有效的避免 了和系统选择端口号的冲突;  1. Instead of using the constructed packet three-way handshake method to establish a TCP connection, 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;
2.通讯两端在通过标准的 TCP协议建立连接并转入数据包直接 收发的状态后, 不通过标准的 TCP协议栈的接口发送 TCP数据包, 而是通过底层的网络接口直接发送; 接收 TCP数据包时也不通过标 准的 TCP协议桟的接口, 而直接通过底层协议接口查找连接对端发 送的数据包, 并将查找到的数据包直接送交应用层处理;  2. After both ends of the communication establish a connection through the standard TCP protocol and transfer the status of the data packet directly to the transceiver, 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;
3. 转入数据包直接收发状态后, 所有通过此标准 TCP连接发送 的数据包都会被丢弃, 以避免系统的 TCP包对本方法的数据包收发 的干扰。  3. After the data packet is directly sent and received, all packets sent through this standard TCP connection will be discarded to avoid interference from the system's TCP packets to the data packet transmission and reception of this method.
4.本方法能够和系统标准的 TCP协议栈共同工作。 附图说明  4. This method works with the system standard TCP protocol stack. DRAWINGS
图 1是本发明工作协议层示意图;  1 is a schematic diagram of a working protocol layer of the present invention;
图 2是本发明实施例连接 /发包 /收包流程图。 具体实施方式 2 is a flow chart of connection/emission/receipt according to an embodiment of the present invention. detailed description
为了便于本领域一般技术人员的理解和实现本发明,下面结合附 图对本发明的实施例作进一步的说明。  In order to facilitate the understanding and implementation of the present invention by those skilled in the art, the embodiments of the present invention are further described below in conjunction with the drawings.
由于基于标准 TCP协议传输语音 /视频等媒体流在执行过程中占 用大量的资源和时间上的开销,使得 TCP传输媒体数据的效率不高, 但基于 UDP的 RTP协议来传输语音 /视频等媒体流又常常难以顺利地 穿过只允许 TCP协议的数据包通过的防火墙。  Since the transmission of media streams such as voice/video based on the standard TCP protocol consumes a large amount of resources and time overhead, the efficiency of TCP transmission of media data is not high, but the UDP-based RTP protocol transmits media streams such as voice/video. It is often difficult to successfully pass through a firewall that only allows packets of the TCP protocol to pass.
所以本发明提供了一种基于 TCP协议实时传输媒体数据的方法, 将媒体数据打成 TCP数据包, 既可以通过防火墙, 但又绕开标准的 TCP协议, 可以实现对媒体数据的高效传输, 实现了发明目的。  Therefore, 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.
下面是本发明在 Windows2000/XP环境下的一个实施实例: 图 1是本发明工作协议层示意图, 位于 TCP层之下, 网卡之上。 本发明的实施例使用 NDIS中间层驱动来完成 TCP的封包发送, 以 及数据包的过滤接收。 NDIS中间层介于 TCP协议层驱动和小端口(网 卡) 驱动之间, 对上面的 TCP协议层表现为一个虚拟的微端口网卡 结构, 而对下面的网卡则表现为一个协议层的结构。所以, 无论是对 网卡接收并上传的数据包, 还是上层(TCP协议层)要下送至网卡发 送的数据包, 无一例外地都会经过 NDIS中间层, 所以它能够截获所 有的网络数据包, 因而可以实施本发明, 并实现本发明目的。  The following is an implementation example of the present invention in the Windows 2000/XP environment: 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. Therefore, whether it is the data packet received and uploaded by the network card, or the data packet sent by the upper layer (TCP protocol layer) to the network card, it will pass through the NDIS intermediate layer without exception, so it can intercept all network data packets. The invention can thus be implemented and the objects of the invention achieved.
图 2是本发明实施例的连接 /发包 /收包流程图。 具体过程如下: 1. 发送方 (源端)在应用层通过系统标准 TCP协议栈与接收方 (目标端)建立连接; 2. 发送方 (源端)应用层获取该连接的套接字对信息, 包括源 IP、 目的 IP、 源端口、 目的端口, 传递给下层驱动 (NDIS中间层);2 is a flow chart of connection/emission/receipt according to an embodiment of the present invention. The specific process is as follows: 1. 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);
3.在驱动 (NDIS中间层) 中建立该连接通道的数据结构信息, 分配该通道的发送缓冲和接收缓冲,维护一个连接通道信息链表,并 进入抓包模式, 获取该连接的双方 MAC:、 Seq、 Ack等信息; 3. Establish the data structure information of the connection channel in the driver (NDIS middle layer), allocate the transmission buffer and receive buffer of the channel, maintain a connection channel information link table, and enter the packet capture mode to obtain the MAC addresses of the connection: Seq, Ack and other information;
4. 发送方(源端)应用层通知驱动(NDIS中间层)进入拦截模 式, 并在驱动内部模拟接收到 RST包以复位双方各自的 TCP连接。  4. 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.
5. 发送方(源端)利用获得的套接字对信息构造 TCP数据包, 使用 NDIS技术发送, 并阻止该连接上系统标准 TCP数据包的发送。  5. The sender (source) 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.
6. 接收方 (目标端) 收到所有数据包后, 判断该数据包是否属 于本方法构造的 TCP数据包, 如果是, 先判断该连接是否有未完成 的 IRP读请求, 如果有, 直接完成该请求, 否则把该数据包放入该连 接的接收缓冲队列中, 并通知应用层已经收到数据包; 如果不是, 则 直接放行, 交给系统的上层 TCP/IP协议栈处理。  6. After receiving all the data packets, the receiver (target end) 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.
7.数据通信完毕后,主动关断方可以发送带 FIN标志的数据包, 指示对方断开该连接。  7. After the data communication is completed, the active shutdown party can send a data packet with the FIN flag to instruct the other party to disconnect the connection.
在本发明中, 所述源端和目标端的操作可以互换。  In the present invention, 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.
以上为本发明的较佳实施方式,依据本发明公开的内容,本领域 的普通技术人员能够显而易见地想到的一些雷同、替代方案,均落入 本发明的保护范围。  The above is a preferred embodiment of the present invention, and some similarities and alternatives that can be clearly conceived by those skilled in the art according to the disclosure of the present invention fall within the protection scope of the present invention.

Claims

权利要求书 Claim
1.一种基于 TCP协议实时传输媒体数据的方法, 其特征在于, 先通过标准的 TCP协议栈建立通讯双方的连接, 然后通过底层网络 协议接口直接发送和接收数据, 媒体数据传输结束后, 断开连接。 A method for real-time transmission of media data based on a TCP protocol, characterized in that a connection between two communication parties is established through a standard TCP protocol stack, and then data is directly transmitted and received through an underlying network protocol interface, and after the media data transmission ends, Open the connection.
2.根据权利要求 1所述的基于 TCP协议实时传输媒体数据的方 法, 其特征在于, 包括如下步骤: The method for transmitting media data in real time based on the TCP protocol according to claim 1, comprising the following steps:
A. 双方连接: 源端通过标准的 TCP协议栈直接与目标端建立 连接, 并获取该连接的套接字对信息, 以及双方 TCP包的 SEQ值、 ACK值等;  A. The two parties connect: The source directly establishes a connection with the target through the standard TCP protocol stack, and obtains the socket pair information of the connection, and the SEQ value and ACK value of the TCP packets of both parties;
B. TCP数据封包:源端封包模块利用前述获得的信息,根据网 络的 MTU值,把要发送的数据拆分成适当的大小,封装成 TCP数据 包;  B. TCP data packet: The source packet module 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;
C. TCP数据发送: 源端的发送模块将封装好的 TCP数据包交 给底层网络协议接口发送至目标端;  C. TCP data transmission: The sending module at the source end sends the encapsulated TCP data packet to the underlying network protocol interface and sends it to the target end;
D. TCP数据处理: 目标端的接收模块接收全部 TCP数据包, 并判断该数据包是否属于本方法构造的 TCP数据包, 如果是, 则交 给应用层处理, 否则, 直接交给系统的 TCP/IP协议栈的处理;  D. 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. 断开连接: 媒体数据传输结束后, 要求关断的一方发送带 FIN标志的数据包, 通知对方断开连接。 E. Disconnect: After the media data transmission is completed, the party requesting to turn off sends a packet with the FIN flag to inform the other party to disconnect.
3.根据权利要求 2所述的基于 TCP协议实时传输媒体数据的方 法, 其特征在于, 所述步骤 B前还执行, 源端通知底层驱动进入拦 截模式。 The method for transmitting media data in real time based on the TCP protocol according to claim 2, wherein the step B is further performed before the source end notifies the underlying driver to enter the intercept mode.
4.根据权利要求 2所述的基于 TCP协议实时传输媒体数据的方 法, 其特征在于, 所述步骤 C 中还执行, 源端通知底层驱动阻止该 连接上系统标准 TCP数据包的发送。 The method for transmitting media data in real time based on the TCP protocol according to claim 2, wherein the step C is further performed, and the source end notifies the underlying driver to block the transmission of the system standard TCP data packet on the connection.
5.根据权利要求 2所述的基于 TCP协议实时传输媒体数据的方 法, 其特征在于, 所述步骤 D中还执行, 在 TCP数据包交给应用层 处理之前, 先判断该连接是否有未完成的 IRP读请求, 如果有, 直接 完成该请求,否则把该数据包放入该连接的接收缓冲队列中,并通知 应用层已经收到数据包。 The method for transmitting media data in real time based on the TCP protocol according to claim 2, wherein the step D is further performed, before determining whether the connection is incomplete before the TCP packet is handed over to the application layer for processing. The IRP read request, if any, completes the request directly, otherwise the packet is placed in the receive buffer queue of the connection and the application layer is notified that the packet has been received.
6.根据权利要求 2或 3或 4或 5所述的基于 TCP协议实时传输 媒体数据的方法, 其特征在于, 所述底层网络协议接口位于 TCP层 之下, 网卡之上。 The method for real-time transmission of media data based on a TCP protocol according to claim 2 or 3 or 4 or 5, wherein the underlying network protocol interface is located below the TCP layer and above the network card.
7.根据权利要求 2或 3或 4或 5所述的基于 TCP协议实时传输媒 体数据的方法, 其特征在于, 所述源端和目标端的操作可以互换。 The method for real-time transmission of media data based on a TCP protocol according to claim 2 or 3 or 4 or 5, wherein the operations of the source and the destination are interchangeable.
PCT/CN2007/002712 2007-09-13 2007-09-13 A method of real-time medium data transmission based on tcp protocol WO2009033324A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/002712 WO2009033324A1 (en) 2007-09-13 2007-09-13 A method of real-time medium data transmission based on tcp protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/002712 WO2009033324A1 (en) 2007-09-13 2007-09-13 A method of real-time medium data transmission based on tcp protocol

Publications (1)

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

Family

ID=40451548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/002712 WO2009033324A1 (en) 2007-09-13 2007-09-13 A method of real-time medium data transmission based on tcp protocol

Country Status (1)

Country Link
WO (1) WO2009033324A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660530A (en) * 2021-07-27 2021-11-16 中央广播电视总台 Program stream data capturing method and device, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574792A (en) * 2003-06-06 2005-02-02 微软公司 Multi-layer based method for implementing network firewalls
US20050133051A1 (en) * 2003-12-22 2005-06-23 Philip Morris Usa Inc. Composite materials and their use in smoking articles
CN1741473A (en) * 2005-09-05 2006-03-01 北京启明星辰信息技术有限公司 A network data packet availability deciding method and system
CN101039319A (en) * 2006-08-20 2007-09-19 科博技术有限公司 Method for real-time transmitting media data based on TCP protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574792A (en) * 2003-06-06 2005-02-02 微软公司 Multi-layer based method for implementing network firewalls
US20050133051A1 (en) * 2003-12-22 2005-06-23 Philip Morris Usa Inc. Composite materials and their use in smoking articles
CN1741473A (en) * 2005-09-05 2006-03-01 北京启明星辰信息技术有限公司 A network data packet availability deciding method and system
CN101039319A (en) * 2006-08-20 2007-09-19 科博技术有限公司 Method for real-time transmitting media data based on TCP protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660530A (en) * 2021-07-27 2021-11-16 中央广播电视总台 Program stream data capturing method and device, computer equipment and readable storage medium
CN113660530B (en) * 2021-07-27 2024-03-19 中央广播电视总台 Program stream data grabbing method and device, computer equipment and readable storage medium

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 (en) Packet transfer apparatus and transfer control method thereof
US9049144B2 (en) Method and node for employing network connections over a connectionless transport layer protocol
CA2611776C (en) Method and communication unit for communicating between communication apparatuses
US8250643B2 (en) Communication device, communication system, communication method, and program
WO2019007209A1 (en) Multipath data transmission processing method, and network device
US20020143959A1 (en) Method and apparatus for interactive direct peer-to-peer multimedia streaming
WO2020253674A1 (en) Dpdk-based satellite channel high-speed reliable data transmission method
JP3564011B2 (en) Method and apparatus for MSS spoofing
WO2007036160A1 (en) An apparatus, system and method for realizing communication between the client and the server
CN101719918A (en) Improved multi-joint and multi-path transmission method
WO2012146189A1 (en) Message processing method, device and system
US9787770B2 (en) Communication system utilizing HTTP
JP2020010326A (en) DATA TRANSMISSION METHOD, DATA RECEPTION METHOD, AND DATA COMMUNICATION METHOD USING WiFi MANAGEMENT FRAME
CN104184646A (en) VPN data interaction method and system and VPN data interaction device
WO2014190643A1 (en) Data interaction method, apparatus and system
JPH07250100A (en) Mutual communication system between lans using wide area network and mutual connection device used therefor
US7203757B2 (en) Device, method and program for protocol translation
CN115766605A (en) Network congestion control method, device and system
JP7012727B2 (en) Packet switching method and related equipment
CN116074401B (en) Method for realizing transmission layer protocol on programmable exchanger
CN101039319A (en) Method for real-time transmitting media data based on TCP protocol
WO2009033324A1 (en) A method of real-time medium data transmission based on tcp protocol

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