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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 claims description 21
- 238000013467 fragmentation Methods 0.000 description 7
- 238000006062 fragmentation reaction Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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
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.
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)
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)
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)
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 |
-
2001
- 2001-12-11 CN CN 01144125 patent/CN1212575C/en not_active Expired - Lifetime
Cited By (1)
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 |