CN102036304B - Method for providing maximum transmission unit length for terminal and packet switch gateway - Google Patents
Method for providing maximum transmission unit length for terminal and packet switch gateway Download PDFInfo
- Publication number
- CN102036304B CN102036304B CN 200910177420 CN200910177420A CN102036304B CN 102036304 B CN102036304 B CN 102036304B CN 200910177420 CN200910177420 CN 200910177420 CN 200910177420 A CN200910177420 A CN 200910177420A CN 102036304 B CN102036304 B CN 102036304B
- Authority
- CN
- China
- Prior art keywords
- packet
- terminal
- length
- mtu length
- mtu
- 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 - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000005540 biological transmission Effects 0.000 title claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 34
- 238000005538 encapsulation Methods 0.000 claims description 25
- 230000004044 response Effects 0.000 claims description 15
- 230000004913 activation Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims 1
- 239000012634 fragment Substances 0.000 abstract description 2
- 230000007246 mechanism Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 101000911390 Homo sapiens Coagulation factor VIII Proteins 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 102000057593 human F8 Human genes 0.000 description 6
- 229940047431 recombinate Drugs 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000008521 reorganization Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for providing maximum transmission unit (MTU) length for a terminal, which comprises that: a packet switch gateway acquires the current terminal MTU length; the packet switch gateway provides the current terminal MTU length for the terminal and is used for transmitting a data packet through the terminal according to the current terminal MTU length. The invention also provides a packet switch gateway. In the invention, the packet switch gateway provides the current terminal MTU length for the terminal; therefore, the terminal can determine the current terminal MTU length and transmit the data packet according to the current terminal MTU length, the length of the data packet transmitted by the terminal is consistent with the terminal MTU length, and fragment and defragment of the data packet are voided in a packet switch bearing network. Therefore, the communication efficiency is improved.
Description
Technical field
The present invention relates to wireless communication technology, relate in particular to method and packet switching (PS, Packet Switch) gateway (Gateway) that MTU (MTU, Maximum Transmission Unit) length is provided for terminal.
Background technology
Along with the development of the communication technology, wireless communication bandwidth increases gradually, and for supporting the wireless bandwidth application of high speed development, operator has higher requirement to the packet switched bearer network,, supports large capacity, the high performance Business Processing of handling up that is.And, along with the variation of Packet Service and terminal development, the length of packet is also changing.For example, for point-to-point (P2P, peer-to-peer) business, the length of up packet increases gradually.And take IP as basic packet switched bearer network, and can there be some intrinsic defects, for example, it is improper that the length of the MTU in IP network arranges, and communication quality can reduce greatly so, even communication disruption can occur.
MTU refers to the maximum data packet transmitted on network, and unit is byte.In routing procedure, if the length of an IP packet is greater than the length of the MTU of router transmission interface, this IP packet will be divided into the IP packet that a plurality of length all is not more than the length of MT reconnaissance U and sent so, these length all are not more than in the IP packet of length of MT reconnaissance U all with 16 identical bit identification, in order to show these IP packets, are the bursts that belong to same IP packet.After these IP packets arrive receiving terminal, receiving terminal can be assembled into the above-mentioned IP packet be fragmented by these IP packets again according to sign.Usually, the process that a longer IP packet of length is divided into to the shorter IP packet of a plurality of length is called burst (Fragment), and the process that shorter IP packet is assembled into the IP packet that above-mentioned length is longer again by these length is called restructuring (Deffagment).
In prior art, for the reason of the aspects such as network security, length and the terminal MTU length of the packet that terminal sends can not be consistent, and packet generally can be fragmented, recombinate in the packet switched bearer network, causes the reduction of communication efficiency.
Summary of the invention
The embodiment of the present invention is provided as method and the packet switch gateway that terminal provides MTU length, in order to length and the terminal MTU length that guarantees the packet that terminal sends, be consistent, avoid packet to be fragmented, to recombinate in the packet switched bearer network, thereby improve communication efficiency.
It is a kind of for terminal provides the method for MTU length that the embodiment of the present invention provides, and comprising: packet switch gateway obtains current terminal MTU length; Above-mentioned packet switch gateway offers terminal by above-mentioned current terminal MTU length, for above-mentioned terminal, according to above-mentioned current terminal MTU length, sends packet.
The embodiment of the present invention also provides a kind of packet switch gateway, comprising: acquiring unit, for obtaining current terminal MTU length; Unit is provided, for the above-mentioned current terminal MTU length that acquiring unit is obtained, offers terminal, for above-mentioned terminal, according to above-mentioned current terminal MTU length, send packet.
In embodiments of the present invention, packet switch gateway offers terminal by current terminal MTU length, like this, terminal can be determined current terminal MTU length, and send packet according to current terminal MTU length, the length and the terminal MTU length that have guaranteed the packet that terminal sends are consistent, and have avoided packet to be fragmented, to recombinate in the packet switched bearer network, thereby have improved communication efficiency.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The building-block of logic of the packet radio access network that Fig. 1 is the embodiment of the present invention;
Fig. 2 is the embodiment of the present invention a kind ofly provides the flow chart of the method for MTU length for terminal;
The form schematic diagram of the MTU that Fig. 3 is the embodiment of the present invention in message;
The form schematic diagram of the MTU that Fig. 4 is the embodiment of the present invention in protocol configuration option (PCO, ProtocolConfiguration Options);
The activation that Fig. 5 is the embodiment of the present invention is adhered to provides the flow chart of MTU length for terminal under scene;
Provide the flow chart of MTU length for terminal under the renewal packet data protocol that Fig. 6 is the embodiment of the present invention (PDP, Packet Data Protocol) context scene;
The logical construction schematic diagram of a kind of packet switch gateway that Fig. 7 is the embodiment of the present invention;
The logical construction schematic diagram of the another kind of packet switch gateway that Fig. 8 is the embodiment of the present invention.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
For the embodiment of the present invention of understanding that makes those skilled in the art know that, some professional knowledges that the paper embodiment of the present invention relates to.
The building-block of logic that Fig. 1 is the packet radio access network.As shown in Figure 1, the packet radio access network comprises Radio Access Network 12, packet switched bearer network 11 and public data network (PDN, PublicData NetWork) 13.Terminal 14 is by Radio Access Network 12 and packet switched bearer network 11 and public data network 13 interaction datas.Be provided with packet switch gateway in packet switched bearer network 11.Packet switch gateway is at Wideband Code Division Multiple Access (WCDMA) access (WCDMA, Wideband Code DivisionMultiple Access), Time Division-Synchronous Code Division Multiple Access access (TD-SCDMA, TimeDivision-Synchornization Code Division Multiple Access) the 3G (Third Generation) Moblie network (3G such as, The third Generation Mobile Telecommunication) in, can refer to general packet radio service (GPRS, General Packet Radio Service) gateway support node (GGSN, GPRSGateway Support Nodes), at System Architecture Evolution (SAE, System ArchitectureEvolution) etc. can refer to gateway (S-GW in evolvement network, Serving Gateway) or public data network gateway (PDN GW, PDN Gateway).In addition, terminal refers to subscriber equipment (UE, User Equipment) in 3G and evolvement network.
In packet switched bearer network 11; if the length of the packet that terminal 14 sends is greater than the length that terminal 14 is supported normal data communication, do not produce the maximum data packet that burst sends in packet switched bearer network 11; and terminal 14 is provided with the mark that does not allow burst; node in packet switched bearer network 11 is understood packet discard usually so; like this, communication will interrupt.For ease of describing, terminal 14 supported to normal data communication here, do not produce the maximum data packet that burst sends be called terminal MTU in packet switched bearer network 11.If the length of the packet that terminal 14 sends is greater than terminal MTU length, the packet that terminal 14 sends so can the node in packet switched bearer network 11 on by repeatedly burst, restructuring, like this, communication performance will descend; If the length of the packet that terminal 14 sends is much smaller than terminal MTU length, so in 3GPP access situation, each packet needs to have GPRS Tunnel Protocol-user's face (GTP-U, GTP-User Plane) encapsulation, like this, the Payload of each packet is less, and the communication bandwidth waste is serious.So, while only having the length of the packet sent when terminal 14 and terminal MTU length to be consistent, communication efficiency and performance just can be improved as far as possible.It should be noted that, terminal MTU length equals the difference of the length of the encapsulation header in packet switched bearer network 11 through the length of the maximum data packet of Packet Service link in packet switched bearer network 11 and packet.For ease of describing, here will be called Packet Service link MTU in the packet switched bearer network through the maximum data packet of Packet Service link in packet switched bearer network 11, the encapsulation header by packet in packet switched bearer network 11 is called Packet Service encapsulation header in the packet switched bearer network.
A kind of path mtu discovery of prior art (Path MTU Discovery) mechanism is, terminal (main frame) is for determining most suitable MTU length, first send the IP packet that length equates with outlet MTU length (the MTU length of default MTU length or maximum), wherein, head at the IP packet is provided with not burst attribute field (DF), if receive internet control information agreement (ICMP, Internet ControlMessage Protocol) can not the burst error message, send again the length IP packet equal in length with shorter MTU, equally, head at the IP packet is provided with not burst attribute field, if again receive that ICMP can not the burst error message, send again the length IP packet equal in length with shorter MTU, equally, head at the IP packet is provided with not burst attribute field, by that analogy.Because the number of MTU length is always limited, so, always can find MTU length the shortest in link.Like this, the length that terminal sends and the shortest MTU IP packet equal in length just can not be grouped node burst, the restructuring in the exchange bearer network, has improved the efficiency of communication.
Yet, path mtu discovery mechanism requires routing nodes all on link all to support internet control information agreement (ICMP, Internet Control Message Protocol) function, but, in actual applications, for preventing that the Dos attack from waiting security reason, some routing nodes can be closed the ICMP function, like this, path mtu discovery mechanism just can not be applied in practice.
In addition, in above-mentioned path mtu discovery mechanism scheme, terminal need to send the packet with detection character and determine terminal MTU length, can take a large amount of wireless bandwidth resources like this, even can cause wireless access to become communication performance bottleneck.
In addition, in above-mentioned path mtu discovery mechanism scheme, if terminal MTU length changes, terminal need to be surveyed MTU length again so, and still, the flow process of upgrading MTU length is very complicated.
The above-mentioned defect existed for solving prior art, the embodiment of the present invention provides a kind of and provides the method for MTU length for terminal.As shown in Figure 2, this method comprises:
S201: packet switch gateway obtains current terminal MTU length.
In actual applications, packet switch gateway can obtain current terminal MTU length in several ways.For example, packet switch gateway can obtain Packet Service link MTU length in the packet switched bearer network, and obtain the length of Packet Service encapsulation header in the packet switched bearer network, afterwards, obtain in the packet switched bearer network difference of the length of Packet Service encapsulation header in Packet Service link MTU length and packet switched bearer network, difference is current terminal MTU length.
In actual applications, packet switch gateway can obtain Packet Service link MTU length in the packet switched bearer network in several ways.For example, Packet Service link MTU length in packet switching network Central Shanxi Plain configuration packet exchange bearer network, when packet switch gateway needs, can directly obtain Packet Service link MTU length in the packet switched bearer network in this locality in advance; For example, packet switch gateway can with the packet switched bearer network in other equipment by the path mtu discovery mode, obtain Packet Service link MTU length in the packet switched bearer network; For example, packet switch gateway can be monitored the packet of the burst of the length maximum on the Packet Service link in the packet switched bearer network, using the length of the packet of the burst of length maximum Packet Service link MTU length in the packet switched bearer network; Again for example, packet switch gateway can with the packet switched bearer network in other equipment through consultation, obtain Packet Service link MTU length in the packet switched bearer network.
In addition, in the packet switched bearer network, the length of Packet Service encapsulation header is generally fixing value, certainly, the length of the encapsulation header of the standard definition of different editions may be different, in actual applications, the length of encapsulation header is which value specifically, and the standard that can meet according to concrete network environment which version is determined.
After carrying out S201, carry out S202: packet switch gateway offers terminal by above-mentioned current terminal MTU length, for above-mentioned terminal, according to above-mentioned current terminal MTU length, sends packet.
In actual applications, packet switch gateway can be according to receiving message that terminal sends or, when terminal MTU length occurs to upgrade, current terminal MTU length being offered to terminal.
In actual applications, packet switch gateway can offer terminal by current terminal MTU length in several ways.For example, packet switch gateway can be constructed a message different from any one message of the prior art, this message carries current terminal MTU length, packet switch gateway is in due course this message is sent, and packet switch gateway offers terminal by sending this message by current terminal MTU length.Again for example, packet switch gateway can be carried at current terminal MTU length in a message of the prior art, and this message is sent, and packet switch gateway offers terminal by sending this message by current terminal MTU length.In actual applications, packet switch gateway may not can directly sends to terminal by message, but message is sent to the another one network entity, after the another one network entity is received the message of packet switch gateway transmission, extract current terminal MTU length the message sent from packet switch gateway, afterwards, this another one network entity is carried at current terminal MTU length in a message, and this message is sent to terminal or other network entities.If this another one network entity sends to terminal by message, terminal can directly be extracted current terminal MTU length from message so; If this another one network entity sends to other network entities by message, these other network entities are after extracting current terminal MTU length so, may also current terminal MTU length can be carried in another message, and this message is sent to terminal or another network entity, by that analogy, until terminal is received the message that carries current terminal MTU length.Take packet switch gateway as GGSN be example, when GGSN offers UE by current terminal MTU length, GGSN can be carried at current terminal MTU length in a message issuing SGSN, and this message is issued to SGSN, after SGSN extracts current terminal MTU length, again current terminal MTU length is carried in another message of issuing UE, and this message is issued to UE.
In actual applications, packet switch gateway can be carried at current terminal MTU length to activate and adhere in the message under scene, by sending this message, current terminal MTU length is offered to terminal.For example, if packet switch gateway is GGSN, the message of adhering under scene in activation so can be to create PDP Context response (Create PDP Context Response) message.
In actual applications, packet switch gateway also can be carried at current terminal MTU length in the message of upgrading under the PDP Context scene, by sending this message, current terminal MTU length is offered to terminal.For example, if packet switch gateway is GGSN, in the message of upgrading under the PDP Context scene, can be to upgrade PDP Context request (Update PDP Context Request) message so.
No matter be Create PDP Context Response message, or Update PDP ContextRequest message, wherein all can there is PCO.In actual applications, packet switch gateway can be carried at current terminal MTU length in the PCO in Create PDP Context Response message or in the PCO in UpdatePDP Context Request message.
The form of MTU in message can be as shown in Figure 3.As shown in Figure 3, this field of Maximum-Transmission-Unit accounts for two bytes, and for meaning terminal MTU, the value that the value of Type is 1, Uength is 4.
The form of MTU in PCO as shown in Figure 4.
In said method embodiment, packet switch gateway offers terminal by current terminal MTU length, like this, terminal can be determined current terminal MTU length, and send packet according to current terminal MTU length, the length and the terminal MTU length that have guaranteed the packet that terminal sends are consistent, and have avoided packet to be fragmented, to recombinate in the packet switched bearer network, thereby have improved communication efficiency.
In said method embodiment, packet switch gateway offers terminal by current terminal MTU length, and like this, terminal can be determined current terminal MTU length.In addition, packet switch gateway can, by current terminal MTU length is carried to the medium mode of existing message, offer terminal by current terminal MTU length.What the embodiment of the present invention provided as can be seen here, in said method embodiment, do not need all nodes in the packet switched bearer network all to support the ICMP function, so can be applied in practice fully for terminal provides the method for MTU length.
In existing path mtu discovery mechanism scheme, terminal need to send the packet with detection character and determine terminal MTU length, can take a large amount of wireless bandwidth resources like this, even can cause wireless access to become communication performance bottleneck.And in said method embodiment, packet switch gateway can offer terminal by current terminal MTU by current terminal MTU length is carried to the mode in existing message, can save the WiMAX resource like this, simultaneously, yet can not give and use the user of terminal to increase communication cost.
In said method embodiment, when terminal MTU length changes, packet switch gateway can the terminal MTU length by after upgrading initiatively offer terminal, therefore terminal can adjust the length of the packet sent in time, thereby the operations such as the burst of having avoided the node in the packet switched bearer network for this reason to carry out of trying one's best, restructuring, further improved communication efficiency.
For make those skilled in the art more clearly understand the embodiment of the present invention for terminal provides the method for MTU length, below introduce respectively again to activate and adhere to scene and upgrade the specific embodiment under the PDP Context scene.
As shown in Figure 5, activate and adhere to comprising for terminal provides the flow process of MTU length under scene:
S501: when UE is attached in the packet bearer network, UE sends and activates PDP Context request (Activate PDP ContextRequest) message to Serving GPRS Support Node (SGSN, Serving GPRS Support Nodes);
S502:SGSN, after checking Activate PDP Context Request message legitimacy, sends and creates PDP Context request (Create PDP Context Request) message to GGSN;
S503:GGSN is creating record for UE, after distributing corresponding resource, return and create PDP Context response (Create PDP Context Response) message to SGSN, carry terminal MTU length in the PCO of this message, wherein, GGSN is as packet switch gateway above-mentioned, GGSN can first obtain Packet Service link MTU length in the packet switched bearer network, and obtain the length of Packet Service encapsulation header in the packet switched bearer network, afterwards, calculate again in the packet switched bearer network difference of the length of Packet Service encapsulation header in Packet Service link MTU length and packet switched bearer network, finally, using this difference as above-mentioned current terminal MTU length,
S504:SGSN is after receiving the Create PDP Context Response message that carries terminal MTU length, return and create PDP Context acceptance (Activate PDP Context Accept) message to UE, also carry terminal MTU length in the PCO of this message;
S505:UE is after receiving the Activate PDP Context Accept message that carries terminal MTU length, preserve the terminal MTU length that Activate PDP Context Accept message is carried, or the terminal MTU length of carrying by Activate PDP Context Accept message is upgraded the terminal MTU length of preserving before.
Fig. 6 provides the flow chart of MTU length for terminal for upgrading under the PDP Context scene.As shown in Figure 6, flow process comprises:
S601: when terminal MTU length occurs to upgrade, GGSN sends and upgrades PDP Context request (Update PDP Context Request) message to SGSN, carry the terminal MTU length after renewal in the PCO of this message, wherein, GGSN is as packet switch gateway above-mentioned, GGSN can obtain terminal MTU length from other network entities the information of upgrading occurs, also can own monitor terminal MTU length whether change, for example, because the length of Packet Service encapsulation header in Packet Service link MTU length in the packet switched bearer network and packet switched bearer network is all the factor that affects terminal MTU length, when definite any one factor wherein of GGSN changes, can determine that terminal MTU length upgrades, certainly, GGSN can also determine that terminal MTU length upgrades by other means, here illustrate no longer one by one,
S602:SGSN, after receiving Update PDP Context Request message, sends change PDP Context request (Modify PDP Context Request) message to UE, also carries the terminal MTU length after renewal in the PCO of this message;
S603:UE is after receiving Modify PDP Context Request message, and the terminal MTU length after the renewal of carrying by Modify PDPContext Request message is upgraded the terminal MTU length of preserving before;
S604:UE sends the change PDP Context to SGSN and accepts (Modify PDP Context Accept) message;
S605:SGSN, after receiving Modify PDP Context Accept message, sends and upgrades PDP Context response (Update PDP Context Response) message to GGSN.
It should be noted that, the message in Fig. 5 and Fig. 6 all is based on GPRS Tunnel Protocol (GTP, GPRS Tunneling Protocol).Certainly, can also being applied in the network based on other agreements for terminal provides the method for MTU of the embodiment of the present invention, for example Mobile IP (MIP, Mobile IP) network, when specific implementation, terminal MTU length is carried in the Mobile IP signaling and gets final product, repeat no more here.
By above-mentioned several embodiment, can be found out, terminal MTU length all offers terminal by packet switch gateway, and to this, the embodiment of the present invention also provides a kind of packet switch gateway.
As shown in Figure 7, this packet switch gateway can comprise: acquiring unit 701, for obtaining current terminal MTU length; Unit 702 is provided, for the current terminal MTU length that acquiring unit 701 is obtained, offers terminal, for above-mentioned terminal, according to above-mentioned current terminal MTU length, send packet.
In actual applications, acquiring unit 701 can obtain current terminal MTU length in several ways.For example, acquiring unit 701 can obtain Packet Service link MTU length in the packet switched bearer network, and obtain the length of Packet Service encapsulation header in the packet switched bearer network, afterwards, the difference of the length of Packet Service encapsulation header in Packet Service link MTU length and packet switched bearer network in calculating packet switched bearer network, difference is above-mentioned current terminal MTU length.
In actual applications, acquiring unit 701 can obtain Packet Service link MTU length in the packet switched bearer network in several ways.For example, can exchange Packet Service link MTU length in bearer network in packet switching network Central Shanxi Plain configuration packet in advance, when acquiring unit 701 needs, acquiring unit 701 is Packet Service link MTU length in the local acquisition of packet switch gateway packet switched bearer network directly; For example, acquiring unit 701 can with the packet switched bearer network in other equipment by the path mtu discovery mode, obtain Packet Service link MTU length in the packet switched bearer network; For example, acquiring unit 701 can be monitored the packet of the burst of the length maximum on the Packet Service link in the packet switched bearer network, using the length of the packet of the burst of length maximum Packet Service link MTU length in the packet switched bearer network; Again for example, acquiring unit 701 can with the packet switched bearer network in other equipment through consultation, obtain Packet Service link MTU length in the packet switched bearer network.
In addition, in the packet switched bearer network, the length of Packet Service encapsulation header is generally fixing value, certainly, the length of the encapsulation header of the standard definition of different editions may be different, in actual applications, the length of encapsulation header is which value specifically, and the standard that can meet according to concrete network environment which version is determined.
In actual applications, provide the unit 702 can be according to receiving message that terminal sends or, when terminal MTU length occurs to upgrade, current terminal MTU length being offered to terminal.
In actual applications, provide unit 702 in several ways current terminal MTU length to be offered to terminal.As shown in Figure 8, provide unit 702 can comprise message constructing subelement 7021 and subelement 7022 is provided, message constructing subelement 7021 can be constructed a message different from any one message of the prior art, this message carries current terminal MTU length, provide subelement 7022 to be in due course this message is sent, provide subelement 7022, by sending this message, current terminal MTU length is offered to terminal.Again for example, message constructing subelement 7021 can be carried at current terminal MTU length in a message of the prior art, provide subelement 7022 that this message is sent, provide subelement 7022, by sending this message, current terminal MTU length is offered to terminal.In actual applications, provide subelement 7022 may not can directly message to be sent to terminal, but message is sent to the another one network entity, after this another one network entity is received the message of packet switch gateway transmission, extract current terminal MTU length from the message that provides subelement 7022 to send, afterwards, this another one network entity is carried at current terminal MTU length in a message, and this message is sent to terminal or other network entities.If this another one network entity sends to terminal by message, terminal can directly be extracted current terminal MTU length from message so; If this another one network entity sends to other network entities by message, other network entities are after extracting current terminal MTU length so, may also current terminal MTU length can be carried in another message, and this message is sent to terminal or another network entity, by that analogy, until terminal is received the message that carries current terminal MTU length.
In actual applications, the current terminal MTU length that message constructing subelement 7021 can obtain acquiring unit 701 is carried to activate adheres in the message under scene, provides subelement 7022 current terminal MTU length to be offered to terminal by sending this message.For example, if the packet switch gateway shown in Fig. 7 or Fig. 8 is GGSN, the message of adhering under scene in activation so can be to create PDP Context response (Create PDP Context Response) message.
In actual applications, the current terminal MTU length that message constructing subelement 7021 also can obtain acquiring unit 701 is carried in the message of upgrading under the PDP Context scene, provides subelement 7022 current terminal MTU length to be offered to terminal by sending this message.For example, if the packet switch gateway shown in Fig. 7 or Fig. 8 is GGSN, in the message of upgrading under the PDP Context scene, can be to upgrade PDP Context request (Update PDP Context Request) message so.
No matter be Create PDP Context Response message, or Update PDP ContextRequest message, wherein all can there is PCO.In actual applications, message constructing subelement 7021 can be carried at current terminal MTU length in the PCO in Create PDP Context Response message or in the PCO in Update PDP Context Request message.
In the above-mentioned packet switching network Central Shanxi Plain, provide unit 702 that current terminal MTU length is offered to terminal, like this, terminal can be determined current terminal MTU length, and send packet according to current terminal MTU length, the length and the terminal MTU length that have guaranteed the packet that terminal sends are consistent, and have avoided packet to be fragmented, to recombinate in the packet switched bearer network, thereby have improved communication efficiency.
In the above-mentioned packet switching network Central Shanxi Plain, provide unit 702 current terminal MTU length can be offered to terminal, like this, terminal can be determined current terminal MTU length.In addition, provide unit 702 by current terminal MTU length is carried to the medium mode of existing message, current terminal MTU length to be offered to terminal.As can be seen here, applying above-mentioned packet switch gateway can not need all nodes in the packet switched bearer network all to support the ICMP function, so above-mentioned packet switch gateway can be applied in practice fully.
In existing path mtu discovery mechanism scheme, terminal need to send the packet with detection character and determine terminal MTU length, can take a large amount of wireless bandwidth resources like this, even can cause wireless access to become communication performance bottleneck.And in the above-mentioned packet switching network Central Shanxi Plain, provide unit 702 by current terminal MTU length is carried to the mode in existing message, current terminal MTU is offered to terminal, can save the WiMAX resource like this, simultaneously, yet can not give and use the user of terminal to increase communication cost.
In the above-mentioned packet switching network Central Shanxi Plain, when terminal MTU length changes, provide unit 702 the terminal MTU length by after upgrading initiatively to offer terminal, therefore terminal can adjust the length of the packet sent in time, thereby the operations such as the burst of having avoided the node in the packet switched bearer network for this reason to carry out of trying one's best, restructuring, further improved communication efficiency.
It should be noted that, the embodiment of the present invention is chosen packet switch gateway provides the reason of current terminal MTU length to be to terminal: in packet radio access network framework, packet switch gateway is the transfer point of packet switched bearer network and public data network, packet switch gateway can perceptual grouping the link circuit condition of exchange bearer network.And in actual applications, in the MTU of public data network and packet switched bearer network, the Packet Service link MTU inevitably there will be inconsistent situation, like this burst, Reorganization will inevitably occur.The burst of packet, reorganization operation will be carried out at packet switch gateway, rather than the intermediate node of packet switched bearer network.Packet switch gateway is as the equipment in the packet switched bearer network, there is powerful IP carrying disposal ability, the burst of the packet carried out at packet switch gateway, restructuring, after specifically the initial data packet fragmentation being completed, increase encapsulation header (for example GTPU encapsulation header).If carry out burst, restructuring on other nodes in the packet switched bearer network, so because Fragmentation is the burst to the packet with encapsulation header, so can increase encapsulation header, and then can waste wireless bandwidth resource, but also can increase the intractability of each node in the packet switched bearer network.If the IP load-carrying properties of other nodes in the packet switched bearer network are lower or do not support burst, recombination function, so just likely can cause communication disruption.Therefore, if carry out burst, the reorganization operation of packet, will complete in the packet switching network Central Shanxi Plain so.
In sum, in embodiments of the present invention, packet switch gateway offers terminal by current terminal MTU length, like this, terminal can be determined current terminal MTU length, and sends packet according to current terminal MTU length, has guaranteed that length and the terminal MTU length of the packet that terminal sends is consistent, avoid packet to be fragmented, to recombinate in the packet switched bearer network, thereby improved communication efficiency.
In embodiments of the present invention, packet switch gateway offers terminal by current terminal MTU length, and like this, terminal can be determined current terminal MTU length.In addition, packet switch gateway can, by current terminal MTU length is carried to the medium mode of existing message, offer terminal by current terminal MTU length.As can be seen here, in embodiments of the present invention, what the embodiment of the present invention provided do not need all nodes in the packet switched bearer network all to support the ICMP function, so can be applied in practice fully for terminal provides the method for MTU length and packet switch gateway.
In above-mentioned path mtu discovery mechanism scheme, terminal need to send the packet with detection character and determine terminal MTU length, can take a large amount of wireless bandwidth resources like this, even can cause wireless access to become communication performance bottleneck.And in embodiments of the present invention, packet switch gateway, by current terminal MTU length is carried to the mode in existing message, offers terminal by current terminal MTU, can save the WiMAX resource like this, simultaneously, yet can not give and use the user of terminal to increase communication cost.
In embodiments of the present invention, when terminal MTU length changes, packet switch gateway can the terminal MTU length by after upgrading initiatively offer terminal, does not need again to survey MTU length, does not more need to carry out the flow process of complicated renewal MTU length.In addition, therefore terminal can adjust the length of the packet sent in time, thereby the operations such as the burst of having avoided the node in the packet switched bearer network for this reason to carry out of trying one's best, restructuring have further improved communication efficiency.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (14)
1. one kind provides the method for maximum transmission unit length for terminal, it is characterized in that, described terminal, by Radio Access Network and packet switched bearer network and public data network interaction data, is provided with packet switch gateway in described packet switched bearer network, comprising:
Packet switch gateway obtains current terminal MTU MTU length;
Described packet switch gateway offers terminal by described current terminal MTU length; send packet for described terminal according to described current terminal MTU length, described terminal MTU is that terminal is supported normal data communication, do not produce the maximum data packet that burst sends in the packet switched bearer network;
Described packet switch gateway obtains current terminal MTU length and specifically comprises:
Described packet switch gateway obtains Packet Service link MTU length in the packet switched bearer network, and obtains the length of Packet Service encapsulation header in the packet switched bearer network;
Described packet switch gateway obtains in described packet switched bearer network the difference of the length of Packet Service encapsulation header in Packet Service link MTU length and described packet switched bearer network, using described difference as described current terminal MTU length.
2. the method for claim 1, it is characterized in that, described packet switch gateway offers terminal by described current terminal MTU length and comprises: described packet switch gateway is according to receiving message that described terminal sends or, when terminal MTU length occurs to upgrade, described current terminal MTU length being offered to described terminal.
3. method as claimed in claim 1 or 2, is characterized in that, described packet switch gateway offers terminal by described current terminal MTU length and specifically comprises:
Described packet switch gateway is carried at described current terminal MTU length to activate and adheres under scene or upgrade in the message under the PDP Context scene;
Described packet switch gateway carries described current terminal MTU length message by transmission offers described terminal by described current terminal MTU length.
4. method as claimed in claim 3, is characterized in that, described packet switch gateway is general packet radio service GGSN GGSN, and the message that described activation is adhered under scene is establishment packet data protocol PDP Context response message.
5. method as claimed in claim 4, it is characterized in that, described packet switch gateway is carried at described terminal MTU length to activate to adhere in the message under scene and is specially: described packet switch gateway is carried at described current terminal MTU length in the protocol configuration option PCO in described establishment PDP Context response message.
6. method as claimed in claim 3, is characterized in that, described packet switch gateway is GGSN, and the message under described renewal PDP Context scene is for upgrading the PDP Context request message.
7. method as claimed in claim 6, it is characterized in that, described packet switch gateway is carried at described current terminal MTU length in the message of upgrading under the PDP Context scene and is specially: described packet switch gateway is carried at described current terminal MTU length in the PCO of described renewal PDP Context request message.
8. the method for claim 1, is characterized in that, described packet switch gateway is gateway S-GW or public data network gateway PDN GW.
9. the method for claim 1, is characterized in that, described packet switch gateway obtains Packet Service link MTU length in the packet switched bearer network and is specially:
Described packet switch gateway obtains and is pre-configured in Packet Service link MTU length in local packet switched bearer network; Perhaps
Other equipment in described packet switch gateway and packet switched bearer network, by the path mtu discovery mode, obtain Packet Service link MTU length in the packet switched bearer network; Perhaps
Described packet switch gateway, by the packet of the burst of the length maximum on Packet Service link in monitoring packet switched bearer network, obtains Packet Service link MTU length in the packet switched bearer network; Perhaps
Other equipment in described packet switch gateway and packet switched bearer network through consultation, obtain Packet Service link MTU length in the packet switched bearer network.
10. method as claimed in claim 1 or 2, is characterized in that, described current terminal MTU length is that current terminal is supported normal data communication, do not produce the length of the maximum data packet that burst sends in the packet switched bearer network.
11. a packet switch gateway, is characterized in that, comprising:
Acquiring unit, for obtaining current terminal MTU length;
Unit is provided, for the described current terminal MTU length that described acquiring unit is obtained, offers terminal, for described terminal, according to described current terminal MTU length, send packet;
Describedly obtain current terminal MTU length and specifically comprise:
Obtain Packet Service link MTU length in the packet switched bearer network, and obtain the length of Packet Service encapsulation header in the packet switched bearer network;
Describedly obtain in described packet switched bearer network the difference of the length of Packet Service encapsulation header in Packet Service link MTU length and packet switched bearer network, using described difference as described current terminal MTU length;
Described terminal, by Radio Access Network and packet switched bearer network and public data network interaction data, is provided with described packet switch gateway in described packet switched bearer network; Described terminal MTU is that terminal is supported normal data communication, do not produce the maximum data packet that burst sends in the packet switched bearer network.
12. packet switch gateway as claimed in claim 11, is characterized in that, the described unit that provides is specifically for according to receiving message that described terminal sends or, when terminal MTU length occurs to upgrade, described current terminal MTU length being offered to described terminal.
13. packet switch gateway as described as claim 11 or 12, is characterized in that, the described unit that provides comprises:
The message constructing subelement, be carried to activate for the described current terminal MTU length that described acquiring unit is obtained and adhere under scene or upgrade the message under the PDP Context scene;
Subelement is provided, for at described message constructing subelement, described current terminal MTU length is carried to described activation is adhered under scene or renewal PDP Context scene under message after, the message that carries described current terminal MTU length by transmission offers described terminal by described current terminal MTU length.
14. packet switch gateway as described as claim 11 or 12, is characterized in that, described current terminal MTU length is that current terminal is supported normal data communication, do not produce the length of the maximum data packet that burst sends in the packet switched bearer network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910177420 CN102036304B (en) | 2009-09-28 | 2009-09-28 | Method for providing maximum transmission unit length for terminal and packet switch gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910177420 CN102036304B (en) | 2009-09-28 | 2009-09-28 | Method for providing maximum transmission unit length for terminal and packet switch gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102036304A CN102036304A (en) | 2011-04-27 |
CN102036304B true CN102036304B (en) | 2013-12-18 |
Family
ID=43888454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910177420 Expired - Fee Related CN102036304B (en) | 2009-09-28 | 2009-09-28 | Method for providing maximum transmission unit length for terminal and packet switch gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102036304B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581041B (en) * | 2013-09-26 | 2017-04-05 | 酷派软件技术(深圳)有限公司 | The method to set up and electronic equipment of MTU value |
US9787596B2 (en) | 2015-01-26 | 2017-10-10 | Mediatek Inc. | Maximum transmission unit size reporting and discovery by a user equipment |
CN104993971A (en) * | 2015-05-27 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | Method and system for testing MTU value in uplink network model of router |
CN110636551B (en) * | 2018-06-25 | 2022-05-17 | 上海华为技术有限公司 | Method and device for avoiding message fragmentation |
CN110177045B (en) * | 2019-05-15 | 2021-04-02 | 浙江启程电子科技股份有限公司 | MTU value-based transmission data configuration method |
CN111654450B (en) * | 2020-05-28 | 2023-08-08 | 北京小米移动软件有限公司 | Data transmission method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1909503A (en) * | 2005-08-05 | 2007-02-07 | 华为技术有限公司 | Method for detecting maximal transmission unit of path |
CN1921440A (en) * | 2006-09-15 | 2007-02-28 | 华为数字技术有限公司 | Method and system for detecting path maximal transmission unit |
CN101150520A (en) * | 2007-11-02 | 2008-03-26 | 杭州华三通信技术有限公司 | Method and device for adjusting path maximum transfer unit |
CN101217540A (en) * | 2008-01-04 | 2008-07-09 | 杭州华三通信技术有限公司 | A self-adapting regulation method, device and system of message tunnel slicing |
CN101304427A (en) * | 2008-07-02 | 2008-11-12 | 深圳华为通信技术有限公司 | Method and apparatus for setting maximum transmission unit value |
CN101521622A (en) * | 2008-02-29 | 2009-09-02 | 华为技术有限公司 | Method and device for determining maximum transmission unit |
-
2009
- 2009-09-28 CN CN 200910177420 patent/CN102036304B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1909503A (en) * | 2005-08-05 | 2007-02-07 | 华为技术有限公司 | Method for detecting maximal transmission unit of path |
CN1921440A (en) * | 2006-09-15 | 2007-02-28 | 华为数字技术有限公司 | Method and system for detecting path maximal transmission unit |
CN101150520A (en) * | 2007-11-02 | 2008-03-26 | 杭州华三通信技术有限公司 | Method and device for adjusting path maximum transfer unit |
CN101217540A (en) * | 2008-01-04 | 2008-07-09 | 杭州华三通信技术有限公司 | A self-adapting regulation method, device and system of message tunnel slicing |
CN101521622A (en) * | 2008-02-29 | 2009-09-02 | 华为技术有限公司 | Method and device for determining maximum transmission unit |
CN101304427A (en) * | 2008-07-02 | 2008-11-12 | 深圳华为通信技术有限公司 | Method and apparatus for setting maximum transmission unit value |
Also Published As
Publication number | Publication date |
---|---|
CN102036304A (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102036304B (en) | Method for providing maximum transmission unit length for terminal and packet switch gateway | |
CN104040987B (en) | User plane data transmission method, mobility management network element, evolved node b and system | |
JP2021528014A (en) | Information transmission method and equipment | |
CN102006337B (en) | CGN (Carrier Grade NAT) entity based data transmission method, CGN entity, gateway and system | |
CN103428304A (en) | Inline network address translation within a mobile gateway router | |
CN102548019A (en) | Common path setup method, common path use method, common path setup system, common path use system, M2M (machine to machine) communication method and M2M communication system | |
CN101895525B (en) | Multi-access data connection management method, system and related equipment | |
EP2416525A1 (en) | Method and system for obtaining access information and accounting in multimedia broadcast/multicast service | |
CN102870490B (en) | Data transmission method, network element device and communication system | |
CN104301881A (en) | Billing method and billing device | |
CN102291318A (en) | Method for consulting maximum transmission unit (MTU) and router | |
CN101588326A (en) | Method, devcie and system for associating gateway controlled conversation with Gx conversation | |
CN108617009B (en) | Data transmission method, device and system and packet data network gateway | |
CN101197817A (en) | Method for updating packet data protocol context | |
CN105264869A (en) | Ip address allocation system and method | |
US8270942B2 (en) | Method for the interception of GTP-C messages | |
US10819537B2 (en) | Method and apparatus for processing service data | |
CN101646157A (en) | Method for managing pool information and equipment thereof | |
CN101860976B (en) | Method, equipment and system for realizing local IP access of user equipment | |
CN112822646A (en) | Message processing method and device, electronic equipment and computer readable storage medium | |
CN101616143A (en) | Policy control method, system, data gateway and policy decision entity | |
WO2019137242A1 (en) | Method and device for establishing bearer, and processor and storage medium | |
CN103458438B (en) | The treatment process of business wireless side behavioural analysis and device | |
US20170099221A1 (en) | Service packet distribution method and apparatus | |
EP2600643B1 (en) | Method, system and related equipment for transmitting service type information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131218 |
|
CF01 | Termination of patent right due to non-payment of annual fee |