WO2015109514A1 - 一种数据包发送方法、移动路由器及网络设备 - Google Patents

一种数据包发送方法、移动路由器及网络设备 Download PDF

Info

Publication number
WO2015109514A1
WO2015109514A1 PCT/CN2014/071332 CN2014071332W WO2015109514A1 WO 2015109514 A1 WO2015109514 A1 WO 2015109514A1 CN 2014071332 W CN2014071332 W CN 2014071332W WO 2015109514 A1 WO2015109514 A1 WO 2015109514A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing control
mobile router
routing
node
data packet
Prior art date
Application number
PCT/CN2014/071332
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to EP20161117.5A priority Critical patent/EP3737046B1/en
Priority to PCT/CN2014/071332 priority patent/WO2015109514A1/zh
Priority to EP14879558.6A priority patent/EP3089406B1/en
Priority to PL14879558T priority patent/PL3089406T3/pl
Priority to CN201810008962.XA priority patent/CN108055200B/zh
Priority to CN201480000026.4A priority patent/CN105103501B/zh
Publication of WO2015109514A1 publication Critical patent/WO2015109514A1/zh
Priority to US15/217,680 priority patent/US10193792B2/en
Priority to US16/203,300 priority patent/US10904133B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/34Modification of an existing route
    • H04W40/36Modification of an existing route due to handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing 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/08Mobility data transfer
    • H04W8/082Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/04Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing 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/06Registration at serving network Location Register, VLR or user mobility server

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data packet sending method, a mobile router, and a network device. Background technique
  • DMM Distributed Mobility Management
  • Route Optimization is the default feature of DMM, that is, the network supports DMM to automatically perform route optimization.
  • FIG. 1 it is a scenario where the MN (mobile node) and the destination node are mobile nodes, and the home mobile router serving the MN (represented as 1 in FIG. 1) assigns a HoA (home address) to the MN, and the MN is currently attached to On the current mobile router serving the MN (denoted as 2 in the figure), likewise, 4 in Fig. 1 represents the home mobile router serving the destination node, and 3 in Fig. 1 represents the current mobile router serving the destination node, 5 in 1 denotes MN, and 6 denotes a destination node. Since the MN is currently attached to the current mobile router serving the MN, the MN under the home mobile router serving the MN is indicated by a dotted line, and the destination node is also the same.
  • the data routing path between the MN and the destination node is as shown by the dotted arrow in Figure 1.
  • the data from the MN is forwarded back to the home mobile router serving the MN through the current mobile router serving the MN.
  • the home mobile router serving the MN sends the home mobile router serving the destination node, and the home mobile router serving the destination node forwards to the current mobile router serving the destination node, and finally forwards to the destination node. It can be seen that the path is not optimized, while increasing the transmission delay, and is prone to single point of failure.
  • the data between the MN and the destination node can be directly sent from the current mobile router serving the MN directly to the current mobile router serving the destination node through the DMM optimized tunnel. And then forwarded to the destination node, where DMM optimizes the tunnel, which can pass GTP (General Data Transfer Platform), PMIP (Proxy Mobile IP, Proxy Mobile IP), or GRE (Generic Routing Encapsulation) protocol.
  • GTP General Data Transfer Platform
  • PMIP Proxy Mobile IP, Proxy Mobile IP
  • GRE Generic Routing Encapsulation
  • route optimization is the default feature of DMM, and the network automatically optimizes routes.
  • the route does not need to be route optimized, and the data needs to go through a long and complicated path to reach the end point, or route optimization.
  • the data is sent directly from the origin to the end point and cannot reach the intermediate network node. It can be seen that in the prior art, the purpose of sending data to a designated network node cannot be completed. Summary of the invention
  • the embodiment of the invention provides a data packet sending method, a mobile router and a network device, which are used to solve the technical problem that the data cannot be sent to a designated network node in the prior art.
  • a first aspect of the present invention provides a data packet sending method, where the method includes: obtaining a first data packet from a first home address forwarded by a mobile node MN, and determining, according to the routing control policy information, whether to enable the first data packet Routing control of the data packet; the routing control policy information includes the indication information of whether to enable the routing control, and in the case that the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address;
  • the first data packet is sent to the designated routing node by using a tunnel between the routing node and the designated routing node according to the state information of the home address in the routing policy information;
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the not opening the routing control means not opening the MN.
  • the indicating that the routing control is enabled is to enable routing control on all data packets of the MN. Not enabling routing control means that routing control is not enabled for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the first data packet is passed through Sending a tunnel between the designated routing nodes to the specified routing node, including:
  • the first data packet is sent to the designated routing node through a tunnel with the designated routing node;
  • a tunnel with the designated routing node is established, and the first data packet is sent to the designated routing node through a tunnel with the designated routing node.
  • between the current mobile router and the destination node Tunnel transmits the first processed data packet to the current shift of the destination node Mobile routers, including:
  • a tunnel with the current mobile router of the destination node is not established, a tunnel is established with the current mobile router of the destination node, and a tunnel is established through a tunnel with the current mobile router of the destination node.
  • the first processing data packet is sent to the current mobile router of the destination node.
  • the obtained mobile node MN forwards from the first Before the first data packet of the home address, the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that the routing is enabled Controlling, according to the state information of the home address in the routing control policy information carried in the routing control request, establishing a tunnel with the designated routing node.
  • the method further includes: if the indication information in the routing control policy information carried by the routing control request is not displayed Route control removes the tunnel between the specified routing node.
  • the method further includes: Controlling the request to be forwarded to the mobile node's home location manager, and the mobile node's home mobile router, such that the mobile node's home location manager and the mobile node's home mobile router are based on the information included in the routing control request Update locally stored information.
  • a second aspect of the present invention provides a data packet sending method, the method comprising: specifying a routing node to receive a first data packet from a mobile router of a MN; The packet is sent by the mobile router of the MN according to the routing control policy information to enable the routing control of the first data packet to be sent through the tunnel with the designated routing node, where the routing control policy information includes an indication of whether to enable the routing control. Information, and in the case that the indication information indicates that routing control is enabled, the routing control policy information further includes status information of the home address;
  • the designated routing node processes the first data packet to obtain a first processing data packet; the designated routing node sends the first processing data packet to a mobile router of the MN to move the MN The router sends the first processed data packet to the current mobile router of the destination node.
  • the method before the designated routing node receives the first data packet from the MN, the method further includes: receiving, by the designated routing node, a routing control sent by the mobile router of the MN Policy information, where the routing control policy information includes indication information for enabling routing control, and status information of the home address.
  • the method before the designated routing node receives the first data packet of the mobile router from the MN, the method further includes: the designated routing node sending according to the mobile router of the MN The establishment request establishes a tunnel with the mobile router of the MN.
  • the method further includes:
  • the designated routing node tears down the tunnel with the source mobile router.
  • a third aspect of the present invention provides a data packet sending method, where the method includes: obtaining a first data packet forwarded by a MN from a first home address, and determining, according to the routing control policy information, whether to open the first data packet
  • the routing control policy includes: indicating whether the routing control is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address;
  • the first data packet is sent to the current mobile router of the destination node to send the first data packet to the destination node by the current mobile router of the destination node.
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the not opening the routing control means not opening the MN.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the tunnel sends the first data packet to the current mobile router of the destination node, including:
  • a tunnel with the current mobile router of the destination node is not established, a tunnel is established with the current mobile router of the destination node, and a tunnel is established through a tunnel with the current mobile router of the destination node.
  • the first data packet is sent to the current mobile router of the destination node.
  • the MN forwarded address from the first home address is obtained.
  • the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method further includes: forwarding the routing control request to the mobile node's home location manager, and the mobile node's hometown
  • the mobile router is configured to cause the home location manager of the mobile node and the home mobile router of the mobile node to update locally stored information according to information included in the routing control request.
  • a fourth aspect of the present invention provides a data packet sending method, where the method includes: obtaining a first data packet forwarded by a MN from a first home address, and determining, according to the routing control policy information, whether to open the first data packet
  • the routing control policy includes: indicating whether the routing control is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address;
  • the first data packet is sent to the designated routing node through a tunnel between the designated routing node according to the state information of the home address in the routing policy, so that the designating The routing node sends the first processed data packet to the current mobile router of the destination node through a tunnel with the current mobile router of the destination node, and sends the first processed data packet through the current mobile router of the destination node And the first processing data packet is obtained by processing the first data packet by the designated routing node.
  • the indicating that the routing control is enabled is The pointer opens the routing control to the data packet of the designated home address of the MN, and the non-opening of the routing control means that the routing control of the designated home address of the MN is not enabled; or
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the first data packet is passed through Sending a tunnel between the designated routing nodes to the specified routing node, including:
  • the first data packet is sent to the designated routing node through a tunnel with the designated routing node;
  • the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that the route is enabled Controlling, according to the state information of the home address in the routing control policy information carried in the routing control request, establishing a tunnel with the designated routing node.
  • the state information of the home address in the routing control policy information carried in the routing control request is established between the specified routing node and the designated routing node.
  • the method further includes: sending, according to the indication information in the routing control policy information carried in the routing control request, and the address of the current mobile router of the destination node, a path switching instruction to the current mobile router of the destination node, to And causing the current mobile router of the destination node to establish a tunnel between the current mobile router of the destination node and the designated routing node, and causing the current mobile router of the destination node to remove the current mobile router and the destination node of the destination node A tunnel between the current mobile routers of the mobile node.
  • the method further includes: The indication information in the routing control policy information carried in the routing control request indicates that the routing control is not enabled, and the tunnel between the designated routing node is removed.
  • the method further includes: The routing control request is forwarded to the home location manager of the mobile node, and the home mobile router of the mobile node, so that the home location manager of the mobile node and the home mobile router of the mobile node are in accordance with the routing control request.
  • the included information updates the locally stored information.
  • the first data packet is After the tunnel between the specified routing node and the specified routing node is sent to the designated routing node, the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, The home location manager of the destination node requests to obtain the address of the current mobile router of the destination node;
  • a fifth aspect of the present invention provides a data packet sending method, including:
  • the designated routing node receives the first data packet from the mobile router of the MN; the first data packet is determined by the mobile router of the MN to open and control the routing of the first data packet according to the routing control policy information And the routing control policy information includes the indication information of whether the routing control is enabled, and the routing control policy information further includes the status of the home address in the case that the indication information indicates that the routing control is enabled.
  • the designated routing node sends the first processing data packet to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node; wherein the first processing data packet is the designated routing node Processing the first data packet.
  • the method before the designated routing node receives the first data packet from the MN, the method further includes: receiving, by the designated routing node, a routing control sent by the mobile router of the MN Policy information, where the routing control policy information includes indication information of whether to enable routing control.
  • the method before the designated routing node receives the first data packet from the mobile router of the mobile node MN, the method further includes: if the routing control policy information The indication information in the indication indicates that routing control is enabled, and the designated routing node establishes a tunnel with the current mobile router of the destination node, and updates the routing control policy information to the current mobile router of the destination node.
  • the method further includes: And if the indication information in the routing control policy information indicates that routing control is not enabled, the designated routing node tears down a tunnel between the current mobile router and the destination node.
  • the method further includes: moving the source from the source After the router moves to the target mobile router, the designated routing node tears down the tunnel with the source mobile router.
  • a mobile router including:
  • a first transceiver module configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address; if the determination is yes, the first data is obtained according to state information of the home address in the routing policy information Transmitting, by the tunnel between the packet and the specified routing node, the specified routing node, obtaining the first processing data packet returned by the specified routing node, and sending the first processing data packet to the current movement of the destination node a router, configured to send the first processing data packet to the destination node by using a current mobile router of the destination node, where the first processing data packet is the designated routing node by using the first data packet Obtained by processing;
  • a first judging module configured to determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes: whether the routing control indication information is enabled, and the indication information is displayed In the case of routing control, the routing control policy information further includes status information of the home address.
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the not opening the routing control means not opening the MN.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that routing control is enabled, and the indication information indicates the number of corresponding home addresses for the MN. According to the package, routing control is enabled;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the first transceiver module is specifically configured to: Detecting whether a tunnel with the specified routing node exists; when detecting that the tunnel with the specified routing node exists, sending the first data packet to the designated routing node through a tunnel with the designated routing node; When it is determined that the tunnel with the designated routing node does not exist, a tunnel with the designated routing node is established, and the first data packet is sent to the designated routing node through a tunnel with the designated routing node.
  • the first transceiver module is specifically configured to: Determining whether a tunnel with the current mobile router of the destination node has been established; if a tunnel with the current mobile router of the destination node has been established, passing a tunnel with the current mobile router of the destination node Transmitting the first processed data packet to a current mobile router of the destination node; if a tunnel with a current mobile router of the destination node is not established, establishing a relationship with a current mobile router of the destination node Tunneling, and transmitting the first processed data packet to a current mobile router of the destination node through a tunnel with a current mobile router of the destination node.
  • the first transceiver module is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the mobile router further includes a first establishing module, configured to: if the indication in the routing control policy information carried by the routing control request The information indicates that the routing control is enabled, and the tunnel between the designated routing node is established according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the mobile router further includes a first removal module, configured to: if the indication in the routing control policy information carried by the routing control request The information indicates that the routing control is not enabled, and the tunnel between the designated routing node is removed.
  • the first transceiver module is further configured to: Controlling the request to be forwarded to the mobile node's home location manager, and the mobile node's home mobile router, such that the mobile node's home location manager and the mobile node's home mobile router are based on the information included in the routing control request Update locally stored information.
  • a seventh aspect of the present invention provides a network device, including:
  • a second transceiver module configured to receive a first data packet of the mobile router from the MN; the first data packet is determined by the mobile router of the MN, after determining to enable routing control of the first data packet according to the routing control policy information
  • the routing control policy information includes: whether the routing control indication information is enabled, and the routing control policy information, if the indication information indicates that the routing control is enabled, the routing control policy information is sent by using the tunnel between the network device and the network device. Also including status information of the home address; and transmitting the first processed data packet to the mobile router of the MN, so that the mobile router of the MN sends the first processed data packet to the current mobile router of the destination node ;
  • the second transceiver module is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy is The information includes instructions for enabling routing control and status information for the home address.
  • the network device further includes a second establishing module, configured to: determine, according to the establishment request sent by the mobile router of the MN, with the mobile router of the MN Establish a tunnel.
  • the network device further includes a second removal module, configured to remove the source mobile router after the MN moves from the source mobile router to the target mobile router Between the tunnels.
  • a mobile router including:
  • a third transceiver module configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control of the first data packet; where the routing control policy information is Including the indication information of whether the routing control is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address; and, according to the home address in the routing policy State information, sending the backed up first data packet to the designated routing node, and transmitting the first data packet to a current mobile router of the destination node by using a tunnel with a current mobile router of the destination node, And sending, by the current mobile router of the destination node, the first data packet to the destination node; and the backup module, configured to back up the first data packet if the determination is yes.
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the not opening the routing control means not opening the MN.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN; If the status information of the MN indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is not enabled, the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the third transceiver module is specifically configured to: Determining whether a tunnel with the current mobile router of the destination node has been established; if a tunnel with the current mobile router of the destination node has been established, passing a tunnel with the current mobile router of the destination node Transmitting the first data packet to a current mobile router of the destination node; if a tunnel with a current mobile router of the destination node is not established, establishing a tunnel with a current mobile router of the destination node Transmitting, by the tunnel with the current mobile router of the destination node, the first data packet to a current mobile router of the destination node.
  • the third transceiver module is further configured to: Receiving a routing control request, where the routing control request includes the routing control policy information.
  • the third transceiver module is further configured to: forward the routing control request to a home location manager of the mobile node, and a home location of the mobile node
  • the mobile router is configured to cause the home location manager of the mobile node and the home mobile router of the mobile node to update locally stored information according to information included in the routing control request.
  • a mobile router including: a fourth transceiver module, configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and if the determination is yes, use the first data according to state information of the home address in the routing policy Transmitting a packet to the designated routing node through a tunnel with the designated routing node, so that the designated routing node sends the first processed data packet to the destination through a tunnel with a current mobile router of the destination node a current mobile router of the node, and sending the first processing data packet to the destination node by using a current mobile router of the destination node; wherein, the first processing data packet is the designated routing node The first data packet is processed;
  • a second determining module configured to determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes: whether the routing control indication information is enabled, and the indication information is displayed In the case of routing control, the routing control policy information further includes status information of the home address.
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the not opening the routing control means not opening the MN. Specify routing control for the home address; or
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN; If the status information of the MN indicates that routing control is enabled, the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the fourth transceiver module is specifically configured to: Detecting whether a tunnel with the specified routing node exists; when detecting that the tunnel with the specified routing node exists, sending the first data packet to the designated routing node through a tunnel with the designated routing node; When it is determined that the tunnel with the designated routing node does not exist, a tunnel with the designated routing node is established, and the first data packet is sent to the designated routing node through a tunnel with the designated routing node.
  • the fourth transceiver module is further configured to: Receiving a routing control request, where the routing control request includes the routing control policy information.
  • the mobile router further includes a third establishing module, configured to: if the indication in the routing control policy information carried by the routing control request The information indicates that the routing control is enabled, and the tunnel between the designated routing node is established according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the fourth transceiver module is further configured to: indicate, according to the routing control policy information carried in the routing control request, and the destination An address of a current mobile router of the node, sending a path switching instruction to the current mobile router of the destination node, so that the current mobile router of the destination node establishes between the current mobile router of the destination node and the designated routing node Tunneling, and causing the current mobile router of the destination node to tear down a tunnel between the current mobile router of the destination node and the current mobile router of the mobile node.
  • the mobile router further includes a third removal module, configured to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled , then remove the tunnel between the specified routing node.
  • the fourth transceiver module is further configured to: Controlling the request to be forwarded to the mobile node's home location manager, and the mobile node's home mobile router, such that the mobile node's home location manager and the mobile node's home mobile router are based on the information included in the routing control request Update locally stored information.
  • the fourth transceiver module is further configured to: if the route The indication information in the routing control policy information carried in the control request indicates that the routing control is not enabled, and the home location manager of the destination node is requested to obtain the address of the current mobile router of the destination node; The mobile router sends a path switch instruction to cause the current mobile router of the destination node to establish a tunnel between the current mobile router of the destination node and the current mobile router of the mobile node according to the path switch instruction.
  • a tenth aspect of the present invention provides a network device, including:
  • a receiving module configured to receive a first data packet from a mobile router of the mobile node MN; the first data packet is determined by the mobile router of the MN, after determining, according to the routing control policy information, that the routing control of the first data packet is enabled And the routing control policy information includes: whether the routing control indication information is enabled, and the routing control policy information, if the indication information indicates that the routing control is enabled, the routing control policy information is sent by using the tunnel between the network device and the network device. It also includes status information of the home address;
  • a sending module configured to send, by using a tunnel with a current mobile router of the destination node, a first processing data packet to a current mobile router of the destination node, where the first processing data packet is a pair of the network device The first data packet is processed.
  • the receiving module is further configured to: receive routing control policy information sent by the mobile router of the MN, and the routing control policy information It includes instructions for whether to enable routing control.
  • the network device further includes a fourth establishing module, configured to: if the indication information in the routing control policy information indicates that routing control is enabled And establishing a tunnel with the current mobile router of the destination node, and updating the routing control policy information to the current mobile router of the destination node.
  • the network device further includes a fourth removal module, configured to: if the indication information in the routing control policy information indicates that routing is not enabled Control, then tear down the tunnel between the current mobile router and the destination node.
  • the network device further includes a fourth removal module. , for: after the MN moves from the source mobile router to the target mobile router, tear down the tunnel with the source mobile router.
  • a mobile router including:
  • a first memory for storing instructions
  • a first interface configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address; if the determination is yes, the first data packet according to the state information of the home address in the routing policy information Transmitting to the designated routing node by using a tunnel with the designated routing node; obtaining a first processing data packet returned by the specified routing node, and transmitting the first processing data packet to a current mobile router of the destination node Transmitting, by the current mobile router of the destination node, the first processing data packet to the destination node, where the first processing data packet is performed by the designated routing node by using the first data packet Processed
  • a first processor configured to execute the instruction, determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes whether to enable routing control indication information, and When the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address.
  • the indicating that the routing control is enabled is to enable routing control on a data packet of the designated home address of the MN, and does not enable routing control.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the first processor is specifically used to Executing the instruction, detecting whether a tunnel with the specified routing node exists, and establishing a tunnel with the designated routing node when detecting that the tunnel with the designated routing node does not exist; And the method is: sending the first data packet to the designated routing node by using a tunnel with the specified routing node.
  • the first processor is specifically used to Executing the instruction, determining whether a tunnel with the current mobile router of the destination node has been established, and if a tunnel with the current mobile router of the destination node is not established, Establishing a tunnel between the current mobile router and the destination node;
  • the first interface is specifically configured to: send the first processed data packet to a current mobile router of the destination node by using a tunnel with a current mobile router of the destination node.
  • the first interface is further configured to: Receiving a routing control request, where the routing control request includes the routing control policy information.
  • the first processor is further configured to: execute the instruction, if the routing control policy information carried in the routing control request is The indication information indicates that the routing control is enabled, and the tunnel between the designated routing node is established according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the first processor is specifically configured to: execute the instruction, if the routing control policy information carried in the routing control request is If the indication indicates that the route control is not enabled, the tunnel between the designated routing node is removed.
  • the first interface is further configured to: Requesting forwarding to the mobile node's home location manager, and the mobile node's home mobile router, such that the mobile node's home location manager and the mobile node's home mobile router are updated according to the information included in the routing control request Locally stored information.
  • a twelfth aspect of the present invention provides a network device, including:
  • a second memory for storing instructions
  • a second interface configured to receive a first data packet from a mobile router of the mobile node MN; the first data packet is a mobile router of the MN, determining, according to the routing control policy information, to enable routing control of the first data packet And the route control policy information is sent by using the tunnel with the network device, where the route control policy information includes: whether the route control indication information is enabled, and if the indication information indicates that the route control is enabled, the route control policy The information also includes the address of the home address. And transmitting the first processing data packet to the mobile router of the MN, so that the mobile router of the MN sends the first processing data packet to the current mobile router of the destination node; the second processor, And executing the instruction, processing the first data packet to obtain the first processing data packet.
  • the second interface is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy information includes enabling routing control Instructions, and status information about your home address.
  • the second processor is further configured to: execute the instruction, according to the setup request sent by the MN mobile router, with the MN mobile router Establish a tunnel between them.
  • the second processor is further configured to: execute the instruction, after the MN moves from the source mobile router to the target mobile router, The tunnel between the source mobile routers.
  • a mobile router including:
  • a third memory for storing instructions
  • a third interface configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control on the first data packet;
  • the routing control policy information includes Whether the routing control indication information is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address; and, according to the status of the home address in the routing policy Transmitting, by sending the backed first data packet to the designated routing node, and sending the first data packet to a current mobile router of the destination node by using a tunnel with a current mobile router of the destination node, to pass The current mobile router of the destination node sends the first data packet to the destination node;
  • a third processor configured to execute the instruction, and if the determination is yes, back the first data packet.
  • the indicating that the routing control is enabled is to enable routing control on a data packet of the designated home address of the MN, and does not enable routing control.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is enabled, and the indication information indicates that the routing control is started for the data packet of the corresponding home address of the MN;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the third processor is specifically used to Executing the instruction, determining whether a tunnel with the current mobile router of the destination node has been established, and establishing a tunnel with the destination node if a tunnel with the current mobile router of the destination node is not established The tunnel between the current mobile routers;
  • the third interface is specifically configured to: send the first data packet to a current mobile router of the destination node by using a tunnel with a current mobile router of the destination node.
  • the third interface is further configured to: Receiving a routing control request, where the routing control request includes the routing control policy information.
  • the third interface is specifically configured to: forward the routing control request to a home location manager of the mobile node, and move the home node of the mobile node a router, such that the home location manager of the mobile node and the home mobile router of the mobile node update locally stored information according to information included in the routing control request.
  • a mobile router including:
  • a fourth memory for storing instructions
  • a fourth interface configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and if the determination is yes, the first data packet according to the state information of the home address in the routing policy Transmitting to the designated routing node by using a tunnel with the designated routing node, so that the designated routing node sends the first processed data packet to the destination node through a tunnel between the designated routing node and the current mobile router of the destination node.
  • the current mobile router, and the first processing data packet is sent to the destination node by the current mobile router of the destination node; wherein the first processing data packet is the designated routing node
  • the fourth processor is configured to execute the instruction, and determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes whether to enable routing Control indication information, and in the case that the indication information indicates that routing control is enabled, the routing control
  • the policy information also includes status information of the home address.
  • the indicating that the routing control is enabled is to enable routing control on a data packet of the designated home address of the MN, and not opening the routing control means not opening the MN Route control for the specified home address;
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, where the indication information includes status information of the MN, and status information of the MN. Indicates that the routing control is enabled, and the status information of the home address indicates that routing control is enabled, and the indication information indicates the number of corresponding home addresses for the MN. According to the package, routing control is enabled;
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information includes: status information of the MN;
  • the indication information indicates that routing control is enabled for all data packets of the MN;
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the fourth processor is specifically used to Executing the instruction, detecting whether a tunnel with the designated routing node exists, and establishing, when it is determined that the tunnel with the designated routing node does not exist, establishing a tunnel with the designated routing node;
  • the fourth interface is specifically configured to: send the first data packet to the designated routing node by using a tunnel with the designated routing node.
  • the fourth interface is further configured to: Receiving a routing control request, where the routing control request includes the routing control policy information.
  • the fourth processor is further configured to: execute the instruction, if the routing control policy information carried in the routing control request is The indication information indicates that the routing control is enabled, and the tunnel between the designated routing node is established according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the fourth interface is further configured to:: according to the indication information in the routing control policy information carried by the routing control request, And an address of the current mobile router of the destination node, sending a path switching instruction to the current mobile router of the destination node, so that the current mobile router of the destination node establishes the current mobile router of the destination node and the designated route a tunnel between the nodes, and a tunnel between the current mobile router of the destination node and the current mobile router of the mobile node by the current mobile router of the destination node.
  • the fourth processor is further configured to: execute the instruction If the indication information in the routing control policy information carried in the routing control request indicates that the routing control is not enabled, the tunnel between the designated routing node is removed.
  • the fourth interface is further configured to: Requesting forwarding to the mobile node's home location manager, and the mobile node's home mobile router, such that the mobile node's home location manager and the mobile node's home mobile router are updated according to the information included in the routing control request Locally stored information.
  • the fourth interface is further configured to: if the routing control The indication information in the routing control policy information carried in the request indicates that the routing control is not enabled, and the home location manager of the destination node is requested to obtain the address of the current mobile router of the destination node; the current mobility to the destination node The router sends a path switching instruction to enable the current mobile router of the destination node to establish a tunnel between the current mobile router of the destination node and the current mobile router of the mobile node according to the path switching instruction.
  • a fifteenth aspect of the present invention provides a network device, including:
  • a fifth interface configured to receive a first data packet from a mobile router of the mobile node MN; the first data packet is a mobile router of the MN, determining, according to the routing control policy information, to enable routing control of the first data packet
  • the route control policy information includes whether to enable the routing control indication information, and the indication information is In the case that the routing control is enabled, the routing control policy information further includes status information of the home address;
  • a fifth processor configured to execute the instruction, to control the fifth interface to send the first processing data packet to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node;
  • the first processing data packet is obtained by processing, by the network device, the first data packet.
  • the fifth interface is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy information includes whether to enable routing Control instructions.
  • the fifth processor is further configured to: execute the instruction, if the indication information in the routing control policy information indicates that routing is enabled Controlling, establishing a tunnel with the current mobile router of the destination node, and updating the routing control policy information to the current mobile router of the destination node.
  • the fifth processor is further configured to: execute the instruction, if the indication information in the routing control policy information indicates that the information is not enabled The routing control removes the tunnel between the current mobile router and the destination node.
  • the fifth processor is further used Executing the instruction to tear down the tunnel with the source mobile router after the MN moves from the source mobile router to the target mobile router.
  • the embodiment of the present invention includes the routing control policy information, where the routing control policy information may be used to indicate whether to enable routing control, and after obtaining the data packet from the first home address forwarded by the MN, if it is determined to be enabled
  • the routing control may send the first data packet to the designated routing node first according to the state information of the home address included in the routing control policy information, and then process the designated routing node.
  • the first processing data packet is sent to the destination node, so that the first data packet may go through a designated network node in the process of sending, and the designated network node may perform some processing on the first data packet, and the solution is solved.
  • FIG. 2 is a main flowchart of a method for sending a first data packet according to an embodiment of the present invention
  • FIG. 3 is a main flowchart of a method for sending a second data packet according to an embodiment of the present invention
  • FIG. 4 is a first schematic diagram of the case where the routing control is enabled at the IP granularity according to the embodiment of the present invention
  • FIG. 5 is a schematic diagram of the first mode when the routing control is enabled at the IP granularity and the MN is moved according to the embodiment of the present invention
  • FIG. 6 is a first schematic diagram of when routing control is enabled at an IP granularity and a destination node moves according to an embodiment of the present invention
  • FIG. 7A is a first schematic diagram of the case where the routing control is not enabled when the IP granularity is used in the embodiment of the present invention
  • FIG. 7B is a first schematic diagram of the MN granularity when the routing control is enabled according to the embodiment of the present invention
  • FIG. 9 is a first schematic diagram of a method for transmitting a third data packet in an MN granularity according to an embodiment of the present invention
  • FIG. 10 is a main flowchart of a third data packet sending method according to an embodiment of the present invention
  • FIG. 12 is a second schematic diagram of the routing control when the IP granularity is started and the MN is moved according to the embodiment of the present invention
  • FIG. 13 is a second schematic diagram of the case where the routing control is not enabled when the IP granularity is used in the embodiment of the present invention
  • FIG. 14 is a second schematic diagram of the MN granularity when the routing control is enabled according to the embodiment of the present invention. In the middle MN granularity, the routing control is enabled, and the MN moves the second Schematic diagram
  • FIG. 16 is a second schematic diagram of a method for transmitting a fourth packet according to an embodiment of the present invention
  • FIG. 17 is a schematic flowchart of a fourth method for sending a data packet according to an embodiment of the present invention
  • FIG. 19 is a third schematic diagram of the routing control when the IP granularity is enabled in the embodiment of the present invention
  • FIG. 20 is a third schematic diagram of the routing control when the IP granularity is started and the MN is moved according to the embodiment of the present invention
  • FIG. 21 is a third schematic diagram showing the case where the routing control is enabled at the IP granularity and the destination node is moved according to the embodiment of the present invention.
  • FIG. 22 is a third schematic diagram of the case where the routing control is not enabled when the IP granularity is used in the embodiment of the present invention
  • FIG. 23 is a third schematic diagram of the MN granularity when the routing control is enabled in the embodiment of the present invention
  • FIG. 25 is a third schematic diagram of a mobile router that does not enable routing control when the MN granularity is used in the embodiment of the present invention
  • FIG. 26 is a structural diagram of a mobile router serving the MN according to an embodiment of the present invention
  • a structure diagram of a specified routing node
  • Figure 28 is a structural diagram of a mobile router serving the MN in the embodiment of the present invention
  • Figure 29 is a structural diagram of a mobile router serving the MN in the embodiment of the present invention
  • a structural diagram of a node
  • FIG. 31 is a schematic structural diagram of a mobile router serving a MN according to an embodiment of the present invention
  • FIG. 32 is a schematic structural diagram of a designated routing node according to an embodiment of the present invention
  • FIG. 33 is a schematic structural diagram of a mobile router serving a MN according to an embodiment of the present invention
  • FIG. 34 is a schematic structural diagram of a mobile router serving a MN according to an embodiment of the present invention
  • a data packet sending method in the embodiment of the present invention may be applied to a mobile router, where the party The method may include: obtaining a first data packet that is forwarded by the mobile node MN from the first home address, and determining, according to the routing control policy information, whether to enable routing control of the first data packet; the routing control policy information includes whether to enable The routing control indication information, and in the case that the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address; if the determination is yes, according to the home address in the routing policy information Status information, sending the first data packet to the designated routing node by using a tunnel with a specified routing node; obtaining a first processing data packet returned by the specified routing node, and acquiring the first processing data packet And sending, by the current mobile router of the destination node, the first processing data packet to the destination node by using a current mobile router of the destination node; where the first processing data packet is passed by the designated routing node The first data packet is processed and obtained.
  • the embodiment of the present invention includes the routing control policy information, where the routing control policy information may be used to indicate whether to enable routing control, and after obtaining the data packet from the first home address forwarded by the MN, if it is determined to be enabled
  • the routing control may send the first data packet to the designated routing node first according to the state information of the home address included in the routing control policy information, and then processed by the designated routing node.
  • the first processing data packet is sent to the destination node, so that the first data packet may go through a designated network node in the process of sending, and the designated network node may perform some processing on the first data packet to solve the current
  • the data cannot be sent to the designated network node in the sending process.
  • the first data packet directly reaches the designated network node, and is directly sent to the destination after being processed.
  • Node equivalent to routing optimization, no need to be as in the prior art Row routing optimization generally through a plurality of nodes, the first data packet route more optimal experience, the smaller the error probability in transit.
  • Time Division Multiple Access Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • FDMA Frequency Division Multiple Addressing
  • Orthogonal Frequency OFDMA Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association that describes the associated object, indicating that there can be three relationships, for example, A and / or B, which can mean: A exists separately, and both A and B exist, exist alone B these three situations.
  • the character "/" in this article generally means that the contextual object is an "or" relationship.
  • the XX of the MN may refer to the XX that provides the service to the MN, and the XX of the destination node also refers to the XX that provides the service for the destination node.
  • the mobile router of the MN may specifically refer to a mobile router serving the MN, for example, may be a home mobile router of the MN, or may be a current mobile router of the MN, a mobile router of the destination node, and may specifically refer to The mobile router that the node provides services, for example, may be the home mobile router of the destination node, or may be the current mobile router of the destination node, and the like.
  • MN's hometown XXX such as MN's home location manager
  • MN's current XXX such as the MN's current mobile router, etc.
  • the destination node's home XXX such as the destination node's home location manager, etc.
  • the current XXX of the destination node such as the current mobile router of the destination node.
  • the current mobile router of the MN may refer to the mobile router currently attached by the MN
  • the current location manager of the MN may refer to a location manager that provides services for the mobile router currently attached by the MN, and the destination node is also the same.
  • the destination node may also be a MN, in general, the destination section A point may also be referred to as a CN (Correspondent Node), but in the embodiment of the present invention, to avoid confusion with the concept of a core network (CN), it is referred to as a destination node.
  • CN core network
  • any MN can be understood as a source node, and a MN as a destination node is directly referred to as a destination node.
  • the home location manager is generally responsible for collecting and storing information such as the location and status of the corresponding network node.
  • the designated routing node may be a router, for example, may be a mobile router, or may be a fixed router.
  • the designated routing node may be other types of network devices, such as some dedicated network devices, such as a listening device, a charging device, and the like, which are not limited by the present invention.
  • the first aspect of the invention is a first aspect of the invention.
  • an embodiment of the present invention provides a data packet sending method, where the method can be applied to a mobile router, where the mobile router refers to a mobile router of the MN, that is, a mobile router serving the MN.
  • the main process of the method is as follows:
  • Step 201 Obtain a first data packet that is forwarded by the MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control of the first data packet.
  • the routing control policy information includes whether to enable routing control. Instructing information, and in the case that the indication information indicates that routing control is enabled, the routing control policy information further includes status information of the home address.
  • Step 202 If yes, send the first data packet to the designated routing node by using a tunnel between the designated routing node and the state information of the home address in the routing policy information.
  • Step 203 Obtain a first processing data packet returned by the specified routing node, and send the first processing data packet to a current mobile router of the destination node, to use the current mobile router of the destination node to perform the first The processing packet is sent to the destination node.
  • the status information of the home address may include, for example, address information of the designated routing node.
  • the current mobile router of the destination node refers to the current mobile router that provides the service for the destination node.
  • the “current mobile router” refers to the currently attached mobile router, specifically to the destination node. The current mobile router refers to the mobile router to which the destination node is currently attached.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the status information of the home address included in the routing control policy information may be included in the indication information.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is the route. Controlling one of the home addresses of the MN in the policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • step 202 sending the first data packet to the designated routing node by using a tunnel between the first data packet and the specified routing node, including: detecting the specified routing node Whether the tunnel exists or not; when detecting that the tunnel with the specified routing node exists, transmitting the first data packet to the designated routing node through a tunnel with the designated routing node; when detecting and determining When the tunnel of the routing node does not exist, a tunnel with the designated routing node is established, and the first data packet is sent to the designated routing node through a tunnel with the designated routing node.
  • the detection may be first performed, and if the detection determines that a tunnel exists with the designated routing node, the first data packet is sent.
  • the designated routing node is configured to ensure that the first data packet is successfully sent and the packet loss is avoided.
  • the first data packet is sent to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node, including: determining whether Establishing a tunnel with the current mobile router of the destination node; if a tunnel with the current mobile router of the destination node has been established, the tunnel is described by a tunnel with the current mobile router of the destination node Sending the first processing data packet to the destination node a current mobile router; if a tunnel with the current mobile router of the destination node is not established, establishing a tunnel with the current mobile router of the destination node, and passing the current mobile router with the destination node
  • the inter-process tunnel sends the first processed data packet to the current mobile router of the destination node.
  • the detection may be first performed, if the detection determines that a tunnel exists with the current mobile router of the destination node, The first processing data packet is sent to the designated routing node, so that the first processing data packet is successfully sent as much as possible to avoid packet loss.
  • the method before the step 201, the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is enabled, Determining the state information of the home address in the routing control policy information carried in the routing control request, establishing a tunnel with the designated routing node, so that the step can be performed according to the tunnel between the designated routing node in step 202 A data packet is sent to the designated routing node.
  • the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, A tunnel with the specified routing node, so as to prevent subsequent packets from continuing to follow the path of the specified routing node.
  • the method further includes: forwarding the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so that The home location manager of the mobile node and the home mobile router of the mobile node update locally stored information according to information included in the routing control request.
  • an embodiment of the present invention provides a data packet sending method, where the main processes of the method are as follows: Step 301: The designated routing node receives the first data packet from the mobile router of the mobile node MN; the first data packet is that the mobile router of the MN determines to open the routing control of the first data packet according to the routing control policy information. And the routing control policy information is sent by using the tunnel with the designated routing node, where the routing control policy information includes the indication information of whether the routing control is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information is further Includes status information for the home address.
  • Step 302 The designated routing node processes the first data packet to obtain a first processing data packet.
  • Step 303 The designated routing node sends the processed first processing data packet to the mobile router of the MN, so that the mobile router of the MN sends the first processed data packet to the current destination node. Mobile router.
  • the method before the step 301, that is, before the designated routing node receives the first data packet from the MN, the method further includes: the designated routing node receiving the MN The routing control policy information sent by the mobile router, where the routing control policy information includes indication information for enabling routing control, and status information of the home address.
  • the mobile router of the MN may refer to the home mobile router of the MN, or may also refer to the current mobile router of the MN.
  • the method before the step 301, that is, before the designated routing node receives the first data packet from the MN, the method further includes: the designated routing node according to the MN
  • a setup request sent by the mobile router establishes a tunnel with the mobile router of the MN. That is, the tunnel between the mobile router of the MN and the designated routing node may be established by the mobile router of the MN, or may be sent by the mobile router of the MN to the designated routing node.
  • the setup request is established by the designated routing node.
  • the method may further include: after the MN moves from the source mobile router to the target mobile router, the designated routing node tears down a tunnel with the source mobile router.
  • the MN is originally attached to the mobile router 1 and is now moved to the mobile router 2, Then, the designated routing node can tear down the tunnel with the mobile router 1 to avoid packet transmission errors.
  • C-MR represents the currently attached mobile router
  • H-MR represents the home mobile router
  • H-LM represents the home location manager
  • C-LM represents the current location manager
  • HoA represents the home address
  • MN represents the mobile node
  • 1 represents the home location manager of the MN, wherein if the MN has two home location managers, two of the figures are Representing the first home location manager of the MN and the second home location manager of the MN, respectively.
  • 2 denotes the home mobile router of the MN, wherein if the MN has two home mobile routers, two 2 in the figure represent the first home mobile router of the MN and the second home mobile router of the MN .
  • 3 denotes the current mobile router of the MN
  • 4 denotes the next attached mobile router of the MN (ie Next-MR), and in some embodiments, the next attached mobile router of the MN is also the MN's Current mobile router.
  • the pipe-like connecting line represents the tunnel.
  • the MN is attached to the current mobile router of the MN, and the current mobile router of the MN newly assigns a home address to the MN, for example, an old home address denoted as Ho A2 , MN , for example, represented as HoAl , is the home mobile router of the MN. distribution.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, for example, where the routing control request includes ⁇ MNID, MN—AnchlDl—Status—Open, HoAl , AnchorlDl,
  • the sender of the routing control request may be OAM (Operation Administration and Maintenance), or Method to listen to entities, or other network elements.
  • OAM Operaation Administration and Maintenance
  • the MNID represents the unique identifier of the MN in the DMM network.
  • MN - AnchorlDx - Status indicates the status information of the MN, where MN - AnchorlDx - Status - Open indicates route optimization for all data of the MN, and does not enable data routing control of the MN, MN - AnchorlDx - Status - Close indicates incorrect All the data of the MN is route optimized, and the data is routed to the designated network node, and the data routing control of the MN is started.
  • AnchorlDx indicates the identifier of the specified routing node, usually expressed as an IP address. When there are multiple designated routing nodes, it can be distinguished by X.
  • HoAx indicates the home address assigned by the MN's home mobile router to the MN, which is generally expressed as an IP address. When multiple home addresses are assigned to the MN, it can be distinguished by X.
  • Ho Ax - AnchorlDx - Status indicates status information of the home address, where HoAx - AnchorlDx - Status - Open indicates that routing control is enabled, the routing path passes through the designated routing node, HoAx - AnchorlDx - Status - Close indicates that routing control is not enabled The routing path does not pass through the specified routing node.
  • Table 1 all of the embodiments of the present invention are described in relation to Table 1. The embodiments of the present invention are divided into an IP granularity and an MN granularity to describe:
  • the node that is, the routing control is enabled.
  • the routing control policy information indicates that routing control is enabled.
  • the current mobile router of the MN stores its stored route optimization data structure parameters and parameters in the routing control request (MNID, MN-AnchorDl-Status-Open, HoAl, AnchorlDl, HoAl-AnchantDl-Status-Open) and the like. For comparison, the routing control request is ignored if they are consistent, and if not, the parameters in the routing control request are updated to the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication passes, the routing request message is sent to the home mobile router of the MN.
  • the current mobile router of the MN forwards the routing control request to the home mobile router of the MN, and updates each parameter value in the routing control request to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and updates each parameter value in the routing control request to the home location manager of the MN.
  • the current mobile router of the MN establishes a tunnel with the designated routing node according to the received value of the MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open in the received routing control request.
  • the routing control policy information is updated to the designated routing node at the same time.
  • the current mobile router of the MN When the current mobile router of the MN receives data from the first home address (for example, represented as HoAl), the current mobile router of the MN detects MN - AnchorlDl - Status - Open and HoAl - AnchorlDl - Status - Open The value is sent to the designated routing node through a tunnel between the current mobile router of the MN and the designated routing node according to the status information of the home address.
  • the first home address for example, represented as HoAl
  • the designated routing node After the designated routing node receives the data packet sent by the current mobile router of the MN, and returns the processing data packet to the current mobile router of the MN, where the designated routing node may Perform some specific operations on the data packet, such as lawful interception, billing, etc., to obtain the processed data packet.
  • the current mobile router of the MN receives the data packet sent by the MN from the first home address
  • the previous steps are sent to the specified routing node.
  • the current mobile router of the MN receives the processing data packet returned by the designated routing node, sending the processing data packet to the destination by using a current mobile router tunnel between the current mobile router of the MN and the destination node.
  • the current mobile router of the node finally reaches the destination node. For example, if the destination node is one of a plurality of destination nodes, the destination node is represented as the destination node 1.
  • the current mobile router of the MN receives the processing data packet returned by the designated routing node, The current mobile router of the MN establishes a tunnel with the current mobile router of the destination node 1.
  • the data packet from the first home address is routed to the designated routing node by the current mobile router of the MN, and then processed by the designated routing node, and then returned to the current mobile router of the MN, and finally passed.
  • the current mobile router of the MN sends a processing packet to the current mobile router of the destination node 1 to reach the destination node 1. Since the other data of the MN continues to be route-optimized, the data packet from the second home address (e.g., represented as HoA2) is not affected and continues to be sent directly to the current mobile router of the destination node 2 through the current mobile router of the MN.
  • HoA2 the data packet from the second home address
  • the Next-MR can become the current mobile router of the MN, and the current mobile router of the MN sends the location to the home location manager of the MN.
  • Updating (LU) message the location update message includes parameters such as (MNID, Next-MR address), and updating information such as the address of the Next-MR currently attached by the MN to the home location manager of the MN in.
  • the LUA message includes all parameters in the MN route optimization state information, that is, includes the route control policy information.
  • the current mobile router of the MN detects that it is the mobile router to which the MN is currently attached, and establishes a tunnel between the home mobile routers of the MN.
  • the network node to which the MN is currently attached i.e., the current mobile router of the MN
  • always maintains a tunnel with the home network node of the MN i.e., the home mobile router of the MN.
  • the home mobile router of the MN determines that the current attached MR of the MN in the MN route optimization status information is Next-MR, and the tunnel between the home mobile router of the MN and the Next-MR has been established, and the home of the MN The mobile router tears down the tunnel between the home mobile router of the MN and the last attached mobile router of the MN.
  • the current mobile router of the MN receives the data packet from the first home address, and establishes a relationship with the designated routing node according to the values of MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open Tunnel. At the same time, the MN routes the optimization state information parameter, and the routing control policy information is updated to the designated routing node.
  • the current mobile router of the MN receives the data packet sent by the MN from the first home address, the current mobile router of the MN passes the data packet through the current mobile router of the MN. A tunnel between the designated routing nodes is sent to the designated routing node.
  • the designated routing node After the designated routing node receives the data packet sent by the current mobile router of the MN, and returns the processing data packet to the current mobile router of the MN, the designated routing node may perform some specific on the data packet. The operation, such as lawful interception, billing, etc., obtains the processed data packet.
  • the designated routing node determines that the MN is currently attached to the current mobile router of the MN, and has left an attached mobile router on the MN, and the designated routing node removes the designated routing node from the MN. A tunnel between attached mobile routers.
  • the processing data packet is sent to the current mobile router of the destination node 1 through a tunnel between the current mobile router of the MN and the current mobile router of the destination node 1, and the current mobile router of the destination node 1 processes the The packet is sent to the destination node 1.
  • the MN If the tunnel between the current mobile router of the MN and the current mobile router of the destination node 1 does not exist, when the current mobile router of the MN receives the processing data packet returned by the designated routing node, the MN The current mobile router establishes a tunnel with the current mobile router of the destination node 1, and transmits the processing data packet to the current mobile router of the destination node 1 through a tunnel with the current mobile router of the destination node 1, by the destination node 1 The current mobile router sends the processed data packet to the destination node 1.
  • the data packet from the first home address flows through the designated routing node through the current mobile router of the MN, and is processed by the designated routing node to return to the current mobile router of the MN, and finally the processing data.
  • the packet arrives at the destination node 1 through the current mobile router of the destination node 1. Since the other data of the MN continues to enable route optimization, the data packet from the second home address (e.g., represented as HoA2) is not affected and continues to be sent directly to the current mobile router of the destination node 2 through the current mobile router of the MN.
  • HoA2 the data packet from the second home address
  • the Next-MR can become the current mobile router of the destination node 1, and the arrow in FIG. 6 indicates that the destination node 1 has moved.
  • the address of the home location manager of the MN may be obtained according to the destination address of the data packet, and then the MN is sent to the MN.
  • the home location manager requests the address of the MN currently attached to the mobile router, ie the address of the current mobile router of the MN.
  • the data packet sent by the destination node to the MN reaches the current mobile path of the MN through a tunnel between the current mobile router of the destination node 1 and the current mobile router of the MN.
  • the router then arrives at the designated routing node, and the designated routing node returns the processing data packet to the current mobile router of the MN, and the current mobile router of the MN sends the processing data packet to the MN.
  • the processing data packet is obtained by processing, by the specified routing node, the data packet.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes: ⁇ MNID, MN_AnchorIDl_Status_Open, HoAl, AnchorlDl , HoAl—AnchorlDl—Status—Close ⁇ and other parameters, the sender of the message can be OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with each parameter in the route control policy information, and ignores the route control request if the comparison is consistent, and if the comparison is inconsistent, the route control is performed.
  • the parameters in the policy information are updated into the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication is passed, the request message is sent to the home mobile router of the MN.
  • the current mobile router of the MN sends the routing control request to the home mobile router of the MN, and updates each parameter in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and also updates each parameter in the routing control policy information to the MN home location manager.
  • the current mobile router of the MN determines that the routing control is not enabled according to the routing control policy information, and the current mobile router of the MN tears down the tunnel between the designated routing node.
  • the data packet from the first home address directly reaches the destination node 1 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 1. Since the other data of the MN continues to enable route optimization, the data packet from the second home address (for example, represented as HoA2) is not affected, and continues to be directly transmitted to the current mobile router of the destination node 2 through the current mobile router of the MN. After the MN moves again, the process is consistent with the normal DMM road optimization step. When the destination node 1 moves, it is the same as the solution in the third embodiment, and is not described here.
  • the MN is attached to the current mobile router of the MN, and the current mobile router of the MN newly assigns a home address to the MN, which may be referred to as a second home address, for example, represented as HoA2, the old home address of the MN, for example, expressed as HoAl, which may be referred to as the first home address, is assigned to the home mobile router of the MN.
  • a second home address for example, represented as HoA2
  • HoAl the old home address of the MN
  • the first home address is assigned to the home mobile router of the MN.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes: ⁇ MNID, MN_AnchlDl_Status_Close, AnchorlDl ⁇ , etc.
  • the sender of the route control request may be an OAM, or a lawful interception entity, or another network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with the (MNID, MN_AnchlDl_Status_Close) parameter in the route control request, and ignores the route control request if the comparison is consistent, if If the comparison is inconsistent, each parameter in the routing control policy information is updated to the current mobile router of the MN. Finally, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is separately sent to the first home mobile router of the MN, for example, denoted as H-MR1, and sent to the MN.
  • the two home mobile routers for example, are represented as H-MR2.
  • the current mobile router of the MN forwards the routing control request to the first home mobile router of the MN and the second home mobile router of the MN, respectively, and updates each parameter value in the routing control policy information. Go to the first home mobile router of the MN and the second home mobile router of the MN.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively send the routing control request to the corresponding first home location manager of the MN, for example, as H-LM1, and sent to the MN second home location manager, for example, denoted as H-LM2, and update each parameter value in the routing control policy information to the first home location manager of the MN and The MN's second home location manager.
  • the current mobile router of the MN establishes a tunnel with the designated routing node according to the value of the MN_AnchorID1_Status_Close in the received routing control request.
  • the routing optimization state information parameter is updated to the specified routing node.
  • the current mobile router of the UI When the current mobile router of the UI receives a data packet from the first home address or the second home address, the current mobile router of the UI detects MN_AnchorID1_Status_Close if the current status of the MN A tunnel exists between the mobile router and the designated routing node, and the data packet is sent to the designated routing node. If the tunnel with the designated routing node does not exist, the current mobile router of the MN establishes a tunnel with the designated routing node, and then passes the data through a tunnel with the designated routing node. The packet is sent to the specified routing node.
  • the processing data packet is returned to the current mobile router of the MN.
  • the designated routing node may perform some specific operations on the data packet, such as lawful interception, charging, etc., to obtain the processed data packet.
  • the current mobile router of the MN When the current mobile router of the MN receives the processing data packet from the first home address returned by the designated routing node, if the tunnel between the current mobile router of the MN and the current mobile router of the destination node 1 If yes, the processing data packet is sent to the destination node 1 through a tunnel between the current mobile router of the destination node 1, and if the tunnel between the current mobile router with the destination node 1 does not exist, the current current of the MN The mobile router establishes a tunnel with the current mobile router of the destination node 1, and then transmits the processed data packet to the destination node 1.
  • the data packet is sent to the current mobile router of the destination node 2 by using a common IP routing method, and is not required. After the tunnel. This is because the current mobile router of the MN is the home address of the HoA2, and can be directly sent to the opposite end without a tunnel. At this time, the data packet from the first home address or the second home address passes through the
  • the current mobile router of the MN is routed to the designated routing node, and then processed by the designated routing node to return to the current mobile router of the MN, and finally the corresponding processing data packet is sent to the current mobile router of the MN respectively.
  • the current mobile router of the destination node 1 and the current mobile router of the destination node 2, and then the current mobile router of the destination node 1 and the current mobile router of the destination node 2 respectively send corresponding processing data packets to the destination node 1 and the destination node 2.
  • the Next-MR can now become the current mobile router of the MN.
  • the current mobile router of the MN sends a location update to the first home location manager of the MN, for example, as H-LM1, and the second home location manager of the MN, for example, as H-LM2.
  • a LU message the LU message includes parameters such as (MNID, Next-MR address), and information such as an address of the current mobile router of the MN is updated to the first home location manager of the MN and the MN The second home location manager.
  • the first home location manager of the MN and the second home location manager of the MN receive an LU message, and update the address of the current mobile router of the MN in the LU message to the first of the MN respectively.
  • the home location manager and the second home location manager of the MN respectively return location confirmation (LUA) information to the current mobile router of the MN, where the LUA message includes all parameters in the MN route optimization status information, that is, The routing control policy information is included.
  • LUA location confirmation
  • the current mobile router of the MN detects that it is the mobile router currently attached to the MN, and establishes a first home mobile router with the MN, for example, represented as H-MR1, and moves with the second home of the MN.
  • a router for example, is represented as a tunnel between H-MR2.
  • the network node to which the MN is currently attached ie, the current mobile router of the MN
  • the network node to which the MN is currently attached ie, the current mobile router of the MN
  • the router is the home mobile router of HoAl (first home address)
  • the second home mobile router of the MN is the home mobile router of HoA2 (second home address).
  • the mobile router that the MN currently attaches in the MN route optimization status information is the current mobile router of the MN, and the first home mobile router of the MN and the second home mobile router of the MN and the current A tunnel between the mobile routers has been established, and the first home mobile router of the MN and the second home mobile router of the MN respectively remove the first home mobile router of the MN and the second hometown of the MN A tunnel between the mobile router and the current mobile router of the MN.
  • the current mobile router of the MN When the current mobile router of the MN receives the data packet sent by the MN from the first home address or the second home address, the current mobile router of the MN according to the value of the MN_AnchorID1_Status_Close First, detecting whether a tunnel between the current mobile router of the MN and the designated routing node exists, and if a tunnel exists with the designated routing node, sending the data packet to the designated routing node, if The tunnel between the MN does not exist, the current mobile router of the MN establishes a tunnel with the designated routing node, and then sends the data packet to the designated routing node through a tunnel with the designated routing node.
  • the designated routing node After receiving the data packet from the first home address or the second home address, the designated routing node returns the processing data packet to the MN through the designated routing node and the current mobile router tunnel of the MN. During the current mobile router, the designated routing node may perform some processing on the data packet, such as legal monitoring, charging, and the like, to obtain the processed data packet.
  • the designated routing node detects that the MN is currently attached to the current mobile router of the MN, and the tunnel between the designated routing node and the current mobile router of the MN is established, and the designated route is removed. The tunnel between the node and the current mobile router of the MN is removed.
  • the current mobile router of the MN When the current mobile router of the MN receives the processing data packet from the first home address or the second home address returned from the designated routing node, if the current mobile router and the destination node 1 of the MN The existing tunnel between the mobile routers directly sends the processing data packet from the first home address to the current mobile router of the destination node 1 through the tunnel between the current mobile router of the destination node 1, and the destination node 1 The current mobile router is sent to the destination node 1. If the tunnel between the current mobile router of the MN and the current mobile router of the destination node 1 does not exist, the current mobile router of the MN establishes a current mobile path with the destination node 1.
  • the tunnel between the routers then transmits the processing packet from the first home address to the destination node 1 through a tunnel with the current mobile router of the destination node 1.
  • the processing manner of the processing data packet from the address of the two hometowns is the same as that of the processing data packet from the first home address, and will not be described again.
  • the current mobile router of the MN flows through the designated routing node, and the processed data packet processed by the designated routing node is returned to the current mobile router of the MN, and finally reaches the destination node through the current mobile router of the destination node 1 respectively. And destination node 2.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN- Parameters such as AnchorIDl_Status-Open ⁇ , the sender of the route control request may be an OAM, or a lawful interception entity, or other network element.
  • the routing control request includes the routing control policy information
  • the routing control policy information includes ⁇ MNID, MN- Parameters such as AnchorIDl_Status-Open ⁇
  • the sender of the route control request may be an OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with the (MNID, MN_AnchorIDl_Status_Open) parameter in the route control policy information, and ignores the route control request if the comparison is consistent. If the comparisons are inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the first home mobile router of the MN, for example, denoted as H-MR1, and sent to the MN.
  • the second home mobile router for example, is represented as H-MR2.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively send the routing control request to the corresponding first home location manager of the MN, for example, denoted as H-LM1, and send The second home location manager to the corresponding MN is represented, for example, as H-LM2.
  • the routing control is received by the current mobile router of the MN.
  • the request is taken as an example.
  • the receiving the routing control request may also be another network node, for example, may be the current location manager of the MN, and the current location manager of the MN receives the routing control request.
  • the routing control request may be sent to the current mobile router of the MN, and the subsequent flow is the same as the above embodiments.
  • receiving the routing control request may be the MN's home mobile router.
  • the MN's home mobile router is equivalent to the MN's current mobile router.
  • the other steps are the same except for the tunnel between the MN's home mobile router.
  • receiving the routing control request may be a home location manager of the MN, and after receiving the routing control request, the home location manager of the MN sends the routing control request to the home mobility of the MN.
  • the router, the subsequent steps are the same as the steps of receiving the routing control request when it is the home mobile router of the MN.
  • an embodiment of the present invention provides a data packet sending method, where the method can be applied to a mobile router.
  • the mobile router herein refers to the mobile router of the MN.
  • the main process of the method is as follows:
  • Step 1001 Obtain a first data packet that is forwarded by the MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control on the first data packet.
  • the routing control policy information includes whether to enable routing control. Instructing information, and in the case that the indication information indicates that routing control is enabled, the routing control policy information further includes status information of the home address.
  • Step 1002 If the determination is yes, the first data packet is backed up.
  • Step 1003 Send, according to status information of the home address in the routing policy, the backed up first data packet to the designated routing node, and pass the first data through a tunnel with a current mobile router of the destination node.
  • the packet is sent to the current mobile router of the destination node to send the first data packet to the destination node through the current mobile router of the destination node.
  • the IP granularity and the MN granularity are described.
  • the indicating that the routing control is turned on is the number of the designated home address of the MN.
  • not opening the routing control means not opening the routing control of the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to disable routing control for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the status information of the home address is included in the indication information.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the home address of the MN is one or more.
  • the MN granularity is described, and the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN. If the status information of the MN indicates that routing control is not enabled, the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the first data packet is sent to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node, which may be: Establishing a tunnel with the current mobile router of the destination node; if a tunnel with the current mobile router of the destination node has been established, passing through a tunnel with the current mobile router of the destination node Transmitting a first data packet to a current mobile router of the destination node; if a tunnel with the current mobile router of the destination node is not established, establishing a tunnel with a current mobile router of the destination node, and Transmitting the first data packet to a current mobile router of the destination node through a tunnel with a current mobile router of the destination node.
  • a tunnel with the current mobile router of the destination node which may be: Establishing a tunnel with the current mobile router of the destination node; if a tunnel with the current mobile router of the destination node has been established, passing through a tunnel with the current mobile router of the destination node Transmitting a first data packet
  • the first data packet it may first determine whether a tunnel with the current mobile router of the destination node has been established, and determine that the tunnel is established and then sent, so as to avoid packet loss and ensure data.
  • the success rate of packet transmission it may first determine whether a tunnel with the current mobile router of the destination node has been established, and determine that the tunnel is established and then sent, so as to avoid packet loss and ensure data.
  • the method before the step 1001, the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method further includes: forwarding the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so as to The home location manager of the mobile node and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request. Specifically, this step may occur before step 1001.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes a ⁇ MNID, MN — AnchorlDl — Status — Open HoAl AnchorlDl ,
  • the parameters of the Ho A 1 - AnchorlD 1 - Status - Open ⁇ , the sender of the routing control request may be an OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN performs locally stored route optimization data structure parameters and parameters such as (MNID MN - AnchorlDl - Status - Open HoAl AnchorlDl, HoAl - AnchorlDl - Status - Open) in the routing control policy information. If the comparison is inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the home mobile routing of the MN.
  • route optimization data structure parameters and parameters such as (MNID MN - AnchorlDl - Status - Open HoAl AnchorlDl, HoAl - AnchorlDl - Status - Open) in the routing control policy information. If the comparison is inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the home mobile
  • the current mobile router of the MN forwards the routing control request to the home mobile router of the MN, and updates each parameter value in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and updates each parameter value in the routing control policy information to the home location manager of the MN.
  • the current mobile router of the MN receives the data packet from the first home address, according to the MNID MN in the routing control policy information - AnchorlD 1 - Status - Open Ho A 1 AnchorlDl, HoAl - AnchorlDl - Status - Open, etc.
  • the data packet is backed up, and the backed up data packet is sent to the specified routing node, where the first home address is represented as HoAl, and the current mobile router of the MN passes the original data packet.
  • the tunnel with the current mobile router of the destination node 1 is directly sent to the current mobile router of the destination node 1.
  • two destination nodes are used as the destination node 1 and the destination node 2, wherein the destination node 1 corresponds to HoAl, the destination node 2 corresponds to HoA2, and HoA2 represents the second home address.
  • the current mobile router of the MN When the current mobile router of the MN receives the data packet from the second home address, since the routing control is only enabled for the first home address, the current mobile router of the MN passes the data packet through the ordinary IP. The route is sent directly to the current mobile router of destination node 2. At this time, the current mobile router of the MN only sends a backup of the data packet of the first home address to the designated routing node, and the data packet from the second home address is not affected.
  • this embodiment is a case where the MN moves.
  • the Next-MR can now become the current mobile router of the MN.
  • the current mobile router of the MN sends a location update (LU) message to the MN's home location manager, where the LU message includes parameters such as (MNID, Next-MR address), and the Next-MR to which the MN is currently attached.
  • the address that is, information such as the address of the current mobile router of the MN is updated to the home location manager of the MN.
  • the mobile router Receiving, by the home location manager of the MN, the LU message, updating an address of a current mobile router of the MN in the LU message to a home location manager of the MN, and to a current location of the MN
  • the mobile router returns location confirmation (LUA) information, including all parameters in the MN route optimization status information, that is, includes the route control policy information.
  • LOA location confirmation
  • the current mobile router of the MN detects that it is the mobile router currently attached to the MN, and establishes a tunnel with the home mobile router of the MN.
  • the network node to which the MN is currently attached i.e., the current mobile router of the MN
  • always maintains a tunnel with the home network node of the MN i.e., the home mobile router of the MN.
  • the home mobile router of the MN determines that the currently attached mobile router in the MN route optimization state information is the current mobile router of the MN, and the tunnel between the home mobile router of the MN and the current mobile router of the MN It has been established that the MN's home mobile router tears down the tunnel between the MN's home mobile router and the MN's last attached mobile router.
  • the current mobile router of the MN receives a data packet from the first home address, for example, the first home address is represented as HoAl.
  • the current mobile router of the MN backs up the data packet according to parameters such as MNID, MN_AnchorID1_Status_Open, HoAl, AnchorlDl, HoAl-AnchorlDl_Status-Open in the routing control policy information, and the backup packet is backed up.
  • the data packet is sent to the designated routing node.
  • the current mobile router of the MN sends the original data packet to the current mobile router of the destination node 1.
  • the current mobile router of the MN may detect, if the tunnel between the current mobile router of the MN and the current mobile router of the destination node 1 exists, the current mobile router of the MN directly passes the original data packet. A tunnel with the current mobile router of the destination node 1 is sent to the current mobile router of the destination node 1, and the current mobile router of the destination node 1 transmits the data packet to the destination node 1.
  • the current mobile router of the MN first establishes a tunnel with the current mobile router of the destination node 1, And transmitting the data packet to the current mobile router of the destination node 1 through the tunnel between the current mobile router and the destination node 1, and sending the data packet to the current mobile router of the destination node 1 Describe the destination node 1.
  • the current mobile router of the MN When the current mobile router of the MN receives the data packet from the second home address, according to the DMM route optimization, the data packet is sent to the destination node 2 through a tunnel between the current mobile router and the destination node 2. The current mobile router transmits the data packet to the destination node 2 by the current mobile router of the destination node 2.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes: ⁇ MNID, MN_AnchorID 1 _Status_Open Parameters such as HoAl, AnchorlDl, HoAl_AnchorIDl_Status_Close ⁇ , and the sender of the message can be OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with each parameter in the route control policy information, and ignores the route control request if the comparison is consistent, and if the comparison is inconsistent, the route control is performed.
  • the parameters in the policy information are updated into the current mobile router of the MN.
  • the current mobile router of the MN performs authentication, and if the authentication is passed, the request message is sent to the home mobile router of the MN.
  • the current mobile router of the MN sends the routing control request to the home mobile router of the MN, and updates each parameter in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and also updates each parameter in the routing control policy information to the MN home location manager.
  • the current mobile router of the MN determines not to enable routing control according to the routing control policy information.
  • the data packet from the first home address directly reaches the destination node 1 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 1, and the current mobile router of the MN does not
  • the data packet is then copied and will not be sent to the designated routing node. Since the other data of the MN continues to enable route optimization, the data packet from the second home address (e.g., represented as HoA2) is not affected and continues to be sent directly to the current mobile router of the destination node 2 through the current mobile router of the MN.
  • HoA2 the data packet from the second home address
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes parameters such as ⁇ MNID, MN_AnchorIDl_Status_Close, AnchorlDl ⁇ , and the message sender can It is an OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with parameters (MNID, MN_AnchorID 1 - Status_Close, AnchorlD 1 ) in the route control policy information, and ignores if the comparison is consistent.
  • the routing control request if the comparison is inconsistent, update each parameter in the routing control policy information to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, if the authentication is passed, The routing control request is sent to the home mobile router of the MN.
  • the current mobile router of the MN forwards the routing control request to the first home mobile router of the MN, for example, denoted as H-MR1, and forwarded to the second home mobile router of the MN, for example, denoted as H- MR2, and update each parameter value in the routing control policy information to the first home mobile router of the MN and the second home mobile router of the MN.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively send the request message to the first home location manager of the MN, for example, denoted as MN H-LM 1 , and sent to the location
  • the second home location manager of the MN for example, denoted as H-LM2, and update each parameter value in the routing control policy information to the first home location manager of the MN and the second home of the MN, respectively.
  • Hometown location manager for example, denoted as MN H-LM 1 , and updated each parameter value in the routing control policy information to the first home location manager of the MN and the second home of the MN, respectively.
  • the current mobile router of the MN receives the data packet from the first home address or the second home address, according to parameters such as MNID, MN_AnchlD1_Status_Close, AnchorlD1 in the routing control policy information, Backing up the data packet from the first home address, sending the backed up data packet to the designated routing node, and passing the original data packet through the current movement with the first destination node (eg, represented as destination node 1) A tunnel between the routers is sent to the current mobile router of the destination node 1. The same processing is also performed for packets from the second home address.
  • the first home address is represented by HoAl, for example, and the second home address is represented by HoAl.
  • the Next-MR can now be referred to as the current mobile router of the MN.
  • the current mobile router of the MN is respectively directed to the first home location manager of the MN, for example, as MN H-LM1, and to the second home location manager of the MN, for example, as H-LM2, sending location Updating (LU) message, the LU message includes parameters such as (MNID, address of the current mobile router of the MN), and the address of the Next-MR currently attached by the MN, that is, the current mobile router of the MN Information such as an address is updated to the first home location manager of the MN and the second home location manager of the MN.
  • the first home location manager of the MN and the second home location manager of the MN receive the LU message, update the information of the current mobile router of the MN in the LU message separately.
  • location confirmation (LUA) information to the MN's current mobile router, the LUA information including the routing control All parameters in the policy information.
  • the current mobile router of the MN detects that it is the mobile router currently attached to the MN, and establishes a first home mobile router with the MN, for example, represented as H-MR1, and moves with the second home of the MN.
  • a router for example, is represented as a tunnel between H-MR2.
  • the network node to which the MN is currently attached i.e., the current mobile router of the MN
  • always maintains a tunnel with the home network node of the MN i.e., the home mobile router of the MN).
  • the first home mobile router of the MN and the second home mobile router of the MN determine that the mobile router to which the MN is currently attached is the current mobile router of the MN, and the first home mobile router of the MN and the a current mobile router of the MN, and a tunnel between the second home mobile router of the MN and the current mobile router of the MN have been established, the first home mobile router of the MN and the second home mobile of the MN The router respectively removes a tunnel between the first home mobile router of the MN and an attached mobile router of the MN, and between the second home mobile router of the MN and an attached mobile router of the MN tunnel.
  • the current mobile router of the MN receives the data packet from the first home address or the second home address, according to parameters such as MNID, MN_AnchlD1_Status_Close, AnchorlD1, etc. in the routing control policy information
  • the data packet from the first home address is backed up, the backed up data packet is sent to the designated routing node, and the original data packet is passed to the current mobile router with the first destination node (eg, represented as destination node 1)
  • the tunnel between the two is sent to the current mobile router of the destination node 1.
  • the same processing is also performed for packets from the second home address.
  • the first home address is represented by HoAl, for example, and the second home address is represented by HoAl.
  • the current mobile router of the MN may first detect before sending a data packet to the current mobile router of the destination node 1. If the detection determines that a tunnel exists between the current mobile router of the MN and the current mobile router of the destination node 1, the current mobile router of the MN directly passes the data packet between the current mobile router and the destination node 1 The tunnel is sent to the current mobile router of the destination node 1, and the data packet is sent by the current mobile router of the destination node 1 to the destination node 1.
  • the current mobile router of the MN establishes a tunnel with the current mobile router of the destination node 1, And then transmitting the data packet to the current mobile router of the destination node 1 through a tunnel between the current mobile router of the destination node 1, and transmitting the data packet to the destination node 1 by the current mobile router of the destination node 1 .
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN_AnchorID l_Status_Open ⁇
  • the sender of the message can be OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with each parameter in the route control policy information, and ignores the route control request if the comparison is consistent, and if the comparison is inconsistent, the route control is performed.
  • the parameters in the policy information are updated into the current mobile router of the MN. Thereafter, the current mobile router of the MN performs authentication, and if the authentication is passed, the request message is sent to the home mobile router of the MN.
  • the current mobile router of the MN sends the routing control request to the home mobile router of the MN, and updates each parameter in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and also updates each parameter in the routing control policy information to the MN home location manager.
  • the current mobile router of the MN determines that the routing control is not enabled according to the routing control policy information. Thereafter, the data packet passing through the MN directly reaches the destination node through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node, and the current mobile router of the MN no longer transmits the data packet. The copy is not sent to the specified routing node.
  • the routing control request is received by the current mobile router of the MN as an example. It should be noted that the receiving the routing control request may also be another network node, for example, the foregoing may be The current location manager of the MN, after receiving the routing control request, the current location manager of the MN may send the routing control request to the current mobile router of the MN, and the subsequent flow is the same as the above embodiments. .
  • receiving the routing control request may be the MN's home mobile router.
  • the MN's home mobile router is equivalent to the MN's current mobile router.
  • the other steps are the same except for the tunnel between the MN's home mobile router.
  • receiving the routing control request may be a home location manager of the MN, and after receiving the routing control request, the home location manager of the MN sends the routing control request to the home mobility of the MN.
  • the router, the subsequent steps are the same as the steps of receiving the routing control request when it is the home mobile router of the MN.
  • an embodiment of the present invention provides a data packet sending method, where the method can be applied to a mobile router.
  • the mobile router herein is a mobile router of the MN.
  • the main process of the method is as follows:
  • Step 1701 Obtain a first data packet that is forwarded by the MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes whether to enable routing control. Instructing information, and in the case that the indication information indicates that routing control is enabled, the routing control policy information further includes status information of the home address.
  • Step 1702 If the determination is yes, send the first data packet to the designated routing node through a tunnel between the designated routing node according to the state information of the home address in the routing policy, so that The specified routing node passes a tunnel between the current mobile router and the destination node Transmitting the first processing data packet to the current mobile router of the destination node, and transmitting the first processing data packet to the destination node by using a current mobile router of the destination node; where the first processing data is The packet is obtained by processing the first data packet by the designated routing node.
  • the indication that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to indicate that routing control is not enabled for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is the route. Controlling one of the home addresses of the MN in the policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • sending the first data packet to the designated routing node by using a tunnel with the specified routing node may include: detecting and routing the designated routing node. Whether the tunnel exists or not; when detecting that the tunnel with the specified routing node exists, transmitting the first data packet to the designated routing node through a tunnel with the designated routing node; when detecting and determining When the tunnel of the routing node does not exist, a tunnel with the designated routing node is established, and the first data packet is sent to the designated routing node through a tunnel with the designated routing node.
  • the sending a data packet it may first detect whether a tunnel exists with the designated routing node, determine that the tunnel exists, and then send a data packet, so as to avoid packet loss as much as possible.
  • the method before obtaining the first data packet from the first home address forwarded by the MN, the method further includes: receiving a routing control request, where the routing control request includes the routing control policy information.
  • the method before the step 1701, after receiving the routing control request, the method further includes: if the indication information in the routing control policy information carried in the routing control request is Routing control, establishing, according to the state information of the home address in the routing control policy information carried in the routing control request, between the designated routing node Tunnel.
  • the method may include: sending, according to the indication information in the routing control policy information carried in the routing control request, and the address of the current mobile router of the destination node, a path switching instruction to the current mobile router of the destination node, so that the The current mobile router of the destination node establishes a tunnel between the current mobile router of the destination node and the designated routing node, and causes the current mobile router of the destination node to tear down the current mobile router of the destination node and the mobile node.
  • the tunnel between the current mobile routers may include: sending, according to the indication information in the routing control policy information carried in the routing control request, and the address of the current mobile router of the destination node, a path switching instruction to the current mobile router of the destination node, so that the The current mobile router of the destination node establishes a tunnel between the current mobile router of the destination node and the designated routing node, and causes the current mobile router of the destination node to tear down the current mobile router of the destination node and the mobile node.
  • the specified routing node can ensure that the specified routing node can Handle accordingly.
  • the method further includes: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, The tunnel between the designated routing nodes. It is ensured that the data packet directly reaches the current mobile router of the destination node through the normalized routing, and does not pass through the designated routing node.
  • the method further includes: forwarding the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so that The home location manager of the mobile node and the home mobile router of the mobile node update locally stored information according to information included in the routing control request.
  • the method may further include: if the routing control request is carried The indication information in the routing control policy information indicates that routing control is not enabled, requesting the home location manager of the destination node to obtain an address of the current mobile router of the destination node; and sending a path to the current mobile router of the destination node Switching instructions, so that the current mobile router of the destination node establishes a current mobile path of the destination node according to the path switching instruction.
  • an embodiment of the present invention provides a data packet sending method, where the main processes of the method are as follows:
  • Step 1801 The designated routing node receives the first data packet from the mobile router of the MN; the first data packet is that the mobile router of the MN determines to open the routing control of the first data packet according to the routing control policy information. And the route control policy information is sent to the tunnel of the designated routing node, where the routing control policy information includes the indication information of whether to enable the routing control, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes the hometown Status information of the address.
  • Step 1802 The designated routing node sends the first processing data packet to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node.
  • the first processing data packet is the designated The routing node is obtained by processing the first data packet.
  • the method before the designated routing node receives the first data packet from the MN, the method further includes: the specified routing node receiving the The route control policy information includes the indication information of whether to enable the route control.
  • the method may further include: if the indication information in the routing control policy information When the routing control is enabled, a tunnel is established between the designated routing node and the current mobile router of the destination node, and the routing control policy information is updated to the current mobile router of the destination node.
  • the method further includes: if the indication information in the routing control policy information indicates If routing control is not enabled, the designated routing node tears down the tunnel with the current mobile router of the destination node.
  • the MN moves from the source mobile router to the target mobile After the router, the designated routing node tears down the tunnel with the source mobile router.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN-AnchorIDl Status-Open, HoAl, AnchorlDl , HoAl-AnchorlDl_Status-Open ⁇ and other parameters, the sender of the routing control request may be
  • the current mobile router of the port performs the locally stored route optimization data structure parameters and the parameters of the route control request (MNID, MN_AnchelDl_Status_Open, HoAl, AnchorlDl, HoAl-AnchantDl-Status-Open). If the statistics are inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication. If the authentication is passed, the routing control request is sent to the MN's home mobile router.
  • MNID route optimization data structure parameters and the parameters of the route control request
  • the current mobile router of the MN forwards the routing control request to the home mobile router of the MN, and updates each parameter value in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and updates each parameter value in the routing control policy information to the home location manager of the MN.
  • the current mobile router of the MN establishes a tunnel with the designated routing node according to the received value of the MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open in the received routing control policy information. And updating each parameter in the routing control policy information to the designated routing node.
  • the designated routing node is configured according to the updated routing control policy information.
  • MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open value establish a tunnel with the current mobile router of the destination node 1, and update each parameter in the routing control policy information to the The current mobile router of destination node 1.
  • the current mobile router of the destination node 1 is removed from the current mobile router of the MN according to the updated routing control policy information, MN_AnchelDl_Status_Open and HoAl_AnchelDl_Status_Open values. tunnel.
  • the data packet from the first home address is routed to the designated routing node, and the data packet is processed by the designated routing node to obtain a processing data packet, and the designated routing node sends the processing data packet.
  • the current mobile router to the destination node 1 transmits the processing data packet to the destination node 1 by the current mobile router of the destination node 1.
  • the data packet from the second home address is not affected, and is continuously sent to the current mobile router of the destination node 2 through the current mobile router of the MN, and the current mobile router of the destination node 2 sends the data packet to the current mobile router. Describe the destination node 2.
  • the Next-MR may now be referred to as the current mobile router of the MN.
  • the current mobile router of the MN sends a location update (LU) message to the home location manager of the MN, where the LU message includes parameters such as (MNID, address of the current mobile router of the MN), and the like, Information such as the address of the current mobile router is updated to the home location manager of the MN.
  • LU location update
  • the home location manager of the MN receives the LU message, and returns location confirmation (LUA) information to the current mobile router of the MN, where the LUA information includes the routing control policy information.
  • LUA location confirmation
  • the current mobile router of the MN determines that the mobile router currently attached by the MN is the current mobile router of the MN, and establishes a tunnel with the home mobile router of the MN.
  • the home mobile router of the MN determines that the mobile router to which the MN is currently attached is the The current mobile router of the MN tears down the tunnel between the home mobile router of the MN and an attached mobile router on the MN.
  • the current mobile router of the MN establishes the current mobile router of the MN and the designation according to the updated MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open values in the updated routing control policy information. Routing the inter-node tunnel, and updating each parameter in the routing control policy information to the designated routing node.
  • the data packet from the first home address flows through the designated routing node, and the designated routing node processes the data packet to obtain a processing data packet, and the designated router passes between the current mobile router and the destination node 1
  • the tunnel sends the processing data packet to the current mobile router of the destination node 1, and the current mobile router of the destination node 1 sends the processing data packet to the destination node 1.
  • the data packet from the second home address is not affected, and still reaches the current mobile router of the destination node 2 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 2, by the purpose
  • the current mobile router of node 2 is sent to the destination node 2.
  • the Next-MR may now be referred to as the current mobile router of the destination node 1.
  • the current mobile router of the destination node 1 obtains the address of the home location manager of the MN through the uplink header information of the destination node 1 (the destination address is the first home address), and the current mobile router of the destination node 1 Requesting, by the home location manager of the MN, routing control policy information of the first home address, where the routing control policy information includes a ⁇ MNID,
  • AnchorlDl Status— Open, HoAl, AnchorlDl,
  • the current mobile router of the destination node 1 establishes a tunnel between the designated routing node and the current mobile router of the destination node 1 according to the learned state information of the home address.
  • the designated routing node tears down the tunnel between the designated routing node and the last attached mobile router of the destination node 1.
  • the data packet from the first home address still flows through the designated routing node, and after passing through the designated routing node, the tunnel between the designated routing node and the current mobile router of the destination node 1 The current mobile router that reaches the destination node 1.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID MN — AnchorlDl — Status — Open HoAl AnchorlDl ,
  • the sender of the route control request may be an OAM, or a lawful interception entity, or another network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with the routing control policy information (MNID MN - AnchorlDl - Status - Open HoAl AnchorlDl, HoAl - AnchorlDl - Status - Close) parameters, if compared If the comparison is inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, if the authentication is performed. Passing the routing control request to the MN's home mobile routing cry
  • the current mobile router of the MN sends the routing control request to the home mobile router of the MN, and updates each parameter in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and also updates each parameter in the routing control policy information to the home location manager of the MN. Determining, by the current mobile router of the MN, that the routing control policy information indicates that the routing control is not enabled, according to the MN_AnchelD1_Status_Open, HoAl-AnchorlDl_Status_Close value in the routing control policy information, And specifying a tunnel between the routing nodes, and updating the routing control policy information to the designated routing node.
  • the designated routing node is configured according to the updated routing control policy information.
  • the current mobile router of the MN receives the first data packet from the first home address, according to the data packet.
  • the destination address ie, the home address of the destination node 1
  • the address of the home location manager of the destination node 1 is obtained
  • the address of the current mobile router of the destination node 1 is obtained by requesting the home location manager of the destination node 1, and thereafter,
  • the current mobile router of the MN establishes an optimized tunnel with the current mobile router of the destination node 1.
  • data from the first home address arrives at the destination node 1 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 1, and data from the second home address is not affected. .
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN—AnchlD 1 Status—Open, HoAl, AnchorlD 1 , HoAl—AnchorlDl—Status—Open ⁇ , etc., the sender of the routing control request may be
  • the current mobile router of the port will locally store the route optimization data structure parameter and the route control request (MNID, MN - AnchorlD 1 - Status - Open, HoAl, AnchorlD 1 , HoAl - AnchorlD 1 - Status - Open)
  • the parameters are compared. If they are consistent, the routing control request is ignored. If they are inconsistent, the parameters in the routing control policy information are further changed. New to the current mobile router of the MN, after that, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the home mobile router of the MN.
  • the current mobile router of the MN forwards the routing control request to the home mobile router of the MN, and updates each parameter value in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and updates each parameter value in the routing control policy information to the home location manager of the MN.
  • the current mobile router of the MN establishes a tunnel with the designated routing node according to the received value of the MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open in the received routing control policy information. And updating each parameter in the routing control policy information to the designated routing node.
  • the designated routing node is configured according to the updated routing control policy information.
  • the current mobile router of the destination node 1 is removed from the current mobile router of the MN according to the updated routing control policy information, MN_AnchlDl_Status_Open and HoA1-AnchlDl_Status_Open values.
  • MN_AnchlDl_Status_Open and HoA1-AnchlDl_Status_Open values.
  • the data packet from the first home address is routed to the designated routing node, and the data packet is processed by the designated routing node to obtain a processing data packet, and the designated routing node sends the processing data packet to
  • the current mobile router of the destination node 1 sends the processing data packet to the destination node 1 by the current mobile router of the destination node 1.
  • the data packet is not affected, and is continuously sent to the current mobile router of the destination node 2 through the current mobile router of the MN, and the current mobile router of the destination node 2 sends the data packet to the destination node 2
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID MN — AnchorlDl — Status — Open HoAl AnchorlDl ,
  • the sender of the route control request may be an OAM, or a lawful interception entity, or another network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with the routing control policy information (MNID MN - AnchorlDl - Status - Open HoAl AnchorlDl, HoAl - AnchorlDl - Status - Close) parameters, if compared If the comparison is inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, if the authentication is performed. Passing the routing control request to the MN's home mobile routing cry
  • the current mobile router of the MN sends the routing control request to the home mobile router of the MN, and updates each parameter in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and also updates each parameter in the routing control policy information to the home location manager of the MN.
  • the current mobile router of the MN receives the first data packet from the first home address, and according to the value of MN_AnchelDl_Status_Open and HoAl-AnchantDl_Status_Close in the routing control policy information, to the destination node 1 home location manager request The address of the current mobile router of destination node 1.
  • the routing control policy information indicates that the routing control is not enabled, according to the MN_AnchelD1_Status_Open, HoAl-AnchorlDl_Status_Close value in the routing control policy information, And specifying a tunnel between the routing nodes, and updating the routing control policy information to the designated routing node.
  • the current mobile router of the MN receives the first data packet from the first home address, according to the values of MN_AnglingD1_Status_Open and HoAl-AnchorlDl_Status_Close in the routing control policy information, Requesting, by the home location manager of the destination node 1, an address of the current mobile router of the destination node 1, and determining, by the current mobile router of the MN, that the routing control policy information indicates that routing control is not enabled, according to the routing control policy MN - AnchorlD 1 - Status - Open, Ho A 1 - AnchorlD 1 - Status - Close value in the information, tearing down the tunnel with the designated routing node, and updating the routing control policy information to the specified route
  • the order between nodes can be arbitrary.
  • the current mobile router of the MN sends a path switching instruction to the current mobile router of the destination node 1, and the path switching instruction includes (MNID, HoAl, destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status- Setup, AnchorlD 1 , Tunnel_ Status— Release ).
  • the destination node 1 C-MR ID represents the identity of the current mobile router of the destination node 1
  • the MN C-MR ID represents the identity of the current mobile router of the MN
  • the Tunnel_Status represents the tunnel state information.
  • the current mobile router of the destination node 1 is based on (destination node 1 C-MR ID, MN C-MR
  • Parameters such as ID, Tunnel_Status_Setup, establish a tunnel between the current mobile router of destination node 1 and the current mobile router of the MN.
  • the current mobile router of the destination node 1 determines that the routing control is not enabled, and removes the current mobile router of the destination node 1 and the designated routing node according to parameters such as (AnchorD1, destination node 1 C-MR ID, Tunnel_Status_ Release). Between the tunnels.
  • the data packet from the first home address is directly sent to the destination node 1 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 1.
  • the current mobile router is sent by the current mobile router of the destination node 1 to the destination node 1, and the data packet from the second home address is not affected.
  • the home address is mentioned only, and the home address of the home is not further explained, it refers to the home address of the MN.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN—AnchlDl Status—Open, HoAl, AnchorlDl , HoAl - AnchorlDl - Status - Open ⁇ and other parameters, the sender of the routing control request may be
  • the current mobile router of the port performs the locally stored route optimization data structure parameters and the parameters of the route control request (MNID, MN - AnchorlDl - Status - Open, HoAl, AnchorlDl, HoAl - AnchorlDl - Status - Open) If the statistics are inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication. If the authentication is passed, the routing control request is sent to the MN's home mobile router.
  • MNID MN - AnchorlDl - Status - Open
  • the current mobile router of the MN forwards the routing control request to the home mobile router of the MN, and updates each parameter value in the routing control policy information to the home mobile router of the MN.
  • the home mobile router of the MN sends the routing control request to the home location manager of the MN, and updates each parameter value in the routing control policy information to the home location manager of the MN.
  • the current mobile router of the MN establishes between the current mobile router of the MN and the designated routing node according to the MN_AnchorID 1 - Status - Open and Ho A 1 - AnchorlD 1 - Status - Open values in the routing control policy information. Tunnel.
  • the current mobile router of the MN according to the routing control policy information MN - AnchorlDl - Status - Open and HoAl - AnchorlDl - Status - Open value, and the address of the current mobile router of the destination node 1, send a path switch instruction to the current mobile router of the destination node 1, the path switch instruction includes ( MNID, HoAl, AnchorlDl, destination node 1 C-MR ID, Tunnel_Status_Setup, destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_ Release) and other parameters.
  • the current mobile router of the destination node 1 establishes a tunnel between the current mobile router of the destination node 1 and the designated routing node according to parameters such as (AnchorD1, destination node 1 C-MR ID, Tunnel_Status_Setup).
  • the current mobile router of the destination node 1 removes the current mobile router of the destination node 1 and the current mobile router of the MN according to parameters such as (destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_ Release). Between the tunnels.
  • the MN may have multiple home addresses, and generally two home addresses are used for explanation.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes parameters such as ⁇ MNID, MN_AnchorIDl_Status_Close, AnchorlDl ⁇ , and the routing
  • the sender of the control request can be an OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with parameters (MNID, MN_AnchorID 1 - Status_Close, AnchorlD 1 ) in the route control policy information, and ignores if the comparison is consistent.
  • the routing control request if the comparison is inconsistent, update each parameter in the routing control policy information to the current mobile router of the MN, Afterwards, the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is separately sent to the first home mobile router of the MN and the second home mobile routing of the MN.
  • the current mobile router of the MN forwards the routing control request to the first home mobile router of the MN and the second home mobile router of the MN, and updates each parameter value in the routing control policy information to The first home mobile router of the MN and the second home mobile router of the MN.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively send the routing control request to the first home location manager of the MN and the second home location manager of the MN, And updating each parameter value in the routing control policy information to the first home location manager of the MN and the second home location manager of the MN.
  • the current mobile router of the MN establishes a tunnel between the current mobile router of the MN and the designated routing node according to the received MN_AnchelD1_Status_Close and AnchorlD1 values in the routing control policy information. And updating each parameter in the routing control policy information to the designated routing node.
  • the designated routing node establishes a tunnel between the designated routing node and the current mobile router of the destination node 1 according to the MN_AnchelDl_Status_Close and the destination node 1 C-MR ID value in the routing control policy information.
  • the designated routing node When the designated routing node receives the first data packet from the second home address, requesting, by the home location manager of the destination node 2, the address of the current mobile router of the destination node 2, according to the routing control policy information.
  • MN - AnchorlD 1 - Status - Close value establishing a tunnel between the designated routing node and the current mobile router of the destination node 2, and updating each parameter in the routing control policy information to the designated routing node .
  • the designated routing node establishes a tunnel between the designated routing node and the current mobile router of the destination node 2 according to the MN_AnchelDl_Status_Close and the destination node 2 C-MR ID value in the routing control policy information.
  • the tunnel between the current mobile router of the destination node 1 and the current mobile router of the MN is removed.
  • the current mobile router of the destination node 2 After the current mobile router of the destination node 2 establishes a tunnel with the designated routing node, the current mobile router of the destination node 2 and the MN are removed according to the value of MN_AnchorID1_Status_Close in the routing control policy information. The tunnel between the current mobile routers.
  • the data packets from the first home address and the second home address are all routed to the designated routing node, and then processed by the designated routing node, the processed data packets are sent to the different tunnels respectively.
  • the Next-MR may now be referred to as the current mobile router of the MN.
  • the current mobile router of the MN sends a location update (LU) message to the first home location manager of the MN and the second home location manager of the MN, where the LU message includes (MNID, the MN Updating the address of the current mobile router of the MN currently attached by the MN, and the like to the first home location manager of the MN and the second home location management of the MN In the device.
  • LU location update
  • the first home location manager of the MN and the second home location manager of the MN receive the LU message, respectively return location confirmation (LUA) information, where the LUA information includes the routing control policy information, At the same time, the routing control policy information is updated into the current mobile router of the MN.
  • LUA location confirmation
  • the current mobile router of the MN establishes a tunnel between the current mobile router of the MN and the first home mobile router of the MN, the current mobile router of the MN, and the second home mobile router of the MN.
  • a first home mobile router of the MN and a second home mobile router of the MN respectively tear down a tunnel between a first home mobile router of the MN and a current mobile router of the MN, and a second of the MN A tunnel between the home mobile router and the current mobile router of the MN.
  • the current mobile router of the MN according to the routing control policy information
  • the value of MN_AncholdDl_Status_Close establishes a tunnel between the current mobile router of the MN and the designated routing node, and updates the routing control policy information to the designated routing node.
  • the data packet passing through the MN flows through the designated routing node, and after processing by the designated routing node, the processing data packet of the first home address reaches the current destination node 1 through the designated routing node.
  • the mobile router finally reaches the destination node 1, and the processing data packet of the second home address reaches the current mobile router of the destination node 2 through the designated routing node, and finally reaches the destination node 2.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes parameters such as ⁇ MNID, MN_AnchlDl_Status_Open ⁇
  • the sender of the routing control request may be
  • OAM or lawful interception entity, or other network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with parameters such as (MNID, MN_AnchlDl_Status_Open) in the route control policy information, and ignores the route control request if the comparison is consistent. If the comparison is inconsistent, the routing control policy information is updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the MN's home mobile router.
  • parameters such as (MNID, MN_AnchlDl_Status_Open) in the route control policy information
  • the current mobile router of the MN sends the routing control request to the first home mobile router of the MN and the second home mobile router of the MN, and updates the routing control policy information to the MN A township mobile router and the MN's second home mobile router.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively update the routing control policy information to the first home location manager of the MN and the second home location management of the MN In the device.
  • the current mobile router of the MN determines that the routing control is not enabled according to the value of the MN_AnchelDl_Status_Open in the routing control policy information, and the tunnel between the designated routing node is removed, and the routing control policy is simultaneously Information is updated to the specified routing node.
  • the MN determines the MN_AnchllDl_Status in the routing control policy information.
  • the value of Open based on the destination address in the data packet (ie, the home address of the destination node 1), learns the address of the home location manager of the destination node 1, and obtains the destination node by sending a request to the home location manager of the destination node 1
  • the address of the current mobile router of 1, then the current mobile router of the MN establishes an optimized tunnel with the current mobile router of the destination node 1.
  • the processing procedure is the same as the data packet of the first home address.
  • the data packet from the first home address is directly sent to the current mobile router of the destination node 1 through the optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 1, by the current destination node 1
  • the mobile router sends to the destination node 1
  • the data packet from the second home address is directly sent to the current mobile router of the destination node 2 through an optimized tunnel between the current mobile router of the MN and the current mobile router of the destination node 2
  • the destination node 2 is sent by the current mobile router of the destination node 2.
  • the MN may have multiple home addresses, and generally two home addresses are used for explanation.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes ⁇ MNID, MN_AnchlDl_Status_Close, AnchorlDl ⁇
  • the sender of the routing control request may be an OAM, or a lawful intercepting entity, or another network element.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameters with parameters such as (MNID, MN-AnchorD1_Status_Close, AnchorlD1) in the route control policy information, and ignores if they are consistent.
  • the routing control request if the comparison is inconsistent, update each parameter in the routing control policy information to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, if the authentication is passed, The routing control request is sent to the first home mobile router of the MN and the second home mobile routing of the MN, respectively.
  • the current mobile router of the MN forwards the routing control request to the first home mobile router of the MN and the second home mobile router of the MN, and updates each parameter value in the routing control policy information to The first home mobile router of the MN and the second home mobile router of the MN.
  • the current mobile router of the MN establishes a tunnel between the current mobile router of the MN and the designated routing node according to MN_AnglingD1_Status_Close and AnchorlD1 in the routing control policy information,
  • the routing control policy information is updated to the designated routing node.
  • MN_AnchelD1_Status_Close in the updated routing control policy information when the designated routing node receives the first hometown
  • the first data packet of the address, the address of the home location manager of the destination node 1 is obtained by the first home address, and the address of the current mobile router of the destination node 1 is obtained by sending a request to the current location manager of the destination node 1.
  • the designated routing node When the designated routing node receives the first data packet from the second home address, learns the address of the home location manager of the destination node 2 through the second home address, and manages the current location of the destination node 2 The device sends a request to obtain the address of the current mobile router of the destination node 2.
  • the designated routing node establishes the current status of the designated routing node and the destination node 1 according to the updated MN_AnchelDl_Status_Close in the routing control policy information and the obtained address of the current mobile router of the destination node 1. A tunnel between mobile routers.
  • the designated routing node establishes the current status of the designated routing node and the destination node 2 according to the updated MN_AnchelDl_Status_Close in the routing control policy information and the obtained address of the current mobile router of the destination node 2 A tunnel between mobile routers.
  • the current mobile router of the destination node 1 After the current mobile router of the destination node 1 establishes a tunnel with the designated routing node, the current mobile router of the destination node 1 and the MN are removed according to MN_AnchelDl_Status_Close in the routing control policy information. The tunnel between the current mobile routers.
  • the data packets from the first home address and the second home address are all routed to the designated routing node, and after being processed by the designated routing node, the obtained processing data packets are sent to the different tunnels respectively.
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes parameters such as ⁇ MNID, MN_AnchlDl_Status_Open ⁇
  • the sender of the routing control request may be
  • the routing control policy information indicates that routing control is not enabled.
  • the current mobile router of the MN compares the locally stored route optimization data structure parameter with parameters such as (MNID, MN_AnchlDl_Status_Open) in the route control policy information, and ignores the route control request if the comparison is consistent. If the comparison is inconsistent, the routing control policy information is updated to the current mobile router of the MN, and then the current mobile router of the MN performs authentication, and if the authentication is passed, the routing control request is sent to the MN's home mobile router.
  • MNID MN_AnchlDl_Status_Open
  • the current mobile router of the MN sends the routing control request to the first home mobile router of the MN and the second home mobile router of the MN, and updates the routing control policy information to the MN A township mobile router and the MN's second home mobile router.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively update the routing control policy information to the first home location manager of the MN and the second home location management of the MN In the device.
  • the current mobile router of the MN determines that the routing control is not enabled according to the value of the MN_AnchelDl_Status_Open in the routing control policy information, and the tunnel between the designated routing node is removed, and the routing control policy is simultaneously Information is updated to the specified routing node.
  • the current mobile router of the MN when receiving the first data packet from the first home address sent by the UI, passes the destination Node 1's home location manager sends a request to get the address of the current mobile router of destination node 1.
  • the address of the current mobile router of the destination node 2 is obtained by sending a request to the home location manager of the destination node 2.
  • the current mobile router of the ⁇ sends the path switching instruction to the current movement of the destination node 1 when receiving the address of the current mobile router of the destination node 1 according to the MN_AnchelD1_Status_Open identifier in the routing control policy information.
  • the path switching instruction includes (MNID, ⁇ , destination node 1 C-MR ID, MN C-MR ID, Tunnel—Status—Setup, AnchorlDl, destination node 1 C-MR ID, Tunnel—Status— Release).
  • the current mobile router of the destination node 1 establishes a relationship between the current mobile router of the destination node 1 and the current mobile router of the MN according to parameters such as (destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_Setup). Tunnel.
  • the path switching instruction is sent to the current mobile router of the destination node 2, and the path switching instruction includes (MNID, ⁇ 2, destination node 2 C -MR ID, MN C-MR ID, Tunnel_ Status— Setup, AnchorlD 1 , Destination Node 2 C-MR ID, Tunnel—Status— Release) and other parameters.
  • the current mobile router of the destination node 2 establishes a relationship between the current mobile router of the destination node 2 and the current mobile router of the MN according to parameters such as (destination node 2 C-MR ID, MN C-MR ID, Tunnel_Status_Setup). Tunnel.
  • the current mobile router of the destination node 1 removes the tunnel between the current mobile router of the destination node 1 and the designated routing node according to parameters such as (AnchorDl, destination node 1 C-MR ID, Tunnel_Status_ Release).
  • the current mobile router of the destination node 2 removes the tunnel between the current mobile router of the destination node 2 and the designated routing node according to parameters such as (AnchorlDl, destination node 2 C-MR ID, Tunnel_Status_ Release).
  • the current mobile router of the MN receives the routing control request, where the routing control request includes the routing control policy information, where the routing control policy information includes parameters such as ⁇ MNID, MN_AnchorIDl_Status_Close, AnchorlDl ⁇ , and the routing
  • the sender of the control request can be an OAM, or a lawful interception entity, or other network element.
  • the current mobile router of the MN stores the locally stored route optimization data structure parameter and the route control policy information (MNID, MN_AnchlD1_Status_Close, AnchorlD1) If the parameters are compared, the routing control request is ignored. If the comparison is inconsistent, the parameters in the routing control policy information are updated to the current mobile router of the MN, and then the current mobility of the MN.
  • the router performs authentication, and if the authentication is passed, the routing control request is separately sent to the first home mobile router of the MN and the second home mobile routing of the MN, and the current mobile router of the MN sends the routing control request. Forwarding to the first home mobile router of the MN and the second home mobile router of the MN, and updating each parameter value in the routing control policy information to the first home mobile router and the MN of the MN The second hometown mobile router.
  • the first home mobile router of the MN and the second home mobile router of the MN respectively send the routing control request to the first home location manager of the MN and the second home location manager of the MN, And updating each parameter value in the routing control policy information to the first home location manager of the MN and the second home location manager of the MN.
  • the current mobile router of the MN establishes a tunnel between the current mobile router of the MN and the designated routing node according to the MN_AnchelDl_Status_Close value in the routing control policy information.
  • the current mobile router of the MN sends a path switching instruction to the destination node according to the MN_AnchelDl_Status_Close in the routing control policy information and the address of the current mobile router of the destination node 1
  • the current mobile router of 1, the path switching instruction includes (MNID, HoAl, AnchorlDl, destination node 1 C-MR ID, Tunnel_Status_Setup, destination node 1 C-MR ID, MN C-MR ID, Tunnel- Status— Release) and other parameters.
  • the current mobile router of the MN For the data packet from the second home address, when there is no tunnel between the current mobile router of the MN and the current mobile router of the destination node 2, the current mobile router of the MN first passes the home location manager of the destination node 2 Obtaining the address of the current mobile router of the destination node 2, and then sending a path switching instruction to the current mobile router of the destination node 2 according to the MN_AnchorID 1 - Status - Close and the address of the current mobile router of the destination node 2, in the path switching instruction include (MNID, HoA2, AnchorlDl, destination node 2 C-MR ID, Tunnel_Status_Setup, destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_ Release) and other parameters.
  • the current mobile router of the destination node 1 establishes the current mobile router and the destination node 1 according to parameters such as (AnchorlDl, destination node 1 C-MR ID, Tunnel_Status_Setup). Describe the tunnel between the routing nodes, and the current mobile router of the destination node 1 removes the current mobile router of the destination node 1 according to parameters such as (destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_ Release). A tunnel with the current mobile router of the MN.
  • the current mobile router of the destination node 2 establishes the current mobile router and the destination node 2 according to parameters such as (AnchorlDl, destination node 2 C-MR ID, Tunnel_Status_Setup). A tunnel between specified routing nodes. Because there is no tunnel between the current mobile router of destination node 2 and the current mobile router of the MN, parameters such as (destination node 1 C-MR ID, MN C-MR ID, Tunnel_Status_ Release) are ignored.
  • the routing control request is received by the current mobile router of the MN as an example. It should be noted that the receiving the routing control request may also be another network node, for example, the foregoing may be The current location manager of the MN, after receiving the routing control request, the current location manager of the MN may send the routing control request to the current mobile router of the MN, and the subsequent flow is the same as the above embodiments. .
  • receiving the routing control request may be the MN's home mobile router.
  • the MN's home mobile router is equivalent to the MN's current mobile router.
  • the other steps are the same except for the tunnel between the MN's home mobile router.
  • receiving the routing control request may be a home location manager of the MN, and after receiving the routing control request, the home location manager of the MN sends the routing control request to the home mobility of the MN.
  • the router, the subsequent steps and receiving the routing control request are The execution steps of the MN's home mobile router are the same.
  • an embodiment of the present invention provides a mobile router.
  • the mobile router is a mobile router of the MN.
  • the mobile router can include a first transceiver module 2601 and a first decision module 2602.
  • the first transceiver module 2601 may be configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address; if the determination is yes, the first information is obtained according to the state information of the home address in the routing policy information. Transmitting a data packet to the designated routing node by using a tunnel with the designated routing node; obtaining a first processing data packet returned by the specified routing node, and sending the first processing data packet to a current destination node a mobile router, configured to send the first processed data packet to the destination node by using a current mobile router of the destination node, where the first processed data packet is the designated routing node by using the first data
  • the package is processed for processing.
  • the first judging module 2602 may be configured to determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes indication information about whether to enable routing control, and the indicating information indicates When the routing control is enabled, the routing control policy information further includes status information of the home address.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes the status information of the home address, and specifically, the status information of the home address is included in the indication information. If the status information of the MN indicates that routing control is enabled, and the status information of the home address indicates that routing control is enabled, the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the first transceiver module 2601 may be specifically configured to: detect whether a tunnel with the designated routing node exists; and when detecting and determining that a tunnel with the designated routing node exists, a data packet is sent to the designated road through a tunnel with the designated routing node a node; when detecting that the tunnel with the specified routing node does not exist, establishing a tunnel with the designated routing node, and transmitting the first data packet to the specified by using a tunnel with the designated routing node Routing node.
  • the first transceiver module 2601 may be specifically configured to: determine whether a tunnel with the current mobile router of the destination node has been established; if the current mobile router with the destination node has been established The tunnel between the first processing data packet is sent to the current mobile router of the destination node by a tunnel with the current mobile router of the destination node; if the current movement with the destination node is not established a tunnel between the routers, establishing a tunnel with the current mobile router of the destination node, and transmitting the first processed data packet to the destination through a tunnel with the current mobile router of the destination node The current mobile router of the node.
  • the first transceiver module 2601 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the mobile router may further include a first establishing module, where: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is enabled, Establishing a tunnel with the designated routing node according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the mobile router may further include a first removal module, and may be configured to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, Then the tunnel between the specified routing node is removed.
  • a first removal module may be configured to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, Then the tunnel between the specified routing node is removed.
  • the first transceiver module 2601 may be further configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so that the mobile node The home location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • the seventh aspect of the invention is a first aspect of the invention.
  • an embodiment of the present invention provides a network device, where the network device may be a designated routing node as described in the foregoing embodiments.
  • the network device may include a second transceiver module 2701 and processing module 2702.
  • the second transceiver module 2701 may be configured to receive a first data packet from a mobile router of the mobile node MN; the first data packet is that the mobile router of the MN determines to open the first data packet according to the routing control policy information.
  • the routing control policy information includes: whether to enable the routing control indication information, and if the indication information indicates that the routing control is enabled, the routing The control policy information further includes status information of the home address; and sending the first processed data packet to the mobile router of the MN, so that the mobile router of the MN sends the first processed data packet to the destination node. Current mobile router.
  • the processing module 2702 can be configured to process the first data packet to obtain the first processing data packet.
  • the second transceiver module 2701 is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy information includes indication information for enabling routing control, and Status information of the home address.
  • the network device may further include a second establishing module, configured to: establish a tunnel with the mobile router of the MN according to the establishment request sent by the mobile router of the MN.
  • a second establishing module configured to: establish a tunnel with the mobile router of the MN according to the establishment request sent by the mobile router of the MN.
  • the network device may further include a second removal module, which may be used to: after the MN moves from the source mobile router to the target mobile router, and is removed from the source mobile router. Tunnel.
  • a second removal module which may be used to: after the MN moves from the source mobile router to the target mobile router, and is removed from the source mobile router. Tunnel.
  • an embodiment of the present invention provides a mobile router, where the mobile router can be a mobile router of the MN.
  • the mobile router can include a third transceiver module 2801 and a backup module 2802.
  • the third transceiver module 2801 may be configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and determine, according to the routing control policy information, whether to enable routing control on the first data packet; the routing control policy information Including whether to enable routing control instructions, and When the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address; and, according to the status information of the home address in the routing policy, the first data packet that is backed up is sent. Transmitting the first data packet to the current mobile router of the destination node to the designated routing node, and through a tunnel with the current mobile router of the destination node, to pass the current mobile router of the destination node The first data packet is sent to the destination node.
  • the backup module 2802 can be configured to back up the first data packet if the determination is yes.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN. That is, if the status information of the MN indicates that routing control is enabled, and the status information of the home address indicates that routing control is not enabled for the second home address, the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the third transceiver module 2801 may be specifically configured to: determine whether a tunnel with the current mobile router of the destination node has been established; if the current mobile router with the destination node has been established The tunnel between the first data packet is sent to the current mobile router of the destination node through a tunnel with the current mobile router of the destination node; if the current mobile router with the destination node is not established a tunnel between the tunnel, establishing a tunnel with the current mobile router of the destination node, and transmitting the first data packet to the destination node through a tunnel with a current mobile router of the destination node Current mobile router.
  • the third transceiver module 2801 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the third transceiver module 2801 may be further configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so that the mobile node The home location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • an embodiment of the present invention provides a mobile router, where the mobile router can be a mobile router of the MN.
  • the mobile router may include a fourth transceiver module 2901 and a second determination module 2902.
  • the fourth transceiver module 2901 may be configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address, and if the determination is yes, according to the state information of the home address in the routing policy, the first Transmitting a data packet to the designated routing node through a tunnel with the designated routing node, so that the designated routing node sends the first processed data packet to the tunnel through a tunnel with a current mobile router of the destination node a current mobile router of the destination node, and sending, by the current mobile router of the destination node, the first processing data packet to the destination node; where the first processing data packet is the designated routing node The first packet is processed and processed.
  • the second judging module 2902 may be configured to determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes indication information of whether to enable routing control, and the indication information is indicated in the indication information.
  • the routing control policy information further includes status information of the home address.
  • the indication that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN, and the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indication that the routing control is enabled is to enable routing control for all data packets of the MN, and the routing control is not enabled to indicate that routing control is not enabled for all data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the status information of the MN indicates that routing control is enabled, and the status information of the home address is Indicates that routing control is enabled, and the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the fourth transceiver module 2901 is specifically configured to: detect whether a tunnel with the designated routing node exists; and when detecting and determining that a tunnel with the designated routing node exists, Sending a data packet to the designated routing node through a tunnel with the designated routing node; establishing and designating the tunnel when detecting that the tunnel with the specified routing node does not exist Routing a tunnel of the node, and sending the first data packet to the designated routing node through a tunnel with the designated routing node.
  • the fourth transceiver module 2901 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the mobile router may further include a third establishing module, where: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is enabled, Establishing a tunnel with the designated routing node according to the state information of the home address in the routing control policy information carried in the routing control request.
  • the fourth transceiver module 2901 is further configured to:: according to the indication information in the routing control policy information carried by the routing control request, and the address of the current mobile router of the destination node, The current mobile router of the destination node sends a path switching instruction, so that the current mobile router of the destination node establishes a tunnel between the current mobile router of the destination node and the designated routing node, and makes the destination node The current mobile router tears down the tunnel between the current mobile router of the destination node and the current mobile router of the mobile node.
  • the mobile router may further include a third removal module, which may be used to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled , then remove the tunnel between the specified routing node.
  • a third removal module which may be used to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled , then remove the tunnel between the specified routing node.
  • the fourth transceiver module 2901 is further configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so that the mobile node The home location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • the fourth transceiver module 2901 is further configured to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, to the destination node
  • the home location manager requests to obtain an address of the current mobile router of the destination node; sends a path switch instruction to the current mobile router of the destination node, so that the current mobile router of the destination node establishes the according to the path switch instruction A tunnel between the current mobile router of the destination node and the current mobile router of the mobile node.
  • an embodiment of the present invention provides a network device, where the network device may be a designated routing node as described in the previous embodiment.
  • the network device can include a receiving module 3601 and a transmitting module 3002.
  • the receiving module 3001 may be configured to receive a first data packet from a mobile router of the mobile node MN; the first data packet is a mobile router of the MN, determining, according to the routing control policy information, to enable routing control on the first data packet And the routing control policy information is included in the routing control policy information, where the route control policy information includes the indication information of whether the routing control is enabled, and in the case that the indication information indicates that the routing control is enabled, the routing control policy information is It also includes status information for the home address.
  • the sending module 3002 is configured to send the first processing data packet to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node; where the first processing data packet is passed by the network device Processing the first data packet.
  • the receiving module 3001 is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy information includes indication information about whether to enable routing control.
  • the network device may further include a fourth establishing module, and may be configured to: if the indication information in the routing control policy information indicates that routing control is enabled, and the destination node A tunnel is established between the current mobile routers, and the routing control policy information is updated to the current mobile router of the destination node.
  • a fourth establishing module may be configured to: if the indication information in the routing control policy information indicates that routing control is enabled, and the destination node A tunnel is established between the current mobile routers, and the routing control policy information is updated to the current mobile router of the destination node.
  • the network device may further include a fourth removal module, and may be configured to: if the indication information in the routing control policy information indicates that routing control is not enabled, The tunnel between the current mobile routers of the destination node.
  • the network device may further include the fourth removal module, and may be configured to: after the MN moves from the source mobile router to the target mobile router, remove the source mobile router Between the tunnels.
  • an embodiment of the present invention provides a mobile router, where the mobile router may be a mobile router of the MN.
  • the mobile router includes: a bus 3140, and a first processor 3110, a first memory 3120, and a first interface 3130 connected to the bus 3140.
  • the first memory 3120 is configured to store an instruction
  • the first interface 3130 is configured to obtain a first data packet that is forwarded by the mobile node MN from the first home address; if the determination is yes, according to the home address in the routing policy information.
  • the first processor 3110 is configured to execute the instruction, and determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes indication information about whether to enable routing control, and When the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN. That is, if the status information of the MN indicates that routing control is enabled, and the status information of the home address indicates that routing control is enabled for the first home address, the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the first processor 3110 is specifically configured to: execute the instruction, detect whether a tunnel with the designated routing node exists, and detect that the tunnel with the specified routing node does not exist When establishing a tunnel with the specified routing node.
  • the first interface 3130 is specifically configured to: send the first data packet to the designated routing node by using a tunnel with the designated routing node.
  • the first processor 3110 is specifically configured to: execute the instruction, Determining whether a tunnel with the current mobile router of the destination node has been established, and if a tunnel with the current mobile router of the destination node is not established, establishing a relationship with the current mobile router of the destination node tunnel.
  • the first interface 3130 is specifically configured to: when a tunnel with the current mobile router of the destination node has been established, send the first processing data packet to a tunnel between a current mobile router and the destination node The current mobile router of the destination node, or the first processing data packet is sent to the current mobile router of the destination node by using a tunnel between the established mobile router and the current mobile router of the destination node.
  • the first interface 3130 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the first processor 3110 is further configured to: execute the instruction, if the indication information in the routing control policy information carried in the routing control request indicates that routing control is enabled, A state information of a home address in the routing control policy information carried in the routing control request, and establishing a tunnel with the designated routing node.
  • the first processor 3110 is specifically configured to: execute the instruction, if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, A tunnel with a specified routing node.
  • the first interface 3130 is further configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so as to make the mobile node's hometown
  • the location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • an embodiment of the present invention provides a network device, where the network device may be a designated routing node as described in the previous embodiment.
  • the network device can include a bus 3240, and a second processor 3210, a second memory 3220, and a second interface 3230 that are coupled to the bus 3240.
  • the second memory 3220 is configured to store an instruction
  • the second interface 3230 is configured to receive a first data packet from a mobile router of the mobile node MN
  • the first data packet is determined by the mobile router of the MN according to the routing control policy information.
  • the second processor 3210 is configured to execute the instruction, and process the first data packet to obtain the first processed data packet.
  • the second interface 3230 is further configured to: receive routing control policy information sent by the mobile router of the MN, where the routing control policy information includes indication information for enabling routing control, and a home address Status information.
  • the second processor 3210 is further configured to: execute the instruction to establish a tunnel with the mobile router of the MN according to the establishment request sent by the mobile router of the MN.
  • the second processor 3210 is further configured to: execute the instruction, after the MN moves from the source mobile router to the target mobile router, remove the tunnel between the source mobile router and the source mobile router. .
  • an embodiment of the present invention provides a mobile router, where the mobile router may be a mobile router of the MN.
  • the mobile router may include: a bus 3340, and a third processor 3310, a third memory 3320, and a third interface 3330 connected to the bus 3340.
  • the third memory 3320 is configured to store the instruction
  • the third interface 3330 is configured to obtain the first data packet from the first home address forwarded by the mobile node MN, and determine, according to the routing control policy information, whether to enable the routing of the first data packet.
  • the routing control policy information includes: whether the routing control indication information is enabled, and if the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address; and, according to The status information of the home address in the routing policy, sending the backed first data packet to the designated routing node, and sending the first data packet to the tunnel through a tunnel with the current mobile router of the destination node Destination node The current mobile router transmits the first data packet to the destination node through the current mobile router of the destination node.
  • the third processor 3310 is configured to execute the instruction, and if the determination is yes, the first data packet is backed up.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information.
  • the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information. That is, at this time, the open routing control and the non-open routing control are all for an IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the third processor 3310 is specifically configured to: execute the instruction, determine whether a tunnel with the current mobile router of the destination node has been established, and if A tunnel between the current mobile routers of the destination node establishes a tunnel with the current mobile router of the destination node.
  • the third interface 3330 is specifically configured to: send the first data packet to a current mobile router of the destination node by using a tunnel with a current mobile router of the destination node.
  • the third interface 3330 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the third interface 3330 is specifically configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so as to make the mobile node's hometown
  • the location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • an embodiment of the present invention provides a mobile router, where the mobile router may be a mobile router of the MN.
  • the mobile router includes: a bus 3440, and a fourth processor 3410, a fourth memory 3420, and a fourth interface 3430 connected to the bus 3440.
  • the fourth memory 3420 is used to store instructions, and the fourth interface 3430 is used to obtain the forwarding from the mobile node MN.
  • a first data packet of the first home address if the determination is yes, sending the first data packet to a tunnel between the first routing node and the designated routing node according to status information of the home address in the routing policy to Specifying a routing node, so that the designated routing node sends the first processing data packet to the current mobile router of the destination node through a tunnel between the current mobile router and the destination node, and passes the current destination of the destination node.
  • the mobile router sends the first processing data packet to the destination node, where the first processing data packet is obtained by processing, by the specified routing node, the first data packet.
  • the fourth processor 3410 is configured to execute the instruction, and determine, according to the routing control policy information, whether to enable routing control of the first data packet, where the routing control policy information includes indication information about whether to enable routing control, and When the indication information indicates that the routing control is enabled, the routing control policy information further includes status information of the home address.
  • IP Internet Protocol
  • MN Mobility Management Entity
  • IP Internet Protocol
  • the indicating that the routing control is enabled is to enable the routing control of the data packet of the designated home address of the MN
  • the non-opening of the routing control refers to the routing control of not opening the designated home address of the MN.
  • the indicating that the routing control is enabled is to enable the routing control for all the data packets of the MN, and the routing control is not enabled to not open the routing control for all the data packets of the MN.
  • the routing control policy information further includes a home address of the MN, and the indication information includes status information of the MN.
  • the routing control policy information includes status information of the home address, and specifically, the indication information includes status information of the home address.
  • the indication information indicates that routing control is enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates a data packet for the first home address of the MN.
  • the routing control is started, and the first home address is one of the home addresses of the MN in the routing control policy information. If the status information of the MN indicates that the routing control is enabled, and the status information of the home address indicates that the routing control is not enabled, the indication information indicates that the routing control is not enabled for the data packet of the corresponding home address of the MN.
  • the indication information indicates data for the second home address of the MN.
  • the packet does not enable routing control, and the second home address is one of the home addresses of the MN in the routing control policy information.
  • the routing control is enabled and the routing control is not enabled for a certain IP, specifically for a home address of the MN.
  • the home address of the MN is one or more.
  • the indication information includes: status information of the MN.
  • the indication information indicates that routing control is enabled for all data packets of the MN.
  • the indication information indicates that routing control is not enabled for all data packets of the MN.
  • the open route control and the non-open route control at this time are all for the MN.
  • the fourth processor 3410 is specifically configured to: execute the instruction, detect whether a tunnel with the designated routing node exists, and, when detecting, determine that the tunnel with the designated routing node is not When present, a tunnel is established with the specified routing node.
  • the fourth interface 3430 is specifically configured to: when the tunnel with the designated routing node is established, send the first data packet to the designated routing node by using a tunnel with the designated routing node, or And transmitting, by the tunnel of the designated routing node, the first data packet to the designated routing node.
  • the fourth interface 3430 is further configured to: receive a routing control request, where the routing control request includes the routing control policy information.
  • the fourth processor 3410 is further configured to: execute the instruction, if the indication information in the routing control policy information carried in the routing control request indicates that the route is started Controlling, according to the state information of the home address in the routing control policy information carried in the routing control request, establishing a tunnel with the designated routing node.
  • the fourth interface 3430 is further configured to: according to the indication information in the routing control policy information carried by the routing control request, and the address of the current mobile router of the destination node, to the The current mobile router of the destination node sends a path switching instruction, so that the current mobile router of the destination node establishes a tunnel between the current mobile router of the destination node and the designated routing node, and causes the current movement of the destination node The router tears down the tunnel between the current mobile router of the destination node and the current mobile router of the mobile node.
  • the fourth processor 3410 is further configured to: execute the instruction, if the indication information in the routing control policy information carried in the routing control request indicates that the routing control is not enabled, A tunnel with a specified routing node.
  • the fourth interface 3430 is further configured to: forward the routing control request to a home location manager of the mobile node, and a home mobile router of the mobile node, so as to make the mobile node's hometown
  • the location manager and the home mobile router of the mobile node update the locally stored information according to the information included in the routing control request.
  • the fourth interface 3430 is further configured to: if the indication information in the routing control policy information carried in the routing control request indicates that routing control is not enabled, to the home location of the destination node
  • the manager requests to obtain an address of the current mobile router of the destination node; and sends a path switching instruction to the current mobile router of the destination node, so that the current mobile router of the destination node establishes the destination node according to the path switching instruction.
  • a fifteenth aspect of the invention is a fifteenth aspect of the invention.
  • an embodiment of the present invention provides a network device, where the network device may be a designated routing node as described in the foregoing embodiments.
  • the network device may include: a bus 3540, and a fifth processor 3510, a fifth memory 3520, and a fifth interface 3530 connected to the bus 3540.
  • the fourth memory 3520 is configured to store instructions
  • the fifth interface 3530 is configured to receive a first data packet from the mobile node of the mobile node, where the first data packet is the mobile router of the network.
  • the fifth processor 3510 is configured to execute the instruction, and control the fifth interface 3530 to send the first processing data packet to the current mobile router of the destination node by using a tunnel with the current mobile router of the destination node;
  • the first processing data packet is obtained by processing, by the network device, the first data packet.
  • the fifth interface 3530 is further configured to: receive the routing control policy information sent by the mobile router of the MN, where the routing control policy information includes indication information about whether to enable the routing control.
  • the fifth processor 3510 is further configured to: execute the instruction, if the indication information in the routing control policy information indicates that routing control is enabled, and the current A tunnel is established between the mobile routers, and the routing control policy information is updated to the current mobile router of the destination node.
  • the fifth processor 3510 is further configured to: execute the instruction, if the indication information in the routing control policy information indicates that routing control is not enabled, then the target node is removed The tunnel between the current mobile routers.
  • the fifth processor 3510 is further configured to: execute the instruction, after the MN moves from the source mobile router to the target mobile router, remove the tunnel between the source mobile router and the source mobile router. .
  • a method for sending a data packet in the embodiment of the present invention may be applied to a mobile router, where the method may include: obtaining a first data packet from a first home address forwarded by the mobile node MN, and determining whether to open the pair according to the routing control policy information. Routing control of the first data packet; the routing control policy information includes indication information about whether to enable routing control, and if the indication information indicates that routing control is enabled, the routing control policy information further includes a home address.
  • the determination is yes, sending the first data packet to the designated routing node by using a tunnel between the routing node and the designated routing node according to the status information of the home address in the routing policy information; Specifying a first processing data packet returned by the routing node, and transmitting the first processing data packet to a current mobile router of the destination node, to send the first processing data packet to the current mobile router through the destination node Determining the destination node; wherein the first processing data packet is obtained by processing, by the specified routing node, the first data packet.
  • the embodiment of the present invention includes the routing control policy information, where the routing control policy information may be used to indicate whether to enable routing control, and after obtaining the data packet from the first home address forwarded by the MN, if it is determined to be enabled
  • the routing control may send the first data packet to the designated routing node first according to the state information of the home address included in the routing control policy information, and then processed by the designated routing node.
  • the first processing data packet is sent to the destination node, so that the first data packet may go through a designated network node in the process of sending, and the designated network node may perform some processing on the first data packet to solve the current
  • the data cannot be sent to the designated network node in the sending process.
  • the first data packet directly reaches the designated network node, and is directly sent to the destination after being processed.
  • Node equivalent to routing optimization, no need to be as in the prior art Row routing optimization generally through a plurality of nodes, the first data packet route more optimal experience, the smaller the error probability in transit.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, device or unit.
  • the connection or communication connection can be electrical, mechanical or other form.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software function unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及通信技术领域,尤其涉及一种数据包发送方法、移动路由器及网络设备,用以解决现有技术中无法将数据发送到一个指定网络节点的技术问题;本发明实施例中设置了路由控制策略信息,在获得一数据包时,可以根据路由控制策略信息来确定将数据包如何进行发送,从而可以将数据包发送到指定网络节点,解决了现有技术中存在的问题。

Description

一种数据包发送方法、 移动路由器及网絡设备 技术领域
本发明涉及通信技术领域, 尤其涉及一种数据包发送方法、 移动路由器 及网络设备。 背景技术
DMM (分布式移动性管理) 的出现, 是为了解决现有集中式移动性管理 的单点故障、 路由冗余等问题。
路由优化( RO )是 DMM默认的特性, 即网络支持 DMM就会自动进行路 由优化。 如图 1所示, 是 MN (移动节点) 、 目的节点为移动节点的场景, 为 MN服务的家乡移动路由器(在图 1中表示为 1 )为 MN分配 HoA (家乡地址), MN当前附着在为 MN服务的当前移动路由器(在图中表示为 2 )上, 同样, 图 1中的 4表示为目的节点服务的家乡移动路由器, 图 1中的 3表示为目的节点服 务的当前移动路由器, 图 1中的 5表示 MN, 6表示目的节点。 因为所述 MN当前 附着在为 MN服务的当前移动路由器上, 因此在为 MN服务的家乡移动路由器 下面的 MN以虚线表示, 目的节点也一样。
在未经过 DMM路由优化时, MN与目的节点间的数据路由路径如图 1中的 虚线箭头所示, 来自 MN的数据是通过为 MN服务的当前移动路由器转发回到 为 MN服务的家乡移动路由器, 再由为 MN服务的家乡移动路由器发送到为目 的节点服务的家乡移动路由器, 由为目的节点服务的家乡移动路由器转发到 为目的节点服务的当前移动路由器, 最后转发到目的节点。 可以看到, 路径 非优化, 同时增加传输延迟, 且容易发生单点故障。
在使用 DMM路由优化后, 如图 1中的实线箭头所示, MN与目的节点间的 数据可以通过 DMM优化隧道直接从为 MN服务的当前移动路由器直接发送到 为目的节点服务的当前移动路由器, 再转发到目的节点, 其中, DMM优化隧 道,可以通过 GTP ( General Data Transfer Platform,通用数据传输平台), PMIP ( Proxy Mobile IP, 代理移动 IP ) , 或 GRE ( Generic Routing Encapsulation, 通用路由选择封装)等协议来实现。
在支持 DMM的网络中, 路由优化是 DMM默认的特性, 网络会自动进 行路由优化。 然而在一些情况下, 可能会需要将数据发送到一个指定的网络 节点, 而现有技术中, 要么不经过路由优化, 数据需要经过较长且较为复杂 的路径才能到达终点, 要么就是路由优化, 数据直接由起点发送到终点, 无 法到达中间网络节点。 可见, 现有技术中, 无法完成将数据发送到一个指定 网络节点的目的。 发明内容
本发明实施例提供一种数据包发送方法、 移动路由器及网络设备, 用于 解决现有技术中无法将数据发送到一个指定网络节点的技术问题。
本发明的第一方面, 提供一种数据包发送方法, 所述方法包括: 获得移动节点 MN转发的来自第一家乡地址的第一数据包, 根据路由控 制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略 信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由 控制的情况下, 所述路由控制策略信息还包括家乡地址的状态信息;
若判断是, 则根据所述路由策略信息中的家乡地址的状态信息, 通过与 指定路由节点之间的隧道将所述第一数据包发送至所述指定路由节点;
获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数据 包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路由 器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包 为所述指定路由节点通过对所述第一数据包进行处理获得的。
结合第一方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。 结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第一方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 将所述第一数据包通过 与所述指定路由节点之间的隧道发送至所述指定路由节点, 包括:
检测与所述指定路由节点的隧道是否存在;
当检测确定与所述指定路由节点的隧道存在时, 将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点;
当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由 节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给所 述指定路由节点。
结合第一方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 通过与目的节点的当前 移动路由器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移 动路由器, 包括:
判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所 述目的节点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述 目的节点的当前移动路由器;
如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所 述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移 动路由器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移动 路由器。
结合第一方面或第一种可能的实现方式至第五种可能的实现方式中的任 一种可能的实现方式, 在第六种可能的实现方式中, 在获得移动节点 MN转 发的来自第一家乡地址的第一数据包之前, 还包括: 接收路由控制请求, 所 述路由控制请求中包括所述路由控制策略信息。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 在接收路由 控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的 所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控制 策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
结合第六种可能的实现方式, 在第八种可能的实现方式中, 在接收路由 控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的 所述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
结合第六种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式,在第九种可能的实现方式中,在接收路由控制请求之后,还包括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡 移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移 动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
本发明的第二方面, 提供一种数据包发送方法, 所述方法包括: 指定路由节点接收来自 MN的移动路由器的第一数据包; 所述第一数据 包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第一数据 包的路由控制后通过与指定路由节点的隧道发送的, 所述路由控制策略信息 中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制 的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
所述指定路由节点对所述第一数据包进行处理获得第一处理数据包; 所述指定路由节点将所述第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的移动路由器将所述第一处理数据包发送给目的节点的当前移 动路由器。
结合第二方面, 在第一种可能的实现方式中, 在所述指定路由节点接收 来自 MN的第一数据包之前, 还包括: 所述指定路由节点接收所述 MN的移 动路由器发送的路由控制策略信息, 所述路由控制策略信息中包括开启路由 控制的指示信息, 及家乡地址的状态信息。
结合第二方面, 在第二种可能的实现方式中, 在所述指定路由节点接收 来自 MN的移动路由器的第一数据包之前, 还包括: 所述指定路由节点根据 所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路由器之间建立 隧道。
结合第二方面, 在第三种可能的实现方式中, 还包括:
在所述 MN从源移动路由器移动到目标移动路由器后, 所述指定路由节 点拆除与所述源移动路由器之间的隧道。
本发明的第三方面, 提供一种数据包发送方法, 所述方法包括: 获得 MN转发的来自第一家乡地址的第一数据包, 根据路由控制策略信 息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包 括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制的情 况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
若判断为是, 将所述第一数据包进行备份;
根据所述路由策略中的家乡地址的状态信息, 将备份的第一数据包发送 至所述指定路由节点, 及通过与目的节点的当前移动路由器之间的隧道将所 述第一数据包发送给所述目的节点的当前移动路由器, 以通过所述目的节点 的当前移动路由器将所述第一数据包发送给所述目的节点。
结合第三方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第三方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 通过与目的节点的当前 移动路由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路 由器, 包括:
判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所 述目的节点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的 节点的当前移动路由器;
如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所 述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移 动路由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由 器。
结合第三方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 在获得 MN转发的来自 第一家乡地址的第一数据包之前, 还包括: 接收路由控制请求, 所述路由控 制请求中包括所述路由控制策略信息。
结合第五种可能的实现方式, 在第六种可能的实现方式中, 在接收路由 控制请求之后, 还包括: 将所述路由控制请求转发给移动节点的家乡位置管 理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器 和所述移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新 本地存储的信息。
本发明的第四方面, 提供一种数据包发送方法, 所述方法包括: 获得 MN转发的来自第一家乡地址的第一数据包, 根据路由控制策略信 息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包 括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制的情 况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将所述第 一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 以 使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一处 理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节点的当 前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一 处理数据包为所述指定路由节点通过对所述第一数据包进行处理得到的。
结合第四方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第二种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第四方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 将所述第一数据包通过 与所述指定路由节点之间的隧道发送至所述指定路由节点, 包括:
检测与所述指定路由节点的隧道是否存在;
当检测确定与所述指定路由节点的隧道存在时, 将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点;
当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由 节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给所 述指定路由节点。 结合第四方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 在获得 MN转发的来自 第一家乡地址的第一数据包之前, 还包括: 接收路由控制请求, 所述路由控 制请求中包括所述路由控制策略信息。
结合第五种可能的实现方式, 在第六种可能的实现方式中, 在接收路由 控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的 所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控制 策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 在根据所述 路由控制请求携带的路由控制策略信息中的家乡地址的状态信息, 建立与所 述指定路由节点之间的隧道之后, 还包括: 根据所述路由控制请求携带的路 由控制策略信息中的指示信息、 及所述目的节点的当前移动路由器的地址, 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节点的 当前移动路由器建立所述目的节点的当前移动路由器与所述指定路由节点之 间的隧道, 及使所述目的节点的当前移动路由器拆除所述目的节点的当前移 动路由器与所述移动节点的当前移动路由器之间的隧道。
结合第五种可能的实现方式至第七种可能的实现方式中的任一种可能的 实现方式, 在第八种可能的实现方式中, 在接收到所述路由控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表 明不开启路由控制, 则拆除与指定路由节点之间的隧道。
结合第五种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式, 在第九种可能的实现方式中, 在接收到所述路由控制请求之后, 还包括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节 点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点 的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
结合第四方面或第一种可能的实现方式至第九种可能的实现方式中的任 一种可能的实现方式, 在第十种可能的实现方式中, 在将所述第一数据包通 过与所述指定路由节点之间的隧道发送至所述指定路由节点之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不 开启路由控制, 向所述目的节点的家乡位置管理器请求获得所述目的节点的 当前移动路由器的地址;
向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节 点的当前移动路由器根据所述路径切换指令建立所述目的节点的当前移动路 由器与所述移动节点的当前移动路由器之间的隧道。
本发明的第五方面, 提供一种数据包发送方法, 包括:
指定路由节点接收来自 MN的移动路由器的第一数据包; 所述第一数据 包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第一数据 包的路由控制后通过与指定路由节点的隧道发送来的, 所述路由控制策略信 息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控 制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一 处理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处理数 据包为所述指定路由节点通过对所述第一数据包进行处理得到的。
结合第五方面, 在第一种可能的实现方式中, 在所述指定路由节点接收 来自 MN的第一数据包之前, 还包括: 所述指定路由节点接收所述 MN的移 动路由器发送的路由控制策略信息, 所述路由控制策略信息中包括是否开启 路由控制的指示信息。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 在所述指定 路由节点接收来自移动节点 MN的移动路由器的第一数据包之前, 还包括: 若所述路由控制策略信息中的所述指示信息表明开启路由控制, 则所述指定 路由节点与所述目的节点的当前移动路由器之间建立隧道, 并将所述路由控 制策略信息更新到所述目的节点的当前移动路由器。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 在所述指定 路由节点接收所述 MN移动路由器发送的路由控制策略信息之后, 还包括: 若所述路由控制策略信息中的所述指示信息表明不开启路由控制, 则所述指 定路由节点拆除与所述目的节点的当前移动路由器之间的隧道。
结合第五方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 还包括: 在所述 MN从 源移动路由器移动到目标移动路由器后, 所述指定路由节点拆除与所述源移 动路由器之间的隧道。
本发明的第六方面, 提供一种移动路由器, 包括:
第一收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包; 若判断为是, 则根据所述路由策略信息中的家乡地址的状态信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由 节点; 获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数 据包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路 由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据 包为所述指定路由节点通过对所述第一数据包进行处理获得的;
第一判断模块, 用于根据路由控制策略信息判断是否开启对所述第一数 据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信 息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策略信息 中还包括家乡地址的状态信息。
结合第六方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第六方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 所述第一收发模块具体 用于: 检测与所述指定路由节点的隧道是否存在; 当检测确定与所述指定路 由节点的隧道存在时, 将所述第一数据包通过与所述指定路由节点的隧道发 送给所述指定路由节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由节点的隧道, 并将所述第一数据包通过与所述指定路由 节点的隧道发送给所述指定路由节点。
结合第六方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 所述第一收发模块具体 用于: 判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果 已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所述目的节 点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述目的节点 的当前移动路由器; 如果未建立与所述目的节点的当前移动路由器之间的隧 道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通过与所述目 的节点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述目的 节点的当前移动路由器。
结合第六方面或第一种可能的实现方式至第五种可能的实现方式中的任 一种可能的实现方式, 在第六种可能的实现方式中, 所述第一收发模块还用 于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 所述移动路 由器还包括第一建立模块, 用于: 若所述路由控制请求携带的路由控制策略 信息中的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的 路由控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间 的隧道。
结合第六种可能的实现方式, 在第八种可能的实现方式中, 所述移动路 由器还包括第一拆除模块, 用于: 若所述路由控制请求携带的路由控制策略 信息中的所述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的 隧道。
结合第六种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式, 在第九种可能的实现方式中, 所述第一收发模块还用于: 将所述 路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路 由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由 器根据所述路由控制请求中包括的信息更新本地存储的信息。
本发明的第七方面, 提供一种网络设备, 包括:
第二收发模块, 用于接收来自 MN的移动路由器的第一数据包; 所述第 一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第 一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述路由 控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明 开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信 息; 及, 将第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的 移动路由器将所述第一处理数据包发送给目的节点的当前移动路由器;
处理模块, 用于对所述第一数据包进行处理获得所述第一处理数据包。 结合第七方面,在第一种可能的实现方式中,所述第二收发模块还用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信 息中包括开启路由控制的指示信息, 及家乡地址的状态信息。
结合第七方面, 在第二种可能的实现方式中, 所述网络设备还包括第二 建立模块, 用于: 根据所述 MN的移动路由器发送的建立请求, 与所述 MN 的移动路由器之间建立隧道。
结合第七方面, 在第三种可能的实现方式中, 所述网络设备还包括第二 拆除模块, 用于在所述 MN从源移动路由器移动到目标移动路由器后, 拆除 与所述源移动路由器之间的隧道。
本发明的第八方面, 提供一种移动路由器, 包括:
第三收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包, 根据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示 信息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址 的状态信息; 及, 根据所述路由策略中的家乡地址的状态信息, 将备份的第 一数据包发送至所述指定路由节点, 及通过与目的节点的当前移动路由器之 间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过 所述目的节点的当前移动路由器将所述第一数据包发送给所述目的节点; 备份模块, 用于若判断为是, 将所述第一数据包进行备份。
结合第八方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第二种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第八方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 所述第三收发模块具体 用于: 判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果 已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所述目的节 点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点的当 前移动路由器; 如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节 点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点的当 前移动路由器。
结合第八方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 所述第三收发模块还用 于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
结合第五种可能的实现方式, 在第六种可能的实现方式中, 所述第三收 发模块还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及 移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移 动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储 的信息。
本发明的第九方面, 提供一种移动路由器, 包括: 第四收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包, 及若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将 所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节 点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将 第一处理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节 点的当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所 述第一处理数据包为所述指定路由节点通过对所述第一数据包进行处理得到 的;
第二判断模块, 用于根据路由控制策略信息判断是否开启对所述第一数 据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信 息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策略信息 中还包括家乡地址的状态信息。
结合第九方面, 在第一种可能的实现方式中, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第九方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 所述第四收发模块具体 用于: 检测与所述指定路由节点的隧道是否存在; 当检测确定与所述指定路 由节点的隧道存在时, 将所述第一数据包通过与所述指定路由节点的隧道发 送给所述指定路由节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由节点的隧道, 并将所述第一数据包通过与所述指定路由 节点的隧道发送给所述指定路由节点。
结合第九方面或第一种可能的实现方式至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 所述第四收发模块还用 于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
结合第五种可能的实现方式, 在第六种可能的实现方式中, 所述移动路 由器还包括第三建立模块, 用于: 若所述路由控制请求携带的路由控制策略 信息中的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的 路由控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间 的隧道。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 所述第四收 发模块还用于: 根据所述路由控制请求携带的路由控制策略信息中的指示信 息、 及所述目的节点的当前移动路由器的地址, 向所述目的节点的当前移动 路由器发送路径切换指令, 以使所述目的节点的当前移动路由器建立所述目 的节点的当前移动路由器与所述指定路由节点之间的隧道, 及使所述目的节 点的当前移动路由器拆除所述目的节点的当前移动路由器与所述移动节点的 当前移动路由器之间的隧道。
结合第五种可能的实现方式至第七种可能的实现方式中的任一种可能的 实现方式, 在第八种可能的实现方式中, 所述移动路由器还包括第三拆除模 块, 用于: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息 表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
结合第五种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式, 在第九种可能的实现方式中, 所述第四收发模块还用于: 将所述 路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路 由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由 器根据所述路由控制请求中包括的信息更新本地存储的信息。
结合第一种可能的实现方式至第九种可能的实现方式中的任一种可能的 实现方式, 在第十种可能的实现方式中, 所述第四收发模块还用于: 若所述 路由控制请求携带的路由控制策略信息中的所述指示信息表明不开启路由控 制, 向所述目的节点的家乡位置管理器请求获得所述目的节点的当前移动路 由器的地址; 向所述目的节点的当前移动路由器发送路径切换指令, 以使所 述目的节点的当前移动路由器根据所述路径切换指令建立所述目的节点的当 前移动路由器与所述移动节点的当前移动路由器之间的隧道。
本发明的第十方面, 提供一种网络设备, 包括:
接收模块, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息;
发送模块, 用于通过与目的节点的当前移动路由器之间的隧道将第一处 理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处理数据 包为所述网络设备通过对所述第一数据包进行处理得到的。
结合第十方面, 在第一种可能的实现方式中, 所述接收模块还用于: 接 收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信息 中包括是否开启路由控制的指示信息。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述网络设 备还包括第四建立模块, 用于: 若所述路由控制策略信息中的所述指示信息 表明开启路由控制, 则与所述目的节点的当前移动路由器之间建立隧道, 并 将所述路由控制策略信息更新到所述目的节点的当前移动路由器。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述网络设 备还包括第四拆除模块, 用于: 若所述路由控制策略信息中的所述指示信息 表明不开启路由控制, 则拆除与所述目的节点的当前移动路由器之间的隧道。
结合第十方面或第一种可能的实现方式至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 所述网络设备还包括第 四拆除模块, 用于: 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由器之间的隧道。
本发明的第十一方面, 提供一种移动路由器, 包括:
第一存储器, 用于存储指令;
第一接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包; 若判断为是, 则根据所述路由策略信息中的家乡地址的状态信息, 将所 述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点; 获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数据包发 送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路由器将 所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所 述指定路由节点通过对所述第一数据包进行处理得到的;
第一处理器, 用于执行所述指令, 根据路由控制策略信息判断是否开启 对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由 控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由 控制策略信息中还包括家乡地址的状态信息。
结合第十一方面, 在第一种可能的实现方式中, 所述表明开启路由控制 是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制 是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第十一方面或第一种可能的实现方式至第三种可能的实现方式中的 任一种可能的实现方式, 在第四种可能的实现方式中, 所述第一处理器具体 用于: 执行所述指令, 检测与所述指定路由节点的隧道是否存在, 及当检测 确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由节点的隧道; 所述第一接口具体用于: 将所述第一数据包通过与所述指定路由节点的 隧道发送给所述指定路由节点。
结合第十一方面或第一种可能的实现方式至第四种可能的实现方式中的 任一种可能的实现方式, 在第五种可能的实现方式中, 所述第一处理器具体 用于: 执行所述指令, 判断是否已建立与所述目的节点的当前移动路由器之 间的隧道, 及如果未建立与所述目的节点的当前移动路由器之间的隧道, 则 建立与所述目的节点的当前移动路由器之间的隧道;
所述第一接口具体用于: 通过与所述目的节点的当前移动路由器之间的 隧道将所述第一处理数据包发送给所述目的节点的当前移动路由器。
结合第十一方面或第一种可能的实现方式至第五种可能的实现方式中的 任一种可能的实现方式,在第六种可能的实现方式中,所述第一接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 所述第一处 理器还用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息 中的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由 控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧 道。
结合第六种可能的实现方式, 在第八种可能的实现方式中, 所述第一处 理器具体用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信 息中的所述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的隧 道。
结合第六种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式, 在第九种可能的实现方式中, 所述第一接口还用于: 将所述路由 控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据 所述路由控制请求中包括的信息更新本地存储的信息。
本发明的第十二方面, 提供一种网络设备, 包括:
第二存储器, 用于存储指令;
第二接口, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息; 及,将第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN 的移动路由器将所述第一处理数据包发送给目的节点的当前移动路由器; 第二处理器, 用于执行所述指令, 对所述第一数据包进行处理获得所述 第一处理数据包。
结合第十二方面, 在第一种可能的实现方式中, 所述第二接口还用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信 息中包括开启路由控制的指示信息, 及家乡地址的状态信息。
结合第十二方面,在第二种可能的实现方式中,所述第二处理器还用于: 执行所述指令, 根据所述 MN的移动路由器发送的建立请求, 与所述 MN的 移动路由器之间建立隧道。
结合第十二方面,在第三种可能的实现方式中,所述第二处理器还用于: 执行所述指令, 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除 与所述源移动路由器之间的隧道。
本发明的第十三方面, 提供一种移动路由器, 包括:
第三存储器, 用于存储指令;
第三接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包, 根据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所 述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信 息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的 状态信息; 及, 根据所述路由策略中的家乡地址的状态信息, 将备份的第一 数据包发送至所述指定路由节点, 及通过与目的节点的当前移动路由器之间 的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过所 述目的节点的当前移动路由器将所述第一数据包发送给所述目的节点;
第三处理器, 用于执行所述指令, 若判断为是, 将所述第一数据包进行 备份。
结合第十三方面, 在第一种可能的实现方式中, 所述表明开启路由控制 是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制 是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第十三方面或第一种可能的实现方式至第三种可能的实现方式中的 任一种可能的实现方式, 在第四种可能的实现方式中, 所述第三处理器具体 用于: 执行所述指令, 判断是否已建立与所述目的节点的当前移动路由器之 间的隧道, 及, 如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道;
所述第三接口具体用于: 通过与所述目的节点的当前移动路由器之间的 隧道将所述第一数据包发送给所述目的节点的当前移动路由器。
结合第十三方面或第一种可能的实现方式至第四种可能的实现方式中的 任一种可能的实现方式,在第五种可能的实现方式中,所述第三接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。 结合第五种可能的实现方式, 在第六种可能的实现方式中, 所述第三接 口具体用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移 动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动 节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的 信息。
本发明的第十四方面, 提供一种移动路由器, 包括:
第四存储器, 用于存储指令;
第四接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包, 及若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将所述 第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一 处理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节点的 当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第 一处理数据包为所述指定路由节点通过对所述第一数据包进行处理获得的; 第四处理器, 用于执行所述指令, 根据路由控制策略信息判断是否开启 对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由 控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由 控制策略信息中还包括家乡地址的状态信息。
结合第十四方面, 在第一种可能的实现方式中, 所述表明开启路由控制 是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制 是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述路由控 制策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述指示信 息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
结合第十四方面或第一种可能的实现方式至第三种可能的实现方式中的 任一种可能的实现方式, 在第四种可能的实现方式中, 所述第四处理器具体 用于: 执行所述指令, 检测与所述指定路由节点的隧道是否存在, 及, 当检 测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由节点的隧 道;
所述第四接口具体用于: 将所述第一数据包通过与所述指定路由节点的 隧道发送给所述指定路由节点。
结合第十四方面或第一种可能的实现方式至第四种可能的实现方式中的 任一种可能的实现方式,在第五种可能的实现方式中,所述第四接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
结合第五种可能的实现方式, 在第六种可能的实现方式中, 所述第四处 理器还用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息 中的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由 控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧 道。
结合第六种可能的实现方式, 在第七种可能的实现方式中, 所述第四接 口还用于: 根据所述路由控制请求携带的路由控制策略信息中的指示信息、 及所述目的节点的当前移动路由器的地址, 向所述目的节点的当前移动路由 器发送路径切换指令, 以使所述目的节点的当前移动路由器建立所述目的节 点的当前移动路由器与所述指定路由节点之间的隧道, 及使所述目的节点的 当前移动路由器拆除所述目的节点的当前移动路由器与所述移动节点的当前 移动路由器之间的隧道。
结合第五种可能的实现方式至第七种可能的实现方式中的任一种可能的 实现方式, 在第八种可能的实现方式中, 所述第四处理器还用于: 执行所述 指令, 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明 不开启路由控制, 则拆除与指定路由节点之间的隧道。
结合第五种可能的实现方式至第八种可能的实现方式中的任一种可能的 实现方式, 在第九种可能的实现方式中, 所述第四接口还用于: 将所述路由 控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据 所述路由控制请求中包括的信息更新本地存储的信息。
结合第五种可能的实现方式至第九种可能的实现方式中的任一种可能的 实现方式, 在第十种可能的实现方式中, 所述第四接口还用于: 若所述路由 控制请求携带的路由控制策略信息中的所述指示信息表明不开启路由控制, 向所述目的节点的家乡位置管理器请求获得所述目的节点的当前移动路由器 的地址; 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目 的节点的当前移动路由器根据所述路径切换指令建立所述目的节点的当前移 动路由器与所述移动节点的当前移动路由器之间的隧道。
本发明的第十五方面, 提供一种网络设备, 包括:
第五存储器, 用于存储指令
第五接口, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息;
第五处理器, 用于执行所述指令, 控制所述第五接口通过与目的节点的 当前移动路由器之间的隧道将第一处理数据包发送给所述目的节点的当前移 动路由器; 其中, 所述第一处理数据包为所述网络设备通过对所述第一数据 包进行处理得到的。
结合第十五方面, 在第一种可能的实现方式中, 所述第五接口还用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信 息中包括是否开启路由控制的指示信息。
结合第一种可能的实现方式, 在第二种可能的实现方式中, 所述第五处 理器还用于: 执行所述指令, 若所述路由控制策略信息中的所述指示信息表 明开启路由控制, 则与所述目的节点的当前移动路由器之间建立隧道, 并将 所述路由控制策略信息更新到所述目的节点的当前移动路由器。
结合第一种可能的实现方式, 在第三种可能的实现方式中, 所述第五处 理器还用于: 执行所述指令, 若所述路由控制策略信息中的所述指示信息表 明不开启路由控制, 则拆除与所述目的节点的当前移动路由器之间的隧道。
结合第十五方面或第一种可能的实现方式至第三种可能的实现方式中的 任一种可能的实现方式, 在第四种可能的实现方式中, 所述第五处理器还用 于: 执行所述指令, 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由器之间的隧道。
本发明实施例中包括所述路由控制策略信息, 所述路由控制策略信息可 以用于指示是否开启路由控制, 在获得所述 MN转发的来自所述第一家乡地 址的数据包后, 如果确定开启路由控制, 则可以根据所述路由控制策略信息 中包括的所述家乡地址的状态信息, 将所述第一数据包先发送给所述指定路 由节点, 之后再将所述指定路由节点处理过的所述第一处理数据包发送到目 的节点,这样,所述第一数据包可以在发送的过程中经历一个指定网络节点, 该指定网络节点可以对所述第一数据包进行一些处理, 解决了现有技术中无 法在发送过程中令数据到达指定网络节点的技术问题, 且采用本发明实施例 中的方法后, 所述第一数据包是直接到达指定网络节点, 经过处理后再直接 发送给目的节点, 相当于还是在进行路由优化, 无需像现有技术中没有进行 路由优化一般要经历多个节点, 所述第一数据包经历的路径比较优化, 在途 中的出错几率较小。 附图说明
图 1为现有技术中 DMM路由优化示意图;
图 2为本发明实施例中第一种数据包发送方法的主要流程图;
图 3为本发明实施例中第二种数据包发送方法的主要流程图;
图 4为本发明实施例中 IP粒度时开启路由控制时的第一种示意图; 图 5为本发明实施例中 IP粒度时开启路由控制、 且 MN移动时的第一种 示意图;
图 6为本发明实施例中 IP粒度时开启路由控制、 且目的节点移动时的第 一种示意图;
图 7A为本发明实施例中 IP粒度时不开启路由控制时的第一种示意图; 图 7B为本发明实施例中 MN粒度时开启路由控制时的第一种示意图; 图 8为本发明实施例中 MN粒度时开启路由控制、 且 MN移动时的第一 种示意图;
图 9为本发明实施例中 MN粒度时不开启路由控制时的第一种示意图; 图 10为本发明实施例中第三种数据包发送方法的主要流程图; 图 11为本发明实施例中 IP粒度时开启路由控制时的第二种示意图; 图 12为本发明实施例中 IP粒度时开启路由控制、 且 MN移动时的第二 种示意图;
图 13为本发明实施例中 IP粒度时不开启路由控制时的第二种示意图; 图 14为本发明实施例中 MN粒度时开启路由控制时的第二种示意图; 图 15为本发明实施例中 MN粒度时开启路由控制、且 MN移动时的第二 种示意图;
图 16为本发明实施例中 MN粒度时不开启路由控制时的第二种示意图; 图 17为本发明实施例中第四种数据包发送方法的主要流程图;
图 18为本发明实施例中第五种数据包发送方法的主要流程图;
图 19为本发明实施例中 IP粒度时开启路由控制时的第三种示意图; 图 20为本发明实施例中 IP粒度时开启路由控制、 且 MN移动时的第三 种示意图;
图 21为本发明实施例中 IP粒度时开启路由控制、且目的节点移动时的第 三种示意图;
图 22为本发明实施例中 IP粒度时不开启路由控制时的第三种示意图; 图 23为本发明实施例中 MN粒度时开启路由控制时的第三种示意图; 图 24为本发明实施例中 MN粒度时开启路由控制、、 且 MN移动时的第 三种示意图;
图 25为本发明实施例中 MN粒度时不开启路由控制时的第三种示意图; 图 26为本发明实施例中为 MN服务的移动路由器的一种结构图; 图 27为本发明实施例中指定路由节点的一种结构图;
图 28为本发明实施例中为 MN服务的移动路由器的一种结构图; 图 29为本发明实施例中为 MN服务的移动路由器的一种结构图; 图 30为本发明实施例中指定路由节点的一种结构图;
图 31为本发明实施例中为 MN服务的移动路由器的一种结构示意图; 图 32为本发明实施例中指定路由节点的一种结构示意图;
图 33为本发明实施例中为 MN服务的移动路由器的一种结构示意图; 图 34为本发明实施例中为 MN服务的移动路由器的一种结构示意图; 图 35为本发明实施例中指定路由节点的一种结构示意图。 具体实施方式
本发明实施例中的一种数据包发送方法可以应用于移动路由器, 所述方 法可以包括: 获得移动节点 MN转发的来自第一家乡地址的第一数据包, 根 据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由 控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明 开启路由控制的情况下, 所述路由控制策略信息还包括家乡地址的状态信息; 若判断是, 则根据所述路由策略信息中的家乡地址的状态信息, 通过与指定 路由节点之间的隧道将所述第一数据包发送至所述指定路由节点; 获得所述 指定路由节点返回的第一处理数据包, 并将所述第一处理数据包发送给目的 节点的当前移动路由器, 以通过所述目的节点的当前移动路由器将所述第一 处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所述指定路 由节点通过对所述第一数据包进行处理获得的。
本发明实施例中包括所述路由控制策略信息, 所述路由控制策略信息可 以用于指示是否开启路由控制, 在获得所述 MN转发的来自所述第一家乡地 址的数据包后, 如果确定开启路由控制, 则可以根据所述路由控制策略信息 中包括的所述家乡地址的状态信息, 将所述第一数据包先发送给所述指定路 由节点, 之后再将经所述指定路由节点处理过的第一处理数据包发送到目的 节点, 这样, 所述第一数据包可以在发送的过程中经历一个指定网络节点, 该指定网络节点可以对所述第一数据包进行一些处理, 解决了现有技术中无 法在发送过程中令数据到达指定网络节点的技术问题, 且采用本发明实施例 中的方法后, 所述第一数据包是直接到达指定网络节点, 经过处理后再直接 发送给目的节点, 相当于还是在进行路由优化, 无需像现有技术中没有进行 路由优化一般要经历多个节点, 所述第一数据包经历的路径比较优化, 在途 中的出错几率较小。
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 本文中描述的技术可用于各种通信系统, 例如当前 2G, 3G通信系统和 下一代通信系统, 例如全球移动通信系统(GSM, Global System for Mobile communications ), 码分多址 ( CDMA, Code Division Multiple Access ) 系统, 时分多址 (TDMA , Time Division Multiple Access ) 系统, 宽带码分多址 ( WCDMA, Wideband Code Division Multiple Access Wireless ), 频分多址 ( FDMA , Frequency Division Multiple Addressing ) 系统, 正交频分多址 ( OFDMA, Orthogonal Frequency-Division Multiple Access ) 系统, 单载波 FDMA ( SC-FDMA ) 系统, 通用分组无线业务( GPRS , General Packet Radio Service ) 系统, 长期演进(LTE, Long Term Evolution ) 系统, 以及其他此类 通信系统。
另外, 本文中术语"系统"和"网络"在本文中常被可互换使用。本文中术语 "和 /或", 仅仅是一种描述关联对象的关联关系, 表示可以存在三种关系, 例 如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三 种情况。 另外, 本文中字符" /", 一般表示前后关联对象是一种"或"的关系。
本发明实施例中, 为了方便描述, MN的 XX, 可以是指为所述 MN提供 服务的 XX, 同理, 目的节点的 XX,也是指为所述目的节点提供服务的 XX。 例如, MN的移动路由器, 具体可以是指为 MN提供服务的移动路由器, 例 如可以是 MN的家乡移动路由器, 或者也可以是 MN的当前移动路由器, 目 的节点的移动路由器, 具体可以是指为目的节点提供服务的移动路由器, 例 如可以是目的节点的家乡移动路由器, 或者也可以是目的节点的当前移动路 由器, 等等。 一般情况下, 都会写为 MN的家乡 XXX, 例如 MN的家乡位置 管理器等, MN的当前 XXX, 例如 MN的当前移动路由器等, 目的节点的家 乡 XXX, 例如目的节点的家乡位置管理器等, 目的节点的当前 XXX, 例如目 的节点的当前移动路由器等。 其中, MN的当前移动路由器可以是指 MN 当 前附着的移动路由器, MN的当前位置管理器可以是指为所述 MN 当前附着 的移动路由器提供服务的位置管理器, 目的节点也是同理。
较佳的, 本发明实施例中, 目的节点也可以是 MN, —般情况下, 目的节 点也可以称为 CN ( Correspondent Node , 通信节点), 但本发明实施例中为避 免与核心网 ( core network, CN ) 的概念产生混淆, 均称为目的节点。
在本发明实施例的描述过程中, 凡是 MN, 均可以理解为源节点, 作为目 的节点的 MN则直接称为目的节点。
其中, 家乡位置管理器一般负责收集存储相应网络节点的位置、 状态等 信息。
本发明实施例中, 所述指定路由节点可以是路由器, 例如具体可以是移 动路由器, 或者也可以是固定路由器。 或者, 所述指定路由节点也可以是其 他类型的网络设备, 例如是一些专用网络设备, 如监听设备、 计费设备, 等 等, 本发明不做限制。
下面结合说明书附图对本发明实施例作进一步详细描述。
本发明的第一方面:
请参见图 2, 本发明实施例提供一种数据包发送方法, 所述方法可以应用 于移动路由器,此处的移动路由器是指所述 MN的移动路由器,即为所述 MN 提供服务的移动路由器。 所述方法的主要流程如下:
步骤 201 : 获得 MN转发的来自第一家乡地址的第一数据包,根据路由控 制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略 信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由 控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息。
步骤 202:若判断是,则根据所述路由策略信息中的家乡地址的状态信息, 通过与所述指定路由节点之间的隧道将所述第一数据包发送至所述指定路由 节点。
步骤 203: 获得所述指定路由节点返回的第一处理数据包, 并将所述第一 处理数据包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前 移动路由器将所述第一处理数据包发送给所述目的节点。
本发明实施例中, 所述家乡地址的状态信息中例如可以包括所述指定路 由节点的地址信息。 本发明实施例中, 目的节点的当前移动路由器是指为目的节点提供服务 的当前移动路由器, 其中, 本发明实施例中, "当前移动路由器", 是指当前附 着的移动路由器, 具体到目的节点的当前移动路由器, 就是指目的节点当前 附着的移动路由器。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 具 体的, 所述路由控制策略信息中包括的家乡地址的状态信息, 可以是包括在 所述指示信息中。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 在步骤 202 中, 将所述第一数据包通过与所 述指定路由节点之间的隧道发送至所述指定路由节点, 包括: 检测与所述指 定路由节点的隧道是否存在; 当检测确定与所述指定路由节点的隧道存在时, 将所述第一数据包通过与所述指定路由节点的隧道发送给所述指定路由节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由节点 的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给所述指 定路由节点。
也就是说, 在将所述第一数据包发送给所述指定路由节点之前, 可以首 先进行检测, 如果检测确定与所述指定路由节点之间的隧道存在, 再将所述 第一数据包发送给所述指定路由节点, 这样可以尽量保证所述第一数据包发 送成功, 避免丟包。
较佳的, 本发明实施例中, 在步骤 202 中, 通过与目的节点的当前移动 路由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 包括: 判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果 已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所述目的节 点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述目的节点 的当前移动路由器; 如果未建立与所述目的节点的当前移动路由器之间的隧 道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通过与所述目 的节点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述目的 节点的当前移动路由器。
也就是说, 在将所述第一处理数据包发送给所述目的节点的当前移动路 由器之前, 可以首先进行检测, 如果检测确定与所述目的节点的当前移动路 由器之间的隧道存在, 再将所述第一处理数据包发送给所述指定路由节点, 这样可以尽量保证所述第一处理数据包发送成功, 避免丟包。
较佳的, 本发明实施例中, 在步骤 201 之前, 还可以包括: 接收路由控 制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 在接收到所述路由控制请求之后, 还可以包 括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明开 启路由控制, 则根据所述路由控制请求携带的路由控制策略信息中的家乡地 址的状态信息, 建立与所述指定路由节点之间的隧道, 从而步骤 202 中才能 根据与所述指定路由节点之间的隧道将所述第一数据包发送给所述指定路由 节点。
较佳的, 本发明实施例中, 在接收到所述路由控制请求之后, 还可以包 括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不 开启路由控制, 则拆除与所述指定路由节点之间的隧道, 这样可以避免后续 数据包继续走所述指定路由节点的路径。
较佳的, 本发明实施例中, 在接收到所述路由控制请求之后, 还可以包 括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的 家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家 乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
本发明的第二方面:
请参见图 3 , 本发明实施例提供一种数据包发送方法, 所述方法的主要流 程如下: 步骤 301 :指定路由节点接收来自移动节点 MN的移动路由器的第一数据 包; 所述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开 启对所述第一数据包的路由控制后通过与指定路由节点的隧道发送来的, 所 述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信 息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的 状态信息。
步骤 302:所述指定路由节点对所述第一数据包进行处理获得第一处理数 据包。
步骤 303:所述指定路由节点将处理后的所述第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的移动路由器将所述第一处理数据包发送 给目的节点的当前移动路由器。
较佳的, 本发明实施例中, 在步骤 301 之前, 即在所述指定路由节点接 收来自所述 MN的所述第一数据包之前, 还可以包括: 所述指定路由节点接 收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信息 中包括开启路由控制的指示信息, 及家乡地址的状态信息。 此时, 所述 MN 的移动路由器可以是指所述 MN的家乡移动路由器,或者也可以是指所述 MN 的当前移动路由器。
较佳的, 本发明实施例中, 在步骤 301 之前, 即在所述指定路由节点接 收来自所述 MN的所述第一数据包之前, 还可以包括: 所述指定路由节点根 据所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路由器之间建 立隧道。 即, 所述 MN的移动路由器与所述指定路由节点之间的隧道, 可以 是由所述 MN的移动路由器来建立, 或者也可以是由所述 MN的移动路由器 向所述指定路由节点发送所述建立请求, 由所述指定路由节点来建立。
较佳的, 本发明实施例中, 所述方法还可以包括: 在所述 MN从源移动 路由器移动到目标移动路由器后, 所述指定路由节点拆除与所述源移动路由 器之间的隧道。
例如, 所述 MN原来附着在移动路由器 1 , 现在移动到了移动路由器 2, 则所述指定路由节点可以拆除与所述移动路由器 1 之间的隧道, 以避免数据 包发送错误。
针对图 2和图 3中的两种数据包发送方法,以下介绍几种具体的实施例。 其中,本申请中的所有实施例, C-MR表示当前附着的移动路由器, H-MR 表示家乡移动路由器, H-LM表示家乡位置管理器, C-LM表示当前位置管理 器, HoA表示家乡地址, MN表示移动节点。
需要说明的是,本发明的实施例一至实施例二十五中, 1表示所述 MN的 家乡位置管理器, 其中, 如果所述 MN有两个家乡位置管理器, 则图中的两 个 1分别表示所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管 理器。 2表示所述 MN的家乡移动路由器, 其中, 如果所述 MN有两个家乡 移动路由器,则图中的两个 2表示所述 MN的第一家乡移动路由器和所述 MN 的第二家乡移动路由器。 3表示所述 MN的当前移动路由器, 4表示所述 MN 的下一个附着的移动路由器(即 Next-MR ), 在一些实施例中, 所述 MN的下 一个附着的移动路由器也是所述 MN的当前移动路由器。 5表示目的节点 1 的当前移动路由器, 6表示目的节点 2的当前移动路由器, 7表示 MN, 8表 示目的节点 1 , 9表示目的节点 2, 10表示所述指定路由节点。且所有的图中, 管道状的连接线表示隧道。
一、 IP粒度
实施例一
请参见图 4。 MN附着在 MN的当前移动路由器上, 所述 MN的当前移动路 由器为 MN新分配家乡地址, 例如表示为 Ho A2 , MN 的旧家乡地址, 例如表 示为 HoAl , 为所述 MN的家乡移动路由器所分配。
MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请求中 包括有所述路由控制策略信息,例如,其中所述路由控制请求中包括 {MNID、 MN— AnchorlDl— Status— Open 、 HoAl 、 AnchorlDl ,
HoA 1— AnchorlD 1—Status— Open}等参数, 所述路由控制请求的发送方可以是 OAM ( Operation Administration and Maintenance , 操作, 管理, 维护) , 或合 法监听实体, 或其他网元。
其 中 , MNID表示在 DMM 网 络中 所述 MN的唯一标识 。 MN— AnchorlDx— Status 表 示 所 述 MN 的 状 态 信 息 , 其 中 , MN— AnchorlDx— Status— Open表示对该 MN所有的数据进行路由优化, 不开启 MN的数据路由控制, MN— AnchorlDx— Status— Close表示不对该 MN所有的数据 进行路由优化, 并将数据路由到指定网络节点, 开启 MN的数据路由控制。 AnchorlDx表示所述指定路由节点的标识, 通常表示为 IP地址, 当有多个指定 路由节点时, 可以用 X来区分。 HoAx表示 MN的家乡移动路由器为所述 MN分 配的家乡地址, 一般表示为 IP地址, 当为 MN分配多个家乡地址时, 可以用 X 来区分。 Ho Ax— AnchorlDx— Status表示所述家乡地址的状态信息, 其中, HoAx— AnchorlDx— Status— Open表示开启路由控制, 路由路径经过所述指定路 由节点, HoAx— AnchorlDx— Status— Close表示不开启路由控制, 路由路径不经 过所述指定路由节点。请参见表 1 ,本发明的所有实施例都围绕表 1进行说明。 其中, 本发明实施例都分为 IP粒度和 MN粒度进行说明:
Figure imgf000039_0001
Figure imgf000039_0002
节点, 即开启路由控制 从表 1中可以看出, 所述路由控制策略信息表明开启路由控制。
所述 MN的当前移动路由器将其存储的路由优化状数据结构参数与所述 路由控制请求中的 ( MNID 、 MN— AnchorlDl— Status— Open 、 HoAl 、 AnchorlDl , HoAl— AnchorlDl— Status— Open )等参数进行比较, 如果一致则忽 略该路由控制请求, 如果不一致, 则将所述路由控制请求中的各参数更新到 所述 MN的当前移动路由器中。 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权通过则将该路由请求消息发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的家乡移 动路由器, 并将所述路由控制请求中的各参数值更新到所述 MN的家乡移动路 由器。
所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的家乡位 置管理器, 并将所述路由控制请求中的各参数值更新到所述 MN的家乡位置管 理器。
所述 MN的当前移动路由器根据接收到的所述路由控制请求中, MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open的值, 建立与 所述指定路由节点之间的隧道, 同时将所述路由控制策略信息更新到所述指 定路由节点中。
当所述 MN的当前移动路由器接收到来自所述第一家乡地址(例如表示为 HoAl ) 的 数 据 时 , 所 述 MN 的 当 前 移 动 路 由 器 检 测 MN— AnchorlDl— Status— Open 和 HoAl— AnchorlDl— Status— Open的值, 才艮据所 述家乡地址的状态信息,将该数据包通过所述 MN的当前移动路由器与所述指 定路由节点之间的隧道发往所述指定路由节点。
当所述指定路由节点接收到所述 MN的当前移动路由器发来的数据包后, 再将处理数据包返回所述 MN的当前移动路由器,期间所述指定路由节点可以 对该数据包进行一些特定的操作, 如合法监听、 计费等, 从而获得该处理数 据包。
如果所述 MN的当前移动路由器与目的节点的当前移动路由器之间的隧 道存在, 当所述 MN的当前移动路由器接收到所述 MN发送的来自所述第一家 乡地址的数据包时, 可以根据之前的步骤发送到所述指定路由节点。 当所述 MN的当前移动路由器接收到所述指定路由节点返回的该处理数据包时,通过 所述 MN的当前移动路由器与目的节点的当前移动路由器间隧道将该处理数 据包发送到所述目的节点的当前移动路由器, 最后到达目的节点。 例如, 该 目的节点为众多目的节点中的一个, 则将该目的节点表示为目的节点 1。
如果所述 MN的当前移动路由器与所述目的节点 1的当前移动路由器之间 的隧道不存在, 当所述 MN的当前移动路由器接收到所述指定路由节点返回的 该处理数据包时, 所述 MN的当前移动路由器建立与所述目的节点 1的当前移 动路由器之间的隧道。
此时, 来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器路 由到所述指定路由节点,再由所述指定路由节点处理后返回到所述 MN的当前 移动路由器, 最后通过所述 MN的当前移动路由器将处理数据包发送到所述目 的节点 1的当前移动路由器, 到达目的节点 1。 而因为 MN的其他数据继续开启 路由优化, 因此来自第二家乡地址(例如表示为 HoA2 ) 的数据包不受影响, 继续通过所述 MN的当前移动路由器直接发送到目的节点 2的当前移动路由器。
此时, 可能会涉及到所述 MN是否进行移动的问题。
实施例二
请参见图 5。 当所述 MN进行移动, 附着到 Next-MR时, 此时, 该 Next-MR 就可以成为所述 MN的当前移动路由器,所述 MN的当前移动路由器向所述 MN 的家乡位置管理器发送位置更新 (LU ) 消息, 所述位置更新消息中包含有 ( MNID , Next-MR的地址)等参数, 将所述 MN当前附着的 Next-MR的地址 等信息更新到所述 MN的家乡位置管理器中。 所述 MN的家乡位置管理器接收到所述 LU消息, 将所述 LU消息中的信息 更新到所述 MN的家乡位置管理器中, 向所述 MN的当前移动路由器返回位置 确认( LUA M言息,所述 LUA消息中包括 MN路由优化状态信息中的所有参数, 即包括所述路由控制策略信息。
所述 MN的当前移动路由器检测到自己为 MN当前附着的移动路由器, 建 立与所述 MN的家乡移动路由器间隧道。 在 DMM路由优化场景中, 所述 MN当 前附着的网络节点 (即所述 MN的当前移动路由器)始终要与所述 MN的家乡 网络节点 (即所述 MN的家乡移动路由器)保持一条隧道。
所述 MN的家乡移动路由器判断 MN路由优化状态信息中所述 MN当前附 着 MR为 Next-MR,且所述 MN的家乡移动路由器与 Next-MR之间的隧道已建立 , 则所述 MN的家乡移动路由器拆除所述 MN的家乡移动路由器与所述 MN的上 一个附着的移动路由器之间的隧道。
所述 MN的当前移动路由器接收到来自所述第一家乡地址的数据包, 根 据 MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open的值, 建立 与所述指定路由节点之间的隧道。 同时将 MN路由优化状态信息参数, 即将所 述路由控制策略信息更新到所述指定路由节点中。
此时, 当所述 MN的当前移动路由器接收到所述 MN发送的来自所述第一 家乡地址的数据包时, 所述 MN的当前移动路由器将该数据包通过所述 MN的 当前移动路由器与所述指定路由节点之间的隧道发往所述指定路由节点。
当所述指定路由节点接收到所述 MN的当前移动路由器发来的数据包后, 再将处理数据包返回所述 MN的当前移动路由器,期间所述指定路由节点可以 对该数据包进行一些特定的操作,如合法监听、计费等,获得该处理数据包。
所述指定路由节点判断所述 MN当前附着在所述 MN的当前移动路由器上, 已离开所述 MN上一个附着的移动路由器, 则所述指定路由节点拆除所述指定 路由节点与所述 MN上一个附着的移动路由器之间的隧道。
如果所述 MN的当前移动路由器与目的节点 1的当前移动路由器之间的隧 道存在, 当所述 MN的当前移动路由器接收到所述指定路由节点返回的该处理 数据包时, 通过所述 MN的当前移动路由器与目的节点 1的当前移动路由器之 间的隧道将该处理数据包发送到目的节点 1的当前移动路由器, 由目的节点 1 的当前移动路由器将该处理数据包发送给目的节点 1。
如果所述 MN的当前移动路由器与目的节点 1的当前移动路由器之间的隧 道不存在, 当所述 MN的当前移动路由器接收到所述指定路由节点返回的该处 理数据包时, 所述 MN的当前移动路由器建立与目的节点 1的当前移动路由器 之间的隧道, 通过与目的节点 1的当前移动路由器之间的隧道将该处理数据包 发送到目的节点 1的当前移动路由器, 由目的节点 1的当前移动路由器将该处 理数据包发送给目的节点 1。
此时, 来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器流 经所述指定路由节点, 经所述指定路由节点处理后返回所述 MN的当前移动路 由器, 最后该处理数据包通过目的节点 1的当前移动路由器到达目的节点 1。 而因为 MN的其他数据继续开启路由优化, 因此来自第二家乡地址(例如表示 为 HoA2 ) 的数据包不受影响, 继续通过所述 MN的当前移动路由器直接发送 到目的节点 2的当前移动路由器。
除了所述 MN可能移动之外, 还可能涉及到目的节点移动的情况。
实施例三
请参见图 6。 在实施例一的基础上, 当目的节点 1发生移动并附着到 Next-MR后, 此时 Next-MR可以成为目的节点 1的当前移动路由器, 图 6中的箭 头表示目的节点 1发生了移动。 目的节点 1的当前移动路由器接收到所述目的 节点 1要发送到所述 MN的数据包时, 可以根据该数据包目的地址, 获取所述 MN的家乡位置管理器的地址,然后向所述 MN的家乡位置管理器请求所述 MN 当前附着移动路由器的地址, 即所述 MN的当前移动路由器的地址。
目的节点 1的当前移动路由器获取所述 MN的当前移动路由器的地址后, 建立目的节点 1的当前移动路由器与所述 MN的当前移动路由器之间的隧道。
此时, 所述目的节点发往所述 MN的数据包通过所述目的节点 1的当前 移动路由器与所述 MN的当前移动路由器间隧道到达所述 MN的当前移动路 由器, 然后到达所述指定路由节点, 再由所述指定路由节点将处理数据包返 回所述 MN的当前移动路由器, 由所述 MN的当前移动路由器将该处理数据 包发送给所述 MN。其中,该处理数据包为所述指定路由节点对该数据包进行 处理后得到的。
实施例四
请参见图 7A。所述 MN的当前移动路由器接收到所述路由控制请求, 所述 路由控制请求中包括所述路由控制策略信息, 所述路由控制策略信息包括 {MNID 、 MN—AnchorIDl— Status— Open 、 HoAl 、 AnchorlDl , HoAl—AnchorlDl— Status— Close}等参数, 消息发送方可以是 OAM , 或合法监 听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的各参数进行比较, 如果比较一致则忽略该路由控制请 求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN 的当前移动路由器中。 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权 通过则将该请求消息发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数更新到所述 MN的家乡移动 路由器中。 所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的 家乡位置管理器, 同时也将所述路由控制策略信息中的各参数更新到所述 MN 家乡位置管理器中。
所述 MN的当前移动路由器根据所述路由控制策略信息确定不开启路由 控制, 则所述 MN的当前移动路由器拆除与所述指定路由节点之间的隧道。
此后, 来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器与 目的节点 1的当前移动路由器之间的优化隧道直接到达所述目的节点 1。 而因 为 MN的其他数据继续开启路由优化, 因此来自第二家乡地址 (例如表示为 HoA2 ) 的数据包不受影响, 继续通过所述 MN的当前移动路由器直接发送到 目的节点 2的当前移动路由器。 当 MN再次移动后, 流程与普通 DMM路优优化步骤一致, 当目的节点 1 发生移动后, 与实施例三中的解决方法相同, 不多赘述。
二、 MN粒度
实施例五
请参见图 7B。 本实施例中以两个家乡地址为例, 实际应用中, 经过所述 MN的可能有多个家乡地址的数据包。
MN附着在 MN的当前移动路由器上, 所述 MN的当前移动路由器为所述 MN新分配家乡地址, 可以称为第二家乡地址, 例如表示为 HoA2 , 所述 MN的 旧家乡地址, 例如表示为 HoAl , 可以称为第一家乡地址, 为所述 MN的家乡 移动路由器所分配。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息包括 {MNID、 MN— AnchorlDl— Status— Close、 AnchorlDl}等参数, 所述路由控制请求的发 送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制请求中的 (MNID、 MN— AnchorlDl— Status— Close )参数进行比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制 策略信息中的各参数更新到所述 MN的当前移动路由器中。 最后所述 MN的当 前移动路由器进行鉴权, 如果鉴权通过则将该路由控制请求分别发送到所述 MN的第一家乡移动路由器, 例如表示为 H-MR1 , 及发送到所述 MN的第二家 乡移动路由器, 例如表示为 H-MR2。
所述 MN的当前移动路由器将所述路由控制请求分别转发到所述 MN的第 一家乡移动路由器和所述 MN的第二家乡移动路由器, 并将所述路由控制策略 信息中的各参数值更新到所述 MN的第一家乡移动路由器和所述 MN的第二家 乡移动路由器中。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 所述路由控制请求发送到对应的所述 MN第一家乡位置管理器, 例如表示为 H-LM1 , 及发送到所述 MN第二家乡位置管理器, 例如表示为 H-LM2 , 并将所 述路由控制策略信息中的各参数值更新到所述 MN的第一家乡位置管理器和 所述 MN的第二家乡位置管理器中。
所述 MN的当前移动路由器根据接收到的所述路由控制请求中的 MN—AnchorIDl— Status— Close的值 , 建立与指定路由节点之间的隧道。 同时将 ΜΝ路由优化状态信息参数更新到所述指定路由节点中。
当所述 ΜΝ的当前移动路由器接收到来自所述第一家乡地址或第二家乡 地 址 的 数据 包 时 , 所 述 ΜΝ 的 当 前 移 动 路 由 器 检 测 到 MN—AnchorIDl— Status— Close , 如果所述 MN的当前移动路由器与所述指定路 由节点之间的隧道存在, 则将该数据包发往所述指定路由节点。 如果与所述 指定路由节点之间的隧道不存在, 则所述 MN的当前移动路由器建立与所述指 定路由节点之间的隧道, 之后再通过与所述指定路由节点之间的隧道将该数 据包发往所述指定路由节点。
当所述指定路由节点接收到所述 MN的当前移动路由器发来的来自所述 第一家乡地址或所述第二家乡地址的数据包后,再将处理数据包返回所述 MN 的当前移动路由器, 期间所述指定路由节点可以对该数据包进行一些特定的 操作, 如合法监听、 计费等, 从而获得该处理数据包。
当所述 MN的当前移动路由器接收到所述指定路由节点返回的来自所述 第一家乡地址的处理数据包时, 如果所述 MN的当前移动路由器与目的节点 1 的当前移动路由器之间的隧道存在, 则将该处理数据包通过与目的节点 1的当 前移动路由器之间的隧道发送到所述目的节点 1 , 如果与目的节点 1的当前移 动路由器之间的隧道不存在, 所述 MN的当前移动路由器建立与目的节点 1的 当前移动路由器之间的隧道, 然后将该处理数据包发送到所述目的节点 1。
当所述 MN的当前移动路由器接收到所述指定路由节点返回的来自所述 第二家乡地址处理数据包时,通过普通 IP路由方法将该数据包发送到目的节点 2的当前移动路由器, 不需要经过隧道。 这是因为所述 MN的当前移动路由器 为 HoA2的家乡地址, 可以不需要隧道直接发送到对端。 此时来自所述第一家乡地址或所述第二家乡地址的数据包都通过所述
MN的当前移动路由器路由到所述指定路由节点,再由所述指定路由节点处理 后返回到所述 MN的当前移动路由器, 最后通过所述 MN的当前移动路由器将 相应的处理数据包分别发送到目的节点 1的当前移动路由器和目的节点 2的当 前移动路由器, 再由目的节点 1的当前移动路由器和目的节点 2的当前移动路 由器将相应的处理数据包分别发送给目的节点 1和目的节点 2。
实施例六
请参见图 8。 本实施例为所述 MN移动的情况。
当所述 MN移动附着到 Next-MR时,此时该 Next-MR可以成为所述 MN的当 前移动路由器。 所述 MN的当前移动路由器分别向所述 MN的第一家乡位置管 理器, 例如表示为 H-LM1 , 和所述 MN的第二家乡位置管理器, 例如表示为 H-LM2 , 发送位置更新 ( LU ) 消息, 所述 LU消息中包含( MNID , Next-MR 地址)等参数, 将所述 MN的当前移动路由器的地址等信息更新到所述 MN的 第一家乡位置管理器和所述 MN的第二家乡位置管理器中。
所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器接收到 LU消息, 将所述 LU消息中所述 MN的当前移动路由器的地址分别更新到所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器中, 分别向所述 MN的当前移动路由器返回位置确认( LUA )信息, 所述 LUA消息中包括 MN 路由优化状态信息中所有参数, 即包括所述路由控制策略信息。
所述 MN的当前移动路由器检测到自己为所述 MN当前附着的移动路由器, 分别建立与所述 MN的第一家乡移动路由器, 例如表示为 H-MR1 , 和与所述 MN的第二家乡移动路由器, 例如表示为 H-MR2之间的隧道。 在 DMM路由优 化场景中, 所述 MN 当前附着的网络节点(即所述 MN的当前移动路由器)始 终与所述 MN的家乡移动路由器之间保持一条隧道, 此处所述 MN的第一家乡 移动路由器为 HoAl (第一家乡地址) 的家乡移动路由器, 所述 MN的第二家 乡移动路由器为 HoA2 (第二家乡地址) 的家乡移动路由器。
所述 MN的第一家乡移动路由器和与所述 MN的第二家乡移动路由器确定 MN路由优化状态信息中所述 MN当前附着的移动路由器为所述 MN的当前移 动路由器, 且所述 MN的第一家乡移动路由器和与所述 MN的第二家乡移动路 由器与所述 MN的当前移动路由器之间的隧道均已建立, 所述 MN的第一家乡 移动路由器和与所述 MN的第二家乡移动路由器分别拆除所述 MN的第一家乡 移动路由器和与所述 MN的第二家乡移动路由器与所述 MN的当前移动路由器 之间的隧道。
当所述 MN的当前移动路由器接收到所述 MN发送的来自所述第一家乡地 址或所述第二家乡地址的数据包, 所述 MN的当前移动路由器根据 MN—AnchorIDl— Status— Close的值, 首先检测所述 MN的当前移动路由器与指 定路由节点之间的隧道是否存在, 如果与指定路由节点之间的隧道存在, 则 将该数据包发送到所述指定路由节点, 如果与指定路由节点之间的隧道不存 在, 所述 MN的当前移动路由器建立与所述指定路由节点之间的隧道, 之后通 过与所述指定路由节点之间的隧道将该数据包发送到所述指定路由节点。
所述指定路由节点接收到来自所述第一家乡地址或所述第二家乡地址的 数据包后,将处理数据包通过所述指定路由节点与所述 MN的当前移动路由器 隧道返回所述 MN的当前移动路由器, 期间, 所述指定路由节点可以对该数据 包进行一些处理, 例如合法监控、 计费等等, 从而获得该处理数据包。
所述指定路由节点检测到所述 MN当前移动附着到所述 MN的当前移动路 由器上, 同时所述指定路由节点与所述 MN的当前移动路由器之间的隧道已建 立, 则拆除所述指定路由节点与所述 MN的当前移动路由器间隧道拆除。
当所述 MN的当前移动路由器接收到从所述指定路由节点返回的来自所 述第一家乡地址或所述第二家乡地址的处理数据包时,如果所述 MN的当前移 动路由器与目的节点 1的当前移动路由器之间的隧道存在, 直接将来自所述第 一家乡地址的处理数据包通过与目的节点 1的当前移动路由器之间的隧道发 送到目的节点 1的当前移动路由器, 由目的节点 1的当前移动路由器发送给目 的节点 1。如果所述 MN的当前移动路由器与目的节点 1的当前移动路由器之间 的隧道不存在, 则所述 MN的当前移动路由器建立与目的节点 1的当前移动路 由器之间的隧道, 然后将来自所述第一家乡地址的处理数据包通过与目的节 点 1的当前移动路由器之间的隧道发送到目的节点 1。 同理, 来自所述二家乡 地址的处理数据包的处理方式与来自所述第一家乡地址的处理数据包的处理 方式相同, 不再赘述。
此时, 来自所述第一家乡地址或所述第二家乡地址的数据包均通过所述
MN的当前移动路由器流经所述指定路由节点, 经所述指定路由节点处理后得 到的处理数据包再返回所述 MN的当前移动路由器, 最后通过目的节点 1的当 前移动路由器分别到达目的节点 1和目的节点 2。
实施例七
请参见图 9。 在实施例五的基础上, 所述 MN的当前移动路由器接收到所 述路由控制请求, 所述路由控制请求中包括所述路由控制策略信息, 所述路 由控制策略信息中包括 {MNID、 MN—AnchorIDl— Status— Open}等参数, 所述 路由控制请求的发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 (MNID、 MN—AnchorIDl— Status— Open ) 参数进行比 较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由 控制策略信息中的各参数更新到所述 MN的当前移动路由器中。 之后, 所述 MN的当前移动路由器进行鉴权,如果鉴权通过则将该所述路由控制请求发送 到所述 MN的第一家乡移动路由器, 例如表示为 H-MR1 , 及发送到所述 MN的 第二家乡移动路由器, 例如表示为 H-MR2。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 所述路由控制请求发送到对应的所述 MN的第一家乡位置管理器,例如表示为 H-LM1 ,和发送到对应的所述 MN的第二家乡位置管理器,例如表示为 H-LM2。
所 述 MN根据 所 述路 由 控 制 策略信 息 中 的 ( MNID 、 MN—AnchorIDl— Status— Open )的值, 确定不开启路由控制, 拆除所述 MN的当 前移动路由器和所述指定路由节点之间的隧道。
以上几个实施例中,都是以所述 MN的当前移动路由器接收所述路由控制 请求为例,需要说明的是,接收所述路由控制请求的也可以是其他网络节点, 例如可以是所述 MN的当前位置管理器, 所述 MN的当前位置管理器接收到所 述路由控制请求后可以将所述路由控制请求发送给所述 MN的当前移动路由 器, 之后的流程与以上几个实施例相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡移动路由器,此时, 所述 MN的家乡移动路由器就相当于所述 MN的当前移动路由器, 在以上几个 实施例中, 除了无需建立与所述 MN的家乡移动路由器之间的隧道外, 其他步 骤都相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡位置管理器, 所述 MN的家乡位置管理器接收到所述路由控制请求后,将所述路由控制请求发送 给所述 MN的家乡移动路由器, 后面的步骤与接收所述路由控制请求是所述 MN的家乡移动路由器时的执行步骤相同。
本发明的第三方面:
请参见图 10, 本发明实施例提供一种数据包发送方法, 所述方法可以应 用于移动路由器, 较佳的, 此处的移动路由器是指所述 MN的移动路由器。 所述方法的主要流程如下:
步骤 1001 : 获得 MN转发的来自第一家乡地址的第一数据包, 根据路由 控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策 略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路 由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息。
步骤 1002: 若判断为是, 将所述第一数据包进行备份。
步骤 1003: 根据所述路由策略中的家乡地址的状态信息, 将备份的第一 数据包发送至所述指定路由节点, 及通过与目的节点的当前移动路由器之间 的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过所 述目的节点的当前移动路由器将所述第一数据包发送给所述目的节点。
较佳的, 本发明实施例中都分为 IP粒度和 MN粒度进行描述。 当从 IP 粒度描述时, 所述表明开启路由控制是指针对所述 MN的指定家乡地址的数 据包开启路由控制, 不开启路由控制是指不开启所述 MN的指定家乡地址的 路由控制。 当从 MN粒度描述时, 所述表明开启路由控制是指针对所述 MN 的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据 包不开启路由控制。
较佳的, 本发明实施例中, 从 IP粒度来描述, 所述路由控制策略信息中 还包括所述 MN的家乡地址,所述指示信息包括所述 MN的状态信息。其中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指所述 指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 从 MN粒度来描述, 所述指示信息包括: MN 的状态信息。
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制。 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 步骤 1003中, 通过与目的节点的当前移动路 由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 具体可以是: 判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所述目 的节点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点 的当前移动路由器; 如果未建立与所述目的节点的当前移动路由器之间的隧 道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通过与所述目 的节点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点 的当前移动路由器。
也就是说, 在发送所述第一数据包之前, 可以首先判断与所述目的节点 的当前移动路由器之间的隧道是否已建立, 确定隧道建立后再发送, 这样可 以尽量避免丟包, 保证数据包发送的成功率。
较佳的, 本发明实施例中, 在步骤 1001之前, 还可以包括: 接收路由控 制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 在接收所述路由控制请求后, 还可以包括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡 移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移 动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。 具体的, 该步骤可以发生在步骤 1001之前。
针对图 10中的数据包发送方法, 以下介绍几种具体的实施例。
一、 IP粒度
实施例八
请参见图 11。
MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请求中 包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlDl— Status— Open HoAl AnchorlDl ,
Ho A 1— AnchorlD 1—Status— Open}等参数, 所述路由控制请求的发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与所 述路由控制策略信息中的 (MNID MN— AnchorlDl— Status— Open HoAl AnchorlDl , HoAl— AnchorlDl— Status— Open )等各参数进行比较, 如果比较一 致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中 的各参数更新到 MN的当前移动路由器中。 之后, 所述 MN的当前移动路由器 进行鉴权,如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由 哭
MN的当前移动路由器将所述路由控制请求转发到所述 MN的家乡移动路 由器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡移动路 由器。
所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的家乡位 置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡位 置管理器。
当所述 MN的当前移动路由器接收到来自第一家乡地址的数据包时, 根 据是路由控制策略信息中的 MNID MN— AnchorlD 1—Status— Open Ho A 1 AnchorlDl , HoAl— AnchorlDl— Status— Open等参数, 将该数据包备份,将备份 的数据包发送到所述指定路由节点中, 其中, 所述第一家乡地址例如表示为 HoAl , 且所述 MN的当前移动路由器将原始的该数据包通过与目的节点 1的当 前移动路由器之间的隧道直接发送给所述目的节点 1的当前移动路由器。 本实 施例中, 以两个目的节点来举例, 分别为目的节点 1和目的节点 2 , 其中目的 节点 1对应于 HoAl , 目的节点 2对应于 HoA2 , HoA2表示第二家乡地址。
当所述 MN的当前移动路由器接收到来自所述第二家乡地址的数据包时, 因只对所述第一家乡地址开启路由控制, 因此所述 MN的当前移动路由器将该 数据包通过普通 IP路由直接发送到目的节点 2的当前移动路由器。 此时, 所述 MN的当前移动路由器仅将所述第一家乡地址的数据包的备份 发送到所述指定路由节点, 而来自所述第二家乡地址的数据包不受影响。
实施例九
请参见图 12 , 本实施例为所述 MN发生移动的情况。
当 MN移动附着到 Next-MR时,此时 Next-MR可以成为所述 MN的当前移动 路由器。 所述 MN的当前移动路由器向所述 MN的家乡位置管理器发送位置更 新(LU )消息, 所述 LU消息中包含(MNID, Next-MR地址)等参数, 将 MN 当前附着的 Next-MR的地址, 即将所述 MN的当前移动路由器的地址等信息更 新到所述 MN的家乡位置管理器中。
所述 MN的家乡位置管理器接收到所述 LU消息, 将所述 LU消息中的所述 MN的当前移动路由器的地址更新到所述 MN的家乡位置管理器中, 并向所述 MN的当前移动路由器返回位置确认( LUA )信息, 其中包括 MN路由优化状 态信息中所有参数, 即包括所述路由控制策略信息。
所述 MN的当前移动路由器检测到自己为所述 MN当前附着的移动路由器, 建立与所述 MN的家乡移动路由器间隧道。 在 DMM路由优化场景中, 所述 MN 当前附着的网络节点 (即所述 MN的当前移动路由器)始终要与所述 MN的家 乡网络节点 (即所述 MN的家乡移动路由器)保持一条隧道。
所述 MN的家乡移动路由器判断所述 MN路由优化状态信息中当前附着的 移动路由器为所述 MN的当前移动路由器, 且所述 MN的家乡移动路由器与所 述 MN的当前移动路由器之间的隧道已建立, 所述 MN的家乡移动路由器拆除 所述 MN的家乡移动路由器与所述 MN上一次附着的移动路由器之间的隧道。
所述 MN的当前移动路由器接收到来自第一家乡地址的数据包,例如所述 第一家乡地址表示为 HoAl。 所述 MN的当前移动路由器根据所述路由控制策 略信息中的 MNID、 MN—AnchorIDl— Status— Open、 HoAl 、 AnchorlDl , HoAl—AnchorlDl— Status— Open等参数, 将该数据包进行备份, 将备份的数据 包发送到所述指定路由节点中。 并且, 所述 MN的当前移动路由器将原数据包发送给目的节点 1的当前移 动路由器。
在发送之前, 所述 MN的当前移动路由器可以进行检测, 如果所述 MN的 当前移动路由器与目的节点 1的当前移动路由器之间的隧道存在, 所述 MN的 当前移动路由器直接将原数据包通过与所述目的节点 1的当前移动路由器之 间的隧道发送到所述目的节点 1的当前移动路由器, 由所述目的节点 1的当前 移动路由器将该数据包发送给所述目的节点 1。
如果所述 MN的当前移动路由器与所述目的节点 1的当前移动路由器之间 的隧道不存在, 则所述 MN的当前移动路由器首先建立与所述目的节点 1的当 前移动路由器之间的隧道, 然后将该数据包通过该与所述目的节点 1的当前移 动路由器之间的隧道发送到所述目的节点 1的当前移动路由器, 由所述目的节 点 1的当前移动路由器将该数据包发送给所述目的节点 1。
当所述 MN的当前移动路由器接收到来自第二家乡地址的数据包时,根据 DMM路由优化, 将该数据包通过与目的节点 2的当前移动路由器之间的隧道 发送到所述目的节点 2的当前移动路由器, 由所述目的节点 2的当前移动路由 器将该数据包发送给所述目的节点 2。
实施例十
请参见图 13。 在实施例八的基础上, 所述 MN的当前移动路由器接收到所 述路由控制请求, 所述路由控制请求中包括所述路由控制策略信息, 所述路 由控制策略信息包括 {MNID 、 MN_AnchorID 1 _Status_Open、 HoAl 、 AnchorlDl , HoAl_AnchorIDl_Status_Close}等参数, 消息发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的各参数进行比较, 如果比较一致则忽略该路由控制请 求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN 的当前移动路由器中。 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权 通过则将该请求消息发送到所述 MN的家乡移动路由器。 所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数更新到所述 MN的家乡移动 路由器中。 所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的 家乡位置管理器, 同时也将所述路由控制策略信息中的各参数更新到所述 MN 家乡位置管理器中。
所述 MN的当前移动路由器根据所述路由控制策略信息确定不开启路由 控制。
此后, 来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器与 目的节点 1的当前移动路由器之间的优化隧道直接到达所述目的节点 1 , 所述 MN的当前移动路由器不会再将数据包进行复制,也不会再发送给所述指定路 由节点。而因为 MN的其他数据继续开启路由优化,因此来自第二家乡地址(例 如表示为 HoA2 ) 的数据包不受影响, 继续通过所述 MN的当前移动路由器直 接发送到目的节点 2的当前移动路由器。
当 MN再次移动后, 流程与普通 DMM路优优化步骤一致, 当目的节点 1 发生移动后, 与实施例三中的解决方法相同, 不多赘述。
二、 MN粒度
实施例十一
请参见图 14。 所述 MN的当前移动路由器接收到所述路由控制请求, 所 述路由控制请求中包括所述路由控制策略信息, 所述路由控制策略信息包括 {MNID、 MN_AnchorIDl_Status_Close , AnchorlDl }等参数, 消息发送方可 以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 ( MNID、 MN—AnchorID 1— Status— Close、 AnchorlD 1 ) 等参数进行比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权通过则将该路由控制请 求发送到所述 MN的家乡移动路由器。 所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的第一家 乡移动路由器,例如表示为 H-MR1 ,及转发到所述 MN的第二家乡移动路由器, 例如表示为 H-MR2, 并将所述路由控制策略信息中的各参数值分别更新到所 述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器中。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 上述请求消息发送到所述 MN的第一家乡位置管理器, 例如表示为 MN H-LM 1 , 及发送到所述 MN的第二家乡位置管理器, 例如表示为 H-LM2 , 并将所述路由 控制策略信息中的各参数值分别更新到所述 MN的第一家乡位置管理器和所 述 MN的第二家乡位置管理器中。
当所述 MN的当前移动路由器接收到来自第一家乡地址或第二家乡地址 的 数据 包 时 , 根据 所 述路 由 控 制 策略信 息 中 的 MNID 、 MN— AnchorlD 1—Status— Close、 AnchorlD 1等参数, 将来自所述第一家乡地址 的数据包进行备份, 将备份的数据包发送到所述指定路由节点中, 及将原数 据包通过与第一目的节点(例如表示为目的节点 1 )的当前移动路由器之间的 隧道发送至所述目的节点 1的当前移动路由器。 对于来自所述第二家乡地址的 数据包也进行相同处理。 其中, 所述第一家乡地址例如表示为 HoAl , 所述第 二家乡地址例如表示为 HoAl。
实施例十二
请参见图 15。 当所述 MN移动附着到 Next-MR时, 此时该 Next-MR就可以 称为所述 MN的当前移动路由器。 所述 MN的当前移动路由器分别向所述 MN 的第一家乡位置管理器, 例如表示为 MN H-LM1 , 及向所述 MN的第二家乡位 置管理器, 例如表示为 H-LM2, 发送位置更新(LU )消息, 所述 LU消息中包 含(MNID, 所述 MN的当前移动路由器的地址)等参数, 将所述 MN当前附着 的 Next-MR的地址, 即所述 MN的当前移动路由器的地址等信息更新到所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器中。
所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器接收到 所述 LU消息时, 将所述 LU消息中所述 MN的当前移动路由器的信息分别更新 到所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器中, 向所 述 MN的当前移动路由器返回位置确认 ( LUA )信息, 所述 LUA信息中包括所 述路由控制策略信息中的所有参数。
所述 MN的当前移动路由器检测到自己为所述 MN当前附着的移动路由器, 分别建立与所述 MN的第一家乡移动路由器, 例如表示为 H-MR1 , 和与所述 MN的第二家乡移动路由器, 例如表示为 H-MR2, 之间的隧道。 在 DMM路由 优化场景中, 所述 MN当前附着的网络节点 (即所述 MN的当前移动路由器) 始终与所述 MN的家乡网络节点 (即所述 MN的家乡移动路由器)保持一条隧 道。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器确定所 述 MN当前附着的移动路由器为所述 MN的当前移动路由器,且所述 MN的第一 家乡移动路由器与所述 MN的当前移动路由器, 和所述 MN的第二家乡移动路 由器与所述 MN的当前移动路由器之间的隧道均已建立, 所述 MN的第一家乡 移动路由器和所述 MN的第二家乡移动路由器分别拆除所述 MN的第一家乡移 动路由器与所述 MN上一个附着的移动路由器之间的隧道, 及所述 MN的第二 家乡移动路由器与所述 MN上一个附着的移动路由器之间的隧道。
所述 MN的当前移动路由器接收到来自第一家乡地址或第二家乡地址的 数据 包 时 , 根 据 所 述路 由 控 制 策 略信 息 中 的 MNID 、 MN— AnchorlD 1—Status— Close、 AnchorlD 1等参数, 将来自所述第一家乡地址 的数据包进行备份, 将备份的数据包发送到所述指定路由节点中, 及将原数 据包通过与第一目的节点(例如表示为目的节点 1 )的当前移动路由器之间的 隧道发送至所述目的节点 1的当前移动路由器。 对于来自所述第二家乡地址的 数据包也进行相同处理。 其中, 所述第一家乡地址例如表示为 HoAl , 所述第 二家乡地址例如表示为 HoAl。
其中, 所述 MN的当前移动路由器在向所述目的节点 1的当前移动路由器 发送数据包之前, 可以首先进行检测。 如果检测确定所述 MN的当前移动路由器与所述目的节点 1的当前移动路 由器之间的隧道存在, 所述 MN的当前移动路由器直接将数据包通过与所述目 的节点 1的当前移动路由器之间的隧道发送到所述目的节点 1的当前移动路由 器, 由所述目的节点 1的当前移动路由器将该数据包发送给目的节点 1。
如果检测确定所述 MN的当前移动路由器与所述目的节点 1的当前移动路 由器之间的隧道不存在, 所述 MN的当前移动路由器建立与所述目的节点 1的 当前移动路由器之间的隧道, 然后将数据包通过与所述目的节点 1的当前移动 路由器之间的隧道发送到所述目的节点 1的当前移动路由器, 由所述目的节点 1的当前移动路由器将该数据包发送给目的节点 1。
实施例十二
请参见图 16。 在实施例十的基础上, 所述 MN的当前移动路由器接收到所 述路由控制请求, 所述路由控制请求中包括所述路由控制策略信息, 所述路 由控制策略信息包括 {MNID、 MN_AnchorID l_Status_Open }等参数, 消息发 送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的各参数进行比较, 如果比较一致则忽略该路由控制请 求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN 的当前移动路由器中。 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权 通过则将该请求消息发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数更新到所述 MN的家乡移动 路由器中。 所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的 家乡位置管理器, 同时也将所述路由控制策略信息中的各参数更新到所述 MN 家乡位置管理器中。
所述 MN的当前移动路由器根据所述路由控制策略信息确定不开启路由 控制。 此后, 经过所述 MN的数据包均通过所述 MN的当前移动路由器与目的节 点的当前移动路由器之间的优化隧道直接到达所述目的节点, 所述 MN的当前 移动路由器不会再将数据包进行复制, 也不会再发送给所述指定路由节点。
以上几个实施例中,都是以所述 MN的当前移动路由器接收所述路由控制 请求为例,需要说明的是,接收所述路由控制请求的也可以是其他网络节点, 例如可以是所述 MN的当前位置管理器, 所述 MN的当前位置管理器接收到所 述路由控制请求后可以将所述路由控制请求发送给所述 MN的当前移动路由 器, 之后的流程与以上几个实施例相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡移动路由器,此时, 所述 MN的家乡移动路由器就相当于所述 MN的当前移动路由器, 在以上几个 实施例中, 除了无需建立与所述 MN的家乡移动路由器之间的隧道外, 其他步 骤都相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡位置管理器, 所 述 MN的家乡位置管理器接收到所述路由控制请求后, 将所述路由控制请求 发送给所述 MN的家乡移动路由器, 后面的步骤与接收所述路由控制请求是 所述 MN的家乡移动路由器时的执行步骤相同。
本发明的第四方面:
请参见图 17 , 本发明实施例提供一种数据包发送方法, 所述方法可以应 用于移动路由器,较佳的,此处的所述移动路由器为所述 MN的移动路由器。 所述方法的主要流程如下:
步骤 1701 : 获得 MN转发的来自第一家乡地址的第一数据包, 根据路由 控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策 略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路 由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息。
步骤 1702:若判断为是,则根据所述路由策略中的家乡地址的状态信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由 节点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道 将第一处理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的 节点的当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所述指定路由节点通过对所述第一数据包进行处理得 到的。
较佳的, 本发明实施例中, 分为 IP粒度和 MN粒度两种方面来描述。 当 从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN的指定家乡地 址的数据包开启路由控制, 不开启路由控制是指不开启所述 MN的指定家乡 地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控制是指针对 所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的 所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 步骤 1702中, 将所述第一数据包通过与所述 指定路由节点之间的隧道发送至所述指定路由节点, 可以包括: 检测与所述 指定路由节点的隧道是否存在; 当检测确定与所述指定路由节点的隧道存在 时, 将所述第一数据包通过与所述指定路由节点的隧道发送给所述指定路由 节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路 由节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给 所述指定路由节点。
即, 在发送数据包之前, 可以首先检测与所述指定路由节点之间的隧道 是否存在, 确定隧道存在后再发送数据包, 可以尽量避免丟包。
较佳的, 本发明实施例中, 在获得 MN转发的来自第一家乡地址的第一 数据包之前, 还可以包括: 接收路由控制请求, 所述路由控制请求中包括所 述路由控制策略信息。
较佳的, 本发明实施例中, 在步骤 1701之前, 在接收所述路由控制请求 之后, 还可以包括: 若所述路由控制请求携带的所述路由控制策略信息中的 所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的所述路由 控制策略信息中的所述家乡地址的状态信息, 建立与所述指定路由节点之间 的隧道。
较佳的, 本发明实施例中, 在步骤 1701之前, 在根据所述路由控制请求 携带的路由控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节 点之间的隧道之后, 还可以包括: 根据所述路由控制请求携带的路由控制策 略信息中的指示信息、 及所述目的节点的当前移动路由器的地址, 向所述目 的节点的当前移动路由器发送路径切换指令, 以使所述目的节点的当前移动 路由器建立所述目的节点的当前移动路由器与所述指定路由节点之间的隧道, 及使所述目的节点的当前移动路由器拆除所述目的节点的当前移动路由器与 所述移动节点的当前移动路由器之间的隧道。 这样可以保证数据包通过所述 指定路由节点到达所述目的节点的当前移动路由器, 而不会通过普通优化路 由直接到达所述目的节点的当前移动路由器, 可以保证所述指定路由节点能 够对数据包进行相应处理。
较佳的,本发明实施例中,在接收所述路由控制请求之后,还可以包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不开启 路由控制, 则拆除与所述指定路由节点之间的隧道。 保证数据包通过普通优 化路由直接到达所述目的节点的当前移动路由器, 而不会再经过所述指定路 由节点。
较佳的, 本发明实施例中, 在接收到所述路由控制请求之后, 还可以包 括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的 家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家 乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
较佳的, 本发明实施例中, 在将所述第一数据包通过与所述指定路由节 点之间的隧道发送至所述指定路由节点之后, 还可以包括: 若所述路由控制 请求携带的路由控制策略信息中的所述指示信息表明不开启路由控制, 向所 述目的节点的家乡位置管理器请求获得所述目的节点的当前移动路由器的地 址; 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节 点的当前移动路由器根据所述路径切换指令建立所述目的节点的当前移动路 由器与所述移动节点的当前移动路由器之间的隧道。
本发明的第五方面:
请参见图 18 , 本发明实施例提供一种数据包发送方法, 所述方法的主要 流程如下:
步骤 1801 : 指定路由节点接收来自 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与指定路由节点的隧道发送来的, 所述路由 控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明 开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信 息。
步骤 1802: 所述指定路由节点通过与目的节点的当前移动路由器之间的 隧道将第一处理数据包发送给所述目的节点的当前移动路由器; 其中, 所述 第一处理数据包为所述指定路由节点通过对所述第一数据包进行处理得到的。
较佳的, 本发明实施例中, 在所述指定路由节点接收来自所述 MN的所 述第一数据包之前, 还可以包括: 所述指定路由节点接收所述 MN的移动路 由器发送的所述路由控制策略信息, 所述路由控制策略信息中包括是否开启 路由控制的指示信息。
较佳的, 本发明实施例中, 在所述指定路由节点接收来自所述 MN的移 动路由器的所述第一数据包之前, 还可以包括: 若所述路由控制策略信息中 的所述指示信息表明开启路由控制, 则所述指定路由节点与所述目的节点的 当前移动路由器之间建立隧道, 并将所述路由控制策略信息更新到所述目的 节点的当前移动路由器。
较佳的, 本发明实施例中, 在所述指定路由节点接收所述 MN移动路由 器发送的所述路由控制策略信息之后, 还可以包括: 若所述路由控制策略信 息中的所述指示信息表明不开启路由控制, 则所述指定路由节点拆除与所述 目的节点的当前移动路由器之间的隧道。
较佳的, 本发明实施例中, 在所述 MN从源移动路由器移动到目标移动 路由器后, 所述指定路由节点拆除与所述源移动路由器之间的隧道。
针对图 17和图 18中的两种数据包发送方法, 以下介绍几种具体的实施 例。
一、 IP粒度
实施例十三
请参见图 19。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN—AnchorIDl Status— Open 、 HoAl 、 AnchorlDl , HoAl—AnchorlDl— Status— Open}等参数, 所述路由控制请求的发送方可以是
ΟΑΜ, 或合法监听实体, 或其他网元。
所述 ΜΝ的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制请求中的 ( MNID 、 MN— AnchorlDl— Status— Open、 HoAl 、 AnchorlDl , HoAl— AnchorlDl— Status— Open )各参数进行比较, 如果一致则忽 略该路由控制请求, 如果不一致, 则将所述路由控制策略信息中的各参数更 新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴 权, 如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡移 动路由器。
所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的家乡位 置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡位 置管理器。
所述 MN的当前移动路由器根据接收到的所述路由控制策略信息中, MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open的值, 建立与 所述指定路由节点之间的隧道, 同时将所述路由控制策略信息中的各参数更 新到所述指定路由节点中。 所述指定路由节点根据更新后的所述路由控制策略信息中,
MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open的值, 建立与 目的节点 1的当前移动路由器之间的隧道, 同时将所述路由控制策略信息中的 各参数更新到所述目的节点 1的当前移动路由器。
所述目的节点 1的当前移动路由器根据更新后的所述路由控制策略信息 中, MN— AnchorlDl— Status— Open 和 HoAl— AnchorlDl— Status— Open值, 拆除 与所述 MN的当前移动路由器之间的隧道。
此时来自所述第一家乡地址的数据包路由到所述指定路由节点, 再由所 述指定路由节点对该数据包进行处理, 获得处理数据包, 所述指定路由节点 将该处理数据包发送到所述目的节点 1的当前移动路由器, 由所述目的节点 1 的当前移动路由器将该处理数据包发送给所述目的节点 1。 而来自第二家乡地 址的数据包不受影响, 继续通过所述 MN的当前移动路由器直接发送到目的节 点 2的当前移动路由器, 由所述目的节点 2的当前移动路由器将该数据包发送 给所述目的节点 2。
实施例十四
请参见图 20。
当所述 MN移动附着到 Next-MR时,此时 Next-MR可以称为所述 MN的当前 移动路由器。 所述 MN的当前移动路由器向所述 MN的家乡位置管理器发送位 置更新 ( LU ) 消息, 所述 LU消息中包含( MNID , 所述 MN的当前移动路由 器的地址)等参数, 将所述 MN的当前移动路由器的地址等信息更新到所述 MN的家乡位置管理器中。
所述 MN的家乡位置管理器接收到所述 LU消息, 向所述 MN的当前移动路 由器返回位置确认(LUA )信息, 所述 LUA信息中包括所述路由控制策略信 息。
所述 MN的当前移动路由器确定所述 MN当前附着的移动路由器为所述 MN的当前移动路由器, 建立与所述 MN的家乡移动路由器之间的隧道。
所述 MN的家乡移动路由器确定所述 MN当前附着的移动路由器为所述 MN的当前移动路由器,拆除所述 MN的家乡移动路由器与所述 MN上一个附着 的移动路由器之间的隧道。
所述 MN的当前移动路由器根据更新后的所述路由控制策略信息中, MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open值 , 建立所述 MN的当前移动路由器与所述指定路由节点间隧道, 并将所述路由控制策略 信息中的各参数更新到所述指定路由节点中。
所述指定路由节点确定所述 MN当前附着在所述 MN的当前移动路由器上, 已离开所述 MN上一个附着的移动路由器, 则拆除所述指定路由节点与所述 MN上一个附着的移动路由器之间的隧道。
此时来自第一家乡地址的数据包流经所述指定路由节点, 所述指定路由 节点将该数据包进行处理, 获得处理数据包, 所述指定路由器通过与目的节 点 1的当前移动路由器之间的隧道将该处理数据包发送给所述目的节点 1的当 前移动路由器, 由所述目的节点 1的当前移动路由器将该处理数据包发送给所 述目的节点 1。 来自第二家乡地址的数据包不受影响, 依然通过所述 MN的当 前移动路由器与目的节点 2的当前移动路由器之间的优化隧道, 到达所述目的 节点 2的当前移动路由器, 由所述目的节点 2的当前移动路由器发送给目的节 点 2。
实施例十五
请参见图 21。
当目的节点 1移动附着到 Next-MR时,此时 Next-MR可以称为所述目的 节点 1的当前移动路由器。
所述目的节点 1的当前移动路由器通过所述目的节点 1的上行包头信息 (目的地址为第一家乡地址), 获知所述 MN的家乡位置管理器的地址, 所述 目的节点 1的当前移动路由器向所述 MN的家乡位置管理器请求所述第一家 乡地址的路由控制策略信息, 所述路由控制策略信息中包括 {MNID,
MN— AnchorlDl— Status— Open, HoAl , AnchorlDl ,
Ho A 1—AnchorlD 1—Status— Open , H-MR ID , C-MR ID }。 所述 MN的家乡位置管理器返回所述路由控制策略信息。
所述目的节点 1的当前移动路由器根据获知的所述家乡地址的状态信息, 建立所述指定路由节点与所述目的节点 1的当前移动路由器之间的隧道。
所述指定路由节点拆除所述指定路由节点与所述目的节点 1的上一个附 着的移动路由器之间的隧道。
此时来自所述第一家乡地址的数据包依然流经所述指定路由节点, 经所 述指定路由节点处理后, 通过所述指定路由节点与所述目的节点 1 的当前移 动路由器之间的隧道到达所述目的节点 1的当前移动路由器。
实施例十六
请参见图 22。
所述 MN的当前移动路由器接收到路由控制请求, 所述路由控制请求中 包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID MN— AnchorlDl— Status— Open HoAl AnchorlDl ,
HoAl— AnchorlDl— Status— Close}等参数, 所述路由控制请求的发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中 ( MNID MN— AnchorlDl— Status— Open HoAl AnchorlDl , HoAl— AnchorlDl— Status— Close )参数进行比较, 如果比较一致则 忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各 参数更新到所述 MN的当前移动路由器中, 之后所述 MN的当前移动路由器进 行鉴权, 如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由 哭
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数更新到所述 MN的家乡移动 路由器中。 所述 MN的家乡移动路由器将该路由控制请求发送到所述 MN的家 乡位置管理器, 同时也将所述路由控制策略信息中的各参数更新到所述 MN的 家乡位置管理器中。 所述 MN的当前移动路由器确定所述路由控制策略信息表示不开启路由 控制, 则根据所述路由控制策略信息中的 MN— AnchorlD 1—Status— Open、 HoAl—AnchorlDl— Status— Close值 , 拆除与所述指定路由节点之间的隧道, 同 时将所述路由控制策略信息更新到所述指定路由节点中。
所述指定路由节点根据更新后的所述路由控制策略信息中的
MN— AnchorlD 1— Status— Open、 HoAl— AnchorlD 1— Status— Close值, 拆除所述 指定路由节点与目的节点 1的当前移动路由器之间的隧道。
在所述指定路由节点与目的节点 1的当前移动路由器之间的隧道拆除后, 所述 MN的当前移动路由器接收到来自所述第一家乡地址的第一个数据包,根 据该数据包中的目的地址(即目的节点 1的家乡地址) , 获知目的节点 1的家 乡位置管理器的地址, 通过向目的节点 1的家乡位置管理器请求, 获得目的节 点 1的当前移动路由器的地址, 之后, 所述 MN的当前移动路由器建立与目的 节点 1的当前移动路由器之间的优化隧道。
此后来自所述第一家乡地址的数据通过所述 MN的当前移动路由器与所 述目的节点 1的当前移动路由器间优化隧道到达所述目的节点 1 , 来自所述第 二家乡地址的数据不受影响。
实施例十七
请仍然参见图 19。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlD 1 Status— Open 、 HoAl 、 AnchorlD 1 , HoAl—AnchorlDl— Status— Open}等参数, 所述路由控制请求的发送方可以是
ΟΑΜ, 或合法监听实体, 或其他网元。
所述 ΜΝ的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制请求中的 ( MNID 、 MN— AnchorlD 1— Status— Open、 HoAl 、 AnchorlD 1 , HoAl— AnchorlD 1— Status— Open )各参数进行比较, 如果一致则忽 略该路由控制请求, 如果不一致, 则将所述路由控制策略信息中的各参数更 新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴 权, 如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡移 动路由器。
所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的家乡位 置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡位 置管理器。
所述 MN的当前移动路由器根据接收到的所述路由控制策略信息中, MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open的值, 建立与 所述指定路由节点之间的隧道, 同时将所述路由控制策略信息中的各参数更 新到所述指定路由节点中。
所述指定路由节点收到来自第一家乡地址的第一个数据包, 通过所述第 一家乡地址获知目的节点 1的家乡位置管理器的地址, 通过请求目的节点 1的 当前位置管理器获得目的节点 1的当前移动路由器的地址。
所述指定路由节点根据更新后的所述路由控制策略信息中,
MN— AnchorlD 1—Status— Open和 Ho A 1—AnchorlD 1—Status— Open的值, 以及获得 的所述目的节点 1的当前移动路由器地址, 建立所述指定路由节点与所述目 的节点 1的当前移动路由器之间的隧道, 同时将所述路由控制策略信息中的各 参数更新到所述目的节点 1的当前移动路由器中。
所述目的节点 1的当前移动路由器根据更新后的所述路由控制策略信息 中, MN— AnchorlDl— Status— Open 和 Ho A 1— AnchorlDl— Status— Open值, 拆除 与所述 MN的当前移动路由器之间的隧道。
此时来自所述第一家乡地址的数据包路由到所述指定路由节点, 由所述 指定路由节点对该数据包进行处理, 获得处理数据包, 所述指定路由节点将 该处理数据包发送到所述目的节点 1的当前移动路由器, 由所述目的节点 1的 当前移动路由器将该处理数据包发送给所述目的节点 1。 而来自第二家乡地址 的数据包不受影响,继续通过所述 MN的当前移动路由器直接发送到目的节点 2的当前移动路由器, 由所述目的节点 2的当前移动路由器将该数据包发送给 所述目的节点 2
关于 MN移动的情况, 与实施例十四类似, 不再赘述。
关于目的节点 1移动的情况, 与实施例十五类似, 不再赘述。
实施例十八
请仍然参见图 22
所述 MN的当前移动路由器接收到路由控制请求, 所述路由控制请求中 包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID MN— AnchorlDl— Status— Open HoAl AnchorlDl ,
HoAl— AnchorlDl— Status— Close}等参数, 所述路由控制请求的发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中 ( MNID MN— AnchorlDl— Status— Open HoAl AnchorlDl , HoAl— AnchorlDl— Status— Close )参数进行比较, 如果比较一致则 忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各 参数更新到所述 MN的当前移动路由器中, 之后所述 MN的当前移动路由器进 行鉴权, 如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由 哭
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数更新到所述 MN的家乡移动 路由器中。 所述 MN的家乡移动路由器将该路由控制请求发送到所述 MN的家 乡位置管理器, 同时也将所述路由控制策略信息中的各参数更新到所述 MN的 家乡位置管理器中。
所述 MN的当前移动路由器收到来自第一家乡地址的第一个数据包, 根 据 所 述 路 由 控 制 策 略 信 息 中 MN— AnchorlDl— Status— Open 和 HoAl— AnchorlDl— Status— Close的值, 向目的节点 1的家乡位置管理器请求获 得目的节点 1 的当前移动路由器的地址。
所述 MN的当前移动路由器确定所述路由控制策略信息表示不开启路由 控制, 则根据所述路由控制策略信息中的 MN— AnchorlD 1—Status— Open、 HoAl—AnchorlDl— Status— Close值 , 拆除与所述指定路由节点之间的隧道, 同 时将所述路由控制策略信息更新到所述指定路由节点中。
其中, 所述 MN的当前移动路由器收到来自第一家乡地址的第一个数据包, 根据 所 述路 由 控 制 策 略信 息 中 MN— AnchorlD 1— Status— Open和 HoAl—AnchorlDl— Status— Close的值, 向目的节点 1的家乡位置管理器请求获 得目的节点 1 的当前移动路由器的地址, 及, 所述 MN的当前移动路由器确定 所述路由控制策略信息表示不开启路由控制, 则根据所述路由控制策略信息 中的 MN— AnchorlD 1—Status— Open、 Ho A 1—AnchorlD 1—Status— Close值, 拆除 与所述指定路由节点之间的隧道, 同时将所述路由控制策略信息更新到所述 指定路由节点中之间, 顺序可以任意。
所述 MN的当前移动路由器发送路径切换指令到目的节点 1的当前移动 路由器, 所述路径切换指令中包括(MNID, HoAl , 目的节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Setup, AnchorlD 1 , Tunnel— Status— Release )。 其中, 目的节点 1 C-MR ID表示所述目的节点 1的当前移动路由器的标识, MN C-MR ID表示所述 MN的当前移动路由器的标识, Tunnel— Status表示隧 道状态信息。
所述目的节点 1的当前移动路由器根据(目的节点 1 C-MR ID, MN C-MR
ID, Tunnel— Status— Setup )等参数, 建立目的节点 1 的当前移动路由器与所 述 MN的当前移动路由器之间的隧道。
所述目的节点 1的当前移动路由器确定不开启路由控制,根据( AnchorlDl , 目的节点 1 C-MR ID, Tunnel— Status— Release )等参数, 拆除目的节点 1的当 前移动路由器与所述指定路由节点之间的隧道。
此后来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器与 所述目的节点 1的当前移动路由器之间的优化隧道直接发送到所述目的节点 1 的当前移动路由器, 由所述目的节点 1的当前移动路由器发送给所述目的节点 1 , 而来自所述第二家乡地址的数据包不受影响。
本发明所有实施例中, 凡是只提到家乡地址, 而未进一步说明是谁的家 乡地址的, 都是指所述 MN的家乡地址。
实施例十九
请仍然参见图 19。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlDl Status— Open 、 HoAl 、 AnchorlDl , HoAl— AnchorlDl— Status— Open}等参数, 所述路由控制请求的发送方可以是
ΟΑΜ, 或合法监听实体, 或其他网元。
所述 ΜΝ的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制请求中的 ( MNID、 MN— AnchorlDl— Status— Open、 HoAl 、 AnchorlDl , HoAl— AnchorlDl— Status— Open )各参数进行比较, 如果一致则忽 略该路由控制请求, 如果不一致, 则将所述路由控制策略信息中的各参数更 新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴 权, 如果鉴权通过则将该路由控制请求发送到所述 MN的家乡移动路由器。
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的家乡移 动路由器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡移 动路由器。
所述 MN的家乡移动路由器将所述路由控制请求发送到所述 MN的家乡位 置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的家乡位 置管理器。
所述 MN的 当前移动路由器根据所述路由控制策略信息中 MN_AnchorID 1—Status— Open 和 Ho A 1— AnchorlD 1—Status— Open值 , 建立所述 MN的当前移动路由器与所述指定路由节点之间的隧道。
所述 MN 的当前移动路由器根据所述路由控制策略信息中 MN— AnchorlDl— Status— Open和 HoAl— AnchorlDl— Status— Open的值, 及目的 节点 1 的当前移动路由器的地址, 发送路径切换指令到目的节点 1的当前移 动路由器, 所述路径切换指令中包括(MNID, HoAl , AnchorlDl , 目的节点 1 C-MR ID, Tunnel— Status— Setup, 目的节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Release )等参数。
目的节点 1的当前移动路由器根据 ( AnchorlDl , 目的节点 1 C-MR ID, Tunnel— Status— Setup )等参数, 建立目的节点 1的当前移动路由器与所述指定 路由节点之间的隧道。
同时,目的节点 1的当前移动路由器根据(目的节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Release )等参数, 拆除目的节点 1的当前移动路由器与所 述 MN的当前移动路由器之间的隧道。
当所述 MN发生移动时, 与实施例十四的情况类似, 不再赘述。
当所述目的节点 1发生移动时, 与实施例十五的情况类似, 不再赘述。 在不开启路由控制时, 与实施例十八的情况类似, 不再赘述。
二、 MN粒度
实施例二十
请参见图 23。
本发明所有 MN粒度的实施例中, 所述 MN都可以有多个家乡地址, 一般 都采用两个家乡地址来进行说明。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN_AnchorIDl_Status_Close , AnchorlDl }等参数, 所述路由控制请求的 发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 ( MNID、 MN—AnchorID 1— Status— Close、 AnchorlD 1 ) 等参数进行比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权通过则将该路由控制请 求分别发送到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由 哭
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的第一家 乡移动路由器和所述 MN的第二家乡移动路由器, 并将所述路由控制策略信息 中的各参数值更新到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移 动路由器中。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 所述路由控制请求发送到所述 MN的第一家乡位置管理器和所述 MN的第二家 乡位置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的第 一家乡位置管理器和所述 MN的第二家乡位置管理器中。
所述 MN的当前移动路由器根据接收到的所述路由控制策略信息中的 MN— AnchorlD 1—Status— Close与 AnchorlD 1值, 建立所述 MN的当前移动路由 器与所述指定路由节点之间的隧道, 同时将所述路由控制策略信息中的各参 数更新到所述指定路由节点中。
所 述 指 定 路 由 节 点 根据 所 述路 由 控 制 策 略信 息 中 MN— AnchorlDl— Status— Close与目的节点 1 C-MR ID值, 建立所述指定路由节 点与目的节点 1的当前移动路由器之间的隧道。
当所述指定路由节点收到来自第二家乡地址的第一个数据包时, 通过目 的节点 2的家乡位置管理器请求获取目的节点 2的当前移动路由器的地址, 根 据所述路由控制策略信息中 MN— AnchorlD 1—Status— Close的值, 建立所述指定 路由节点与目的节点 2的当前移动路由器之间的隧道, 同时将所述路由控制策 略信息中的各参数更新到所述指定路由节点中。
所 述 指 定 路 由 节 点 根据 所 述路 由 控 制 策 略信 息 中 MN— AnchorlDl— Status— Close与目的节点 2 C-MR ID值, 建立所述指定路由节 点与目的节点 2的当前移动路由器之间的隧道。
目的节点 1的当前移动路由器建立与所述指定路由节点之间的隧道后, 根据所述路由控制策略信息中 MN—AnchorIDl— Status— Close的值, 拆除目的节 点 1的当前移动路由器与所述 MN的当前移动路由器之间的隧道。
目的节点 2的当前移动路由器建立与所述指定路由节点之间的隧道后, 根据所述路由控制策略信息中 MN—AnchorIDl— Status— Close的值, 拆除目的节 点 2的当前移动路由器与所述 MN的当前移动路由器之间的隧道。
此时, 来自所述第一家乡地址和所述第二家乡地址上的数据包均路由到 所述指定路由节点, 然后经所述指定路由节点处理后, 处理数据包分别通过 不同隧道, 发送到目的节点 1和目的节点 2。
实施例二十一
请参见图 24。
当所述 MN移动附着到 Next-MR时,此时 Next-MR可以称为所述 MN的当前 移动路由器。 所述 MN的当前移动路由器分别向所述 MN的第一家乡位置管理 器和所述 MN的第二家乡位置管理器发送位置更新 (LU ) 消息, 所述 LU消息 中包含( MNID, 所述 MN的当前移动路由器的地址 )等参数, 将所述 MN当前 附着的所述 MN的当前移动路由器的地址等信息更新到所述 MN的第一家乡位 置管理器和所述 MN的第二家乡位置管理器中。
所述 MN的第一家乡位置管理器和所述 MN的第二家乡位置管理器接收到 所述 LU消息, 分别返回位置确认 ( LUA )信息, 所述 LUA信息中包括所述路 由控制策略信息, 同时将所述路由控制策略信息更新到所述 MN的当前移动路 由器中。
所述 MN的当前移动路由器分别建立所述 MN的当前移动路由器与所述 MN的第一家乡移动路由器 ,所述 MN的当前移动路由器与所述 MN的第二家乡 移动路由器之间的隧道。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别拆 除所述 MN的第一家乡移动路由器与所述 MN的当前移动路由器之间的隧道, 及所述 MN的第二家乡移动路由器与所述 MN的当前移动路由器之间的隧道。
所述 MN的 当前移动路由器根据所述路由控制策略信息中 MN— AnchorlDl— Status— Close的值, 建立所述 MN的当前移动路由器与所述指 定路由节点之间的隧道, 并将所述路由控制策略信息更新到所述指定路由节 点中。
所述指定路由节点确定所述 MN当前附着在所述 MN的当前移动路由器上, 已离开所述 MN上一个附着的移动路由器, 则拆除所述指定路由节点与所述 MN的当前移动路由器之间的隧道。
此时, 经过所述 MN的数据包均流经所述指定路由节点, 经所述指定路由 节点处理后, 所述第一家乡地址的处理数据包通过所述指定路由节点到达目 的节点 1的当前移动路由器, 最后到达目的节点 1 , 所述第二家乡地址的处理 数据包通过所述指定路由节点到达目的节点 2的当前移动路由器, 最后到达目 的节点 2。
实施例二十二
请参见图 25。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlDl— Status— Open }等参数, 所述路由控制请求的发送方可以是
OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 (MNID、 MN— AnchorlDl— Status— Open ) 等参数进行 比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路 由控制策略信息更新到所述 MN的当前移动路由器中, 之后所述 MN的当前移 动路由器进行鉴权,如果鉴权通过则将该路由控制请求发送到所述 MN的家乡 移动路由器。
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的第一家 乡移动路由器和所述 MN的第二家乡移动路由器,并将所述路由控制策略信息 更新到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器中。 所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 该所述路由控制策略信息更新到所述 MN的第一家乡位置管理器和所述 MN的 第二家乡位置管理器中。
所述 MN的当前移动路由器根据所述路由控制策略信息中的 MN— AnchorlDl— Status— Open的值确定不开启路由控制, 拆除与所述指定路由 节点之间的隧道, 同时将所述路由控制策略信息更新到所述指定路由节点 中。
所述指定路由节点根据更新后所述路由控制策略信息中的 MN— AnchorlDl— Status— Open的值, 分别拆除所述指定路由节点与目的节点 1 的当前移动路由器之间的隧道, 及所述指定路由节点与目的节点 2的当前移动 路由器之间的隧道。
在上述隧道拆除后, 当所述 MN的当前移动路由器接收到所述第一家乡地 址发送的第一个数据包, 此时所述 MN确定所述路由控制策略信息中的 MN— AnchorlDl— Status— Open的值,根据该数据包中的目的地址(即目的节点 1 的家乡地址) , 获知目的节点 1的家乡位置管理器的地址, 通过向目的节点 1 的家乡位置管理器发送请求, 获得目的节点 1的当前移动路由器的地址, 之后 所述 MN的当前移动路由器建立与目的节点 1的当前移动路由器之间的优化隧 道。
当所述 MN的当前移动路由器接收到所述第二家乡地址的第一个数据包, 处理过程与所述第一家乡地址的数据包相同。
此后, 来自所述第一家乡地址的数据包通过所述 MN的当前移动路由器与 目的节点 1的当前移动路由器之间的优化隧道直接发送到目的节点 1的当前移 动路由器, 由目的节点 1的当前移动路由器发送给目的节点 1 , 来自所述第二 家乡地址的数据包通过所述 MN的当前移动路由器与目的节点 2的当前移动路 由器之间的优化隧道直接发送到目的节点 2的当前移动路由器, 由目的节点 2 的当前移动路由器发送给目的节点 2。 当所述 MN发生移动后, 流程与 DMM路优优化一致, 当目的节点 1或目的 节点 2发生移动后, 过程与实施例十五类似, 不再赘述。
实施例二十三
请仍然参见图 23。
本发明所有 MN粒度的实施例中, 所述 MN都可以有多个家乡地址, 一般 都采用两个家乡地址来进行说明。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlDl— Status— Close、 AnchorlDl }等参数, 所述路由控制请求的 发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 ( MNID、 MN— AnchorlD 1— Status— Close、 AnchorlD 1 ) 等参数进行比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权通过则将该路由控制请 求分别发送到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由 。
所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的第一家 乡移动路由器和所述 MN的第二家乡移动路由器,并将所述路由控制策略信息 中的各参数值更新到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移 动路由器中。
所述 MN的当前移动路由器根据所述路由控制策略信息中的 MN— AnchorlD 1—Status— Close和 AnchorlD 1 , 建立所述 MN的当前移动路由器 与所述指定路由节点之间的隧道, 将所述路由控制策略信息更新到所述指定 路由节点中。
所述指定路由节点根据更新后所述路由控制策略信息中的 MN— AnchorlD 1— Status— Close , 当所述指定路由节点收到来自所述第一家乡地 址的第一个数据包, 通过所述第一家乡地址获知目的节点 1的家乡位置管理器 的地址, 通过向目的节点 1的当前位置管理器发送请求, 获得目的节点 1的当 前移动路由器的地址。
当所述指定路由节点收到来自所述第二家乡地址的第一个数据包, 通过 所述第二家乡地址获知目的节点 2的家乡位置管理器的地址, 通过向目的节点 2的当前位置管理器发送请求, 获得目的节点 2的当前移动路由器的地址。
所述指定路由节点根据更新后的所述路由控制策略信息中的 MN— AnchorlDl— Status— Close , 及获得的目的节点 1的当前移动路由器的地址, 建立所述指定路由节点与目的节点 1的当前移动路由器之间的隧道。
所述指定路由节点根据更新后的所述路由控制策略信息中的 MN— AnchorlDl— Status— Close , 及获得的目的节点 2的当前移动路由器的地址, 建立所述指定路由节点与目的节点 2的当前移动路由器之间的隧道。
目的节点 1的当前移动路由器建立与所述指定路由节点之间的隧道后, 根据所述路由控制策略信息中的 MN— AnchorlDl— Status— Close, 拆除目的节点 1的当前移动路由器与所述 MN的当前移动路由器之间的隧道。
此时, 来自所述第一家乡地址和所述第二家乡地址的数据包均路由到所 述指定路由节点, 经所述指定路由节点处理后, 获得的处理数据包分别通过 不同隧道, 发送到目的节点 1和目的节点 2。
当所述 MN发生移动时, 处理过程与实施例二十一类似, 不再赘述。
实施例二十四
请仍然参见图 25。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN— AnchorlDl— Status— Open }等参数, 所述路由控制请求的发送方可以是
OAM, 或合法监听实体, 或其他网元。 此时所述路由控制策略信息表示不开 启路由控制。 所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 (MNID、 MN— AnchorlDl— Status— Open ) 等参数进行 比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路 由控制策略信息更新到所述 MN的当前移动路由器中, 之后所述 MN的当前移 动路由器进行鉴权,如果鉴权通过则将该路由控制请求发送到所述 MN的家乡 移动路由器。
所述 MN的当前移动路由器将所述路由控制请求发送到所述 MN的第一家 乡移动路由器和所述 MN的第二家乡移动路由器,并将所述路由控制策略信息 更新到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器中。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 该所述路由控制策略信息更新到所述 MN的第一家乡位置管理器和所述 MN的 第二家乡位置管理器中。
所述 MN的当前移动路由器根据所述路由控制策略信息中的 MN— AnchorlDl— Status— Open的值确定不开启路由控制, 拆除与所述指定路由 节点之间的隧道, 同时将所述路由控制策略信息更新到所述指定路由节点 中。
所述 MN 的当前移动路由器根据所述路由控制策略信息中的 MN— AnchorlD 1— Status— Open标识, 当收到所述 ΜΝ发送的来自第一家乡地址 的第一个数据包时, 通过向目的节点 1 的家乡位置管理器发送请求, 获取目 的节点 1的当前移动路由器的地址。
当收到所述 ΜΝ发送的来自所述第二家乡地址的第一个数据包, 通过向 目的节点 2 的家乡位置管理器发送请求, 获取目的节点 2的当前移动路由器 的地址。
所述 ΜΝ 的当前移动路由器根据所述路由控制策略信息中 MN— AnchorlD 1— Status— Open标识, 当收到目的节点 1的当前移动路由器的地 址时, 发送路径切换指令到目的节点 1 的当前移动路由器, 所述路径切换指 令中包括 ( MNID , ΗοΑΙ , 目的节点 1 C-MR ID , MN C-MR ID , Tunnel— Status— Setup, AnchorlDl ,目的节点 1 C-MR ID, Tunnel— Status— Release ) 等参数。
目的节点 1的当前移动路由器根据(目的节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Setup )等参数, 建立目的节点 1的当前移动路由器与所述 MN 的当前移动路由器之间的隧道。
当所述 MN的当前移动路由器收到目的节点 2的当前移动路由器的地址 时, 发送路径切换指令到目的节点 2 的当前移动路由器, 所述路径切换指令 中包括 ( MNID , ΗοΑ2 , 目 的节点 2 C-MR ID , MN C-MR ID , Tunnel— Status— Setup , AnchorlD 1 ,目的节点 2 C-MR ID , Tunnel— Status— Release ) 等参数。
目的节点 2的当前移动路由器根据(目的节点 2 C-MR ID, MN C-MR ID, Tunnel— Status— Setup )等参数, 建立目的节点 2的当前移动路由器与所述 MN 的当前移动路由器之间的隧道。
目的节点 1的当前移动路由器根据 ( AnchorlDl , 目的节点 1 C-MR ID, Tunnel— Status— Release )等参数, 拆除目的节点 1的当前移动路由器与所述指 定路由节点之间的隧道。
目的节点 2的当前移动路由器根据 (AnchorlDl , 目的节点 2 C-MR ID, Tunnel— Status— Release )等参数, 拆除目的节点 2的当前移动路由器与所述指定 路由节点之间的隧道。
实施例二十五
请仍然参见图 23。
所述 MN的当前移动路由器接收到所述路由控制请求, 所述路由控制请 求中包括所述路由控制策略信息, 所述路由控制策略信息中包括 {MNID、 MN_AnchorIDl_Status_Close , AnchorlDl }等参数, 所述路由控制请求的 发送方可以是 OAM, 或合法监听实体, 或其他网元。
所述 MN的当前移动路由器将本地存储的路由优化状数据结构参数与该 路由控制策略信息中的 ( MNID、 MN— AnchorlD 1— Status— Close、 AnchorlD 1 ) 等参数进行比较, 如果比较一致则忽略该路由控制请求, 如果比较不一致, 则将所述路由控制策略信息中的各参数更新到所述 MN的当前移动路由器中, 之后, 所述 MN的当前移动路由器进行鉴权, 如果鉴权通过则将该路由控制请 求分别发送到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由 所述 MN的当前移动路由器将所述路由控制请求转发到所述 MN的第一家 乡移动路由器和所述 MN的第二家乡移动路由器,并将所述路由控制策略信息 中的各参数值更新到所述 MN的第一家乡移动路由器和所述 MN的第二家乡移 动路由器中。
所述 MN的第一家乡移动路由器和所述 MN的第二家乡移动路由器分别将 所述路由控制请求发送到所述 MN的第一家乡位置管理器和所述 MN的第二家 乡位置管理器, 并将所述路由控制策略信息中的各参数值更新到所述 MN的第 一家乡位置管理器和所述 MN的第二家乡位置管理器中。
所述 MN的当前移动路由器根据接收到所述路由控制策略信息中的 MN— AnchorlDl— Status— Close值, 建立所述 MN的当前移动路由器与所述指定 路由节点之间的隧道。
对于来自第一家乡地址的数据包, 所述 MN的当前移动路由器根据所述 路由控制策略信息中 MN— AnchorlDl— Status— Close和目的节点 1的当前移动路 由器的地址, 发送路径切换指令到目的节点 1 的当前移动路由器, 所述路径 切换指令中包括 (MNID , HoAl , AnchorlDl , 目的节点 1 C-MR ID , Tunnel— Status— Setup , 目 的 节 点 1 C-MR ID , MN C-MR ID , Tunnel— Status— Release )等参数。
对于来自第二家乡地址的数据包, 在所述 MN的当前移动路由器与目的 节点 2 的当前移动路由器之间无隧道时, 所述 MN的当前移动路由器会先通 过目的节点 2 的家乡位置管理器获取目的节点 2的当前移动路由器的地址, 然后根据 MN—AnchorID 1— Status— Close和目的节点 2的当前移动路由器的地址 , 发送路径切换指令到目的节点 2 的当前移动路由器, 该路径切换指令中包括 ( MNID, HoA2, AnchorlDl , 目的节点 2 C-MR ID, Tunnel— Status— Setup , 目的节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Release )等参数。
对于来自所述第一家乡地址的数据包, 目的节点 1 的当前移动路由器根 据(AnchorlDl , 目的节点 1 C-MR ID, Tunnel— Status— Setup )等参数, 建立 目的节点 1 的当前移动路由器与所述指定路由节点之间的隧道, 同时目的节 点 1 的当前移动路由器根据 ( 目的节点 1 C-MR ID , MN C-MR ID , Tunnel— Status— Release )等参数, 拆除目的节点 1 的当前移动路由器与所述 MN的当前移动路由器之间的隧道。
对于来自所述第二家乡地址的数据包, 目的节点 2 的当前移动路由器根 据(AnchorlDl , 目的节点 2 C-MR ID, Tunnel— Status— Setup )等参数, 建立 目的节点 2 的当前移动路由器与所述指定路由节点之间的隧道。 因为目的节 点 2的当前移动路由器与所述 MN的当前移动路由器间无隧道, 忽略(目的 节点 1 C-MR ID, MN C-MR ID, Tunnel— Status— Release )等参数。
当所述 MN发生移动时, 处理过程与实施例二十一类似, 不多赘述。
当不开启路由控制时, 处理过程与实施例二十四类似, 不多赘述。
以上几个实施例中,都是以所述 MN的当前移动路由器接收所述路由控制 请求为例,需要说明的是,接收所述路由控制请求的也可以是其他网络节点, 例如可以是所述 MN的当前位置管理器, 所述 MN的当前位置管理器接收到所 述路由控制请求后可以将所述路由控制请求发送给所述 MN的当前移动路由 器, 之后的流程与以上几个实施例相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡移动路由器,此时, 所述 MN的家乡移动路由器就相当于所述 MN的当前移动路由器, 在以上几个 实施例中, 除了无需建立与所述 MN的家乡移动路由器之间的隧道外, 其他步 骤都相同。
或者例如接收所述路由控制请求可以是所述 MN的家乡位置管理器, 所 述 MN的家乡位置管理器接收到所述路由控制请求后, 将所述路由控制请求 发送给所述 MN的家乡移动路由器, 后面的步骤与接收所述路由控制请求是 所述 MN的家乡移动路由器时的执行步骤相同。
基于与方法实施例相同的构思, 以下介绍本发明中的装置实施例。
本发明的第六方面:
请参见图 26, 本发明实施例提供一种移动路由器。 所述移动路由器为所 述 MN的移动路由器。所述移动路由器可以包括第一收发模块 2601和第一判 断模块 2602。
第一收发模块 2601可以用于获得移动节点 MN转发的来自第一家乡地址 的第一数据包; 若判断为是, 则根据所述路由策略信息中的家乡地址的状态 信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指 定路由节点; 获得所述指定路由节点返回的第一处理数据包, 并将所述第一 处理数据包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前 移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处 理数据包为所述指定路由节点通过对所述第一数据包进行处理获得的。
第一判断模块 2602可以用于根据路由控制策略信息判断是否开启对所述 第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的 指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策 略信息中还包括家乡地址的状态信息。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第一收发模块 2601具体可以用于: 检测与所 述指定路由节点的隧道是否存在; 当检测确定与所述指定路由节点的隧道存 在时, 将所述第一数据包通过与所述指定路由节点的隧道发送给所述指定路 由节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定 路由节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送 给所述指定路由节点。
较佳的, 本发明实施例中, 第一收发模块 2601具体可以用于: 判断是否 已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目 的节点的当前移动路由器之间的隧道, 则通过与所述目的节点的当前移动路 由器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移动路由 器; 如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所 述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移 动路由器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移动 路由器。
较佳的, 本发明实施例中, 第一收发模块 2601还可以用于: 接收路由控 制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 所述移动路由器还可以包括第一建立模块, 可以用于: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息 表明开启路由控制, 则根据所述路由控制请求携带的路由控制策略信息中的 家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
较佳的, 本发明实施例中, 所述移动路由器还可以包括第一拆除模块, 可以用于: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息 表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第一收发模块 2601还可以用于: 将所述路由 控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据 所述路由控制请求中包括的信息更新本地存储的信息。
本发明的第七方面:
请参见图 27 , 本发明实施例提供一种网络设备, 所述网络设备可以是如 前各实施例中所述的指定路由节点。 所述网络设备可以包括第二收发模块 2701和处理模块 2702。
第二收发模块 2701可以用于接收来自移动节点 MN的移动路由器的第一 数据包; 所述第一数据包是所述 MN的移动路由器根据路由控制策略信息判 断开启对所述第一数据包的路由控制后通过与所述网络设备之间的隧道发送 来的, 所述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所 述指示信息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家 乡地址的状态信息; 及, 将第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的移动路由器将所述第一处理数据包发送给目的节点的当前移 动路由器。
处理模块 2702可以用于对所述第一数据包进行处理获得所述第一处理数 据包。
较佳的, 本发明实施例中, 第二收发模块 2701 还可以用于: 接收所述 MN的移动路由器发送的路由控制策略信息,所述路由控制策略信息中包括开 启路由控制的指示信息, 及家乡地址的状态信息。
较佳的, 本发明实施例中, 所述网络设备还可以包括第二建立模块, 可 以用于: 根据所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路 由器之间建立隧道。
较佳的, 本发明实施例中, 所述网络设备还可以包括第二拆除模块, 可 以用于: 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述 源移动路由器之间的隧道。
本发明的第八方面:
请参见图 28 , 本发明实施例提供一种移动路由器, 所述移动路由器可以 是所述 MN的移动路由器。 所述移动路由器可以包括第三收发模块 2801和备 份模块 2802。
第三收发模块 2801可以用于获得移动节点 MN转发的来自第一家乡地址 的第一数据包, 根据路由控制策略信息判断是否开启对所述第一数据包的路 由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信息, 并在 所述指示信息表明开启路由控制的情况下, 所述路由控制策略信息中还包括 家乡地址的状态信息; 及, 根据所述路由策略中的家乡地址的状态信息, 将 备份的第一数据包发送至所述指定路由节点, 及通过与目的节点的当前移动 路由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过所述目的节点的当前移动路由器将所述第一数据包发送给所述目的节 点。
备份模块 2802可以用于若判断为是, 将所述第一数据包进行备份。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。 即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第三收发模块 2801具体可以用于: 判断是否 已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目 的节点的当前移动路由器之间的隧道, 则通过与所述目的节点的当前移动路 由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器; 如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所述目 的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移动路 由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器。
较佳的, 本发明实施例中, 第三收发模块 2801还可以用于: 接收路由控 制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 第三收发模块 2801还可以用于: 将所述路由 控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据 所述路由控制请求中包括的信息更新本地存储的信息。 本发明的第九方面:
请参见图 29 , 本发明实施例提供一种移动路由器, 所述移动路由器可以 是所述 MN的移动路由器。 所述移动路由器可以包括第四收发模块 2901和第 二判断模块 2902。
第四收发模块 2901可以用于获得移动节点 MN转发的来自第一家乡地址 的第一数据包, 及若判断为是, 则根据所述路由策略中的家乡地址的状态信 息, 将所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定 路由节点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的 隧道将第一处理数据包发送给所述目的节点的当前移动路由器, 并通过所述 目的节点的当前移动路由器将所述第一处理数据包发送给所述目的节点; 其 中, 所述第一处理数据包为所述指定路由节点通过对所述第一数据包进行处 理得到的。
第二判断模块 2902可以用于根据路由控制策略信息判断是否开启对所述 第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的 指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策 略信息中还包括家乡地址的状态信息。
较佳的, 本发明实施例中, 分为 IP粒度和 MN粒度两种方面来描述。 当 从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN的指定家乡地 址的数据包开启路由控制, 不开启路由控制是指不开启所述 MN的指定家乡 地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控制是指针对 所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的 所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第四收发模块 2901具体可以用于: 检测与所 述指定路由节点的隧道是否存在; 当检测确定与所述指定路由节点的隧道存 在时, 将所述第一数据包通过与所述指定路由节点的隧道发送给所述指定路 由节点; 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定 路由节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送 给所述指定路由节点。
较佳的, 本发明实施例中, 第四收发模块 2901还可以用于: 接收路由控 制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 所述移动路由器还可以包括第三建立模块, 可以用于: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息 表明开启路由控制, 则根据所述路由控制请求携带的路由控制策略信息中的 家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第四收发模块 2901还可以用于: 根据所述路 由控制请求携带的路由控制策略信息中的指示信息、 及所述目的节点的当前 移动路由器的地址, 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节点的当前移动路由器建立所述目的节点的当前移动路由器与 所述指定路由节点之间的隧道, 及使所述目的节点的当前移动路由器拆除所 述目的节点的当前移动路由器与所述移动节点的当前移动路由器之间的隧道。
较佳的,本发明实施例中,所述移动路由器中还可以包括第三拆除模块, 可以用于: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息 表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第四收发模块 2901还可以用于: 将所述路由 控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据 所述路由控制请求中包括的信息更新本地存储的信息。
较佳的, 本发明实施例中, 第四收发模块 2901还可以用于: 若所述路由 控制请求携带的路由控制策略信息中的所述指示信息表明不开启路由控制, 向所述目的节点的家乡位置管理器请求获得所述目的节点的当前移动路由器 的地址; 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目 的节点的当前移动路由器根据所述路径切换指令建立所述目的节点的当前移 动路由器与所述移动节点的当前移动路由器之间的隧道。 本发明的第十方面:
请参见图 30, 本发明实施例提供一种网络设备, 所述网络设备可以是如 前实施例中所述的指定路由节点。 所述网络设备可以包括接收模块 3601和发 送模块 3002。
接收模块 3001可以用于接收来自移动节点 MN的移动路由器的第一数据 包; 所述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开 启对所述第一数据包的路由控制后通过与网络设备之间的隧道发送来的, 所 述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信 息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的 状态信息。
发送模块 3002可以用于通过与目的节点的当前移动路由器之间的隧道将 第一处理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处 理数据包为所述网络设备通过对所述第一数据包进行处理得到的。
较佳的, 本发明实施例中, 接收模块 3001还可以用于: 接收所述 MN的 移动路由器发送的路由控制策略信息, 所述路由控制策略信息中包括是否开 启路由控制的指示信息。
较佳的, 本发明实施例中, 所述网络设备还可以包括第四建立模块, 可 以用于: 若所述路由控制策略信息中的所述指示信息表明开启路由控制, 则 与所述目的节点的当前移动路由器之间建立隧道, 并将所述路由控制策略信 息更新到所述目的节点的当前移动路由器。
较佳的, 本发明实施例中, 所述网络设备还可以包括第四拆除模块, 可 以用于: 若所述路由控制策略信息中的所述指示信息表明不开启路由控制, 则拆除与所述目的节点的当前移动路由器之间的隧道。
较佳的,本发明实施例中,所述网络设备还可以包括所述第四拆除模块, 可以用于: 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所 述源移动路由器之间的隧道。
本发明的第十一方面: 请参见图 31 , 本发明实施例提供一种移动路由器, 所述移动路由器可以 是所述 MN的移动路由器。 该移动路由器包括: 总线 3140, 以及连接到总线 3140的第一处理器 3110、 第一存储器 3120和第一接口 3130。 其中第一存储 器 3120用于存储指令, 第一接口 3130用于获得移动节点 MN转发的来自第 一家乡地址的第一数据包; 若判断为是, 则根据所述路由策略信息中的家乡 地址的状态信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发 送至所述指定路由节点; 获得所述指定路由节点返回的第一处理数据包, 并 将所述第一处理数据包发送给目的节点的当前移动路由器, 以通过所述目的 节点的当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所述指定路由节点通过对所述第一数据包进行处理得 到的。 第一处理器 3110用于执行所述指令, 根据路由控制策略信息判断是否 开启对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启 路由控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述 路由控制策略信息中还包括家乡地址的状态信息。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。 即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第一处理器 3110具体用于: 执行所述指令, 检测与所述指定路由节点的隧道是否存在, 及当检测确定与所述指定路由节 点的隧道不存在时, 建立与所述指定路由节点的隧道。 第一接口 3130具体用 于: 将所述第一数据包通过与所述指定路由节点的隧道发送给所述指定路由 节点。
较佳的, 本发明实施例中, 第一处理器 3110具体用于: 执行所述指令, 判断是否已建立与所述目的节点的当前移动路由器之间的隧道, 及如果未建 立与所述目的节点的当前移动路由器之间的隧道, 则建立与所述目的节点的 当前移动路由器之间的隧道。 第一接口 3130具体用于: 当已建立与所述目的 节点的当前移动路由器之间的隧道时, 通过与所述目的节点的当前移动路由 器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移动路由器 , 或, 通过建立的与所述目的节点的当前移动路由器之间的隧道将所述第一处 理数据包发送给所述目的节点的当前移动路由器。
较佳的, 本发明实施例中, 第一接口 3130还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 第一处理器 3110还用于: 执行所述指令, 若 所述路由控制请求携带的路由控制策略信息中的所述指示信息表明开启路由 控制, 则根据所述路由控制请求携带的路由控制策略信息中的家乡地址的状 态信息, 建立与所述指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第一处理器 3110具体用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不开启 路由控制, 则拆除与指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第一接口 3130还用于: 将所述路由控制请求 转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所 述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据所述路 由控制请求中包括的信息更新本地存储的信息。
本发明的第十二方面:
请参见图 32 , 本发明实施例提供一种网络设备, 所述网络设备可以是如 前实施例中所述的指定路由节点。 所述网络设备可以包括总线 3240, 以及连 接到总线 3240的第二处理器 3210、 第二存储器 3220和第二接口 3230。 其中 第二存储器 3220用于存储指令, 第二接口 3230用于接收来自移动节点 MN 的移动路由器的第一数据包; 所述第一数据包是所述 MN的移动路由器根据 路由控制策略信息判断开启对所述第一数据包的路由控制后通过与所述网络 设备之间的隧道发送来的, 所述路由控制策略信息中包括是否开启路由控制 的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制 策略信息中还包括家乡地址的状态信息; 及, 将第一处理数据包发送给所述
MN的移动路由器, 以使所述 MN的移动路由器将所述第一处理数据包发送 给目的节点的当前移动路由器; 其中, 所述第一处理数据包为所述网络设备 通过对所述第一数据包进行处理得到的。第二处理器 3210用于执行所述指令, 对所述第一数据包进行处理获得所述第一处理数据包。
较佳的, 本发明实施例中, 第二接口 3230还用于: 接收所述 MN的移动 路由器发送的路由控制策略信息, 所述路由控制策略信息中包括开启路由控 制的指示信息, 及家乡地址的状态信息。
较佳的, 本发明实施例中, 第二处理器 3210还用于: 执行所述指令, 根 据所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路由器之间建 立隧道。
较佳的, 本发明实施例中, 第二处理器 3210还用于: 执行所述指令, 在 所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由 器之间的隧道。
本发明的第十三方面:
请参见图 33 , 本发明实施例提供一种移动路由器, 所述移动路由器可以 是所述 MN的移动路由器。 所述移动路由器可以包括: 总线 3340, 以及连接 到总线 3340的第三处理器 3310、 第三存储器 3320和第三接口 3330。 其中第 三存储器 3320用于存储指令, 第三接口 3330用于获得移动节点 MN转发的 来自第一家乡地址的第一数据包, 根据路由控制策略信息判断是否开启对所 述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制 的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制 策略信息中还包括家乡地址的状态信息; 及, 根据所述路由策略中的家乡地 址的状态信息, 将备份的第一数据包发送至所述指定路由节点, 及通过与目 的节点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点 的当前移动路由器, 以通过所述目的节点的当前移动路由器将所述第一数据 包发送给所述目的节点。 第三处理器 3310用于执行所述指令, 若判断为是, 将所述第一数据包进行备份。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。 即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第三处理器 3310具体用于: 执行所述指令, 判断是否已建立与所述目的节点的当前移动路由器之间的隧道, 及, 如果未 建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所述目的节点 的当前移动路由器之间的隧道。 第三接口 3330具体用于: 通过与所述目的节 点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点的当 前移动路由器。
较佳的, 本发明实施例中, 第三接口 3330还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 第三接口 3330具体用于: 将所述路由控制请 求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使 所述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据所述 路由控制请求中包括的信息更新本地存储的信息。
本发明的第十四方面:
请参见图 34, 本发明实施例提供一种移动路由器, 所述移动路由器可以 是所述 MN的移动路由器。 所述移动路由器包括: 总线 3440, 以及连接到总 线 3440的第四处理器 3410、 第四存储器 3420和第四接口 3430。 其中第四存 储器 3420用于存储指令, 第四接口 3430用于获得移动节点 MN转发的来自 第一家乡地址的第一数据包, 及若判断为是, 则根据所述路由策略中的家乡 地址的状态信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发 送至所述指定路由节点, 以使所述指定路由节点通过与目的节点的当前移动 路由器之间的隧道将第一处理数据包发送给所述目的节点的当前移动路由器 , 并通过所述目的节点的当前移动路由器将所述第一处理数据包发送给所述目 的节点; 其中, 所述第一处理数据包为所述指定路由节点通过对所述第一数 据包进行处理获得的。 第四处理器 3410用于执行所述指令, 根据路由控制策 略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息 中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制 的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息。
较佳的, 本发明实施例中, 分为 IP (网际协议)粒度和 MN粒度两种方 面来描述。 当从 IP粒度来描述时, 所述表明开启路由控制是指针对所述 MN 的指定家乡地址的数据包开启路由控制,不开启路由控制是指不开启所述 MN 的指定家乡地址的路由控制。 当从 MN粒度来描述时, 所述表明开启路由控 制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对 所述 MN的所有数据包不开启路由控制。
较佳的, 本发明实施例中, 如果站在 IP粒度的角度来说, 所述路由控制 策略信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息。 其 中, 所述路由控制策略信息中包括所述家乡地址的状态信息, 具体可以是指 所述指示信息中包括所述家乡地址的状态信息。
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第一家乡地址开启路由控制,则所述指示信息表明针对所述 MN 的第一家乡地址的数据包开启路由控制, 所述第一家乡地址为所述路由控制 策略信息中的所述 MN的家乡地址中的一个。 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
即, 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态 信息表明针对第二家乡地址不开启路由控制, 则所述指示信息表明针对所述 MN的第二家乡地址的数据包不开启路由控制,所述第二家乡地址为所述路由 控制策略信息中的所述 MN的家乡地址中的一个。
即, 此时, 开启路由控制和不开启路由控制都是针对某一个 IP来说的, 具体说来就是针对所述 MN的某一个家乡地址来说的。
较佳的, 本发明实施例中, 所述 MN的家乡地址为一个或多个。
较佳的, 本发明实施例中, 如果站在 MN粒度的角度来说, 所述指示信 息包括: MN的状态信息。
此时, 若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明 针对所述 MN的所有数据包开启路由控制。
此时, 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表 明针对所述 MN的所有数据包不开启路由控制。
即 , 此时的开启路由控制和不开启路由控制都是针对 MN来说的。
较佳的, 本发明实施例中, 第四处理器 3410具体用于: 执行所述指令, 检测与所述指定路由节点的隧道是否存在, 及, 当检测确定与所述指定路由 节点的隧道不存在时, 建立与所述指定路由节点的隧道。 第四接口 3430具体 用于: 当已建立与所述指定路由节点的隧道时, 将所述第一数据包通过与所 述指定路由节点的隧道发送给所述指定路由节点, 或, 通过建立的与所述指 定路由节点的隧道将所述第一数据包发送给所述指定路由节点。
较佳的, 本发明实施例中, 第四接口 3430还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
较佳的, 本发明实施例中, 第四处理器 3410还用于: 执行所述指令, 若 所述路由控制请求携带的路由控制策略信息中的所述指示信息表明开启路由 控制, 则根据所述路由控制请求携带的路由控制策略信息中的家乡地址的状 态信息, 建立与所述指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第四接口 3430还用于: 根据所述路由控制请 求携带的路由控制策略信息中的指示信息、 及所述目的节点的当前移动路由 器的地址, 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述 目的节点的当前移动路由器建立所述目的节点的当前移动路由器与所述指定 路由节点之间的隧道, 及使所述目的节点的当前移动路由器拆除所述目的节 点的当前移动路由器与所述移动节点的当前移动路由器之间的隧道。
较佳的, 本发明实施例中, 第四处理器 3410还用于: 执行所述指令, 若 所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不开启路 由控制, 则拆除与指定路由节点之间的隧道。
较佳的, 本发明实施例中, 第四接口 3430还用于: 将所述路由控制请求 转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所 述移动节点的家乡位置管理器和所述移动节点的家乡移动路由器根据所述路 由控制请求中包括的信息更新本地存储的信息。
较佳的, 本发明实施例中, 第四接口 3430还用于: 若所述路由控制请求 携带的路由控制策略信息中的所述指示信息表明不开启路由控制, 向所述目 的节点的家乡位置管理器请求获得所述目的节点的当前移动路由器的地址; 向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节点的 当前移动路由器根据所述路径切换指令建立所述目的节点的当前移动路由器 与所述移动节点的当前移动路由器之间的隧道。
本发明的第十五方面:
请参见图 35 , 本发明实施例提供一种网络设备, 所述网络设备可以是如 前各实施例中所述的指定路由节点。 所述网络设备可以包括: 总线 3540, 以 及连接到总线 3540的第五处理器 3510、 第五存储器 3520和第五接口 3530。 其中第四存储器 3520用于存储指令, 第五接口 3530用于接收来自移动节点 ΜΝ的移动路由器的第一数据包; 所述第一数据包是所述 ΜΝ的移动路由器 根据路由控制策略信息判断开启对所述第一数据包的路由控制后通过与所述 网络设备之间的隧道发送来的, 所述路由控制策略信息中包括是否开启路由 控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由 控制策略信息中还包括家乡地址的状态信息。 第五处理器 3510用于执行所述 指令, 控制第五接口 3530通过与目的节点的当前移动路由器之间的隧道将第 一处理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处理 数据包为所述网络设备通过对所述第一数据包进行处理得到的。
较佳的, 本发明实施例中, 第五接口 3530还用于: 接收所述 MN的移动 路由器发送的路由控制策略信息, 所述路由控制策略信息中包括是否开启路 由控制的指示信息。
较佳的, 本发明实施例中, 第五处理器 3510还用于: 执行所述指令, 若 所述路由控制策略信息中的所述指示信息表明开启路由控制, 则与所述目的 节点的当前移动路由器之间建立隧道, 并将所述路由控制策略信息更新到所 述目的节点的当前移动路由器。
较佳的, 本发明实施例中, 第五处理器 3510还用于: 执行所述指令, 若 所述路由控制策略信息中的所述指示信息表明不开启路由控制, 则拆除与所 述目的节点的当前移动路由器之间的隧道。
较佳的, 本发明实施例中, 第五处理器 3510还用于: 执行所述指令, 在 所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由 器之间的隧道。
本发明实施例中的一种数据包发送方法可以应用于移动路由器, 所述方 法可以包括: 获得移动节点 MN转发的来自第一家乡地址的第一数据包, 根 据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由 控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明 开启路由控制的情况下, 所述路由控制策略信息还包括家乡地址的状态信息; 若判断是, 则根据所述路由策略信息中的家乡地址的状态信息, 通过与指定 路由节点之间的隧道将所述第一数据包发送至所述指定路由节点; 获得所述 指定路由节点返回的第一处理数据包, 并将所述第一处理数据包发送给目的 节点的当前移动路由器, 以通过所述目的节点的当前移动路由器将所述第一 处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所述指定路 由节点通过对所述第一数据包进行处理获得的。
本发明实施例中包括所述路由控制策略信息, 所述路由控制策略信息可 以用于指示是否开启路由控制, 在获得所述 MN转发的来自所述第一家乡地 址的数据包后, 如果确定开启路由控制, 则可以根据所述路由控制策略信息 中包括的所述家乡地址的状态信息, 将所述第一数据包先发送给所述指定路 由节点, 之后再将经所述指定路由节点处理过的第一处理数据包发送到目的 节点, 这样, 所述第一数据包可以在发送的过程中经历一个指定网络节点, 该指定网络节点可以对所述第一数据包进行一些处理, 解决了现有技术中无 法在发送过程中令数据到达指定网络节点的技术问题, 且采用本发明实施例 中的方法后, 所述第一数据包是直接到达指定网络节点, 经过处理后再直接 发送给目的节点, 相当于还是在进行路由优化, 无需像现有技术中没有进行 路由优化一般要经历多个节点, 所述第一数据包经历的路径比较优化, 在途 中的出错几率较小。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以上述各 功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分 配由不同的功能模块完成, 即将装置的内部结构划分成不同的功能模块, 以 完成以上描述的全部或者部分功能。 上述描述的系统, 装置和单元的具体工 作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实 现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到 另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相 互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间 接輛合或通信连接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
另外, 在本申请各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单 元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本 申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的 全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个 存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)或处理器(processor )执行本申请各个实施例所述 方法的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存 储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 以上实施例仅用以对本申请的技术方案进行了详细介绍, 但 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想, 不应理解 为对本发明的限制。 本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。

