WO2011069383A1 - 用户移动性的实现方法 - Google Patents
用户移动性的实现方法 Download PDFInfo
- Publication number
- WO2011069383A1 WO2011069383A1 PCT/CN2010/077115 CN2010077115W WO2011069383A1 WO 2011069383 A1 WO2011069383 A1 WO 2011069383A1 CN 2010077115 W CN2010077115 W CN 2010077115W WO 2011069383 A1 WO2011069383 A1 WO 2011069383A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- tunnel router
- mobile node
- eid
- rloc
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013507 mapping Methods 0.000 claims description 79
- 230000008569 process Effects 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 4
- 230000005641 tunneling Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 238000005538 encapsulation Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 7
- 101150068804 ETR2 gene Proteins 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000000926 separation method Methods 0.000 description 5
- 102100039327 Enoyl-[acyl-carrier-protein] reductase, mitochondrial Human genes 0.000 description 3
- 101000961707 Homo sapiens Enoyl-[acyl-carrier-protein] reductase, mitochondrial Proteins 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000720945 Hosta Species 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Definitions
- the present invention relates to the field of communications, and in particular to a method for implementing user mobility.
- BACKGROUND OF THE INVENTION With the development of networks, there is an increasing demand for user mobility.
- the design of the Internet is considered in the fixed (wired) mode of access environment, and does not take into account the large amount of mobile users. Therefore, how to solve the problem of user mobility in the Internet is a hot topic of current research.
- Mobility schemes include protocols such as ⁇ 4, ⁇ , ⁇ 6, and most of these protocols are inadequate.
- MIPv4 and MIPv6 are host-based solutions that require certain changes to the host and can only be used for IPv4 networks and IPv6 networks, respectively.
- MIPv4 There is also a serious triangular routing problem with MIPv6.
- PMIPv6 protocol the implementation of this protocol is more complicated and can only be used for networks with IPv6 addresses.
- the solution to the problem of solving user mobility problems in related technologies has not been proposed yet.
- the content of the invention is relevant
- the present invention has been made in view of a relatively complicated solution to the problem of user mobility in operation. Therefore, the main object of the present invention is to provide a method for implementing user mobility to solve at least one of the above problems. According to an aspect of the present invention, a method for implementing user mobility is provided.
- the method for implementing user mobility includes: assigning an address to a mobile node, and establishing a TCP connection of the mobile node by the address, the address Only the identity attribute of the mobile node is identified, and the identity attribute is represented by an EID address; the network node encapsulates the IP packet of the mobile node, and the address in the encapsulated IP packet has only the location attribute, and the location attribute is represented by the RLOC address.
- the EID address is the only one in the world.
- the network node encapsulates the mobile node's IP packet, including: the border tunnel router receives the IP address; the border tunnel router locally searches for the RLOC address corresponding to the EID address of the IP address; The tunnel router encapsulates the RLOC address for the IP address; the border tunnel router sends the encapsulated IP address. Further, in a case that the border tunnel router cannot find the RLOC address corresponding to the EID address locally, the method further includes: the border tunnel router sends a query message to the mapping system, where the mapping system is configured to store the EID address and the RLOC The mapping relationship of the address; the mapping system returns a response message to the border tunnel router, where the response message carries the RLOC address.
- the mapping system is composed of a distributed mapping table server.
- the border tunnel router includes: an ingress tunnel router and an egress tunnel router, where the ingress tunnel router searches for a mapping relationship between the EID address and the RLOC address; and the egress tunnel router registers and updates the mapping relationship between the EID address and the RLOC address.
- the method further includes: the border tunnel router of the network where the mobile node is located sends a registration message to the mapping system, where The registration message is used to indicate that the location of the mobile node has changed; the mapping system adds an RLOC address entry to the mapping table of the EID address, and increases the mapping priority of the RLOC address.
- the address assigned to the mobile node only identifies the identity attribute of the mobile node, wherein the identity attribute is represented by an terminal identifier (EID) address; the address of the IP 4 message only has a location attribute, a location attribute It is represented by a routing location (RLOC) address, which solves the complicated problem of solving the problem of user mobility in the related art, thereby achieving the effect of easily implementing user mobility.
- EID terminal identifier
- RLOC routing location
- FIG. 1 is a schematic diagram of a mapping system for user mobility according to an embodiment of the present invention
- 2 is a flow chart showing a method for implementing user mobility according to an embodiment of the present invention
- FIG. 3 is a flowchart of a mapping update mechanism according to an embodiment of the present invention
- FIG. 4 is a schematic diagram of actively initiating communication according to an embodiment of the present invention.
- FIG. 5 is a flow chart of data forwarding when a passively received user's location changes in accordance with an embodiment of the present invention.
- FIG. 1 is a schematic diagram of a user mobility mapping system according to an embodiment of the present invention. As shown in FIG. 1, a user mobility mapping system is implemented based on an identity identification and a location separation technology, and a mobile node accesses a network through a border tunnel router, and an exit tunnel.
- the border router ( ETR ) registers the user's information to the mapping system.
- the mapping system consists of a Distribute Hast Table (DHT) mapping server.
- DHT Distribute Hast Table
- the method for implementing user mobility is identified by an attribute, where an address is assigned to a mobile node (ie, a mobile user), and a TCP connection of the mobile node is established through the address, and the address is only identified.
- the identity attribute of the mobile node is represented by an terminal identifier (EID) address; the network node (which may include a border tunnel router, a mapping system) configures and transmits the IP packet of the mobile node, and the configured IP packet
- EID terminal identifier
- the network node which may include a border tunnel router, a mapping system
- RLOC Route Location
- the location attribute and the identity attribute of the mobile node are separately represented, and are respectively represented by different identifiers or addresses, thereby solving the problem that the solution for solving the user mobility problem in the related art is complicated, and thus can be simplified. Realize the mobility of users.
- the value of the EID address of the mobile node does not change.
- border tunnel router including an ingress tunnel router and an egress tunnel router
- FIG. 3 is a flowchart of a mapping update mechanism according to an embodiment of the present invention.
- Step S301 In an initial state, a mobile node (MN) registers with the mapping system through ETR1, and when ETR1 detects that the mobile node is attached, it finds There is a new EID identifier, a mechanism for registering with the mapping system, and a map-register (Map-Register) message.
- the content of the file contains the EID identifier and the RLOC 1 address of ETR1.
- the priority of the mapping relationship between the two is priority.
- Step S302 After receiving the mapping registration message, the DHT mapping server in the mapping system stores the mapping relationship between the EID and the RLOC1 to the specific DHT mapping service according to the DHT algorithm. , and start the timer.
- Step S303 when the location of the mobile node changes, the mobile node accesses the network through the new border tunnel router ETR2, and needs to perform EID again. Registration. ETR2 will initiate a new registration mechanism to the mapping system, encapsulating Map-Register (ie, mapping registration) messages. Because the location of the mobile node changes, its EID value does not change. Therefore, the message content contains the EID identifier and the new RLOC address RLOC2 of ETR2, and the mapping relationship between the two is priority2.
- Map-Register ie, mapping registration
- the priority of the mapping between the EID identifier and the RLOC2 is temporarily increased in the Map-Register 4 message and at least one timer is invalid.
- the priority of the increased time must be higher than the priority priority1 of the mapping relationship before the change of the mobile node; in step S304, after the mapping system receives the registration message, the mapping table of the EID is added with a new entry of the RLOC2, and Since the mapping priority of RLOC2 is temporarily raised, it is ensured that RLOC2 is preferred, and the mapping relationship is updated and switched after the location change of the mobile node is completed.
- FIG. 4 is a flowchart of data forwarding when the location of the user actively initiating communication changes according to an embodiment of the present invention, and the method includes the following steps: Step 4 In the S401, the host A (hostA) initiates communication with the host B (hostB), and the host A encapsulates and sends the IP address, and the source IP address and the destination IP address of the host A are the EID address EIDa and the host B of the host A respectively.
- Step S402 after the message arrives at the ingress tunnel router (ITR1) of the host A (ie, the mobile user or the mobile node), the ITR1 locally searches for the RLOCb corresponding to the EIDb of the host B, and directly finds the mapping relationship.
- the encapsulated packet is encapsulated with an IP packet outside the original IP packet.
- the source IP address and the destination IP address are the RLOC1 address of ITR1 and the RLOCb address of the ETR.
- the query operation is initiated to the mapping system; in step S403, the mapping system replies to the Map-Reply after receiving the query (Map-Request)
- the Map-Reply 4 message carries the RLOCb address
- the ITR receives the Map-Reply 4 message and encapsulates the message;
- Step S404 forwards the encapsulated message to the ETR;
- Step S405 the forwarded encapsulated message is in the ETR Decapsulating the original message, and then sending the original message to the host B to complete the communication;
- Step S406 when the location of the host A is changed, the updated host address A1 is obtained, and the updated host A1 sends the message.
- the message arrives at the new ingress tunnel router (ITR2); in step S407, the new ingress tunnel router ITR2 registers the mapping relationship between the new EID and RLOC2 to the mapping system.
- the priority of the mapping relationship will be The priority of the mapping relationship between the EID and the RLOC1 is exceeded.
- the message is forwarded to the ETR device according to the RLOCb in the core network; in step S409, after receiving the encapsulated message, the ETR finds the mapping relationship between the new EID and the RLOC2, saves it in the local cache, and marks it. Then, the encapsulated packet is decapsulated and the decapsulated IP4 file is forwarded to the host B. In step S410, the host B replies with the message to the ETR. Step S411, 4 ⁇ arrives at the ETR, and the identifier is found in the ETR. After the mapping between the EID address and the RLOC address, the process of requesting the mapping system is initiated; Step S412, because the mapping relationship corresponding to the EID in the mapping system includes RLOC1 and
- Steps S501 to S505 the initial data flow process is the same as the user movement of the active communication, detailed
- the content is the same as the step S401 to the step S405;
- the step 4 is gathered S506, after the passive user (ie, the host B) moves, the 4 ⁇ message initiated by the host A cannot be forwarded to the destination host B after reaching the ETR, and the ETR will send a
- the ICMP message with the destination address being unreachable is sent to the ITR1.
- Step S507 After receiving the ICMP message with the unreachable destination address, the ITR1 initiates a mapping request to the mapping system to obtain a mapping relationship between the new EID and the RLOC.
- Step S508 ITR1 After receiving the Map-Reply message, the packet is encapsulated according to the new RLOC2 address; in step S509, the ITR1 forwards the newly encapsulated RLOC address to the new ETR2 device; Step S510, the decapsulated by the ETR2 device The IP packet is forwarded to host B. When the traffic is switched to the new location, the TCP connection will not be interrupted, but a small amount of packet loss will occur.
- the present invention is applicable to a slow-moving device and does not have a great impact on the service.
- the present invention proposes a new method for realizing user mobility based on identity identification and location separation technology, which separates the dual attributes of the identity and location of the IP address, and the address assigned by the mobile node only identifies the identity of the mobile node.
- the attribute, represented by EID, and the address assigned by the network node only identifies the location attribute, represented by RLOC.
- a border tunnel router (TR) is introduced between the user and the core network, and operations such as registration, searching, and updating of the EID and RLOC mapping relationships are performed on the router. Construct a new mapping system for storing the mapping between EID and RLOC.
- the EID address identifying the identity attribute of the mobile node must be globally unique, and the value of the EID address is always unchanged when the location of the mobile node changes; and the value of the RLOC address is changed when the location of the mobile node changes.
- the border tunnel router (TR) is divided into an ingress tunnel router (ITR) and an egress tunnel router (ETR).
- the router completes the lookup operation of the EID and RLOC mapping relationship, and the egress tunnel router completes the registration and update operations of the EID and RLOC mapping relationship.
- the mapping system is composed of a DHT mapping server, and the DHT mapping server may be a router running the DHT protocol or a DHT server.
- the present invention uses the address assigned to the mobile node to identify only the identity attribute of the mobile node, wherein the identity attribute is represented by an terminal identifier (EID) address; IP 4
- EID terminal identifier
- IP 4 The address of the transmission text only has the location attribute, and the location attribute is represented by the routing location (RLOC) address, which solves the complicated problem of solving the user mobility problem in the related art, thereby achieving the user mobility easily.
- EID terminal identifier
- RLOC routing location
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
用户移动, I"生的实现方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种用户移动性的实现方法。 背景技术 随着网络的发展, 用户移动性的需求越来越多, 而互联网的设计^^于 固定 (有线) 方式的接入环境考虑的, 没有考虑到用户大量移动的情况。 因 此, 如何解决互联网中用户移动的情况是当前研究的热点。 目前, 对于互联网中的用户移动性方案有 ΜΙΡν4, ΜΙΡνό, ΡΜΙΡν6等 协议, 而这些协议大多存在不足, MIPv4和 MIPv6是基于主机的解决方案, 需要对主机故一定的改动, 且分别只能用于 IPv4 网络和 IPv6 网络, MIPv4 和 MIPv6还存在严重的三角路由问题。 对于 PMIPv6协议, 该协议的实现比 较复杂, 并且只能用于 IPv6地址的网络。 针对相关技术中解决用户移动性问题的方案比较复杂的问题, 目前尚未 提出有效的解决方案。 发明内容 针对相关技术中解决用户移动性问题的方案比较复杂的问题而提出本 发明, 为此, 本发明的主要目的在于提供一种用户移动性的实现方法, 以解 决上述问题至少之一。 为了实现上述目的, 根据本发明的一个方面, 提供了一种用户移动性的 实现方法。 才艮据本发明的用户移动性的实现方法包括: 为移动节点分配地址, 通过 该地址建立移动节点的 TCP连接, 该地址仅标识移动节点的身份属性, 身份 属性用 EID地址来表示; 网络节点封装移动节点的 IP报文, 封装的 IP报文 中的地址仅具有位置属性, 该位置属性用 RLOC地址来表示。 进一步地, 在移动节点的位置发生改变时, EID地址的值不会改变。
进一步地, EID地址为全球唯一 进一步地, 网络节点封装移动节点的 IP报文包括: 边界隧道路由器接 收 IP 4艮文; 边界隧道路由器在本地查找 IP 4艮文的 EID地址对应的 RLOC地 址; 边界隧道路由器对 IP 4艮文封装 RLOC地址; 边界隧道路由器发送封装 后的 IP 4艮文。 进一步地, 在边界隧道路由器在本地查找不到 EID地址对应的 RLOC 地址的情况下, 该方法还包括: 边界隧道路由器向映射系统发送查询 4艮文, 其中, 映射系统用于存储 EID地址和 RLOC地址的映射关系; 映射系统向边 界隧道路由器返回应答报文, 其中, 应答报文中携带有 RLOC地址。 进一步地, 映射系统由分布式映射表月艮务器组成。 进一步地, 边界隧道路由器包括: 入口隧道路由器和出口隧道路由器, 其中, 入口隧道路由器查找 EID地址和 RLOC地址的映射关系; 出口隧道路 由器对 EID地址和 RLOC地址的映射关系进行注册和更新。 进一步地, 在边界隧道路由器发送封装后的 IP 4艮文的过程中, 如果移 动节点的位置发生改变, 方法还包括: 移动节点所在网络的边界隧道路由器 向映射系统发送注册 4艮文, 其中, 注册 4艮文用于指示移动节点的位置发生改 变; 映射系统为 EID地址的映射表增加 RLOC地址条目, 并提高 RLOC地 址的映射优先级。 通过本发明, 釆用为移动节点分配的地址仅标识移动节点的身份属性 , 其中, 身份属性用终端标识 (EID ) 地址来表示; IP 4艮文在传输时的地址仅 具有位置属性, 位置属性用路由位置 (RLOC ) 地址来表示, 解决了相关技 术中解决用户移动性问题的方案比较复杂的问题, 进而达到了简便地实现用 户移动性的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是才艮据本发明实施例的用户移动性的映射系统的示意图;
图 2是才艮据本发明实施例的用户移动性的实现方法的流程示意图; 图 3是根据本发明实施例的映射更新机制的流程图; 图 4 是根据本发明实施例的主动发起通信的用户的位置发生改变时数 据转发的流程图; 图 5 是根据本发明实施例的被动接收的用户的位置发生改变时数据转 发的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 根据本发明实施例,首先提供了一种新的基于身份标识与位置分离技术 实现用户移动性的方法, 在该方法中, 将 IP地址具有的身份和位置的双重属 性分离, 分配给移动用户的地址只标识移动用户的身份属性, 不再具有位置 属性, 该地址用于建立 TCP连接, 该地址用终端标识 (Endpoint Identifiers, 简称为 EID ) 表示; 而网络部分分配的地址只标识位置属性, 不再表示用户 的身份属性, 该地址用路由位置 (Routing Locator , 简称为 RLOC )表示, 用于用户数据报文在网络中的传输。 图 1为本发明实施例的用户移动性的映射系统的示意图, 如图 1所示, 基于身份标识与位置分离技术实现用户移动性的映射系统, 移动节点通过边 界隧道路由器接入网络, 出口隧道边界路由器 ( ETR ) 将用户的信息注册到 映射系统, 当移动节点的位置发生改变时, 该移动节点的信息会通过新的 ETR向映射系统注册。 映射系统由分布式映射表 ( Distribute Hast Table , 简 称为 DHT ) 映射服务器构成。 在实际应用中,对于用户移动性的实现方法, 以以下属性来标识,其中, 为移动节点(即移动用户)分配地址,通过所述地址建立所述移动节点的 TCP 连接, 所述地址仅标识所述移动节点的身份属性, 所述身份属性用终端标识 ( EID ) 地址来表示; 网络节点 (可以包括边界隧道路由器、 映射系统) 配 置并传输所述移动节点的 IP报文, 配置的 IP报文中的在传输时的地址仅具 有位置属性, 所述位置属性用路由位置 (RLOC ) 地址来表示。
在该实施例中, 通过将移动节点的位置属性和身份属性分开表示, 以及 分别用不同的标识或地址来表示, 解决了相关技术中解决用户移动性问题的 方案比较复杂的问题, 进而能够简便地实现用户的移动性。 优选地, 在移动节点的位置发生改变时, 该移动节点的 EID 地址的值 不会发生改变。 通过该方法, 可以更加简便地实现用户的移动性。 优选地, EID地址为全球唯一。 通过该方法, 可以更加简便地实现用户 的移动性。 图 2是本发明实施例的用户移动性的实现方法的流程示意图,该方法包 括如下的步 4聚 S202至步 4聚 S208: 步 4聚 S202, 边界隧道路由器(包括入口隧道路由器和出口隧道路由器) 接收 IP 4艮文; 步骤 S204, 边界隧道路由器在本地查找该 IP 4艮文中的 EID地址所对应 的 RLOC地址; 步骤 S206 , 边界隧道路由器对 IP 4艮文封装 RLOC地址; 步骤 S208, 边界隧道路由器发送封装后的 IP报文。 下面将结合实例对本发明实施例的实现过程进行详细描述。 基于身份标识与位置分离的技术实现用户移动性需要考虑两个方面的 机制, 一个是在移动用户的位置发生改变后的映射更新机制, 另外一个是移 动节点的数据转发流程。 基于身份标识与位置分离技术实现用户移动性的映 射更新机制的流程图如图 3所示。 图 3是根据本发明实施例的映射更新机制的流程图, 该方法步骤如下: 步骤 S301 , 初始状态下, 移动节点(MN )通过 ETR1向映射系统注册, 当 ETR1检测到移动节点附着后, 发现有新的 EID标识, 发起向映射系统注 册的机制, 封装映射注册 ( Map-Register ) 4艮文, 4艮文内容包含 EID标识和 ETR1的 RLOC 1地址, 两者的映射关系的优先级为 priority 1; 步骤 S302, 映射系统中的 DHT映射服务器收到了该映射注册 4艮文后, 根据 DHT算法, 将 EID和 RLOC1的映射关系存储到特定的 DHT映射服务
器, 并启动定时器。 在定时器超时后, DHT映射服务器会将该映射关系置为 无效; 步骤 S303 , 当移动节点的位置发生改变时, 移动节点通过新的边界隧 道路由器 ETR2接入到网络, 此时需要重新进行 EID的注册。 ETR2会向映 射系统发起新的注册机制, 封装 Map-Register (即映射注册)报文。 因为移 动节点的位置发生改变时, 其 EID值不会改变, 因此报文内容包含 EID标识 和新的 ETR2的 RLOC地址 RLOC2 , 两者的映射关系的优先级为 priorty2。 为了保证移动节点在位置发生改变后, 其流量能快速切换到新的路径上, 在 Map-Register 4艮文中将 EID标识和 RLOC2的映射关系的优先级临时加大并 保持至少一个定时器失效的时间, 加大后的优先级必须高于移动节点发生改 变前的映射关系的优先级 priorityl; 步骤 S304, 映射系统收到了注册消息后, 会将 EID的映射表增加一条 新的 RLOC2的条目, 并且由于临时调高了 RLOC2的映射优先级, 保证了 4艮 文会优选 RLOC2, 完成了移动节点的位置改变后, 映射关系的更新和切换。 移动用户发生改变的情况分为主动发起通信的用户的位置发生改变和 被动接收的用户的位置发生改变两种情况, 以下对两种情况分别进行说明。 情况一, 主动发起通信的用户的位置发生改变时的数据转发过程: 图 4 是本发明实施例的主动发起通信的用户的位置发生改变时数据转 发的流程图, 该方法包括以下步骤: 步 4聚 S401 , 主机 A ( hostA ) 发起与主机 B ( hostB ) 的通信, 主机 A 封装并发送 IP 4艮文, 4艮文的源 IP地址和目的 IP地址分别为主机 A的 EID 地址 EIDa和主机 B的 EID地址 EIDb; 步骤 S402, 4艮文到达主机 A (即移动用户或移动节点) 的入口隧道路 由器 (ITR1 ) 后, ITR1在本地查找主机 B的 EIDb对应的 RLOCb, 查找到 该映射关系则直接封装报文, 在原始 IP报文外面再封装一层 IP报文, 源 IP 地址和目的 IP地址分别为 ITR1的 RLOC1地址和 ETR的 RLOCb地址。 如 果在 ITR的本地緩存中没有查找到 EIDb的映射关系, 则向映射系统发起查 询操作; 步骤 S403 ,映射系统在收到查询 4艮文( Map-Request )后回复 Map-Reply
艮文, Map-Reply 4艮文中携带有 RLOCb地址, ITR收到 Map-Reply 4艮文后进 行报文的封装; 步骤 S404, 转发封装报文到 ETR; 步骤 S405 , 转发的封装报文在 ETR上进行解封装得到原始报文, 然后 将原始 4艮文发送到主机 B , 完成通信; 步骤 S406, 当主机 A的位置发送改变时, 得到更新后的主机地址 A1 , 更新后的主机 A1发送的报文到达新的入口隧道路由器 ( ITR2 ); 步骤 S407 , 新的入口隧道路由器 ITR2会向映射系统注册新的 EID与 RLOC2的映射关系, 按照上文介绍的注册机制, 该映射关系的优先级会高于 EID与 RLOC1的映射关系的优先级; 步骤 S408, ITR2上进行报文的外层封装, 外层报文的源 IP地址和目的 地址分别为 ITR2的 RLOC2地址和 ETR的地址 RLOCb, 封装 4艮文在核心网 络根据 RLOCb转发到 ETR设备上; 步骤 S409, ETR收到封装 4艮文后, 发现新的 EID和 RLOC2的映射关 系, 保存在本地的緩存中, 并做标注。 然后对封装报文进行解封装并将解封 装后的 IP 4艮文转发到主机 B; 步骤 S410, 主机 B回复 4艮文给 ETR; 步骤 S411 , 4艮文到达 ETR, 在 ETR查找到有标注的 EID地址和 RLOC 地址的映射关系后, 会发起向映射系统请求的过程; 步骤 S412 , 由于映射系统中 EID 对应的映射关系包括 RLOC1 和
RLOC2,并且 RLOC2的优先级高于 RLOC1的优先级, ETR在收到 Map-Reply 艮文后, 会才艮据 RLOC2的地址进行封装; 步骤 S413 , ETR将封装的 IP 4艮文转发到新的 ITR2地址; 步骤 S414, 新的入口隧道路由器 ITR2地址将解封装后的 IP 4艮文转发 回复到目的主机 A, 完成流量到新的位置的切换。 在整个过程中, 用于主机 间建立 TCP连接的 EID地址不变, 保证了 TCP连接不会中断。 情况二, 被动接收的用户位置发生移动时数据转发的过程:
图 5 是本发明实施例的被动接收的用户位置发生改变时数据转发的流 程图, 该方法包括如下步骤: 步骤 S501至步骤 S505 ,初始数据流过程与主动发起通信的用户移动的 情况一样, 详细内容同步骤 S401至步骤 S405; 步 4聚 S506, 在被动用户 (即主机 B )发生移动后, 主机 A发起的 4艮文 在到达 ETR后, 无法转发到目的主机 B, 此时 ETR会发送一个目的地址不 可达的 ICMP 4艮文到 ITR1; 步骤 S507, ITR1收到目的地址不可达的 ICMP 4艮文后, 向映射系统发 起映射请求, 得到新的 EID与 RLOC的映射关系; 步骤 S508, ITR1在收到 Map-Reply 4艮文后, 会才艮据新的 RLOC2地址 进行封装; 步骤 S509, ITR1将新封装的 RLOC地址转发到新的 ETR2设备; 步骤 S510, 由 ETR2设备将解封装后的 IP报文转发到主机 B。 完成流 量到新的位置的切换, 过程中 TCP连接也不会中断, 但是会出现少量丢包的 情况, 本发明适用于慢速移动的设备, 对业务不会造成很大的影响。 优选地,本发明提出了一种新的基于身份标识与位置分离技术的实现用 户移动性的方法, 该方法分离 IP地址的身份和位置的双重属性, 移动节点分 配的地址只标识移动节点的身份属性, 用 EID表示, 而网络节点分配的地址 只标识位置属性, 用 RLOC表示。 在用户和核心网络之间引入边界隧道路由 器( Tunnel Router, 简称为 TR ), 在该路由器上完成 EID和 RLOC映射关系 的注册、查找和更新等操作。构建一个新的映射系统,用于存储 EID和 RLOC 的映射关系。 优选地, 标识移动节点的身份属性的 EID 地址必须全球唯一, 并且在 移动节点的位置发生改变时, EID地址的值始终不变; 而 RLOC地址的值在 移动节点的位置发生改变时, 其值随着移动节点的位置改变而变^^ 优选地, 边界隧道路由器 (TR ) 分为入口隧道路由器 (Ingress Tunnel Router,简称为 ITR )和出口隧道路由器( Egress Tunnel Router,简称为 ETR ), 入口隧道路由器完成 EID和 RLOC映射关系的查找操作, 出口隧道路由器完 成 EID和 RLOC映射关系的注册和更新操作。
优选地, 映射系统由 DHT映射月艮务器组成, DHT映射月艮务器可以为运 行 DHT协议的路由器或者 DHT服务器。 从以上的描述中可以看出, 与现有技术相比, 本发明釆用为移动节点分 配的地址仅标识移动节点的身份属性, 其中, 身份属性用终端标识 (EID ) 地址来表示; IP 4艮文在传输时的地址仅具有位置属性, 位置属性用路由位置 ( RLOC ) 地址来表示, 解决了相关技术中解决用户移动性问题的方案比较 复杂的问题, 进而达到了简便地实现用户移动性的效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
Claims
1. 一种用户移动性的实现方法, 其特征在于, 包括:
为移动节点分配地址, 通过所述地址建立所述移动节点的 TCP 连 接, 所述地址仅标识所述移动节点的身份属性, 所述身份属性用终端标 识 EID地址来表示;
网络节点封装所述移动节点的 IP 4艮文, 封装的所述 IP 4艮文的地址 仅具有位置属性, 所述位置属性用路由位置 RLOC地址来表示。
2. 根据权利要求 1所述的方法, 其特征在于, 在所述移动节点的位置发生 改变时, 所述 EID地址的值不变。
3. 根据权利要求 1所述的方法, 其特征在于, 所述 EID地址为全球唯一。
4. 根据权利要求 1所述的方法, 其特征在于, 所述网络节点封装所述移动 节点的 IP 4艮文包括:
边界隧道路由器接收所述 IP报文;
所述边界隧道路由器在本地查找所述 IP 4艮文的 EID 地址对应的 RLOC地址;
所述边界隧道路由器对所述 IP 4艮文 装所述 RLOC地址; 所述边界隧道路由器发送封装后的所述 IP报文。
5. 根据权利要求 4所述的方法, 其特征在于, 在所述边界隧道路由器在本 地查找不到所述 EID地址对应的 RLOC地址的情况下,所述方法还包括: 所述边界隧道路由器向映射系统发送查询报文, 其中, 所述映射系 统用于存储所述 EID地址和所述 RLOC地址的映射关系;
所述映射系统向所述边界隧道路由器返回应答 4艮文, 其中, 所述应 答报文中携带有所述 RLOC地址。
6. 根据权利要求 5所述的方法, 其特征在于, 所述映射系统由分布式映射 表服务器组成。 根据权利要求 4所述的方法, 其特征在于, 所述边界隧道路由器包括: 入口隧道路由器和出口隧道路由器, 其中, 所述入口隧道路由器查找所述 EID地址和所述 RLOC地址的映射 关系;
所述出口隧道路由器对所述 EID地址和所述 RLOC地址的映射关 系进行注册和更新。 根据权利要求 4至 7中任一项所述的方法, 其特征在于, 在所述边界隧 道路由器发送封装后的所述 IP 4艮文的过程中,如果所述移动节点的位置 发生改变, 所述方法还包括:
所述移动节点所在网络的边界隧道路由器向映射系统发送注册报 文, 其中, 所述注册 4艮文用于指示所述移动节点的位置发生改变; 所述映射系统为所述 EID地址的映射表增加 RLOC地址条目, 并 提高所述 RLOC地址的映射优先级。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910211965.4 | 2009-12-08 | ||
CN200910211965.4A CN102088390B (zh) | 2009-12-08 | 2009-12-08 | 用户移动性的实现方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011069383A1 true WO2011069383A1 (zh) | 2011-06-16 |
Family
ID=44100011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/077115 WO2011069383A1 (zh) | 2009-12-08 | 2010-09-19 | 用户移动性的实现方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102088390B (zh) |
WO (1) | WO2011069383A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11502959B2 (en) * | 2020-11-17 | 2022-11-15 | Cisco Technology, Inc. | Traffic flow based map-cache refresh to support devices and their dynamic policy updates |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868612A (zh) * | 2011-07-04 | 2013-01-09 | 中兴通讯股份有限公司 | 基于lisp的移动性实现方法及隧道路由器 |
CN102957605B (zh) * | 2011-08-24 | 2017-04-12 | 中兴通讯股份有限公司 | 一种切换实现方法、系统和源出口隧道路由器 |
CN103037360B (zh) * | 2011-09-28 | 2017-03-29 | 中兴通讯股份有限公司 | 基于lisp的映射请求响应、信息获取方法及相应设备 |
CN103096299B (zh) * | 2011-11-01 | 2017-09-15 | 中兴通讯股份有限公司 | 一种移动节点动态获取位置标识的方法及lisp网络 |
CN103167463B (zh) * | 2011-12-09 | 2017-10-27 | 中兴通讯股份有限公司 | 更新报文的处理方法及系统、映射服务器和移动节点 |
CN103841022B (zh) * | 2014-03-12 | 2017-04-05 | 华为技术有限公司 | 用于建立隧道的方法及装置 |
CN105592447A (zh) * | 2014-10-22 | 2016-05-18 | 中兴通讯股份有限公司 | 一种分配移动终端的身份标识的方法和装置 |
CN104836849B (zh) * | 2015-04-16 | 2018-02-09 | 新华三技术有限公司 | 一种注册虚拟机方法和装置 |
CN104767759B (zh) * | 2015-04-22 | 2019-01-18 | 新华三技术有限公司 | 一种边缘设备注册方法和装置 |
CN106953799A (zh) * | 2016-01-06 | 2017-07-14 | 中国移动通信集团海南有限公司 | 一种移动终端的通信方法及装置 |
CN106130914B (zh) * | 2016-06-22 | 2021-05-25 | 新华三技术有限公司 | 主机迁移方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252662A (zh) * | 1998-10-28 | 2000-05-10 | 朗迅科技公司 | 移动tcp以及建立和保持一个移动tcp连接的方法 |
CN1801764A (zh) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | 一种基于身份与位置分离的互联网接入方法 |
CN101175067A (zh) * | 2006-11-02 | 2008-05-07 | 华为技术有限公司 | 一种网络安全实现系统及方法 |
CN101753424A (zh) * | 2008-11-28 | 2010-06-23 | 华为技术有限公司 | 一种数据通信系统、路由器、数据发送及移动性管理方法 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534240B (zh) * | 2008-03-14 | 2012-04-25 | 华为技术有限公司 | 一种映射信息的发送方法、系统和装置 |
-
2009
- 2009-12-08 CN CN200910211965.4A patent/CN102088390B/zh active Active
-
2010
- 2010-09-19 WO PCT/CN2010/077115 patent/WO2011069383A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252662A (zh) * | 1998-10-28 | 2000-05-10 | 朗迅科技公司 | 移动tcp以及建立和保持一个移动tcp连接的方法 |
CN1801764A (zh) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | 一种基于身份与位置分离的互联网接入方法 |
CN101175067A (zh) * | 2006-11-02 | 2008-05-07 | 华为技术有限公司 | 一种网络安全实现系统及方法 |
CN101753424A (zh) * | 2008-11-28 | 2010-06-23 | 华为技术有限公司 | 一种数据通信系统、路由器、数据发送及移动性管理方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11502959B2 (en) * | 2020-11-17 | 2022-11-15 | Cisco Technology, Inc. | Traffic flow based map-cache refresh to support devices and their dynamic policy updates |
Also Published As
Publication number | Publication date |
---|---|
CN102088390B (zh) | 2014-12-10 |
CN102088390A (zh) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011069383A1 (zh) | 用户移动性的实现方法 | |
US9240944B2 (en) | Overlay services in communication networks | |
JP3568852B2 (ja) | 有線サブネットにアクセスする無線デバイス用にパケット経路設定アドレスを割り当てる方法及び装置 | |
US9622072B2 (en) | Communication method, method for forwarding data message during the communication process and communication node thereof | |
JP3573265B2 (ja) | パケットを無線デバイスに送信するステップ | |
US8898334B2 (en) | System for network deployment and method for mapping and data forwarding thereof | |
WO2012051884A1 (zh) | 一种虚拟机移动性的实现方法及系统 | |
WO2012142750A1 (zh) | 一种地址解析的方法,装置和系统 | |
JP2000183972A (ja) | 無線アクセス方法 | |
JP2000183974A (ja) | デスティネ―ションノ―ドへパケットを分配する経路設定パスを確立する方法 | |
JP2000183975A (ja) | デスティネ―ションノ―ドへパケットを分配するル―ティングパスを確立する方法 | |
WO2011069399A1 (zh) | 地址映射方法及接入业务节点 | |
WO2007112645A1 (fr) | Procédé et système de mise en oeuvre d'un réseau privé virtuel mobile | |
WO2013007130A1 (zh) | 身份与位置分离协议移动节点及移动控制方法、移动节点 | |
WO2011032462A1 (zh) | 一种数据传输、接收的方法及系统及路由器 | |
WO2011035615A1 (zh) | 一种数据传输方法、系统及装置 | |
KR101901341B1 (ko) | 사용자 장치의 이동성을 지원하는 네트워크 접속 방법 및 장치 | |
EP2466815B1 (en) | Method and system for initiating forwarding of communicaiton, information and data message and for routing configuration | |
WO2013007133A1 (zh) | 报文转发路径管理方法、系统及网元 | |
US9439127B2 (en) | Method for data transmission and local network entity | |
WO2013026299A1 (zh) | 一种地址解析方法、装置及信息传输方法 | |
US20090147759A1 (en) | Method and apparatus for supporting mobility of node using layer 2/layer 3 addresses | |
WO2011050679A1 (zh) | 基于Wimax网络架构实现的通信网络及终端接入方法 | |
JP2009540637A (ja) | デュアルスタック移動体ノードがIPv4ネットワーク中でローミングするための方法と装置 | |
WO2013083037A1 (zh) | 更新报文的处理方法及系统、映射服务器和移动节点 |
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: 10835418 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: 10835418 Country of ref document: EP Kind code of ref document: A1 |