CN1212575C - System and method for automatically reserving space for packets between channels - Google Patents

System and method for automatically reserving space for packets 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
host
packet
source host
data segment
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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A system and method for automatically reserving space between channels mainly utilizes a first internetwork connector to return an ICMP control message to at least one source host, changes the length value of the maximum data segment in a TCP connection packet sent by the source host, then transmits the changed connection packet to a destination host through a second internetwork connector, and when the destination host receives the changed connection packet, it returns an approved connection packet to at least one source host to complete the connection. When at least one source host transmits packet data to the destination host, the packet is cut for transmission by the maximum transmission unit informed by the control information returned by the first internetwork connector or the maximum data segment length value after the negotiation between the source host and the destination host, thus achieving the purpose of controlling the size of the packet sent by the source end to reserve space.

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.一种通道间封包自动预留空间的系统,其特征在于,主要包含:1. A system for automatically reserving space for packets between channels, characterized in that it mainly includes: 至少一来源主机;at least one source host; 一第一网间连接器,是连接该至少一来源主机;a first gateway connected to the at least one source host; 一目的主机;以及a destination host; and 一第二网间连接器,是连接该目的主机,并与另一网域中的该第一网间连接器间存有一通道;A second gateway is connected to the destination host and has a channel with the first gateway in another network domain; 其中,该第一网间连接器将回传一控制信息给该至少一来源主机,该控制信息含有一最大传输单元值,该最大传输单元值为该第一网间连接器连接的TCP/IP通道的实际最大传输单元减去该第一网间连接器进行加密或特殊处理后所产生的额外标头长度的结果,该第一网间连接器并对该至少一来源主机发出的TCP连线封包中的最大数据段长度值做修改,新最大资料段长度值为原最大资料段长度值减去该第一网间连接器做加密或特殊处理后所产生的额外标头长度,并将该修改过的TCP连线封包传送至目的主机,当该目的主机收到该修改过的TCP连线封包,其将该TCP连线封包与预设的最大资料段长度值做比较,并回传一认可的TCP连线封包给该至少一来源主机,以完成连线协商;当该至少一来源主机传送TCP数据封包时,是以该控制信息中的最大传输单元值,或是来源主机端与目的端连线协商后的最大资料段长度值,来切割该TCP数据封包。Wherein, the first gateway will return a control message to the at least one source host, the control message contains a maximum transmission unit value, and the maximum transmission unit value is the TCP/IP connection to the first gateway. The actual maximum transmission unit of the channel minus the extra header length generated by the encryption or special processing of the first gateway, and the TCP connection sent by the first gateway to the at least one source host The maximum data segment length value in the packet is modified, and the new maximum data segment length value is the original maximum data segment length value minus the extra header length generated by the first gateway after encryption or special processing, and the The modified TCP connection packet is sent to the destination host. When the destination host receives the modified TCP connection packet, it compares the TCP connection packet with the preset maximum data segment length value, and returns a An approved TCP connection packet is sent to the at least one source host to complete the connection negotiation; when the at least one source host transmits a TCP data packet, it uses the maximum transmission unit value in the control information, or the source host end and the destination The maximum data segment length value negotiated by the end connection is used to cut the TCP data packet. 2.根据权利要求1所述的通道间自动预留空间的系统,其特征在于,其中该第一网间连接器所回传的控制信息为一网际网络控制信息协定的无法抵达必须分割的控制信息。2. The system for automatically reserving space between channels according to claim 1, wherein the control information returned by the first gateway is an Internet control information protocol that cannot reach and must be divided. information. 3.一种通道间自动预留空间的方法,是利用至少一来源主机、一第一网间连接器、一第二网间连接器、以及一目的主机建立连线通道,以便供传送数据封包,其特征在于,该方法主要包括下述的步骤:3. A method for automatically reserving space between channels is to use at least one source host, a first gateway, a second gateway, and a destination host to establish a connection channel for transmitting data packets , characterized in that the method mainly includes the following steps: (A)该第一网间连接器传回一控制信息给该至少一来源主机,其含有一最大传输单元值,该最大传输单元值为第一网间连接器连接的TCP/IP通道的实际最大传输单元减去第一网间连接器加密或特殊处理后所产生的额外标头长度;(A) The first gateway sends back a control message to the at least one source host, which contains a maximum transmission unit value, and the maximum transmission unit value is the actual TCP/IP channel connected to the first gateway. The maximum transmission unit minus the additional header length generated by the encryption or special processing of the first gateway; (B)第一网间连接器将对由至少一来源主机所发出的TCP连线封包中的最大数据段长度值做修改,新最大资料段长度值为原最大资料段长度值减去该第一网间连接器加密或特殊处理后所产生的额外标头长度,并将该修改后的TCP连线封包经由另一网域的第二网间连接器,传送至目的主机;(B) The first gateway will modify the maximum data segment length value in the TCP connection packet sent by at least one source host, and the new maximum data segment length value will be the original maximum data segment length value minus the first An extra header length generated by encryption or special processing of a gateway, and the modified TCP connection packet is transmitted to the destination host through a second gateway of another network domain; (C)该目的主机收到该修改后的TCP连线封包后,进行一比较处理,并回传一认可的TCP连线封包给该至少一来源主机以完成连线协商;以及(C) After the destination host receives the modified TCP connection packet, it performs a comparison process, and returns an approved TCP connection packet to the at least one source host to complete the connection negotiation; and (D)该至少一来源主机是以该控制信息的最大传输单元值,或是来源端与目的端所协定的最大数据段长度值,来切割传送该数据封包。(D) The at least one source host splits and transmits the data packet according to the maximum transmission unit value of the control information, or the maximum data segment length agreed between the source end and the destination end. 4.根据权利要求3所述的通道间自动预留空间的方法,其特征在于,其步骤(A)中,该控制信息为一个网际网络控制信息协定的无法抵达必须分割的控制信息。4. The method for automatically reserving space between channels according to claim 3, characterized in that, in the step (A), the control information is an Internet control information agreement that cannot be reached and must be divided.
CN 01144125 2001-12-11 2001-12-11 System and method for automatically reserving space for packets 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 System and method for automatically reserving space for packets between channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01144125 CN1212575C (en) 2001-12-11 2001-12-11 System and method for automatically reserving space for packets 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 System and method for automatically reserving space for packets 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
US7865599B2 (en) Methods and apparatus for supporting transmission of streaming data
US8078672B2 (en) Bidirectional asynchronous data communication
JP5043975B2 (en) Manipulating header fields to improve packet communication performance
US7126955B2 (en) Architecture for efficient utilization and optimum performance of a network
KR100759954B1 (en) Method for signaling client rate capacity in multimedia streaming
EP1678909B1 (en) Method, system and article for dynamic real-time stream aggregation in a network
DE60120793T2 (en) Method and compressor for compressing time stamp information of packets
US6182149B1 (en) System for managing dynamic processing resources in a network
CN1516413A (en) Header Compression Status Update in Packet Communication
Bormann Providing integrated services over low-bitrate links
CN1440176A (en) Method for transmitting data packets by utilizing real-time transmission protocol and its control protocol
CN1225876C (en) Message transmitting method based on multi-protocol tag exchange network
US7543072B1 (en) Method and system capable of performing a data stream over multiple TCP connections or concurrent interleave of multiple data streams over multiple TCP connections
CN1212575C (en) System and method for automatically reserving space for packets between channels
CN1309201C (en) Method and system for client application control of network transmission loss tolerance
US7933257B2 (en) Using QoS tunnels for TCP latency optimization
Abualhaj et al. Down to Zero Size of VoIP Packet Payload.
CN1842996A (en) Data segregation and fragmentation in a wireless network for improving video performance
Khanvilkar et al. Multimedia networks and communication
CN117278315A (en) Data cross-network switching method and system
CN1426204A (en) System and method for automatically driving changing packet length to match channel width
Hannu Signaling compression (SigComp) requirements & assumptions
US7342938B1 (en) Spectrally efficient approach to protection of key elements in a non-homogenous data stream
Griwodz et al. Affordable Infrastructure for Stream Playback in the Internet
KR101384125B1 (en) Apparatus and method for generating quality of service parameter about mac layer in communication system

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