Claims

权利要求
1、 一种数据包发送方法, 其特征在于, 包括:
获得移动节点 MN转发的来自第一家乡地址的第一数据包, 根据路由控 制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略 信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由 控制的情况下, 所述路由控制策略信息还包括家乡地址的状态信息;
若判断是, 则根据所述路由策略信息中的家乡地址的状态信息, 通过与 指定路由节点之间的隧道将所述第一数据包发送至所述指定路由节点;
获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数据 包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路由 器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包 为所述指定路由节点通过对所述第一数据包进行处理获得的。
2、 如权利要求 1所述的方法, 其特征在于, 所述表明开启路由控制是指 针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是指 不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
3、 如权利要求 2所述的方法, 其特征在于, 所述路由控制策略信息中还 包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
4、 如权利要求 2所述的方法, 其特征在于, 所述指示信息包括: MN的 状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
5、 如权利要求 1-4任一权项所述的方法, 其特征在于, 将所述第一数据 包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 包括: 检测与所述指定路由节点的隧道是否存在;
当检测确定与所述指定路由节点的隧道存在时, 将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点;
当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由 节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给所 述指定路由节点。
6、 如权利要求 1-5任一权项所述的方法, 其特征在于, 通过与目的节点 的当前移动路由器之间的隧道将所述第一处理数据包发送给所述目的节点的 当前移动路由器, 包括:
判断是否已建立与所述目的节点的当前移动路由器之间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所 述目的节点的当前移动路由器之间的隧道将所述第一处理数据包发送给所述 目的节点的当前移动路由器;
如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所 述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移 动路由器之间的隧道将所述第一处理数据包发送给所述目的节点的当前移动 路由器。
7、 如权利要求 1-6任一权项所述的方法, 其特征在于, 在获得移动节点 MN转发的来自第一家乡地址的第一数据包之前,还包括:接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
8、 如权利要求 7 所述的方法, 其特征在于, 在接收路由控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表 明开启路由控制, 则根据所述路由控制请求携带的路由控制策略信息中的家 乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
9、 如权利要求 7 所述的方法, 其特征在于, 在接收路由控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表 明不开启路由控制, 则拆除与指定路由节点之间的隧道。
10、 如权利要求 7-9任一权项所述的方法, 其特征在于, 在接收路由控制 请求之后,还包括:将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述 移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存 储的信息。
11、 一种数据包发送方法, 其特征在于, 包括:
指定路由节点接收来自 MN的移动路由器的第一数据包; 所述第一数据 包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第一数据 包的路由控制后通过与指定路由节点的隧道发送的, 所述路由控制策略信息 中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制 的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
所述指定路由节点对所述第一数据包进行处理获得第一处理数据包; 所述指定路由节点将所述第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的移动路由器将所述第一处理数据包发送给目的节点的当前移 动路由器。
12、 如权利要求 11所述的方法, 其特征在于, 在所述指定路由节点接收 来自 MN的第一数据包之前, 还包括: 所述指定路由节点接收所述 MN的移 动路由器发送的路由控制策略信息, 所述路由控制策略信息中包括开启路由 控制的指示信息, 及家乡地址的状态信息。
13、 如权利要求 11所述的方法, 其特征在于, 在所述指定路由节点接收 来自 MN的移动路由器的第一数据包之前, 还包括: 所述指定路由节点根据 所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路由器之间建立 隧道。
14、 如权利要求 11所述的方法, 其特征在于, 还包括:
在所述 MN从源移动路由器移动到目标移动路由器后, 所述指定路由节 点拆除与所述源移动路由器之间的隧道。
15、 一种数据包发送方法, 其特征在于, 包括:
获得 MN转发的来自第一家乡地址的第一数据包, 根据路由控制策略信 息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包 括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制的情 况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
若判断为是, 将所述第一数据包进行备份;
根据所述路由策略中的家乡地址的状态信息, 将备份的第一数据包发送 至所述指定路由节点, 及通过与目的节点的当前移动路由器之间的隧道将所 述第一数据包发送给所述目的节点的当前移动路由器, 以通过所述目的节点 的当前移动路由器将所述第一数据包发送给所述目的节点。
16、 如权利要求 15所述的方法, 其特征在于, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
17、 如权利要求 16所述的方法, 其特征在于, 所述路由控制策略信息中 还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
18、 如权利要求 16所述的方法, 其特征在于, 所述指示信息包括: MN 的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
19、 如权利要求 15-18任一权项所述的方法, 其特征在于, 通过与目的节 点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的节点的当 前移动路由器, 包括:
判断是否已建立与所述目的节点的当前移动路由器之间的隧道;
如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通过与所 述目的节点的当前移动路由器之间的隧道将所述第一数据包发送给所述目的 节点的当前移动路由器;
如果未建立与所述目的节点的当前移动路由器之间的隧道, 则建立与所 述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移 动路由器之间的隧道将所述第一数据包发送给所述目的节点的当前移动路由 器。
20、 如权利要求 15-19任一权项所述的方法, 其特征在于, 在获得 MN 转发的来自第一家乡地址的第一数据包之前, 还包括: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
21、如权利要求 20所述的方法,其特征在于,在接收路由控制请求之后, 还包括: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节 点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点 的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
22、 一种数据包发送方法, 其特征在于, 包括: 获得 MN转发的来自第一家乡地址的第一数据包, 根据路由控制策略信 息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包 括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控制的情 况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将所述第 一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 以 使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一处 理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节点的当 前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一 处理数据包为所述指定路由节点通过对所述第一数据包进行处理得到的。
23、 如权利要求 22所述的方法, 其特征在于, 所述表明开启路由控制是 指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由控制是 指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
24、 如权利要求 23所述的方法, 其特征在于, 所述路由控制策略信息中 还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
25、 如权利要求 23所述的方法, 其特征在于, 所述指示信息包括: MN 的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制; 若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
26、 如权利要求 22-25任一权项所述的方法, 其特征在于, 将所述第一数 据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 包括: 检测与所述指定路由节点的隧道是否存在;
当检测确定与所述指定路由节点的隧道存在时, 将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点;
当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路由 节点的隧道, 并将所述第一数据包通过与所述指定路由节点的隧道发送给所 述指定路由节点。
27、 如权利要求 22-26任一权项所述的方法, 其特征在于, 在获得 MN 转发的来自第一家乡地址的第一数据包之前, 还包括: 接收路由控制请求, 所述路由控制请求中包括所述路由控制策略信息。
28、如权利要求 27所述的方法,其特征在于,在接收路由控制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所述指示信息表 明开启路由控制, 则根据所述路由控制请求携带的路由控制策略信息中的家 乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
29、 如权利要求 28所述的方法, 其特征在于, 在根据所述路由控制请求 携带的路由控制策略信息中的家乡地址的状态信息, 建立与所述指定路由节 点之间的隧道之后, 还包括: 根据所述路由控制请求携带的路由控制策略信 息中的指示信息、 及所述目的节点的当前移动路由器的地址, 向所述目的节 点的当前移动路由器发送路径切换指令, 以使所述目的节点的当前移动路由 器建立所述目的节点的当前移动路由器与所述指定路由节点之间的隧道, 及 使所述目的节点的当前移动路由器拆除所述目的节点的当前移动路由器与所 述移动节点的当前移动路由器之间的隧道。
30、 如权利要求 27-29任一权项所述的方法, 其特征在于, 在接收路由控 制请求之后, 还包括: 若所述路由控制请求携带的路由控制策略信息中的所 述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
31、 如权利要求 27-30任一权项所述的方法, 其特征在于, 在接收路由控 制请求之后, 还包括: 将所述路由控制请求转发给移动节点的家乡位置管理 器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和 所述移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本 地存储的信息。
32、 如权利要求 22-31任一权项所述的方法, 其特征在于, 在将所述第一 数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点之后, 还包括:
若所述路由控制请求携带的路由控制策略信息中的所述指示信息表明不 开启路由控制, 向所述目的节点的家乡位置管理器请求获得所述目的节点的 当前移动路由器的地址;
向所述目的节点的当前移动路由器发送路径切换指令, 以使所述目的节 点的当前移动路由器根据所述路径切换指令建立所述目的节点的当前移动路 由器与所述移动节点的当前移动路由器之间的隧道。
33、 一种数据包发送方法, 其特征在于, 包括:
指定路由节点接收来自 MN的移动路由器的第一数据包; 所述第一数据 包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第一数据 包的路由控制后通过与指定路由节点的隧道发送来的, 所述路由控制策略信 息中包括是否开启路由控制的指示信息, 并在所述指示信息表明开启路由控 制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信息;
所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一 处理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处理数 据包为所述指定路由节点通过对所述第一数据包进行处理得到的。
34、 如权利要求 33所述的方法, 其特征在于, 在所述指定路由节点接收 来自 MN的第一数据包之前, 还包括: 所述指定路由节点接收所述 MN的移 动路由器发送的路由控制策略信息, 所述路由控制策略信息中包括是否开启 路由控制的指示信息。
35、 如权利要求 34所述的方法, 其特征在于, 在所述指定路由节点接收 来自 MN的移动路由器的第一数据包之前, 还包括: 若所述路由控制策略信 息中的所述指示信息表明开启路由控制, 则所述指定路由节点与所述目的节 点的当前移动路由器之间建立隧道, 并将所述路由控制策略信息更新到所述 目的节点的当前移动路由器。
36、 如权利要求 34所述的方法, 其特征在于, 在所述指定路由节点接收 所述 MN移动路由器发送的路由控制策略信息之后, 还包括: 若所述路由控 制策略信息中的所述指示信息表明不开启路由控制, 则所述指定路由节点拆 除与所述目的节点的当前移动路由器之间的隧道。
37、 如权利要求 33-36任一权项所述的方法, 其特征在于, 还包括: 在所 述 MN从源移动路由器移动到目标移动路由器后, 所述指定路由节点拆除与 所述源移动路由器之间的隧道。
38、 一种移动路由器, 其特征在于, 包括:
第一收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包; 若判断为是, 则根据所述路由策略信息中的家乡地址的状态信息, 将所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由 节点; 获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数 据包发送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路 由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据 包为所述指定路由节点通过对所述第一数据包进行处理获得的;
第一判断模块, 用于根据路由控制策略信息判断是否开启对所述第一数 据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信 息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策略信息 中还包括家乡地址的状态信息。
39、 如权利要求 38所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
40、 如权利要求 39所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
41、如权利要求 39所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
42、 如权利要求 38-41任一权项所述的移动路由器, 其特征在于, 所述第 一收发模块具体用于: 检测与所述指定路由节点的隧道是否存在; 当检测确 定与所述指定路由节点的隧道存在时, 将所述第一数据包通过与所述指定路 由节点的隧道发送给所述指定路由节点; 当检测确定与所述指定路由节点的 隧道不存在时, 建立与所述指定路由节点的隧道, 并将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点。
43、 如权利要求 38-42任一权项所述的移动路由器, 其特征在于, 所述第 一收发模块具体用于: 判断是否已建立与所述目的节点的当前移动路由器之 间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通 过与所述目的节点的当前移动路由器之间的隧道将所述第一处理数据包发送 给所述目的节点的当前移动路由器; 如果未建立与所述目的节点的当前移动 路由器之间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通过与所述目的节点的当前移动路由器之间的隧道将所述第一处理数据包 发送给所述目的节点的当前移动路由器。
44、 如权利要求 38-44任一权项所述的移动路由器, 其特征在于, 所述第 一收发模块还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由 控制策略信息。
45、 如权利要求 44所述的移动路由器, 其特征在于, 所述移动路由器还 包括第一建立模块, 用于: 若所述路由控制请求携带的路由控制策略信息中 的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控 制策略信息中的指定路由节点信息, 建立与所述指定路由节点之间的隧道。
46、 如权利要求 44所述的移动路由器, 其特征在于, 所述移动路由器还 包括第一拆除模块, 用于: 若所述路由控制请求携带的路由控制策略信息中 的所述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
47、 如权利要求 44-46任一权项所述的移动路由器, 其特征在于, 所述第 一收发模块还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述 移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存 储的信息。
48、 一种网络设备, 其特征在于, 包括:
第二收发模块, 用于接收来自 MN的移动路由器的第一数据包; 所述第 一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所述第 一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述路由 控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息表明 开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状态信 息; 及, 将第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN的 移动路由器将所述第一处理数据包发送给目的节点的当前移动路由器; 处理模块, 用于对所述第一数据包进行处理获得所述第一处理数据包。
49、 如权利要求 48所述的网络设备, 其特征在于, 所述第二收发模块还 用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制 策略信息中包括开启路由控制的指示信息, 及家乡地址的状态信息。
50、 如权利要求 48所述的网络设备, 其特征在于, 所述网络设备还包括 第二建立模块, 用于: 根据所述 MN的移动路由器发送的建立请求, 与所述 MN的移动路由器之间建立隧道。
51、 如权利要求 48所述的网络设备, 其特征在于, 所述网络设备还包括 第二拆除模块, 用于在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由器之间的隧道。
52、 一种移动路由器, 其特征在于, 包括:
第三收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包, 根据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示 信息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址 的状态信息; 及, 根据所述路由策略中的家乡地址的状态信息, 将备份的第 一数据包发送至所述指定路由节点, 及通过与目的节点的当前移动路由器之 间的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过 所述目的节点的当前移动路由器将所述第一数据包发送给所述目的节点; 备份模块, 用于若判断为是, 将所述第一数据包进行备份。
53、 如权利要求 52所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
54、 如权利要求 53所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
55、如权利要求 53所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
56、 如权利要求 52-55任一权项所述的移动路由器, 其特征在于, 所述第 三收发模块具体用于: 判断是否已建立与所述目的节点的当前移动路由器之 间的隧道; 如果已建立与所述目的节点的当前移动路由器之间的隧道, 则通 过与所述目的节点的当前移动路由器之间的隧道将所述第一数据包发送给所 述目的节点的当前移动路由器; 如果未建立与所述目的节点的当前移动路由 器之间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道, 并通 过与所述目的节点的当前移动路由器之间的隧道将所述第一数据包发送给所 述目的节点的当前移动路由器。
57、 如权利要求 52-56任一权项所述的移动路由器, 其特征在于, 所述第 三收发模块还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由 控制策略信息。
58、 如权利要求 57所述的移动路由器, 其特征在于, 所述第三收发模块 还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节 点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点 的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
59、 一种移动路由器, 其特征在于, 包括:
第四收发模块, 用于获得移动节点 MN转发的来自第一家乡地址的第一 数据包, 及若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将 所述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节 点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将 第一处理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节 点的当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所 述第一处理数据包为所述指定路由节点通过对所述第一数据包进行处理得到 的;
第二判断模块, 用于根据路由控制策略信息判断是否开启对所述第一数 据包的路由控制; 所述路由控制策略信息中包括是否开启路由控制的指示信 息, 并在所述指示信息表明开启路由控制的情况下, 所述路由控制策略信息 中还包括家乡地址的状态信息。
60、 如权利要求 59所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
61、 如权利要求 60所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
62、如权利要求 60所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
63、 如权利要求 59-62任一权项所述的移动路由器, 其特征在于, 所述第 四收发模块具体用于: 检测与所述指定路由节点的隧道是否存在; 当检测确 定与所述指定路由节点的隧道存在时, 将所述第一数据包通过与所述指定路 由节点的隧道发送给所述指定路由节点; 当检测确定与所述指定路由节点的 隧道不存在时, 建立与所述指定路由节点的隧道, 并将所述第一数据包通过 与所述指定路由节点的隧道发送给所述指定路由节点。
64、 如权利要求 59-63任一权项所述的移动路由器, 其特征在于, 所述第 四收发模块还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由 控制策略信息。
65、 如权利要求 64所述的移动路由器, 其特征在于, 所述移动路由器还 包括第三建立模块, 用于: 若所述路由控制请求携带的路由控制策略信息中 的所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控 制策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
66、 如权利要求 65所述的移动路由器, 其特征在于, 所述第四收发模块 还用于: 根据所述路由控制请求携带的路由控制策略信息中的指示信息、 及 所述目的节点的当前移动路由器的地址, 向所述目的节点的当前移动路由器 发送路径切换指令, 以使所述目的节点的当前移动路由器建立所述目的节点 的当前移动路由器与所述指定路由节点之间的隧道, 及使所述目的节点的当 前移动路由器拆除所述目的节点的当前移动路由器与所述移动节点的当前移 动路由器之间的隧道。
67、 如权利要求 64-66任一权项所述的移动路由器, 其特征在于, 所述移 动路由器还包括第三拆除模块, 用于: 若所述路由控制请求携带的路由控制 策略信息中的所述指示信息表明不开启路由控制, 则拆除与指定路由节点之 间的隧道。
68、 如权利要求 64-67任一权项所述的移动路由器, 其特征在于, 所述第 四收发模块还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述 移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存 储的信息。
69、 如权利要求 64-68任一权项所述的移动路由器, 其特征在于, 所述第 四收发模块还用于: 若所述路由控制请求携带的路由控制策略信息中的所述 指示信息表明不开启路由控制, 向所述目的节点的家乡位置管理器请求获得 所述目的节点的当前移动路由器的地址; 向所述目的节点的当前移动路由器 发送路径切换指令, 以使所述目的节点的当前移动路由器根据所述路径切换 指令建立所述目的节点的当前移动路由器与所述移动节点的当前移动路由器 之间的隧道。
70、 一种网络设备, 其特征在于, 包括:
接收模块, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息;
发送模块, 用于通过与目的节点的当前移动路由器之间的隧道将第一处 理数据包发送给所述目的节点的当前移动路由器; 其中, 所述第一处理数据 包为所述网络设备通过对所述第一数据包进行处理得到的。
71、如权利要求 70所述的网络设备,其特征在于,所述接收模块还用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信 息中包括是否开启路由控制的指示信息。
72、 如权利要求 71所述的网络设备, 其特征在于, 所述网络设备还包括 第四建立模块, 用于: 若所述路由控制策略信息中的所述指示信息表明开启 路由控制, 则与所述目的节点的当前移动路由器之间建立隧道, 并将所述路 由控制策略信息更新到所述目的节点的当前移动路由器。
73、 如权利要求 71所述的网络设备, 其特征在于, 所述网络设备还包括 第四拆除模块, 用于: 若所述路由控制策略信息中的所述指示信息表明不开 启路由控制, 则拆除与所述目的节点的当前移动路由器之间的隧道。
74、 如权利要求 70-73任一权项所述的网络设备, 其特征在于, 所述网络 设备还包括第四拆除模块, 用于: 在所述 MN从源移动路由器移动到目标移 动路由器后, 拆除与所述源移动路由器之间的隧道。
75、 一种移动路由器, 其特征在于, 包括:
第一存储器, 用于存储指令;
第一接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包; 若判断为是, 则根据所述路由策略信息中的家乡地址的状态信息, 将所 述第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点; 获得所述指定路由节点返回的第一处理数据包, 并将所述第一处理数据包发 送给目的节点的当前移动路由器, 以通过所述目的节点的当前移动路由器将 所述第一处理数据包发送给所述目的节点; 其中, 所述第一处理数据包为所 述指定路由节点通过对所述第一数据包进行处理得到的;
第一处理器, 用于执行所述指令, 根据路由控制策略信息判断是否开启 对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由 控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由 控制策略信息中还包括家乡地址的状态信息。
76、 如权利要求 75所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
77、 如权利要求 76所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
78、如权利要求 76所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
79、 如权利要求 75-78任一权项所述的移动路由器, 其特征在于, 所述第 一处理器具体用于: 执行所述指令, 检测与所述指定路由节点的隧道是否存 在, 及当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指定路 由节点的隧道;
所述第一接口具体用于: 将所述第一数据包通过与所述指定路由节点的 隧道发送给所述指定路由节点。
80、 如权利要求 75-79任一权项所述的移动路由器, 其特征在于, 所述第 一处理器具体用于: 执行所述指令, 判断是否已建立与所述目的节点的当前 移动路由器之间的隧道, 及如果未建立与所述目的节点的当前移动路由器之 间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道;
所述第一接口具体用于: 通过与所述目的节点的当前移动路由器之间的 隧道将所述第一处理数据包发送给所述目的节点的当前移动路由器。
81、 如权利要求 75-80任一权项所述的移动路由器, 其特征在于, 所述第 一接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制 策略信息。
82、 如权利要求 81所述的移动路由器, 其特征在于, 所述第一处理器还 用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息中的所 述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控制策 略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
83、 如权利要求 81所述的移动路由器, 其特征在于, 所述第一处理器具 体用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息中的 所述指示信息表明不开启路由控制, 则拆除与指定路由节点之间的隧道。
84、 如权利要求 81-83任一权项所述的移动路由器, 其特征在于, 所述第 一接口还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及 移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移 动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储 的信息。
85、 一种网络设备, 其特征在于, 包括:
第二存储器, 用于存储指令;
第二接口, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息; 及,将第一处理数据包发送给所述 MN的移动路由器, 以使所述 MN 的移动路由器将所述第一处理数据包发送给目的节点的当前移动路由器; 第二处理器, 用于执行所述指令, 对所述第一数据包进行处理获得所述 第一处理数据包。
86、如权利要求 85所述的网络设备,其特征在于,所述第二接口还用于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策略信 息中包括开启路由控制的指示信息, 及家乡地址的状态信息。
87、 如权利要求 85所述的网络设备, 其特征在于, 所述第二处理器还用 于: 执行所述指令,根据所述 MN的移动路由器发送的建立请求, 与所述 MN 的移动路由器之间建立隧道。
88、 如权利要求 85所述的网络设备, 其特征在于, 所述第二处理器还用 于: 执行所述指令, 在所述 MN从源移动路由器移动到目标移动路由器后, 拆除与所述源移动路由器之间的隧道。
89、 一种移动路由器, 其特征在于, 包括:
第三存储器, 用于存储指令;
第三接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包, 根据路由控制策略信息判断是否开启对所述第一数据包的路由控制; 所 述路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信 息表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的 状态信息; 及, 根据所述路由策略中的家乡地址的状态信息, 将备份的第一 数据包发送至所述指定路由节点, 及通过与目的节点的当前移动路由器之间 的隧道将所述第一数据包发送给所述目的节点的当前移动路由器, 以通过所 述目的节点的当前移动路由器将所述第一数据包发送给所述目的节点;
第三处理器, 用于执行所述指令, 若判断为是, 将所述第一数据包进行 备份。
90、 如权利要求 89所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
91、 如权利要求 90所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息; 若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
92、如权利要求 90所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
93、 如权利要求 89-92任一权项所述的移动路由器, 其特征在于, 所述第 三处理器具体用于: 执行所述指令, 判断是否已建立与所述目的节点的当前 移动路由器之间的隧道, 及, 如果未建立与所述目的节点的当前移动路由器 之间的隧道, 则建立与所述目的节点的当前移动路由器之间的隧道;
所述第三接口具体用于: 通过与所述目的节点的当前移动路由器之间的 隧道将所述第一数据包发送给所述目的节点的当前移动路由器。
94、 如权利要求 89-93任一权项所述的移动路由器, 其特征在于, 所述第 三接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控制 策略信息。
95、 如权利要求 94所述的移动路由器, 其特征在于, 所述第三接口具体 用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点 的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述移动节点的 家乡移动路由器根据所述路由控制请求中包括的信息更新本地存储的信息。
96、 一种移动路由器, 其特征在于, 包括:
第四存储器, 用于存储指令; 第四接口, 用于获得移动节点 MN转发的来自第一家乡地址的第一数据 包, 及若判断为是, 则根据所述路由策略中的家乡地址的状态信息, 将所述 第一数据包通过与所述指定路由节点之间的隧道发送至所述指定路由节点, 以使所述指定路由节点通过与目的节点的当前移动路由器之间的隧道将第一 处理数据包发送给所述目的节点的当前移动路由器, 并通过所述目的节点的 当前移动路由器将所述第一处理数据包发送给所述目的节点; 其中, 所述第 一处理数据包为所述指定路由节点通过对所述第一数据包进行处理获得的; 第四处理器, 用于执行所述指令, 根据路由控制策略信息判断是否开启 对所述第一数据包的路由控制; 所述路由控制策略信息中包括是否开启路由 控制的指示信息, 并在所述指示信息表明开启路由控制的情况下, 所述路由 控制策略信息中还包括家乡地址的状态信息。
97、 如权利要求 96所述的移动路由器, 其特征在于, 所述表明开启路由 控制是指针对所述 MN的指定家乡地址的数据包开启路由控制, 不开启路由 控制是指不开启所述 MN的指定家乡地址的路由控制; 或者
所述表明开启路由控制是指针对所述 MN的所有数据包开启路由控制, 不开启路由控制是指针对所述 MN的所有数据包不开启路由控制。
98、 如权利要求 97所述的移动路由器, 其特征在于, 所述路由控制策略 信息中还包括 MN的家乡地址, 所述指示信息包括 MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的数 据包开启路由控制;
若所述 MN的状态信息表明开启路由控制, 且所述家乡地址的状态信息 表明不开启路由控制, 则所述指示信息表明针对所述 MN的对应家乡地址的 数据包不开启路由控制。
99、如权利要求 97所述的移动路由器,其特征在于,所述指示信息包括: MN的状态信息;
若所述 MN的状态信息表明开启路由控制, 则所述指示信息表明针对所 述 MN的所有数据包开启路由控制;
若所述 MN的状态信息表明不开启路由控制, 则所述指示信息表明针对 所述 MN的所有数据包不开启路由控制。
100、 如权利要求 96-99任一权项所述的移动路由器, 其特征在于, 所述 第四处理器具体用于: 执行所述指令, 检测与所述指定路由节点的隧道是否 存在, 及, 当检测确定与所述指定路由节点的隧道不存在时, 建立与所述指 定路由节点的隧道;
所述第四接口具体用于: 将所述第一数据包通过与所述指定路由节点的 隧道发送给所述指定路由节点。
101、 如权利要求 96-100任一权项所述的移动路由器, 其特征在于, 所述 第四接口还用于: 接收路由控制请求, 所述路由控制请求中包括所述路由控 制策略信息。
102、 如权利要求 101所述的移动路由器, 其特征在于, 所述第四处理器 还用于: 执行所述指令, 若所述路由控制请求携带的路由控制策略信息中的 所述指示信息表明开启路由控制, 则根据所述路由控制请求携带的路由控制 策略信息中的家乡地址的状态信息, 建立与所述指定路由节点之间的隧道。
103、 如权利要求 102所述的移动路由器, 其特征在于, 所述第四接口还 用于: 根据所述路由控制请求携带的路由控制策略信息中的指示信息、 及所 述目的节点的当前移动路由器的地址, 向所述目的节点的当前移动路由器发 送路径切换指令, 以使所述目的节点的当前移动路由器建立所述目的节点的 当前移动路由器与所述指定路由节点之间的隧道, 及使所述目的节点的当前 移动路由器拆除所述目的节点的当前移动路由器与所述移动节点的当前移动 路由器之间的隧道。
104、 如权利要求 101-103任一权项所述的移动路由器, 其特征在于, 所 述第四处理器还用于: 执行所述指令, 若所述路由控制请求携带的路由控制 策略信息中的所述指示信息表明不开启路由控制, 则拆除与指定路由节点之 间的隧道。
105、 如权利要求 101-104任一权项所述的移动路由器, 其特征在于, 所 述第四接口还用于: 将所述路由控制请求转发给移动节点的家乡位置管理器, 及移动节点的家乡移动路由器, 以使所述移动节点的家乡位置管理器和所述 移动节点的家乡移动路由器根据所述路由控制请求中包括的信息更新本地存 储的信息。
106、 如权利要求 101-105任一权项所述的移动路由器, 其特征在于, 所 述第四接口还用于: 若所述路由控制请求携带的路由控制策略信息中的所述 指示信息表明不开启路由控制, 向所述目的节点的家乡位置管理器请求获得 所述目的节点的当前移动路由器的地址; 向所述目的节点的当前移动路由器 发送路径切换指令, 以使所述目的节点的当前移动路由器根据所述路径切换 指令建立所述目的节点的当前移动路由器与所述移动节点的当前移动路由器 之间的隧道。
107、 一种网络设备, 其特征在于, 包括:
第五存储器, 用于存储指令
第五接口, 用于接收来自移动节点 MN的移动路由器的第一数据包; 所 述第一数据包是所述 MN的移动路由器根据路由控制策略信息判断开启对所 述第一数据包的路由控制后通过与所述网络设备之间的隧道发送来的, 所述 路由控制策略信息中包括是否开启路由控制的指示信息, 并在所述指示信息 表明开启路由控制的情况下, 所述路由控制策略信息中还包括家乡地址的状 态信息;
第五处理器, 用于执行所述指令, 控制所述第五接口通过与目的节点的 当前移动路由器之间的隧道将第一处理数据包发送给所述目的节点的当前移 动路由器; 其中, 所述第一处理数据包为所述网络设备通过对所述第一数据 包进行处理得到的。
108、 如权利要求 107所述的网络设备, 其特征在于, 所述第五接口还用 于: 接收所述 MN的移动路由器发送的路由控制策略信息, 所述路由控制策 略信息中包括是否开启路由控制的指示信息。
109、 如权利要求 108所述的网络设备, 其特征在于, 所述第五处理器还 用于: 执行所述指令, 若所述路由控制策略信息中的所述指示信息表明开启 路由控制, 则与所述目的节点的当前移动路由器之间建立隧道, 并将所述路 由控制策略信息更新到所述目的节点的当前移动路由器。
110、 如权利要求 108所述的网络设备, 其特征在于, 所述第五处理器还 用于: 执行所述指令, 若所述路由控制策略信息中的所述指示信息表明不开 启路由控制, 则拆除与所述目的节点的当前移动路由器之间的隧道。
111、 如权利要求 107-110任一权项所述的网络设备, 其特征在于, 所述 第五处理器还用于: 执行所述指令, 在所述 MN从源移动路由器移动到目标 移动路由器后, 拆除与所述源移动路由器之间的隧道。
PCT/CN2014/071332 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备 WO2015109514A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
EP20161117.5A EP3737046B1 (en) 2014-01-24 2014-01-24 Data packet sending method, mobile router, and network device
PCT/CN2014/071332 WO2015109514A1 (zh) 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备
EP14879558.6A EP3089406B1 (en) 2014-01-24 2014-01-24 Data packet sending method, mobile router, and network device
PL14879558T PL3089406T3 (pl) 2014-01-24 2014-01-24 Sposób wysyłania pakietów danych, router mobilny i urządzenie sieciowe
CN201810008962.XA CN108055200B (zh) 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备
CN201480000026.4A CN105103501B (zh) 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备
US15/217,680 US10193792B2 (en) 2014-01-24 2016-07-22 Data packet sending method, mobile router, and network device
US16/203,300 US10904133B2 (en) 2014-01-24 2018-11-28 Data packet sending method, mobile router, and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071332 WO2015109514A1 (zh) 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/217,680 Continuation US10193792B2 (en) 2014-01-24 2016-07-22 Data packet sending method, mobile router, and network device

