CN1212575C - Automatic space reserving system and method for packaging between channels - Google Patents

Automatic space reserving system and method for packaging between channels Download PDF

Info

Publication number
CN1212575C
CN1212575C CN 01144125 CN01144125A CN1212575C CN 1212575 C CN1212575 C CN 1212575C CN 01144125 CN01144125 CN 01144125 CN 01144125 A CN01144125 A CN 01144125A CN 1212575 C CN1212575 C CN 1212575C
Authority
CN
China
Prior art keywords
gateway
package
host
source host
control 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.)
Expired - Lifetime
Application number
CN 01144125
Other languages
Chinese (zh)
Other versions
CN1425996A (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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to CN 01144125 priority Critical patent/CN1212575C/en
Publication of CN1425996A publication Critical patent/CN1425996A/en
Application granted granted Critical
Publication of CN1212575C publication Critical patent/CN1212575C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention relates to a system and a method for automatically reserving space among channels. The system mainly utilizes a first gateway connector to back feed an ICMP control message to at least one source host, changes a maximum data segment length value in a TCP connecting line package emitted by the source host, and transmit the changed connecting line package to a destination host through a second gateway connector; when the destination host receives the changed connecting line package, the system back feeds an approved connecting line package to at least one source host to accomplish a connecting line. Then, when at least one source host transmits package data to the destination host, a maximum transmission unit informed in a control message back fed by the first gateway connector, or a maximum data segment length value after the connecting line negotiation of the source host and the destination host is used for cutting a package to transmit; therefore, the goal of controlling the size of a package sent out from a source terminal to reserve space is achieved.

Description

The System and method for of the automatic headspace of interchannel package
Technical field
The invention relates to a kind of transmission method of data packet, refer to a kind of System and method for that is applicable to the automatic headspace of interchannel package especially.
Background technology
Press, when the transfer data between networks package, some agreement need to be encrypted or particular processing in addition, if come source host and destination host to lay respectively at different net territories, usually come the data packet between source host and the destination host, after need encryption or special processing via source gateway and a purpose gateway, the passage (Tunnel) that sees through between two gateways is sent to the other side again, but, because many these encryptions or special processing action, make former data packet need add extra packet header (Packet Header), cause encrypting or special processing after data packet may surpass the MTU that transmission channel allowed (the MaximumTransmission Unit that gateway connected, MTU) value, and make data packet can't successfully send out (if former package belongs to the package that can not cut), or gateway must spend the extra time that package cut can be sent out, not only waste the resource of gateway, and data packet originally is cut into two packages by a package, has also increased to transmit the probability of losing on network.Hence one can see that, and known data packet transmission method still has many shortcomings, and is necessary to be improved.
Summary of the invention
Fundamental purpose of the present invention, promptly at the System and method for that the automatic headspace of a kind of interchannel package is provided, be to send world-wide web control information agreement (Internet ControlMessage Protocol with source end gateway, the control information package that can't arrive at ICMP) (Unreachable) must be cut apart (Fragmentation Required) is given source end main frame, and maximum data length value (the Maximum Segment Size of change line package (Sync Packet), MSS), when sending data packet to destination host to order about source end main frame, after promptly reservation source gateway is done encryption or special processing earlier, the header length space that needs increase, so, with the gateway that makes data packet through the source end, even be added into the header data of extra length, do not need to be cut again yet, can send out, to save resource and time.
According to a characteristic of the present invention, the system of the automatic headspace of a kind of interchannel package that is proposed is characterized in that, mainly comprises:
At least onely come source host;
One first gateway is to connect this at least onely to come source host;
One destination host; And
One second gateway is to connect this destination host, and and another net territory in this first gateway between have a passage;
Wherein, this first gateway will return a control information and at least onely come source host for this, this control information contains a maximum transmission unit value, the actual MTU of the TCP/IP passage that this maximum transmission unit value connects for this first gateway deduct that this first gateway is encrypted or special processing after the result of the additional header length that produced, this first gateway also at least onely comes the maximum data length value in the TCP line package that source host sends to make an amendment to this, new maximum data length value be former maximum data length value deduct this first gateway do encrypt or special processing after the additional header length that produced, and the TCP line package that will revise is sent to destination host, receive the TCP line package of this modification when this destination host, it compares this TCP line package and the maximum data length value of presetting, and the TCP line package that returns an approval gives and should be at least one to come source host, to finish the line negotiation; When this is at least one when coming source host to transmit the tcp data package, be with the maximum transmission unit value in this control information, or the maximum data length value after source host side and the negotiation of destination line, cut this tcp data package.
Wherein the control information that returned of this first gateway be world-wide web control information agreement can't arrive at the control information that must cut apart.
According to another characteristic of the present invention, the method of the automatic headspace of a kind of interchannel of the present invention, be to utilize at least onely to come source host, one first gateway, one second gateway and a destination host to set up connection channels, so that for transmitting data packet, it is characterized in that this method mainly comprises following step:
(A) this first gateway is passed a control information back and is at least onely come source host for this, it contains a maximum transmission unit value, and this maximum transmission unit value is that the actual MTU of the TCP/IP passage of first gateway connection deducts the additional header length that is produced after encryption of first gateway or the special processing;
(B) first gateway will be to coming the maximum data length value in the TCP line package that source host sent to make an amendment by at least one, new maximum data length value is that former maximum data length value deducts the additional header length that is produced after this first gateway encryption or the special processing, and will this amended TCP line package via second gateway in another net territory, be sent to destination host;
(C) after this destination host is received this amended TCP line package, carry out a comparison process, and the TCP line package that returns an approval is given and should be at least one to be come source host to finish the line negotiation; And
(D) this at least one to come source host be maximum transmission unit value with this control information, or source end and the destination maximum data length value of reaching an agreement on cuts and transmits this data packet.
In its step (A), this control information be world-wide web control information agreement can't arrive at the control information that must cut apart.
Because the present invention constructs novelty, can provide on the industry and utilize, and truly have the enhancement effect, so apply for patent of invention in accordance with the law.
Description of drawings
For further understanding architectural feature of the present invention and practical effect, below in conjunction with the detailed description of accompanying drawing and preferred embodiment as after, wherein:
Fig. 1 is a system architecture diagram of the present invention;
Fig. 2 is an information flow chart of the present invention;
Fig. 3 is the ICMP information content that first gateway is sent among the present invention.
Embodiment
In the preferred embodiment explanation of the system of the automatic headspace of interchannel package of the present invention and its method, be to adopt the TCP/IP communications protocol.Please consult the shown system architecture diagram of Fig. 1 earlier, it mainly comprises coming main members such as source host 1, first gateway 2, second gateway 3, destination host 4 and world-wide web 5.
An aforesaid source end that comes source host 1 to be positioned at world-wide web 5 in the present invention, for convenience of description, only comes source host 1 to be shown among Fig. 1 with one, generally includes one or several main frames at practical situation source end certainly.This first gateway 2 is the gateway of close source end, and is connected with coming source host 1, comes source host 1 and other to net the passage interface that must do encryption or special processing between the main frame in territories in order to conduct.The other end at world-wide web 5 has one second gateway 3, and itself and 2 of first gateways have a transmission channel.The other end of second gateway 3 is to connect a destination host 4, and must do the passage interface of encryption or special processing between the main frame as destination host 4 and other net territories.
Fig. 2 shows information flow chart of the present invention, and (Maximum Transmission Unit, MTU) value is 1500 characters to the actual MTU of the interface passage of first gateway, 2 past second gateways 3.
When come source host 1 send a package through 2 tendencies to develop of first gateway toward the destination host 4 of another net in territory, a world-wide web control information agreement of first gateway, 2 passbacks (Internet Control Message Protoco 1, ICMP) can't arrive at the control information (type=3 that (Unreachable) must cut apart (Fragmentation Required), code=4) package gives source host 1, include a MTU value in this ICMP Unreachable (Fragmentation Required) control information package, be by actual MTU value 1500 characters of first gateway 2 toward the interface passage of second gateway 3, deduct that first gateway 2 is encrypted or special processing after institute understand additional header length 40 characters of generation, so contained MTU value is 1460 characters in this ICMP Unreachable (Fragmentation Required) control information package.
If the package that comes source host 1 to send is a TCP line bag (Sync Packet) to the destination host 4 in another net territory, and the maximum data length value in the line package (MaximumSegment Size MSS) is 1460 characters.First gateway 2 is except returning aforesaid ICMP Unreachable (Fragmentation Required) control information package, first gateway 2 also can be with MSS value 1460 characters of line package, deduct that first gateway 2 is encrypted or special processing after institute understand additional header length 40 characters of generation, be 1420 characters so the MSS value of line package becomes.
First gateway 2 is the destination address of line package successively again, do encrypt or special processing after, be sent to after second gateway, 3, the second gateways 3 that another net territory is connected do deciphering or special processing, be resent to destination host 4.After destination host 4 receives the line package, can compare MSS value 1420 characters and itself default MSS value 1460 character in the line package, and adopt less MSS value 1420 characters, put into the line package (Sync/Ack Packet) of the approval that is returned to source host l, so, come source host 1 will think that MSS value 1420 characters are MSS values that destination host 4 is allowed, make source host 1 and destination host 4 to reach line and consult, the data packet (TCP Packet) that all adopts MSS value 1420 characters to cut tendency to develop to go out.
Perhaps come MTU value 1460 characters in ICMPUnreachable (Fragmentation Required) the control information package that source host 1 will be transmitted according to first gateway 2 to cut the data packet (Non-TCP Packet) that destination host 4 is delivered in tendency to develop.
By above explanation as can be known, the present invention sends ICMPUnreachable (Fragmentation Required) control information package with first gateway 2 and gives source host 1, and the MSS value of change line package, in the time of can making source host 1 to send data packet to destination host 4, promptly reserve the additional header length space that is produced after 2 encryptions of first gateway or the special processing earlier, when therefore data packet is through first gateway 2, even be added into additional header length, do not need the data package is cut and can pass yet, alleviated the burden and the processing time of first gateway 2 widely.
In sum, no matter the present invention all is different from the feature of known technology with regard to purpose, method and effect.Only it should be noted that above-mentioned many embodiment only give an example for convenience of explanation, the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.

Claims (4)

1. the system of the automatic headspace of interchannel package is characterized in that, mainly comprises:
At least onely come source host;
One first gateway is to connect this at least onely to come source host;
One destination host; And
One second gateway is to connect this destination host, and and another net territory in this first gateway between have a passage;
Wherein, this first gateway will return a control information and at least onely come source host for this, this control information contains a maximum transmission unit value, the actual MTU of the TCP/IP passage that this maximum transmission unit value connects for this first gateway deduct that this first gateway is encrypted or special processing after the result of the additional header length that produced, this first gateway also at least onely comes the maximum data length value in the TCP line package that source host sends to make an amendment to this, new maximum data length value be former maximum data length value deduct this first gateway do encrypt or special processing after the additional header length that produced, and the TCP line package that will revise is sent to destination host, receive the TCP line package of this modification when this destination host, it compares this TCP line package and the maximum data length value of presetting, and the TCP line package that returns an approval gives and should be at least one to come source host, to finish the line negotiation; When this is at least one when coming source host to transmit the tcp data package, be with the maximum transmission unit value in this control information, or the maximum data length value after source host side and the negotiation of destination line, cut this tcp data package.
2. the system of the automatic headspace of interchannel according to claim 1 is characterized in that, wherein the control information that returned of this first gateway be world-wide web control information agreement can't arrive at the control information that must cut apart.
3. the method for the automatic headspace of interchannel, be to utilize at least onely to come source host, one first gateway, one second gateway and a destination host to set up connection channels, so that, it is characterized in that this method mainly comprises following step for transmitting data packet:
(A) this first gateway is passed a control information back and is at least onely come source host for this, it contains a maximum transmission unit value, and this maximum transmission unit value is that the actual MTU of the TCP/IP passage of first gateway connection deducts the additional header length that is produced after encryption of first gateway or the special processing;
(B) first gateway will be to coming the maximum data length value in the TCP line package that source host sent to make an amendment by at least one, new maximum data length value is that former maximum data length value deducts the additional header length that is produced after this first gateway encryption or the special processing, and will this amended TCP line package via second gateway in another net territory, be sent to destination host;
(C) after this destination host is received this amended TCP line package, carry out a comparison process, and the TCP line package that returns an approval is given and should be at least one to be come source host to finish the line negotiation; And
(D) this at least one to come source host be maximum transmission unit value with this control information, or source end and the destination maximum data length value of reaching an agreement on cuts and transmits this data packet.
4. the method for the automatic headspace of interchannel according to claim 3 is characterized in that, in its step (A), this control information be world-wide web control information agreement can't arrive at the control information that must cut apart.
CN 01144125 2001-12-11 2001-12-11 Automatic space reserving system and method for packaging between channels Expired - Lifetime CN1212575C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01144125 CN1212575C (en) 2001-12-11 2001-12-11 Automatic space reserving system and method for packaging between channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01144125 CN1212575C (en) 2001-12-11 2001-12-11 Automatic space reserving system and method for packaging between channels

Publications (2)

Publication Number Publication Date
CN1425996A CN1425996A (en) 2003-06-25
CN1212575C true CN1212575C (en) 2005-07-27

Family

ID=4677319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01144125 Expired - Lifetime CN1212575C (en) 2001-12-11 2001-12-11 Automatic space reserving system and method for packaging between channels

Country Status (1)

Country Link
CN (1) CN1212575C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594505A (en) * 2012-02-08 2012-07-18 华为技术有限公司 Data transmission method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7483376B2 (en) * 2004-06-17 2009-01-27 International Business Machines Corporation Method and apparatus for discovering path maximum transmission unit (PMTU)
US7474619B2 (en) 2004-07-22 2009-01-06 International Business Machines Corporation Method and apparatus for providing fragmentation at a transport level along a transmission path
JP2008035272A (en) 2006-07-28 2008-02-14 Canon Inc Information processing system and data communication method in the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594505A (en) * 2012-02-08 2012-07-18 华为技术有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN1425996A (en) 2003-06-25

Similar Documents

Publication Publication Date Title
JP5043975B2 (en) Manipulating header fields to improve packet communication performance
EP2763361B1 (en) Method and system for transmitting IP message, negotiating bandwidth saving capability and saving network bandwidth
US6850519B1 (en) Communication node and packet transfer method
US8155002B2 (en) Method for automatically inflating the receive window size in TCP connections
EP1258101B1 (en) Cable modem system and method for specialized data transfer
US20020165973A1 (en) Adaptive transport protocol
WO2005026912B1 (en) Internet protocol optimizer
CN1863165A (en) Method for reducing data IP fragmentation quantity in PS network
Bormann Providing integrated services over low-bitrate links
KR20060101466A (en) Method, system and article for dynamic real-time stream aggregation in a network
CN102143078A (en) Forwarding equipment as well as method and system for processing message
CN1225883C (en) Bandwidth-saving phonetic transmission method
CN1212575C (en) Automatic space reserving system and method for packaging between channels
CN1225876C (en) Message transmitting method based on multi-protocol tag exchange network
US20010022785A1 (en) Control of application-specific quality of service optimizations
CN1842996A (en) Data segregation and fragmentation in a wireless network for improving video performance
JP2006191354A (en) Data distribution management device and data distribution management method
CN1426204A (en) System and method for automatically driving and changing package length to meet channel width
US20020143988A1 (en) System and method to implement an improved frame fragmentation protocol to facilitate efficient transmission of prioritized data
US6195348B1 (en) Dynamic realtime protocol for facsimile and the like
CN110943972A (en) Data processing method and device
KR102179496B1 (en) Bi-directional communication system and method of system information of cable broadcast
CN115022419B (en) Method, device and storage medium for automatically adjusting MSS
Morais et al. 5G Transport Payload: Ethernet-Based Packet-Switched Data
CN116389178B (en) Method and device for compensating and adjusting UDP multicast lost frame level of data file

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20050727

CX01 Expiry of patent term