WO2017079901A1 - Routing method and routing device - Google Patents
Routing method and routing device 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
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000013507 mapping Methods 0.000 claims abstract description 139
- 238000004891 communication Methods 0.000 claims abstract description 66
- 238000012545 processing Methods 0.000 claims description 17
- 230000011664 signaling Effects 0.000 claims description 15
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 abstract description 17
- 230000008569 process Effects 0.000 description 33
- 230000008859 change Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000007704 transition Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000013467 fragmentation Methods 0.000 description 4
- 238000006062 fragmentation reaction Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005641 tunneling Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
本发明涉及通信领域,特别涉及一种路由方法及路由装置。The present invention relates to the field of communications, and in particular, to a routing method and a routing device.
因特网协议(英文全称:Internet Protocol,简称:IP)数据包在网络中沿着网络的拓扑结构进行路由,即IP数据包目的地址的网络前缀是属于哪个路由器,那么该数据包就会被路由到相应的路由器处。但是,有时候会有需要改变IP数据包的路由路径。现有的网络中使用隧道技术来实现IP数据包的路由改变。隧道技术通常是需要在IP头中加入额外数据,或者在原有IP数据包上增加一个新的IP头。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. However, there are times when there is a need to change the routing path of IP packets. 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.
在移动场景下,当移动节点(英文全称:Mobile Node,简称:MN)移动到一个新的网络时,网络的最大传输单元(英文全称:Maximum Transmission Unit,简称:MTU)可能会发生变化。在IP头中加入额外数据,或者增加新的IP头来实现IP数据包的路由改变的方式很可能会导致MN的业务流的IP数据包发生分段,从而导致网络的传输性能降低。In the mobile scenario, when the mobile node (English name: Mobile Node, MN for short) moves to a new network, 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.
发明内容Summary of the invention
本申请提供了一种路由方法及路由装置,用于提高网络的传输性能。The application provides a routing method and a routing device for improving transmission performance of a network.
一方面,本申请提供了一种路由方法,包括:In one aspect, 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;
所述第一路由装置向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;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;
所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包; Receiving, by the first routing device, a data packet that is sent by the second routing device and modified to 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.
由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。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.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。通过这种实现方式,可以减少该第一路由装置维护的IP地址的需求量。当然,IP地址也可以结合其他参数,并不限于端口号。IP地址和端口号也可以不唯一,只要能够区分分配给移动节点的地址即可。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number. With this implementation, the amount of IP address maintained by the first routing device can be reduced. Of course, 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.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的家乡网络中的路由装置。这种实现方式中,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的家乡网络与该移动节点的拜访网络之间进行。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network where the communication node is located. In this implementation manner, in order to reduce the redundant routing path, thereby reducing the packet loss rate and the network transmission delay, 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.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。这种实现方式中,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的拜访网络与该移动节点的拜访网络之间进行。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a visited network where the communication node is located. In this implementation manner, in order to reduce the redundant routing path, thereby reducing the packet loss rate and the network transmission delay, 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.
在一种可能的实现方式中,所述第一路由装置向所述第二路由装置发送所述映射关系具体包括:In a possible implementation, 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.
另一方面,本申请提供了一种路由方法,包括:In another aspect, 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;
所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。Transmitting, by the second routing device, the data packet modified to the first address information to the first routing device, 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.
由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。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.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number.
在一种可能的实现方式中,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为第一地址信息具体包括:In a possible implementation, 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.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。 In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network where the communication node is located.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a visited network where the communication node is located.
另一方面,本申请提供了一种路由装置,包括:In another aspect, 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.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number.
在一种可能的实现方式中,所述发送单元具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。In a possible implementation manner, 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.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装 置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a route in a home network where the communication node is located. Set.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a visited network where the communication node is located.
另一方面,本申请提供了一种路由装置,包括:In another aspect, 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.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number.
在一种可能的实现方式中,所述处理模块具体用于:In a possible implementation manner, the processing module is specifically configured to:
建立所述第一地址信息和所述第二地址信息的映射关系;Establishing a mapping relationship between the first address information and the second address information;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。Receiving, by the communication node, a data packet sent to the mobile node, and modifying the second address information in the data packet to the first address information according to the mapping relationship.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network where the communication node is located.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络 中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。In a possible implementation manner, 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.
另一方面,本申请提供了一种路由装置,包括:接收器、发射器和处理器,In another aspect, 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.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number.
在一种可能的实现方式中,所述发射器具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。In a possible implementation manner, 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.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network where the communication node is located.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。 In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a visited network where the communication node is located.
另一方面,本申请提供了一种路由装置,包括:接收器、发射器和处理器,In another aspect, 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.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
建立所述第一地址信息和所述第二地址信息的映射关系;Establishing a mapping relationship between the first address information and the second address information;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。Receiving, by the communication node, a data packet sent to the mobile node, and modifying the second address information in the data packet to the first address information according to the mapping relationship.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
在一种可能的实现方式中,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In a possible implementation, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information. And the second port number.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述移动节点的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network of the mobile node.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为所述通信节点所在的家乡网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a home network where the communication node is located.
在一种可能的实现方式中,所述第一路由装置为所述移动节点的拜访网络中的路由装置,所述第二路由装置为通信节点所在的拜访网络中的路由装置。In a possible implementation manner, the first routing device is a routing device in a visited network of the mobile node, and the second routing device is a routing device in a visited network where the communication node is located.
从以上技术方案可以看出,本发明实施例具有以下优点:第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述 第一地址信息和第二地址信息的映射关系;所述第一路由装置向第二路由装置发送所述映射关系,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;并根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。As can be seen from the above technical solutions, 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. And modifying the first address information in the received data packet to the second address information according to the mapping relationship; 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.
图1为本发明所提供的一种数据包路由路径改变的示意图;1 is a schematic diagram of a packet routing path change according to the present invention;
图2为本发明所提供的路由方法的流程示意图;2 is a schematic flowchart of a routing method provided by the present invention;
图3为本发明所提供的一种分布式移动性管理场景示意图;3 is a schematic diagram of a distributed mobility management scenario provided by the present invention;
图4为本发明所提供的另一种分布式移动性管理场景示意图;4 is a schematic diagram of another distributed mobility management scenario provided by the present invention;
图5为本发明所提供的另一种分布式移动性管理场景示意图;FIG. 5 is a schematic diagram of another distributed mobility management scenario provided by the present invention; FIG.
图6为本发明所提供的路由装置的一个实施例结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of a routing apparatus according to the present invention; FIG.
图7为本发明所提供的路由装置的另一实施例结构示意图;FIG. 7 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention; FIG.
图8为本发明所提供的路由装置的另一实施例结构示意图;FIG. 8 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention; FIG.
图9为本发明所提供的路由装置的另一实施例结构示意图。FIG. 9 is a schematic structural diagram of another embodiment of a routing apparatus according to the present invention.
在本发明实施例中可能采用术语第一、第二等来描述路由装置,但路由装置不应限于这些术语。这些术语仅用来将路由装置彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一路由装置也可以被称为第二路由装置,类似地,第二路由装置也可以被称为第一路由装置;同样的,第二路由装置也可以被称为第三路由装置等等,本发明实施例对此不做限制。The terms 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. For example, 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. Similarly, 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.
首先对本发明所涉及的关键术语以及基础知识进行介绍: First introduce the key terms and basic knowledge involved in the present invention:
IP地址锚点:IP anchor(or anchor),当以某个IP地址作为目的地址在IP网络中路由时,所有以该IP地址为目的地址的数据包都要路由经过的一个网络实体就称为这个IP地址的锚点。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.
家乡网络:MN初始接入并获取家乡地址的网络,该MN可以从该家乡网络中获取地址信息。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.
下面结合图1说明需要改变IP数据包路由路径的情况。如图1所示,移动节点在路由器1(图示中router1)所在网络中获得了一个利用网络前缀prefix1生成的IP地址IP1,当该移动节点移动到路由器2(图示中router2)所在网络中时,为了保障使用IP1的业务不中断,需要保证该移动节点继续使用IP1,此时就需要将以IP1为目的地址的IP数据包的路径由图1中实线所示路径更改到虚线所示路径。在传统的集中式移动性管理方案(例如现有的IP移动性管理协议MIPv6、PMIPv6)中MN同时只能使用网络中的一个移动性锚点,且这个锚点通常是在MN在网络中进行注册时由网络侧选择分配的。与传统的集中式移动性管理方案不同的是分布式移动性管理方案,在分布式移动性管理方案中是采用分布式的方法来对移动性管理锚点进行部署,当移动节点MN在网络中移动时可以同时使用多个锚点。上述两种移动性管理方案中都是通过建立隧道的方式来实现IP数据包路由路径的改变的。The situation in which the IP packet routing path needs to be changed will be described below with reference to FIG. As shown in Figure 1, 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. In order to ensure that the service using IP1 is not interrupted, it is necessary to ensure that the mobile node continues to use IP1. In this case, 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. In the traditional centralized mobility management scheme (such as the existing IP mobility management protocol MIPv6, PMIPv6), 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. Different from the traditional centralized mobility management scheme is a distributed mobility management scheme. In the 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. In the above two mobility management schemes, the IP packet routing path is changed by establishing a tunnel.
为了解决通过隧道技术实现IP数据包路由路径的改变所导致的IP数据包发生分段,从而导致网络的传输性能降低的问题,提出了本发明技术方案。In order to solve the problem that the IP data packet is segmented due to the change of the IP packet routing path by the tunnel technology, thereby causing the transmission performance of the network to be reduced, the technical solution of the present invention is proposed.
本发明技术方案主要涉及路由装置之间的交互,该路由装置包括但不限于网关、路由器等。为便于理解,下面将结合附图2中第一路由装置与第二路由装置的具体执行流程,对本发明实施例所提供的方案进行说明。The technical solution of the present invention mainly relates to interaction between routing devices, including but not limited to gateways, routers, and the like. For ease of understanding, 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.
如图2所示,包括以下过程:As shown in Figure 2, the following process is included:
101、第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系。101. 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.
可选的,在一种实现方式中,所述第一地址信息为第一IP地址信息,所 述第二地址信息为第二IP地址信息。Optionally, in an implementation manner, the first address information is first IP address information, where The second address information is the second IP address information.
在该实现方式中,移动节点在该移动节点的家乡网络中获取一个地址信息(例如设定为IPm),该第一路由装置维护了一个IP地址池,该IP地址池中的IP地址都以该第一路由装置作为锚点,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置从IP地址池中为该移动节点分配一个IP地址(例如IPBm,该移动节点对该第一路由装置分配的IPBm并不感知),并在该第一路由装置上建立一个IPBm和IPm的映射关系。可选的,该第一路由装置为该移动节点分配的IP地址是唯一的。In this implementation manner, 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. When the mobile node moves to the network where the first routing device is located, 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. Optionally, the IP address assigned by the first routing device to the mobile node is unique.
为了减少该第一路由装置维护的IP地址的需求量,可选的,在另一种实现方式中,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。In another implementation manner, the first address information is the first IP address information and the first port number, and 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.
在该实现方式中,第一路由装置为移动节点分配第一IP地址信息和第一端口号,并建立第一IP地址信息和第一端口号与第二IP地址信息和第二端口号的映射关系,具体可参考上述IP地址信息的实现方式,不同之处在于,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置从IP池中为该移动节点分配一对IP地址+端口号,并建立相应的映射关系。例如,移动节点在该移动节点的家乡网络中获取的IP地址为IPm,端口号为port-m,当移动节点移动到该第一路由装置所在的网络中时,该第一路由装置为该移动节点分配的IP地址为IPBm,端口号为port-B,那么在该第一路由装置上建立一个IPm+port-m和IPBm+port-B的映射关系。可选的,该第一路由装置从IP池中为该移动节点分配的IP地址+端口号是唯一的。In this implementation manner, 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. For details, refer to the implementation manner of the foregoing IP address information, where 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. For example, the IP address obtained by the mobile node in the home network of the mobile node is IPm, and the port number is port-m. When the mobile node moves to the network where the first routing device is located, the first routing device is the mobile. 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. Optionally, the IP address + port number assigned by the first routing device to the mobile node from the IP pool is unique.
当然,IP地址也可以结合其他参数,并不限于端口号。IP地址+端口号也可以不唯一,只要能够区分分配给移动节点的地址即可。Of course, the 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.
可选的,第一路由装置接收移动节点发送的第二地址信息;第一路由装置也可以通过控制面实体获取第二地址信息;第一路由装置还可以通过其他现有技术获取第二地址信息,在此不再赘述。Optionally, 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.
102、所述第一路由装置向第二路由装置发送所述映射关系。102. 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.
在一个可能的实现方式中,该数据包为IP数据包。In a possible implementation, the data packet is an IP data packet.
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为该移动节点的家乡网络。In a possible implementation, 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 of the mobile node.
该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络时,数据包路由路径的改变在该移动节点的家乡网络与该移动节点的拜访网络之间进行。由于该场景下,第二路由装置所在的网络为该移动节点的家乡网络,因此第二地址信息是由该第二路由装置分配的地址信息。In this scenario, 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.
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为通信节点所在的家乡网络。In a possible implementation, 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.
在该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的家乡网络与该移动节点的拜访网络之间进行。In this scenario, 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.
在一个可能的实现方式中,该第一路由装置所在的网络为该移动节点的拜访网络,该第二路由装置所在的网络为通信节点所在的拜访网络。In a possible implementation manner, 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 visited network where the communication node is located.
在该场景下,数据包从通信节点发往移动节点,该移动节点从该移动节点的家乡网络移动到该移动节点的拜访网络、该通信节点从该通信节点的家乡网络移动到该通信节点的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,数据包路由路径的改变可直接在该通信节点的拜访网络与该移动节点的拜访网络之间进行。In this scenario, 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. When visiting the network, in order to reduce the redundant routing path, thereby reducing the packet loss rate and the network transmission delay, 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.
在一个可能的实现方式中,所述第一路由装置通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。In a possible implementation manner, the first routing device sends the mapping relationship to the second routing device by using a control plane entity or control plane signaling.
第一路由装置或第二路由装置上的映射关系的建立是在控制面(control plane)信令的协助下完成的。此处的控制面可以是一个有独立控制面实体(例如移动性管理实体(英文全称:Mobile Managenment Entity,简称:MME)、软件定义网络(英文全称:Software Defined Network,简称:SDN)中心控制器)的集中形式的控制面,也可以是第一路由装置与第二路由装置之间直接交 换的信令作为控制面信令。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 The changed signaling is used as control plane signaling.
在独立控制面实体的形式下有两种可选的映射关系建立方式:There are two alternative mapping relationships established in the form of independent control plane entities:
方式一:当第一路由装置建立完成映射关系之后,该第一路由装置将映射关系发送给控制面实体(control plane),然后控制面实体再将映射关系发送给第二路由装置。可选的,该第二路由装置也建立该映射关系。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.
在控制面信令的形式下,第一路由装置建立完成映射关系之后,该第一路由装置将映射关系发送给第二路由器,可选的,该第二路由装置根据该第一路由装置发送过来的映射关系来建立自己的映射关系。In the form of the control plane signaling, after the first routing device establishes the mapping relationship, the first routing device sends the mapping relationship to the second router. Optionally, the second routing device sends the mapping device according to the first routing device. The mapping relationship to establish your own mapping relationship.
201、第二路由装置接收第一路由装置发送的所述映射关系。201. The second routing device receives the mapping relationship sent by the first routing device.
第二路由装置接收过程102中该第一路由装置发送的第一地址信息和第二地址信息的映射关系。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
其中,第一地址信息、第二地址信息以及该映射关系的说明参考过程101,此处不再赘述。The description of the first address information, the second address information, and the mapping relationship is referred to in the
202、所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息。202. 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.
数据包由通信节点(英文全称:Correspondent Node,简称CN)发往移动节点需要经过第二路由装置这一网络实体,如果该移动节点在该移动节点的家乡网络中获取的地址信息为IPm,那么也可以说该第二路由装置位于IPm的路由路径上。发往移动节点的数据包由于需要先经过该第二路由装置这一网络实体,因此该第二路由装置接收该数据包,然后根据第一地址信息和第二地址信息的映射关系将该数据包中的第二地址信息修改为第一地址信息。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.
在过程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。In the
在一种可能的实现方式中,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为第一地址信息具体包括:In a possible implementation, 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.
在另一种可能的实现方式中,所述第二路由装置建立所述第二地址信息到所述第一地址信息的反映射关系;所述第二路由装置接收所述通信节点发往所述移动节点的数据包,并根据所述反映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。In another possible implementation manner, 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.
该第二路由装置建立映射关系的具体方式参考过程102,此处不做赘述。For a specific manner for the second routing device to establish a mapping relationship, refer to the
203、所述第二路由装置向所述第一路由装置发送修改为所述第一地址信息的数据包。203. 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.
103、所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包。 103. The first routing device receives a data packet that is sent by the second routing device and modified to the first address information.
该过程中,所述第一路由装置接收过程203中所述第二路由装置发送的修改为所述第一地址信息的数据包。In the process, the first routing device receives the data packet sent by the second routing device in the
104、所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。104. The first routing device modifies the first address information in the received data packet to the second address information according to the mapping relationship.
在过程103中,该第一路由装置接收过程203中该第二路由装置发送的修改为所述第一地址信息的数据包,在过程101中,该第一路由装置上建立了第一地址信息和第二地址信息的映射关系;因此,该过程中,该第一路由装置根据第一地址信息和第二地址信息的映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。例如,参考过程101、202中的说明内容,以IP地址信息的实现方式为例,假设发往移动节点的IP数据包的目的地址为IPm,在过程203中该IP数据包的目的地址IPm修改为IPBm,该第一路由装置则根据建立的IPBm和IPm的映射关系将该IP数据包的目的地址IPBm修改为IPm;如果以IP地址信息和端口号的实现方式为例,也可对应参考IP地址信息的实现方式,此处不做赘述。In the process 103, the first routing device receives the data packet sent by the second routing device and modified to the first address information in the
105、所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。105. The first routing device sends, to the mobile node, a data packet that modifies the first address information to the second address information.
该过程中,在经过过程104对数据包的修改后,所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。In the process, after the modification of the data packet by the
本发明实施例中,第一路由装置为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系;所述第一路由装置向第二路由装置发送所述映射关系,所述第二路由装置根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;所述第一路由装置接收所述第二路由装置发送的修改为所述第一地址信息的数据包;并根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;所述第一路由装置向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。由于通过上述第一地址信息与第二地址信息之间建立的映射关系来实现路由路径的转变时,不需要在数据包的头部信息中加入额外数据,因此,能够有效的避免数据包发生分段,从而提高网络的传输性能。 In the embodiment of the present invention, 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. 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.
需要说明的是,上述路由方法中,数据包的发送方向是从通信节点发往移动节点的数据包,对于从移动节点发往通信节点的数据包的路由路径的改变也同样适用本发明方案,此处不做赘述。It should be noted that, in the above routing method, the transmission direction of the data packet is a data packet sent from the communication node to the mobile node, and 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.
为便于理解,下面以一具体应用场景对本发明实施例中路由方法进行具体描述:For the sake of understanding, the routing method in the embodiment of the present invention is specifically described in a specific application scenario:
本发明方案适用于传统的集中式移动性管理,也适用于分布式移动性管理,下面以分布式移动性管理场景为例进行说明。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.
如图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地址信息的实现方式为例,具体过程如下:In a distributed mobility management scenario as shown in FIG. 3, the routing device 1 (an anchor B in the figure) 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. Therefore, in this scenario, the anchorB is the first routing device mentioned in the present invention, and the anchorH-m is the second routing device mentioned in the present invention, and 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:
假设从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的映射关系。Assume that the destination address of the IP packet sent from the CN to the MN is IPm (IPm is the address information acquired by the mobile node in the home network of the mobile node. In this scenario, the IPm is allocated by the anchor anchorH-m in the home network of the MN. When the MN moves from the home network of the MN to the visited 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. At this time, the anchorH-m You can also establish a mapping between IPm and IPBm on anchorH-m.
anchorB和anchorH-m上的映射关系的建立是在控制面(control plane)信令的协助下完成的。此处的控制面可以是一个有独立控制面实体的集中形式的控制面,也可以是anchorB与anchorH-m之间直接交换的信令作为控制面信令,具体可参考过程102中说明,此处不做详细描述。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. For details, refer to the description in
anchorB需要维护一个IP地址池,每当有MN移动到anchorB时,anchorB就 为MN指定一个IP地址;当MN离开anchorB时,anchorB就可以收回该IP地址,因此,该IP地址MN并不感知。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.
在该场景下,当anchorH-m收到CN发往MN的IP数据包时,MN家乡网络中的锚点anchorH-m根据接收的IPm和IPBm的映射关系将IP数据包的目的地址IPm改为IPBm,并将修改后的IP数据包发出去。当MN拜访网络中的锚点anchorB接收到该IP数据包之后,根据anchorB所保存的IPBm到IPm的映射关系将目的地址IPBm改为IPm并发给拜访网络中的MN,从而实现路由路径的转变。In this scenario, when the anchorH-m receives the IP data packet sent by the CN to the MN, 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. After 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.
图3所示场景中的路由路径从anchorH-c到anchorH-m到anchorB,在图3所示场景的基础下,当MN从MN的家乡网络移动到该MN的拜访网络时,为了减少冗余路由路径,从而降低丢包率和网络传输时延,如图4所示,IP数据包路由路径的改变可直接在该CN的家乡网络与该MN的拜访网络之间进行,路由路径为anchorH-c到anchorB,因此,本场景中,anchorB也就是本发明提到的第一路由装置,anchorH-c也就是本发明提到第二路由装置。具体路由过程参考图3所示场景,此处不再赘述。The routing path in the scenario shown in Figure 3 is from anchorH-c to anchorH-m to anchorB. In the scenario shown in Figure 3, when the MN moves from the MN's home network to the MN's visited network, in order to reduce redundancy. Routing paths, thereby reducing the packet loss rate and network transmission delay. As shown in Figure 4, 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. For the specific routing process, refer to the scenario shown in Figure 3, and details are not described here.
在图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所示场景,此处不再赘述。On the basis of the scenarios shown in FIG. 3 and FIG. 4, as shown in FIG. 5, the routing device 4 (anchorA in the figure) serves as an anchor point in the CN's visited network, when the MN moves from the MN's home network to the MN. When the visited network and the CN move from the CN's home network to the CN's visited network, in order to reduce the redundant routing path, thereby reducing the packet loss rate and network transmission delay, 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. It should be noted that, if the IP data packet is sent by the MN to the CN, in this scenario, the anchorA is the first routing device mentioned in the present invention, and 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地址信息的实现方式为例,IP地址信息和端口号或其他能够区分分配给移动节点的地址的实现方式可以参考以上列举的应用场景中的描述,此处不再赘述。For example, the 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.
以上对本发明所提供的路由方法进行了说明,下面将从装置的角度对本发明所涉及的路由装置的结构进行说明,请参阅图6,本发明所提供的路由装置的一个实施例包括: The routing method provided by the present invention is described above. The following describes the structure of the routing device according to the present invention from the perspective of the device. Referring to FIG. 6, an embodiment of the routing device provided by the present invention includes:
处理单元301,用于为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;The
发送单元302,用于向所述第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;The sending
接收单元303,用于接收所述第二路由装置发送的修改为所述第一地址信息的数据包;The receiving
所述处理单元301,还用于根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息;The
所述发送单元302,还用于向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。The sending
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information and a second port number. .
可选的,上述发送单元302具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。Optionally, the sending
上述处理单元301用于执行图2中的过程101、104,发送单元302用于执行图2中的过程102、105,接收单元303用于执行图2中的过程103,相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。The
请参阅图7,本发明所提供的路由装置的另一实施例包括:Referring to FIG. 7, another embodiment of the routing apparatus provided by the present invention includes:
接收模块401,用于接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息;
The receiving
处理模块402,用于根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;The
发送模块403,用于向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。The sending
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information and a second port number. .
可选的,上述处理模块402具体用于:Optionally, the foregoing
建立所述第一地址信息和所述第二地址信息的映射关系;Establishing a mapping relationship between the first address information and the second address information;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。Receiving, by the communication node, a data packet sent to the mobile node, and modifying the second address information in the data packet to the first address information according to the mapping relationship.
上述接收模块401用于执行图2中的过程201,处理模块402用于执行图2中的过程202,发送模块403用于执行图2中的过程203,相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。The receiving
在一个实施方式中,如图8所示,该路由装置包括:接收器501、发射器502、处理器503和存储器504。存储器504可以包括只读存储器和随机存取存储器,并向处理器503提供指令和数据。存储器504的一部分还可以包括非易失性随机存取存储器。In one embodiment, as shown in FIG. 8, the routing device includes a
存储器504存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。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.
处理器502执行存储器504中存储的计算机程序,使得该路由装置进行上述实施例中的方法。
The
本发明实施例涉及的路由器可以具有比图8所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。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.
本发明实施例中,处理器503用于执行图2中的过程101、104,具体如下:In the embodiment of the present invention, the
为移动到所述第一路由装置所在网络的移动节点分配第一地址信息,并建立所述第一地址信息和第二地址信息的映射关系,其中,所述第二地址信息为所述移动节点在所述移动节点的家乡网络中获取的地址信息;Allocating first address information to a mobile node that is moved to the network where the first routing device is located, and establishing a mapping relationship between the first address information and the second address information, where the second address information is the mobile node Address information obtained in the home network of the mobile node;
根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息。Modifying the first address information in the received data packet to the second address information according to the mapping relationship.
发射器502用于执行图2中的过程102、105,具体如下:The
向第二路由装置发送所述映射关系,所述映射关系用于所述第二路由装置将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息;Transmitting, to the second routing device, the mapping relationship, where the mapping relationship is used by the second routing device to modify the second address information in the data packet sent to the mobile node received from the communication node to be Describe the first address information;
向所述移动节点发送将所述第一地址信息修改为所述第二地址信息的数据包。Transmitting, to the mobile node, a data packet that modifies the first address information to the second address information.
接收器501用于执行图2中的过程103,具体如下:The
接收所述第二路由装置发送的修改为所述第一地址信息的数据包。Receiving, by the second routing device, a data packet modified to be the first address information.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口号。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information and a second port number. .
可选的,上述发射器502具体用于通过控制面实体或控制面信令的形式向所述第二路由装置发送所述映射关系。Optionally, the foregoing
相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。The related descriptions can be understood by referring to the related descriptions and effects of the method embodiments, and will not be described in detail herein.
在另一个实施方式中,如图9所示,该路由器包括:接收器601、发射器602、处理器603和存储器604。存储器604可以包括只读存储器和随机存取存储器,并向处理器603提供指令和数据。存储器604的一部分还可以包括非易失性随机
存取存储器。In another embodiment, as shown in FIG. 9, the router includes a
存储器604存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:The
操作指令:包括各种操作指令,用于实现各种操作。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.
处理器602执行存储器604中存储的计算机程序,使得该路由装置进行上述实施例中的方法。The
本发明实施例涉及的路由器可以具有比图9所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。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.
本发明实施例中,接收器601用于执行图2中的过程201,具体如下:In the embodiment of the present invention, the
接收第一路由装置发送的第一地址信息和第二地址信息的映射关系,其中,所述第一地址信息为移动节点移动到所述第一路由装置所在网络时所述第一路由装置为所述移动节点分配的地址信息,所述第二地址信息为移动节点在所述移动节点的家乡网络中获取的地址信息。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.
处理器603用于执行图2中的过程202,具体如下:The
根据所述映射关系将从通信节点接收到的发往所述移动节点的数据包中的所述第二地址信息修改为所述第一地址信息。Modifying the second address information in the data packet sent to the mobile node received from the communication node according to the mapping relationship to the first address information.
发射器602用于执行图2中的过程203,具体如下:The
向所述第一路由装置发送修改为所述第一地址信息的数据包,以使所述第一路由装置根据所述映射关系将接收到的数据包中的所述第一地址信息修改为所述第二地址信息后向所述移动节点发送修改为所述第二地址信息的数据包。Transmitting, to the first routing device, a data packet modified to the first address information, so that the first routing device modifies the first address information in the received data packet into a location according to the mapping relationship After the second address information is described, the data packet modified to the second address information is sent to the mobile node.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息,所述第二地址信息为第二IP地址信息。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information, and the second address information is second IP address information.
可选的,所述数据包为因特网协议IP数据包,所述第一地址信息为第一IP地址信息和第一端口号,所述第二地址信息为第二IP地址信息和第二端口 号。Optionally, the data packet is an Internet Protocol IP data packet, the first address information is first IP address information and a first port number, and the second address information is second IP address information and a second port. number.
可选的,上述处理器603具体用于:Optionally, the
建立所述第一地址信息和所述第二地址信息的映射关系;Establishing a mapping relationship between the first address information and the second address information;
接收所述通信节点发往所述移动节点的数据包,并根据所述映射关系将所述数据包中的所述第二地址信息修改为所述第一地址信息。Receiving, by the communication node, a data packet sent to the mobile node, and modifying the second address information in the data packet to the first address information according to the mapping relationship.
相关描述可以对应参阅方法实施例部分的相关描述和效果进行理解,本处不做过多赘述。The related descriptions can be understood by referring to the related descriptions and effects of the method embodiments, and will not be described in detail herein.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, 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. In addition, 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.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, 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.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。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. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. 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. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or some of the technical features are replaced by equivalents; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (en) | 2015-11-10 | 2015-11-10 | Routing method and routing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (en) | 2015-11-10 | 2015-11-10 | Routing method and routing device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017079901A1 true WO2017079901A1 (en) | 2017-05-18 |
Family
ID=58694682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/094212 WO2017079901A1 (en) | 2015-11-10 | 2015-11-10 | Routing method and routing device |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2017079901A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960327A (en) * | 2006-09-07 | 2007-05-09 | 浙江大学 | Multistage motion management method of hierarchy motion Ipv6 based on characters of motion and traffic characterization |
CN101001261A (en) * | 2006-01-09 | 2007-07-18 | 华为技术有限公司 | Communication method of MIPv6 moving node |
CN101047616A (en) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | Method for distributing homeplace agent |
-
2015
- 2015-11-10 WO PCT/CN2015/094212 patent/WO2017079901A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001261A (en) * | 2006-01-09 | 2007-07-18 | 华为技术有限公司 | Communication method of MIPv6 moving node |
CN101047616A (en) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | Method for distributing homeplace agent |
CN1960327A (en) * | 2006-09-07 | 2007-05-09 | 浙江大学 | Multistage motion management method of hierarchy motion Ipv6 based on characters of motion and traffic characterization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112470436B (en) | System, method, and computer-readable medium for providing multi-cloud connectivity | |
CN102907072B (en) | Enabling ipv6 mobility with nat64 | |
US20220007251A1 (en) | Using location indentifier separation protocol to implement a distributed user plane function architecture for 5g mobility | |
US9008084B2 (en) | Method of IPv6 at data center network with VM mobility using graceful address migration | |
CN105791457B (en) | A kind of data processing method and device | |
US20160380966A1 (en) | Media Relay Server | |
CN105264493A (en) | Dynamic virtual machines migration over information centric networks | |
US8503416B2 (en) | Method and system for efficient homeless MPLS micro-mobility | |
JP2017529713A (en) | Computer network packet flow controller | |
US9668160B2 (en) | Topology discovery based on SCTP/X2 snooping | |
CN109768908B (en) | A VXLAN configuration method, device and system | |
US20160380789A1 (en) | Media Relay Server | |
US20160337270A1 (en) | Method of operating a network entity | |
US10447603B2 (en) | Control signaling transmission method and device | |
CN104320267A (en) | ARP broadcast restraining system and method for achieving VxLAN based on SDN framework | |
CN112822085B (en) | Network deployment method and system | |
KR20140099598A (en) | Method for providing service of mobile vpn | |
CN104717142B (en) | Method for carrying out mobility management based on OpenFlow protocol | |
WO2020083269A1 (en) | Method, apparatus and system for establishing subflows of multipath connection | |
CN101699886A (en) | Method for binding stream to multi-homed mobile node in proxy mobile IPv6 | |
US9730141B2 (en) | System and method for distributed and integrated mobility support for mobile networks and mobile hosts | |
CN114980243A (en) | A data forwarding method, device and storage medium | |
JP6050720B2 (en) | System and method for migrating gateway session information in core network | |
CN113285877B (en) | Message forwarding control method and related device | |
Yaseen et al. | Smart virtualization packets forwarding during handover for beyond 5G networks |
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 |