CN103297430B - Data transmission equipment and data transmission method - Google Patents
Data transmission equipment and data transmission method Download PDFInfo
- Publication number
- CN103297430B CN103297430B CN201310196820.8A CN201310196820A CN103297430B CN 103297430 B CN103297430 B CN 103297430B CN 201310196820 A CN201310196820 A CN 201310196820A CN 103297430 B CN103297430 B CN 103297430B
- Authority
- CN
- China
- Prior art keywords
- data
- urgent
- message
- tcp
- pointer information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及通信技术领域,并且更具体地,涉及数据传输方法及设备。The embodiments of the present invention relate to the technical field of communications, and more specifically, to a data transmission method and device.
背景技术Background technique
为了在特定节点对网络数据的传输进行监控或处理,引入了跨连接网络装置,如传输控制协议(Transmission Control Protocol,TCP)代理(Proxy)。TCP代理分别与服务器和客户端连接,实现网络数据的转发和处理,其中,TCP代理转发的网络数据包括普通数据和紧急数据。In order to monitor or process the transmission of network data at a specific node, a cross-connection network device, such as a Transmission Control Protocol (Transmission Control Protocol, TCP) proxy (Proxy), is introduced. The TCP agent is respectively connected with the server and the client to realize forwarding and processing of network data, wherein, the network data forwarded by the TCP agent includes common data and urgent data.
在现有的机制中,由于数据报文格式中的紧急指针(Urgent Pointer)信息和紧急指针所指向的数据(上述紧急数据)只在应用层进行解析,其中,紧急指针信息包括紧急标志(报文格式中的URG标志位),紧急数据起始序列号(报文格式中的TCP报文序列号)和紧急数据结束位置(报文格式中的紧急指针)。但是,TCP代理并不关心上层应用,对紧急指针信息和紧急数据直接转发,导致数据处理不够灵活。In the existing mechanism, since the urgent pointer (Urgent Pointer) information in the data message format and the data pointed to by the urgent pointer (the above urgent data) are only parsed at the application layer, the urgent pointer information includes the urgent flag (report URG flag in the message format), the start sequence number of the urgent data (the serial number of the TCP message in the message format), and the end position of the urgent data (urgent pointer in the message format). However, the TCP proxy does not care about the upper-layer application, and directly forwards urgent pointer information and urgent data, resulting in inflexible data processing.
发明内容Contents of the invention
本发明实施例提供一种数据传输方法及设备,能够提高数据处理的灵活性。Embodiments of the present invention provide a data transmission method and device, which can improve the flexibility of data processing.
第一方面,提供了一种数据传输方法,该方法包括:传输控制协议TCP代理接收网络数据,所述网络数据携带紧急指针信息和紧急数据;所述TCP代理获取所述紧急指针信息和所述紧急数据;所述TCP代理根据所述紧急指针信息对所述紧急数据进行数据处理获得处理后的紧急数据;所述TCP代理在报文中填充所述紧急指针信息和所述处理后的紧急数据,并转发所述报文。In a first aspect, a data transmission method is provided, the method includes: a transmission control protocol TCP agent receives network data, and the network data carries urgent pointer information and urgent data; the TCP agent acquires the urgent pointer information and the Urgent data; the TCP proxy performs data processing on the urgent data according to the urgent pointer information to obtain processed urgent data; the TCP proxy fills the message with the urgent pointer information and the processed urgent data , and forward the message.
结合第一方面,在第一方面的另一种实现方式中,所述报文为TCP报文,所述TCP代理在报文中填充所述紧急指针信息和所述处理后的紧急数据,包括:所述TCP代理将所述紧急指针信息中的紧急标志填充在所述TCP报文的TCP选项中,并将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述处理后的紧急数据填充在所述TCP报文的数据区紧急数据域中。With reference to the first aspect, in another implementation manner of the first aspect, the message is a TCP message, and the TCP proxy fills the message with the urgent pointer information and the processed urgent data, including : The TCP agent fills the urgent flag in the urgent pointer information into the TCP option of the TCP message, and uses the urgent data start sequence number and urgent data end position in the urgent pointer information, and the The processed urgent data is filled in the urgent data field of the data area of the TCP message.
结合第一方面或其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述报文为TCP报文,所述TCP代理在报文中填充所述紧急指针信息和所述处理后的紧急数据,包括:所述TCP代理将所述TCP报文中的紧急指针URG标志置位,将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述处理后的紧急数据填充在所述TCP报文的数据区紧急数据域中。In combination with the first aspect or any of the above implementations, in another implementation of the first aspect, the message is a TCP message, and the TCP proxy fills the message with the urgent The pointer information and the processed urgent data include: the TCP agent sets the urgent pointer URG flag in the TCP message, sets the urgent data start sequence number and the urgent data end sequence number in the urgent pointer information The location, and the processed urgent data are filled in the urgent data domain of the data area of the TCP message.
结合第一方面或其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,在所述TCP报文的数据区紧急数据域中还包括所述TCP代理接收到所述紧急数据时,所述紧急数据在数据流中相对于普通数据的位置的信息。In combination with the first aspect or any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the emergency data field of the data area of the TCP message further includes For the urgent data, information about the position of the urgent data relative to the normal data in the data stream.
结合第一方面或其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述TCP代理在报文中填充所述紧急指针信息和所述处理后的紧急数据,包括:所述TCP代理将所述报文中的消息类型标识设置为所述紧急指针信息中的紧急标志,将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述紧急数据填充在所述报文的载荷中,所述报文包括TCP报文或用户数据报协议UDP报文。In combination with the first aspect or any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the TCP proxy fills the message with the urgent pointer information and the processed urgent The data includes: the TCP agent sets the message type identifier in the message as the urgent flag in the urgent pointer information, sets the urgent data start sequence number and the urgent data end position in the urgent pointer information, And the urgent data is filled in the payload of the message, and the message includes a TCP message or a User Datagram Protocol (UDP) message.
结合第一方面或其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述网络数据还携带普通数据且所述报文还包括所述普通数据。With reference to the first aspect or any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the network data also carries ordinary data, and the packet further includes the ordinary data.
结合第一方面或其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述对所述紧急数据进行数据处理,包括:对所述紧急数据进行压缩或解压,对所述紧急数据进行去重或恢复,或者对所述紧急数据进行加密或解密。In combination with the first aspect or any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the data processing of the emergency data includes: compressing the emergency data or Decompress, deduplicate or restore the urgent data, or encrypt or decrypt the urgent data.
第二方面,提供了一种传输控制协议TCP代理,该设备包括:接收单元,用于接收网络数据,所述网络数据携带紧急指针信息和紧急数据;获取单元,用于获取所述接收单元接收的所述紧急指针信息和所述紧急数据;处理单元,用于根据所述获取单元获取的所述紧急指针信息对所述获取单元获取的所述紧急数据进行数据处理获得处理后的紧急数据;填充单元,用于在报文中填充所述紧急指针信息和所述处理单元处理的所述处理后的紧急数据;发送单元,用于转发所述报文。In a second aspect, a transmission control protocol (TCP) agent is provided. The device includes: a receiving unit, configured to receive network data, the network data carrying urgent pointer information and urgent data; an acquiring unit, configured to acquire the The emergency pointer information and the emergency data; a processing unit, configured to perform data processing on the emergency data acquired by the acquisition unit according to the emergency pointer information acquired by the acquisition unit to obtain processed emergency data; A filling unit, configured to fill the message with the urgent pointer information and the processed urgent data processed by the processing unit; a sending unit, configured to forward the message.
结合第二方面,在第二方面的另一种实现方式中,所述报文为TCP报文,所述填充单元具体用于:将所述紧急指针信息中的紧急标志填充在所述TCP报文的TCP选项中,并将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述处理后的紧急数据填充在所述TCP报文的数据区紧急数据域中。With reference to the second aspect, in another implementation manner of the second aspect, the message is a TCP message, and the filling unit is specifically configured to: fill the urgent flag in the urgent pointer information into the TCP message In the TCP option of the text, and the urgent data start sequence number and the urgent data end position in the urgent pointer information, and the processed urgent data are filled in the urgent data field of the data area of the TCP message.
结合第二方面或其上述实现方式中的任一种实现方式,在第二方面的另一种实现方式中,所述报文为TCP报文,所述填充单元具体用于:将所述TCP报文中的紧急指针URG标志置位,将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述处理后的紧急数据填充在所述TCP报文的数据区紧急数据域中。In combination with the second aspect or any of the above implementations, in another implementation of the second aspect, the message is a TCP message, and the filling unit is specifically used to: use the TCP The emergency pointer URG flag in the message is set, and the urgent data start sequence number and the urgent data end position in the urgent pointer information, as well as the processed urgent data are filled in the data area of the TCP message urgently in the data field.
结合第二方面或其上述实现方式中的任一种实现方式,在第二方面的另一种实现方式中,所述填充单元具体用于:将所述报文中的消息类型标识设置为所述紧急指针信息中的紧急标志,将所述紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及所述紧急数据填充在所述报文的载荷中,所述报文包括TCP报文或用户数据报协议UDP报文。With reference to the second aspect or any of the above-mentioned implementation manners, in another implementation manner of the second aspect, the padding unit is specifically configured to: set the message type identifier in the message to the The emergency flag in the urgent pointer information, the urgent data start sequence number and the urgent data end position in the urgent pointer information, and the urgent data are filled in the load of the message, and the message includes TCP packet or User Datagram Protocol UDP packet.
结合第二方面或其上述实现方式中的任一种实现方式,在第二方面的另一种实现方式中,所述处理单元具体用于:对所述紧急数据进行压缩或解压,对所述紧急数据进行去重或恢复,或者对所述紧急数据进行加密或解密。With reference to the second aspect or any of the above-mentioned implementation manners, in another implementation manner of the second aspect, the processing unit is specifically configured to: compress or decompress the emergency data, and The urgent data is deduplicated or restored, or the urgent data is encrypted or decrypted.
本发明实施例通过TCP代理获取接收到的网络数据中所携带的紧急指针信息和紧急数据,根据紧急指针信息对紧急数据进行数据处理获得处理后的紧急数据,在报文中填充紧急指针信息和处理后的紧急数据,并转发该报文,从而优化网络数据的处理,有效地提高数据处理的灵活性。In the embodiment of the present invention, the urgent pointer information and urgent data carried in the received network data are acquired by the TCP proxy, and the urgent data is processed according to the urgent pointer information to obtain the processed urgent data, and the urgent pointer information and urgent data are filled in the message. The processed urgent data is forwarded, thereby optimizing the processing of network data and effectively improving the flexibility of data processing.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明一个实施例的数据传输方法的流程图。Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention.
图2是本发明一个实施例的数据传输方法的过程的示意性流程图。Fig. 2 is a schematic flowchart of a process of a data transmission method according to an embodiment of the present invention.
图3是本发明一个实施例的TCP代理的结构框图。Fig. 3 is a structural block diagram of a TCP proxy according to an embodiment of the present invention.
图4是本发明另一个实施例的TCP代理的结构框图。Fig. 4 is a structural block diagram of a TCP proxy according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1是本发明一个实施例的数据传输方法的流程图。图1的方法由TCP代理执行。Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. The method of Figure 1 is performed by a TCP proxy.
101,传输控制协议TCP代理接收服务器或客户端发送的网络数据,网络数据携带紧急指针信息和紧急数据。101. The Transmission Control Protocol TCP proxy receives network data sent by the server or the client, and the network data carries urgent pointer information and urgent data.
102,TCP代理获取紧急指针信息和紧急数据。102. The TCP proxy acquires urgent pointer information and urgent data.
103,TCP代理根据紧急指针信息对紧急数据进行数据处理获得处理后的紧急数据。103. The TCP proxy performs data processing on the urgent data according to the urgent pointer information to obtain processed urgent data.
104,TCP代理在报文中填充紧急指针信息和处理后的紧急数据,并转发报文。104. The TCP proxy fills the packet with urgent pointer information and processed urgent data, and forwards the packet.
本发明实施例通过TCP代理获取接收到的网络数据中所携带的紧急指针信息和紧急数据,根据紧急指针信息对紧急数据进行数据处理获得处理后的紧急数据,在报文中填充紧急指针信息和处理后的紧急数据,并转发该报文,从而优化网络数据的处理,有效地提高数据处理的灵活性。In the embodiment of the present invention, the urgent pointer information and urgent data carried in the received network data are acquired by the TCP proxy, and the urgent data is processed according to the urgent pointer information to obtain the processed urgent data, and the urgent pointer information and urgent data are filled in the message. The processed urgent data is forwarded, thereby optimizing the processing of network data and effectively improving the flexibility of data processing.
可选地,作为一个实施例,在步骤103中,对紧急数据进行处理包括但不限于:对紧急数据进行压缩或解压,对紧急数据进行去重或恢复,或者对紧急数据进行加密或解密等处理。Optionally, as an embodiment, in step 103, processing the urgent data includes, but is not limited to: compressing or decompressing the urgent data, deduplicating or restoring the urgent data, or encrypting or decrypting the urgent data, etc. deal with.
例如,可以根据紧急数据量的大小确定是否对紧急数据进行处理,当根据紧急指针信息确定紧急数据的长度大于或等于某一阈值(如一个最大报文段长度(Max SegmentSize,MSS))时,则对该紧急数据进行压缩或去重。这样,减少数据的传输量,能够有效地利用资源,提高紧急数据的传输速率。For example, it can be determined whether to process the urgent data according to the size of the urgent data. When it is determined according to the urgent pointer information that the length of the urgent data is greater than or equal to a certain threshold (such as a maximum segment length (Max SegmentSize, MSS)), Compress or deduplicate the urgent data. In this way, the amount of data transmission is reduced, resources can be effectively used, and the transmission rate of urgent data can be increased.
又例如,当根据紧急指针信息(包括紧急标志、紧急数据起始序列号和紧急数据结束位置)确定紧急数据的长度小于某一阈值时,可以将该紧急数据在数据TCP代理层直接转发,可选地,无需对普通数据处理完后再转发紧急数据。因此,能够使得客户端或服务器及时处理紧急数据。For another example, when it is determined that the length of the urgent data is less than a certain threshold according to the urgent pointer information (including the urgent flag, the starting serial number of the urgent data, and the end position of the urgent data), the urgent data can be directly forwarded at the data TCP proxy layer, and can be Optionally, urgent data does not need to be forwarded after processing common data. Therefore, it is possible to enable the client or the server to process urgent data in a timely manner.
应理解,上述例子仅仅是示例性的,本发明实施例TCP代理如何处理紧急数据获得处理后的紧急数据并不限定。It should be understood that the foregoing examples are only illustrative, and how the TCP proxy processes the urgent data in this embodiment of the present invention to obtain the processed urgent data is not limited.
进一步地,可以并行处理网络数据中的普通数据,可选地,当发现网络数据携带有紧急数据时,可以不再对网络数据中的普通数据进行缓存,并行处理紧急数据和普通数据(如对普通数据进行去重处理)。在步骤103之后,可以同时转发紧急数据和普通数据。当然,也可以分别单独处理网络数据中的普通数据和紧急数据。因此,可以基于紧急数据的处理情况对普通数据进行处理,能够提高数据处理的灵活性。本发明实施例对此并不限定。Furthermore, normal data in the network data can be processed in parallel. Optionally, when it is found that the network data carries urgent data, the normal data in the network data can no longer be cached, and the urgent data and normal data can be processed in parallel (such as for Ordinary data is deduplicated). After step 103, emergency data and normal data can be forwarded at the same time. Of course, normal data and emergency data in the network data can also be separately processed. Therefore, ordinary data can be processed based on the processing status of emergency data, and the flexibility of data processing can be improved. This embodiment of the present invention does not limit it.
可选地,作为另一个实施例,在步骤104中,TCP代理可以根据数据转发方式在报文中填充紧急指针信息和进行处理后的紧急数据,转发该报文。可选地,数据转发方式可以是本发明提供的TCP选项方式、改进的TCP紧急方式、或者私有消息方式。当然,数据转发方式也可以采用现有的TCP紧急方式。应理解,本发明实施例对此并不限定。还应理解,本发明实施例对报文的形式并不限定,报文可以是TCP报文,也可以是用户数据报协议(UserDatagram Protocol,UDP)报文,等等。Optionally, as another embodiment, in step 104, the TCP agent may fill the message with urgent pointer information and processed urgent data according to the data forwarding manner, and forward the message. Optionally, the data forwarding mode may be the TCP option mode provided by the present invention, the improved TCP emergency mode, or the private message mode. Certainly, the data forwarding mode may also adopt the existing TCP emergency mode. It should be understood that this embodiment of the present invention does not limit it. It should also be understood that the embodiment of the present invention does not limit the form of the message, and the message may be a TCP message, or a User Datagram Protocol (UserDatagram Protocol, UDP) message, and so on.
具体地,在TCP选项方式中,上述报文为TCP报文,TCP代理将紧急指针信息中的紧急标志填充在TCP报文的TCP选项(option)中,并将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。在改进的TCP紧急方式中,上述报文为TCP报文,TCP代理将TCP报文中的紧急指针URG标志置位(即表示紧急指针信息中的紧急标志)、紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。进一步地,在TCP报文的数据区紧急数据域中还可以包括TCP代理接收到紧急数据时,紧急数据在数据流中相对于普通数据的位置的信息。在私有消息方式中,报文可以是TCP报文或UDP报文,将报文中的消息类型标识设置为紧急指针信息中的紧急标志,将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及紧急数据填充在报文的载荷中。现有的TCP紧急方式可参考现有技术,此处不再赘述。Specifically, in the TCP option mode, the above-mentioned message is a TCP message, and the TCP proxy fills the urgent flag in the urgent pointer information into the TCP option (option) of the TCP message, and saves the urgent data in the urgent pointer information The start sequence number, the end position of the urgent data, and the processed urgent data are filled in the urgent data domain of the data area of the TCP message. In the improved TCP emergency mode, the above message is a TCP message, and the TCP proxy sets the URG flag of the urgent pointer in the TCP message (that is, indicates the urgent flag in the urgent pointer information), and the urgent data in the urgent pointer information starts The start sequence number, the end position of the urgent data, and the processed urgent data are filled in the urgent data domain of the data area of the TCP message. Further, the urgent data field in the data area of the TCP message may also include information about the position of the urgent data relative to the normal data in the data stream when the TCP proxy receives the urgent data. In the private message mode, the message can be a TCP message or a UDP message, and the message type identifier in the message is set as the urgent flag in the urgent pointer information, and the urgent data starting sequence number and urgent data in the urgent pointer information are set to The data end position and urgent data are filled in the payload of the message. For the existing TCP emergency mode, reference may be made to the prior art, which will not be repeated here.
可选地,可以在TCP代理中预先设置上述一种或多种数据转发方式。TCP代理可以根据紧急数据的情况选择紧急指针信息和紧急数据的数据转发方式,或者可以根据数据流的上下文信息选择紧急指针信息和紧急数据的数据转发方式。例如,当紧急数据的长度大于或等于某一阈值(如一个MSS的长度)时,则可以选择TCP选项方式、或者私有消息方式,或者改进的紧急方式转发经压缩处理后的紧急数据。又例如,当紧急数据的长度小于某一阈值(如一个MSS的长度)时,则可以选择改进的TCP紧急方式或者现有的TCP紧急方式直接转发该紧急数据。Optionally, one or more of the foregoing data forwarding modes may be preset in the TCP proxy. The TCP proxy can select the urgent pointer information and the data forwarding mode of the urgent data according to the situation of the urgent data, or can select the urgent pointer information and the data forwarding mode of the urgent data according to the context information of the data flow. For example, when the length of the urgent data is greater than or equal to a certain threshold (such as the length of one MSS), you can choose the TCP option mode, or the private message mode, or the improved urgent mode to forward the compressed urgent data. For another example, when the length of the urgent data is less than a certain threshold (such as the length of one MSS), an improved TCP emergency mode or an existing TCP emergency mode may be selected to directly forward the urgent data.
可选地,还可以在上述报文中填充普通数据,即TCP代理将紧急数据和普通数据一起转发出去。例如,当对紧急数据和接收到的普通数据并行进行去重处理时,可以选择TCP紧急方式将经去重处理后的紧急数据和普通数据一起打包转发出去。Optionally, ordinary data may also be filled in the above message, that is, the TCP proxy forwards the urgent data and the ordinary data together. For example, when deduplication processing is performed on urgent data and received normal data in parallel, the TCP urgent mode may be selected to package and forward the deduplicated urgent data and normal data together.
如果采用现有技术的TCP紧急方式转发经过处理后的网络数据,将会改变网络数据的传输顺序,导致紧急数据在数据流中的相对于普通数据的位置发生改变,甚至丢失紧急数据。通过本发明实施例提供的数据转发方式能够明确紧急数据的传输顺序和紧急数据在数据流中相对于普通数据的位置,避免紧急数据的丢失。If the processed network data is forwarded in the TCP emergency mode of the prior art, the transmission sequence of the network data will be changed, resulting in a change in the position of the urgent data relative to the normal data in the data stream, or even loss of the urgent data. The data forwarding mode provided by the embodiment of the present invention can clarify the transmission sequence of urgent data and the position of urgent data relative to ordinary data in a data stream, so as to avoid loss of urgent data.
另外,本发明的实施例还可以在转发报文之前对紧急数据进行加密,提高了数据传输的安全性。In addition, the embodiment of the present invention can also encrypt the urgent data before forwarding the message, which improves the security of data transmission.
需要说明的是,本发明实施例的客户端和服务器之间可以有1个或多个TCP代理,每个TCP代理能够实现网络数据的处理和转发,当客户端和服务器之间具有多个TCP代理时,相邻的两个TCP代理可以预先协同采用可以接受的数据转发方式。It should be noted that there may be one or more TCP agents between the client and the server in the embodiment of the present invention, each TCP agent can realize the processing and forwarding of network data, when there are multiple TCP agents between the client and the server When acting as a proxy, two adjacent TCP proxies can cooperate in advance to adopt an acceptable data forwarding method.
下面结合具体的例子详细描述本发明实施例。Embodiments of the present invention will be described in detail below in conjunction with specific examples.
图2是本发明一个实施例的数据传输方法的过程的示意性流程图。Fig. 2 is a schematic flowchart of a process of a data transmission method according to an embodiment of the present invention.
201,TCP代理接收网络数据。201. The TCP agent receives network data.
具体地,由TCP代理中的TCP IP栈(Stack)实现网络数据的接收。Specifically, the receiving of network data is realized by the TCP IP stack (Stack) in the TCP proxy.
202,TCP代理从步骤201中接收的网络数据中获取紧急指针和紧急数据。202. The TCP proxy obtains the urgent pointer and urgent data from the network data received in step 201.
具体地,TCP代理中的TCP代理层从TCP IP栈接收的网络数据中获取紧急指针和紧急数据。Specifically, the TCP proxy layer in the TCP proxy obtains the urgent pointer and urgent data from the network data received by the TCP IP stack.
203,TCP代理对紧急数据进行数据处理获得处理后的紧急数据。203. The TCP agent performs data processing on the urgent data to obtain the processed urgent data.
可选地,对紧急数据进行处理包括但不限于:对紧急数据进行压缩或解压,对紧急数据进行去重或恢复,或者对紧急数据进行加密或解密等处理。Optionally, processing the urgent data includes but is not limited to: compressing or decompressing the urgent data, deduplicating or restoring the urgent data, or encrypting or decrypting the urgent data.
例如,可以根据紧急数据量的大小确定是否对紧急数据进行处理,当根据紧急指针信息确定紧急数据的长度大于或等于某一阈值(如一个MSS长度)时,则对该紧急数据进行压缩或去重。这样,减少数据的传输量,能够有效地利用资源,提高紧急数据的传输速率。For example, it can be determined whether to process the urgent data according to the size of the urgent data, and when it is determined according to the urgent pointer information that the length of the urgent data is greater than or equal to a certain threshold (such as a MSS length), the urgent data is compressed or deleted. Heavy. In this way, the amount of data transmission is reduced, resources can be effectively used, and the transmission rate of urgent data can be increased.
又例如,当根据紧急指针信息确定紧急数据的长度小于某一阈值时,可以将该紧急数据在数据TCP代理层直接转发,可选地,无需对普通数据处理完后再转发紧急数据。因此,能够使得客户端或服务器及时处理紧急数据。For another example, when it is determined according to the urgent pointer information that the length of the urgent data is less than a certain threshold, the urgent data may be forwarded directly at the data TCP proxy layer. Optionally, the urgent data does not need to be forwarded after processing the normal data. Therefore, it is possible to enable the client or the server to process urgent data in a timely manner.
应理解,上述例子仅仅是示例性的,本发明实施例TCP代理如何处理紧急数据获得处理后的紧急数据并不限定。It should be understood that the foregoing examples are only illustrative, and how the TCP proxy processes the urgent data in this embodiment of the present invention to obtain the processed urgent data is not limited.
可选地,TCP代理还可以对网络数据中的普通数据进行处理(步骤204)。进一步地,可以在处理紧急数据的同时并行处理网络数据中的普通数据。例如,当发现网络数据携带有紧急数据时,可以不再对网络数据中的普通数据进行缓存,并行处理紧急数据和普通数据(如对普通数据进行去重处理)。当然,也可以分别单独处理网络数据中的普通数据和紧急数据。因此,可以基于紧急数据的处理情况对普通数据进行处理,能够提高数据处理的灵活性。本发明实施例对此并不限定。Optionally, the TCP proxy can also process ordinary data in the network data (step 204). Furthermore, normal data in network data can be processed in parallel while urgent data is processed. For example, when it is found that the network data carries urgent data, the ordinary data in the network data can no longer be cached, and the urgent data and ordinary data can be processed in parallel (for example, the ordinary data is deduplicated). Of course, normal data and emergency data in the network data can also be separately processed. Therefore, ordinary data can be processed based on the processing status of emergency data, and the flexibility of data processing can be improved. This embodiment of the present invention does not limit it.
具体地,由TCP代理中的数据处理(Data Process)模块实现网络数据(网络数据或紧急数据)的数据处理。Specifically, data processing of network data (network data or emergency data) is implemented by a data processing (Data Process) module in the TCP proxy.
205,TCP代理选择数据转发方式。205. The TCP proxy selects a data forwarding mode.
具体地,由数据处理模块选择数据转发方式。Specifically, the data forwarding mode is selected by the data processing module.
数据转发方式可以是本发明提供的TCP选项方式、改进的TCP紧急方式、或者私有消息方式。具体的实施方式可以参考上述,此处不再赘述。The data forwarding mode may be the TCP option mode provided by the present invention, the improved TCP urgent mode, or the private message mode. For specific implementation manners, reference may be made to the foregoing, and details are not repeated here.
例如,数据转发方式可以示意性地(以表格形式)表示如下:For example, the data forwarding method can be represented schematically (in tabular form) as follows:
通过本发明实施例提供的数据转发方式能够明确紧急数据的传输顺序和紧急数据在数据流中相对于普通数据的位置,避免紧急数据的丢失,并且还能够实现紧急数据的加密,提高数据传输的安全性。The data forwarding method provided by the embodiment of the present invention can clarify the transmission sequence of urgent data and the position of urgent data relative to ordinary data in the data stream, avoid the loss of urgent data, and can also realize the encryption of urgent data to improve the efficiency of data transmission. safety.
当然,数据转发方式也可以采用现有的TCP紧急方式。应理解,本发明实施例对此并不限定。Certainly, the data forwarding mode may also adopt the existing TCP emergency mode. It should be understood that this embodiment of the present invention does not limit it.
206,TCP代理转发报文。206. The TCP agent forwards the packet.
具体地,数据处理模块将报文通过TCP代理层,从TCP IP栈转发出去。Specifically, the data processing module forwards the message from the TCP IP stack through the TCP proxy layer.
报文可以是TCP报文,也可以是UDP报文。TCP根据步骤205选择的数据转发格式将紧急指针信息和紧急数据填充在报文中,转发该报文。The packet can be a TCP packet or a UDP packet. The TCP fills the message with urgent pointer information and urgent data according to the data forwarding format selected in step 205, and forwards the message.
可选地,还可以在上述报文中填充普通数据,即TCP代理将紧急数据和普通数据一起转发出去。例如,当对紧急数据和接收到的普通数据并行进行去重处理时,可以选择TCP紧急方式将经去重处理后的紧急数据和普通数据一起打包转发出去。Optionally, ordinary data may also be filled in the above message, that is, the TCP proxy forwards the urgent data and the ordinary data together. For example, when deduplication processing is performed on urgent data and received normal data in parallel, the TCP urgent mode may be selected to package and forward the deduplicated urgent data and normal data together.
可选地,TCP代理还可以分别单独转发普通数据和紧急数据。应理解,本发明实施例对此并不限定。Optionally, the TCP proxy can also forward common data and urgent data separately. It should be understood that this embodiment of the present invention does not limit it.
图3是本发明一个实施例的TCP代理的结构框图。图3的TCP代理300包括接收单元301,获取单元302、处理单元303、填充单元304和发送单元305。Fig. 3 is a structural block diagram of a TCP proxy according to an embodiment of the present invention. The TCP proxy 300 in FIG. 3 includes a receiving unit 301 , an acquiring unit 302 , a processing unit 303 , a filling unit 304 and a sending unit 305 .
接收单元301,用于接收网络数据,网络数据携带紧急指针信息和紧急数据。The receiving unit 301 is configured to receive network data, where the network data carries urgent pointer information and urgent data.
获取单元302,用于获取接收单元302接收的紧急指针信息和紧急数据。The obtaining unit 302 is configured to obtain the urgent pointer information and the urgent data received by the receiving unit 302 .
处理单元303,用于根据获取单元302获取的紧急指针信息对获取单元302获取的紧急数据进行数据处理获得处理后的紧急数据。The processing unit 303 is configured to perform data processing on the urgent data acquired by the acquiring unit 302 according to the urgent pointer information acquired by the acquiring unit 302 to obtain processed urgent data.
填充单元304,用于在报文中填充获取单元302获取的紧急指针信息和处理单元303处理的处理后的紧急数据。The filling unit 304 is configured to fill the message with the urgent pointer information acquired by the acquiring unit 302 and the processed urgent data processed by the processing unit 303 .
发送单元305,用于转发报文。The sending unit 305 is configured to forward the message.
本发明实施例通过TCP代理获取接收到的网络数据中所携带的紧急指针信息和紧急数据,根据紧急指针信息对紧急数据进行数据处理获得处理后的紧急数据,在报文中填充紧急指针信息和处理后的紧急数据,并转发该报文,从而优化网络数据的处理,有效地提高数据处理的灵活性。In the embodiment of the present invention, the urgent pointer information and urgent data carried in the received network data are acquired by the TCP proxy, and the urgent data is processed according to the urgent pointer information to obtain the processed urgent data, and the urgent pointer information and urgent data are filled in the message. The processed urgent data is forwarded, thereby optimizing the processing of network data and effectively improving the flexibility of data processing.
TCP代理300可实现图1和图2的实施例,因此为避免重复,不再详细描述。The TCP proxy 300 can implement the embodiments shown in FIG. 1 and FIG. 2 , so to avoid repetition, it will not be described in detail.
可选地,作为一个实施例,填充单元304还可以用于根据数据转发方式在报文中填充紧急指针信息和处理后的紧急数据。可选地,数据转发方式可以是本发明提供的TCP选项方式、改进的TCP紧急方式、或者私有消息方式等。Optionally, as an embodiment, the filling unit 304 may also be configured to fill the message with urgent pointer information and processed urgent data according to the data forwarding manner. Optionally, the data forwarding mode may be the TCP option mode, the improved TCP emergency mode, or the private message mode provided by the present invention.
进一步地,数据转发方式为TCP选项方式且报文为TCP报文,填充单元304具体用于:将紧急指针信息中的紧急标志填充在TCP报文的TCP选项中,并将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。Further, the data forwarding mode is the TCP option mode and the message is a TCP message, and the filling unit 304 is specifically configured to: fill the urgent flag in the urgent pointer information into the TCP option of the TCP message, and fill the urgent flag in the urgent pointer information The start sequence number of the urgent data, the end position of the urgent data, and the processed urgent data are filled in the urgent data field of the data area of the TCP message.
数据转发方式为改进的TCP紧急方式且报文为TCP报文,填充单元304具体用于:将TCP报文中的紧急指针URG标志置位,将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。The data forwarding mode is an improved TCP emergency mode and the message is a TCP message, and the filling unit 304 is specifically used to: set the urgent pointer URG flag in the TCP message, set the urgent data start sequence number and the urgent data starting sequence number in the urgent pointer information The end position of the urgent data and the processed urgent data are filled in the urgent data field of the data area of the TCP message.
数据转发方式为私有消息方式,填充单元304具体用于:将报文中的消息类型标识设置为紧急指针信息中的紧急标志,将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及紧急数据填充在报文的载荷中,报文可以是TCP报文,也可以是UDP报文。The data forwarding mode is a private message mode, and the filling unit 304 is specifically used to: set the message type identifier in the message as the urgent flag in the urgent pointer information, and set the urgent data start sequence number and the urgent data end position in the urgent pointer information , and the urgent data is filled in the payload of the message, and the message may be a TCP message or a UDP message.
通过本发明实施例提供的数据转发方式能够明确紧急数据的传输顺序和紧急数据在数据流中相对于普通数据的位置,避免紧急数据的丢失,并且还能够实现紧急数据的加密,提高数据传输的安全性。The data forwarding method provided by the embodiment of the present invention can clarify the transmission sequence of urgent data and the position of urgent data relative to ordinary data in the data stream, avoid the loss of urgent data, and can also realize the encryption of urgent data to improve the efficiency of data transmission. safety.
当然,数据转发方式也可以采用现有的TCP紧急方式。应理解,本发明实施例对此并不限定。Certainly, the data forwarding mode may also adopt the existing TCP emergency mode. It should be understood that this embodiment of the present invention does not limit it.
可选地,作为另一个实施例,处理单元303具体用于:对紧急数据进行压缩或解压,对紧急数据进行去重或恢复,或者对紧急数据进行加密或解密。具体实施例可以参考上述,此处不再赘述,应理解,本发明实施例TCP代理如何处理紧急数据并不限定。Optionally, as another embodiment, the processing unit 303 is specifically configured to: compress or decompress urgent data, deduplicate or restore urgent data, or encrypt or decrypt urgent data. Reference may be made to the above for specific embodiments, and details are not repeated here. It should be understood that how the TCP agent processes urgent data in this embodiment of the present invention is not limited.
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。图4是本发明又一个实施例的TCP代理的结构框图,在该实施例中,设备400包括处理器401,存储器402,发送器403和接收器404。处理器401控制设备400的操作,处理器401还可以称为CPU。存储器402可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器402的一部分还可以包括非易失行随机存取存储器(NVRAM)。处理器401,存储器402,发送器403和接收器404通过总线系统410耦合在一起,其中总线系统410除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线系统410。Embodiments of the present invention further provide device embodiments for implementing the steps and methods in the above method embodiments. FIG. 4 is a structural block diagram of a TCP proxy according to another embodiment of the present invention. In this embodiment, a device 400 includes a processor 401 , a memory 402 , a sender 403 and a receiver 404 . The processor 401 controls the operation of the device 400, and the processor 401 may also be referred to as a CPU. The memory 402 may include read-only memory and random-access memory, and provides instructions and data to the processor 401 . A portion of memory 402 may also include non-volatile random access memory (NVRAM). The processor 401, the memory 402, the transmitter 403 and the receiver 404 are coupled together through a bus system 410, wherein the bus system 410 includes a power bus, a control bus and a status signal bus in addition to a data bus. However, for clarity of illustration, the various buses are labeled as bus system 410 in the figure.
上述本发明实施例揭示的方法可以应用上述的设备400。其中,处理器401可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器401中的硬件的集成逻辑电路或者软件形式的指令完成。The method disclosed in the foregoing embodiments of the present invention may be applied to the foregoing device 400 . Wherein, the processor 401 may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 401 or instructions in the form of software.
接收器404,用于接收网络数据,网络数据携带紧急指针信息和紧急数据。The receiver 404 is configured to receive network data, where the network data carries urgent pointer information and urgent data.
处理器401,用于获取接收器404接收的紧急指针信息和紧急数据;还用于根据获取的紧急指针信息对获取的紧急数据进行数据处理获得处理后的紧急数据;还用于在报文中填充获取的紧急指针信息和处理后的紧急数据。The processor 401 is used to obtain the urgent pointer information and urgent data received by the receiver 404; it is also used to perform data processing on the obtained urgent data according to the obtained urgent pointer information to obtain the processed urgent data; it is also used to include in the message Fill in the acquired urgent pointer information and processed urgent data.
发送器403,用于转发报文。The sender 403 is configured to forward the message.
本发明实施例通过TCP代理获取接收到的网络数据中所携带的紧急指针信息和紧急数据,根据紧急指针信息对紧急数据进行数据处理获得处理后的紧急数据,在报文中填充紧急指针信息和处理后的紧急数据,并转发该报文,从而优化网络数据的处理,有效地提高数据处理的灵活性。In the embodiment of the present invention, the urgent pointer information and urgent data carried in the received network data are acquired by the TCP proxy, and the urgent data is processed according to the urgent pointer information to obtain the processed urgent data, and the urgent pointer information and urgent data are filled in the message. The processed urgent data is forwarded, thereby optimizing the processing of network data and effectively improving the flexibility of data processing.
设备400可实现图1和图2的实施例,因此为避免重复,不再详细描述。The device 400 can implement the embodiments shown in FIG. 1 and FIG. 2 , so to avoid repetition, no detailed description is given here.
可选地,作为一个实施例,处理器401还可以用于根据数据转发方式在报文中填充紧急指针信息和处理后的紧急数据。可选地,数据转发方式可以是本发明提供的TCP选项方式、改进的TCP紧急方式、或者私有消息方式等。Optionally, as an embodiment, the processor 401 may also be configured to fill the packet with urgent pointer information and processed urgent data according to a data forwarding manner. Optionally, the data forwarding mode may be the TCP option mode, the improved TCP emergency mode, or the private message mode provided by the present invention.
进一步地,数据转发方式为TCP选项方式且报文为TCP报文,处理器401具体用于:将紧急指针信息中的紧急标志填充在TCP报文的TCP选项中,并将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。Further, the data forwarding mode is the TCP option mode and the message is a TCP message, and the processor 401 is specifically configured to: fill the urgent flag in the urgent pointer information into the TCP option of the TCP message, and fill the urgent flag in the urgent pointer information The start sequence number of the urgent data, the end position of the urgent data, and the processed urgent data are filled in the urgent data field of the data area of the TCP message.
数据转发方式为改进的TCP紧急方式且报文为TCP报文,处理器401具体用于:将TCP报文中的紧急指针URG标志置位,将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及处理后的紧急数据填充在TCP报文的数据区紧急数据域中。The data forwarding mode is an improved TCP emergency mode and the message is a TCP message, and the processor 401 is specifically used to: set the urgent pointer URG flag in the TCP message, set the urgent data start sequence number and the urgent data starting sequence number in the urgent pointer information The end position of the urgent data and the processed urgent data are filled in the urgent data field of the data area of the TCP message.
数据转发方式为私有消息方式,处理器401具体用于:将报文中的消息类型标识设置为紧急指针信息中的紧急标志,将紧急指针信息中的紧急数据起始序列号和紧急数据结束位置,以及紧急数据填充在报文的载荷中,报文可以是TCP报文,也可以是UDP报文。The data forwarding mode is a private message mode, and the processor 401 is specifically used to: set the message type identifier in the message as the urgent flag in the urgent pointer information, set the urgent data start sequence number and the urgent data end position in the urgent pointer information , and the urgent data is filled in the payload of the message, and the message may be a TCP message or a UDP message.
通过本发明实施例提供的数据转发方式能够明确紧急数据的传输顺序和紧急数据在数据流中相对于普通数据的位置,避免紧急数据的丢失,并且还能够实现紧急数据的加密,提高数据传输的安全性。The data forwarding method provided by the embodiment of the present invention can clarify the transmission sequence of urgent data and the position of urgent data relative to ordinary data in the data stream, avoid the loss of urgent data, and can also realize the encryption of urgent data to improve the efficiency of data transmission. safety.
当然,数据转发方式也可以采用现有的TCP紧急方式。应理解,本发明实施例对此并不限定。Certainly, the data forwarding mode may also adopt the existing TCP emergency mode. It should be understood that this embodiment of the present invention does not limit it.
可选地,作为另一个实施例,处理器401具体用于:对紧急数据进行压缩或解压,对紧急数据进行去重或恢复,或者对紧急数据进行加密或解密。具体实施例可以参考上述,此处不再赘述,应理解,本发明实施例TCP代理如何处理紧急数据并不限定。Optionally, as another embodiment, the processor 401 is specifically configured to: compress or decompress urgent data, deduplicate or restore urgent data, or encrypt or decrypt urgent data. Reference may be made to the above for specific embodiments, and details are not repeated here. It should be understood that how the TCP agent processes urgent data in this embodiment of the present invention is not limited.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes. .
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310196820.8A CN103297430B (en) | 2013-05-24 | 2013-05-24 | Data transmission equipment and data transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310196820.8A CN103297430B (en) | 2013-05-24 | 2013-05-24 | Data transmission equipment and data transmission method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103297430A CN103297430A (en) | 2013-09-11 |
| CN103297430B true CN103297430B (en) | 2017-04-26 |
Family
ID=49097750
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310196820.8A Active CN103297430B (en) | 2013-05-24 | 2013-05-24 | Data transmission equipment and data transmission method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103297430B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112449318B (en) * | 2020-10-23 | 2023-04-25 | 浙江中控信息产业股份有限公司 | Message transmission method based on C-V2X vehicle-road cooperative application |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1567915A (en) * | 2003-07-02 | 2005-01-19 | 明基电通股份有限公司 | A wireless transmission control protocol/internet protocol header setting transmission method |
| CN1655552A (en) * | 2004-02-13 | 2005-08-17 | 三星电子株式会社 | Manage Transmission Control Protocol (TCP) connections |
| CN1694453A (en) * | 2004-04-30 | 2005-11-09 | 国际商业机器公司 | Method and equipment of transparent consulting |
| CN1960375A (en) * | 2005-09-30 | 2007-05-09 | 乐金电子(中国)研究开发中心有限公司 | Method for efficiently transmitting/receiving data at mobile communication network supporting TCP/IP protocol |
| CN101568144A (en) * | 2009-03-18 | 2009-10-28 | 中国人民解放军理工大学 | Header compression method applicable to wireless ad hoc network |
| CN101986648A (en) * | 2010-11-24 | 2011-03-16 | 北京星网锐捷网络技术有限公司 | Negotiation method, device and network device of TCP option |
| CN102098241A (en) * | 2009-12-14 | 2011-06-15 | 三星电子株式会社 | Method and apparatus for transmitting urgent data |
| CN102255972A (en) * | 2011-08-10 | 2011-11-23 | 北京邮电大学 | HTTP (hyper text transport protocol)-oriented TCP (transmission control protocol) header compression method in 6LoWAPN (IPv-over low-power wireless personal area network) |
| CN102754396A (en) * | 2011-06-23 | 2012-10-24 | 华为技术有限公司 | Method and gateway device for sending data |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005114898A2 (en) * | 2004-05-10 | 2005-12-01 | Trusted Network Technologies, Inc. | System, apparatuses, methods and computer-readable media for determining security status of computer before establishing connection thereto |
| US7620071B2 (en) * | 2004-11-16 | 2009-11-17 | Intel Corporation | Packet coalescing |
| CN101110780A (en) * | 2007-08-24 | 2008-01-23 | 张建中 | Method, device and system for transmitting control data flow |
| WO2009059851A1 (en) * | 2007-11-09 | 2009-05-14 | Nokia Corporation | Method, apparatus and software for packet modification |
-
2013
- 2013-05-24 CN CN201310196820.8A patent/CN103297430B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1567915A (en) * | 2003-07-02 | 2005-01-19 | 明基电通股份有限公司 | A wireless transmission control protocol/internet protocol header setting transmission method |
| CN1655552A (en) * | 2004-02-13 | 2005-08-17 | 三星电子株式会社 | Manage Transmission Control Protocol (TCP) connections |
| CN1694453A (en) * | 2004-04-30 | 2005-11-09 | 国际商业机器公司 | Method and equipment of transparent consulting |
| CN1960375A (en) * | 2005-09-30 | 2007-05-09 | 乐金电子(中国)研究开发中心有限公司 | Method for efficiently transmitting/receiving data at mobile communication network supporting TCP/IP protocol |
| CN101568144A (en) * | 2009-03-18 | 2009-10-28 | 中国人民解放军理工大学 | Header compression method applicable to wireless ad hoc network |
| CN102098241A (en) * | 2009-12-14 | 2011-06-15 | 三星电子株式会社 | Method and apparatus for transmitting urgent data |
| CN101986648A (en) * | 2010-11-24 | 2011-03-16 | 北京星网锐捷网络技术有限公司 | Negotiation method, device and network device of TCP option |
| CN102754396A (en) * | 2011-06-23 | 2012-10-24 | 华为技术有限公司 | Method and gateway device for sending data |
| CN102255972A (en) * | 2011-08-10 | 2011-11-23 | 北京邮电大学 | HTTP (hyper text transport protocol)-oriented TCP (transmission control protocol) header compression method in 6LoWAPN (IPv-over low-power wireless personal area network) |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103297430A (en) | 2013-09-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109714292B (en) | Method and device for transmitting messages | |
| CN105577364B (en) | A kind of encryption method, decryption method and relevant apparatus | |
| CN103139222A (en) | Internet protocol security (IPSEC) tunnel data transmission method and device thereof | |
| EP3061224B1 (en) | Secure communications using adaptive data compression | |
| US8769039B2 (en) | Method and apparatus of performing remote computer file exchange | |
| KR101737299B1 (en) | Encoder, decoder and methods | |
| CN103812650B (en) | Information processing method, user equipment and encryption device | |
| JP6389280B2 (en) | Protocol stack conforming method and apparatus | |
| TW200849900A (en) | Compression of data packets while maintaining endpoint-to-endpoint authentication | |
| CN104054068A (en) | Improved Bandwidth Optimization for Remote Desktop Protocol | |
| CN103957241A (en) | Communication method and device based on message data | |
| EP2742665A1 (en) | Method and apparatus for coordinating compression information through key establishment protocols | |
| CN110891287A (en) | Ethernet packet header compression method, decompression method and device | |
| CN101562516A (en) | Data synchronous method, client, server and system | |
| WO2015168840A1 (en) | Data processing method and apparatus | |
| CN103581683A (en) | Jpeg image encryption transmission method | |
| CN114679265B (en) | Flow acquisition method, device, electronic equipment and storage medium | |
| CN110071935A (en) | Terminal assembles SDAP implementation methods in a kind of 5G system | |
| CN116566661A (en) | Method, device, electronic equipment and storage medium for data security transmission | |
| CN104123244A (en) | USB redirection system and method | |
| CN103297430B (en) | Data transmission equipment and data transmission method | |
| CN107835150B (en) | An all-media customer service scheduling method and system | |
| KR101554760B1 (en) | Network message transformation device and methods thereof | |
| CN102724133A (en) | Method and device for transmitting internet protocol (IP) message | |
| CN108701195B (en) | Data security protection method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20191225 Address after: 314415 within huangwan town government, Haining City, Jiaxing City, Zhejiang Province Patentee after: Haining huangwan town Asset Management Co., Ltd Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: Huawei Technologies Co., Ltd. |