Publications (1)

Publication Number Publication Date
WO2015109514A1 true WO2015109514A1 (zh) 2015-07-30

Family

ID=53680623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071332 WO2015109514A1 (zh) 2014-01-24 2014-01-24 一种数据包发送方法、移动路由器及网络设备

Country Status (5)

Country Link
US (2) US10193792B2 (zh)
EP (2) EP3089406B1 (zh)
CN (2) CN105103501B (zh)
PL (1) PL3089406T3 (zh)
WO (1) WO2015109514A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839372A (zh) * 2019-11-22 2021-05-25 中国电信股份有限公司 用户的网络接入方法、装置和计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303501A (ja) * 2004-04-08 2005-10-27 Hitachi Ltd パケット転送装置
CN102035691A (zh) * 2009-09-28 2011-04-27 中国移动通信集团公司 网络链路质量检测的方法及装置
CN102546406A (zh) * 2011-12-28 2012-07-04 龙芯中科技术有限公司 片上网络路由集中控制系统和装置及自适应路由控制方法

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6765892B1 (en) * 2000-06-26 2004-07-20 Cisco Technology, Inc. Optimizing IP multicast data transmission in a mobile IP environment
US7688823B2 (en) * 2002-06-04 2010-03-30 Alcatel-Lucent Usa Inc. Efficient mechanism for wire-tapping network traffic
US7489667B2 (en) * 2002-11-08 2009-02-10 Faccin Stefano M Dynamic re-routing of mobile node support in home servers
US20050289244A1 (en) * 2004-06-28 2005-12-29 Himansu Sahu Method for service chaining in a communication network
US7840217B2 (en) * 2004-07-23 2010-11-23 Cisco Technology, Inc. Methods and apparatus for achieving route optimization and location privacy in an IPV6 network
US20060291422A1 (en) * 2005-06-27 2006-12-28 Nokia Corporation Mobility management in a communication system of at least two communication networks
CN100456742C (zh) * 2006-04-30 2009-01-28 国家数字交换系统工程技术研究中心 移动互联网协议路由处理方法和系统及路由器
CN101247314B (zh) * 2007-02-15 2013-11-06 华为技术有限公司 路由优化方法、代理移动媒体pma及报文传送系统
JPWO2008114496A1 (ja) * 2007-03-16 2010-07-01 パナソニック株式会社 パケット通信装置
KR100969152B1 (ko) * 2007-06-27 2010-07-08 한국전자통신연구원 프록시 모바일 아이피버전6 망에서 노드 간의 경로 최적화방법 및 시스템
US7751405B1 (en) * 2007-09-26 2010-07-06 Juniper Networks, Inc. Automatic configuration of label switched path tunnels using BGP attributes
WO2009109349A1 (en) * 2008-03-03 2009-09-11 Panasonic Corporation Information exchange between gateways for route optimization with network-based mobility management
EP2203005A1 (en) * 2008-12-23 2010-06-30 Panasonic Corporation Optimized home link detection
CN101478750B (zh) * 2009-01-23 2011-03-30 西安电子科技大学 基于IPSec的快速切换与认证融合方法
CN102045235A (zh) * 2009-10-16 2011-05-04 华为技术有限公司 实现路由优化的方法及接入路由器
JP5772434B2 (ja) * 2011-09-20 2015-09-02 富士通株式会社 冗長化制御のためのプログラム、情報処理装置及び方法、通信装置、中継処理方法及びプログラム
CN103988531A (zh) * 2011-11-29 2014-08-13 交互数字专利控股公司 用于ip移动性管理的方法
CN103458389B (zh) * 2012-05-29 2018-10-26 南京中兴软件有限责任公司 移动节点注册方法、互通方法、切换方法和网元
CN103108370B (zh) * 2013-01-17 2016-03-30 中国电子科技集团公司第二十八研究所 基于分层路由的网络移动无缝切换方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303501A (ja) * 2004-04-08 2005-10-27 Hitachi Ltd パケット転送装置
CN102035691A (zh) * 2009-09-28 2011-04-27 中国移动通信集团公司 网络链路质量检测的方法及装置
CN102546406A (zh) * 2011-12-28 2012-07-04 龙芯中科技术有限公司 片上网络路由集中控制系统和装置及自适应路由控制方法

