WO2017079901A1 - 一种路由方法及路由装置 - Google Patents
一种路由方法及路由装置 Download PDFInfo
- Publication number
- WO2017079901A1 WO2017079901A1 PCT/CN2015/094212 CN2015094212W WO2017079901A1 WO 2017079901 A1 WO2017079901 A1 WO 2017079901A1 CN 2015094212 W CN2015094212 W CN 2015094212W WO 2017079901 A1 WO2017079901 A1 WO 2017079901A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address information
- routing device
- data packet
- mobile node
- mapping relationship
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of communications, and in particular, to a routing method and a routing device.
- the Internet Protocol (English Protocol: Internet Protocol, IP for short) data packet is routed along the network topology in the network, that is, the network prefix of the IP packet destination address belongs to which router, then the data packet will be routed to At the corresponding router.
- IP Internet Protocol
- Tunneling techniques are used in existing networks to implement routing changes for IP packets. Tunneling usually involves adding extra data to the IP header or adding a new IP header to the original IP packet.
- the maximum transmission unit of the network (English name: Maximum Transmission Unit, MTU for short) may change. Adding additional data to the IP header, or adding a new IP header to implement the routing change of the IP packet is likely to cause the IP packet of the MN's service flow to be fragmented, resulting in a decrease in the transmission performance of the network.
- the application provides a routing method and a routing device for improving transmission performance of a network.
- the application provides a routing method, including:
- the first routing device allocates first address information to the mobile node that is moved to the network where the first routing device is located, and establishes a mapping relationship between the first address information and the second address information, where the second address information is Address information obtained by the mobile node in a home network of the mobile node;
- mapping relationship Transmitting, by the first routing device, the mapping relationship to a second routing device, where the mapping relationship is used by the second routing device to receive the data packet sent to the mobile node from a communication node Modifying the second address information into the first address information;
- the first routing device modifies the first address information in the received data packet to the second address information according to the mapping relationship
- the first routing device sends, to the mobile node, a data packet that modifies the first address information to the second address information.
- the transition of the routing path is implemented by the mapping relationship established between the first address information and the second address information, it is not necessary to add additional data to the header information of the data packet, thereby effectively avoiding packet fragmentation. Segments, thereby improving the transmission performance of the network.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information.
- the second port number the amount of IP address maintained by the first routing device can be reduced.
- the IP address can also be combined with other parameters, not limited to the port number.
- the IP address and port number may also be unique, as long as the address assigned to the mobile node can be distinguished.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network where the communication node is located.
- the change of the packet routing path may be directly performed between the home network of the communication node and the visited network of the mobile node.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a visited network where the communication node is located.
- the change of the packet routing path may be directly performed between the visited network of the communication node and the visited network of the mobile node.
- the sending, by the first routing device, the mapping relationship to the second routing device includes:
- the first routing device sends the second route to the control plane entity or control plane signaling
- the device transmits the mapping relationship.
- the application provides a routing method, including:
- the second routing device receives the mapping relationship between the first address information and the second address information sent by the first routing device, where the first address information is the first when the mobile node moves to the network where the first routing device is located
- the routing device allocates address information allocated by the mobile node, where the second address information is address information acquired by the mobile node in the home network of the mobile node;
- the second routing device modifies the second address information in the data packet sent to the mobile node received from the communication node to the first address information according to the mapping relationship;
- the transition of the routing path is implemented by the mapping relationship established between the first address information and the second address information, it is not necessary to add additional data to the header information of the data packet, thereby effectively avoiding packet fragmentation. Segments, thereby improving the transmission performance of the network.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information. And the second port number.
- the second routing device modifies the second address information in the data packet sent to the mobile node received from the communication node to the first address information according to the mapping relationship. Specifically include:
- the second routing device establishes a mapping relationship between the first address information and the second address information
- the second routing device receives a data packet sent by the communication node to the mobile node, and modifies the second address information in the data packet to the first address information according to the mapping relationship.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network where the communication node is located.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a visited network where the communication node is located.
- the application provides a routing device, including:
- a processing unit configured to allocate first address information to a mobile node that is moved to the network where the first routing device is located, and establish a mapping relationship between the first address information and the second address information, where the second address information Address information obtained by the mobile node in a home network of the mobile node;
- a sending unit configured to send, to the second routing device, the mapping relationship, where the mapping relationship is used by the second routing device to receive the data packet sent to the mobile node from a communication node Modifying the second address information into the first address information;
- a receiving unit configured to receive a data packet that is sent by the second routing device and modified to the first address information
- the processing unit is further configured to modify the first address information in the received data packet to the second address information according to the mapping relationship
- the sending unit is further configured to send, to the mobile node, a data packet that modifies the first address information to the second address information.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information. And the second port number.
- the sending unit is specifically configured to send the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a route in a home network where the communication node is located.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a visited network where the communication node is located.
- the application provides a routing device, including:
- a receiving module configured to receive a mapping relationship between the first address information and the second address information sent by the first routing device, where the first address information is when the mobile node moves to the network where the first routing device is located Address information allocated by the routing device to the mobile node, where the second address information is address information acquired by the mobile node in the home network of the mobile node;
- a processing module configured to modify, according to the mapping relationship, the second address information in a data packet sent from the communication node to the mobile node to the first address information
- a sending module configured to send, to the first routing device, a data packet modified to the first address information, so that the first routing device sends the first one of the received data packets according to the mapping relationship After the address information is modified into the second address information, the data packet modified to the second address information is sent to the mobile node.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information. And the second port number.
- the processing module is specifically configured to:
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network where the communication node is located.
- the first routing device is a visited network of the mobile node
- the routing device in the second routing device is a routing device in the visited network where the communication node is located.
- the application provides a routing apparatus, including: a receiver, a transmitter, and a processor,
- the processor is configured to allocate first address information to a mobile node that is moved to the network where the first routing device is located, and establish a mapping relationship between the first address information and the second address information, where the second The address information is address information acquired by the mobile node in a home network of the mobile node;
- the transmitter configured to send the mapping relationship to a second routing device, where the mapping relationship is used by the second routing device to receive the data packet sent to the mobile node from a communication node Modifying the second address information into the first address information;
- the receiver is configured to receive a data packet that is sent by the second routing device and modified to the first address information
- the processor is further configured to modify the first address information in the received data packet to the second address information according to the mapping relationship;
- the transmitter is further configured to send, to the mobile node, a data packet that modifies the first address information to the second address information.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information. And the second port number.
- the transmitter is specifically configured to send the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network where the communication node is located.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a visited network where the communication node is located.
- the application provides a routing apparatus, including: a receiver, a transmitter, and a processor,
- the receiver is configured to receive a mapping relationship between the first address information and the second address information sent by the first routing device, where the first address information is when the mobile node moves to the network where the first routing device is located Address information allocated by the first routing device to the mobile node, where the second address information is address information acquired by the mobile node in the home network of the mobile node;
- the processor configured to modify, according to the mapping relationship, the second address information in a data packet sent from the communication node to the mobile node to the first address information;
- the transmitter configured to send, to the first routing device, a data packet modified to the first address information, so that the first routing device sends the received data packet according to the mapping relationship After the first address information is modified into the second address information, the data packet modified to the second address information is sent to the mobile node.
- the processor is specifically configured to:
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information. And the second port number.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network of the mobile node
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a home network where the communication node is located.
- the first routing device is a routing device in a visited network of the mobile node
- the second routing device is a routing device in a visited network where the communication node is located.
- the embodiment of the present invention has the following advantages: the first routing device allocates first address information to a mobile node that moves to the network where the first routing device is located, and establishes the a mapping relationship between the first address information and the second address information; the first routing device sends the mapping relationship to the second routing device, and the second routing device sends the received information from the communication node according to the mapping relationship
- the second address information in the data packet of the mobile node is modified into the first address information; the first routing device receives a data packet sent by the second routing device and modified into the first address information.
- the first routing device sends the first address information to the mobile node to modify A data packet for the second address information. Since the transition of the routing path is implemented by the mapping relationship established between the first address information and the second address information, it is not necessary to add additional data to the header information of the data packet, thereby effectively avoiding packet fragmentation. Segments, thereby improving the transmission performance of the network.
- FIG. 1 is a schematic diagram of a packet routing path change according to the present invention.
- FIG. 2 is a schematic flowchart of a routing method provided by the present invention.
- FIG. 3 is a schematic diagram of a distributed mobility management scenario provided by the present invention.
- FIG. 4 is a schematic diagram of another distributed mobility management scenario provided by the present invention.
- FIG. 5 is a schematic diagram of another distributed mobility management scenario provided by the present invention.
- FIG. 6 is a schematic structural diagram of an embodiment of a routing apparatus according to the present invention.
- FIG. 7 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention.
- FIG. 8 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention.
- FIG. 9 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention.
- first, second, etc. may be used in the embodiments of the present invention to describe the routing device, but the routing device should not be limited to these terms. These terms are only used to distinguish routing devices from one another.
- the first routing device may also be referred to as a second routing device without departing from the scope of the embodiments of the present invention.
- the second routing device may also be referred to as a first routing device; likewise, the second The routing device may also be referred to as a third routing device or the like, which is not limited in this embodiment of the present invention.
- IP address anchor IP anchor (or anchor), when an IP address is used as the destination address to route in the IP network, all the network entities whose packets with the IP address as the destination address are routed are called The anchor of this IP address.
- Home network A network in which the MN initially accesses and obtains a home address, and the MN can obtain address information from the home network.
- Visiting the network Other networks besides the home network.
- the mobile node obtains an IP address IP1 generated by the network prefix prefix1 in the network where router 1 (router1 in the figure) is located, when the mobile node moves to the network where router 2 (router2 in the figure) is located.
- IP1 generated by the network prefix prefix1 in the network where router 1 (router1 in the figure) is located
- router 2 router2 in the figure
- the path of the IP packet with the destination address of IP1 needs to be changed from the path shown by the solid line in FIG. 1 to the dotted line. path.
- the MN can only use one mobility anchor in the network at the same time, and this anchor point is usually performed in the network by the MN.
- the registration is selected by the network side.
- a distributed mobility management scheme Different from the traditional centralized mobility management scheme is a distributed mobility management scheme.
- a distributed method is used to deploy the mobility management anchor point, when the mobile node MN moves in the network. You can use multiple anchor points at the same time.
- the IP packet routing path is changed by establishing a tunnel.
- the technical solution of the present invention mainly relates to interaction between routing devices, including but not limited to gateways, routers, and the like.
- routing devices including but not limited to gateways, routers, and the like.
- the solution provided by the embodiment of the present invention will be described below in conjunction with the specific execution flow of the first routing device and the second routing device in FIG.
- the first routing device allocates first address information to a mobile node that moves to the network where the first routing device is located, and establishes a mapping relationship between the first address information and the second address information.
- the second address information is address information acquired by the mobile node in a home network of the mobile node.
- the first address information is first IP address information
- the second address information is the second IP address information
- the mobile node acquires an address information (for example, set to IPm) in the home network of the mobile node, and the first routing device maintains an IP address pool, and the IP address in the IP address pool is The first routing device acts as an anchor point.
- the first routing device allocates an IP address (for example, IPBm, the mobile node) from the IP address pool.
- the IPBm allocated to the first routing device is not perceived, and a mapping relationship between the IPBm and the IPm is established on the first routing device.
- the IP address assigned by the first routing device to the mobile node is unique.
- the first address information is the first IP address information and the first port number
- the second address is used to reduce the amount of the IP address that is maintained by the first routing device.
- the information is the second IP address information and the second port number.
- the first routing device allocates the first IP address information and the first port number to the mobile node, and establishes a mapping between the first IP address information and the first port number and the second IP address information and the second port number.
- the first routing device allocates a pair of the mobile node from the IP pool when the mobile node moves to the network where the first routing device is located.
- IP address + port number and establish the corresponding mapping relationship.
- the IP address obtained by the mobile node in the home network of the mobile node is IPm
- the port number is port-m.
- the IP address assigned by the node is IPBm and the port number is port-B. Then, a mapping relationship between IPm+port-m and IPBm+port-B is established on the first routing device.
- the IP address + port number assigned by the first routing device to the mobile node from the IP pool is unique.
- IP address can also be combined with other parameters, not limited to the port number.
- the IP address + port number may also be unique, as long as the address assigned to the mobile node can be distinguished.
- the first routing device receives the second address information sent by the mobile node; the first routing device may also obtain the second address information by using the control plane entity; the first routing device may also obtain the second address information by using other existing technologies. , will not repeat them here.
- the first routing device sends the mapping relationship to a second routing device.
- the first routing device sends the established mapping relationship between the first address information and the second address information to the second routing device, where the mapping relationship is used by the second routing device to be received from the communication node.
- the second address information in the data packet sent to the mobile node is modified to the first address information.
- the data packet is an IP data packet.
- the network where the first routing device is located is the visited network of the mobile node
- the network where the second routing device is located is the home network of the mobile node
- the data packet is sent from the communication node to the mobile node, and when the mobile node moves from the mobile node's home network to the mobile node's visited network, the packet routing path changes at the mobile node's home network and the mobile node.
- the nodes are visited between the visited networks. Because the network where the second routing device is located in the scenario is the home network of the mobile node, the second address information is address information allocated by the second routing device.
- the network where the first routing device is located is the visited network of the mobile node, and the network where the second routing device is located is the home network where the communication node is located.
- the data packet is sent from the communication node to the mobile node, and the mobile node moves from the home network of the mobile node to the visited network of the mobile node, thereby reducing the redundant routing path, thereby reducing the packet loss rate and network transmission.
- the delay, the change of the packet routing path can be directly performed between the home network of the communication node and the visited network of the mobile node.
- the network where the first routing device is located is the visited network of the mobile node
- the network where the second routing device is located is the visited network where the communication node is located.
- the data packet is sent from the communication node to the mobile node, the mobile node moves from the home network of the mobile node to the visited network of the mobile node, and the communication node moves from the home network of the communication node to the communication node.
- the change of the packet routing path can be directly performed between the visited network of the communication node and the visited network of the mobile node.
- the first routing device sends the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
- the establishment of the mapping relationship on the first routing device or the second routing device is accomplished with the aid of control plane signaling.
- the control plane here can be an independent control plane entity (for example, the mobility management entity (English full name: Mobile Managenment Entity, MME for short), software-defined network (English full name: Software Defined Network, referred to as: SDN) central controller a centralized control plane, or directly between the first routing device and the second routing device
- SDN Software Defined Network
- Manner 1 After the first routing device establishes the mapping relationship, the first routing device sends the mapping relationship to the control plane, and then the control plane entity sends the mapping relationship to the second routing device. Optionally, the second routing device also establishes the mapping relationship.
- Manner 2 The first routing device or the second routing device completes the mapping relationship establishment under the control of the control plane entity. Specifically, the control plane entity first generates a mapping relationship between the first routing device and the second routing device, and then the control entity sends the generated mapping relationship to the first routing device and the second routing device respectively.
- the first routing device after the first routing device establishes the mapping relationship, the first routing device sends the mapping relationship to the second router.
- the second routing device sends the mapping device according to the first routing device.
- the mapping relationship to establish your own mapping relationship.
- the second routing device receives the mapping relationship sent by the first routing device.
- the second routing device receives the mapping relationship between the first address information and the second address information sent by the first routing device in the process 102.
- the description of the first address information, the second address information, and the mapping relationship is referred to in the process 101, and details are not described herein again.
- the second routing device modifies the second address information in the data packet sent to the mobile node received from the communication node to the first address information according to the mapping relationship.
- the data packet sent by the communication node (English name: Correspondent Node, referred to as CN) to the mobile node needs to pass through the network entity of the second routing device. If the mobile node obtains the address information in the home network of the mobile node as IPm, then It can also be said that the second routing device is located on the routing path of the IPm.
- the data packet sent to the mobile node needs to pass through the network entity of the second routing device first, so the second routing device receives the data packet, and then the data packet according to the mapping relationship between the first address information and the second address information.
- the second address information in the modification is modified to the first address information.
- the second routing device receives the mapping relationship between the second address information and the first address information sent by the first routing device. Therefore, in the process, the second routing device needs to send the mapping according to the mapping relationship. Modifying the data packet of the mobile node, specifically modifying the second address information of the data packet to the first address information; according to the description in the process 101, if the IP address is For example, if the location information acquired by the mobile node in the home network of the mobile node is IPm, and the data packet is an IP data packet, the destination address of the IP data packet sent to the mobile node is IPm.
- the second address information of the IP data packet is IPm
- the second routing device modifies the IPm of the IP data packet to the IPBm according to the mapping relationship between the IPm and the IPBm; if the implementation manner of the IP address and the port number is taken as an example, Similarly, if the address information acquired by the mobile node in the home network of the mobile node is IPm+port-m, the destination address of the IP data packet sent to the mobile node is IPm+port-m, that is, the IP data. The second address information of the packet is IPm+port-m.
- the second routing device modifies the IPm+port-m of the IP packet according to the mapping relationship between IPm+port-m and IPBm+port-B. IPBm+port-B.
- the second routing device modifies the second address information in the data packet sent to the mobile node received from the communication node to the first address information according to the mapping relationship. Specifically include:
- the second routing device establishes a mapping relationship between the first address information and the second address information
- the second routing device receives a data packet sent by the communication node to the mobile node, and modifies the second address information in the data packet to the first address information according to the mapping relationship.
- the second routing device establishes an inverse mapping relationship between the second address information and the first address information, and the second routing device receives the communication node sent to the And moving the data packet of the node, and modifying the second address information in the data packet to the first address information according to the reverse mapping relationship.
- the second routing device sends, to the first routing device, a data packet modified to the first address information.
- the second routing device sends a data packet modified to the first address information to the first routing device, and the first routing device sends the first packet in the received data packet according to the mapping relationship.
- the address information is modified to the second address information, and then the data packet modified to the second address information is sent to the mobile node.
- the first routing device receives a data packet that is sent by the second routing device and modified to the first address information.
- the first routing device receives the data packet sent by the second routing device in the process 203 and modified into the first address information.
- the first routing device modifies the first address information in the received data packet to the second address information according to the mapping relationship.
- the first routing device receives the data packet sent by the second routing device and modified to the first address information in the process 203.
- the first routing device establishes the first address information. a mapping relationship with the second address information; therefore, the first routing device modifies the first address information in the received data packet into a location according to a mapping relationship between the first address information and the second address information
- the second address information is described. For example, referring to the description in the processes 101 and 202, taking the implementation manner of the IP address information as an example, it is assumed that the destination address of the IP data packet addressed to the mobile node is IPm, and the destination address IPm of the IP data packet is modified in process 203.
- the first routing device modifies the IPBm of the IP packet to the IPm according to the mapping relationship between the established IPBm and the IPm; if the implementation of the IP address information and the port number is taken as an example, the reference IP may also be used. The implementation of address information is not described here.
- the first routing device sends, to the mobile node, a data packet that modifies the first address information to the second address information.
- the first routing device sends, to the mobile node, a data packet that modifies the first address information to the second address information.
- the first routing device allocates first address information to the mobile node that moves to the network where the first routing device is located, and establishes a mapping relationship between the first address information and the second address information; a routing device sends the mapping relationship to the second routing device, and the second routing device modifies the second address information in the data packet sent to the mobile node received from the communication node according to the mapping relationship And the first routing device receives the data packet sent by the second routing device and modified into the first address information; and according to the mapping relationship, the received data packet The first address information is modified to the second address information; the first routing device sends, to the mobile node, a data packet that modifies the first address information to the second address information.
- the transition of the routing path is implemented by the mapping relationship established between the first address information and the second address information, it is not necessary to add additional data to the header information of the data packet, thereby effectively avoiding packet fragmentation. Segments, thereby improving the transmission performance of the network.
- the transmission direction of the data packet is a data packet sent from the communication node to the mobile node
- the modification of the routing path of the data packet sent from the mobile node to the communication node is also applicable to the solution of the present invention. I will not repeat them here.
- the solution of the present invention is applicable to the traditional centralized mobility management, and is also applicable to the distributed mobility management.
- the following describes the distributed mobility management scenario as an example.
- the routing device 1 serves as an anchor point in the visited network of the mobile node (the MN in the figure), and the routing device 2 (in the figure As anchorH-m), as an anchor point in the MN's home network, the routing device 3 (anchorH-c in the figure) serves as an anchor point for the home network of the CN. Since the MN moves from the MN's home network to the MN's visited network, when the IP packet is sent from the communication node (CN in the illustration) to the MN of the network where the anchorB is located, the IP packet routing path changes in the MN's home network and The MN is visited between the visited networks.
- the anchorB is the first routing device mentioned in the present invention
- the anchorH-m is the second routing device mentioned in the present invention
- the routing path occurs along the direction of the arrow in the figure. Changed. Take the implementation of IP address information as an example. The specific process is as follows:
- IPm is the address information acquired by the mobile node in the home network of the mobile node.
- IPm is allocated by the anchor anchorH-m in the home network of the MN.
- the anchor anchorB in the visited network of the MN learns the address information IPm in the home network of the MN, and the anchorB allocates an IP address IPBm to the MN ( The MN does not perceive the assigned IPBm, and establishes a mapping relationship between the IPBm and the IPm on the anchorB.
- the anchor relationship is sent to the anchor anchorH-m in the home network of the MN through the anchorB.
- the anchorH-m You can also establish a mapping between IPm and IPBm on anchorH-m.
- the mapping between anchorB and anchorH-m is established with the help of control plane signaling.
- the control plane here may be a centralized control plane with an independent control plane entity, or may be directly exchanged signaling between the anchorB and the anchorH-m as control plane signaling.
- control plane signaling For details, refer to the description in process 102. No detailed description will be given.
- anchorB needs to maintain an IP address pool. Whenever MN moves to anchorB, anchorB The MN is assigned an IP address; when the MN leaves the anchorB, the anchorB can reclaim the IP address, so the IP address MN does not perceive.
- the anchor anchorH-m in the MN home network changes the destination IP address of the IP data packet to IPm according to the mapping relationship between the received IPm and the IPBm. IPBm, and the modified IP packet is sent out.
- the anchor B of the MN visited the network receives the IP data packet
- the destination address IPBm is changed to IPm and sent to the MN in the visited network according to the mapping relationship between the IPBm and the IPm saved by the anchor B, thereby implementing the transition of the routing path.
- the routing path in the scenario shown in Figure 3 is from anchorH-c to anchorH-m to anchorB.
- the change of the IP packet routing path can be directly performed between the home network of the CN and the visited network of the MN, and the routing path is anchorH- c to anchorB, therefore, in this scenario, anchorB is also the first routing device mentioned in the present invention, and anchorH-c is also the second routing device mentioned in the present invention.
- anchorB is also the first routing device mentioned in the present invention
- anchorH-c is also the second routing device mentioned in the present invention.
- the routing device 4 serves as an anchor point in the CN's visited network, when the MN moves from the MN's home network to the MN.
- the IP packet routing path can be changed directly at the CN.
- the access network is performed between the visited network and the visited network of the MN.
- the routing path is anchorA to anchorB. Therefore, in this scenario, the anchorB is the first routing device mentioned in the present invention, and the anchorA is the second routing device mentioned in the present invention.
- the anchorA is the first routing device mentioned in the present invention
- the anchorB is the second routing device mentioned in the present invention. Refer to the scenario shown in Figure 3, and details are not described here.
- IP address information and the port number or other implementations that can distinguish the addresses assigned to the mobile node can be referred to the descriptions in the application scenarios listed above. Let me repeat.
- an embodiment of the routing device provided by the present invention includes:
- the processing unit 301 is configured to allocate first address information to a mobile node that is moved to the network where the first routing device is located, and establish a mapping relationship between the first address information and the second address information, where the second address
- the information is address information acquired by the mobile node in a home network of the mobile node;
- the sending unit 302 is configured to send, to the second routing device, the mapping relationship, where the mapping relationship is used by the second routing device to receive the data packet sent to the mobile node from the communication node.
- the second address information is modified into the first address information
- the receiving unit 303 is configured to receive a data packet that is sent by the second routing device and modified to the first address information.
- the processing unit 301 is further configured to modify the first address information in the received data packet to the second address information according to the mapping relationship;
- the sending unit 302 is further configured to send, to the mobile node, a data packet that modifies the first address information to the second address information.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information and a second port number.
- the sending unit 302 is specifically configured to send the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
- the processing unit 301 is configured to execute the processes 101 and 104 in FIG. 2, the sending unit 302 is configured to execute the processes 102 and 105 in FIG. 2, and the receiving unit 303 is configured to execute the process 103 in FIG.
- the related descriptions and effects of the embodiments are understood, and the details are not described herein.
- another embodiment of the routing apparatus provided by the present invention includes:
- the receiving module 401 is configured to receive a mapping relationship between the first address information and the second address information sent by the first routing device, where the first address information is that when the mobile node moves to the network where the first routing device is located
- the first routing device is address information allocated by the mobile node, and the second address information is address information acquired by the mobile node in the home network of the mobile node;
- the processing module 402 is configured to modify, according to the mapping relationship, the second address information in the data packet sent to the mobile node that is received from the communication node to the first address information;
- the sending module 403 is configured to send, to the first routing device, a data packet modified to the first address information, so that the first routing device sends the first packet in the received data packet according to the mapping relationship. After the address information is modified into the second address information, the data packet modified to the second address information is sent to the mobile node.
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information and a second port number.
- processing module 402 is specifically configured to:
- the receiving module 401 is used to execute the process 201 in FIG. 2, the processing module 402 is used to execute the process 202 in FIG. 2, and the sending module 403 is used to execute the process 203 in FIG. 2, and the related description may be corresponding to the method embodiment part.
- the relevant descriptions and effects are understood, and we will not repeat them here.
- the routing device includes a receiver 501, a transmitter 502, a processor 503, and a memory 504.
- Memory 504 can include read only memory and random access memory and provides instructions and data to processor 503.
- a portion of the memory 504 can also include a non-volatile random access memory.
- Memory 504 stores the following elements, executable modules or data structures, or subsets thereof, or their extended sets:
- Operation instructions include various operation instructions for implementing various operations.
- Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
- the processor 502 executes the computer program stored in the memory 504 such that the routing device performs the method in the above embodiments.
- the router according to an embodiment of the present invention may have more or less components than those shown in FIG. 8, may combine two or more components, or may have different component configurations or settings, and each component may include one Hardware, software, or a combination of hardware and software, including multiple signal processing and/or application specific integrated circuits.
- the processor 503 is configured to execute the processes 101 and 104 in FIG. 2, as follows:
- the transmitter 502 is configured to perform the processes 102, 105 of FIG. 2, as follows:
- the receiver 501 is configured to execute the process 103 in FIG. 2, as follows:
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information and a second port number.
- the foregoing transmitter 502 is specifically configured to send the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
- the router includes a receiver 601, a transmitter 602, a processor 603, and a memory 604.
- Memory 604 can include read only memory and random access memory and provides instructions and data to processor 603.
- a portion of the memory 604 may also include non-volatile randomness Access memory.
- the memory 604 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
- Operation instructions include various operation instructions for implementing various operations.
- Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
- the processor 602 executes the computer program stored in the memory 604 such that the routing device performs the method in the above embodiments.
- the router according to an embodiment of the present invention may have more or less components than those shown in FIG. 9, may combine two or more components, or may have different component configurations or settings, and each component may include one Hardware, software, or a combination of hardware and software, including multiple signal processing and/or application specific integrated circuits.
- the receiver 601 is configured to execute the process 201 in FIG. 2, as follows:
- the first routing device And receiving, by the first routing device, a mapping relationship between the first address information and the second address information, where the first address information is when the mobile node moves to the network where the first routing device is located, where the first routing device is Address information assigned by the mobile node, the second address information being address information acquired by the mobile node in the home network of the mobile node.
- the processor 603 is configured to execute the process 202 in FIG. 2, as follows:
- the transmitter 602 is configured to perform the process 203 in FIG. 2, as follows:
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information
- the second address information is second IP address information
- the data packet is an Internet Protocol IP data packet
- the first address information is first IP address information and a first port number
- the second address information is second IP address information and a second port. number.
- the processor 603 is specifically configured to:
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be 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 an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to 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 invention 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 functional 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 medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供了一种路由方法及路由装置,用于提高网络的传输性能。该路由方法包括:第一路由装置为移动到该第一路由装置所在网络的移动节点分配第一地址信息,并建立该第一地址信息和第二地址信息的映射关系;该第一路由装置向第二路由装置发送该映射关系,该映射关系用于该第二路由装置将从通信节点接收到的发往该移动节点的数据包中的该第二地址信息修改为该第一地址信息;该第一路由装置接收该第二路由装置发送的修改为该第一地址信息的数据包;该第一路由装置根据该映射关系将接收到的数据包中的该第一地址信息修改为该第二地址信息;该第一路由装置向该移动节点发送将该第一地址信息修改为该第二地址信息的数据包。
Description
本发明涉及通信领域,特别涉及一种路由方法及路由装置。
因特网协议(英文全称:Internet Protocol,简称:IP)数据包在网络中沿着网络的拓扑结构进行路由,即IP数据包目的地址的网络前缀是属于哪个路由器,那么该数据包就会被路由到相应的路由器处。但是,有时候会有需要改变IP数据包的路由路径。现有的网络中使用隧道技术来实现IP数据包的路由改变。隧道技术通常是需要在IP头中加入额外数据,或者在原有IP数据包上增加一个新的IP头。
在移动场景下,当移动节点(英文全称:Mobile Node,简称:MN)移动到一个新的网络时,网络的最大传输单元(英文全称:Maximum Transmission Unit,简称:MTU)可能会发生变化。在IP头中加入额外数据,或者增加新的IP头来实现IP数据包的路由改变的方式很可能会导致MN的业务流的IP数据包发生分段,从而导致网络的传输性能降低。
发明内容
本申请提供了一种路由方法及路由装置,用于提高网络的传输性能。
一方面,本申请提供了一种路由方法,包括:
第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;
所述第一路由装置向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;
所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;
所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。通过这种实现方式,可以减少该第一路由装置维护的IP地址的需求量。当然,IP地址也可以结合其他参数,并不限于端口号。IP地址和端口号也可以不唯一,只要能够区分分配给移动节点的地址即可。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的家乡网络中的路由装置。这种实现方式中,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的家乡网络与该移动节点的拜访网络之间进行。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。这种实现方式中,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的拜访网络与该移动节点的拜访网络之间进行。
在一种可能的实现方式中,所述第一路由装置向所述第二路由装置发送所述映射关系具体包括:
所述第一路由装置通过控制面实体或控制面信令的形式向所述第二路由
装置发送所述映射关系。
另一方面,本申请提供了一种路由方法,包括:
第二路由装置接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;
所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在一种可能的实现方式中,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为第一地址信息具体包括:
所述第二路由装置建立所述第一地址信息和所述第二地址信息的映射关系;
所述第二路由装置接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
另一方面,本申请提供了一种路由装置,包括:
处理单元,用于为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;
发送单元,用于向所述第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
接收单元,用于接收所述第二路由装置发送的修改为所述第一地址信息的数据包;
所述处理单元,还用于根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;
所述发送单元,还用于向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在一种可能的实现方式中,所述发送单元具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装
置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
另一方面,本申请提供了一种路由装置,包括:
接收模块,用于接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;
处理模块,用于根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
发送模块,用于向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在一种可能的实现方式中,所述处理模块具体用于:
建立所述第一地址信息和所述第二地址信息的映射关系;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络
中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
另一方面,本申请提供了一种路由装置,包括:接收器、发射器和处理器,
所述处理器,用于为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;
所述发射器,用于向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
所述接收器,用于接收所述第二路由装置发送的修改为所述第一地址信息的数据包;
所述处理器,还用于根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;
所述发射器,还用于向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在一种可能的实现方式中,所述发射器具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
另一方面,本申请提供了一种路由装置,包括:接收器、发射器和处理器,
所述接收器,用于接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;
所述处理器,用于根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
所述发射器,用于向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
在一种可能的实现方式中,所述处理器具体用于:
建立所述第一地址信息和所述第二地址信息的映射关系;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
从以上技术方案可以看出,本发明实施例具有以下优点:第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述
第一地址信息和第二地址信息的映射关系;所述第一路由装置向第二路由装置发送所述映射关系,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;并根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。
图1为本发明所提供的一种数据包路由路径改变的示意图;
图2为本发明所提供的路由方法的流程示意图;
图3为本发明所提供的一种分布式移动性管理场景示意图;
图4为本发明所提供的另一种分布式移动性管理场景示意图;
图5为本发明所提供的另一种分布式移动性管理场景示意图;
图6为本发明所提供的路由装置的一个实施例结构示意图;
图7为本发明所提供的路由装置的另一实施例结构示意图;
图8为本发明所提供的路由装置的另一实施例结构示意图;
图9为本发明所提供的路由装置的另一实施例结构示意图。
在本发明实施例中可能采用术语第一、第二等来描述路由装置,但路由装置不应限于这些术语。这些术语仅用来将路由装置彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一路由装置也可以被称为第二路由装置,类似地,第二路由装置也可以被称为第一路由装置;同样的,第二路由装置也可以被称为第三路由装置等等,本发明实施例对此不做限制。
首先对本发明所涉及的关键术语以及基础知识进行介绍:
IP地址锚点:IP anchor(or anchor),当以某个IP地址作为目的地址在IP网络中路由时,所有以该IP地址为目的地址的数据包都要路由经过的一个网络实体就称为这个IP地址的锚点。
家乡网络:MN初始接入并获取家乡地址的网络,该MN可以从该家乡网络中获取地址信息。
拜访网络:除了家乡网络之外的其他网络。
下面结合图1说明需要改变IP数据包路由路径的情况。如图1所示,移动节点在路由器1(图示中router1)所在网络中获得了一个利用网络前缀prefix1生成的IP地址IP1,当该移动节点移动到路由器2(图示中router2)所在网络中时,为了保障使用IP1的业务不中断,需要保证该移动节点继续使用IP1,此时就需要将以IP1为目的地址的IP数据包的路径由图1中实线所示路径更改到虚线所示路径。在传统的集中式移动性管理方案(例如现有的IP移动性管理协议MIPv6、PMIPv6)中MN同时只能使用网络中的一个移动性锚点,且这个锚点通常是在MN在网络中进行注册时由网络侧选择分配的。与传统的集中式移动性管理方案不同的是分布式移动性管理方案,在分布式移动性管理方案中是采用分布式的方法来对移动性管理锚点进行部署,当移动节点MN在网络中移动时可以同时使用多个锚点。上述两种移动性管理方案中都是通过建立隧道的方式来实现IP数据包路由路径的改变的。
为了解决通过隧道技术实现IP数据包路由路径的改变所导致的IP数据包发生分段,从而导致网络的传输性能降低的问题,提出了本发明技术方案。
本发明技术方案主要涉及路由装置之间的交互,该路由装置包括但不限于网关、路由器等。为便于理解,下面将结合附图2中第一路由装置与第二路由装置的具体执行流程,对本发明实施例所提供的方案进行说明。
如图2所示,包括以下过程:
101、第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系。
其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息。
可选的,在一种实现方式中,所述第一地址信息为第一IP地址信息,所
述第二地址信息为第二IP地址信息。
在该实现方式中,移动节点在该移动节点的家乡网络中获取一个地址信息(例如设定为IPm),该第一路由装置维护了一个IP地址池,该IP地址池中的IP地址都以该第一路由装置作为锚点,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置从IP地址池中为该移动节点分配一个IP地址(例如IPBm,该移动节点对该第一路由装置分配的IPBm并不感知),并在该第一路由装置上建立一个IPBm和IPm的映射关系。可选的,该第一路由装置为该移动节点分配的IP地址是唯一的。
为了减少该第一路由装置维护的IP地址的需求量,可选的,在另一种实现方式中,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
在该实现方式中,第一路由装置为移动节点分配第一IP地址信息和第一端口号,并建立第一IP地址信息和第一端口号与第二IP地址信息和第二端口号的映射关系,具体可参考上述IP地址信息的实现方式,不同之处在于,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置从IP池中为该移动节点分配一对IP地址+端口号,并建立相应的映射关系。例如,移动节点在该移动节点的家乡网络中获取的IP地址为IPm,端口号为port-m,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置为该移动节点分配的IP地址为IPBm,端口号为port-B,那么在该第一路由装置上建立一个IPm+port-m和IPBm+port-B的映射关系。可选的,该第一路由装置从IP池中为该移动节点分配的IP地址+端口号是唯一的。
当然,IP地址也可以结合其他参数,并不限于端口号。IP地址+端口号也可以不唯一,只要能够区分分配给移动节点的地址即可。
可选的,第一路由装置接收移动节点发送的第二地址信息;第一路由装置也可以通过控制面实体获取第二地址信息;第一路由装置还可以通过其他现有技术获取第二地址信息,在此不再赘述。
102、所述第一路由装置向第二路由装置发送所述映射关系。
该第一路由装置将建立的第一地址信息和第二地址信息的映射关系发送给第二路由装置,所述映射关系用于所述第二路由装置将从通信节点接收到的
发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息。
在一个可能的实现方式中,该数据包为IP数据包。
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为该移动节点的家乡网络。
该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络时,数据包路由路径的改变在该移动节点的家乡网络与该移动节点的拜访网络之间进行。由于该场景下,第二路由装置所在的网络为该移动节点的家乡网络,因此第二地址信息是由该第二路由装置分配的地址信息。
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为通信节点所在的家乡网络。
在该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的家乡网络与该移动节点的拜访网络之间进行。
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为通信节点所在的拜访网络。
在该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络、该通信节点从该通信节点的家乡网络移动到该通信节点的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的拜访网络与该移动节点的拜访网络之间进行。
在一个可能的实现方式中,所述第一路由装置通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
第一路由装置或第二路由装置上的映射关系的建立是在控制面(control plane)信令的协助下完成的。此处的控制面可以是一个有独立控制面实体(例如移动性管理实体(英文全称:Mobile Managenment Entity,简称:MME)、软件定义网络(英文全称:Software Defined Network,简称:SDN)中心控制器)的集中形式的控制面,也可以是第一路由装置与第二路由装置之间直接交
换的信令作为控制面信令。
在独立控制面实体的形式下有两种可选的映射关系建立方式:
方式一:当第一路由装置建立完成映射关系之后,该第一路由装置将映射关系发送给控制面实体(control plane),然后控制面实体再将映射关系发送给第二路由装置。可选的,该第二路由装置也建立该映射关系。
方式二:第一路由装置或第二路由装置都是在控制面实体的控制下完成映射关系的建立。具体的,控制面实体首先为第一路由装置与第二路由装置分别生成映射关系,然后控制实体再将生成的映射关系分别发送给第一路由装置与第二路由装置。
在控制面信令的形式下,第一路由装置建立完成映射关系之后,该第一路由装置将映射关系发送给第二路由器,可选的,该第二路由装置根据该第一路由装置发送过来的映射关系来建立自己的映射关系。
201、第二路由装置接收第一路由装置发送的所述映射关系。
第二路由装置接收过程102中该第一路由装置发送的第一地址信息和第二地址信息的映射关系。
其中,第一地址信息、第二地址信息以及该映射关系的说明参考过程101,此处不再赘述。
202、所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息。
数据包由通信节点(英文全称:Correspondent Node,简称CN)发往移动节点需要经过第二路由装置这一网络实体,如果该移动节点在该移动节点的家乡网络中获取的地址信息为IPm,那么也可以说该第二路由装置位于IPm的路由路径上。发往移动节点的数据包由于需要先经过该第二路由装置这一网络实体,因此该第二路由装置接收该数据包,然后根据第一地址信息和第二地址信息的映射关系将该数据包中的第二地址信息修改为第一地址信息。
在过程201中,该第二路由装置接收第一路由装置发送的第二地址信息和第一地址信息的映射关系,因此,在该过程中,该第二路由装置需要根据所述映射关系对发往所述移动节点的数据包进行修改,具体将该数据包的第二地址信息修改为第一地址信息;根据过程101中的说明内容可以了解,如果以IP
地信息的实现方式为例,假设移动节点在该移动节点的家乡网络中获取的地址信息为IPm,该数据包为IP数据包,则发往该移动节点的IP数据包的目的地址为IPm,即该IP数据包的第二地址信息为IPm,该第二路由装置则根据IPm和IPBm的映射关系将该IP数据包的IPm修改为IPBm;如果以IP地址和端口号的实现方式为例,同理,假设移动节点在该移动节点的家乡网络中获取的地址信息为IPm+port-m,则所发往该移动节点的IP数据包的目的地址为IPm+port-m,即该IP数据包的第二地址信息为IPm+port-m,相应的,该第二路由装置则根据IPm+port-m和IPBm+port-B的映射关系将该IP数据包的IPm+port-m修改为IPBm+port-B。
在一种可能的实现方式中,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为第一地址信息具体包括:
所述第二路由装置建立所述第一地址信息和所述第二地址信息的映射关系;
所述第二路由装置接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
在另一种可能的实现方式中,所述第二路由装置建立所述第二地址信息到所述第一地址信息的反映射关系;所述第二路由装置接收所述通信节点发往所述移动节点的数据包,并根据所述反映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
该第二路由装置建立映射关系的具体方式参考过程102,此处不做赘述。
203、所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包。
所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包,所述第一路由装置则根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息,然后向所述移动节点发送修改为所述第二地址信息的数据包。
103、所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包。
该过程中,所述第一路由装置接收过程203中所述第二路由装置发送的修改为所述第一地址信息的数据包。
104、所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。
在过程103中,该第一路由装置接收过程203中该第二路由装置发送的修改为所述第一地址信息的数据包,在过程101中,该第一路由装置上建立了第一地址信息和第二地址信息的映射关系;因此,该过程中,该第一路由装置根据第一地址信息和第二地址信息的映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。例如,参考过程101、202中的说明内容,以IP地址信息的实现方式为例,假设发往移动节点的IP数据包的目的地址为IPm,在过程203中该IP数据包的目的地址IPm修改为IPBm,该第一路由装置则根据建立的IPBm和IPm的映射关系将该IP数据包的目的地址IPBm修改为IPm;如果以IP地址信息和端口号的实现方式为例,也可对应参考IP地址信息的实现方式,此处不做赘述。
105、所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
该过程中,在经过过程104对数据包的修改后,所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
本发明实施例中,第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系;所述第一路由装置向第二路由装置发送所述映射关系,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;并根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。
需要说明的是,上述路由方法中,数据包的发送方向是从通信节点发往移动节点的数据包,对于从移动节点发往通信节点的数据包的路由路径的改变也同样适用本发明方案,此处不做赘述。
为便于理解,下面以一具体应用场景对本发明实施例中路由方法进行具体描述:
本发明方案适用于传统的集中式移动性管理,也适用于分布式移动性管理,下面以分布式移动性管理场景为例进行说明。
如图3所示的一种分布式移动性管理场景中,路由装置1(图示中为anchorB)作为移动节点(图示中MN)的拜访网络中的锚点,路由装置2(图示中为anchorH-m)作为该MN的家乡网络中的锚点,路由装置3(图示中为anchorH-c)作为CN的家乡网络的锚点。由于MN从MN的家乡网络移动到MN的拜访网络,因此IP数据包从通信节点(图示中CN)发往anchorB所在网络的MN时,IP数据包路由路径的改变在该MN的家乡网络与该MN的拜访网络之间进行,因此,本场景中,anchorB也就是本发明提到的第一路由装置,anchorH-m也就是本发明提到第二路由装置,路由路径沿图示箭头方向发生了改变。以IP地址信息的实现方式为例,具体过程如下:
假设从CN发往MN的IP数据包的目的地址为IPm(IPm为移动节点在该移动节点的家乡网络中获取的地址信息,本场景中IPm由MN的家乡网络中的锚点anchorH-m分配),当MN从MN的家乡网络移动到该MN的拜访网络时,该MN的拜访网络中的锚点anchorB获知该MN在家乡网络中的地址信息IPm,该anchorB针对MN分配一个IP地址IPBm(MN对分配的IPBm并不感知),并在anchorB上建立IPBm和IPm之间的映射关系;通过anchorB将该映射关系发送到MN的家乡网络中的锚点anchorH-m,此时,anchorH-m也可以在anchorH-m上建立IPm和IPBm的映射关系。
anchorB和anchorH-m上的映射关系的建立是在控制面(control plane)信令的协助下完成的。此处的控制面可以是一个有独立控制面实体的集中形式的控制面,也可以是anchorB与anchorH-m之间直接交换的信令作为控制面信令,具体可参考过程102中说明,此处不做详细描述。
anchorB需要维护一个IP地址池,每当有MN移动到anchorB时,anchorB就
为MN指定一个IP地址;当MN离开anchorB时,anchorB就可以收回该IP地址,因此,该IP地址MN并不感知。
在该场景下,当anchorH-m收到CN发往MN的IP数据包时,MN家乡网络中的锚点anchorH-m根据接收的IPm和IPBm的映射关系将IP数据包的目的地址IPm改为IPBm,并将修改后的IP数据包发出去。当MN拜访网络中的锚点anchorB接收到该IP数据包之后,根据anchorB所保存的IPBm到IPm的映射关系将目的地址IPBm改为IPm并发给拜访网络中的MN,从而实现路由路径的转变。
图3所示场景中的路由路径从anchorH-c到anchorH-m到anchorB,在图3所示场景的基础下,当MN从MN的家乡网络移动到该MN的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,如图4所示,IP数据包路由路径的改变可直接在该CN的家乡网络与该MN的拜访网络之间进行,路由路径为anchorH-c到anchorB,因此,本场景中,anchorB也就是本发明提到的第一路由装置,anchorH-c也就是本发明提到第二路由装置。具体路由过程参考图3所示场景,此处不再赘述。
在图3和图4所示场景的基础下,如图5所示,路由装置4(图示中为anchorA)作为CN的拜访网络中的锚点,当MN从MN的家乡网络移动到该MN的拜访网络、CN从CN的家乡网络移动到该CN的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,IP数据包路由路径的改变可直接在该CN的拜访网络与该MN的拜访网络之间进行,路由路径为anchorA到anchorB,因此,本场景中,anchorB也就是本发明提到的第一路由装置,anchorA也就是本发明提到第二路由装置。需要说明的是,如果IP数据包是由MN发往CN,那么,本场景中,anchorA也就是本发明提到的第一路由装置,anchorB也就是本发明提到第二路由装置,具体路由过程参考图3所示场景,此处不再赘述。
上述列举的应用场景中均以IP地址信息的实现方式为例,IP地址信息和端口号或其他能够区分分配给移动节点的地址的实现方式可以参考以上列举的应用场景中的描述,此处不再赘述。
以上对本发明所提供的路由方法进行了说明,下面将从装置的角度对本发明所涉及的路由装置的结构进行说明,请参阅图6,本发明所提供的路由装置的一个实施例包括:
处理单元301,用于为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;
发送单元302,用于向所述第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
接收单元303,用于接收所述第二路由装置发送的修改为所述第一地址信息的数据包;
所述处理单元301,还用于根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;
所述发送单元302,还用于向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
可选的,上述发送单元302具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
上述处理单元301用于执行图2中的过程101、104,发送单元302用于执行图2中的过程102、105,接收单元303用于执行图2中的过程103,相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。
请参阅图7,本发明所提供的路由装置的另一实施例包括:
接收模块401,用于接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;
处理模块402,用于根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
发送模块403,用于向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
可选的,上述处理模块402具体用于:
建立所述第一地址信息和所述第二地址信息的映射关系;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
上述接收模块401用于执行图2中的过程201,处理模块402用于执行图2中的过程202,发送模块403用于执行图2中的过程203,相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。
在一个实施方式中,如图8所示,该路由装置包括:接收器501、发射器502、处理器503和存储器504。存储器504可以包括只读存储器和随机存取存储器,并向处理器503提供指令和数据。存储器504的一部分还可以包括非易失性随机存取存储器。
存储器504存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作***:包括各种***程序,用于实现各种基础业务以及处理基于硬件的任务。
处理器502执行存储器504中存储的计算机程序,使得该路由装置进行上述实施例中的方法。
本发明实施例涉及的路由器可以具有比图8所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。
本发明实施例中,处理器503用于执行图2中的过程101、104,具体如下:
为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;
根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。
发射器502用于执行图2中的过程102、105,具体如下:
向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;
向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
接收器501用于执行图2中的过程103,具体如下:
接收所述第二路由装置发送的修改为所述第一地址信息的数据包。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
可选的,上述发射器502具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。
在另一个实施方式中,如图9所示,该路由器包括:接收器601、发射器602、处理器603和存储器604。存储器604可以包括只读存储器和随机存取存储器,并向处理器603提供指令和数据。存储器604的一部分还可以包括非易失性随机
存取存储器。
存储器604存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作***:包括各种***程序,用于实现各种基础业务以及处理基于硬件的任务。
处理器602执行存储器604中存储的计算机程序,使得该路由装置进行上述实施例中的方法。
本发明实施例涉及的路由器可以具有比图9所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。
本发明实施例中,接收器601用于执行图2中的过程201,具体如下:
接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息。
处理器603用于执行图2中的过程202,具体如下:
根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息。
发射器602用于执行图2中的过程203,具体如下:
向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口
号。
可选的,上述处理器603具体用于:
建立所述第一地址信息和所述第二地址信息的映射关系;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储
介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (22)
- 一种路由方法,其特征在于,包括:第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;所述第一路由装置向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
- 根据权利要求1所述的方法,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
- 根据权利要求1所述的方法,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的家乡网络中的路由装置。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述第一路由装置向所述第二路由装置发送所述映射关系具体包括:所述第一路由装置通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。
- 一种路由方法,其特征在于,包括:第二路由装置接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
- 根据权利要求8所述的方法,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
- 根据权利要求8所述的方法,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
- 根据权利要求8至10任一项所述的方法,其特征在于,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为第一地址信息具体包括:所述第二路由装置建立所述第一地址信息和所述第二地址信息的映射关系;所述第二路由装置接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
- 根据权利要求8至10任一项所述的方法,其特征在于,所述第一路 由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。
- 根据权利要求8至10任一项所述的方法,其特征在于,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。
- 根据权利要求8至10任一项所述的方法,其特征在于,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。
- 一种路由装置,其特征在于,包括:处理单元,用于为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;发送单元,用于向所述第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;接收单元,用于接收所述第二路由装置发送的修改为所述第一地址信息的数据包;所述处理单元,还用于根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述发送单元,还用于向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。
- 根据权利要求15所述的路由装置,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
- 根据权利要求15所述的路由装置,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
- 根据权利要求15至17任一项所述的路由装置,其特征在于,所述发送单元具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发 送所述映射关系。
- 一种路由装置,其特征在于,包括:接收模块,用于接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;处理模块,用于根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;发送模块,用于向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。
- 根据权利要求19所述的路由装置,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。
- 根据权利要求19所述的路由装置,其特征在于,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。
- 根据权利要求19至21任一项所述的路由装置,其特征在于,所述处理模块具体用于:建立所述第一地址信息和所述第二地址信息的映射关系;接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (zh) | 2015-11-10 | 2015-11-10 | 一种路由方法及路由装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (zh) | 2015-11-10 | 2015-11-10 | 一种路由方法及路由装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017079901A1 true WO2017079901A1 (zh) | 2017-05-18 |
Family
ID=58694682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (zh) | 2015-11-10 | 2015-11-10 | 一种路由方法及路由装置 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2017079901A1 (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960327A (zh) * | 2006-09-07 | 2007-05-09 | 浙江大学 | 基于移动和通信量特征的层次移动IPv6的多级移动管理方法 |
CN101001261A (zh) * | 2006-01-09 | 2007-07-18 | 华为技术有限公司 | 一种MIPv6移动节点的通信方法 |
CN101047616A (zh) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | 一种分配家乡代理的方法 |
-
2015
- 2015-11-10 WO PCT/CN2015/094212 patent/WO2017079901A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001261A (zh) * | 2006-01-09 | 2007-07-18 | 华为技术有限公司 | 一种MIPv6移动节点的通信方法 |
CN101047616A (zh) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | 一种分配家乡代理的方法 |
CN1960327A (zh) * | 2006-09-07 | 2007-05-09 | 浙江大学 | 基于移动和通信量特征的层次移动IPv6的多级移动管理方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5716741B2 (ja) | 通信システム、論理チャネル制御装置、制御装置、通信方法およびプログラム | |
CN105791457B (zh) | 一种数据处理方法及装置 | |
US9008084B2 (en) | Method of IPv6 at data center network with VM mobility using graceful address migration | |
US20160380966A1 (en) | Media Relay Server | |
US20220007251A1 (en) | Using location indentifier separation protocol to implement a distributed user plane function architecture for 5g mobility | |
CN105264493A (zh) | 信息中心网络上的动态虚拟机迁移 | |
JP2018525941A (ja) | 拡張されたセッション管理を用いるネットワークパケットフローコントローラ | |
WO2016210193A1 (en) | Media session | |
US8503416B2 (en) | Method and system for efficient homeless MPLS micro-mobility | |
JP2017529713A (ja) | コンピュータネットワークパケットフローコントローラ | |
US9668160B2 (en) | Topology discovery based on SCTP/X2 snooping | |
US20160380789A1 (en) | Media Relay Server | |
US20160337270A1 (en) | Method of operating a network entity | |
JP2020537457A (ja) | 通信システムにおけるデータ・ルーティング | |
US10447603B2 (en) | Control signaling transmission method and device | |
Kuntz et al. | Multihoming in IPv6 mobile networks: progress, challenges, and solutions | |
WO2021098727A1 (zh) | 网络部署的方法及*** | |
KR20140099598A (ko) | 모바일 vpn 서비스를 제공하는 방법 | |
US9294986B2 (en) | Topology discovery based on explicit signaling | |
WO2020083269A1 (zh) | 一种建立多路径连接的子流的方法、装置和*** | |
CN104717142B (zh) | 一种基于OpenFlow协议进行移动性管理的方法 | |
US9730141B2 (en) | System and method for distributed and integrated mobility support for mobile networks and mobile hosts | |
JP6050720B2 (ja) | コアネットワークにおけるゲートウェイのセッション情報を移行させるシステム及び方法 | |
WO2024001701A1 (zh) | 数据处理方法、装置及*** | |
JP2021093723A (ja) | マルチホップネットワークルーティング拡張 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15908031 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15908031 Country of ref document: EP Kind code of ref document: A1 |