WO2013007131A1 - Mobility management method and mobile access gateway - Google Patents

Mobility management method and mobile access gateway Download PDF

Info

Publication number
WO2013007131A1
WO2013007131A1 PCT/CN2012/075500 CN2012075500W WO2013007131A1 WO 2013007131 A1 WO2013007131 A1 WO 2013007131A1 CN 2012075500 W CN2012075500 W CN 2012075500W WO 2013007131 A1 WO2013007131 A1 WO 2013007131A1
Authority
WO
WIPO (PCT)
Prior art keywords
mag
message
tmag
smag
address
Prior art date
Application number
PCT/CN2012/075500
Other languages
French (fr)
Chinese (zh)
Inventor
骆文
霍玉臻
江鸿
宋军
沈岷
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013007131A1 publication Critical patent/WO2013007131A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0019Control or signalling for completing the hand-off for data sessions of end-to-end connection adapted for mobile IP [MIP]

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a mobility management method and a mobile access gateway.
  • IP Transmission Control Protocol/Internet Protocol
  • IP provides routing for the Internet. It assigns logical addresses, ie IP addresses, to all nodes (including hosts and routers), and each port of each host is assigned.
  • An IP address includes the network prefix and the host part.
  • the IP addresses of all hosts on the same link usually have the same network prefix and different host parts. This allows IP to be routed based on the network prefix portion of the destination node's IP address, allowing the router to maintain a simple network prefix route without having to maintain a separate route for each host. In this case, since the network prefix route is used, when the node switches from one link to another without changing its IP address, the node cannot receive the data packet on the new link. Therefore, it is impossible to communicate with other nodes.
  • MIP Mobile IP
  • PMIP Proxy MIP
  • a common feature of these technologies is the introduction of a fixed anchor (Anchor) to achieve mobility management of mobile nodes.
  • MIP protocol uses a Home Agent (HA) as an anchor point
  • HA Home Agent
  • LMA Local Mobility Anchor
  • Figure 1 shows the logical architecture of the PMIP protocol, including Mobile Node (MN), Correspondence Node (CN), Mobile Access Gateway (MAG), and LMA.
  • the MAG is the first hop router of the MN, and its main function includes assigning an IP address called a Care of Address (CoA) to the MN when accessing the MN and performing an operation with the MN's anchor LMA for the MN.
  • PMIP Binding PMIP Binding
  • the LMA is the anchor of the MN, and its main role includes assigning the MN an IP address called Home of Address (HoA) and processing the above PMIP binding.
  • HoA Home of Address
  • the main purpose of the PMIP binding performed between the MAG and the LMA is to let both parties know the address of the other party, the above CoA and HoA, and store the information locally.
  • a bidirectional tunnel is established between the MAG and the LMA for the MN.
  • the IP address finally obtained by the MN is the HoA assigned by the LMA.
  • the MAG is generally located at a lower topology, such as at the edge of a metropolitan area network; and the LMA is generally located at a higher topology, such as the core of the provincial backbone.
  • the MAG and the LMA are often connected by a multi-hop router.
  • the MN After obtaining the HoA (IP address), the MN uses the HoA as its communication address to interact with the CN located on the IP network to send and receive IP packets.
  • Figure 2 shows the process of sending and receiving IP packets between the MN and the CN.
  • the MN sends an Uplink IP packet to the CN.
  • the destination address of the IP packet is the IP address of the CN, and the source address is the HoA of the MN.
  • the MN sends the packet to the MAG to which it is connected.
  • the MAG locally queries the anchor LMA address of the MN according to the HoA, and then sends the IP packet to the LMA in the tunnel between the MAG and the LMA; finally, the LMA will The IP packets sent by the MN are sent to the CN using the normal IP routing mechanism. Similarly, the downlink (downlink) IP 4 message sent by the CN to the MN also needs to pass the above LMA and MAG.
  • the mobility management of the PMIP protocol is reflected in the fact that the MN's mobile can change the currently connected MAG while keeping the MN's IP address (ie HoA) unchanged.
  • changing the currently connected MAG means changing the connection to the target MAG (Target MAG, tMAG) from the previously connected source MAG (Source MAG, sMAG).
  • tMAG allocates a new CoA to the MN, and performs PMIP binding with the MN's anchor LMA for the MN, updating the information saved by the two parties mentioned above, and between tMAG and LMA.
  • the MN establishes a new two-way tunnel. Referring to FIG. 2 and FIG.
  • the path of transmitting and receiving the IP address between the MN and the CN can be expressed as MN ⁇ ->MAG ⁇ ->LMA ⁇ -> CN, all must detour to the anchor point LMA of the MN. Even if the MAG has a routing function, and there is an IP network connection between the MAG and the CN (Fig. 1), the IP packets cannot be directly sent and received through the MAG, and there is a waste of the packet transmission path.
  • the IP 4 transmitted and received between the MN and the CN must also be forwarded through its anchor LAM.
  • the above-mentioned waste of the transmission path will be more obvious.
  • the solid line in Fig. 4 indicates that there is a wasteful route of the transmission path, and the dotted line indicates a route that is not wasted by the transmission path.
  • the waste of the transmission path causes the carrier to waste the transmission of the bearer resources, which leads to an increase in the operating cost.
  • the delay between sending and receiving IP packets between the MN and the CN is increased, which is not conducive to improving the user experience.
  • the above CN may also be located in the PMIP domain, applying the PMIP mobility management mechanism described above (for example, CN is another mobile node, that is, CN' shown in FIG. 1). At this time, CN is also connected to a MAG, and there is also an anchor LMA.
  • the transmission and reception path of the IP packet between the MN and the CN is: MN ⁇ -> MAG of the MN ⁇ -> LMA of the MN ⁇ -> MAG ⁇ ->CN of the LMA ⁇ ->CN of the CN.
  • the packet transmission and reception between the MN and the CN must bypass the anchor point LMA of both, and the waste of the message transmission path is more obvious, and the above-mentioned adverse consequences are more serious.
  • the packet can be forwarded between the two MAGs.
  • the MAG of the CN does not update the local cache in time, and the packet between the MN and the CN cannot be forwarded smoothly. problem. Summary of the invention
  • the technical problem to be solved by the embodiments of the present invention is to provide a mobility management method and a mobile access gateway, so as to solve the problem that packets cannot be successfully forwarded after the MAG is switched.
  • an embodiment of the present invention provides a mobility management method, where the method includes: When the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG moves to the mobile access gateway (MAG) of the opposite node (CN) of the MN. Sending a first message, where the first message carries address information that points to the tMAG;
  • the MAG of the peer node of the MN receives the first message, and updates the local cache according to the first message.
  • the method before the sending, by the sMAG, the first message, the method further includes: the sMAG receiving the first packet, where the tunnel source IP address of the first packet is directed to the MAG of the CN of the MN Address information, the destination address of the text is the node information of the MN that is cut out; the sMAG sends the first to the MAG of the CN of the MN according to the tunnel source IP address of the first packet Message.
  • the method before the sending, by the sMAG, the first message, the method further includes:
  • LMA local mobility anchor
  • the tMAG sends a second message to the sMAG, where the second message carries node information that points to the MN that is cut out;
  • the sMAG receives the second message, and queries a local cache according to the node information of the MN to obtain a mapping relationship between the CNs of the MN, where the mapping relationship includes the MN Address information of the MA of the CN;
  • the sMAG sends the first message to the MAG of the CN of the MN according to the mapping relationship of the CN obtained by the query.
  • the method before the sending, by the sMAG, the first message, the method further includes:
  • the sMAG requests the local mobility anchor of the MN to obtain address information that points to the tMAG;
  • the LMA of the MN actively notifies the sMAG to address the address information of the tMAG; or, the tMAG notifies the sMAG of the address information of the tMAG.
  • the method before the sending, by the tMAG, the first message, the method further includes:
  • mapping relationship of the CN of the MN, where the mapping relationship includes the address information of the MAG that points to the opposite node;
  • the tMAG sends the first message to the MAG of the opposite node according to the obtained mapping relationship of the CN of the MN.
  • the method before the sending, by the tMAG, the first message, the method further includes:
  • the tMAG acquires a mapping relationship of the peer node of the MN, where the mapping relationship includes address information of the MAG that points to the peer node;
  • the tMAG receives the second packet, where the tunnel source IP address of the second packet is the address information of the sMAG, and the second >3 ⁇ 4 text address is the node information of the MN that is directed to the switch, triggering Transmitting, by the tMAG, the first message according to the mapping relationship of the peer node.
  • the method before the sending, by the tMAG, the first message, the method further includes:
  • the tMAG receives the third packet, where the outer tunnel source IP address of the third packet is the address information of the sMAG of the MN, and the inner tunnel source IP address is the MAG of the peer node of the MN. Address information; the third >3 ⁇ 4 directory address is node information pointing to the cut-in MN;
  • the tMAG sends the first message to the MAG of the opposite node according to the inner tunnel source IP address of the third packet.
  • the step that the tMAG acquires the mapping relationship of the CN of the MN is: the sMAG acquires address node information that points to the tMAG;
  • the sMAG queries the local cache, and obtains the mapping relationship of the cut CN of the MN.
  • the sMAG sends the cut mapping relationship of the CN of the MN to the tMAG according to the address information of the tMAG. ;
  • the tMAG sends a request message to the sMAG, where the node information that points to the MN is carried;
  • the sMAG returns a response message to the tMAG, where the NDMA carries the peer mapping relationship of the CN of the MN.
  • the local cache of the sMAG includes a peer mapping relationship table corresponding to all MNs and a communication peer table corresponding to each MN, and the sMAG queries the corresponding communication peer table according to the node information that points to the MN. Then, the peer mapping relationship table is queried to obtain a mapping relationship between the peer nodes of the MN.
  • the local cache of the sMAG includes one or more peer mapping relationship tables respectively corresponding to one MN, where the sMAG queries the corresponding peer mapping relationship table according to the node information that points to the MN to obtain the MN.
  • the mapping relationship of CN is not limited to one MN.
  • the first message further carries the node information that is directed to the MN, and when the MAG of the peer node updates the local cache, determining, according to the node information that points to the MN, a local cache to be updated. Corresponding data.
  • the invention also provides a mobile access gateway (MAG),
  • the first message sending module is configured to be:
  • the mobile node of the MN (CN) mobile access gateway sends a first message, where the first message carries address information that points to the tMAG;
  • the first message receiving module and the local cache update module are included.
  • the first message receiving module is configured to receive the first message sent by the sMAG or tMAG;
  • the local cache update module is configured to update the local cache based on the first message.
  • the MAG as the sMAG, further includes a packet receiving module, where the packet receiving module is configured to receive the first packet, where the tunnel source IP address of the first packet is a pointing address
  • the address information of the MAG of the CN of the MN, the destination address of the first packet is the node information of the MN that is cut out;
  • the first message sending module is configured to be according to the first message
  • the tunnel source IP address sends the first message to the MAG of the opposite node of the MN.
  • the second message receiving module and the local cache query module are further included, where:
  • the second message receiving module is configured to receive a local mobility anchor (LMA) or the tMAG Sending a second message, where the second message carries node information that points to the MN that is cut out;
  • the local cache query module is configured to query a local cache according to node information in the second message that points to the MN Obtaining a mapping relationship of the CN of the MN, where the mapping relationship includes address information of a MAG that points to the CN of the MN;
  • the MAG further includes a second message sending module, where the second message sending module is configured to send the second message;
  • the module is configured to send the first message to the MAG of the CN of the MN according to the mapping relationship of the CN acquired by the query.
  • the peer mapping relationship delivery module is configured to actively request or receive the mapping relationship of the CN of the MN that is sent by the sMAG, and when the request is actively requested, the request message carries the pointing location.
  • the peer mapping relationship delivery module is configured to send the cut mapping relationship of the cut CN of the MN to the tMAG according to the request, where the mapping relationship is Included in the address information of the MAG that points to the CN of the MN;
  • the local cache query module is configured to: query a local cache, and obtain a mapping relationship of the CN of the MN;
  • the first message sending module is configured to send the first message to the MAG of the CN of the MN according to the obtained mapping relationship of the CN of the MN.
  • the MAG as the tMAG, further includes a packet receiving module, configured to receive a second packet, where a tunnel source IP address of the second packet is address information of the sMAG, where The destination address of the second packet is the node information of the MN that is directed to the MN.
  • the first message sending module is configured to send the identifier according to the trigger of the received second packet. The first message.
  • the MAG as the tMAG, further includes a packet receiving module, configured to receive a third packet, where an outer tunnel source IP address of the third packet is an address of an sMAG that points to the MN that is switched in.
  • an outer tunnel source IP address of the third packet is an address of an sMAG that points to the MN that is switched in.
  • the inner tunnel source IP address is the location of the MAG pointing to the CN of the MN Address information
  • the third message destination address is the node information of the MN that is directed to the MN
  • the first message sending module is configured to be based on the received third message.
  • the layer tunnel source IP address sends the first message.
  • the MAG as the sMAG, further includes a local cache module, configured to cache a peer mapping relationship table corresponding to the MN and a communication peer table of the MN, where the local cache query module is set to first Querying the corresponding communication peer table according to the node information of the MN, and querying the peer mapping relationship table to obtain the mapping relationship of the CN of the MN.
  • a local cache module configured to cache a peer mapping relationship table corresponding to the MN and a communication peer table of the MN, where the local cache query module is set to first Querying the corresponding communication peer table according to the node information of the MN, and querying the peer mapping relationship table to obtain the mapping relationship of the CN of the MN.
  • the MAG as the sMAG, further includes a local cache module, configured to cache one or more peer mapping relationship tables respectively corresponding to one MN, where the local cache query module is configured to be directed to the MN.
  • the peer mapping relationship table corresponding to the node information query acquires the mapping relationship of all the CNs of the MN.
  • the first message further carries the node information that is directed to the MN, where the local cache update module is configured to determine local cache corresponding data to be updated according to the node information that points to the MN.
  • the mobility management method and the mobile access gateway of the embodiment of the present invention when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG to the MN
  • the mobile access gateway (MAG) of the peer node (CN) sends the address information of the tMAG, so that the MAG of the peer node can obtain the address information of the tMAG in time and update the local cache, so that the pair can be successfully forwarded.
  • FIG. 1 is a schematic diagram of a logical architecture of a PMIP protocol in the related art
  • FIG. 2 is a schematic diagram of a process of transmitting and receiving IP packets between a MN and a CN in the related art
  • FIG. 3 is a schematic diagram of a process of the MN switching MAG in the related art
  • FIG. 8 are schematic diagrams showing an embodiment of a mobility management method according to the present invention.
  • FIG. 9 is a schematic diagram showing an example of a peer mapping table
  • 10a, 10b are schematic diagrams showing an example of a communication peer table
  • 11 to FIG. 15 are schematic diagrams showing the structure of a module of a MAG according to an embodiment of the present invention. Preferred embodiment of the invention
  • the mobility management scheme of the related art causes a waste of the transmission path, which in turn leads to a series of adverse consequences, and the essential reason is that there is an anchor point. All IP packets between the MN and the CN must bypass the MN's anchor network element (or, around the MN and CN anchor network elements).
  • the present invention avoids the series of problems mentioned above by modifying the existing PMIP mechanism.
  • the modified PMIP protocol architecture includes the mobile node MN, the communication peer CN, the mobile access gateway MAG, and the LMA.
  • the CN may be a fixed node or a mobile node, that is, has a corresponding MAG and LMA.
  • the MAG is the first hop router of the MN. Its main function is to allocate the care-of address CoA for the MN in the PMIP architecture of the related art, and to perform PMIP binding with the anchor LMA of the MN instead of the MN. : Query locally or to other network elements (eg, LMA) to obtain the MAG (MAG-CN) address of the currently connected CN or the CN's care-of address CoA; MAG (MAG-MN) of the MN and MAG of CN A bidirectional tunnel is established to forward IP packets between the MN and the CN.
  • LMA local area network elements
  • the LMA is no longer used as the anchor of the MN.
  • the IP data packets between the MN and the CN are no longer required to pass through the LMA.
  • the LMA needs to save the address of the current MAG-MN and/or the CoA of the MN, and use the MN as an index, for example, the Home Network Prefix (HNP) of the MN's HoA or MN is used as an index for the MN's communication peer.
  • the MAG of the CN or CN is queried according to the relevant information of the MN.
  • the MN when the MN sends an uplink IP packet to the CN, it is consistent with the existing PMIP mechanism, and the MN needs to first send the IP packet to the MAG-MN of the MN. Subsequent to the existing PMIP mechanism, in the present invention, the MAG-MN needs to query the MAG-CN address of the CN. After querying the address of the MAG-CN (such as the IP address of the MAG-CN), the MAG-MN uses the address of the MAG-CN as the destination to establish a tunnel from the MAG-MN to the MAG-CN (for example, an IP in IP tunnel).
  • the MAG-CN uses the address of the MAG-CN as the destination to establish a tunnel from the MAG-MN to the MAG-CN (for example, an IP in IP tunnel).
  • the MAG-MN can also query the CoA of the CN, and replace the address of the MAG-CN with the CoA address of the CN, and can achieve the same purpose. At this time, the MAG-MN uses the CoA as the end point and establishes the tunnel of the MAG-MN to the MAG-CN, and the effect is equivalent.
  • the MAG-MN when the MAG-MN queries the address of the MAG-CN of the CN (or the CoA of the CN), it can first query in the local cache, and if it is not queried, it can query on other network elements. For example, the LMA (LMA-CN) to CN is queried according to the HoA of CN or the HNP of CN. After querying the desired result, MAG-MN caches the query result locally and uses CN's HoA as an index. The advantage of caching the results of the query locally is that it can avoid frequent logins to other network elements.
  • LMA LMA-CN
  • the CN when the CN sends a downlink IP packet to the MN, the same method as above is used, and the principle is the same, and will not be described again.
  • the path of sending and receiving IP packets between the MN and the CN becomes MN ⁇ ->MAG-MN ⁇ ->MAG-CN ⁇ ->CN, without going through the MN (or MN and CN)
  • Anchoring the LMA network element avoids a series of problems such as waste of the transmission path.
  • the direct use of the existing PMIP switching mechanism will cause the MAG-CN to still send the IP packets sent by the CN to the MN to the sMAG after the handover. Because the MAG address of the MN that is locally cached by the MAG-CN is still sMAG, and the MN is not in the sMAG at this time, the subsequent IP packets sent by the CN to the MN are lost.
  • the embodiment of the present invention provides a handover management method to solve the above problem, and can ensure that the IP packet transmission and reception between the MN and the CN is not wasted on the transmission path after the MAG is switched. .
  • the node information pointed to the MN or the CN in the embodiment of the present invention is information indicating which mobile node or the opposite node is, and may be an identifier of the mobile node or the opposite node ( The ID address and the home address may also be the home network prefix, or may be a combination of two pieces of information or three pieces of information.
  • the address information directed to the MAG in the embodiment of the present invention is used to indicate which MAG is a mobile node.
  • the information of the MAG to which the peer node is attached or attached may be the address of the MAG, or may be the proxy care-of address (CoA) assigned by the MAG to the mobile node (MN), the correspondent node (CN), or may be the MAG.
  • CoA proxy care-of address
  • a combination of address and CoA The information of the node pointing to the MN or the CN is specifically represented by what information, and the information indicating the address information of the MAG is specifically determined by the specific application scenario or the information that may be obtained by the corresponding network element.
  • the present invention is not limited to the specific embodiments, and the detailed description is not intended to limit the invention.
  • the sMAG address information refers to the address of the sMAG, the proxy care-of address (CoA) assigned by the MN to the MN, or a combination of the first two pieces of information;
  • the address information of the tMAG refers to the address of the tMAG, and the tMAG is The proxy care-of address (CoA) assigned by the MN or a combination of the first two information;
  • the address information of the MAG of the opposite-end node of the MN refers to the address of the MAG of the opposite node of the MN, and the MAG of the opposite node of the MN is The CN assigned proxy care-of address (CoA) or a combination of the first two pieces of information.
  • the LMA allocates a home network prefix (HNP) for the MN or the CN, and after the MN or the CN receives the router advertisement message (the message carries the HNP), the address is configured to obtain the home address HoA originating from the HNP.
  • HNP home network prefix
  • An HNP can only be assigned to one terminal, that is, both HNP and HoA can uniquely refer to a particular MN.
  • the LMA/MAG may not know the HoA configured by the MN or CN. In specific network applications, it is also possible for the LMA/MAG to obtain the HoA configured by the MN or CN. When the LMA/MAG does not know the HoA, the LMA/MAG saves the mapping between the HNP and the CoA or MAG address, and indexes it with HNP.
  • the LMA/MAG can store the mapping between the HoA and the CoA or MAG address, and the HoA is used as the index.
  • the mapping between the HNP and the CoA or MAG address can also be saved and indexed by HNP.
  • FIG. 5 is a first embodiment of the present invention.
  • Embodiment 1 of the mobility management method provides a handover management mechanism, which specifically includes the following steps:
  • Step 501 In the process of moving the MN, according to the related technology, the process of the MN switching from the sMAG to the tMAG is triggered, for example, when the MN moves from the service area of the sMAG to the service area of the tMAG.
  • the sMAG needs to obtain the address information of the tMAG (for example, the IP address of the tMAG), or the CoA assigned by the tMAG to the MN (referred to as a new CoA), or obtain the above address and the new CoA at the same time.
  • the address information of the tMAG for example, the IP address of the tMAG
  • the CoA assigned by the tMAG to the MN referred to as a new CoA
  • the sMAG can obtain the address information of the tMAG and the new CoA from the anchor LMA (LMA-MN) or the tMAG of the MN.
  • Steps 502a-502c The opposite CN of the MN sends an IP packet (referred to as downlink data) to the MN, and the IP packet first arrives at the MAG-CN.
  • the MAG-CN locally caches the address or sMAG of the MN's sMAG.
  • the CoA address assigned to the MN (called the old CoA).
  • the MAG-CN will place the IP packet in the tunnel between the sMAG and the sMAG, and send the IP packet to the sMAG.
  • Steps 503a-503c The sMAG parses and determines the received packet. If the IP packet is determined to be from the tunnel between the peer and the peer MAG (referred to as MAG-CN in the embodiment of the present invention), the tunnel source IP address points to the MAG. -CN, and the destination address of the IP packet is the HoA of the MN, and the sMAG determines that the MN is not attached to the link below it (it can be said that the MN is not in its service range), that is, the purpose of the IP packet. The address points to the MN that has been cut out. When the above conditions are met at the same time, the sMAG determines that the local cache of the MAG-CN needs to be updated.
  • the sMAG sends an update address notification message to the MAG-CN, which carries the HoA or HNP or ID of the MN, and the address information of the tMAG and/or the new CoA of the MN.
  • the sMAG learns the address of the MAG-CN according to the tunnel source IP address, that is, which MAG-CN sends the above message (the MN generally has multiple CNs).
  • the MAG-CN determines the local cache corresponding data to be updated according to the HoA or HNP or ID of the MN, and then updates the MAG address of the locally saved MN, or the MN's CoA (or simultaneously updated if Both of these information are saved locally).
  • the current MAG address of the MN that is, the address of the tMAG
  • the MAG-CN can establish a tunnel between it and the tMAG (for example, an IP-in-IP tunnel) according to the address or the new CoA.
  • the ingress address of the tunnel is the MAG-CN's own address (such as an IP address) or the CN's CoA.
  • the egress address is the address of tMAG or the new CoA of the MN.
  • the MAG-CN After the subsequent CN sends an IP packet to the MN, the MAG-CN will directly send the IP packet to the tMAG of the MN according to the tMAG address or the new CoA in the local cache, and then send the IP4 message by the tMAG. To the MN.
  • the MAG-CN also sends an update address notification acknowledgement message to the sMAG as a response.
  • Step 504 The sMAG turns the IP packet sent by the CN to the MN received in step 502. The packet is sent to the MN, and the packet is sent to the MN to ensure that the IP packet is not lost.
  • the sMAG can forward the IP packet to the tMAG according to the address of the tMAG obtained in step 501 or the new CoA of the MN.
  • the tunnel to the tMAG (for example, an IP in IP tunnel) is established by using the address of the tMAG or the new CoA of the MN as the egress address, and the IP packet is placed in the tunnel and transmitted to the tMAG.
  • step 504 can be performed immediately after step 502c, and the execution of step 503 is in no order.
  • MAG-MN needs to know the address of MAG-CN.
  • the embodiment of the present invention also proposes that the MAG-MN needs to cache the address of the MAG-CN or the CoA of the CN to Local, at the same time, the CN's HoA or HNP or ID is used as an index to form a mapping relationship between the peer nodes, such as the HoA or HNP or ID of the CN, mapped to the MAG-CN address or the CN's CoA, which is referred to as the peer mapping relationship. (Correspondent Node Relationship, CNR).
  • CNR Correspondent Node Relationship
  • the MAG-MN needs to locally cache multiple corresponding correspondences, and thus forms a peer mapping relationship table (CNR Table, CNRT), as shown in FIG. A structure for the CNRT.
  • CNR Table, CNRT peer mapping relationship table
  • the table can be used as a global table saved on the MAG, or it can be divided into several local tables corresponding to one MN.
  • the global table which means that the mapping relationship of all the peer nodes of all MNs attached to the MAG is stored in the same table; the local table, which means that the MAG maintains a table for each MN under it, in the table Only the peer mapping relationship of the MN is recorded.
  • Such a table can be saved in the PMIP binding relationship maintained by the MAG for the MN.
  • Figure 6 is a second embodiment of the present invention.
  • the sMAG of the MN needs to send the mapping relationship of the stored peer node to the tMAG of the MN, so as to prevent the tMAG from going to other network element query pairs.
  • the mapping relationship includes the following steps: Step 601: During the MN mobility process, when the MN is triggered to switch from the sMAG to the tMAG, the sMAG needs to obtain the address of the MN's tMAG, such as the IP address of the tMAG.
  • the sMAG can obtain address information of the tMAG.
  • Step 602 After obtaining the address information of the tMAG, the sMAG sends a mapping relationship notification message to the tMAG (the address is sent by using the address of the tMAG as the destination address), and carries the mapping relationship of the foregoing peer node, for example, the peer mapping relationship table ( The global table, or the local table, is sent to the tMAG to inform the tMAG of the current peer mapping relationship of the MN, and the tMAG saves the update to the local cache.
  • the sMAG sends a mapping relationship notification message to the tMAG (the address is sent by using the address of the tMAG as the destination address), and carries the mapping relationship of the foregoing peer node, for example, the peer mapping relationship table ( The global table, or the local table, is sent to the tMAG to inform the tMAG of the current peer mapping relationship of the MN, and the tMAG saves the update to the local cache.
  • the tMAG when the tMAG receives the IP packet sent by the MN to the current CN, it can find the required information in the local cache by using the HoA or HNP of the CN (see Figure 9), instead of Other network elements to find.
  • Step 603 The tMAG sends a mapping relationship notification confirmation message to the sMAG as a response. It is worth noting that the address of the above tMAG can also be replaced by the new CoA of the MN, and the effect is equivalent.
  • the tMAG can also request the information from the sMAG, as shown in Figure 7, except that the sMAG can actively send the mapping relationship of the MN's peer node to the tMAG. As shown in Figure 7, the following steps are included:
  • Step 701 During the MN mobility process, when the MN is triggered to switch from the sMAG to the tMAG, the tMAG needs to obtain the address information of the sMAG of the MN, such as the IP address of the sMAG.
  • the tMAG can obtain the address information of the sMAG of the MN from the LMA.
  • the tMAG performs a PMIP Binding Update (PBU) for the MN to the LMA
  • PBU PMIP Binding Update
  • the LMA notifies the tMAG of the address of the sMAG by the PBA (PMIP Binding Acknowledgement) sent to the tMAG.
  • PBA PMIP Binding Acknowledgement
  • Step 702 The tMAG sends a mapping relationship request message to the sMAG (using the address of the sMAG as the destination address to send the message), carrying the HoA of the MN or the ID of the MN (identity, identity) or the HNP of the MN.
  • Step 703 Based on the request, the sMAG returns a mapping relationship response message to the tMAG.
  • the mapping relationship of the peer node of the MN is carried, for example, the peer mapping relationship is sent. Send it to tMAG.
  • tMAG saves the update to the local cache.
  • FIG. 8 is a third embodiment of the present invention, specifically including the following steps:
  • Step 801 There is an established session between the MN and the CN, and the MN and the CN are received.
  • a two-way tunnel between the MAG-MN and the MAG-CN is used to forward the above IP packets.
  • the path of the data transmission is expressed as MN ⁇ ->sMAG ⁇ ->MAG-CN ⁇ ->CN.
  • Step 802 When the MN needs to switch the currently connected MAG, the MN needs to trigger the process of changing the currently connected MAG, and switch from sMAG to tMAG.
  • Step 803 When the MN moves to the range managed by the tMAG, the MN sends a Router Solicitation message to the tMAG.
  • Step 804a The tMAG finds the LM's anchor LMA (ie, LMA-MN) according to the MN's identity (ie, MN-ID), allocates a new CoA to the MN, and sends a proxy binding update (Proxy Binding Update, PBU) to the LMA.
  • PBU Proxy Binding Update
  • Step 804b The LMA-MN replaces the old CoA with the new CoA of the MN (the new CoA is the CoA assigned by the tMAG to the MN, the old CoA is the CoA assigned by the sMAG to the MN), and is stored locally by using the HoA or HNP of the MN as an index.
  • the CoA of the MN can be queried according to the HoA or HNP of the MN, and the CoA is a new CoA allocated by the tMAG to the MN.
  • the LMA returns a Proxy Binding Acknowledgement (PUA) message to the tMAG to inform the tMAG of the HoA or HNP of the MN.
  • PDA Proxy Binding Acknowledgement
  • the tMAG saves the MN's HoA or HNP and the new CoA locally.
  • Step 805 The tMAG sends a Router Advertisement message to the MN. Based on this message, you can still use the HoA before the mobile switching MAG as its own IP address, which means that the IP address of the MN does not change before and after the MAG is switched.
  • Steps 806a-806b After step 804a, the LMA-MN sends an address notification message to the sMAG, by which the address of the tMAG (eg, the IP address of the tMAG), and/or the new CoA of the MN is sent to the sMAG. It is worth noting that the message also needs to carry the identity of the MN's HoA or HNP or MN (eg, MN-ID) in order for the sMAG to know the MN for which the message is directed. sMAG The above information is cached locally, and an address notification response message is returned to the LMA-MN. Preferably, the message may further carry a handover indication indicating that the current MN is in the state of switching the MAG.
  • the message may further carry a handover indication indicating that the current MN is in the state of switching the MAG.
  • the sMAG establishes a tunnel from sMAG to tMAG (for example, IP in IP tunnel) by using the address of the above tMAG or the new CoA of the MN.
  • the ingress address of the tunnel is the address of the sMAG or the old CoA of the MN
  • the egress address is the address of the tMAG or the new CoA of the MN.
  • Steps 807a-807b After acquiring the address of the tMAG or the new CoA of the MN, as described in steps 602-603, the sMAG sends the mapping relationship of the peer node of the MN (for example, in the form of a peer mapping table) to the tMAG. .
  • Step 808 The CN can continue to send an IP packet to the MN at any time during the entire handover process, and the packet is sent by the MAG-CN to the MN of the MN.
  • Steps 809a-809c Based on the received IP packet sent by the CN to the MN, as described in steps 503a-503c, the sMAG sends a message to the MAG-CN, and notifies the MAG of the MN's tMAG address and/or the MN's new CoA. CN. Subsequent IP packets will be sent directly to the MN's tMAG by the MAG-CN.
  • the message also carries the HoA of the MN or the HNP or the ID of the MN to let the MAG-CN know which MN the message is for.
  • step 806a receives the above IP packet and processes it according to the above description; the other is Before the execution of the step 806a, the sMAG is the IP packet. Since the sMAG does not know the address of the tMAG (or the new CoA), the sMAG needs to cache the IP packet locally. When the execution of step 806a is completed, it is processed as described above.
  • the sMAG needs to forward the received IP packet sent by the CN to the MN to the tMAG. For example, the sMAG sends it to the tMAG in the tunnel described in step 806, and then further sends it to the MN by the tMAG. To ensure that the IP ⁇ ⁇ text is not lost.
  • the data forwarding path is MN ⁇ ->tMAG ⁇ ->MAG-CN ⁇ ->CN thread here the address of the tMAG is made to the tunnel between MAG-CN and tMAG (or MN's new CoA.
  • step 807 From the perspective of tMAG, in step 807, It obtains the address to the MAG-CN, the CoA of the CN; from the perspective of the MAG-CN, in step 809, it obtains the address to the tMAG, the new CoA of the MN.
  • the sMAG learns the address of the tMAG and/or the new CoA of the MN through the active notification of the LMA-MN.
  • the sMAG can also actively request relevant information from the LMA-MN. For example, when the MN leaves the sMAG to switch to the tMAG, the sMAG starts a timer locally. When the timer expires, the sMAG sends a request to the LMA-MN to request the address of the tMAG and/or the new CoA of the MN. If the LMA-MN has already obtained the information (for example, the step 804 has been executed), the information is carried in the response message and fed back to the sMAG.
  • the sMAG can restart the timer, and the request message is sent again after the timer expires. Until the LMA-MN notifies the sMAG to abandon the request (for example, when the LMA-MN determines that the MN has retired).
  • tMAG Another way for sMAG to obtain the above information of tMAG is to actively inform sMAG related information by tMAG.
  • tMAG first needs to obtain the address of sMAG.
  • the message carries the address of the sMAG or the old CoA of the MN.
  • the tMAG can find the sMAG and send a message to the sMAG to notify the sMAG of its own address (ie, the address of the tMAG) and/or the new CoA of the MN. .
  • the mapping relationship between the peer nodes is sent to the tMAG through the method of sMAG active notification.
  • the tMAG may also actively request acquisition from the sMAG.
  • step 804b after the address of the sMAG or the old CoA is obtained by the method tMAG, a message is generated to the sMAG to request the mapping relationship of the peer node of the MN. This step may be performed concurrently with the step 805.
  • the sMAG sends a message to the MAG-CN based on the received IP packet sent by the CN to the MN to notify the MAG of the address of the MN new MAG (tMAG) and/or the new CoA. -CN.
  • tMAG can also do this.
  • the sMAG can acquire the address of the tMAG and/or the new CoA of the MN.
  • the sMAG can establish a tunnel from sMAG to tMAG (step 806). Said). Using this tunnel, the sMAG can forward the received IP packets sent by the CN to the MN to tMAG.
  • the tMAG can also obtain the mapping relationship between the peer node from the sMAG, and store the correspondence between the HoA or HNP of the CN or the ID and the MAG-CN address or the CoA of the CN (see Figure 9).
  • the tMAG finds that the tunnel source address of the IP packet (that is, the packet sent by the CN to the MN) is the address of the sMAG or the old CoA of the MN, instead of the IP mapping of the peer mapping relationship table of the MAG-CN.
  • the source address of the text that is, the HoA query of the CN
  • the tMAG sends a message to the MAG-CN
  • notifies the MAG-CN of its own address and/or new CoA and can also implement the equivalent function.
  • the method in which the sMAG obtains the address of the tMAG and/or the new CoA of the MN and the mapping relationship between the tMAG and the peer node of the MN is the same as that described above, and the details are not described herein.
  • the tMAG may not rely on obtaining the above-mentioned peer mapping table from the sMAG.
  • the sMAG needs to perform a special tunnel encapsulation on the IP address that the CN sends to the MN to prompt the tMAG.
  • a special tunnel encapsulation is to encapsulate the packet in two layers: the source address of the IP packet is the HoA of the CN, the destination address is the HoA of the MN, and the source address of the inner tunnel encapsulation is the address of the MAG-CN or the CN.
  • the destination address is the address of the sMAG or the old CoA of the MN; the source address of the outer tunnel encapsulation is the address of the sMAG or the old CoA of the MN, and the destination address is the address of the tMAG or the new CoA of the MN.
  • the tMAG can know that the MAG-CN encapsulates the IP packet and sends it to the sMAG. Then, the MAG-CN can send a message to the MAG-CN according to the address of the MAG-CN or the CoA of the CN to notify the MAG-CN. tMAG's own address or MN's new CoA.
  • the sMAG or tMAG when the sMAG or tMAG receives the IP packet sent by the CN, it determines whether it needs to update the MAG address or CoA stored in the MAG-CN for the MN, and when it is judged that the update is required, to the MAG-CN. Send a notification message.
  • the sMAG or tMAG may also actively send the above update message to the MAG-CN because the local table is It is saved in the binding information of the MN (tMAG or sMAG can find the binding information according to the HoA or HNP or MN-ID of the MN). Referring to FIG.
  • the tMAG or sMAG can accurately learn the current communication peer of the MN according to the local table, and send a message to all involved MAG-CNs according to the MAG address or CoA of the communication peer to update the MAG-CN.
  • the following steps can be appropriately modified by the example flow shown in FIG. 8, specifically including the following steps:
  • Steps 1001-1005 Steps 801-805.
  • Steps 1006a-1006b Referring to steps 806a-806b, the LMA-MN sends a notification message to the sMAG to inform the MN that a handover has occurred.
  • the message preferably carries the MN's ID or HoA or HNP, and the MN's tMAG address or new CoA.
  • the sMAG returns a reply message to the LMA-MN in 1006b.
  • Step 1007 Based on the foregoing notification message, the sMAG starts to query the mapping relationship of all the peer nodes (CNs) of the MN, for example, from the peer mapping relationship table saved for the MN (for example, finding the binding of the MN through the MN-ID) The information is obtained from the binding information.
  • the query is sent to all MAG-CNs to send an update address notification, and the MN's tMAG address or the MN's new CoA is notified to the MAG-CN.
  • the MAG-CN returns a response message to the sMAG.
  • the notification process is the same as step 809.
  • Step 1008 Same as step 807. Of course, step 1007 and step 1008 can be performed concurrently. Step 1009: Same as step 810.
  • the sMAG After receiving the signaling of the LMA-MN (step 1006), the sMAG starts the process of notifying the MAG-CN related information without relying on the CN to send an IP message to the MN.
  • the tMAG can also notify the sMAG to perform the process.
  • the tMAG After receiving the message of 1004b (804b), the tMAG sends a trigger message to the sMAG, which carries the parameter described in step 1006, and can also trigger the sMAG to start performing the notification MAG.
  • the tMAG may also perform a process of notifying the MAG-CN related information according to the mapping relationship of the peer node of the MN.
  • the process of notifying the MAG-CN related information may be performed as described above.
  • the tMAG obtains the peer mapping relationship table from the sMAG as described above (the second embodiment), and details are not described herein again.
  • the MAG uses the global table to save the peer mapping table of the MN, in order to enable the tMAG or sMAG to send an update message to the MAG-CN to update the MAG-CN, as described in Embodiment 5, in the handover scenario.
  • the saved MAG address or CoA for the MN preferably the MAG also holds a Correspondence Node Table (CNT) for the MN, and FIG. 10 shows two examples of the communication peer table.
  • CNT Correspondence Node Table
  • the MAG needs to maintain one such table for each MN attached to it, and save it in the binding information of the MN, through the HoA or HNP of the MN or The ID can find the table and can know the HoA or ID of the communication peer CN of the MN in the table.
  • the MAG can maintain only one table for all MNs attached to it, and fill all the MN's peer information into this table, and use MN's HoA or HNP or ID as an index.
  • the HoA or ID of the communication peer CN of the designated MN can also be known.
  • the sMAG can perform the process of notifying the MAG-CN related information when receiving the signaling of the LMA-MN or the trigger of the tMAG, and notifying the MN's tMAG address or the new CoA to the relevant
  • the MAG of the CN is as follows: First, all the CNs of the MN are obtained in the communication peer table, and then the corresponding MAG-CN address or the CN of the CN is queried according to the CN in the peer mapping table. Finally, the MAG-CN related information is notified according to the MAG-CN address or the CN's CoA.
  • sMAG can also first send the communication peer table to tMAG first (when using the form of Figure 10b, The sMAG may send the part of the communication peer table associated with the specified MN to tMAG), and then trigger the tMAG to perform the process of notifying the MAG-CN related information.
  • the sMAG can also forward the communication peer table to the tMAG by using the method in which the sMAG passes the peer mapping table to the tMAG in the step 602-603 (702-703) of the second embodiment.
  • the same process as the above method may also be used to notify the MAG-CN related information, and notify the MAG of the relevant CN (ie, MAG-CN) of the MN's tMAG address or new CoA.
  • the table shown in FIG. 9 and the table shown in FIG. 10 can be combined into one table, for example, with the HoA or HNP or ID of the MN as an index, and the HoA, ID of the CN of the MN, The address of the MAA to which the CoA and CN are connected is a value. Then, in this combined table, all CNs of the MN can be queried according to the MN, and the address of the MAG to which the CN is currently connected and/or the CoA of the CN.
  • sMAG and tMAG can always find the mapping relationship of the peer nodes of the specified MN.
  • the embodiment of the present invention further provides a mobile access gateway (MAG), and the embodiment 1 of the MAG is as shown in FIG.
  • MAG mobile access gateway
  • a first message sending module when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), when the sMAG or tMAG is used as the opposite node of the MN (CN) the mobile access gateway sends a first message, where the address information that points to the tMAG is carried;
  • the first message receiving module when the MAG is the peer node of the MN, is configured to receive the first message sent by the sMAG or the tMAG;
  • the local cache update module when acting as the MAG of the peer node of the MN, updates the local cache according to the first message.
  • the embodiment 2 of the MAG is as shown in FIG. 12, which is different from the embodiment 1 shown in FIG. 11.
  • the MAG further includes a message receiving module, where the message receiving module is configured to receive when it is used as an sMAG. a first packet, where the tunnel source IP address of the first packet is the address information of the MAG that points to the peer node of the MN, and the destination address of the text is the node information of the MN that is cut out;
  • the first message sending module sends the first message to the MAG of the peer node of the MN according to the tunnel source IP address of the first packet.
  • the embodiment 3 of the MAG is as shown in FIG. 13. Different from the embodiment 1 shown in FIG. 11, the MAG further includes a second message receiving module and a local cache query module, as the sMAG:
  • the second message receiving module is configured to receive a local mobility anchor (LMA) or a second message sent by the tMAG, where the node information that points to the cut out MN is carried;
  • LMA local mobility anchor
  • the local cache query module is configured to query a local cache according to the node information of the MN in the second message, and obtain a mapping relationship between the peer node (CN) of the MN, where the mapping relationship includes Address information of the MAG of the peer node of the MN;
  • the MAG When the second message is sent by the tMAG, the MAG further includes a second message sending module, and when the tMAG is used, the second message is set to be sent;
  • the first message sending module is configured to send the first message to the MAG of the peer node of the MN according to the mapping relationship of the peer node acquired by the query.
  • the embodiment of the MAG is as shown in FIG. 14.
  • the MAG further includes a peer mapping relationship delivery module and a local cache query module, where:
  • the peer mapping relationship delivery module as the tMAG, is configured to actively request or receive the mapping relationship of the inbound node of the MN that is sent by the sMAG, and when the request is actively requested, the request message carries the pointer to the MN.
  • Node information as the sMAG, the mapping relationship of the peer node of the MN that is sent to the tMAG is sent to the tMAG, and the mapping relationship includes the MAG that points to the peer node of the MN. Address information;
  • the local cache query module is configured to query a local cache to obtain a mapping relationship between the peer node (CN) of the MN when the sMAG is used as the sMAG.
  • the first message sending module sends the first message to the MAG of the peer node of the MN according to the obtained mapping relationship of the peer node of the MN.
  • the embodiment 5 of the MAG is as shown in FIG. 15 , and is different from the embodiment 4 shown in FIG. 14 , the MAG further includes a message receiving module, and when the tMAG is used, the second message is received,
  • the tunnel source IP address of the second >3 ⁇ 4 text is address information pointing to the sMAG, the destination address of the second >3 ⁇ 4 text is node information pointing to the MN that is cut in; and when tMAG is used, the first message is sent
  • the module sends the first message according to the trigger of the received second packet.
  • Embodiment 6 of the MAG is different from Embodiment 2 shown in FIG. 12 in that the four-dimensional receiving mode
  • the block as the tMAG, is configured to receive the third packet, where the outer tunnel source IP address of the third packet is the address information of the sMAG of the MN that is cut in, and the inner tunnel source IP address is The address information of the MAG of the peer node of the MN; the destination address of the third packet is the node information of the MN that is directed to the MN; and the first message sending module, according to the received third packet, The inner tunnel source IP address sends the first message.
  • the embodiment of the MAG of the present invention is different from the third embodiment of the present invention.
  • the MAG further includes a local cache module, configured to cache a peer mapping table corresponding to the MN and a communication peer table of the MN.
  • the local cache query module first queries the corresponding communication peer table according to the node information of the MN, and then queries the peer mapping relationship table to obtain a mapping relationship between the peer node (CN) of the MN.
  • the embodiment of the MAG of the present invention is different from the embodiment 3 or 4.
  • the MAG further includes a local cache module, configured to cache a plurality of peer mapping relationship tables respectively corresponding to one MN, the local cache.
  • the query module obtains a mapping relationship between all the peer nodes (CN) of the MN by querying the corresponding peer mapping relationship table according to the node information of the MN.
  • the first message further carries the node information that is directed to the MN
  • the local cache update module is configured to determine local cache corresponding data to be updated according to the node information that points to the MN.
  • the node information of the MN includes an identifier (ID) of the MN, a home address (HoA), or a home network prefix (HNP);
  • the pointing sMAG address information includes an address of the sMAG or an sMAG is the MN
  • the assigned proxy care-of address (CoA) the address pointing to the tMAG, the address information of the MAG pointing to the opposite node of the MN, including the address of the MAG of the opposite node of the MN, or the peer node of the MN
  • the mobility management method and the mobile access gateway of the embodiment of the present invention when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG to the MN
  • the mobile access gateway (MAG) of the peer node (CN) sends the address information of the tMAG, so that the MAG of the peer node can obtain the address information of the tMAG and update the local cache in time, thereby smoothly forwarding the peer end.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A mobility management method and a mobile access gateway (MAG). The method comprises: when a mobile node (MN) is handed over from a source MAG (sMAG) to a target MAG (tMAG), the sMAG or the tMAG sending a first message carrying address information pointing to the tMAG to the MAG of a correspondent node (CN) of the MN; and the MAG of the CN of the MN receiving the first message, and updating the local cache according to the first message.

Description

移动性管理的方法及移动接入网关  Mobile management method and mobile access gateway
技术领域 Technical field
本发明涉及移动通信领域, 尤其涉及一种移动性管理的方法及移动接入 网关。  The present invention relates to the field of mobile communications, and in particular, to a mobility management method and a mobile access gateway.
背景技术 Background technique
传输控制协议 /因特网互联协议 ( Transmission Control Protocol/Internet Protocol, TCP/IP ) ,在初始设计时未考虑终端会发生拓朴位置改变的情况, 即 TCP/IP协议本身不支持移动性。 在传统的 TCP/IP网络环境中, IP为因特网 (Internet)提供了路由功能, 它给所有节点 (包括主机和路由器)都分配了逻 辑地址, 即 IP地址, 且每台主机的各个端口都分配一个 IP地址。 IP地址包 括网络前缀和主机部分, 同一条链路上的所有主机的 IP地址通常有相同的网 络前缀和不同的主机部分。 这使得 IP可以依据目的节点的 IP地址的网络前 缀部分来进行路由选择, 从而使路由器秩序保存一条简单的网络前缀路由, 而不必为每台主机保存一条单独的路由。 在这种情况下, 由于釆用了网络前 缀路由, 因此当节点从一条链路切换到另一条链路而没有改变其 IP地址时, 该节点则不可能在新链路上接收到数据报文, 从而也就无法与其他节点进行 通信。  The Transmission Control Protocol/Internet Protocol (TCP/IP) does not consider the topology change of the terminal in the initial design. That is, the TCP/IP protocol itself does not support mobility. In the traditional TCP/IP network environment, IP provides routing for the Internet. It assigns logical addresses, ie IP addresses, to all nodes (including hosts and routers), and each port of each host is assigned. An IP address. The IP address includes the network prefix and the host part. The IP addresses of all hosts on the same link usually have the same network prefix and different host parts. This allows IP to be routed based on the network prefix portion of the destination node's IP address, allowing the router to maintain a simple network prefix route without having to maintain a separate route for each host. In this case, since the network prefix route is used, when the node switches from one link to another without changing its IP address, the node cannot receive the data packet on the new link. Therefore, it is impossible to communicate with other nodes.
随着用户对移动性和信息的需求急剧上升, 越来越多的人希望在移动的 过程中高速地接入互联网, 获取急需的信息, 完成想做的事情。 因此, 移动 互联网成为未来互联网的发展方向,但是传统 TCP/IP协议不支持移动性的缺 陷, 使得对移动节点的移动性管理成为移动互联网面对的一大难题。  As users' demand for mobility and information rises sharply, more and more people want to access the Internet at high speed during the mobile process, get much-needed information, and do what they want. Therefore, the mobile Internet has become the development direction of the future Internet, but the traditional TCP/IP protocol does not support the defect of mobility, making the mobility management of mobile nodes a major problem facing the mobile Internet.
为了解决移动性管理问题, 业界比较流行的移动性管理技术包括移动 IP ( Mobile IP, MIP ) 、 代理移动 IP ( Proxy MIP , PMIP )等。 这些技术的共 同特点是引入了固定锚点(Anchor )来实现对移动节点的移动性管理。 例如, MIP协议使用家乡代理(Home agent, HA )作为锚点、 PMIP协议使用本地 移动性锚点 ( Local Mobility Anchor, LMA )作为锚点。 图 1所示的是 PMIP协议的逻辑架构,包括移动节点( Mobile Node, MN )、 通信对端( Correspondent Node, CN )、移动接入网关( Mobile Access Gateway, MAG )以及 LMA。 MAG是 MN的第一跳路由器, 其主要作用包括在 MN接 入时为其分配一个被称作为转交地址(Care of Address, CoA ) 的 IP地址以 及为 MN执行与 MN的锚点 LMA之间的 PMIP绑定( PMIP Binding ) 。 LMA 是 MN的锚点,其主要作用包括为 MN分配一个被称作为家乡地址( Home of Address, HoA )的 IP地址以及处理上述 PMIP绑定。 MAG与 LMA之间执行 的 PMIP绑定的主要目的是让双方均获知对方的地址、 上述的 CoA和 HoA, 并将这些信息分别保存在本地。 此外, 在执行 PMIP的绑定过程中, 还为 MN 在 MAG和 LMA之间建立了一条双向隧道。 值得说明的是, MN最后获取到 的 IP地址是 LMA为其分配的 HoA。 在通常的网络部署中, MAG—般位于 拓朴较低的位置, 比如位于城域网的边缘; 而 LMA则一般位于拓朴较高的位 置 , 比如省干网的核心部分。 MAG与 LMA之间实际上往往通过多跳路由器 相连。 In order to solve the mobility management problem, the industry's more popular mobility management technologies include Mobile IP (MIP), Proxy MIP (PMIP) and so on. A common feature of these technologies is the introduction of a fixed anchor (Anchor) to achieve mobility management of mobile nodes. For example, the MIP protocol uses a Home Agent (HA) as an anchor point, and the PMIP protocol uses a Local Mobility Anchor (LMA) as an anchor point. Figure 1 shows the logical architecture of the PMIP protocol, including Mobile Node (MN), Correspondence Node (CN), Mobile Access Gateway (MAG), and LMA. The MAG is the first hop router of the MN, and its main function includes assigning an IP address called a Care of Address (CoA) to the MN when accessing the MN and performing an operation with the MN's anchor LMA for the MN. PMIP Binding (PMIP Binding). The LMA is the anchor of the MN, and its main role includes assigning the MN an IP address called Home of Address (HoA) and processing the above PMIP binding. The main purpose of the PMIP binding performed between the MAG and the LMA is to let both parties know the address of the other party, the above CoA and HoA, and store the information locally. In addition, in the process of performing PMIP binding, a bidirectional tunnel is established between the MAG and the LMA for the MN. It is worth noting that the IP address finally obtained by the MN is the HoA assigned by the LMA. In a typical network deployment, the MAG is generally located at a lower topology, such as at the edge of a metropolitan area network; and the LMA is generally located at a higher topology, such as the core of the provincial backbone. The MAG and the LMA are often connected by a multi-hop router.
获取到 HoA ( IP地址) 以后, MN使用 HoA作为其通信地址与位于 IP 网络上的 CN交互, 收发 IP报文。 图 2所示为 MN与 CN之间收发 IP报文的 过程示意图。 以 MN向 CN发送上行( Uplink ) IP报文为例, 该 IP报文的目 的地址是 CN的 IP地址, 源地址是 MN的 HoA。 MN将该报文发送至自己连 接的 MAG; MAG根据 HoA在本地查询到 MN的锚点 LMA地址, 然后将上 述 IP报文放在 MAG与 LMA之间的隧道中发送到 LMA;最后 LMA再将 MN 发出的 IP报文使用普通的 IP路由机制发送到 CN。 同理, CN向 MN发送的 下行( Downlink ) IP 4艮文也需通过上述的 LMA以及 MAG。  After obtaining the HoA (IP address), the MN uses the HoA as its communication address to interact with the CN located on the IP network to send and receive IP packets. Figure 2 shows the process of sending and receiving IP packets between the MN and the CN. For example, the MN sends an Uplink IP packet to the CN. The destination address of the IP packet is the IP address of the CN, and the source address is the HoA of the MN. The MN sends the packet to the MAG to which it is connected. The MAG locally queries the anchor LMA address of the MN according to the HoA, and then sends the IP packet to the LMA in the tunnel between the MAG and the LMA; finally, the LMA will The IP packets sent by the MN are sent to the CN using the normal IP routing mechanism. Similarly, the downlink (downlink) IP 4 message sent by the CN to the MN also needs to pass the above LMA and MAG.
PMIP协议的移动性管理体现在随着 MN 的移动能变更当前连接到的 MAG, 同时保持 MN的 IP地址(即 HoA ) 不变。 如图 3所示, 变更当前连 接的 MAG是指从先前连接的源 MAG ( Source MAG, sMAG )变更连接到目 标 MAG ( Target MAG, tMAG ) 。 在变更到 tMAG以后 , tMAG为 MN分配 一个新的 CoA, 并为 MN执行与 MN的锚点 LMA之间的 PMIP绑定, 更新 上文提及双方保存的信息, 以及在 tMAG与 LMA之间为 MN建立新的双向 隧道。 参照图 2和图 3 ,在 MN移动变更连接的 MAG (以下称之为切换)前后, MN与 CN间收发 IP ^艮文的路径都可表达为 MN<->MAG<->LMA<->CN, 都 必须绕路到 MN的锚点 LMA。 即使 MAG有路由功能, 且 MAG与 CN之间 有 IP网相连接(图 1 ) , IP报文也不能直接通过 MAG收发, 存在报文传递 路径的浪费。 The mobility management of the PMIP protocol is reflected in the fact that the MN's mobile can change the currently connected MAG while keeping the MN's IP address (ie HoA) unchanged. As shown in Figure 3, changing the currently connected MAG means changing the connection to the target MAG (Target MAG, tMAG) from the previously connected source MAG (Source MAG, sMAG). After changing to tMAG, tMAG allocates a new CoA to the MN, and performs PMIP binding with the MN's anchor LMA for the MN, updating the information saved by the two parties mentioned above, and between tMAG and LMA. The MN establishes a new two-way tunnel. Referring to FIG. 2 and FIG. 3, before and after the MN moves the MAG of the changed connection (hereinafter referred to as handover), the path of transmitting and receiving the IP address between the MN and the CN can be expressed as MN<->MAG<->LMA<-> CN, all must detour to the anchor point LMA of the MN. Even if the MAG has a routing function, and there is an IP network connection between the MAG and the CN (Fig. 1), the IP packets cannot be directly sent and received through the MAG, and there is a waste of the packet transmission path.
当 MN目前位置远离其锚点 LMA时, MN与 CN间收发的 IP 4艮文也必 须通过其锚点 LAM转发。特别是当 MN目前位置距离 CN较近时,上述传输 路径浪费问题将会更加明显。 图 4中的实线所表示的为存在传输路径浪费的 路由, 虚线所表示的则为无传输路径浪费的路由。 传输路径的浪费一方面会 导致运营商传输承载资源的浪费,导致了运营成本增加;另一方面增加了 MN 与 CN间收发 IP报文的时延, 不利于改善用户的业务体验; 再一方面是使大 量的 IP报文汇聚到 MN的锚点 LMA(—般来说一个 LMA能服务很多个 MN ), 使 LMA容易成为性能瓶颈,增大了报文在该节点拥塞的可能性,导致整体网 络质量下降, 造成 MN业务受阻甚至不能实现(如, 语音视频等实时业务)。  When the MN is currently located away from its anchor LMA, the IP 4 transmitted and received between the MN and the CN must also be forwarded through its anchor LAM. Especially when the current location of the MN is closer to the CN, the above-mentioned waste of the transmission path will be more obvious. The solid line in Fig. 4 indicates that there is a wasteful route of the transmission path, and the dotted line indicates a route that is not wasted by the transmission path. The waste of the transmission path causes the carrier to waste the transmission of the bearer resources, which leads to an increase in the operating cost. On the other hand, the delay between sending and receiving IP packets between the MN and the CN is increased, which is not conducive to improving the user experience. It is to make a large number of IP packets converge to the MN's anchor LMA (in general, an LMA can serve many MNs), making LMA easy to become a performance bottleneck, increasing the possibility of packets being congested at the node, resulting in overall The quality of the network is degraded, causing the MN service to be blocked or even impossible to implement (for example, real-time services such as voice and video).
还值得说明的是, 上述 CN也可以位于 PMIP域, 应用上述的 PMIP移动 性管理机制(例如, CN是另一个移动节点, 也即图 1中所示的 CN' )。 此时 CN也连接到一个 MAG, 也有一个锚点 LMA。 在这种情况下, MN与 CN之 间的 IP报文的收发路径为: MN<->MN的 MAG<->MN的 LMA<->CN的 LMA<->CN的 MAG<->CN。 由此可见在这种场景下, MN与 CN间的报文收 发必须绕路经过两者的锚点 LMA, 报文传递路径的浪费更加明显, 以后造成 的上述不良后果更加严重。 为了解决以上问题, 可使报文在两个 MAG之间 转发,但在 MN的 MAG切换后,会出现 CN的 MAG因未及时更新本地緩存, 进而导致 MN和 CN之间报文无法顺利转发的问题。 发明内容  It should also be noted that the above CN may also be located in the PMIP domain, applying the PMIP mobility management mechanism described above (for example, CN is another mobile node, that is, CN' shown in FIG. 1). At this time, CN is also connected to a MAG, and there is also an anchor LMA. In this case, the transmission and reception path of the IP packet between the MN and the CN is: MN<-> MAG of the MN<-> LMA of the MN<-> MAG<->CN of the LMA<->CN of the CN. It can be seen that in this scenario, the packet transmission and reception between the MN and the CN must bypass the anchor point LMA of both, and the waste of the message transmission path is more obvious, and the above-mentioned adverse consequences are more serious. In order to solve the above problem, the packet can be forwarded between the two MAGs. However, after the MAG of the MN is switched, the MAG of the CN does not update the local cache in time, and the packet between the MN and the CN cannot be forwarded smoothly. problem. Summary of the invention
本发明要实施例解决的技术问题是提供一种移动性管理方法和移动接入 网关, 以解决 MAG切换后, 报文无法顺利转发的问题。  The technical problem to be solved by the embodiments of the present invention is to provide a mobility management method and a mobile access gateway, so as to solve the problem that packets cannot be successfully forwarded after the MAG is switched.
为解决以上技术问题, 本发明实施例提供了一种移动性管理方法, 该方 法包括 : 移动节点( MN )从源移动接入网关( sMAG )切换到目标移动接入网关 ( tMAG )时, 所述 sMAG或 tMAG向所述 MN的对端节点( CN )的移动接 入网关(MAG )发送第一消息, 所述第一消息中携带指向所述 tMAG的地址 信息; To solve the above technical problem, an embodiment of the present invention provides a mobility management method, where the method includes: When the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG moves to the mobile access gateway (MAG) of the opposite node (CN) of the MN. Sending a first message, where the first message carries address information that points to the tMAG;
所述 MN的对端节点的 MAG接收所述第一消息, 并根据所述第一消息 更新本地緩存。  The MAG of the peer node of the MN receives the first message, and updates the local cache according to the first message.
可选的, 所述 sMAG发送所述第一消息前, 该方法还包括: 所述 sMAG 接收第一报文,所述第一报文的隧道源 IP地址为指向所述 MN的 CN的 MAG 的地址信息, 所述第 文的目的地址为指向切出的所述 MN的节点信息; 所述 sMAG根据所述第一报文的隧道源 IP地址向所述 MN的 CN的 MAG发 送所述第一消息。  Optionally, before the sending, by the sMAG, the first message, the method further includes: the sMAG receiving the first packet, where the tunnel source IP address of the first packet is directed to the MAG of the CN of the MN Address information, the destination address of the text is the node information of the MN that is cut out; the sMAG sends the first to the MAG of the CN of the MN according to the tunnel source IP address of the first packet Message.
可选的, 所述 sMAG发送所述第一消息前, 该方法还包括:  Optionally, before the sending, by the sMAG, the first message, the method further includes:
本地移动性锚点( LMA )或所述 tMAG向所述 sMAG发送第二消息, 所 述第二消息中携带指向切出的所述 MN的节点信息;  a local mobility anchor (LMA) or the tMAG sends a second message to the sMAG, where the second message carries node information that points to the MN that is cut out;
所述 sMAG接收所述第二消息, 根据所述第二消息中的指向所述 MN的 节点信息查询本地緩存, 获取所述 MN的 CN的映射关系, 所述映射关系中 包括指向所述 MN的 CN的 MAG的地址信息;  The sMAG receives the second message, and queries a local cache according to the node information of the MN to obtain a mapping relationship between the CNs of the MN, where the mapping relationship includes the MN Address information of the MA of the CN;
所述 sMAG根据查询获取的所述 CN的映射关系向所述 MN的 CN的 MAG发送所述第一消息。  The sMAG sends the first message to the MAG of the CN of the MN according to the mapping relationship of the CN obtained by the query.
可选的, 所述 sMAG发送所述第一消息前, 该方法还包括:  Optionally, before the sending, by the sMAG, the first message, the method further includes:
所述 sMAG向所述 MN的本地移动性锚点请求获取指向所述 tMAG的地 址信息;  The sMAG requests the local mobility anchor of the MN to obtain address information that points to the tMAG;
或,所述 MN的 LMA主动通知所述 sMAG指向所述 tMAG的地址信息; 或, 所述 tMAG通知所述 sMAG指向所述 tMAG的地址信息。  Or, the LMA of the MN actively notifies the sMAG to address the address information of the tMAG; or, the tMAG notifies the sMAG of the address information of the tMAG.
可选的, 所述 tMAG发送所述第一消息前, 该方法还包括:  Optionally, before the sending, by the tMAG, the first message, the method further includes:
所述 tMAG获取切入的所述 MN的 CN的映射关系, 所述映射关系中包 括所述指向所述对端节点的 MAG的地址信息; 所述 tMAG根据获取的所述 MN的 CN的映射关系向所述对端节点的 MAG发送所述第一消息。 Obtaining, by the tMAG, a mapping relationship of the CN of the MN, where the mapping relationship includes the address information of the MAG that points to the opposite node; The tMAG sends the first message to the MAG of the opposite node according to the obtained mapping relationship of the CN of the MN.
可选的, 所述 tMAG发送所述第一消息前, 该方法还包括:  Optionally, before the sending, by the tMAG, the first message, the method further includes:
所述 tMAG获取切入的所述 MN的对端节点的映射关系, 所述映射关系 中包括指向所述对端节点的 MAG的地址信息;  The tMAG acquires a mapping relationship of the peer node of the MN, where the mapping relationship includes address information of the MAG that points to the peer node;
所述 tMAG接收第二报文, 所述第二报文的隧道源 IP地址为指向所述 sMAG的地址信息, 所述第二>¾文目的地址为指向切入的所述 MN的节点信 息,触发所述 tMAG根据所述对端节点的映射关系向所述发送所述第一消息。  The tMAG receives the second packet, where the tunnel source IP address of the second packet is the address information of the sMAG, and the second >3⁄4 text address is the node information of the MN that is directed to the switch, triggering Transmitting, by the tMAG, the first message according to the mapping relationship of the peer node.
可选的, 所述 tMAG发送所述第一消息前, 该方法还包括:  Optionally, before the sending, by the tMAG, the first message, the method further includes:
所述 tMAG接收第三报文,所述第三报文的外层隧道源 IP地址为指向切 入的 MN的 sMAG的地址信息, 内层隧道源 IP地址为指向所述 MN的对端 节点的 MAG的地址信息; 所述第三>¾文目的地址为指向所述切入的 MN的 节点信息;  The tMAG receives the third packet, where the outer tunnel source IP address of the third packet is the address information of the sMAG of the MN, and the inner tunnel source IP address is the MAG of the peer node of the MN. Address information; the third >3⁄4 directory address is node information pointing to the cut-in MN;
所述 tMAG根据所述第三报文的内层隧道源 IP地址向所述对端节点的 MAG发送所述第一消息。  The tMAG sends the first message to the MAG of the opposite node according to the inner tunnel source IP address of the third packet.
可选的,所述 tMAG获取切入的所述 MN的 CN的映射关系的步骤包括: 所述 sMAG获取指向所述 tMAG的地址节点信息;  Optionally, the step that the tMAG acquires the mapping relationship of the CN of the MN is: the sMAG acquires address node information that points to the tMAG;
所述 sMAG查询本地緩存, 获取切出的所述 MN的 CN的映射关系; 所述 sMAG根据所述指向所述 tMAG的地址信息将切出的所述 MN的 CN的映射关系发送给所述 tMAG;  The sMAG queries the local cache, and obtains the mapping relationship of the cut CN of the MN. The sMAG sends the cut mapping relationship of the CN of the MN to the tMAG according to the address information of the tMAG. ;
或, 包括:  Or, including:
所述 tMAG向所述 sMAG发送请求消息,其中携带指向所述 MN的节点 信息;  The tMAG sends a request message to the sMAG, where the node information that points to the MN is carried;
所述 sMAG接收所述请求消息, 根据指向所述 MN的节点信息查询本地 緩存, 获取切出的所述 MN的 CN的映射关系;  Receiving, by the sMAG, the request message, querying a local cache according to the node information that is directed to the MN, and acquiring a mapping relationship of the CN of the MN that is cut out;
所述 sMAG向所述 tMAG返回应答消息, 其中携带所述 MN的 CN的对 端映射关系。 可选的, 所述 sMAG的本地緩存包括一个对应所有 MN的对端映射关系 表和对应每个 MN的通信对端表,所述 sMAG根据指向所述 MN的节点信息 查询对应的通信对端表进而查询所述对端映射关系表获取所述 MN的对端节 点的映射关系。 The sMAG returns a response message to the tMAG, where the NDMA carries the peer mapping relationship of the CN of the MN. Optionally, the local cache of the sMAG includes a peer mapping relationship table corresponding to all MNs and a communication peer table corresponding to each MN, and the sMAG queries the corresponding communication peer table according to the node information that points to the MN. Then, the peer mapping relationship table is queried to obtain a mapping relationship between the peer nodes of the MN.
可选的, 所述 sMAG的本地緩存包括一个或多个分别对应一个 MN的对 端映射关系表, 所述 sMAG根据指向所述 MN的节点信息查询对应的对端映 射关系表获取所述 MN的 CN的映射关系。  Optionally, the local cache of the sMAG includes one or more peer mapping relationship tables respectively corresponding to one MN, where the sMAG queries the corresponding peer mapping relationship table according to the node information that points to the MN to obtain the MN. The mapping relationship of CN.
可选的, 所述第一消息中还携带所述指向所述 MN的节点信息, 所述对 端节点的 MAG更新本地緩存时, 根据所述指向所述 MN的节点信息确定待 更新的本地緩存对应数据。  Optionally, the first message further carries the node information that is directed to the MN, and when the MAG of the peer node updates the local cache, determining, according to the node information that points to the MN, a local cache to be updated. Corresponding data.
本发明还提供一种移动接入网关 (MAG ) ,  The invention also provides a mobile access gateway (MAG),
移动节点( MN )从源移动接入网关( sMAG )切换到目标移动接入网关 ( tMAG ) 时, 所述 MAG作为所述 sMAG或 tMAG时, 包括第一消息发送 模块,其设置为: 向所述 MN的对端节点(CN )移动接入网关发送第一消息, 所述第一消息中携带指向所述 tMAG的地址信息;  When the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), when the MAG is used as the sMAG or tMAG, the first message sending module is configured to be: The mobile node of the MN (CN) mobile access gateway sends a first message, where the first message carries address information that points to the tMAG;
所述 MAG作为所述 MN的 CN的 MAG时,包括第一消息接收模块和本 地緩存更新模块,  When the MAG is used as the MAG of the CN of the MN, the first message receiving module and the local cache update module are included.
所述第一消息接收模块设置为接收所述 sMAG或 tMAG发送的所述第一 消息;  The first message receiving module is configured to receive the first message sent by the sMAG or tMAG;
所述本地緩存更新模块设置为根据所述第一消息更新本地緩存。  The local cache update module is configured to update the local cache based on the first message.
可选的, 所述 MAG作为所述 sMAG时, 还包括报文接收模块, 其中, 所述报文接收模块设置为接收第一报文, 所述第一报文的隧道源 IP地址 为指向所述 MN的 CN的 MAG的地址信息, 所述第一报文的目的地址为指 向切出的所述 MN的节点信息; 所述第一消息发送模块是设置为根据所述第 一 ^艮文的隧道源 IP地址向所述 MN的对端节点的 MAG发送所述第一消息。  Optionally, the MAG, as the sMAG, further includes a packet receiving module, where the packet receiving module is configured to receive the first packet, where the tunnel source IP address of the first packet is a pointing address The address information of the MAG of the CN of the MN, the destination address of the first packet is the node information of the MN that is cut out; the first message sending module is configured to be according to the first message The tunnel source IP address sends the first message to the MAG of the opposite node of the MN.
可选的, 所述 MAG作为 sMAG时, 还包括第二消息接收模块和本地緩 存查询模块, 其中:  Optionally, when the MAG is used as the sMAG, the second message receiving module and the local cache query module are further included, where:
所述第二消息接收模块设置为接收本地移动性锚点( LMA )或所述 tMAG 发送的第二消息, 所述第二消息中携带指向切出的所述 MN的节点信息; 所述本地緩存查询模块设置为根据所述第二消息中的指向所述 MN的节 点信息查询本地緩存, 获取所述 MN的 CN的映射关系, 所述映射关系中包 括指向所述 MN的 CN的 MAG的地址信息; The second message receiving module is configured to receive a local mobility anchor (LMA) or the tMAG Sending a second message, where the second message carries node information that points to the MN that is cut out; the local cache query module is configured to query a local cache according to node information in the second message that points to the MN Obtaining a mapping relationship of the CN of the MN, where the mapping relationship includes address information of a MAG that points to the CN of the MN;
所述第二消息由所述 tMAG发送时, 所述 MAG作为所述 tMAG时还包 括第二消息发送模块, 所述第二消息发送模块设置为发送所述第二消息; 所述第一消息发送模块是设置为根据查询获取的所述 CN的映射关系向 所述 MN的 CN的 MAG发送所述第一消息。  When the second message is sent by the tMAG, the MAG further includes a second message sending module, where the second message sending module is configured to send the second message; The module is configured to send the first message to the MAG of the CN of the MN according to the mapping relationship of the CN acquired by the query.
模块和本地緩存查询模块, 其中: Module and local cache query module, where:
所述 MAG作为所述 tMAG时, 所述对端映射关系传递模块, 设置为主 动请求或接收所述 sMAG发送的切入的所述 MN的 CN的映射关系, 主动请 求时,请求消息中携带指向所述 MN的节点信息;所述 MAG作为所述 sMAG 时, 所述对端映射关系传递模块设置为主动或根据请求向所述 tMAG发送切 出的所述 MN的 CN的映射关系, 所述映射关系中包括所述指向所述 MN的 CN的 MAG的地址信息;  When the MAG is used as the tMAG, the peer mapping relationship delivery module is configured to actively request or receive the mapping relationship of the CN of the MN that is sent by the sMAG, and when the request is actively requested, the request message carries the pointing location. a node information of the MN, where the MAG is used as the sMAG, the peer mapping relationship delivery module is configured to send the cut mapping relationship of the cut CN of the MN to the tMAG according to the request, where the mapping relationship is Included in the address information of the MAG that points to the CN of the MN;
所述 MAG作为 sMAG时, 所述本地緩存查询模块设置为: 查询本地緩 存, 获取所述 MN的 CN的映射关系;  When the MAG is used as the sMAG, the local cache query module is configured to: query a local cache, and obtain a mapping relationship of the CN of the MN;
所述 MAG作为 tMAG时, 所述第一消息发送模块是设置为根据获取的 所述 MN的 CN的映射关系向所述 MN的 CN的 MAG发送所述第一消息。  When the MAG is used as the tMAG, the first message sending module is configured to send the first message to the MAG of the CN of the MN according to the obtained mapping relationship of the CN of the MN.
可选的, 所述 MAG作为所述 tMAG时, 还包括报文接收模块, 其设置 为接收第二报文,所述第二报文的隧道源 IP地址为指向所述 sMAG的地址信 息,所述第二报文的目的地址为指向切入的所述 MN的节点信息; 所述 MAG 作为 tMAG时, 所述第一消息发送模块是设置为根据接收的所述第二报文的 触发发送所述第一消息。  Optionally, the MAG, as the tMAG, further includes a packet receiving module, configured to receive a second packet, where a tunnel source IP address of the second packet is address information of the sMAG, where The destination address of the second packet is the node information of the MN that is directed to the MN. When the MAG is the tMAG, the first message sending module is configured to send the identifier according to the trigger of the received second packet. The first message.
可选的, 所述 MAG作为所述 tMAG时还包括报文接收模块, 其设置为 接收第三报文, 所述第三报文的外层隧道源 IP地址为指向切入的 MN 的 sMAG的地址信息, 内层隧道源 IP地址为指向所述 MN的 CN的 MAG的地 址信息; 所述第三报文目的地址为指向所述切入的 MN 的节点信息; 所述 MAG作为 tMAG时,所述第一消息发送模块是设置为根据接收的所述第三报 文的内层隧道源 IP地址发送所述第一消息。 Optionally, the MAG, as the tMAG, further includes a packet receiving module, configured to receive a third packet, where an outer tunnel source IP address of the third packet is an address of an sMAG that points to the MN that is switched in. Information, the inner tunnel source IP address is the location of the MAG pointing to the CN of the MN Address information; the third message destination address is the node information of the MN that is directed to the MN; when the MAG is the tMAG, the first message sending module is configured to be based on the received third message. The layer tunnel source IP address sends the first message.
可选的, 所述 MAG作为 sMAG时还包括本地緩存模块, 其设置为緩存 对应所述 MN的对端映射关系表和所述 MN的通信对端表, 所述本地緩存查 询模块是设置为先根据指向所述 MN的节点信息查询对应的通信对端表进而 查询所述对端映射关系表获取所述 MN的 CN的映射关系。  Optionally, the MAG, as the sMAG, further includes a local cache module, configured to cache a peer mapping relationship table corresponding to the MN and a communication peer table of the MN, where the local cache query module is set to first Querying the corresponding communication peer table according to the node information of the MN, and querying the peer mapping relationship table to obtain the mapping relationship of the CN of the MN.
可选的, 所述 MAG作为 sMAG时还包括本地緩存模块, 其设置为緩存 一个或多个分别对应一个 MN的对端映射关系表, 所述本地緩存查询模块是 设置为根据指向所述 MN 的节点信息查询对应的对端映射关系表获取所述 MN的所有 CN的映射关系。  Optionally, the MAG, as the sMAG, further includes a local cache module, configured to cache one or more peer mapping relationship tables respectively corresponding to one MN, where the local cache query module is configured to be directed to the MN. The peer mapping relationship table corresponding to the node information query acquires the mapping relationship of all the CNs of the MN.
可选的, 所述第一消息中还携带所述指向所述 MN的节点信息, 所述本 地緩存更新模块是设置为根据所述指向所述 MN的节点信息确定待更新的本 地緩存对应数据。  Optionally, the first message further carries the node information that is directed to the MN, where the local cache update module is configured to determine local cache corresponding data to be updated according to the node information that points to the MN.
本发明实施例的移动性管理方法和移动接入网关在移动节点( MN )从源 移动接入网关(sMAG )切换到目标移动接入网关(tMAG ) 时, 所述 sMAG 或 tMAG向所述 MN的对端节点 ( CN ) 的移动接入网关 ( MAG )发送指向 所述 tMAG的地址信息,使得对端节点的 MAG可以及时获取指向所述 tMAG 的地址信息并更新本地緩存,进而能够顺利转发对端节点发送给 MN的报文。  The mobility management method and the mobile access gateway of the embodiment of the present invention, when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG to the MN The mobile access gateway (MAG) of the peer node (CN) sends the address information of the tMAG, so that the MAG of the peer node can obtain the address information of the tMAG in time and update the local cache, so that the pair can be successfully forwarded. The packet sent by the end node to the MN.
附图概述 BRIEF abstract
图 1为相关技术中 PMIP协议的逻辑架构示意图;  1 is a schematic diagram of a logical architecture of a PMIP protocol in the related art;
图 2为相关技术中 MN与 CN之间收发 IP报文的过程示意图;  2 is a schematic diagram of a process of transmitting and receiving IP packets between a MN and a CN in the related art;
图 3为相关技术中 MN切换 MAG的过程示意图;  FIG. 3 is a schematic diagram of a process of the MN switching MAG in the related art;
图 4为相关技术中以 LMA为锚点的路径分析示意图;  4 is a schematic diagram of path analysis using an LMA as an anchor point in the related art;
图 5至图 8为本发明移动性管理方法的实施例示意图;  5 to FIG. 8 are schematic diagrams showing an embodiment of a mobility management method according to the present invention;
图 9为对端映射关系表的示例示意图;  FIG. 9 is a schematic diagram showing an example of a peer mapping table;
图 10a、 10b为通信对端表的示例示意图; 图 11至图 15为本发明实施例的 MAG的模块结构示意图。 本发明的较佳实施方式 10a, 10b are schematic diagrams showing an example of a communication peer table; 11 to FIG. 15 are schematic diagrams showing the structure of a module of a MAG according to an embodiment of the present invention. Preferred embodiment of the invention
由上文所述, 相关技术的移动性管理方案会导致传输路径浪费问题, 进 而导致一系列不良后果, 究其本质原因是存在锚点。 所有 MN与 CN间的 IP 才艮文都必须绕经 MN的锚点网元(或, 绕经 MN以及 CN的锚点网元) 。 本 发明通过对现有的 PMIP机制的改造, 避免上文提到的一系列问题。  From the above, the mobility management scheme of the related art causes a waste of the transmission path, which in turn leads to a series of adverse consequences, and the essential reason is that there is an anchor point. All IP packets between the MN and the CN must bypass the MN's anchor network element (or, around the MN and CN anchor network elements). The present invention avoids the series of problems mentioned above by modifying the existing PMIP mechanism.
与相关技术的 PMIP协议的逻辑架构(如图 1所示)相比,改造后的 PMIP 协议架构所包含的网元仍然为移动节点 MN、 通信对端 CN、 移动接入网关 MAG以及 LMA。 其中 CN可以是固定节点, 也可以是移动节点, 即具有相 应的 MAG和 LMA。  Compared with the logical architecture of the related technology PMIP protocol (as shown in FIG. 1 ), the modified PMIP protocol architecture includes the mobile node MN, the communication peer CN, the mobile access gateway MAG, and the LMA. The CN may be a fixed node or a mobile node, that is, has a corresponding MAG and LMA.
MAG是 MN的第一跳路由器,其主要作用除了相关技术的 PMIP架构中 的为 MN分配转交地址 CoA, 以及代替 MN执行与 MN的锚点 LMA之间的 PMIP绑定外, 还需要具备如下功能: 在本地或向其他网元(如, LMA )查 询获得通信对端 CN当前连接的 MAG ( MAG-CN )的地址或 CN的转交地址 CoA; 在 MN的 MAG ( MAG-MN )和 CN的 MAG之间建立双向隧道, 转发 MN与 CN之间的 IP报文。  The MAG is the first hop router of the MN. Its main function is to allocate the care-of address CoA for the MN in the PMIP architecture of the related art, and to perform PMIP binding with the anchor LMA of the MN instead of the MN. : Query locally or to other network elements (eg, LMA) to obtain the MAG (MAG-CN) address of the currently connected CN or the CN's care-of address CoA; MAG (MAG-MN) of the MN and MAG of CN A bidirectional tunnel is established to forward IP packets between the MN and the CN.
LMA不再作为 MN的锚点, MN与 CN之间的 IP数据报文,也不再必须 经过 LMA。 LMA需要保存当前 MAG-MN的地址和 /或 MN的 CoA, 并以 MN作为索引,例如以 MN的 HoA或者 MN的家乡网络前缀( Home Network Prefix, HNP )作为索引, 以供 MN的通信对端 CN或 CN的 MAG根据 MN 的相关信息来查询。  The LMA is no longer used as the anchor of the MN. The IP data packets between the MN and the CN are no longer required to pass through the LMA. The LMA needs to save the address of the current MAG-MN and/or the CoA of the MN, and use the MN as an index, for example, the Home Network Prefix (HNP) of the MN's HoA or MN is used as an index for the MN's communication peer. The MAG of the CN or CN is queried according to the relevant information of the MN.
在本实施例发明中, 当 MN向 CN发送上行 IP报文时, 与现有的 PMIP 机制一致 , MN需要首先将 IP报文发送到 MN的 MAG-MN。后续与现有 PMIP 机制所不同的是, 在本发明中 MAG-MN需要查询 CN的 MAG-CN地址。 在 查询到 MAG-CN的地址(如 MAG-CN的 IP地址)后, MAG-MN用 MAG-CN 的地址作为终点 , 建立 MAG-MN到 MAG-CN的隧道(如, IP in IP隧道 ) , 同时将上述 IP报文放在隧道中, 直接发送给 MAG-CN0 当 MAG-CN收到隧 道中传递来的 IP报文以后, 将 IP报文发送给 CN。 需要说明的是, MAG-MN也可以查询 CN的 CoA, 用 CN的 CoA地址 代替上述的 MAG-CN的地址, 也能达到相同的目的。 此时, MAG-MN使用 CoA作为终点, 建立 MAG-MN到 MAG-CN的隧道, 效果等同。 In the embodiment of the present invention, when the MN sends an uplink IP packet to the CN, it is consistent with the existing PMIP mechanism, and the MN needs to first send the IP packet to the MAG-MN of the MN. Subsequent to the existing PMIP mechanism, in the present invention, the MAG-MN needs to query the MAG-CN address of the CN. After querying the address of the MAG-CN (such as the IP address of the MAG-CN), the MAG-MN uses the address of the MAG-CN as the destination to establish a tunnel from the MAG-MN to the MAG-CN (for example, an IP in IP tunnel). while in the above-described IP tunnel packets, sent directly to the MAG-CN 0 when received MAG-CN tunnel IP packets transmitted to the IP packets transmitted to CN. It should be noted that the MAG-MN can also query the CoA of the CN, and replace the address of the MAG-CN with the CoA address of the CN, and can achieve the same purpose. At this time, the MAG-MN uses the CoA as the end point and establishes the tunnel of the MAG-MN to the MAG-CN, and the effect is equivalent.
还需要说明的是, MAG-MN在查询 CN的 MAG-CN的地址(或 CN的 CoA ) 时, 可以首先在本地緩存中查询, 若查询不到再到其他网元上查询。 例如, 到 CN的 LMA ( LMA-CN )根据 CN的 HoA或 CN的 HNP来查询。 查询到所需的结果以后, MAG-MN再将查询结果緩存在本地, 并以 CN 的 HoA作为索引。 将查询结果緩存在本地的好处是能避免频繁的到其他网元去 执行查询操作。  It should be noted that when the MAG-MN queries the address of the MAG-CN of the CN (or the CoA of the CN), it can first query in the local cache, and if it is not queried, it can query on other network elements. For example, the LMA (LMA-CN) to CN is queried according to the HoA of CN or the HNP of CN. After querying the desired result, MAG-MN caches the query result locally and uses CN's HoA as an index. The advantage of caching the results of the query locally is that it can avoid frequent logins to other network elements.
同样道理, CN向 MN发送下行 IP报文时, 也使用上述类似的方法, 原 理相同, 不再赘述。 使用本发明实施例的这种方法, MN与 CN间收发 IP报 文的路径变为 MN<->MAG-MN<->MAG-CN<->CN,无需经过 MN (或者 MN 以及 CN ) 的锚点 LMA网元, 避免了传输路径的浪费等一系列问题。  By the same token, when the CN sends a downlink IP packet to the MN, the same method as above is used, and the principle is the same, and will not be described again. With the method of the embodiment of the present invention, the path of sending and receiving IP packets between the MN and the CN becomes MN<->MAG-MN<->MAG-CN<->CN, without going through the MN (or MN and CN) Anchoring the LMA network element avoids a series of problems such as waste of the transmission path.
应用上述改造后的 PMIP机制 ,当 MN需要从其 sMAG切换到目标 tMAG 时, 直接使用现有的 PMIP切换机制会致使在切换后 MAG-CN仍然将 CN发 给 MN的 IP报文发给 sMAG, 因为 MAG-CN本地緩存的 MN的 MAG地址 仍然是 sMAG,而此时的 MN已经不在该 sMAG下,因此会造成后续所有 CN 发送给 MN的 IP报文丟失。 因此基于上述对 PMIP机制的改造, 本发明实施 例提供了一种切换管理的方法以解决上述问题, 并在切换 MAG之后仍能保 证 MN与 CN之间 IP报文的收发无传输路径上的浪费。  Applying the modified PMIP mechanism, when the MN needs to switch from its sMAG to the target tMAG, the direct use of the existing PMIP switching mechanism will cause the MAG-CN to still send the IP packets sent by the CN to the MN to the sMAG after the handover. Because the MAG address of the MN that is locally cached by the MAG-CN is still sMAG, and the MN is not in the sMAG at this time, the subsequent IP packets sent by the CN to the MN are lost. Therefore, based on the foregoing modification of the PMIP mechanism, the embodiment of the present invention provides a handover management method to solve the above problem, and can ensure that the IP packet transmission and reception between the MN and the CN is not wasted on the transmission path after the MAG is switched. .
需要说明的是,本发明实施例中所说的指向所述 MN或 CN的节点信息, 是用于表明是哪一个移动节点或对端节点的信息, 可以是移动节点或对端节 点的标识 (ID ) 、 家乡地址也可以是或家乡网络前缀, 还可以是其中的两个 信息的组合或三个信息; 本发明实施例所说的指向 MAG的地址信息是用于 表明哪一个 MAG是移动节点或对端节点附着或曾附着的 MAG的信息,可以 是 MAG的地址, 也可以是 MAG为移动节点(MN )、 对端节点(CN )分配 的代理转交地址(CoA ) , 还可以是 MAG的地址和 CoA的组合。 指向所述 MN或 CN的节点信息具体釆用什么信息表示,指向 MAG的地址信息具体釆 用什么信息表示, 均由具体应用场景或相应网元可能得到的信息决定, 此非 本发明重点, 本发明对此不做限定, 实施例中的具体描述仅为示意, 不应作 为对本发明的限制。 It should be noted that the node information pointed to the MN or the CN in the embodiment of the present invention is information indicating which mobile node or the opposite node is, and may be an identifier of the mobile node or the opposite node ( The ID address and the home address may also be the home network prefix, or may be a combination of two pieces of information or three pieces of information. The address information directed to the MAG in the embodiment of the present invention is used to indicate which MAG is a mobile node. The information of the MAG to which the peer node is attached or attached may be the address of the MAG, or may be the proxy care-of address (CoA) assigned by the MAG to the mobile node (MN), the correspondent node (CN), or may be the MAG. A combination of address and CoA. The information of the node pointing to the MN or the CN is specifically represented by what information, and the information indicating the address information of the MAG is specifically determined by the specific application scenario or the information that may be obtained by the corresponding network element. The present invention is not limited to the specific embodiments, and the detailed description is not intended to limit the invention.
具体地, 指向 sMAG地址信息指所述 sMAG的地址、 sMAG为所述 MN 分配的代理转交地址(CoA )或前两个信息的组合; 指向 tMAG的地址信息 指所述 tMAG的地址、 tMAG为所述 MN分配的代理转交地址( CoA )或前 两个信息的组合; 指向 MN的对端节点的 MAG的地址信息指所述 MN的对 端节点的 MAG的地址、 MN的对端节点的 MAG为所述 CN分配的代理转交 地址(CoA )或前两个信息的组合。  Specifically, the sMAG address information refers to the address of the sMAG, the proxy care-of address (CoA) assigned by the MN to the MN, or a combination of the first two pieces of information; the address information of the tMAG refers to the address of the tMAG, and the tMAG is The proxy care-of address (CoA) assigned by the MN or a combination of the first two information; the address information of the MAG of the opposite-end node of the MN refers to the address of the MAG of the opposite node of the MN, and the MAG of the opposite node of the MN is The CN assigned proxy care-of address (CoA) or a combination of the first two pieces of information.
另, LMA为 MN或 CN分配的是家乡网络前缀(HNP ) , MN或 CN收 到路由器通告消息 (消息中携带 HNP )后, 进行地址配置, 获得源自 HNP 的家乡地址 HoA。 一个 HNP只能分配给一个终端, 也就是说, HNP和 HoA 都能唯一指代一个特定的 MN。 LMA/MAG有可能不知道 MN或 CN配置的 HoA,在具体的网络应用中, LMA/MAG也有可能获得 MN或 CN配置的 HoA。 当 LMA/MAG不知道 HoA时 , LMA/MAG保存 HNP与 CoA或 MAG地址的 映射关系 , 并以 HNP为索引。 当 LMA/MAG知道 HoA时 , LMA/MAG可以 保存 HoA与 CoA或 MAG地址的映射关系, 并以 HoA为索引; 也可以保存 HNP与 CoA或 MAG地址的映射关系, 并以 HNP为索引。  In addition, the LMA allocates a home network prefix (HNP) for the MN or the CN, and after the MN or the CN receives the router advertisement message (the message carries the HNP), the address is configured to obtain the home address HoA originating from the HNP. An HNP can only be assigned to one terminal, that is, both HNP and HoA can uniquely refer to a particular MN. The LMA/MAG may not know the HoA configured by the MN or CN. In specific network applications, it is also possible for the LMA/MAG to obtain the HoA configured by the MN or CN. When the LMA/MAG does not know the HoA, the LMA/MAG saves the mapping between the HNP and the CoA or MAG address, and indexes it with HNP. When the LMA/MAG is aware of the HoA, the LMA/MAG can store the mapping between the HoA and the CoA or MAG address, and the HoA is used as the index. The mapping between the HNP and the CoA or MAG address can also be saved and indexed by HNP.
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一  Embodiment 1
图 5是本发明第一实施例, 本移动性管理方法实施例一提供了一种切换 管理机制, 具体包含以下步骤:  FIG. 5 is a first embodiment of the present invention. Embodiment 1 of the mobility management method provides a handover management mechanism, which specifically includes the following steps:
步骤 501 : 在 MN移动的过程中, 依照相关技术会触发 MN从 sMAG切 换到 tMAG的流程,例如 MN从 sMAG的服务区域移动到 tMAG的服务区域 时。 此时 sMAG需要获取 tMAG的地址信息(如, tMAG的 IP地址 ) , 或该 tMAG给 MN分配的 CoA(称之为新 CoA ),或者同时获取上述地址和新 CoA。  Step 501: In the process of moving the MN, according to the related technology, the process of the MN switching from the sMAG to the tMAG is triggered, for example, when the MN moves from the service area of the sMAG to the service area of the tMAG. At this time, the sMAG needs to obtain the address information of the tMAG (for example, the IP address of the tMAG), or the CoA assigned by the tMAG to the MN (referred to as a new CoA), or obtain the above address and the new CoA at the same time.
优选地, sMAG可以从 MN的锚点 LMA ( LMA-MN )或 tMAG上获取 上述 tMAG的地址信息、 新 CoA。 步骤 502a-502c: MN的对端 CN向 MN发送 IP报文(称之为下行数据 ) , 该 IP 艮文首先到达 MAG-CN。 Preferably, the sMAG can obtain the address information of the tMAG and the new CoA from the anchor LMA (LMA-MN) or the tMAG of the MN. Steps 502a-502c: The opposite CN of the MN sends an IP packet (referred to as downlink data) to the MN, and the IP packet first arrives at the MAG-CN.
假定在 MN发生跨 MAG移动之前, MN与 CN之间就已经存在活跃的会 话(即, 有数据在 MN与 CN之间传递) , 此时 MAG-CN本地緩存的是 MN 的 sMAG的地址或 sMAG为 MN分配的 CoA地址(称之为旧 CoA ) 。 依照 上文所述的数据传输方法, MAG-CN会将该 IP报文放在其与上述 sMAG之 间的隧道中, 将该 IP 4艮文发送到 sMAG。  It is assumed that there is already an active session between the MN and the CN (ie, there is data passing between the MN and the CN) before the MN moves across the MAG. At this time, the MAG-CN locally caches the address or sMAG of the MN's sMAG. The CoA address assigned to the MN (called the old CoA). According to the data transmission method described above, the MAG-CN will place the IP packet in the tunnel between the sMAG and the sMAG, and send the IP packet to the sMAG.
步骤 503a-503c: sMAG对接收的报文进行解析判断, 若判断该 IP报文 来自它与对端节点 MAG (本发明实施例称为 MAG-CN )之间的隧道即隧道 源 IP地址指向 MAG-CN, 且该 IP报文的目的地址是 MN的 HoA, sMAG又 判断该 MN不附着在它之下的链路上(也可以说, MN不在它的服务范围内 ) 即, IP报文目的地址指向已切出的 MN。 上述条件同时满足时, sMAG判断 MAG-CN的本地緩存需要更新。 sMAG向 MAG-CN发送更新地址通知消息, 其中携带 MN的 HoA或 HNP或 ID, 以及上述 tMAG的地址信息和 /或 MN 的新 CoA。 其中, sMAG根据上述的隧道源 IP地址获知 MAG-CN的地址, 也即向哪个 MAG-CN发送上述的消息 (MN—般会有多个 CN ) 。  Steps 503a-503c: The sMAG parses and determines the received packet. If the IP packet is determined to be from the tunnel between the peer and the peer MAG (referred to as MAG-CN in the embodiment of the present invention), the tunnel source IP address points to the MAG. -CN, and the destination address of the IP packet is the HoA of the MN, and the sMAG determines that the MN is not attached to the link below it (it can be said that the MN is not in its service range), that is, the purpose of the IP packet. The address points to the MN that has been cut out. When the above conditions are met at the same time, the sMAG determines that the local cache of the MAG-CN needs to be updated. The sMAG sends an update address notification message to the MAG-CN, which carries the HoA or HNP or ID of the MN, and the address information of the tMAG and/or the new CoA of the MN. The sMAG learns the address of the MAG-CN according to the tunnel source IP address, that is, which MAG-CN sends the above message (the MN generally has multiple CNs).
MAG-CN收到上述消息以后 , 4艮据所述 MN的 HoA或 HNP或 ID确定 待更新的本地緩存对应数据,进而更新本地保存的 MN的 MAG地址,或 MN 的 CoA(或同时更新 ,如果这两个信息都被保存在本地 )。更新后 ,在 MAG-CN 的本地緩存中,根据 MN的 HoA或 HNP或 ID,可以查询到 MN当前的 MAG 的地址(即 tMAG的地址), 或者可以查询到 MN的新 CoA。 MAG-CN可以 才艮据该地址或新 CoA建立其与 tMAG之间的隧道(如, IP-in-IP隧道) 。 该 隧道的入口地址是 MAG-CN自己的地址(如 IP地址)或 CN的 CoA, 出口 地址是 tMAG的地址或 MN的新 CoA。  After receiving the above message, the MAG-CN determines the local cache corresponding data to be updated according to the HoA or HNP or ID of the MN, and then updates the MAG address of the locally saved MN, or the MN's CoA (or simultaneously updated if Both of these information are saved locally). After the update, in the local cache of the MAG-CN, according to the HoA or HNP or ID of the MN, the current MAG address of the MN (that is, the address of the tMAG) can be queried, or the new CoA of the MN can be queried. The MAG-CN can establish a tunnel between it and the tMAG (for example, an IP-in-IP tunnel) according to the address or the new CoA. The ingress address of the tunnel is the MAG-CN's own address (such as an IP address) or the CN's CoA. The egress address is the address of tMAG or the new CoA of the MN.
后续 CN再向 MN发送 IP报文时, MAG-CN会根据本地緩存中的上述 tMAG地址或新 CoA, 将 IP 文隧道封装之后直接发送到 MN的 tMAG上, 再由 tMAG将 IP 4艮文发送给 MN。  After the subsequent CN sends an IP packet to the MN, the MAG-CN will directly send the IP packet to the tMAG of the MN according to the tMAG address or the new CoA in the local cache, and then send the IP4 message by the tMAG. To the MN.
优选地, MAG-CN还向 sMAG发送更新地址通知确认消息, 作为应答。 步骤 504: sMAG将在步骤 502中收到的由 CN发送给 MN的 IP报文转 发给 tMAG, 再由 tMAG将报文发送给 MN, 以保证 IP报文不丟失。 Preferably, the MAG-CN also sends an update address notification acknowledgement message to the sMAG as a response. Step 504: The sMAG turns the IP packet sent by the CN to the MN received in step 502. The packet is sent to the MN, and the packet is sent to the MN to ensure that the IP packet is not lost.
sMAG可以根据在 501步中获取到的 tMAG的地址或者 MN的新 CoA, 来将该 IP报文转发给 tMAG。 例如, 用 tMAG的地址或者 MN的新 CoA作 为出口地址, 建立通往 tMAG的隧道(如, IP in IP隧道 ) , 并将 IP报文放 在隧道中传递给 tMAG。  The sMAG can forward the IP packet to the tMAG according to the address of the tMAG obtained in step 501 or the new CoA of the MN. For example, the tunnel to the tMAG (for example, an IP in IP tunnel) is established by using the address of the tMAG or the new CoA of the MN as the egress address, and the IP packet is placed in the tunnel and transmitted to the tMAG.
值得说明的是, 步骤 504可以紧接着步骤 502c执行, 与步骤 503的执行 无先后顺序。  It should be noted that step 504 can be performed immediately after step 502c, and the execution of step 503 is in no order.
实施例二 Embodiment 2
如上文所述, 为了避免路径浪费, MAG-MN需要知道 MAG-CN的地址 As mentioned above, in order to avoid path waste, MAG-MN needs to know the address of MAG-CN.
(或 CN的 CoA ) 。 在 MAG-MN未掌握相关的信息时, 需要到外界其他网 元去查询。 (or CN's CoA). When the MAG-MN does not have the relevant information, it needs to go to other network elements to query.
为了避免频繁的查询(不能每收到一个 MN发给 CN的 IP报文, 都要去 查询一次 ) , 本发明实施例还提出 MAG-MN需要将上述 MAG-CN的地址或 CN的 CoA緩存到本地, 同时以 CN的 HoA或 HNP或 ID作为索引, 组成一 个对端节点的映射关系 ,如 CN的 HoA或 HNP或 ID, 映射到 MAG-CN地址 或 CN的 CoA, 简称其为对端映射关系 (Correspondent Node Relationship, CNR )。 值得说明的是, 当 MN的 CN不止一个时, MAG-MN需要本地緩存 多个上述的对应关系, 此时就构成了一张对端映射关系表(CNR Table, CNRT ) , 如图 9所示为该 CNRT的一种结构。  In order to avoid frequent queries (there is no need to query the IP packets sent by the MN to the CN once), the embodiment of the present invention also proposes that the MAG-MN needs to cache the address of the MAG-CN or the CoA of the CN to Local, at the same time, the CN's HoA or HNP or ID is used as an index to form a mapping relationship between the peer nodes, such as the HoA or HNP or ID of the CN, mapped to the MAG-CN address or the CN's CoA, which is referred to as the peer mapping relationship. (Correspondent Node Relationship, CNR). It is worth noting that when there are more than one CN of the MN, the MAG-MN needs to locally cache multiple corresponding correspondences, and thus forms a peer mapping relationship table (CNR Table, CNRT), as shown in FIG. A structure for the CNRT.
该表可以作为 MAG上保存的一张全局表, 也可以划分为若干个分别对 应一个 MN的局部表。 全局表, 其含义是该 MAG下附着的所有 MN的所有 对端节点的映射关系都保存在同一张表; 局部表, 其含义是 MAG为其下每 一个 MN都维护一张表, 该表中只记录该 MN的对端映射关系, 这样的表可 以保存在 MAG为 MN维护的 PMIP绑定关系中。  The table can be used as a global table saved on the MAG, or it can be divided into several local tables corresponding to one MN. The global table, which means that the mapping relationship of all the peer nodes of all MNs attached to the MAG is stored in the same table; the local table, which means that the MAG maintains a table for each MN under it, in the table Only the peer mapping relationship of the MN is recorded. Such a table can be saved in the PMIP binding relationship maintained by the MAG for the MN.
图 6是本发明的第二实施例, 在 MN切换的过程中, MN的 sMAG需要 将其存储的上述对端节点的映射关系发送给 MN 的 tMAG, 这样可以避免 tMAG再去其他网元查询对端映射关系, 具体包括以下步骤: 步骤 601 : 在 MN移动过程中, 当触发 MN从 sMAG切换到 tMAG时, sMAG需要获到 MN的 tMAG的地址, 如 tMAG的 IP地址。 Figure 6 is a second embodiment of the present invention. In the process of MN handover, the sMAG of the MN needs to send the mapping relationship of the stored peer node to the tMAG of the MN, so as to prevent the tMAG from going to other network element query pairs. The mapping relationship includes the following steps: Step 601: During the MN mobility process, when the MN is triggered to switch from the sMAG to the tMAG, the sMAG needs to obtain the address of the MN's tMAG, such as the IP address of the tMAG.
优选地, 如步骤 501所述的方法, sMAG可以获取 tMAG的地址信息。 步骤 602: 在获取 tMAG的地址信息以后, sMAG向 tMAG发送映射关 系通知消息 (以 tMAG的地址为目的地址发送消息) , 携带上述的对端节点 的映射关系, 例如将上述对端映射关系表(全局表, 或者局部表)发送给 tMAG, 以告知 tMAG该 MN当前的对端映射关系 , tMAG将之更新保存到本 地緩存中。  Preferably, as in the method of step 501, the sMAG can obtain address information of the tMAG. Step 602: After obtaining the address information of the tMAG, the sMAG sends a mapping relationship notification message to the tMAG (the address is sent by using the address of the tMAG as the destination address), and carries the mapping relationship of the foregoing peer node, for example, the peer mapping relationship table ( The global table, or the local table, is sent to the tMAG to inform the tMAG of the current peer mapping relationship of the MN, and the tMAG saves the update to the local cache.
此时 , 当 tMAG收到 MN发往上述当前的 CN的 IP报文时 , 便可在本地 緩存中以 CN的 HoA或 HNP为索引查找到所需的信息(参见图 9 ) , 而不必 再到其他网元去查找。  At this time, when the tMAG receives the IP packet sent by the MN to the current CN, it can find the required information in the local cache by using the HoA or HNP of the CN (see Figure 9), instead of Other network elements to find.
步骤 603: tMAG向 sMAG发送映射关系通知确认消息, 作为应答。 值得说明的是, 上述 tMAG的地址也可以用 MN的新 CoA来代替, 其效 果是等同的。  Step 603: The tMAG sends a mapping relationship notification confirmation message to the sMAG as a response. It is worth noting that the address of the above tMAG can also be replaced by the new CoA of the MN, and the effect is equivalent.
除了 sMAG可以主动将上述 MN 的对端节点的映射关系发表发送给 tMAG以外, tMAG也可以主动向 sMAG请求该信息, 如图 7所示, 具体包 括如下步骤:  The tMAG can also request the information from the sMAG, as shown in Figure 7, except that the sMAG can actively send the mapping relationship of the MN's peer node to the tMAG. As shown in Figure 7, the following steps are included:
步骤 701 : 在 MN移动过程中, 当触发 MN从 sMAG切换到 tMAG时, tMAG需要获取到 MN的 sMAG的地址信息, 如 sMAG的 IP地址。  Step 701: During the MN mobility process, when the MN is triggered to switch from the sMAG to the tMAG, the tMAG needs to obtain the address information of the sMAG of the MN, such as the IP address of the sMAG.
优选地, tMAG可以从 LMA获取到 MN的 sMAG的地址信息。 例如, 在 tMAG为 MN向 LMA执行 PMIP绑定更新 ( PMIP Binding Update, PBU ) 时, LMA通过向 tMAG发送的 PBA( PMIP Binding Acknowledgement )将 sMAG 的地址通知给 tMAG。  Preferably, the tMAG can obtain the address information of the sMAG of the MN from the LMA. For example, when the tMAG performs a PMIP Binding Update (PBU) for the MN to the LMA, the LMA notifies the tMAG of the address of the sMAG by the PBA (PMIP Binding Acknowledgement) sent to the tMAG.
步骤 702: tMAG向 sMAG发送映射关系请求消息 (以 sMAG的地址作 为目的地址发送消息) , 携带 MN的 HoA或者 MN的 ID ( Identity, 标识 ) 或者 MN的 HNP。  Step 702: The tMAG sends a mapping relationship request message to the sMAG (using the address of the sMAG as the destination address to send the message), carrying the HoA of the MN or the ID of the MN (identity, identity) or the HNP of the MN.
步骤 703: 基于请求, sMAG向 tMAG返回映射关系应答消息, 如步骤 602所述, 携带 MN的对端节点的映射关系, 例如将上述对端映射关系表发 送给 tMAG。 收到该映射关系以后, tMAG将之更新保存到本地緩存中。 Step 703: Based on the request, the sMAG returns a mapping relationship response message to the tMAG. As described in step 602, the mapping relationship of the peer node of the MN is carried, for example, the peer mapping relationship is sent. Send it to tMAG. After receiving the mapping, tMAG saves the update to the local cache.
实施例三 Embodiment 3
图 8是本发明第三实施例, 具体包括以下步骤:  FIG. 8 is a third embodiment of the present invention, specifically including the following steps:
步骤 801: MN与 CN之间存在已经建立好的会话, MN与 CN之间的收  Step 801: There is an established session between the MN and the CN, and the MN and the CN are received.
MAG-MN与 MAG-CN之间存在一条双向的隧道,用于转发上述的 IP报 文, 数据传输的路径表达为 MN<->sMAG<->MAG-CN<->CN。 A two-way tunnel between the MAG-MN and the MAG-CN is used to forward the above IP packets. The path of the data transmission is expressed as MN<->sMAG<->MAG-CN<->CN.
步骤 802: 当 MN发生移动而需要切换当前连接的 MAG时, MN需要触 发变更当前连接的 MAG的流程, 从 sMAG切换到 tMAG上。  Step 802: When the MN needs to switch the currently connected MAG, the MN needs to trigger the process of changing the currently connected MAG, and switch from sMAG to tMAG.
步骤 803: 在 MN移动到 tMAG管理的范围下时, MN向 tMAG发送路 由征集请求 ( Router Solicitation ) 消息。  Step 803: When the MN moves to the range managed by the tMAG, the MN sends a Router Solicitation message to the tMAG.
步骤 804a: tMAG根据 MN的标识(即 MN-ID )找到 MN的锚点 LMA (即 LMA-MN ) , 同时为 MN分配一个新的 CoA, 并向 LMA发送代理绑定 更新 ( Proxy Binding Update , PBU ) 消息, 将上述新 CoA发送给 LMA-MN。  Step 804a: The tMAG finds the LM's anchor LMA (ie, LMA-MN) according to the MN's identity (ie, MN-ID), allocates a new CoA to the MN, and sends a proxy binding update (Proxy Binding Update, PBU) to the LMA. The message, the above new CoA is sent to the LMA-MN.
步骤 804b: LMA-MN用 MN的新 CoA取代旧 CoA (新 CoA是 tMAG为 MN分配的 CoA, 旧 CoA是 sMAG为 MN分配的 CoA ) , 并用 MN的 HoA 或 HNP作为索引将之保存在本地。此时根据 MN的 HoA或 HNP可以查询到 MN的 CoA, 且该 CoA是 tMAG为 MN分配的新 CoA。 LMA向 tMAG返回 代理绑定确认(Proxy Binding Acknowledgement, PUA )消息, 通知 tMAG该 MN的 HoA或 HNP。 tMAG将 MN的 HoA或 HNP与新 CoA均保存在本地。  Step 804b: The LMA-MN replaces the old CoA with the new CoA of the MN (the new CoA is the CoA assigned by the tMAG to the MN, the old CoA is the CoA assigned by the sMAG to the MN), and is stored locally by using the HoA or HNP of the MN as an index. At this time, the CoA of the MN can be queried according to the HoA or HNP of the MN, and the CoA is a new CoA allocated by the tMAG to the MN. The LMA returns a Proxy Binding Acknowledgement (PUA) message to the tMAG to inform the tMAG of the HoA or HNP of the MN. The tMAG saves the MN's HoA or HNP and the new CoA locally.
步骤 805: tMAG向 MN发送路由广播( Router Advertisement )消息。 基 于该消息,ΜΝ可以仍然使用移动切换 MAG之前的 HoA作为自己的 IP地址, 也就是说保证了 MN的 IP地址在切换 MAG前后不发生变化。  Step 805: The tMAG sends a Router Advertisement message to the MN. Based on this message, you can still use the HoA before the mobile switching MAG as its own IP address, which means that the IP address of the MN does not change before and after the MAG is switched.
步骤 806a-806b: 在步骤 804a之后, LMA-MN向 sMAG发送地址通知消 息, 通过该消息将 tMAG的地址(如, tMAG的 IP地址 ) , 和 /或 MN的新 CoA发送给 sMAG。 值得说明的是, 该消息还需要携带 MN的 HoA或 HNP 或 MN的标识(如, MN-ID ) ,以便让 sMAG获知该消息所针对的 MN。 sMAG 将上述信息緩存在本地 , 同时向 LMA-MN返回地址通知应答消息。 优选地 , 该消息还可以携带一个切换指示,指示当前 MN正处于切换 MAG的状态中。 Steps 806a-806b: After step 804a, the LMA-MN sends an address notification message to the sMAG, by which the address of the tMAG (eg, the IP address of the tMAG), and/or the new CoA of the MN is sent to the sMAG. It is worth noting that the message also needs to carry the identity of the MN's HoA or HNP or MN (eg, MN-ID) in order for the sMAG to know the MN for which the message is directed. sMAG The above information is cached locally, and an address notification response message is returned to the LMA-MN. Preferably, the message may further carry a handover indication indicating that the current MN is in the state of switching the MAG.
此时, sMAG利用上述 tMAG的地址或 MN的新 CoA建立从 sMAG到 tMAG的隧道(如, IP in IP隧道 ) 。 隧道的入口地址是 sMAG的地址或 MN 的旧 CoA, 出口地址是 tMAG的地址或 MN的新 CoA。  At this time, the sMAG establishes a tunnel from sMAG to tMAG (for example, IP in IP tunnel) by using the address of the above tMAG or the new CoA of the MN. The ingress address of the tunnel is the address of the sMAG or the old CoA of the MN, and the egress address is the address of the tMAG or the new CoA of the MN.
步骤 807a-807b: 在获取到 tMAG的地址或 MN的新 CoA以后, 同步骤 602-603所述, sMAG将 MN的对端节点的映射关系(例如以对端映射关系表 的形式)发送给 tMAG。  Steps 807a-807b: After acquiring the address of the tMAG or the new CoA of the MN, as described in steps 602-603, the sMAG sends the mapping relationship of the peer node of the MN (for example, in the form of a peer mapping table) to the tMAG. .
步骤 808: 在整个切换过程的任意时刻, CN都可以继续向 MN发送 IP 报文, 且该报文会被 MAG-CN发送到 MN的 sMAG。  Step 808: The CN can continue to send an IP packet to the MN at any time during the entire handover process, and the packet is sent by the MAG-CN to the MN of the MN.
步骤 809a-809c:基于收到的 CN发送给 MN的 IP报文,如步骤 503a-503c 所述, sMAG向 MAG-CN发送消息,将 MN的 tMAG地址和 /或 MN的新 CoA 通知给 MAG-CN。后续的 IP报文将会被 MAG-CN直接发送到 MN的 tMAG。  Steps 809a-809c: Based on the received IP packet sent by the CN to the MN, as described in steps 503a-503c, the sMAG sends a message to the MAG-CN, and notifies the MAG of the MN's tMAG address and/or the MN's new CoA. CN. Subsequent IP packets will be sent directly to the MN's tMAG by the MAG-CN.
优选地,该消息还携带 MN的 HoA或 HNP或 MN的 ID, 以让 MAG-CN 知道该消息是针对哪个 MN的。  Preferably, the message also carries the HoA of the MN or the HNP or the ID of the MN to let the MAG-CN know which MN the message is for.
值得说的是,这里分两种情况讨论,一种是在步骤 806a执行完成之后(或 完成之时) , sMAG收到上述的 IP报文, 则依照上面的描述进行处理; 另一 种是在步骤 806a执行完成之前, sMAG就是到了上述 IP报文,由于此时 sMAG 还不知 tMAG的地址(或新 CoA ) , sMAG需要将上述 IP报文緩存在本地。 等到步骤 806a执行完成时, 立刻依照上述描述进行处理。  It is worth mentioning that there are two situations discussed here. One is that after the execution of step 806a is completed (or when it is completed), the sMAG receives the above IP packet and processes it according to the above description; the other is Before the execution of the step 806a, the sMAG is the IP packet. Since the sMAG does not know the address of the tMAG (or the new CoA), the sMAG needs to cache the IP packet locally. When the execution of step 806a is completed, it is processed as described above.
还值得说明的是, sMAG还需要将收到的上述 CN发送给 MN的 IP报文 转发给 tMAG, 例如 sMAG将之放在 806步所述的隧道中发送给 tMAG, 再 由 tMAG进一步发送给 MN, 以保证 IP ^艮文不丟失。 应 MN 的 tMAG ) 以 及 MAG-CN 来转发, 数据转发路径为 MN<->tMAG<->MAG-CN<->CN„这里对 MAG-CN与 tMAG之间的隧道做进 tMAG的地址(或 MN的新 CoA )。 从 tMAG的角度来看, 在步骤 807步中, 其获得到 MAG-CN的地址、 CN的 CoA; 从 MAG-CN的角度来看, 在步骤 809中, 其获得到 tMAG的地址、 MN的新 CoA。 It is also worth noting that the sMAG needs to forward the received IP packet sent by the CN to the MN to the tMAG. For example, the sMAG sends it to the tMAG in the tunnel described in step 806, and then further sends it to the MN by the tMAG. To ensure that the IP ^ 艮 text is not lost. Forwarded by MN's tMAG) and MAG-CN, the data forwarding path is MN<->tMAG<->MAG-CN<->CN„ here the address of the tMAG is made to the tunnel between MAG-CN and tMAG (or MN's new CoA. From the perspective of tMAG, in step 807, It obtains the address to the MAG-CN, the CoA of the CN; from the perspective of the MAG-CN, in step 809, it obtains the address to the tMAG, the new CoA of the MN.
在本实施例中 , sMAG通过 LMA-MN的主动通知来获知 tMAG的地址和 /或 MN的新 CoA。 实际上如步骤 601所述, sMAG也可以主动向 LMA-MN 请求相关的信息。 例如在 MN离开 sMAG切换到 tMAG时, sMAG在本地启 动一个定时器,在定时器超时时, sMAG向 LMA-MN发送请求,以请求 tMAG 的地址和 /或 MN的新 CoA。 若此时 LMA-MN已经获知到这些信息 (例如, 步骤 804已经执行完毕) , 则将上述信息携带在应答消息中反馈给 sMAG, 否则 sMAG 可以重启定时器, 待定时器超时后再次发送请求消息, 直到 LMA-MN通知 sMAG放弃请求为止(例如 , LMA-MN判断 MN已经退网时)。  In this embodiment, the sMAG learns the address of the tMAG and/or the new CoA of the MN through the active notification of the LMA-MN. In fact, as described in step 601, the sMAG can also actively request relevant information from the LMA-MN. For example, when the MN leaves the sMAG to switch to the tMAG, the sMAG starts a timer locally. When the timer expires, the sMAG sends a request to the LMA-MN to request the address of the tMAG and/or the new CoA of the MN. If the LMA-MN has already obtained the information (for example, the step 804 has been executed), the information is carried in the response message and fed back to the sMAG. Otherwise, the sMAG can restart the timer, and the request message is sent again after the timer expires. Until the LMA-MN notifies the sMAG to abandon the request (for example, when the LMA-MN determines that the MN has retired).
另一种 sMAG获取 tMAG的上述信息的方法是由 tMAG主动通知 sMAG 相关的信息。在这种场景下, tMAG首先需要获得 sMAG的地址。如步骤 701 所述的方法,结合图 8,在步骤 804b中 LMA-MN向 tMAG返回 PBU消息时, 在该消息中携带 sMAG的地址或 MN的旧 CoA。 随后(可以与步骤 805并发 执行 ) , 根据 sMAG的地址或旧 CoA信息, tMAG可以找到 sMAG , 同时向 sMAG发送消息, 将自己的地址(即 tMAG的地址 )和 /或 MN的新 CoA通 知给 sMAG。  Another way for sMAG to obtain the above information of tMAG is to actively inform sMAG related information by tMAG. In this scenario, tMAG first needs to obtain the address of sMAG. In the method of step 701, in combination with FIG. 8, when the LMA-MN returns a PBU message to the tMAG in step 804b, the message carries the address of the sMAG or the old CoA of the MN. Then (may be executed concurrently with step 805), according to the address of the sMAG or the old CoA information, the tMAG can find the sMAG and send a message to the sMAG to notify the sMAG of its own address (ie, the address of the tMAG) and/or the new CoA of the MN. .
在本实施例, 对端节点的映射关系是通过 sMAG主动通知的方法发送给 tMAG。 实际上, 如步骤 702所述, 也可以由 tMAG主动向 sMAG请求获取。 结合图 8, 在步骤 804b中如上述方法 tMAG获取到 sMAG的地址或旧 CoA 以后, 向 sMAG发生消息以请求 MN的对端节点的映射关系, 该步骤可以与 步骤 805并发执行。  In this embodiment, the mapping relationship between the peer nodes is sent to the tMAG through the method of sMAG active notification. In fact, as described in step 702, the tMAG may also actively request acquisition from the sMAG. Referring to FIG. 8, in step 804b, after the address of the sMAG or the old CoA is obtained by the method tMAG, a message is generated to the sMAG to request the mapping relationship of the peer node of the MN. This step may be performed concurrently with the step 805.
实施例四 Embodiment 4
在本发明的以上实施例中,由 sMAG基于收到的 CN发送给 MN的 IP报 文,向 MAG-CN发送消息 ,以把 MN新的 MAG ( tMAG )的地址和 /或新 CoA 通知到 MAG-CN。 实际上, tMAG也可以完成该功能。 由上文所述, 在 MN 切换 MAG的过程中, sMAG可以获取到 tMAG的地址和 /或 MN的新 CoA。 这里基于这些信息, sMAG可以建立从 sMAG到 tMAG的隧道(如步骤 806 所述)。 使用该隧道, sMAG可以将收到的 CN发送给 MN的 IP报文转发给 tMAG„ In the above embodiment of the present invention, the sMAG sends a message to the MAG-CN based on the received IP packet sent by the CN to the MN to notify the MAG of the address of the MN new MAG (tMAG) and/or the new CoA. -CN. In fact, tMAG can also do this. From the above, in the process of the MN switching the MAG, the sMAG can acquire the address of the tMAG and/or the new CoA of the MN. Based on this information, the sMAG can establish a tunnel from sMAG to tMAG (step 806). Said). Using this tunnel, the sMAG can forward the received IP packets sent by the CN to the MN to tMAG.
如上文所述, tMAG还可以从 sMAG获取到对端节点的映射关系, 其中 存储了 CN的 HoA或 HNP或 ID与 MAG-CN地址或 CN的 CoA之间的对应 关系 (参见图 9 ) 。 此时, tMAG发现传递该 IP报文(即 CN发送给 MN的 报文) 的隧道源地址是 sMAG的地址或 MN的旧 CoA, 而不是 MAG-CN的 述对端映射关系表中根据 IP报文的源地址,也即 CN的 HoA查询),于是 tMAG 向 MAG-CN发送消息, 把自己的地址和 /或新 CoA通知到 MAG-CN, 同样也 能实现等同的功能。 这里, sMAG获取到 tMAG的地址和 /或 MN的新 CoA 以及 tMAG获取到 MN的对端节点的映射关系的方法, 同上述所述, 原理相 同, 不在赘述。  As described above, the tMAG can also obtain the mapping relationship between the peer node from the sMAG, and store the correspondence between the HoA or HNP of the CN or the ID and the MAG-CN address or the CoA of the CN (see Figure 9). At this time, the tMAG finds that the tunnel source address of the IP packet (that is, the packet sent by the CN to the MN) is the address of the sMAG or the old CoA of the MN, instead of the IP mapping of the peer mapping relationship table of the MAG-CN. The source address of the text, that is, the HoA query of the CN), so that the tMAG sends a message to the MAG-CN, and notifies the MAG-CN of its own address and/or new CoA, and can also implement the equivalent function. Here, the method in which the sMAG obtains the address of the tMAG and/or the new CoA of the MN and the mapping relationship between the tMAG and the peer node of the MN is the same as that described above, and the details are not described herein.
实际上, tMAG在判断是否需要通知 MAG-CN 自己的地址和 /或新 CoA 时, 也可不依赖于从 sMAG获取上述的对端映射关系表。 此时需要 sMAG对 CN发送给 MN的 IP · ^艮文做特殊的隧道封装, 以给 tMAG提示。 一种特殊的 隧道封装是对报文做两层隧道封装: IP报文的源地址是 CN的 HoA, 目的地 址是 MN的 HoA; 内层隧道封装的源地址是 MAG-CN的地址或 CN的 CoA, 目的地址是 sMAG的地址或 MN的旧 CoA; 外层隧道封装的源地址是 sMAG 的地址或 MN的旧 CoA,目的地址是 tMAG的地址或 MN的新 CoA。当 tMAG 收到这样的报文以后, 能够获知 MAG-CN是将上述 IP报文隧道封装后发送 到了 sMAG, 便可以根据 MAG-CN的地址或 CN的 CoA向 MAG-CN发送消 息, 以通知其 tMAG自己的地址或 MN的新 CoA。  In fact, when determining whether to notify the MAG-CN's own address and/or new CoA, the tMAG may not rely on obtaining the above-mentioned peer mapping table from the sMAG. In this case, the sMAG needs to perform a special tunnel encapsulation on the IP address that the CN sends to the MN to prompt the tMAG. A special tunnel encapsulation is to encapsulate the packet in two layers: the source address of the IP packet is the HoA of the CN, the destination address is the HoA of the MN, and the source address of the inner tunnel encapsulation is the address of the MAG-CN or the CN. CoA, the destination address is the address of the sMAG or the old CoA of the MN; the source address of the outer tunnel encapsulation is the address of the sMAG or the old CoA of the MN, and the destination address is the address of the tMAG or the new CoA of the MN. After receiving the packet, the tMAG can know that the MAG-CN encapsulates the IP packet and sends it to the sMAG. Then, the MAG-CN can send a message to the MAG-CN according to the address of the MAG-CN or the CoA of the CN to notify the MAG-CN. tMAG's own address or MN's new CoA.
实施例五 Embodiment 5
如上文所述, sMAG或 tMAG是基于收到 CN发送过来的 IP 文时, 判 断是否需要更新 MAG-CN中保存的关于 MN 的 MAG地址或 CoA的, 并在 判断需要更新时, 向 MAG-CN发送通知消息。 实际上,当以上述局部表的形式来保存 MN的对端节点的映射关系时(见 实施例二说明 ) , sMAG或 tMAG也可以主动向 MAG-CN发送上述的更新消 息, 因为该局部表是保存在 MN的绑定信息中的 ( tMAG或 sMAG可以根据 该 MN的 HoA或 HNP或 MN-ID找到该绑定信息)。参照图 9 , tMAG或 sMAG 可以根据这个局部表准确的获知 MN 当前的通信对端, 并根据通信对端的 MAG地址或 CoA, 向所有涉及到的 MAG-CN发送消息, 以更新 MAG-CN 保存的相关信息。 根据这样的原理, 可以通过对图 8所示的示例流程做适当的修改, 具体 包括如下步骤: As described above, when the sMAG or tMAG receives the IP packet sent by the CN, it determines whether it needs to update the MAG address or CoA stored in the MAG-CN for the MN, and when it is judged that the update is required, to the MAG-CN. Send a notification message. In fact, when the mapping relationship of the peer node of the MN is saved in the form of the above partial table (see the second embodiment), the sMAG or tMAG may also actively send the above update message to the MAG-CN because the local table is It is saved in the binding information of the MN (tMAG or sMAG can find the binding information according to the HoA or HNP or MN-ID of the MN). Referring to FIG. 9, the tMAG or sMAG can accurately learn the current communication peer of the MN according to the local table, and send a message to all involved MAG-CNs according to the MAG address or CoA of the communication peer to update the MAG-CN. Related Information. According to such a principle, the following steps can be appropriately modified by the example flow shown in FIG. 8, specifically including the following steps:
步骤 1001-1005: 步骤 801-805。  Steps 1001-1005: Steps 801-805.
步骤 1006a-1006b: 参照步骤 806a-806b, LMA-MN向 sMAG发送通知消 息,以告知 MN当前发生了切换。该消息中优选携带 MN的 ID或 HoA或 HNP , 以及 MN 的 tMAG地址或新 CoA。 优选地, sMAG在 1006b中向 LMA-MN 返回应答消息。  Steps 1006a-1006b: Referring to steps 806a-806b, the LMA-MN sends a notification message to the sMAG to inform the MN that a handover has occurred. The message preferably carries the MN's ID or HoA or HNP, and the MN's tMAG address or new CoA. Preferably, the sMAG returns a reply message to the LMA-MN in 1006b.
步骤 1007: 基于上述通知消息, sMAG开始查询所述 MN的所有对端节 点 ( CN ) 的映射关系, 例如从为该 MN保存的对端映射关系表(如, 通过 MN-ID找到 MN的绑定信息, 从绑定信息中获取上述关系表)查询, 所述映 向所有涉及到的 MAG-CN发送更新地址通知, 将 MN的 tMAG地址或 MN 的新 CoA通知给 MAG-CN。 优选的, MAG-CN向 sMAG返回应答消息。 通 知过程同步骤 809。  Step 1007: Based on the foregoing notification message, the sMAG starts to query the mapping relationship of all the peer nodes (CNs) of the MN, for example, from the peer mapping relationship table saved for the MN (for example, finding the binding of the MN through the MN-ID) The information is obtained from the binding information. The query is sent to all MAG-CNs to send an update address notification, and the MN's tMAG address or the MN's new CoA is notified to the MAG-CN. Preferably, the MAG-CN returns a response message to the sMAG. The notification process is the same as step 809.
步骤 1008: 同步骤 807。 当然, 步骤 1007和步骤 1008可以并发执行。 步骤 1009: 同步骤 810。  Step 1008: Same as step 807. Of course, step 1007 and step 1008 can be performed concurrently. Step 1009: Same as step 810.
由上述过程可以见,在这里是在收到 LMA-MN的信令之后(步骤 1006 ) , sMAG开始执行通知 MAG-CN相关信息的过程,而不依赖于 CN向 MN发送 IP报文。当然, tMAG也可以通知 sMAG来执行这个过程,比如,在收到 1004b ( 804b )的消息以后, tMAG向 sMAG发送触发消息, 其中携带步骤 1006中 所述的参数, 也可以触发 sMAG开始执行通知 MAG-CN相关信息的过程。 此外, 还需要说明的是, tMAG也可以根据 MN的对端节点的映射关系 来执行通知 MAG-CN相关信息的过程。 在 tMAG从 sMAG获取到上述对端 节点的映射关系以后, 便可以如上述方法执行通知 MAG-CN相关信息的过 程。 tMAG从 sMAG获取对端映射关系表如上文所述(实施例二) , 在此不 再赘述。 As can be seen from the above process, after receiving the signaling of the LMA-MN (step 1006), the sMAG starts the process of notifying the MAG-CN related information without relying on the CN to send an IP message to the MN. Of course, the tMAG can also notify the sMAG to perform the process. For example, after receiving the message of 1004b (804b), the tMAG sends a trigger message to the sMAG, which carries the parameter described in step 1006, and can also trigger the sMAG to start performing the notification MAG. - The process of CN related information. In addition, it should be noted that the tMAG may also perform a process of notifying the MAG-CN related information according to the mapping relationship of the peer node of the MN. After the tMAG obtains the mapping relationship between the foregoing peer nodes from the sMAG, the process of notifying the MAG-CN related information may be performed as described above. The tMAG obtains the peer mapping relationship table from the sMAG as described above (the second embodiment), and details are not described herein again.
实施例六 Embodiment 6
当 MAG釆用全局表的形式来保存 MN的对端映射关系表时, 为了在切 换的场景下能使 tMAG或 sMAG如实施例五所述, 主动向 MAG-CN发送更 新消息以更新 MAG-CN上保存的关于该 MN 的 MAG地址或 CoA, 优选地 MAG还保存关于该 MN的通信对端表 ( Correspondent Node Table, CNT ) , 图 10所示为该通信对端表的两种示例。 When the MAG uses the global table to save the peer mapping table of the MN, in order to enable the tMAG or sMAG to send an update message to the MAG-CN to update the MAG-CN, as described in Embodiment 5, in the handover scenario. The saved MAG address or CoA for the MN, preferably the MAG also holds a Correspondence Node Table (CNT) for the MN, and FIG. 10 shows two examples of the communication peer table.
若釆用图 10a形式的通信对端表, 则 MAG需为其下附着的每个 MN都 维护一张这样的表, 并将其保存在 MN的绑定信息中, 通过 MN的 HoA或 HNP或 ID能够找到该表,并在该表中能够获知该 MN的通信对端 CN的 HoA 或 ID。  If the communication peer table in the form of Figure 10a is used, the MAG needs to maintain one such table for each MN attached to it, and save it in the binding information of the MN, through the HoA or HNP of the MN or The ID can find the table and can know the HoA or ID of the communication peer CN of the MN in the table.
若釆用图 10b形式的通信对端表, 则 MAG可以为其下附着的全体 MN 仅维护一张表, 将所有 MN的对端信息都填入这张表, 并以 MN的 HoA或 HNP或 ID作为索引。 在该表中, 也能获知指定 MN的通信对端 CN的 HoA 或 ID。  If the communication peer table in the form of Figure 10b is used, the MAG can maintain only one table for all MNs attached to it, and fill all the MN's peer information into this table, and use MN's HoA or HNP or ID as an index. In this table, the HoA or ID of the communication peer CN of the designated MN can also be known.
依赖该通信对端表, sMAG在收到上文所述 LMA-MN的信令或 tMAG 的触发时, 便可执行通知 MAG-CN相关信息的过程, 将 MN的 tMAG地址 或新 CoA通知给相关的 CN的 MAG (即 MAG-CN ) , 具体操作如下: 首先 在通信对端表中获取 MN的所有 CN, 然后在上述对端映射关系表中根据 CN 查询对应的 MAG-CN地址或 CN的 CoA, 最后再根据 MAG-CN地址或 CN 的 CoA执行通知 MAG-CN相关信息。  Depending on the communication peer table, the sMAG can perform the process of notifying the MAG-CN related information when receiving the signaling of the LMA-MN or the trigger of the tMAG, and notifying the MN's tMAG address or the new CoA to the relevant The MAG of the CN (ie MAG-CN) is as follows: First, all the CNs of the MN are obtained in the communication peer table, and then the corresponding MAG-CN address or the CN of the CN is queried according to the CN in the peer mapping table. Finally, the MAG-CN related information is notified according to the MAG-CN address or the CN's CoA.
sMAG也可以先把通信对端表先发送给 tMAG (当釆用图 10b的形式时, sMAG可将通信对端表中与指定的 MN相关的部分发送给 tMAG ) , 然后触 发 tMAG去执行通知 MAG-CN相关信息的过程。如使用实施例二步骤 602-603 ( 702-703 ) 中, sMAG将上述对端映射关系表传递给 tMAG的方法, sMAG 也可以将通信对端表传递给 tMAG。在 sMAG获取到该表以后, 同上述方法, 也可以执行通知 MAG-CN相关信息的过程, 将 MN的 tMAG地址或新 CoA 通知给相关的 CN的 MAG (即 MAG-CN ) 。 sMAG can also first send the communication peer table to tMAG first (when using the form of Figure 10b, The sMAG may send the part of the communication peer table associated with the specified MN to tMAG), and then trigger the tMAG to perform the process of notifying the MAG-CN related information. The sMAG can also forward the communication peer table to the tMAG by using the method in which the sMAG passes the peer mapping table to the tMAG in the step 602-603 (702-703) of the second embodiment. After the sMAG obtains the table, the same process as the above method may also be used to notify the MAG-CN related information, and notify the MAG of the relevant CN (ie, MAG-CN) of the MN's tMAG address or new CoA.
实际上, 作为一种变形, 图 9所示的表与图 10所示的表可以组合成一张 表, 例如, 以 MN的 HoA或 HNP或 ID作为索引, 以该 MN的 CN的 HoA、 ID、 CoA、 CN连接的 MAG的地址为值。 那么在这张组合后的表中可以根据 MN来查询到该 MN的所有 CN, 以及这些 CN当前连接的 MAG的地址和 / 或 CN的 CoA。 总之, 通过适当的表结构设计, sMAG、 tMAG总能够找到指 定 MN的对端节点的映射关系。  In fact, as a variant, the table shown in FIG. 9 and the table shown in FIG. 10 can be combined into one table, for example, with the HoA or HNP or ID of the MN as an index, and the HoA, ID of the CN of the MN, The address of the MAA to which the CoA and CN are connected is a value. Then, in this combined table, all CNs of the MN can be queried according to the MN, and the address of the MAG to which the CN is currently connected and/or the CoA of the CN. In summary, with proper table structure design, sMAG and tMAG can always find the mapping relationship of the peer nodes of the specified MN.
对应于前述方法实施例, 本发明实施例还提供了一种移动接入网关 ( MAG ) , 该 MAG的实施例 1如图 11所示, 包括:  Corresponding to the foregoing method embodiment, the embodiment of the present invention further provides a mobile access gateway (MAG), and the embodiment 1 of the MAG is as shown in FIG.
第一消息发送模块, 移动节点(MN )从源移动接入网关(sMAG )切换 到目标移动接入网关 ( tMAG ) 时, 作为所述 sMAG或 tMAG时, 设置为向 所述 MN的对端节点(CN )移动接入网关发送第一消息, 其中携带指向所述 tMAG的地址信息;  a first message sending module, when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), when the sMAG or tMAG is used as the opposite node of the MN (CN) the mobile access gateway sends a first message, where the address information that points to the tMAG is carried;
第一消息接收模块, 作为所述 MN的对端节点的 MAG时, 设置为接收 所述 sMAG或 tMAG发送的所述第一消息;  The first message receiving module, when the MAG is the peer node of the MN, is configured to receive the first message sent by the sMAG or the tMAG;
本地緩存更新模块, 作为所述 MN的对端节点的 MAG时, 根据所述第 一消息更新本地緩存。  The local cache update module, when acting as the MAG of the peer node of the MN, updates the local cache according to the first message.
MAG的实施例 2如图 12所示, 与图 11所示的实施例 1不同的是, 所述 MAG还包括报文接收模块, 其中, 所述报文接收模块, 作为 sMAG时, 设 置为接收第一报文,所述第一报文的隧道源 IP地址为指向所述 MN的对端节 点的 MAG的地址信息, 所述第 文的目的地址为指向切出的所述 MN的 节点信息; 所述第一消息发送模块, 根据所述第一报文的隧道源 IP地址向所 述 MN的对端节点的 MAG发送所述第一消息。 MAG的实施例 3如图 13所示, 与图 11所示的实施例 1不同的是, 所述 MAG还包括第二消息接收模块和本地緩存查询模块, 作为 sMAG时: The embodiment 2 of the MAG is as shown in FIG. 12, which is different from the embodiment 1 shown in FIG. 11. The MAG further includes a message receiving module, where the message receiving module is configured to receive when it is used as an sMAG. a first packet, where the tunnel source IP address of the first packet is the address information of the MAG that points to the peer node of the MN, and the destination address of the text is the node information of the MN that is cut out; The first message sending module sends the first message to the MAG of the peer node of the MN according to the tunnel source IP address of the first packet. The embodiment 3 of the MAG is as shown in FIG. 13. Different from the embodiment 1 shown in FIG. 11, the MAG further includes a second message receiving module and a local cache query module, as the sMAG:
第二消息接收模块用于接收本地移动性锚点(LMA )或所述 tMAG发送 的第二消息, 其中携带指向切出的所述 MN的节点信息;  The second message receiving module is configured to receive a local mobility anchor (LMA) or a second message sent by the tMAG, where the node information that points to the cut out MN is carried;
所述本地緩存查询模块, 设置为根据所述第二消息中的指向所述 MN的 节点信息查询本地緩存, 获取所述 MN的对端节点(CN )的映射关系, 所述 映射关系中包括指向所述 MN的对端节点的 MAG的地址信息;  The local cache query module is configured to query a local cache according to the node information of the MN in the second message, and obtain a mapping relationship between the peer node (CN) of the MN, where the mapping relationship includes Address information of the MAG of the peer node of the MN;
所述第二消息由所述 tMAG发送时, 所述 MAG还包括第二消息发送模 块, 作为所述 tMAG时, 设置为发送所述第二消息;  When the second message is sent by the tMAG, the MAG further includes a second message sending module, and when the tMAG is used, the second message is set to be sent;
所述第一消息发送模块, 设置为根据查询获取的所述对端节点的映射关 系向所述 MN的对端节点的 MAG发送所述第一消息。  The first message sending module is configured to send the first message to the MAG of the peer node of the MN according to the mapping relationship of the peer node acquired by the query.
MAG的实施例 4如图 14所示, 与图 11所示的实施例 1不同的是, 所述 MAG还包括对端映射关系传递模块和本地緩存查询模块, 其中:  The embodiment of the MAG is as shown in FIG. 14. In contrast to the embodiment 1 shown in FIG. 11, the MAG further includes a peer mapping relationship delivery module and a local cache query module, where:
所述对端映射关系传递模块, 作为 tMAG时, 设置为主动请求或接收所 述 sMAG发送的切入的所述 MN的对端节点的映射关系, 主动请求时, 请求 消息中携带指向所述 MN的节点信息; 作为 sMAG时, 设置为主动或根据请 求向所述 tMAG发送切出的所述 MN的对端节点的映射关系, 所述映射关系 中包括所述指向所述 MN的对端节点的 MAG的地址信息;  The peer mapping relationship delivery module, as the tMAG, is configured to actively request or receive the mapping relationship of the inbound node of the MN that is sent by the sMAG, and when the request is actively requested, the request message carries the pointer to the MN. Node information; as the sMAG, the mapping relationship of the peer node of the MN that is sent to the tMAG is sent to the tMAG, and the mapping relationship includes the MAG that points to the peer node of the MN. Address information;
所述本地緩存查询模块, 作为 sMAG时, 设置为查询本地緩存, 获取所 述 MN的对端节点 (CN ) 的映射关系;  The local cache query module is configured to query a local cache to obtain a mapping relationship between the peer node (CN) of the MN when the sMAG is used as the sMAG.
作为 tMAG时, 所述第一消息发送模块根据获取的所述 MN的对端节点 的映射关系向所述 MN的对端节点的 MAG发送所述第一消息。  The first message sending module sends the first message to the MAG of the peer node of the MN according to the obtained mapping relationship of the peer node of the MN.
MAG的实施例 5如图 15所示, 与图 14所示的实施例 4不同的是, 所述 MAG还包括报文接收模块, 作为所述 tMAG时, 用于接收第二报文, 所述第 二>¾文的隧道源 IP地址为指向所述 sMAG的地址信息,所述第二>¾文的目的 地址为指向切入的所述 MN的节点信息; 作为 tMAG时, 所述第一消息发送 模块根据接收的所述第二报文的触发发送所述第一消息。  The embodiment 5 of the MAG is as shown in FIG. 15 , and is different from the embodiment 4 shown in FIG. 14 , the MAG further includes a message receiving module, and when the tMAG is used, the second message is received, The tunnel source IP address of the second >3⁄4 text is address information pointing to the sMAG, the destination address of the second >3⁄4 text is node information pointing to the MN that is cut in; and when tMAG is used, the first message is sent The module sends the first message according to the trigger of the received second packet.
MAG的实施例 6, 与图 12所示的实施例 2不同的是, 所述 4艮文接收模 块, 作为所述 tMAG时, 用于接收第三报文, 所述第三报文的外层隧道源 IP 地址为指向切入的 MN的 sMAG的地址信息,内层隧道源 IP地址为指向所述 MN的对端节点的 MAG的地址信息;所述第三报文目的地址为指向所述切入 的 MN的节点信息; 作为 tMAG时, 所述第一消息发送模块根据接收的所述 第三报文的内层隧道源 IP地址发送所述第一消息。 Embodiment 6 of the MAG is different from Embodiment 2 shown in FIG. 12 in that the four-dimensional receiving mode The block, as the tMAG, is configured to receive the third packet, where the outer tunnel source IP address of the third packet is the address information of the sMAG of the MN that is cut in, and the inner tunnel source IP address is The address information of the MAG of the peer node of the MN; the destination address of the third packet is the node information of the MN that is directed to the MN; and the first message sending module, according to the received third packet, The inner tunnel source IP address sends the first message.
本发明 MAG的实施例 7与实施例 3或 4相比, 不同的是, 所述 MAG还 包括本地緩存模块, 用于緩存对应所述 MN的对端映射关系表和 MN的通信 对端表, 所述本地緩存查询模块, 先根据指向所述 MN的节点信息查询对应 的通信对端表进而查询所述对端映射关系表获取所述 MN的对端节点 ( CN ) 的映射关系。  The embodiment of the MAG of the present invention is different from the third embodiment of the present invention. The MAG further includes a local cache module, configured to cache a peer mapping table corresponding to the MN and a communication peer table of the MN. The local cache query module first queries the corresponding communication peer table according to the node information of the MN, and then queries the peer mapping relationship table to obtain a mapping relationship between the peer node (CN) of the MN.
本发明 MAG的实施例 8 , 与实施例 3或 4相比, 不同的是, 所述 MAG 还包括本地緩存模块,用于緩存若干个分别对应一个 MN的对端映射关系表, 所述本地緩存查询模块, 根据指向所述 MN的节点信息查询对应的对端映射 关系表获取所述 MN的所有对端节点 (CN ) 的映射关系。  The embodiment of the MAG of the present invention is different from the embodiment 3 or 4. The MAG further includes a local cache module, configured to cache a plurality of peer mapping relationship tables respectively corresponding to one MN, the local cache. The query module obtains a mapping relationship between all the peer nodes (CN) of the MN by querying the corresponding peer mapping relationship table according to the node information of the MN.
较佳地, 所述第一消息中还携带所述指向所述 MN的节点信息, 所述本 地緩存更新模块, 设置为根据所述指向所述 MN的节点信息确定待更新的本 地緩存对应数据。  Preferably, the first message further carries the node information that is directed to the MN, and the local cache update module is configured to determine local cache corresponding data to be updated according to the node information that points to the MN.
如前所述,所述 MN的节点信息包括 MN的标识( ID )、家乡地址( HoA ) 或家乡网络前缀( HNP ); 所述指向 sMAG地址信息包括所述 sMAG的地址 或 sMAG为所述 MN分配的代理转交地址( CoA ); 所述指向 tMAG的地址 所述指向 MN的对端节点的 MAG的地址信息包括所述 MN的对端节点的 MAG的地址、或所述 MN的对端节点的 MAG为所述 CN分配的代理转交地 址(CoA ) 。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来 指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读存储 器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用一个或 多个集成电路来实现。 相应地, 上述实施例中的各模块可以采用硬件的形式实 现, 也可以采用软件功能模块的形式实现。 本发明不限制于任何特定形式的硬 件和软件的结合。 As described above, the node information of the MN includes an identifier (ID) of the MN, a home address (HoA), or a home network prefix (HNP); the pointing sMAG address information includes an address of the sMAG or an sMAG is the MN The assigned proxy care-of address (CoA); the address pointing to the tMAG, the address information of the MAG pointing to the opposite node of the MN, including the address of the MAG of the opposite node of the MN, or the peer node of the MN The proxy care-of address (CoA) assigned by the MAG to the CN. One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the foregoing embodiments may also use one or Multiple integrated circuits are implemented. Correspondingly, each module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
工业实用性 Industrial applicability
本发明实施例移动性管理方法和移动接入网关在移动节点( MN )从源移 动接入网关( sMAG )切换到目标移动接入网关( tMAG )时, 所述 sMAG或 tMAG向所述 MN的对端节点( CN )的移动接入网关( MAG )发送指向所述 tMAG的地址信息, 使得对端节点的 MAG可以及时获取指向所述 tMAG的 地址信息并更新本地緩存, 进而能够顺利转发对端节点发送给 MN的报文。  The mobility management method and the mobile access gateway of the embodiment of the present invention, when the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG to the MN The mobile access gateway (MAG) of the peer node (CN) sends the address information of the tMAG, so that the MAG of the peer node can obtain the address information of the tMAG and update the local cache in time, thereby smoothly forwarding the peer end. The packet sent by the node to the MN.

