WO2009117927A1 - Method for transmitting context information of mobile node, mobile system and device - Google Patents
Method for transmitting context information of mobile node, mobile system and device Download PDFInfo
- Publication number
- WO2009117927A1 WO2009117927A1 PCT/CN2009/070870 CN2009070870W WO2009117927A1 WO 2009117927 A1 WO2009117927 A1 WO 2009117927A1 CN 2009070870 W CN2009070870 W CN 2009070870W WO 2009117927 A1 WO2009117927 A1 WO 2009117927A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile node
- access device
- new access
- address
- local management
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/087—Mobility data transfer for preserving data network PoA address despite hand-offs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Definitions
- the present invention relates to mobile communication technologies, and in particular, to a mobile node handover method, a context information transmission method of a mobile node, a mobile communication system, and a local management device.
- Proxy Mobile IPv6 is an extension of Mobile IPv6, which is different from Mobile IPv6: In ⁇ 6, Mobile Access Gateway (MAG) or Access Router (Access Router, AR) simulates the home link, notifies the mobile node (Mobile Node, MN) of the home prefix, so that the MN thinks that it is always at home; MAG replaces the MN to the Local Mobility Anchor (LMA) or the home agent (Home) Agent, HA) sends a registration message. The care-of address in the registration message uses the interface address of the MAG or AR. The LMA/HA receives the proxy binding update request of the MAG/AR, and creates a binding cache entry for the MN. MN ID, interface ID, prefix, etc. A two-way tunnel is established between the MAG/AR and the LMA/HA for transmitting the MN's 4 messages. Its "3 ⁇ 4 text transmission and reception process is as follows:
- the packet When the peer node sends a packet to the home address of the MN, the packet is intercepted by the LMA/HA of the MN.
- the LMA/HA queries the binding list according to the home prefix and passes the bidirectional tunnel between the LMA/HA and the MAG/AR.
- the packet is sent to the MAG/AR for processing.
- the MAG/AR After the packet is decapsulated, the MAG/AR sends the packet to the MN according to the destination address of the packet.
- the MAG/AR When the MN sends a packet to the peer node, the MAG/AR receives the packet and sends the packet to the LMA/HA through the bidirectional tunnel between the MAG/AR and the LMA/HA.
- the LMA/HA strips the packet.
- the outer IP packet header sends the inner packet directly to the peer node.
- the Context Transfer Protocol (CXTP) is designed to reduce latency and packet loss during MN handover.
- the front mobile access gateway PMAG or the former access router PAR directly transmits the service information that the MN enjoys, that is, the context information Context, to the new mobile access network NMAG or the new access router NAR, whether before, after, or after the handover.
- the NMAG/NAR After receiving the context information of the MN, the NMAG/NAR establishes the original service connection instead of the MN.
- FIG. 1 it is a flowchart of a mobile node switching method provided in the prior art. The method includes the following steps:
- the mobile node MN sends the handover signaling to the forward access device PMAG after the new access device is detected, and the handover signaling carries the address information of the new access device NMAG.
- the PMAG After receiving the handover signaling sent by the MN, the PMAG performs handover preparation. Specifically, after receiving the packet with the MN as the destination address, the PMAG does not forward the packet to the MN but performs local storage.
- the PMAG sends a context notification message to the NMAG according to the address information of the new access device NMAG carried in the handover signaling sent by the MN, and carries the context information of the MN.
- the NMAG After receiving the context notification message, the NMAG sends a context confirmation message to the PMAG to confirm that the context information of the MN has been received.
- the PMAG After receiving the context confirmation message sent by the NMAG, the PMAG sends the buffered destination address to the NMAG.
- the NMAG cache receives the packet whose destination address is MN.
- the NMAG detects the mobile node that accesses the local according to the received context information.
- the buffered destination address is sent to the MN by the MN.
- the inventor found that the scheme requires a tunnel between the PMAG and the NMAG to cache and forward the data packets to the MN. If no security tunnel is established between the MAGs, there is a security risk. If a security tunnel is established between the MAGs. Due to the uncertainty of MN mobility, dynamic/static establishment of secure tunnels is required between all MAGs, which is a big challenge for actual network deployment/application. Summary of the invention
- Embodiments of the present invention provide a mobile node handover method, a context information transmission method of a mobile node, a mobile communication system, and a local management device.
- the local management device forwards the context information of the mobile node, which avoids the security problem caused by directly transmitting the context information of the mobile node between the former access device and the new access device, and reduces the networking cost.
- the local management device receives, by the new access device, a context notification message of the mobile node sent by the local management device; detecting, by the mobile node that accesses the new access device, when detecting that the mobile node corresponding to the context information has been attached locally,
- the local management device establishes a formal binding relationship.
- a method for transmitting a context information of a mobile node includes: receiving a context notification message sent by an access device before receiving, where the context notification message carries context information of a mobile node;
- the pre-access device is configured to send a context notification message of the mobile node to the local management device;
- the local management device is configured to acquire an address of the new access device, and obtain context information of the mobile node from the context notification message, and send the acquired context information of the mobile node to the new access device;
- the new access device is configured to receive the context information of the mobile node sent by the local management device, and detect the mobile node that is local to the new access device, and detect the mobile node corresponding to the context information. When it is attached locally, a formal binding relationship is established with the local management device.
- a receiving unit configured to receive a context notification message sent by the pre-access device, where the context notification message carries context information of the mobile node
- An address obtaining unit configured to acquire an address of the new access device;
- a sending unit configured to send context information of the mobile node to the new access device.
- the embodiment of the present invention utilizes the trust relationship between the local management device and the access device, and the local management device sends the context information of the mobile node received from the former access device to the new access device, thereby increasing the security of the system.
- the embodiment of the present invention does not need to establish a physical connection between the former access device and the new access device, which saves the networking cost.
- the embodiment of the present invention can also establish a temporary tunnel between the new access device and the local management device before the handover of the mobile node, thereby avoiding data packet loss and improving the switching speed.
- FIG. 1 is a flowchart of a method for handover of a mobile node in the prior art
- FIG. 2 is a flowchart of a method for switching a mobile node according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a mobile communication system according to an embodiment of the present invention.
- FIG. 4A and FIG. 4B are schematic diagrams showing the structure of a local management device according to an embodiment of the present invention. detailed description
- the mobile node handover method, the mobile node context transmission method, system and device disclosed in the embodiments of the present invention are applicable to the former mobile access gateway PMAG/pre-access router PAR and the new mobile access network NMAG/new access router NAR attribution In the same local mobile anchor LMA / home agent situation.
- the context information of the mobile node is sent to the local management by using a bidirectional tunnel between itself and the local management device. device.
- the local management device After receiving the context notification message, acquires the address of the new access device according to the content of the context notification message or according to the network policy, and sends the context notification message to the new according to the address of the new access device. Access device.
- the new access device finds that the mobile node is already attached to the local device, it initiates a binding message and establishes a binding relationship between itself and the local management device for sending the uplink or downlink text of the mobile node.
- the embodiments of the present invention can be used for both normal mobile node handover and mobile node fast handover.
- a fast handover is performed, although the mobile node is not attached to the new access device, a temporary binding relationship is established between the new access device and the local management device for transmitting the uplink packet of the mobile node. It can avoid the loss of messages and improve the switching speed.
- FIG. 2 is a flowchart of a method for switching a node according to an embodiment of the present invention. as shown in picture 2, The method includes the following steps:
- the pre-access device PMAG establishes a bidirectional tunnel between the LMA and the LMA after the mobile node MN is attached to the local device, that is, a formal binding relationship is established.
- the former access device PMAG detects the mobile node attached to the local.
- the detection includes the PMAG automatically discovering that the mobile node MN is about to perform handover or receiving a notification message to be handed over by the MN to be handed over.
- the front access device when the PMAG detects that the MN needs to leave the local handover to another access device, sends a context notification message to the local management device LMA, where the context notification message carries the context information of the mobile node MN to be handed over.
- the context information includes: one or more of multicast information, Generic Routing Encapsulation (GRE) information, ID of the MN, ID of the interface of the MN, home address of the MN, and handover sequence number.
- GRE Generic Routing Encapsulation
- the context information may also include the address information of the new access device NMAG.
- the address of the NMAG may be an address that the PMAG can uniquely determine, or one or more candidate NMAG addresses determined according to a certain policy.
- the local management device sends a context confirmation message to the PMAG after receiving the context notification message sent by the PMAG.
- the local management device LMA After receiving the context notification message sent by the PMAG, the local management device LMA obtains the context information of the MN from the context notification message, and parses the NMAG address of the new access device from the context notification message.
- the device PMAG can learn the address of the new access device NMAG, or calculate the NMAG address according to a certain network policy.
- the NMAG address parsed or calculated by the LMA may be a certain address, and may also be one or more candidate NMAG addresses.
- the LMA transmits the context information of the mobile node to the one or more NMAGs that are determined or candidate.
- the NMAG that receives the mobility node context information sends a context confirmation message to the LMA.
- the multiple candidate NMAGs respectively send a context confirmation message to the LMA.
- the LMA After receiving the context confirmation message sent by the NMAG, the LMA establishes a temporary tunnel between the NMAG and the LMA, that is, a temporary binding relationship. After the LMA receives the context confirmation message sent by multiple candidate NMAGs, a temporary tunnel is established between the LMA and each candidate NMAG.
- Each temporary tunnel is set to have a Transient Lifetime (TL).
- the data packet sent to the MN also passes through the tunnel between the PMAG and the LMA to the MN. However, the data packet sent from the MN is simultaneously transmitted through the tunnel between the PMAG and the LMA and between the NMAG and the LMA. When there are multiple candidate NMAGs, the data packets sent from the MN are simultaneously sent to the LMA through the tunnel between the multiple NMAGs and the LAM.
- the NMAG that receives the mobility node context information detects the mobile node connected to the local according to the context information of the mobile node.
- the multiple NMAGs detect the mobile node connected to the local according to the context information of the mobile node that they receive. Specifically, the NMAG determines whether a mobile node is connected to the local by detecting the layer 2 link information, and then matches the mobile node connected to the local to the context information of the received mobile node.
- a formal tunnel is established with the LMA, that is, a formal binding relationship. After the formal tunnel is established, the data packet sent from the MN or the data packet destined for the MN is transmitted through the formal tunnel.
- the tunnel between the other candidate NMAGs and the LMA is always a temporary tunnel until
- the NMAG attached to the MN has established a formal tunnel with the LMA before the expiration of the lifetime of the temporary tunnel (that is, the NMAG attached to the MN has established a formal binding relationship with the LMA); or
- the temporary tunnel is deleted.
- the access device may be a mobile access gateway PMAG or an access router PAR.
- the local management device may be a local mobility anchor LMA or a home agent HA of the MN.
- FIG. 3 is a schematic structural diagram of a mobile communication system according to an embodiment of the present invention. As shown in FIG. 3, when the mobile node 304 is attached to the front access device 302, the uplink data packet or the downlink data packet of the mobile node is transmitted through the tunnel between the front access device 302 and the local management device 301.
- the pre-access device 302 is to be aware of the state of the mobile node 304, when the mobile node 304 forwards the message to the access device 302 that it is about to initiate a handover, or the pre-access device 302 discovers the mobile node 304.
- the front access device 302 sends a context notification message to the local management device 301, and transmits the context information of the mobile node 304 to the local management device 301.
- the local management device 301 acquires context information of the mobile node 304 from the context notification message and caches it.
- the context notification message sent by the former access device 302 may also carry the address of the new access device 303.
- the local management device 301 acquires the address of the new access device 303 from the context notification message; when the context notification message does not carry the address of the new access device, the local management device 301: Acquire or calculate an address of the new access device 303 according to a certain network policy by using context information of the mobile node carried in the context notification message.
- the local management device 301 notifies the new access device 303 of the context information of the mobile node. After receiving the context information of the mobile node, the new access device 303 establishes a temporary tunnel with the local management device 301 according to the context information.
- the new access device 303 After the temporary tunnel is successfully established, the new access device 303 detects the mobile node that accesses the local device. When the mobile node corresponding to the context information is found to be local, the new access device 303 and the local management device 301 are established. Formal tunnel.
- the local management device 301 provides each candidate new access device. Sending the context information of the mobile node, all new access devices that receive the candidate for the context information sent by the local management device establish a temporary tunnel with the local management device 301. After the temporary tunnel is established, all the destination addresses are the mobile node 304. The data packet is still transmitted to the mobile node 304 via the tunnel between the pre-access device 302 and the local management device 301, but the data packets sent from the mobile node 304 are simultaneously passed between the pre-access device 302 and the local management device 301.
- the tunnel between the tunnel and all the candidate new access devices and the local management device 301 is sent to the local management device 301, and then the local management device 301 forwards according to the destination address. All candidate new access devices detect the mobile node accessing the local. If a candidate new access device finds that the mobile node corresponding to the context information has been attached locally, the candidate new access device and Local management device Established a formal tunnel in 301. After the formal tunnel establishment is completed, the local management device 301 deletes the tunnel established between itself and the former access device 302 based on the context information of the mobile node 304.
- the issued binding is revoked and deleted.
- the local management device may be a local mobility anchor LMA or a home agent HA of the mobile node, and the access device may be a mobile access gateway MAG or an access router AR.
- FIG. 4A is a schematic structural diagram of a local management device according to an embodiment of the present invention. As shown in FIG. 4A and FIG. 4B, the local management device includes:
- the receiving unit 41 is configured to receive a context notification message, where the context notification message carries context information of the mobile node;
- the parsing unit 42 is configured to obtain context information of the mobile node from the context notification message;
- the storage unit 43 is configured to store context information of the mobile node obtained by the parsing unit 42 from the context notification message;
- An address obtaining unit 44 configured to acquire an address of the new access device
- the address obtaining unit 44 may be the address resolution unit 441 in FIG. 4A, configured to acquire an address of the new access device from the context notification message when the context notification message carries the address of the new access device. ;
- the address obtaining unit 44 may also be the address calculating unit 442 in FIG. 4B, configured to acquire an address of the new access device of the mobile node according to a network policy;
- the sending unit 45 is configured to send context information of the mobile node to the new access device.
- the embodiment of the present invention utilizes the trust relationship between the local management device and the access device, and the local management device sends the context information of the mobile node received from the former access device to the new access device, thereby increasing the security of the system.
- the embodiment of the present invention does not need to establish a physical connection between the front access device and the new access device, which saves the networking cost.
- the embodiment of the present invention can also establish a temporary tunnel between the new access device and the local management device before the switching of the mobile node, thereby avoiding data packet loss and improving the switching speed.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A method for transmitting context information of mobile node (MN), a mobile node handover method, mobile communication system and local management device are provided in the present invention. The method for transmitting context information of the MN includes: receiving context notice message sent by a previous access device, and the said context notice message taking context information of the MN; obtaining a new access device address of the MN; sending the context information of the MN to the new access device according to the address of the new access device.
Description
移动节点的上下文信息传输方法、 移动通信系统及设备 本申请要求于 2008年 3月 28日提交中国专利局、申请号为 200810066220.9、 发明名称为 "移动节点的上下文信息传输方法、 移动通信系统及设备" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 Context information transmission method for mobile node, mobile communication system and device The present application claims to be filed on March 28, 2008, the Chinese Patent Office, the application number is 200810066220.9, the invention name is "mobile node context information transmission method, mobile communication system and device The priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference. Technical field
本发明涉及移动通信技术, 尤其涉及一种移动节点切换方法、 移动节点的 上下文信息传输方法、 移动通信系统及本地管理设备。 The present invention relates to mobile communication technologies, and in particular, to a mobile node handover method, a context information transmission method of a mobile node, a mobile communication system, and a local management device.
背景技术 Background technique
代理移动 IPv6协议( Proxy Mobile IPv6, ΡΜΙΡνό )是对移动 IPv6的一种扩 展, 和移动 IPv6 不同的是: 在 ΡΜΙΡν6 中, 移动接入网关 (Mobile Access Gateway , MAG )或者接入路由器(Access Router, AR )模拟家乡链路, 向移 动节点( Mobile Node , MN )通告家乡前缀, 使 MN以为自己始终在家乡链路; MAG代替 MN向本地移动锚点( Local Mobility Anchor, LMA )或家乡代理( Home Agent, HA )发送注册报文, 注册报文中的转交地址使用 MAG或 AR的接口地 址, LMA/HA接收 MAG/AR的代理绑定更新请求, 并为 MN建立创建一条绑定 緩存条目, 保存 MN的 ID、 接口 ID、 前缀等信息。 并在 MAG/AR和 LMA/HA 间建立一条双向隧道用于传输 MN的4艮文。 其"¾文收发过程如下: Proxy Mobile IPv6 (ΡΜΙΡνό) is an extension of Mobile IPv6, which is different from Mobile IPv6: In ΡΜΙΡν6, Mobile Access Gateway (MAG) or Access Router (Access Router, AR) simulates the home link, notifies the mobile node (Mobile Node, MN) of the home prefix, so that the MN thinks that it is always at home; MAG replaces the MN to the Local Mobility Anchor (LMA) or the home agent (Home) Agent, HA) sends a registration message. The care-of address in the registration message uses the interface address of the MAG or AR. The LMA/HA receives the proxy binding update request of the MAG/AR, and creates a binding cache entry for the MN. MN ID, interface ID, prefix, etc. A two-way tunnel is established between the MAG/AR and the LMA/HA for transmitting the MN's 4 messages. Its "3⁄4 text transmission and reception process is as follows:
对端节点向 MN的家乡地址发送报文时,该报文会被 MN的 LMA/HA截获, LMA/HA根据家乡前缀查询绑定列表, 并通过 LMA/HA与 MAG/AR之间的双 向隧道将报文发送给 MAG/AR处理, MAG/AR对报文解封装后根据报文的目的 地址, 直接将报文发送给 MN。 When the peer node sends a packet to the home address of the MN, the packet is intercepted by the LMA/HA of the MN. The LMA/HA queries the binding list according to the home prefix and passes the bidirectional tunnel between the LMA/HA and the MAG/AR. The packet is sent to the MAG/AR for processing. After the packet is decapsulated, the MAG/AR sends the packet to the MN according to the destination address of the packet.
MN向对端节点发报文时, MAG/AR收到该报文,通过 MAG/AR与 LMA/HA 之间的双向隧道,将该报文发送给 LMA/HA, LMA/HA剥离报文的外层 IP报文 头, 将内层报文直接发送给对端节点。 When the MN sends a packet to the peer node, the MAG/AR receives the packet and sends the packet to the LMA/HA through the bidirectional tunnel between the MAG/AR and the LMA/HA. The LMA/HA strips the packet. The outer IP packet header sends the inner packet directly to the peer node.
当移动节点 MN从前移动接入网关 ( Previous Mobile Access Gateway , PMAG )或前接入路由器( Previous Access Router, PAR )移动到新移动接入网
关( New Mobile Access Gateway, NMAG )或新接入路由器 ( New Access Router, NAR ) 时, 它所享受的服务不可避免的受到中断或延时等干扰, 当 MN 进入 NMAG/NAR的链路后, 它需要重新建立之前所享受的所有服务, 这个过程会导 致 MN的良务时延并增加丟包率。 When the mobile node MN moves from the previous Mobile Access Gateway (PMAG) or the former Access Router (PAR) to the new mobile access network When the New Mobile Access Gateway (NMAG) or the New Access Router (NAR) is used, the services it enjoys are inevitably interrupted by interruptions or delays. When the MN enters the NMAG/NAR link, It needs to re-establish all the services that it has enjoyed before. This process will lead to MN's service delay and increase the packet loss rate.
上下文传输协议( Context Transfer Protocol , CXTP )是为了 MN切换过程 中降低时延和丟包率而设计的。 无论 MN在切换前、 切换后还是切换中, 前移 动接入网关 PMAG或前接入路由器 PAR直接将 MN所享受的服务信息即上下文 信息 Context传输给新移动接入网络 NMAG或新接入路由器 NAR, NMAG/NAR 收到 MN的上下文信息后, 替代 MN建立起原有的服务连接。 The Context Transfer Protocol (CXTP) is designed to reduce latency and packet loss during MN handover. The front mobile access gateway PMAG or the former access router PAR directly transmits the service information that the MN enjoys, that is, the context information Context, to the new mobile access network NMAG or the new access router NAR, whether before, after, or after the handover. After receiving the context information of the MN, the NMAG/NAR establishes the original service connection instead of the MN.
如图 1 所示, 为现有技术中提供的移动节点切换方法的流程图。 所述方法 包括以下步骤: As shown in FIG. 1, it is a flowchart of a mobile node switching method provided in the prior art. The method includes the following steps:
5101、 移动节点 MN在需要切换之前, 检测到新接入设备后, 向前接入设 备 PMAG发送切换信令, 该切换信令中携带有新接入设备 NMAG的地址信息。 5101. The mobile node MN sends the handover signaling to the forward access device PMAG after the new access device is detected, and the handover signaling carries the address information of the new access device NMAG.
5102、 PMAG收到 MN发送的切换信令后,进行切换准备。具体来说, PMAG 收到以 MN为目的地址的报文后, 不再转发给 MN , 而是进行本地存储。 5102. After receiving the handover signaling sent by the MN, the PMAG performs handover preparation. Specifically, after receiving the packet with the MN as the destination address, the PMAG does not forward the packet to the MN but performs local storage.
S 103、 PMAG根据 MN发送的切换信令中携带的新接入设备 NMAG的地址 信息, 向 NMAG发送上下文通知消息, 携带 MN的上下文信息。 S103: The PMAG sends a context notification message to the NMAG according to the address information of the new access device NMAG carried in the handover signaling sent by the MN, and carries the context information of the MN.
5104、 NMAG收到该上下文通知消息后, 向 PMAG发送上下文确认消息, 确认已经收到 MN的上下文信息。 After receiving the context notification message, the NMAG sends a context confirmation message to the PMAG to confirm that the context information of the MN has been received.
5105、 PMAG收到 NMAG发送的上下文确认消息后, 将緩存的目的地址为 MN的报文发送给 NMAG。 After receiving the context confirmation message sent by the NMAG, the PMAG sends the buffered destination address to the NMAG.
5106、 NMAG緩存接收到的目的地址为 MN的报文。 5106. The NMAG cache receives the packet whose destination address is MN.
5107、 NMAG根据接收的上下文信息对接入本地的移动节点进行检测。 5107. The NMAG detects the mobile node that accesses the local according to the received context information.
5108、 当 NMAG发现 PMAG通知的 MN附着在本地的时候, 将緩存的目 的地址为该 MN的报文发送给该 MN。 5108. When the NMAG finds that the MN notified by the PMAG is locally attached, the buffered destination address is sent to the MN by the MN.
发明人在研究过程中发现, 该方案要求在 PMAG和 NMAG之间建立隧道, 緩存并转发数据包给 MN, 如果 MAG之间不建立安全隧道, 则存在安全隐患; 如果在 MAG之间建立安全隧道, 由于 MN移动的不确定性, 那么所有 MAG之 间都需要动态 /静态建立安全隧道, 这对于实际网络部署 /应用来说, 无疑是一个 很大的挑战。
发明内容 During the research, the inventor found that the scheme requires a tunnel between the PMAG and the NMAG to cache and forward the data packets to the MN. If no security tunnel is established between the MAGs, there is a security risk. If a security tunnel is established between the MAGs. Due to the uncertainty of MN mobility, dynamic/static establishment of secure tunnels is required between all MAGs, which is a big challenge for actual network deployment/application. Summary of the invention
本发明实施例提供了一种移动节点切换方法、 移动节点的上下文信息传输 方法、 移动通信系统及本地管理设备。 通过本地管理设备转发移动节点的上下 文信息, 避免了在前接入设备与新接入设备之间直接发送移动节点上下文信息 引起的安全问题, 减少了组网成本。 Embodiments of the present invention provide a mobile node handover method, a context information transmission method of a mobile node, a mobile communication system, and a local management device. The local management device forwards the context information of the mobile node, which avoids the security problem caused by directly transmitting the context information of the mobile node between the former access device and the new access device, and reduces the networking cost.
本发明实施例提供的一种移动节点切换方法, 包括: A method for switching a mobile node according to an embodiment of the present invention includes:
新接入设备接收本地管理设备发送的移动节点的上下文通知消息; 对接入 新接入设备本地的移动节点进行检测, 当检测到所述上下文信息对应的移动节 点已经附着在本地时, 与所述本地管理设备建立正式绑定关系。 Receiving, by the new access device, a context notification message of the mobile node sent by the local management device; detecting, by the mobile node that accesses the new access device, when detecting that the mobile node corresponding to the context information has been attached locally, The local management device establishes a formal binding relationship.
本发明实施例提供的一种移动节点的上下文信息传输方法, 包括: 接收前接入设备发送的上下文通知消息, 所述上下文通知消息携带移动节 点的上下文信息; A method for transmitting a context information of a mobile node according to an embodiment of the present invention includes: receiving a context notification message sent by an access device before receiving, where the context notification message carries context information of a mobile node;
获取所述移动节点的新接入设备的地址; Obtaining an address of the new access device of the mobile node;
根据所述新接入设备的地址, 将所述移动节点的上下文信息发送给所述新 接入设备。 Sending context information of the mobile node to the new access device according to an address of the new access device.
本发明实施例提供的一种移动通信系统, 包括: A mobile communication system provided by an embodiment of the present invention includes:
前接入设备、 本地管理设备和新接入设备, 其中, a front access device, a local management device, and a new access device, wherein
所述前接入设备, 用于向所述本地管理设备发送移动节点的上下文通知消 息; The pre-access device is configured to send a context notification message of the mobile node to the local management device;
所述本地管理设备, 用于获取所述新接入设备的地址, 并从所述上下文通 知消息中获取移动节点的上下文信息, 将获取的移动节点的上下文信息发送给 所述新接入设备; The local management device is configured to acquire an address of the new access device, and obtain context information of the mobile node from the context notification message, and send the acquired context information of the mobile node to the new access device;
所述新接入设备, 用于接收所述本地管理设备发送的移动节点的上下文信 息, 对接入所述新接入设备本地的移动节点进行检测, 当检测到所述上下文信 息对应的移动节点已经附着在本地时, 与所述本地管理设备建立正式绑定关系。 The new access device is configured to receive the context information of the mobile node sent by the local management device, and detect the mobile node that is local to the new access device, and detect the mobile node corresponding to the context information. When it is attached locally, a formal binding relationship is established with the local management device.
本发明实施例提供的一种本地管理设备, 包括: A local management device provided by the embodiment of the present invention includes:
接收单元, 用于接收前接入设备发送的上下文通知消息, 所述上下文通知 消息携带移动节点的上下文信息; a receiving unit, configured to receive a context notification message sent by the pre-access device, where the context notification message carries context information of the mobile node;
地址获取单元, 用于获取新接入设备的地址;
发送单元, 用于将所述移动节点的上下文信息发送给所述新接入设备。 本发明实施例利用本地管理设备与接入设备之间的信任关系, 由本地管理 设备将从前接入设备接收的移动节点的上下文信息发送给新接入设备, 增加了 系统的安全性。 并且, 本发明实施例不需要在前接入设备和新接入设备之间建 立物理连接, 节约了组网成本。 此外, 本发明实施例还可以在移动节点发生切 换前, 在新接入设备与本地管理设备之间建立临时隧道, 避免了数据报文的丟 失, 提高了切换速度。 附图说明 An address obtaining unit, configured to acquire an address of the new access device; And a sending unit, configured to send context information of the mobile node to the new access device. The embodiment of the present invention utilizes the trust relationship between the local management device and the access device, and the local management device sends the context information of the mobile node received from the former access device to the new access device, thereby increasing the security of the system. Moreover, the embodiment of the present invention does not need to establish a physical connection between the former access device and the new access device, which saves the networking cost. In addition, the embodiment of the present invention can also establish a temporary tunnel between the new access device and the local management device before the handover of the mobile node, thereby avoiding data packet loss and improving the switching speed. DRAWINGS
图 1为现有技术中移动节点切换的方法的流程图; 1 is a flowchart of a method for handover of a mobile node in the prior art;
图 2为本发明实施例中一种移动节点切换方法的流程图; 2 is a flowchart of a method for switching a mobile node according to an embodiment of the present invention;
图 3为本发明实施例中一种移动通信系统的结构示意图; 3 is a schematic structural diagram of a mobile communication system according to an embodiment of the present invention;
图 4A, 图 4B为本发明实施例中一种本地管理设备的结构示意图。 具体实施方式 4A and FIG. 4B are schematic diagrams showing the structure of a local management device according to an embodiment of the present invention. detailed description
本发明实施例公开的移动节点切换方法、 移动节点的上下文传输方法, 系 统和设备,适用于前移动接入网关 PMAG/前接入路由器 PAR与新移动接入网络 NMAG/新接入路由器 NAR归属于同一本地移动锚点 LMA/家乡代理的情况。 The mobile node handover method, the mobile node context transmission method, system and device disclosed in the embodiments of the present invention are applicable to the former mobile access gateway PMAG/pre-access router PAR and the new mobile access network NMAG/new access router NAR attribution In the same local mobile anchor LMA / home agent situation.
本发明实施例中, 当前接入设备发现本地附着 (Attach)的移动节点需要发生 切换时, 通过自身与本地管理设备之间的双向隧道将该移动节点的上下文信息 通过上下文通知消息发送给本地管理设备。 本地管理设备收到该上下文通知消 息后, 根据该上下文通知消息的内容或者根据网络策略获取新接入设备的地址, 并根据所述新接入设备的地址, 将该上下文通知消息发送给该新接入设备。 新 接入设备发现该移动节点已经附着在本地时, 发起绑定消息, 在自己和本地管 理设备之间建立绑定关系, 用于发送该移动节点的上行或者下行 文。 In the embodiment of the present invention, when the current access device finds that the mobile node that is locally attached needs to perform handover, the context information of the mobile node is sent to the local management by using a bidirectional tunnel between itself and the local management device. device. After receiving the context notification message, the local management device acquires the address of the new access device according to the content of the context notification message or according to the network policy, and sends the context notification message to the new according to the address of the new access device. Access device. When the new access device finds that the mobile node is already attached to the local device, it initiates a binding message and establishes a binding relationship between itself and the local management device for sending the uplink or downlink text of the mobile node.
本发明实施例既可用于普通的移动节点切换, 也可以应用于移动节点快速 切换中。 当进行快速切换时, 虽然移动节点还没有附着在新接入设备下, 但仍 然在新接入设备与本地管理设备之间建立临时绑定关系, 用于传送移动节点的 上行报文, 这样既可以避免报文的丟失, 又能提高切换速度。 The embodiments of the present invention can be used for both normal mobile node handover and mobile node fast handover. When a fast handover is performed, although the mobile node is not attached to the new access device, a temporary binding relationship is established between the new access device and the local management device for transmitting the uplink packet of the mobile node. It can avoid the loss of messages and improve the switching speed.
图 2为本发明实施例所述一种^动节点切换方法的流程图。 如图 2所示,
该方法包括以下步骤: FIG. 2 is a flowchart of a method for switching a node according to an embodiment of the present invention. as shown in picture 2, The method includes the following steps:
5201、 前接入设备 PMAG在移动节点 MN附着在本地后与 LMA之间建立 双向隧道, 即建立正式绑定关系。 5201. The pre-access device PMAG establishes a bidirectional tunnel between the LMA and the LMA after the mobile node MN is attached to the local device, that is, a formal binding relationship is established.
5202、 前接入设备 PMAG对附着在本地的移动节点进行检测。 5202. The former access device PMAG detects the mobile node attached to the local.
所述的检测包括 PMAG自动发现移动节点 MN将要进行切换或者接收 MN 发送的将要进行切换的通知消息。 The detection includes the PMAG automatically discovering that the mobile node MN is about to perform handover or receiving a notification message to be handed over by the MN to be handed over.
S203、前接入设备 PMAG检测到 MN需要离开本地切换到其他接入设备时, 向本地管理设备 LMA发送上下文通知消息,该上下文通知消息携带将要切换的 移动节点 MN 的上下文信息。 该上下文信息包括: 组播信息, 通用路由封装 ( Generic Routing Encapsulation, GRE )信息, MN的 ID, MN的接口的 ID, MN 的家乡地址, 切换序列号等信息中的一种或者多种。 S203. The front access device, when the PMAG detects that the MN needs to leave the local handover to another access device, sends a context notification message to the local management device LMA, where the context notification message carries the context information of the mobile node MN to be handed over. The context information includes: one or more of multicast information, Generic Routing Encapsulation (GRE) information, ID of the MN, ID of the interface of the MN, home address of the MN, and handover sequence number.
当前接入设备 PMAG能够获知新接入设备 NMAG的地址时, 该上下文信 息还可以包括新接入设备 NMAG的地址信息。 NMAG的地址可以是 PMAG能 够唯一确定的地址,或者根据一定的策略确定的一个或多个候选的 NMAG地址。 When the current access device PMAG can learn the address of the new access device NMAG, the context information may also include the address information of the new access device NMAG. The address of the NMAG may be an address that the PMAG can uniquely determine, or one or more candidate NMAG addresses determined according to a certain policy.
5204、本地管理设备 LMA收到 PMAG发送的上下文通知消息后,向 PMAG 发送上下文确认消息。 5204. The local management device sends a context confirmation message to the PMAG after receiving the context notification message sent by the PMAG.
5205、 本地管理设备 LMA收到 PMAG发送的上下文通知消息后, 从该上 下文通知消息中获取 MN的上下文信息进行存储, 并从该上下文通知消息中解 析出新接入设备 NMAG地址 (如果前接入设备 PMAG 能够获知新接入设备 NMAG的地址 ), 或者根据一定的网络策略计算出 NMAG地址。 After receiving the context notification message sent by the PMAG, the local management device LMA obtains the context information of the MN from the context notification message, and parses the NMAG address of the new access device from the context notification message. The device PMAG can learn the address of the new access device NMAG, or calculate the NMAG address according to a certain network policy.
LMA解析出或者计算出的 NMAG地址可以是一个确定的地址, 还可以是 一个或多个候选的 NMAG地址。 The NMAG address parsed or calculated by the LMA may be a certain address, and may also be one or more candidate NMAG addresses.
LMA向所述一个确定的或者候选的一个或多个 NMAG发送移动节点的上 下文信息。 The LMA transmits the context information of the mobile node to the one or more NMAGs that are determined or candidate.
5206、 接收到所述移动节点上下文信息的 NMAG向 LMA发送上下文确认 消息。 5206. The NMAG that receives the mobility node context information sends a context confirmation message to the LMA.
当收到移动节点的上下文信息的 NMAG为多个候选的 NMAG时, 所述多 个候选的 NMAG分别向 LMA发送上下文确认消息。 When the NMAG that receives the context information of the mobile node is a plurality of candidate NMAGs, the multiple candidate NMAGs respectively send a context confirmation message to the LMA.
5207、 LMA收到 NMAG发送的上下文确认消息后, 在 NMAG和 LMA之 间建立临时隧道, 即临时绑定关系。
当 LMA收到多个候选的 NMAG发送的上下文确认消息后, 则在该 LMA 和每个候选的 NMAG之间都建立临时隧道。 After receiving the context confirmation message sent by the NMAG, the LMA establishes a temporary tunnel between the NMAG and the LMA, that is, a temporary binding relationship. After the LMA receives the context confirmation message sent by multiple candidate NMAGs, a temporary tunnel is established between the LMA and each candidate NMAG.
每个临时隧道会设置有生存期限( Transient Lifetime, TL )。 Each temporary tunnel is set to have a Transient Lifetime (TL).
当临时隧道建立后, 发往 MN的数据包还通过 PMAG和 LMA之间的隧道 到达 MN, 但是, 从 MN发出的数据包则同时通过 PMAG和 LMA以及 NMAG 和 LMA之间的隧道进行发送。 当有多个候选的 NMAG时, 从 MN发送的数据 包则同时经该多个 NMAG与 LAM之间的隧道发送给 LMA。 After the temporary tunnel is established, the data packet sent to the MN also passes through the tunnel between the PMAG and the LMA to the MN. However, the data packet sent from the MN is simultaneously transmitted through the tunnel between the PMAG and the LMA and between the NMAG and the LMA. When there are multiple candidate NMAGs, the data packets sent from the MN are simultaneously sent to the LMA through the tunnel between the multiple NMAGs and the LAM.
5208、收到移动节点上下文信息的 NMAG根据该移动节点的上下文信息对 连接到本地的移动节点进行检测。 5208. The NMAG that receives the mobility node context information detects the mobile node connected to the local according to the context information of the mobile node.
如果存在多个候选的 NMAG时, 该多个 NMAG都会根据自己接收的移动 节点的上下文信息对连接到本地的移动节点进行检测。 具体来说, NMAG通过 检测二层链路信息来判断某个移动节点是否连接到本地, 然后将连接到本地的 移动节点与接收到的移动节点的上下文信息进行匹配。 If there are multiple candidate NMAGs, the multiple NMAGs detect the mobile node connected to the local according to the context information of the mobile node that they receive. Specifically, the NMAG determines whether a mobile node is connected to the local by detecting the layer 2 link information, and then matches the mobile node connected to the local to the context information of the received mobile node.
5209、 当 NMAG检测到与该上下文信息对应的移动节点连接到本地时, 与 LMA之间建立正式隧道, 即正式绑定关系。 正式隧道建立后, 从 MN发出的数 据包, 或者目的地址为 MN的数据包都经过该正式隧道传输。 5209. When the NMAG detects that the mobile node corresponding to the context information is connected to the local device, a formal tunnel is established with the LMA, that is, a formal binding relationship. After the formal tunnel is established, the data packet sent from the MN or the data packet destined for the MN is transmitted through the formal tunnel.
当存在多个候选的 NMAG时,如果移动节点 MN已经附着在某一个 NMAG 下, 则其他候选的 NMAG与 LMA之间的隧道一直为临时隧道, 直到 When there are multiple candidate NMAGs, if the mobile node MN is already attached to a certain NMAG, the tunnel between the other candidate NMAGs and the LMA is always a temporary tunnel until
该临时隧道的生存期限 TL到期 (即 TL=0 ); 或 The temporary period of the temporary tunnel TL expires (ie TL=0); or
MN附着的 NMAG在其临时隧道的生存期限到期前已经与 LMA建立正式 隧道(即 MN附着的 NMAG已经与 LMA建立正式绑定关系); 或 The NMAG attached to the MN has established a formal tunnel with the LMA before the expiration of the lifetime of the temporary tunnel (that is, the NMAG attached to the MN has established a formal binding relationship with the LMA); or
LMA收到 PMAG发出的绑定撤销后, 该临时隧道被删除。 After the LMA receives the undo binding from the PMAG, the temporary tunnel is deleted.
5210、 删除 PMAG与 LMA之间基于该移动节点建立的双向隧道。 5210. Delete a bidirectional tunnel established between the PMAG and the LMA based on the mobile node.
上述接入设备可以是移动接入网关 PMAG或者接入路由器 PAR, 上述本地 管理设备可以是本地移动锚点 LMA , 也可以是 MN的家乡代理 HA。 The access device may be a mobile access gateway PMAG or an access router PAR. The local management device may be a local mobility anchor LMA or a home agent HA of the MN.
图 3为本发明实施例所述一种移动通信系统的结构示意图。 如图 3所示: 当移动节点 304附着在前接入设备 302上时, 移动节点的上行数据包或者下行 数据包都要经过前接入设备 302与本地管理设备 301之间的隧道发送。 FIG. 3 is a schematic structural diagram of a mobile communication system according to an embodiment of the present invention. As shown in FIG. 3, when the mobile node 304 is attached to the front access device 302, the uplink data packet or the downlink data packet of the mobile node is transmitted through the tunnel between the front access device 302 and the local management device 301.
前接入设备 302要关注移动节点 304的状态, 当移动节点 304向前接入设 备 302发送自己将要发生切换的消息, 或者前接入设备 302发现移动节点 304
将要发生切换的时候, 前接入设备 302向本地管理设备 301发送上下文通知消 息, 将移动节点 304的上下文信息发送给本地管理设备 301。 本地管理设备 301 从该上下文通知消息中获取移动节点 304 的上下文信息并进行緩存。 此外, 前 接入设备 302发送的上下文通知消息中还可以携带新接入设备 303的地址。 The pre-access device 302 is to be aware of the state of the mobile node 304, when the mobile node 304 forwards the message to the access device 302 that it is about to initiate a handover, or the pre-access device 302 discovers the mobile node 304. When the handover is about to occur, the front access device 302 sends a context notification message to the local management device 301, and transmits the context information of the mobile node 304 to the local management device 301. The local management device 301 acquires context information of the mobile node 304 from the context notification message and caches it. In addition, the context notification message sent by the former access device 302 may also carry the address of the new access device 303.
当上下文通知消息中携带新接入设备的地址时, 本地管理设备 301 从上下 文通知消息中获取新接入设备 303 的地址; 当上下文通知消息中没有携带新接 入设备的地址时, 本地管理设备 301 利用上下文通知消息中携带的移动节点的 上下文信息根据一定的网络策略获取或计算出新接入设备 303的地址。 When the context notification message carries the address of the new access device, the local management device 301 acquires the address of the new access device 303 from the context notification message; when the context notification message does not carry the address of the new access device, the local management device 301: Acquire or calculate an address of the new access device 303 according to a certain network policy by using context information of the mobile node carried in the context notification message.
本地管理设备 301将移动节点的上下文信息通知新接入设备 303。新接入设 备 303在收到该移动节点的上下文信息后, 根据该上下文信息与本地管理设备 301建立临时隧道。 The local management device 301 notifies the new access device 303 of the context information of the mobile node. After receiving the context information of the mobile node, the new access device 303 establishes a temporary tunnel with the local management device 301 according to the context information.
临时隧道建立之后, 所有以目的地址为移动节点 304 的数据包仍然经过前 接入设备 302与本地管理设备 301之间的隧道发送给移动节点 304,但是,从移 动节点 304发出的数据包则同时通过前接入设备 302与本地管理设备 301之间 的隧道和新接入设备 303与本地管理设备之间 301之间的隧道发送给本地管理 设备 301 , 再由本地管理设备 301根据目的地址进行转发。 After the temporary tunnel is established, all data packets destined for the mobile node 304 are still transmitted to the mobile node 304 via the tunnel between the pre-access device 302 and the local management device 301, but the data packets sent from the mobile node 304 are simultaneously The tunnel between the front access device 302 and the local management device 301 and the tunnel between the new access device 303 and the local management device 301 are sent to the local management device 301, and then the local management device 301 forwards according to the destination address. .
临时隧道建立成功后, 新接入设备 303对接入本地的移动节点进行检测, 当发现该上下文信息对应的移动节点已经附着在本地后, 则新接入设备 303 与 本地管理设备 301之间建立正式隧道。 After the temporary tunnel is successfully established, the new access device 303 detects the mobile node that accesses the local device. When the mobile node corresponding to the context information is found to be local, the new access device 303 and the local management device 301 are established. Formal tunnel.
如果该上下文通知消息中携带有多个候选的新接入设备地址, 或者本地管 理设备 301计算出多个候选的新接入设备地址,, 则本地管理设备 301向每个候 选的新接入设备发送移动节点的上下文信息, 所有收到本地管理设备发送的上 下文信息的候选的新接入设备都与本地管理设备 301 之间建立临时隧道, 临时 隧道建立之后, 所有以目的地址为移动节点 304 的数据包仍然经过前接入设备 302与本地管理设备 301之间的隧道发送给移动节点 304,但是,从移动节点 304 发出的数据包则同时通过前接入设备 302与本地管理设备 301之间的隧道和所 有候选的新接入设备与本地管理设备之间 301 之间的隧道发送给本地管理设备 301 , 再由本地管理设备 301根据目的地址进行转发。 所有候选的新接入设备对 接入本地的移动节点进行检测, 如果某个候选的新接入设备发现与该上下文信 息对应的移动节点已经附着在本地后, 则该候选的新接入设备与本地管理设备
301间建立正式隧道。正式隧道建立完成后, 本地管理设备 301删除自己与前接 入设备 302之间的基于该移动节点 304的上下文信息建立的隧道。 而其他的临 时隧道在自己的生存期限 TL到期 (即 TL=0 ); 或移动节点 304与新接入设备 303之间的正式隧道建立后,或本地管理设备 301收到前接入设备 302发出的绑 定撤销后被删除。 If the context notification message carries multiple candidate new access device addresses, or the local management device 301 calculates multiple candidate new access device addresses, the local management device 301 provides each candidate new access device. Sending the context information of the mobile node, all new access devices that receive the candidate for the context information sent by the local management device establish a temporary tunnel with the local management device 301. After the temporary tunnel is established, all the destination addresses are the mobile node 304. The data packet is still transmitted to the mobile node 304 via the tunnel between the pre-access device 302 and the local management device 301, but the data packets sent from the mobile node 304 are simultaneously passed between the pre-access device 302 and the local management device 301. The tunnel between the tunnel and all the candidate new access devices and the local management device 301 is sent to the local management device 301, and then the local management device 301 forwards according to the destination address. All candidate new access devices detect the mobile node accessing the local. If a candidate new access device finds that the mobile node corresponding to the context information has been attached locally, the candidate new access device and Local management device Established a formal tunnel in 301. After the formal tunnel establishment is completed, the local management device 301 deletes the tunnel established between itself and the former access device 302 based on the context information of the mobile node 304. The other temporary tunnels expire at their own lifetime TL (ie, TL=0); or after the formal tunnel between the mobile node 304 and the new access device 303 is established, or the local management device 301 receives the pre-access device 302. The issued binding is revoked and deleted.
上述本地管理设备可以是本地移动锚点 LMA, 也可以是移动节点的家乡代 理 HA, 上述接入设备可以是移动接入网关 MAG或者接入路由器 AR。 The local management device may be a local mobility anchor LMA or a home agent HA of the mobile node, and the access device may be a mobile access gateway MAG or an access router AR.
图 4A, 图 4B为本发明实施例所述一种本地管理设备的结构示意图。 如图 4A, 图 4B所示, 本地管理设备包括: FIG. 4A is a schematic structural diagram of a local management device according to an embodiment of the present invention. As shown in FIG. 4A and FIG. 4B, the local management device includes:
接收单元 41 , 用于接收上下文通知消息, 该上下文通知消息携带移动节点 的上下文信息; The receiving unit 41 is configured to receive a context notification message, where the context notification message carries context information of the mobile node;
解析单元 42, 用于从所述上下文通知消息中获取移动节点的上下文信息; 存储单元 43,用于存储所述解析单元 42从上下文通知消息中获取的移动节 点的上下文信息; The parsing unit 42 is configured to obtain context information of the mobile node from the context notification message; the storage unit 43 is configured to store context information of the mobile node obtained by the parsing unit 42 from the context notification message;
地址获取单元 44 , 用于获取新接入设备的地址; An address obtaining unit 44, configured to acquire an address of the new access device;
所述地址获取单元 44可以是图 4A中的地址解析单元 441 , 用于当所述上 下文通知消息中携带有新接入设备的地址时, 从所述上下文通知消息中获取新 接入设备的地址; The address obtaining unit 44 may be the address resolution unit 441 in FIG. 4A, configured to acquire an address of the new access device from the context notification message when the context notification message carries the address of the new access device. ;
所述地址获取单元 44也可以是图 4B中的地址计算单元 442,用于根据网络 策略获取所述移动节点的新接入设备的地址; The address obtaining unit 44 may also be the address calculating unit 442 in FIG. 4B, configured to acquire an address of the new access device of the mobile node according to a network policy;
发送单元 45, 用于将所述移动节点的上下文信息发送给所述新接入设备。 本发明实施例利用本地管理设备与接入设备之间的信任关系, 由本地管理 设备将从前接入设备接收的移动节点的上下文信息发送给新接入设备, 增加了 系统的安全性。 并且, 本发明实施例不需要在前接入设备和新接入设备之间建 立物理连接, 节约了组网成本。 此外, 本发明实施例还可以在移动节点发生切 换前, 在新接入设备与本地管理设备之间建立临时隧道, 避免了数据报文的丟 失, 提高了切换速度。 The sending unit 45 is configured to send context information of the mobile node to the new access device. The embodiment of the present invention utilizes the trust relationship between the local management device and the access device, and the local management device sends the context information of the mobile node received from the former access device to the new access device, thereby increasing the security of the system. Moreover, the embodiment of the present invention does not need to establish a physical connection between the front access device and the new access device, which saves the networking cost. In addition, the embodiment of the present invention can also establish a temporary tunnel between the new access device and the local management device before the switching of the mobile node, thereby avoiding data packet loss and improving the switching speed.
以上所述仅为本发明的优选实施方式, 对于本技术领域的普通技术人员来 说, 在不脱离本发明原理的前提下, 所做出的任何修改、 等同替换和改进, 均 应该涵盖在本发明的保护范围之内。
The above description is only a preferred embodiment of the present invention, and any modifications, equivalents, and improvements made by those skilled in the art without departing from the principles of the present invention should be Within the scope of protection of the invention.
Claims
1、 一种移动节点的上下文信息传输方法, 其特征在于, 包括: A method for transmitting a context information of a mobile node, comprising:
接收前接入设备发送的上下文通知消息, 所述上下文通知消息携带移动节 点的上下文信息; Receiving a context notification message sent by the access device, where the context notification message carries context information of the mobile node;
获取所述移动节点的新接入设备的地址; Obtaining an address of the new access device of the mobile node;
根据所述新接入设备的地址, 将所述移动节点的上下文信息发送给所述新 接入设备。 Sending context information of the mobile node to the new access device according to an address of the new access device.
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取所述移动节点的新 接入设备的地址包括: 2. The method according to claim 1, wherein the acquiring the address of the new access device of the mobile node comprises:
从所述上下文通知消息中获取所述移动节点的新接入设备的地址; 或 根据网络策略获取所述移动节点的新接入设备的地址。 Acquiring an address of the new access device of the mobile node from the context notification message; or acquiring an address of the new access device of the mobile node according to a network policy.
3、 一种移动节点切换方法, 其特征在于, 包括: A mobile node switching method, comprising:
新接入设备接收本地管理设备发送的移动节点的上下文通知消息; 对接入新接入设备本地的移动节点进行检测, 当检测到所述上下文信息对 应的移动节点已经附着在本地时, 与所述本地管理设备建立正式绑定关系。 Receiving, by the new access device, a context notification message of the mobile node sent by the local management device; detecting, by the mobile node that accesses the new access device, when detecting that the mobile node corresponding to the context information has been attached locally, The local management device establishes a formal binding relationship.
4、 根据权利要求 3所述的方法, 其特征在于, 4. The method of claim 3, wherein
所述新接入设备接收本地管理设备发送的上下文通知消息前, 还包括: 前接入设备检测到所述移动节点需要发生切换或者收到所述移动节点发送 的将要发生切换的通知时, 向所述本地管理设备发送上下文通知消息, 携带所 述移动节点的上下文信息; Before the new access device receives the context notification message sent by the local management device, the method further includes: when the front access device detects that the mobile node needs to perform a handover or receives a notification that the mobile node sends a handover to be generated, Sending, by the local management device, a context notification message, carrying context information of the mobile node;
在所述接收本地管理设备发送的移动节点的上下文通知消息之后, 与所述 本地管理设备建立正式绑定关系之前, 还包括: After the receiving the formal notification relationship with the local management device after receiving the context notification message of the mobile node sent by the local management device, the method further includes:
所述新接入设备根据所述移动节点的上下文信息, 与所述本地管理设备建 立临时绑定关系。 And the new access device establishes a temporary binding relationship with the local management device according to the context information of the mobile node.
5、 根据权利要求 3所述的方法, 其特征在于, 还包括: 所述本地管理设备
获取所述移动节点的新接入设备的地址, 具体为: The method according to claim 3, further comprising: the local management device Obtaining an address of the new access device of the mobile node, specifically:
所述本地管理设备根据网络策略获取所述移动节点的新接入设备的地址; 或 Obtaining, by the local management device, an address of the new access device of the mobile node according to a network policy; or
所述本地管理设备从所述前接入设备发送的上下文通知消息中获取所述移 动节点的新接入设备的地址。 And obtaining, by the local management device, an address of the new access device of the mobile node from a context notification message sent by the former access device.
6、 根据权利要求 3-5中任意一项所述的方法, 其特征在于, 6. A method according to any one of claims 3-5, characterized in that
所述上下文信息包括:组播信息、通用路由封装 GRE信息、移动节点的 ID、 移动节点的接口 ID、 移动节点的家乡地址、 新接入设备的地址及切换序列号中 的一种或多种; The context information includes: one or more of multicast information, general route encapsulation GRE information, ID of a mobile node, an interface ID of a mobile node, a home address of a mobile node, an address of a new access device, and a handover sequence number. ;
所述本地管理设备为所述移动节点的本地移动锚点或家乡代理; The local management device is a local mobility anchor or a home agent of the mobile node;
所述前接入设备和新接入设备为移动接入网关或接入路由器。 The pre-access device and the new access device are mobile access gateways or access routers.
7、 一种移动通信系统, 其特征在于, 包括前接入设备、 本地管理设备和新 接入设备, 其中, A mobile communication system, comprising: a front access device, a local management device, and a new access device, wherein
所述前接入设备, 用于向所述本地管理设备发送移动节点的上下文通知消 息; The pre-access device is configured to send a context notification message of the mobile node to the local management device;
所述本地管理设备, 用于获取所述新接入设备的地址, 并从所述上下文通 知消息中获取移动节点的上下文信息, 将所述移动节点的上下文信息发送给所 述新接入设备; The local management device is configured to acquire an address of the new access device, and obtain context information of the mobile node from the context notification message, and send the context information of the mobile node to the new access device.
所述新接入设备, 用于接收所述本地管理设备发送的移动节点的上下文信 息, 对接入所述新接入设备本地的移动节点进行检测, 当检测到所述上下文信 息对应的移动节点已经附着在本地时, 与所述本地管理设备建立正式绑定关系。 The new access device is configured to receive the context information of the mobile node sent by the local management device, and detect the mobile node that is local to the new access device, and detect the mobile node corresponding to the context information. When it is attached locally, a formal binding relationship is established with the local management device.
8、 根据权利要求 7所述的系统, 其特征在于, 还包括: 8. The system according to claim 7, further comprising:
所述前接入设备在向本地管理设备发送移动节点的上下文通知消息前, 还 用于对附着在本地的移动节点进行检测, 当检测到所述移动节点需要发生切换 或者收到所述移动节点发送的将要发生切换的通知时, 生成所述移动节点的上 下文通知消息, 所述上下文通知消息中携带所述移动节点的上下文信息。
The pre-access device is further configured to detect the mobile node attached to the local node before sending the context notification message of the mobile node to the local management device, and when detecting that the mobile node needs to switch or receive the mobile node A context notification message of the mobile node is generated when the notification of the handover is to be performed, and the context notification message carries the context information of the mobile node.
9、 根据权利要求 7或 8所述的系统, 其特征在于, 所述本地管理设备根据 上下文通知消息获取所述移动节点的新接入设备的地址, 具体为: The system according to claim 7 or 8, wherein the local management device acquires an address of the new access device of the mobile node according to the context notification message, which is specifically:
所述本地管理设备从所述上下文通知消息中获取所述移动节点的新接入设 备的地址; Obtaining, by the local management device, an address of the new access device of the mobile node from the context notification message;
或所述本地管理设备根据网络策略获取所述移动节点的新接入设备的地 址。 Or the local management device acquires an address of the new access device of the mobile node according to a network policy.
10、 根据权利要求 7-9所述的系统, 其特征在于, 10. A system according to claims 7-9, characterized in that
所述本地管理设备为所述移动节点的本地移动锚点或家乡代理; The local management device is a local mobility anchor or a home agent of the mobile node;
所述前接入设备和新接入设备为移动接入网关或接入路由器。 The pre-access device and the new access device are mobile access gateways or access routers.
11、 一种本地管理设备, 其特征在于, 包括: 11. A local management device, comprising:
接收单元, 用于接收上下文通知消息, 所述上下文通知消息携带移动节点 的上下文信息; a receiving unit, configured to receive a context notification message, where the context notification message carries context information of the mobile node;
地址获取单元, 用于获取新接入设备的地址; An address obtaining unit, configured to acquire an address of the new access device;
发送单元, 用于将所述移动节点的上下文信息发送给所述新接入设备。 And a sending unit, configured to send context information of the mobile node to the new access device.
12、 根据权利要求 11所述的本地管理设备, 其特征在于, 还包括: 解析单元, 用于从所述上下文通知消息中获取移动节点的上下文信息; 存储单元, 用于存储所述解析单元从所述上下文通知消息中获取的移动节 点的上下文信息。 The local management device according to claim 11, further comprising: a parsing unit, configured to acquire context information of the mobile node from the context notification message, and a storage unit, configured to store the parsing unit from The context information of the mobile node acquired in the context notification message.
13、 根据权利要求 11所述的本地管理设备, 其特征在于, 所述地址获取单 元包括: The local management device according to claim 11, wherein the address obtaining unit comprises:
地址解析单元, 用于从所述上下文通知消息中获取所述移动节点的新接入 设备的地址; 或 An address resolution unit, configured to obtain, from the context notification message, an address of a new access device of the mobile node; or
地址计算单元, 用于根据网络策略获取所述移动节点的新接入设备的地址。
An address calculation unit, configured to acquire an address of the new access device of the mobile node according to a network policy.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200810066220 CN101547408B (en) | 2008-03-28 | 2008-03-28 | Context information transmitting method for mobile node, mobile communication system and device |
| CN200810066220.9 | 2008-03-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009117927A1 true WO2009117927A1 (en) | 2009-10-01 |
Family
ID=41112956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2009/070870 WO2009117927A1 (en) | 2008-03-28 | 2009-03-18 | Method for transmitting context information of mobile node, mobile system and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101547408B (en) |
| WO (1) | WO2009117927A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102244895B (en) | 2010-05-13 | 2015-12-16 | 中兴通讯股份有限公司 | The ambulant shunt method of a kind of enhancing and device |
| WO2017214850A1 (en) * | 2016-06-14 | 2017-12-21 | 华为技术有限公司 | User context acquisition and lookup method, and related device |
| CN111510964B (en) * | 2019-01-31 | 2021-09-07 | 华为技术有限公司 | A communication method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060251022A1 (en) * | 2005-04-25 | 2006-11-09 | Zhang Li J | Handover enabler |
| US20070014262A1 (en) * | 2005-06-30 | 2007-01-18 | Alcatel | Method for handling over a call involving a mobile node in a macromobility situation in an IP communication network using hierarchical routing |
| CN101036174A (en) * | 2004-08-04 | 2007-09-12 | 高通弗拉里奥恩技术公司 | Enhanced techniques for state transfer using core-based nodes |
-
2008
- 2008-03-28 CN CN 200810066220 patent/CN101547408B/en not_active Expired - Fee Related
-
2009
- 2009-03-18 WO PCT/CN2009/070870 patent/WO2009117927A1/en active Application Filing
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101036174A (en) * | 2004-08-04 | 2007-09-12 | 高通弗拉里奥恩技术公司 | Enhanced techniques for state transfer using core-based nodes |
| US20060251022A1 (en) * | 2005-04-25 | 2006-11-09 | Zhang Li J | Handover enabler |
| US20070014262A1 (en) * | 2005-06-30 | 2007-01-18 | Alcatel | Method for handling over a call involving a mobile node in a macromobility situation in an IP communication network using hierarchical routing |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101547408A (en) | 2009-09-30 |
| CN101547408B (en) | 2013-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10098042B2 (en) | MME, local server, MME-local server interface, and data transmission method for optimized data path in LTE network | |
| US7953044B2 (en) | Method, component and system for network-based handover | |
| US20080089293A1 (en) | Inter-system handoffs in multi-access environments | |
| JP4990985B2 (en) | Proxy mobile IP routing | |
| JP2012527133A (en) | Method, apparatus and system for paging user equipment | |
| WO2012136097A1 (en) | Packet data network gateway and terminal mobility management system | |
| WO2009111975A1 (en) | A method, node and system for notifying proxy updating in radio mesh network | |
| WO2008098439A1 (en) | Method and system for switching route | |
| WO2010072074A1 (en) | Method, system and mobile access gateway for local routing optimization | |
| WO2008000133A1 (en) | A method, system and apparatus for realizing fast handover | |
| US20120134346A1 (en) | Wireless communication system network equipment with broadcast-based backhaul network interface and next generation air interface | |
| WO2015188357A1 (en) | Bearer switching control device and control method | |
| WO2008028381A1 (en) | A method, system and device of message routing for the localized mobility management network | |
| WO2011085618A1 (en) | Method for terminal switching and corresponding communication network | |
| WO2013071823A1 (en) | Method and system for route optimization during handover and access network element | |
| US9516681B2 (en) | Method, device and system for accessing core network by means of non-3GPP access | |
| MX2007012502A (en) | A method of reconfiguring an internet protocol address in handover between heterogeneous networks. | |
| WO2007131404A1 (en) | A method and device for realizing fast handover | |
| WO2009006825A1 (en) | Handover method, method for joining multicast group and access router in proxy mobile ip | |
| WO2011009253A1 (en) | Method and system for querying a domain name in a mobile network | |
| WO2009117927A1 (en) | Method for transmitting context information of mobile node, mobile system and device | |
| Blondia et al. | Low Latency Handoff Mechanisms and their implementation in an IEEE 802.11 Network | |
| WO2009127120A1 (en) | A method,device and system for tracking user during the process of switching | |
| EP2716090B1 (en) | Method for data transmission and local network entity | |
| KR101901109B1 (en) | Hybrid Fusion Network Management System and Method for Providing Reliable Traffic Transmission by Improving Radio Resource Efficiency |
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: 09725969 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: 09725969 Country of ref document: EP Kind code of ref document: A1 |