Also Published As

Publication number Publication date
CN105103501A (zh) 2015-11-25
EP3089406A4 (en) 2017-02-01
US10193792B2 (en) 2019-01-29
EP3737046B1 (en) 2023-05-24
EP3089406B1 (en) 2020-04-01
PL3089406T3 (pl) 2020-07-13
EP3089406A1 (en) 2016-11-02
US10904133B2 (en) 2021-01-26
US20160330104A1 (en) 2016-11-10
US20190097916A1 (en) 2019-03-28
CN105103501B (zh) 2018-01-16
EP3737046A1 (en) 2020-11-11
CN108055200A (zh) 2018-05-18
CN108055200B (zh) 2021-01-12

Similar Documents

Publication Publication Date Title
US11979778B2 (en) Release of a second session of a wireless device by an access and mobility management function
US20200366525A1 (en) Method, device, and system for controlling tunnel identifier allocation
US11606727B2 (en) Handover of a wireless device in a network
JP6491745B2 (ja) 仮想ネットワーク機能プールと制御エンティティとの間におけるインターフェース・エレメントのための方法、およびシステム
US10405246B2 (en) Method and apparatus for managing mobility of MPTCP connection
WO2017201722A1 (zh) 一种通信控制的方法及相关网元
WO2018006306A1 (zh) 一种网络连接配置方法及装置
WO2017054181A1 (zh) 业务流处理策略的处理方法、装置和系统
WO2018018631A1 (zh) 一种锚点网关的切换方法、装置及系统
JP5443609B2 (ja) 端末のハンドオーバーを実現する方法及びシステム
WO2022188770A1 (zh) 数据单元处理方法、装置、节点和存储介质
WO2015109514A1 (zh) 一种数据包发送方法、移动路由器及网络设备
RU2640738C1 (ru) Способ отправки пакета данных и мобильный маршрутизатор

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480000026.4

Country of ref document: CN

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

Ref document number: 14879558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014879558

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014879558

Country of ref document: EP