Claims

权 利 要 求 书 Claim
1、 一种移动性管理方法, 该方法包括 : 1. A mobility management method, the method comprising:
移动节点( MN )从源移动接入网关( sMAG )切换到目标移动接入网关 ( tMAG )时, 所述 sMAG或 tMAG向所述 MN的对端节点( CN )的移动接 入网关(MAG )发送第一消息, 所述第一消息中携带指向所述 tMAG的地址 信息;  When the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), the sMAG or tMAG moves to the mobile access gateway (MAG) of the opposite node (CN) of the MN. Sending a first message, where the first message carries address information that points to the tMAG;
所述 MN的对端节点的 MAG接收所述第一消息, 并根据所述第一消息 更新本地緩存。  The MAG of the peer node of the MN receives the first message, and updates the local cache according to the first message.
2、 如权利要求 1所述的方法, 其中: 所述 sMAG发送所述第一消息前, 该方法还包括: 所述 sMAG接收第一报文, 所述第一报文的隧道源 IP地址为 指向所述 MN的 CN的 MAG的地址信息, 所述第一报文的目的地址为指向 切出的所述 MN的节点信息;所述 sMAG根据所述第一报文的隧道源 IP地址 向所述 MN的 CN的 MAG发送所述第一消息。 2. The method according to claim 1, wherein: before the sMAG sends the first message, the method further includes: the sMAG receiving the first packet, where the tunnel source IP address of the first packet is Address information of the MAG of the CN of the MN, the destination address of the first packet is the node information of the MN that is cut out; the sMAG is based on the tunnel source IP address of the first packet The MAG of the CN of the MN sends the first message.
3、 如权利要求 1所述的方法, 其中: 所述 sMAG发送所述第一消息前, 该方法还包括: 3. The method according to claim 1, wherein: before the sMAG sends the first message, the method further includes:
本地移动性锚点( LMA )或所述 tMAG向所述 sMAG发送第二消息, 所 述第二消息中携带指向切出的所述 MN的节点信息;  a local mobility anchor (LMA) or the tMAG sends a second message to the sMAG, where the second message carries node information that points to the MN that is cut out;
所述 sMAG接收所述第二消息, 根据所述第二消息中的指向所述 MN的 节点信息查询本地緩存, 获取所述 MN的 CN的映射关系, 所述映射关系中 包括指向所述 MN的 CN的 MAG的地址信息;  The sMAG receives the second message, and queries a local cache according to the node information of the MN to obtain a mapping relationship between the CNs of the MN, where the mapping relationship includes the MN Address information of the MA of the CN;
所述 sMAG根据查询获取的所述 CN的映射关系向所述 MN的 CN的 MAG发送所述第一消息。  The sMAG sends the first message to the MAG of the CN of the MN according to the mapping relationship of the CN obtained by the query.
4、 如权利要求 1所述的方法, 其中: 所述 sMAG发送所述第一消息前, 该方法还包括: The method of claim 1, wherein: before the sMAG sends the first message, the method further includes:
所述 sMAG向所述 MN的本地移动性锚点请求获取指向所述 tMAG的地 址信息; 或,所述 MN的 LMA主动通知所述 sMAG指向所述 tMAG的地址信息; 或, 所述 tMAG通知所述 sMAG指向所述 tMAG的地址信息。 The sMAG requests the local mobility anchor of the MN to obtain address information that points to the tMAG; Or, the LMA of the MN actively notifies the sMAG to address the address information of the tMAG; or, the tMAG notifies the sMAG to address the address information of the tMAG.
5、 如权利要求 1所述的方法, 其中: 所述 tMAG发送所述第一消息前, 该方法还包括: The method of claim 1, wherein: before the tMAG sends the first message, the method further includes:
所述 tMAG获取切入的所述 MN的 CN的映射关系, 所述映射关系中包 括所述指向所述对端节点的 MAG的地址信息;  Obtaining, by the tMAG, the mapping relationship of the CN of the MN, where the mapping relationship includes the address information of the MAG that points to the opposite node;
所述 tMAG根据获取的所述 MN的 CN的映射关系向所述对端节点的 MAG发送所述第一消息。  The tMAG sends the first message to the MAG of the opposite node according to the obtained mapping relationship of the CN of the MN.
6、 如权利要求 1所述的方法, 其中: 所述 tMAG发送所述第一消息前, 该方法还包括: The method of claim 1, wherein: before the tMAG sends the first message, the method further includes:
所述 tMAG获取切入的所述 MN的对端节点的映射关系, 所述映射关系 中包括指向所述对端节点的 MAG的地址信息;  The tMAG acquires a mapping relationship of the peer node of the MN, where the mapping relationship includes address information of the MAG that points to the peer node;
所述 tMAG接收第二报文, 所述第二报文的隧道源 IP地址为指向所述 sMAG的地址信息, 所述第二>¾文目的地址为指向切入的所述 MN的节点信 息,触发所述 tMAG根据所述对端节点的映射关系向所述发送所述第一消息。  The tMAG receives the second packet, where the tunnel source IP address of the second packet is the address information of the sMAG, and the second >3⁄4 text address is the node information of the MN that is directed to the switch, triggering Transmitting, by the tMAG, the first message according to the mapping relationship of the peer node.
7、 如权利要求 1所述的方法, 其中: 所述 tMAG发送所述第一消息前, 该方法还包括: The method of claim 1, wherein: before the tMAG sends the first message, the method further includes:
所述 tMAG接收第三报文,所述第三报文的外层隧道源 IP地址为指向切 入的 MN的 sMAG的地址信息, 内层隧道源 IP地址为指向所述 MN的对端 节点的 MAG的地址信息; 所述第三 >¾文目的地址为指向所述切入的 MN的 节点信息;  The tMAG receives the third packet, where the outer tunnel source IP address of the third packet is the address information of the sMAG of the MN, and the inner tunnel source IP address is the MAG of the peer node of the MN. Address information; the third >3⁄4 directory address is node information pointing to the cut-in MN;
所述 tMAG根据所述第三报文的内层隧道源 IP地址向所述对端节点的 MAG发送所述第一消息。  The tMAG sends the first message to the MAG of the opposite node according to the inner tunnel source IP address of the third packet.
8、 如权利要求 5或 6所述的方法, 其中: 所述 tMAG获取切入的所述 MN的 CN的映射关系的步骤包括: 8. The method according to claim 5 or 6, wherein: the step of the tMAG acquiring the mapping relationship of the CN of the MN that is cut in comprises:
所述 sMAG获取指向所述 tMAG的地址节点信息; 所述 sMAG查询本地緩存, 获取切出的所述 MN的 CN的映射关系; 所述 sMAG根据所述指向所述 tMAG的地址信息将切出的所述 MN的 CN的映射关系发送给所述 tMAG; The sMAG acquires address node information that points to the tMAG; The sMAG queries the local cache, and obtains the mapping relationship of the cut CN of the MN. The sMAG sends the cut mapping relationship of the CN of the MN to the tMAG according to the address information of the tMAG. ;
或, 包括:  Or, including:
所述 tMAG向所述 sMAG发送请求消息,其中携带指向所述 MN的节点 信息;  The tMAG sends a request message to the sMAG, where the node information that points to the MN is carried;
所述 sMAG接收所述请求消息, 根据指向所述 MN的节点信息查询本地 緩存, 获取切出的所述 MN的 CN的映射关系;  Receiving, by the sMAG, the request message, querying a local cache according to the node information that is directed to the MN, and acquiring a mapping relationship of the CN of the MN that is cut out;
所述 sMAG向所述 tMAG返回应答消息, 其中携带所述 MN的 CN的对 端映射关系。  The sMAG returns a response message to the tMAG, where the CN mapping of the CN of the MN is carried.
9、 如权利要求 3或 8所述的方法, 其中: 所述 sMAG的本地緩存包括 一个对应所有 MN 的对端映射关系表和对应每个 MN 的通信对端表, 所述 sMAG根据指向所述 MN的节点信息查询对应的通信对端表进而查询所述对 端映射关系表获取所述 MN的对端节点的映射关系。 The method according to claim 3 or 8, wherein: the local cache of the sMAG includes a peer mapping relationship table corresponding to all MNs and a communication peer table corresponding to each MN, where the sMAG is directed to The node information of the MN queries the corresponding communication peer table to query the peer mapping relationship table to obtain the mapping relationship of the peer node of the MN.
10、 如权利要求 3或 8所述的方法, 其中: 所述 sMAG的本地緩存包括 一个或多个分别对应一个 MN的对端映射关系表, 所述 sMAG根据指向所述 MN的节点信息查询对应的对端映射关系表获取所述 MN的 CN的映射关系。 The method according to claim 3 or 8, wherein: the local cache of the sMAG includes one or more peer mapping relationship tables respectively corresponding to one MN, and the sMAG queries according to node information directed to the MN. The peer mapping relationship table acquires the mapping relationship of the CN of the MN.
11、 如权利要求 1所述的方法, 其中: 所述第一消息中还携带所述指向 所述 MN的节点信息, 所述对端节点的 MAG更新本地緩存时, 根据所述指 向所述 MN的节点信息确定待更新的本地緩存对应数据。 The method according to claim 1, wherein: the first message further carries the node information that is directed to the MN, and when the MAG of the opposite node updates the local cache, according to the pointing to the MN The node information determines the local cache corresponding data to be updated.
12、 一种移动接入网关 (MAG ) , 12. A mobile access gateway (MAG),
移动节点( MN )从源移动接入网关( sMAG )切换到目标移动接入网关 ( tMAG ) 时, 所述 MAG作为所述 sMAG或 tMAG时, 包括第一消息发送 模块,其设置为: 向所述 MN的对端节点(CN )移动接入网关发送第一消息, 所述第一消息中携带指向所述 tMAG的地址信息;  When the mobile node (MN) switches from the source mobile access gateway (sMAG) to the target mobile access gateway (tMAG), when the MAG is used as the sMAG or tMAG, the first message sending module is configured to be: The mobile node of the MN (CN) mobile access gateway sends a first message, where the first message carries address information that points to the tMAG;
所述 MAG作为所述 MN的 CN的 MAG时,包括第一消息接收模块和本 地緩存更新模块, 所述第一消息接收模块设置为接收所述 sMAG或 tMAG发送的所述第一 消息; When the MAG is used as the MAG of the CN of the MN, the first message receiving module and the local cache update module are included. The first message receiving module is configured to receive the first message sent by the sMAG or tMAG;
所述本地緩存更新模块设置为根据所述第一消息更新本地緩存。  The local cache update module is configured to update the local cache based on the first message.
13、 如权利要求 12所述的 MAG, 所述 MAG作为所述 sMAG时, 还包 括报文接收模块, 其中, The MAG of claim 12, wherein the MAG, as the sMAG, further includes a message receiving module, where
所述报文接收模块设置为接收第一报文, 所述第一报文的隧道源 IP地址 为指向所述 MN的 CN的 MAG的地址信息, 所述第一报文的目的地址为指 向切出的所述 MN的节点信息; 所述第一消息发送模块是设置为根据所述第 一才艮文的隧道源 IP地址向所述 MN的对端节点的 MAG发送所述第一消息。  The packet receiving module is configured to receive the first packet, where the tunnel source IP address of the first packet is the address information of the MAG of the CN that is directed to the MN, and the destination address of the first packet is The node information of the MN is sent out; the first message sending module is configured to send the first message to the MAG of the opposite node of the MN according to the tunnel source IP address of the first source.
14、 如权利要求 12所述的 MAG, 所述 MAG作为 sMAG时, 还包括第 二消息接收模块和本地緩存查询模块, 其中: The MAG of claim 12, wherein the MAG, as the sMAG, further includes a second message receiving module and a local cache query module, where:
所述第二消息接收模块设置为接收本地移动性锚点( LMA )或所述 tMAG 发送的第二消息, 所述第二消息中携带指向切出的所述 MN的节点信息; 所述本地緩存查询模块设置为根据所述第二消息中的指向所述 MN的节 点信息查询本地緩存, 获取所述 MN的 CN的映射关系, 所述映射关系中包 括指向所述 MN的 CN的 MAG的地址信息;  The second message receiving module is configured to receive a local mobility anchor (LMA) or a second message sent by the tMAG, where the second message carries node information that points to the MN that is cut out; the local cache The querying module is configured to query the local cache according to the node information of the MN in the second message, and obtain the mapping relationship of the CN of the MN, where the mapping relationship includes the address information of the MAG of the CN that points to the MN. ;
所述第二消息由所述 tMAG发送时, 所述 MAG作为所述 tMAG时还包 括第二消息发送模块, 所述第二消息发送模块设置为发送所述第二消息; 所述第一消息发送模块是设置为根据查询获取的所述 CN的映射关系向 所述 MN的 CN的 MAG发送所述第一消息。  When the second message is sent by the tMAG, the MAG further includes a second message sending module, where the second message sending module is configured to send the second message; The module is configured to send the first message to the MAG of the CN of the MN according to the mapping relationship of the CN acquired by the query.
15、 如权利要求 12所述的 MAG, 所述 MAG作为所述 tMAG或 SMG 时还包括对端映射关系传递模块和本地緩存查询模块, 其中: The MAG according to claim 12, wherein the MAG, as the tMAG or the SMG, further includes a peer mapping relationship delivery module and a local cache query module, where:
所述 MAG作为所述 tMAG时, 所述对端映射关系传递模块, 设置为主 动请求或接收所述 sMAG发送的切入的所述 MN的 CN的映射关系, 主动请 求时,请求消息中携带指向所述 MN的节点信息;所述 MAG作为所述 sMAG 时, 所述对端映射关系传递模块设置为主动或根据请求向所述 tMAG发送切 出的所述 MN的 CN的映射关系, 所述映射关系中包括所述指向所述 MN的 CN的 MAG的地址信息; 所述 MAG作为 sMAG时, 所述本地緩存查询模块设置为: 查询本地緩 存, 获取所述 MN的 CN的映射关系; When the MAG is used as the tMAG, the peer mapping relationship delivery module is configured to actively request or receive the mapping relationship of the CN of the MN that is sent by the sMAG, and when the request is actively requested, the request message carries the pointing location. a node information of the MN, where the MAG is used as the sMAG, the peer mapping relationship delivery module is configured to send the cut mapping relationship of the cut CN of the MN to the tMAG according to the request, where the mapping relationship is Included in the address information of the MAG that points to the CN of the MN; When the MAG is used as the sMAG, the local cache query module is configured to: query a local cache, and obtain a mapping relationship of the CN of the MN;
所述 MAG作为 tMAG时, 所述第一消息发送模块是设置为根据获取的 所述 MN的 CN的映射关系向所述 MN的 CN的 MAG发送所述第一消息。  When the MAG is used as the tMAG, the first message sending module is configured to send the first message to the MAG of the CN of the MN according to the obtained mapping relationship of the CN of the MN.
16、 如权利要求 15所述的 MAG, 所述 MAG作为所述 tMAG时, 还包 括报文接收模块, 其设置为接收第二报文, 所述第二报文的隧道源 IP地址为 指向所述 sMAG 的地址信息, 所述第二 ^艮文的目的地址为指向切入的所述 MN的节点信息; 所述 MAG作为 tMAG时, 所述第一消息发送模块是设置 为根据接收的所述第二报文的触发发送所述第一消息。 The MAG according to claim 15, wherein the MAG, as the tMAG, further includes a message receiving module, configured to receive a second packet, where a tunnel source IP address of the second packet is a pointing address The address information of the sMAG, the destination address of the second message is the node information of the MN that is directed to the MN; and when the MAG is the tMAG, the first message sending module is configured to receive the The triggering of the second message sends the first message.
17、 如权利要求 12所述的 MAG, 所述 MAG作为所述 tMAG时还包括 报文接收模块, 其设置为接收第三报文, 所述第三报文的外层隧道源 IP地址 为指向切入的 MN的 sMAG的地址信息,内层隧道源 IP地址为指向所述 MN 的 CN的 MAG的地址信息; 所述第三报文目的地址为指向所述切入的 MN 的节点信息; 所述 MAG作为 tMAG时, 所述第一消息发送模块是设置为根 据接收的所述第三报文的内层隧道源 IP地址发送所述第一消息。 The MAG according to claim 12, wherein the MAG, as the tMAG, further includes a message receiving module, configured to receive a third packet, where an outer tunnel source IP address of the third packet is directed Address information of the sMAG of the MN, the inner tunnel source IP address is the address information of the MAG of the CN that points to the MN; the third packet destination address is the node information that points to the MN that is handed in; The first message sending module is configured to send the first message according to the received inner tunnel source IP address of the received third message.
18、 如权利要求 14或 15所述的 MAG,所述 MAG作为 sMAG时还包括 本地緩存模块, 其设置为緩存对应所述 MN的对端映射关系表和所述 MN的 通信对端表, 所述本地緩存查询模块是设置为先根据指向所述 MN的节点信 息查询对应的通信对端表进而查询所述对端映射关系表获取所述 MN的 CN 的映射关系。 The MAG according to claim 14 or 15, wherein the MAG further includes a local cache module, which is configured to cache a peer mapping relationship table corresponding to the MN and a communication peer table of the MN, where the MAG is configured as an sMAG, The local cache query module is configured to first query the corresponding communication peer table according to the node information that points to the MN, and then query the peer mapping relationship table to obtain the mapping relationship of the CN of the MN.
19、 如权利要求 14或 15所述的 MAG,所述 MAG作为 sMAG时还包括 本地緩存模块, 其设置为緩存一个或多个分别对应一个 MN的对端映射关系 表, 所述本地緩存查询模块是设置为根据指向所述 MN的节点信息查询对应 的对端映射关系表获取所述 MN的所有 CN的映射关系。 The MAG according to claim 14 or 15, wherein the MAG, as the sMAG, further includes a local cache module, configured to cache one or more peer mapping relationship tables respectively corresponding to one MN, and the local cache query module The mapping relationship is set to acquire all the CNs of the MN according to the peer mapping relationship table corresponding to the node information querying the MN.
20、 如权利要求 12所述的 MAG, 其中: 所述第一消息中还携带所述指 向所述 MN的节点信息, 所述本地緩存更新模块是设置为根据所述指向所述 MN的节点信息确定待更新的本地緩存对应数据。 The MAG according to claim 12, wherein: the first message further carries the node information that points to the MN, and the local cache update module is configured to: according to the node information that points to the MN Determine the local cache corresponding data to be updated.
PCT/CN2012/075500 2011-07-14 2012-05-15 Mobility management method and mobile access gateway WO2013007131A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110196846.3A CN102883298B (en) 2011-07-14 2011-07-14 The method and Mobile Access Gateway of mobile management
CN201110196846.3 2011-07-14

