CN103297430B - Data transmission equipment and data transmission method - Google Patents

Data transmission equipment and data transmission method Download PDF

Info

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
emergency
tcp
emergency data
message
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
Application number
CN201310196820.8A
Other languages
Chinese (zh)
Other versions
CN103297430A (en
Inventor
扶柏成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haining huangwan town Asset Management Co., Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310196820.8A priority Critical patent/CN103297430B/en
Publication of CN103297430A publication Critical patent/CN103297430A/en
Application granted granted Critical
Publication of CN103297430B publication Critical patent/CN103297430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention provides data transmission equipment and a data transmission method. The method includes a TCP (transmission control protocol) agent receives network data which include emergency pointer information and emergency data; the TCP agent acquires the emergency pointer information and the emergency data; the TCP agent performs data processing on the emergency data according to the emergency pointer information to acquire processed emergency data; the TCP agent fills the emergency pointer information and the processed emergency data in messages and forwards the messages. Flexibility of data processing can be improved.

Description

Data transmission method and equipment
Technical field
The present embodiments relate to communication technical field, and more particularly, to data transmission method and equipment.
Background technology
In order to the transmission in specific node to network data is monitored or processes, mid-span network equipment is introduced, such as Transmission control protocol(Transmission Control Protocol, TCP)Agency(Proxy).TCP agent respectively with service Device and client connect, and realize the forwarding and process of network data, wherein, the network data of TCP agent forwarding includes common number According to and emergency data.
In existing mechanism, due to the urgent pointer in data message form(Urgent Pointer)Information and urgent Data pointed by pointer(Above-mentioned emergency data)Only parsed in application layer, wherein, urgent pointer information includes urgent mark Will(URG flag bits in message format), emergency data starting sequence number(TCP message serial number in message format)With it is urgent ED position(Urgent pointer in message format).But, TCP agent is not relevant for upper layer application, and urgent pointer is believed Breath and emergency data are directly forwarded, and cause data processing underaction.
The content of the invention
The embodiment of the present invention provides a kind of data transmission method and equipment, it is possible to increase the motility of data processing.
First aspect, there is provided a kind of data transmission method, the method includes:Transmission control protocol TCP agency receives net Network data, the network data carries urgent pointer information and emergency data;The TCP agent obtains the urgent pointer information With the emergency data;The TCP agent carries out data processing acquisition according to the urgent pointer information to the emergency data Emergency data after process;The TCP agent fills in messages the urgent pointer information and the urgent number after the process According to, and forward the message.
With reference in a first aspect, in another kind of implementation of first aspect, the message is TCP message, the TCP generations Reason fills in messages the urgent pointer information and the emergency data after the process, including:The TCP agent will be described tight Emergency sign in anxious pointer information is filled in the tcp option of the TCP message, and will be tight in the urgent pointer information Emergency data after anxious data starting sequence number and emergency data end position, and the process is filled in the TCP message Data field emergency data domain in.
With reference to any one implementation in first aspect or its above-mentioned implementation, realize in the another kind of first aspect In mode, the message is TCP message, and the TCP agent is filled in messages after the urgent pointer information and the process Emergency data, including:The TCP agent by the urgent pointer URG flag set in the TCP message, by the urgent finger The emergency data after emergency data starting sequence number and emergency data end position, and the process in pin information is filled in In the data field emergency data domain of the TCP message.
With reference to any one implementation in first aspect or its above-mentioned implementation, realize in the another kind of first aspect In mode, also the emergency data is received including the TCP agent in the data field emergency data domain of the TCP message When, the emergency data in a stream relative to general data position information.
With reference to any one implementation in first aspect or its above-mentioned implementation, realize in the another kind of first aspect In mode, the TCP agent fills in messages the urgent pointer information and the emergency data after the process, including:Institute The emergency sign that TCP agent is set to the type of message mark in the message in the urgent pointer information is stated, will be described Emergency data starting sequence number and emergency data end position in urgent pointer information, and the emergency data is filled in institute In stating the load of message, the message includes TCP message or UDP UDP messages.
With reference to any one implementation in first aspect or its above-mentioned implementation, realize in the another kind of first aspect In mode, the network data also carries general data and the message also includes the general data.
With reference to any one implementation in first aspect or its above-mentioned implementation, realize in the another kind of first aspect It is described that data processing is carried out to the emergency data in mode, including:The emergency data is compressed or is decompressed, to institute Stating emergency data carries out duplicate removal or recovery, or the emergency data is encrypted or is decrypted.
Second aspect, there is provided a kind of transmission control protocol TCP agency, the equipment includes:Receiving unit, for receiving net Network data, the network data carries urgent pointer information and emergency data;Acquiring unit, connects for obtaining the receiving unit The urgent pointer information received and the emergency data;Processing unit is described tight for what is obtained according to the acquiring unit Anxious pointer information carries out the emergency data after data processing acquisition process to the emergency data that the acquiring unit is obtained;Fill out Unit is filled, for the urgent number after the process for filling the urgent pointer information and the processing unit processes in messages According to;Transmitting element, for forwarding the message.
With reference to second aspect, in another kind of implementation of second aspect, the message be TCP message, the filling Unit specifically for:Emergency sign in the urgent pointer information is filled in the tcp option of the TCP message, and will It is urgent after emergency data starting sequence number and emergency data end position, and the process in the urgent pointer information Data are filled in the data field emergency data domain of the TCP message.
With reference to any one implementation in second aspect or its above-mentioned implementation, realize in the another kind of second aspect In mode, the message be TCP message, the fills unit specifically for:Urgent pointer URG in the TCP message is marked Will set, by emergency data starting sequence number and emergency data end position in the urgent pointer information, and the place Emergency data after reason is filled in the data field emergency data domain of the TCP message.
With reference to any one implementation in second aspect or its above-mentioned implementation, realize in the another kind of second aspect In mode, the fills unit specifically for:Type of message mark in the message is set to into the urgent pointer information In emergency sign, by emergency data starting sequence number and emergency data end position in the urgent pointer information, and The emergency data is filled in the load of the message, and the message includes that TCP message or UDP UDP are reported Text.
With reference to any one implementation in second aspect or its above-mentioned implementation, realize in the another kind of second aspect In mode, the processing unit specifically for:The emergency data is compressed or is decompressed, the emergency data is gone Weight recovers, or the emergency data is encrypted or is decrypted.
The embodiment of the present invention obtains urgent pointer information entrained in the network data that receives and tight by TCP agent Anxious data, according to urgent pointer information the emergency data after data processing acquisition process is carried out to emergency data, is filled out in messages Emergency data after filling urgent pointer information and processing, and the message is forwarded, so as to optimize the process of network data, effectively carry The motility of high data processing.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the data transmission method of one embodiment of the invention.
Fig. 2 is the indicative flowchart of the process of the data transmission method of one embodiment of the invention.
Fig. 3 is the structured flowchart of the TCP agent of one embodiment of the invention.
Fig. 4 is the structured flowchart of the TCP agent of another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the data transmission method of one embodiment of the invention.The method of Fig. 1 is performed by TCP agent.
101, transmission control protocol TCP acts on behalf of the network data that the reception server or client send, and network data is carried Urgent pointer information and emergency data.
102, TCP agent obtains urgent pointer information and emergency data.
103, TCP agent carries out the urgent number after data processing acquisition process according to urgent pointer information to emergency data According to.
104, TCP agent fills in messages urgent pointer information and the emergency data after process, and E-Packets.
The embodiment of the present invention obtains urgent pointer information entrained in the network data that receives and tight by TCP agent Anxious data, according to urgent pointer information the emergency data after data processing acquisition process is carried out to emergency data, is filled out in messages Emergency data after filling urgent pointer information and processing, and the message is forwarded, so as to optimize the process of network data, effectively carry The motility of high data processing.
Alternatively, as one embodiment, in step 103, emergency data is processed including but not limited to:To tight Anxious data are compressed or decompress, and duplicate removal or recovery are carried out to emergency data, or emergency data are encrypted or are decrypted Process.
For example, can determine whether to process emergency data according to the size of emergency data amount, when according to promptly finger Pin information determines that the length of emergency data is more than or equal to a certain threshold value(Such as a maximum message segment segment length(Max Segment Size, MSS))When, then the emergency data is compressed or duplicate removal.So, the transmission quantity of data is reduced, being capable of effective land productivity With resource, the transfer rate of emergency data is improved.
Again for example, when according to urgent pointer information(Including emergency sign, emergency data starting sequence number and emergency data knot Beam position)When determining that the length of emergency data is less than a certain threshold value, the emergency data can directly be turned in data TCP agent layer Send out, alternatively, without the need for having processed general data after forward emergency data again.Therefore, it is possible to cause client or server and When process emergency data.
It should be understood that what above-mentioned example was merely exemplary, how embodiment of the present invention TCP agent processes emergency data acquisition Emergency data after process is not limited.
It is possible to further the general data in parallel processing network data, alternatively, when discovery network data is carried During emergency data, no longer the general data in network data can be cached, parallel processing emergency data and general data (Such as duplicate removal process is carried out to general data).After step 103, emergency data and general data can be simultaneously forwarded.Certainly, General data and emergency data that can also individually in network data.Therefore, it can based on the process of emergency data Situation is processed general data, it is possible to increase the motility of data processing.The embodiment of the present invention is not limited this.
Alternatively, as another embodiment, at step 104, TCP agent can with according to data forwarding mode in message Middle filling urgent pointer information and the emergency data after being processed, forward the message.Alternatively, data forwarding mode can be Tcp option mode, the urgent modes of improved TCP or private message mode that the present invention is provided.Certainly, data forwarding mode The urgent modes of existing TCP can also be adopted.It should be understood that the embodiment of the present invention is not limited this.It should also be understood that the present invention is real Apply example not limit the form of message, message can be TCP message, or UDP(User Datagram Protocol, UDP)Message, etc..
Specifically, in tcp option mode, above-mentioned message is TCP message, and TCP agent will be tight in urgent pointer information Anxious mark is filled in the tcp option of TCP message(option)In, and by the emergency data starting sequence number in urgent pointer information It is filled in the data field emergency data domain of TCP message with emergency data end position, and the emergency data after processing.Changing In the urgent modes of TCP entered, above-mentioned message is TCP message, and TCP agent is by the urgent pointer URG flag set in TCP message (Represent the emergency sign in urgent pointer information), emergency data starting sequence number in urgent pointer information and emergency data Emergency data after end position, and process is filled in the data field emergency data domain of TCP message.Further, in TCP When can also receive emergency data including TCP agent in the data field emergency data domain of message, emergency data is in a stream Relative to the information of the position of general data.In private message mode, message can be TCP message or UDP messages, by message In the type of message mark emergency sign that is set in urgent pointer information, by the emergency data starting in urgent pointer information Serial number and emergency data end position, and emergency data is filled in the load of message.The urgent mode of existing TCP can join Prior art is examined, here is omitted.
It is alternatively possible to pre-set above-mentioned one or more data forwarding mode in TCP agent.TCP agent can be with The data forwarding mode of urgent pointer information and emergency data is selected according to the situation of emergency data, or can be according to data flow Contextual information select the data forwarding mode of urgent pointer information and emergency data.For example, when the length of emergency data is big In or equal to a certain threshold value(Such as the length of a MSS)When, then can selecting tcp option mode or private message mode, or The improved urgent mode of person forwards the emergency data after compressed process.Again for example, when the length of emergency data is less than a certain threshold Value(Such as the length of a MSS)When, then can directly be turned with the improved urgent modes of TCP of selection or the urgent modes of existing TCP Send out the emergency data.
Alternatively, can be so that general data, i.e. TCP agent be filled in above-mentioned message by emergency data and general data one Rise and forward.For example, when duplicate removal process is carried out parallel to emergency data and the general data for receiving, TCP can be selected Emergency data and general data Jing after duplicate removal process is packed forward together by urgent mode.
If forwarding network data after treatment using the urgent modes of the TCP of prior art, it will change network number According to transmission sequence, cause the emergency data position relative to general data in a stream to change, or even lose tight Anxious data.The transmission sequence and emergency data of emergency data can be specified by data forwarding mode provided in an embodiment of the present invention In a stream relative to the position of general data, it is to avoid the loss of emergency data.
In addition, embodiments of the invention can improve data to be encrypted to emergency data before E-Packeting The safety of transmission.
It should be noted that can have one or more TCP agents between the client and server of the embodiment of the present invention, Each TCP agent can realize the process and forwarding of network data, when between client and server have multiple TCP agents When, two adjacent TCP agents can adopt acceptable data forwarding mode with advance collaboration.
The embodiment of the present invention is described in detail with reference to specific example.
Fig. 2 is the indicative flowchart of the process of the data transmission method of one embodiment of the invention.
201, TCP agent receiving network data.
Specifically, by the TCP IP stacks in TCP agent(Stack)Realize the reception of network data.
202, urgent pointer and emergency data are obtained in the network data that TCP agent is received from step 201.
Specifically, urgent pointer and tight is obtained in the network data that the TCP agent layer in TCP agent is received from TCP IP stacks Anxious data.
203, TCP agent carries out the emergency data after data processing acquisition process to emergency data.
Alternatively, emergency data is processed including but not limited to:Emergency data is compressed or is decompressed, to urgent Data carry out duplicate removal or recovery, or emergency data are encrypted or are decrypted etc. and process.
For example, can determine whether to process emergency data according to the size of emergency data amount, when according to promptly finger Pin information determines that the length of emergency data is more than or equal to a certain threshold value(Such as a MSS length)When, then the emergency data is entered Row compression or duplicate removal.So, the transmission quantity of data is reduced, resource can be effectively utilized, improve the transfer rate of emergency data.
Again for example, when the length that emergency data is determined according to urgent pointer information is less than a certain threshold value, can be tight by this Anxious data are directly forwarded in data TCP agent layer, alternatively, without the need for having processed general data after forward emergency data again.Cause This, enables to client or server processes in time emergency data.
It should be understood that what above-mentioned example was merely exemplary, how embodiment of the present invention TCP agent processes emergency data acquisition Emergency data after process is not limited.
Alternatively, TCP agent can also be processed the general data in network data(Step 204).Further, Can process emergency data while parallel processing network data in general data.For example, when discovery network data is carried When having emergency data, no longer the general data in network data can be cached, parallel processing emergency data and commonly number According to(Such as duplicate removal process is carried out to general data).It is of course also possible to the individually general data in network data and tight Anxious data.Therefore, it can process general data based on the disposition of emergency data, it is possible to increase the spirit of data processing Activity.The embodiment of the present invention is not limited this.
Specifically, by the data processing in TCP agent(Data Process)Module realizes network data(Network data or Emergency data)Data processing.
205, TCP agent selects data forwarding mode.
Specifically, data forwarding mode is selected by data processing module.
Data forwarding mode can be tcp option mode, the urgent mode of improved TCP or privately owned that the present invention is provided Message mode.Specific embodiment may be referred to above-mentioned, and here is omitted.
For example, data forwarding mode can be schematically(In a tabular form)It is expressed as follows:
The transmission sequence and urgent number of emergency data can be specified by data forwarding mode provided in an embodiment of the present invention According in a stream relative to the position of general data, it is to avoid the loss of emergency data, and also emergency data can be realized Encryption, improves the safety of data transfer.
Certainly, data forwarding mode can also adopt the urgent modes of existing TCP.It should be understood that the embodiment of the present invention is to this Do not limit.
206, TCP agent E-Packets.
Specifically, data processing module is forwarded by message by TCP agent layer from TCP IP stacks.
Message can be TCP message, or UDP messages.TCP will according to the data forwarding form that step 205 is selected Urgent pointer information and emergency data are filled in messages, forward the message.
Alternatively, can be so that general data, i.e. TCP agent be filled in above-mentioned message by emergency data and general data one Rise and forward.For example, when duplicate removal process is carried out parallel to emergency data and the general data for receiving, TCP can be selected Emergency data and general data Jing after duplicate removal process is packed forward together by urgent mode.
Alternatively, TCP agent can also individually forward general data and emergency data.It should be understood that the present invention is implemented Example is not limited this.
Fig. 3 is the structured flowchart of the TCP agent of one embodiment of the invention.The TCP agent 300 of Fig. 3 includes receiving unit 301, acquiring unit 302, processing unit 303, fills unit 304 and transmitting element 305.
Receiving unit 301, for receiving network data, network data carries urgent pointer information and emergency data.
Acquiring unit 302, for obtaining the urgent pointer information and emergency data of the reception of receiving unit 302.
Processing unit 303, what the urgent pointer information for being obtained according to acquiring unit 302 was obtained to acquiring unit 302 Emergency data carries out the emergency data after data processing acquisition process.
Fills unit 304, for filling the urgent pointer information and processing unit of the acquisition of acquiring unit 302 in messages Emergency data after 303 process for processing.
Transmitting element 305, for E-Packeting.
The embodiment of the present invention obtains urgent pointer information entrained in the network data that receives and tight by TCP agent Anxious data, according to urgent pointer information the emergency data after data processing acquisition process is carried out to emergency data, is filled out in messages Emergency data after filling urgent pointer information and processing, and the message is forwarded, so as to optimize the process of network data, effectively carry The motility of high data processing.
TCP agent 300 is capable of achieving the embodiment of Fig. 1 and Fig. 2, therefore to avoid repeating, is not described in detail.
Alternatively, as one embodiment, fills unit 304 can be also used for being filled out in messages according to data forwarding mode Emergency data after filling urgent pointer information and processing.Alternatively, data forwarding mode can be the tcp option that the present invention is provided Mode, the urgent modes of improved TCP or private message mode etc..
Further, data forwarding mode is tcp option mode and message is TCP message, and fills unit 304 is specifically used In:Emergency sign in urgent pointer information is filled in the tcp option of TCP message, and will be tight in urgent pointer information Emergency data after anxious data starting sequence number and emergency data end position, and process is filled in the data field of TCP message In emergency data domain.
It is TCP message that data forwarding mode is the urgent modes of improved TCP and message, fills unit 304 specifically for:Will Urgent pointer URG flag set in TCP message, by emergency data starting sequence number and emergency data in urgent pointer information Emergency data after end position, and process is filled in the data field emergency data domain of TCP message.
Data forwarding mode be private message mode, fills unit 304 specifically for:Type of message in message is identified The emergency sign being set in urgent pointer information, by emergency data starting sequence number and emergency data in urgent pointer information End position, and emergency data is filled in the load of message, message can be TCP message, or UDP messages.
The transmission sequence and urgent number of emergency data can be specified by data forwarding mode provided in an embodiment of the present invention According in a stream relative to the position of general data, it is to avoid the loss of emergency data, and also emergency data can be realized Encryption, improves the safety of data transfer.
Certainly, data forwarding mode can also adopt the urgent modes of existing TCP.It should be understood that the embodiment of the present invention is to this Do not limit.
Alternatively, as another embodiment, processing unit 303 specifically for:Emergency data is compressed or is decompressed, Duplicate removal or recovery are carried out to emergency data, or emergency data is encrypted or is decrypted.Specific embodiment may be referred to it is above-mentioned, Here is omitted, it should be appreciated that how embodiment of the present invention TCP agent processes emergency data does not limit.
The embodiment of the present invention further provides the device embodiment for realizing each step and method in said method embodiment.Figure 4 is the structured flowchart of the TCP agent of another embodiment of the invention, and in this embodiment, equipment 400 includes processor 401, deposits Reservoir 402, transmitter 403 and receptor 404.The operation of the control device 400 of processor 401, processor 401 can also be referred to as CPU.Memorizer 402 can include read only memory and random access memory, and to the provide instruction and data of processor 401. The a part of of memorizer 402 can also include non-volatile row random access memory(NVRAM).Processor 401, memorizer 402, Transmitter 403 and receptor 404 are coupled by bus system 410, wherein bus system 410 except include data/address bus it Outward, also including power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, will be various total in figure Line is all designated as bus system 410.
The method that the embodiments of the present invention are disclosed can apply above-mentioned equipment 400.Wherein, processor 401 is probably A kind of IC chip, the disposal ability with signal.During realization, each step of said method can be by processing The integrated logic circuit of the hardware in device 401 or the instruction of software form are completed.
Receptor 404, for receiving network data, network data carries urgent pointer information and emergency data.
Processor 401, for obtaining the urgent pointer information and emergency data of the reception of receptor 404;It is additionally operable to basis to obtain The urgent pointer information for taking carries out the emergency data after data processing acquisition process to the emergency data for obtaining;It is additionally operable in message Emergency data after the urgent pointer information of middle filling acquisition and process.
Transmitter 403, for E-Packeting.
The embodiment of the present invention obtains urgent pointer information entrained in the network data that receives and tight by TCP agent Anxious data, according to urgent pointer information the emergency data after data processing acquisition process is carried out to emergency data, is filled out in messages Emergency data after filling urgent pointer information and processing, and the message is forwarded, so as to optimize the process of network data, effectively carry The motility of high data processing.
Equipment 400 is capable of achieving the embodiment of Fig. 1 and Fig. 2, therefore to avoid repeating, is not described in detail.
Alternatively, as one embodiment, processor 401 can be also used for being filled in messages according to data forwarding mode Emergency data after urgent pointer information and process.Alternatively, data forwarding mode can be the tcp option side that the present invention is provided Formula, the urgent modes of improved TCP or private message mode etc..
Further, data forwarding mode be tcp option mode and message be TCP message, processor 401 specifically for: Emergency sign in urgent pointer information is filled in the tcp option of TCP message, and by the urgent number in urgent pointer information According to starting sequence number and emergency data end position, and process after emergency data be filled in TCP message data field it is urgent In data field.
It is TCP message that data forwarding mode is the urgent modes of improved TCP and message, processor 401 specifically for:Will Urgent pointer URG flag set in TCP message, by emergency data starting sequence number and emergency data in urgent pointer information Emergency data after end position, and process is filled in the data field emergency data domain of TCP message.
Data forwarding mode be private message mode, processor 401 specifically for:Type of message mark in message is set The emergency sign being set in urgent pointer information, the emergency data starting sequence number in urgent pointer information and emergency data are tied Beam position, and emergency data is filled in the load of message, message can be TCP message, or UDP messages.
The transmission sequence and urgent number of emergency data can be specified by data forwarding mode provided in an embodiment of the present invention According in a stream relative to the position of general data, it is to avoid the loss of emergency data, and also emergency data can be realized Encryption, improves the safety of data transfer.
Certainly, data forwarding mode can also adopt the urgent modes of existing TCP.It should be understood that the embodiment of the present invention is to this Do not limit.
Alternatively, as another embodiment, processor 401 specifically for:Emergency data is compressed or is decompressed, it is right Emergency data carries out duplicate removal or recovery, or emergency data is encrypted or is decrypted.Specific embodiment may be referred to it is above-mentioned, this Place repeats no more, it should be appreciated that how embodiment of the present invention TCP agent processes emergency data does not limit.
Those of ordinary skill in the art are it is to be appreciated that the list of each example with reference to the embodiments described herein description Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment(Can be individual People's computer, server, or network equipment etc.)Perform all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory(ROM, Read-Only Memory), random access memory deposits Reservoir(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.

Claims (4)

1. a kind of data transmission method, it is characterised in that include:
Transmission control protocol TCP acts on behalf of receiving network data, and the network data carries urgent pointer information and emergency data;
The TCP agent obtains the urgent pointer information and the emergency data;
The TCP agent carries out urgent after data processing acquisition process according to the urgent pointer information to the emergency data Data;
The TCP agent fills in messages the urgent pointer information and the emergency data after the process, and forwards described Message;
It is described data processing is carried out to the emergency data to include:Compression, duplicate removal or encryption;
Wherein, the TCP agent fills in messages the urgent pointer information and the emergency data after the process, including:
Type of message mark in the message is set to the TCP agent emergency sign in the urgent pointer information, Emergency data starting sequence number and emergency data end position in the urgent pointer information, and the emergency data are filled out Fill in the load of the message, the message includes TCP message or UDP UDP messages;
If the message is TCP message, the TCP agent is filled in messages after the urgent pointer information and the process Emergency data, including:
The TCP agent is filled in the emergency sign in the urgent pointer information in the tcp option of the TCP message, and It is tight after by the emergency data starting sequence number and emergency data end position, and the process in the urgent pointer information Anxious data are filled in the data field emergency data domain of the TCP message;Or
The TCP agent, will be tight in the urgent pointer information by the urgent pointer URG flag set in the TCP message Emergency data after anxious data starting sequence number and emergency data end position, and the process is filled in the TCP message Data field emergency data domain in.
2. method according to claim 1, it is characterised in that in the data field emergency data domain of the TCP message also When receiving the emergency data including the TCP agent, the emergency data is in a stream relative to the position of general data The information put.
3. method according to claim 1 and 2, it is characterised in that the network data also carries general data and described Message also includes the general data.
4. a kind of transmission control protocol TCP is acted on behalf of, it is characterised in that included:
Receiving unit, for receiving network data, the network data carries urgent pointer information and emergency data;
Acquiring unit, for obtaining the urgent pointer information and the emergency data that the receiving unit is received;
Processing unit, the institute that the urgent pointer information for being obtained according to the acquiring unit is obtained to the acquiring unit Stating emergency data carries out the emergency data after data processing acquisition process;
Fills unit, for after the process for filling the urgent pointer information and the processing unit processes in messages Emergency data;
Transmitting element, for forwarding the message;
The processing unit to the emergency data specifically for being compressed, duplicate removal or encryption;
Wherein, the fills unit specifically for:
Emergency sign type of message mark in the message being set in the urgent pointer information, by the urgent finger Emergency data starting sequence number and emergency data end position in pin information, and the emergency data is filled in the message Load in, the message includes TCP message or UDP UDP messages;Or,
If the message is TCP message, the emergency sign in the urgent pointer information is filled in into the TCP of the TCP message It is in option, and by the emergency data starting sequence number and emergency data end position in the urgent pointer information and described Emergency data after process is filled in the data field emergency data domain of the TCP message;Or will be urgent in the TCP message Pointer URG flag sets, by emergency data starting sequence number and emergency data end position in the urgent pointer information, with And the emergency data after the process is filled in the data field emergency data domain of the TCP message.
CN201310196820.8A 2013-05-24 2013-05-24 Data transmission equipment and data transmission method Active CN103297430B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567915A (en) * 2003-07-02 2005-01-19 明基电通股份有限公司 A method for settled transmission of wireless TCP/IP message header
CN1655552A (en) * 2004-02-13 2005-08-17 三星电子株式会社 Managing 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)

* Cited by examiner, † Cited by third party
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
US9154369B2 (en) * 2007-11-09 2015-10-06 Nokia Technologies Oy Method, apparatus and software for packet modification

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567915A (en) * 2003-07-02 2005-01-19 明基电通股份有限公司 A method for settled transmission of wireless TCP/IP message header
CN1655552A (en) * 2004-02-13 2005-08-17 三星电子株式会社 Managing 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
JP7029471B2 (en) Uplink data decompression, compression method and equipment
CN109756536A (en) A kind of method, apparatus and system of data transmission
CN110418376A (en) Data transmission method and device
CN105264930B (en) Sending node and its reporting cached state method
US20210281401A1 (en) Methods, systems, and computer readable media for utilizing predetermined encryption keys in a test simulation environment
US11023412B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
CN106790221A (en) A kind of safe ipsec protocol encryption method of internet protocol and the network equipment
CN110620762A (en) RDMA (remote direct memory Access) -based data transmission method, network card, server and medium
CN106941457B (en) The method and device of IP packet frament reassembling based on multi-core processor
CN111224903A (en) Data transmission method, data transmission equipment and computer readable storage medium
CN103297430B (en) Data transmission equipment and data transmission method
CN105656794B (en) Data distributing method, device and computer readable storage medium
CN103051612B (en) Fire compartment wall and prevent method of network attack
CN106411677A (en) Method and device for determining optimal maximum transmission unit (MTU) of virtual private network (VPN) data channel
CN114793210B (en) Method, device and system for transmitting and receiving data message in multiple-transmission and selective-reception manner
TWI276951B (en) Checksum determination
CN105227569B (en) The data pack transmission method and device of application
CN114785805A (en) Data transmission method and device, electronic equipment and storage medium
CN111356178B (en) Transmission method, transmitting side PDCP entity and receiving side PDCP entity
CN107889162A (en) The method and apparatus of processing protocol data cell
JP2002026927A (en) Capsulating method and unit, and program recording medium
CN105847289A (en) Data transmission method and data transmission device
CN106559838A (en) Business processing optimization method and device
CN107770018B (en) Communication method and device for serial communication system
CN105871675B (en) A kind of data processing 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

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.

TR01 Transfer of patent right