Publications (1)

Publication Number Publication Date
WO2013007131A1 true WO2013007131A1 (en) 2013-01-17

Family

ID=47484402

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075500 WO2013007131A1 (en) 2011-07-14 2012-05-15 Mobility management method and mobile access gateway

Country Status (2)

Country Link
CN (1) CN102883298B (en)
WO (1) WO2013007131A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661212B (en) * 2013-11-25 2018-08-14 中国移动通信集团公司 A kind of method, equipment and system for realizing mobile IP based on SDN
WO2015113290A1 (en) * 2014-01-29 2015-08-06 华为技术有限公司 Downlink data processing method, device and system
CN105077481A (en) * 2015-08-17 2015-11-25 范伟娇 Health beverage capable of clearing internal heat and relieving summer heat and preparation method of health beverage
CN108093084B (en) * 2018-01-11 2020-09-08 中国科学院声学研究所 Dynamic position information local updating and inquiring method for mobile network entity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010099727A1 (en) * 2009-03-02 2010-09-10 Huawei Technologies Co., Ltd. Apparatus and method for route optimization for proxy mobile internet protocol version six local routing
CN101897217A (en) * 2007-11-12 2010-11-24 华为技术有限公司 Internet protocol version 4 support for proxy mobile internet protocol version 6 route optimization protocol
CN101940014A (en) * 2008-02-04 2011-01-05 爱立信电话股份有限公司 Be used to provide the method and apparatus of routing optimality
CN102118734A (en) * 2009-12-31 2011-07-06 中兴通讯股份有限公司 Worldwide interoperability for microwave access (Wimax) system capable of realizing non-fixed anchor point switch and switch method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179457B (en) * 2006-11-09 2010-10-27 华为技术有限公司 Routing optimization based switch method in local mobile administrative domain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101897217A (en) * 2007-11-12 2010-11-24 华为技术有限公司 Internet protocol version 4 support for proxy mobile internet protocol version 6 route optimization protocol
CN101940014A (en) * 2008-02-04 2011-01-05 爱立信电话股份有限公司 Be used to provide the method and apparatus of routing optimality
WO2010099727A1 (en) * 2009-03-02 2010-09-10 Huawei Technologies Co., Ltd. Apparatus and method for route optimization for proxy mobile internet protocol version six local routing
CN102118734A (en) * 2009-12-31 2011-07-06 中兴通讯股份有限公司 Worldwide interoperability for microwave access (Wimax) system capable of realizing non-fixed anchor point switch and switch method thereof

Also Published As

Publication number Publication date
CN102883298B (en) 2018-03-20
CN102883298A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
JP3573266B2 (en) How to establish a routing path for delivering packets to a destination node
JP3568852B2 (en) Method and apparatus for assigning a packet routing address for a wireless device accessing a wired subnet
JP3573265B2 (en) Sending the packet to the wireless device
JP4902811B1 (en) A method to allow concurrent use of foreign networks
JP3501994B2 (en) How to establish a routing path that distributes packets to destination nodes
JP3501993B2 (en) Wireless access method
US20120063428A1 (en) Interface Switching System, Mobile Node, Proxy Node, and Mobile Management Node
JPWO2009153943A1 (en) Binding cache generation method, binding cache generation system, home agent, and mobile node
US8045522B2 (en) Method and system for performing handoff in wireless networks
JP2009529265A (en) Method and system for fast handover using dynamic router advertisement
KR101216081B1 (en) Method of re-establishing IP address during handover between heterogenous networks
JPWO2009057296A1 (en) Mobile terminal, network node, and packet forwarding management node
WO2012136098A1 (en) Method for mobility management and for context creation and channel establishment for terminal
WO2011085618A1 (en) Method for terminal switching and corresponding communication network
JPWO2006104202A1 (en) Communication control method, address management node, and mobile node
WO2008000133A1 (en) A method, system and apparatus for realizing fast handover
WO2009149631A1 (en) Method for processing state switching information, mobile access gateway and mobile terminal
WO2013007131A1 (en) Mobility management method and mobile access gateway
WO2009110225A1 (en) Mobile terminal and network node
WO2013178013A1 (en) Mobile node registration method, intercommunication method, switching method and network element
WO2013034003A1 (en) Mobility management method and system
WO2013007133A1 (en) Method and system for managing packet forwarding path, and network element
WO2013007129A1 (en) Packet forwarding processing method, network element and system
WO2010051697A1 (en) REGISTRATION METHOD, SYSTEM AND LOCAL MOBILE ANCHOR FOR INTERFACE PREFIX IN PMIPv6
WO2011150575A1 (en) Internet protocol flow mobility method and apparatus and communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12811547

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12811547

Country of ref document: EP

Kind code of ref document: A1