WO2013007132A1 - Detaching method, device and map-server - Google Patents
Detaching method, device and map-server Download PDFInfo
- Publication number
- WO2013007132A1 WO2013007132A1 PCT/CN2012/075658 CN2012075658W WO2013007132A1 WO 2013007132 A1 WO2013007132 A1 WO 2013007132A1 CN 2012075658 W CN2012075658 W CN 2012075658W WO 2013007132 A1 WO2013007132 A1 WO 2013007132A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- indication information
- location
- routing
- mapping
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000000926 separation method Methods 0.000 claims abstract description 6
- 238000013507 mapping Methods 0.000 claims description 83
- 230000005641 tunneling Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000011160 research Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- 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
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5084—Providing for device mobility
Definitions
- the present invention relates to the field of network technologies, and in particular, to a detaching method, apparatus, and mapping server. Background technique
- DFZ Default Free Zone
- IP addresses are both identifiers and locations.
- the IRTF RRG Internet Research Task Force Routing Research Group
- Lisp Lisp (Location/ID Separation Protocol) is a new routing framework based on the requirements of RRG for routing and address research. It separates the current IP address into terminal identifiers (EIDs, End). -identifiers) and routing locations (RLOCs, Routing Locators) to reduce the size of the DFZ routing table, increase the number of extensions and reduce the number of globally visible, routing prefixes.
- the network structure of Lisp is shown in Figure 1.
- the basic idea of LISP is to encapsulate a layer on the outside of the IP layer.
- the IP packet header is used to reduce the impact of routes generated by the increase of edge network users on the routing table of the backbone network and maintain the stability of the backbone network (BGP) routing table.
- Lisp divides the existing IP address system into terminal identification (EID) and routing location (RLOC), and introduces the concept of tunnel routers ("Tunnel Routers").
- the tunnel routers are divided into Ingress Tunnel Routers (ITRs).
- Egress Tunnel Router ETR
- Both ITR and ETR need to register the binding of EID and RLOC in the mapping server (Map-Server, MS).
- Map-Server Map-Server, MS.
- the ETR is responsible for registering the EID of this host and the RLOC.
- the ITR is responsible for buffering the EID/RLOC binding of the ETR-side host. Similarly for the ITR side host, the ITR registers the binding of the EID of this host to the RLOC.
- ISR in Lisp is responsible for data encapsulation and mapping search, according to the purpose EID letter Find the corresponding RLOC information.
- the ETR in Lisp is responsible for decapsulating data packets.
- the original intention of the LISP protocol is to solve the scale of the routing table, and it cannot solve the mobility of the network.
- the mobility of the network is necessary, and the requirements of the Lisp design must be able to solve the mobility and multi-hole.
- Lisp-MN (LISP Motion Node, Lis Mobile Node) is a mobility solution for Lisp.
- Lisp-MN defines the node in the lis network as lisp-MN, lisp-MN is different from ordinary MN (Motion Node -, mobile node), lisp-MN has the function of ETR/ITR, Figure 2 ⁇ , in Lisp- Schematic diagram of the network structure of the MN.
- ETR/ITR Figure 2 ⁇
- the technical problem to be solved by the present invention is to provide a lisp-MN detaching method, device and mapping server, thereby improving system resource utilization.
- the present invention provides a detaching method for use in an identity and location separation protocol (lisp) network, including:
- the network element having the tunnel router function sends a detach request carrying the terminal indication information to the mapping server, and requests the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
- the foregoing method may further have the following feature: the terminal indication information is a terminal identifier.
- the terminal indication information is information that identifies the terminal.
- the foregoing method may further have the following feature: the network element having the tunnel router function is an identity and location separation protocol mobile node (lisp-MN), or an ingress tunnel router, or an egress tunnel router.
- the network element having the tunnel router function is an identity and location separation protocol mobile node (lisp-MN), or an ingress tunnel router, or an egress tunnel router.
- the foregoing method may further have the following feature: the detach request further carries one or more routing locations, and the detach request does not carry a routing location. .
- the invention also provides a detaching method, which is applied to a lisp network, and includes: after the mapping server receives the detach request of the carrying terminal indication information sent by the network element having the tunneling router function, deleting the locally stored terminal indication information Terminal ID/routing location corresponding to the indicated terminal Mapping.
- the foregoing method may further have the following feature: when the detaching request does not carry a routing location, the mapping server deletes all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally.
- the foregoing method may further have the following feature: when the detach request carries one or more routing locations, the mapping server deletes the terminal identifier/route location mapping corresponding to the terminal indicated by the locally indicated terminal indication information. The same mapping as the one or more routing locations.
- the foregoing method may further have the following feature: the terminal indication information is a terminal identifier.
- the terminal indication information is information that identifies the terminal.
- the present invention also provides a detaching apparatus applied to a network element having a tunnel router function, the apparatus comprising:
- a generating unit configured to: generate a detach request, where the detach request carries terminal indication information;
- a sending unit configured to: send the detach request to the mapping server, and request the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
- the foregoing apparatus may further have the following feature: the terminal indication information is a terminal identifier.
- the terminal indication information is information that identifies the terminal.
- the foregoing apparatus may further have the following feature: the generating unit is further configured to: carry one or more routing locations in the detach request, or do not carry a routing location in the detach request.
- the present invention also provides a mapping server, the mapping server comprising a receiving unit and a deleting unit, wherein:
- the receiving unit is configured to: receive a detach request of the carrying terminal indication information sent by the network element having the tunnel router function, and notify the deleting unit;
- the deleting unit is configured to: after receiving the notification, delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information stored locally.
- the mapping server may further have the following features, and the deleting unit is further configured to: When the detaching request does not carry the routing location, deleting all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally;
- the deleting unit is further configured to: when the one or more routing locations are carried in the detaching request, deleting a routing location in a terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information stored locally The same terminal identification/routing location mapping as the one or more routing locations.
- the mapping server may further have the following feature: the terminal indication information is a terminal identifier.
- the terminal indication information is information that identifies the terminal.
- Figure 1 is a schematic diagram of a lisp network structure
- Figure 3 is a schematic diagram of the lisp-MN detachment process
- Figure 4 is a schematic diagram of the lisp detachment process
- Figure 5 is a schematic diagram of a format of a detach request message
- Figure 6 is a block diagram of the detachment device
- Figure 7 is a block diagram of the mapping server.
- the embodiment of the present invention provides a detaching method, which is applied to a lisp network, and performs the following operations on a tunnel router or a network element side having a tunnel router function:
- the network element having the tunnel router function sends a detach request carrying the terminal indication information to the mapping server, and requests the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
- the terminal indication information may be an end identifier (EID), or may be other information that can identify the terminal.
- EID end identifier
- the network element with the tunnel router function is a lisp-MN, or an ingress tunnel router or an egress tunnel router.
- the detach request also carries one or more routing locations. It is also possible not to carry a route location.
- the detachment method provided by the embodiment of the present invention performs the following operations on the mapping server side: after the mapping server receives the detach request of the carrying terminal indication information sent by the network element having the tunnel router function, the mapping server deletes the locally stored terminal indication information.
- the mapping server When the detach request carries one or more routing locations, the mapping server deletes the one or more routes in the terminal identifier/route location mapping corresponding to the terminal indicated by the locally indicated terminal indication information. The same location mapping.
- the mapping server deletes all terminal identifier/route location mappings of the terminal indicated by the locally stored terminal indication information.
- lisp-MN/ITR/ETR When lisp-MN/ITR/ETR does not need to continue to be attached to the network (when the user needs to shut down or the user needs to actively interrupt the network connection and the subscription is restricted), lisp-MN/ITR/ETR initiates the detach process, including:
- the lisp-MN/ITR/ETR sends a detach request to the MS, and the detach request carries the terminal identifier, and requests the MS to delete the EID/RLOC mapping corresponding to the terminal identifier stored therein; After receiving the detach request, the MS deletes the locally stored EID/RLOC mapping corresponding to the terminal identifier and sends a detach response to the lisp-MN/ITR/ETR, and the detach process is completed.
- the architecture of this embodiment is shown in FIG. 3, including a lisp network, a communication node lisp-MN (lisp-MN has the function of an ETR/ITR network element in the lisp protocol), and a mapping server MS.
- the mapping server MS is the EID/RLOC mapping in which the lisp-MN is registered.
- the detach request is a mapping to the registration request, including:
- Step 301 The lisp-MN sends a Map-Unregister Request (mapped to the registration request, which is equivalent to the aforementioned detach request) to the MS, where the message carries the [isp-MN EID, request to delete the MS storage Elip/RLOC mapping of the lisp-MN;
- Step 302 After receiving the Map-Unregister Request, the MS deletes the locally stored EID/RLOC mapping corresponding to the EID and sends a Map-Unregister Response to the lisp-MN. Or a failure indication). The detachment process is completed.
- the above embodiment uses Lisp-MN as an example.
- the same function can be implemented on the ITR/ETR network element of the LISP protocol to complete the detach process of the user.
- the ETR is taken as an example for description.
- This embodiment is based on the basic protocol of lisp described in FIG. 1. This embodiment is shown in FIG. 4, and mainly includes the following steps:
- Step 401 The ETR sends a Map-Unregister Request to the MS (the message carries the EID of the MN), and requests the MS to delete the EID/RLOC mapping corresponding to the stored EID.
- Step 402 After receiving the Map-Unregister Request, the MS deletes the locally stored EID/RLOC mapping corresponding to the EID and sends a Map-Unregister Response to the ETR.
- the message carries an indication indicating that the deletion succeeds or fails. The detachment process is complete.
- Map refers to EID/RLOC Mapping (EID/RLOC mapping).
- EID/RLOC mapping EID/RLOC mapping
- LISP Map-Unregister 6 b'0110'
- the LISP Map-Unregister message type is defined here. 6. This message type can also be any other binary number.
- a Map-Unregister Message Format is defined in lisp, as shown in Figure 5, where: In the format of the text, the Type field has a value of 6, indicating that the message is a Map-Unregister message.
- the EID-prefix field in the message includes a case where the prefix length is 0, at this time
- EID-prefix is the EID, which means that this message includes EID and EID-prefix.
- the user's registration includes two cases. One case is to delete all RLOCs under this EID.
- the Map-Unregister Message Format in Figure 7 does not contain the locator field; the other case deletes one or more RLOCs under this EID.
- the locator field in the Map-Unregister Message Format in Figure 7 carries one or more RLOCs to be deleted.
- FIG. 6 a block diagram of a detachment apparatus according to an embodiment of the present invention is applied to a network element having a tunnel router function, and the apparatus includes:
- a generating unit configured to generate a detach request, where the detach request carries the terminal indication information
- the sending unit is configured to send the detach request to the mapping server, and request the mapping server to delete the terminal corresponding to the terminal indication information Terminal identification / routing location mapping.
- the terminal indication information is a terminal identifier.
- the generating unit further carries one or more routing locations in the detach request.
- the embodiment of the present invention further provides a network element having a tunnel router function including the above detaching apparatus, that is, providing an ITR/ETR/Lisp-MN including the above detaching apparatus.
- a block diagram of a mapping server includes: a receiving unit And delete units, where:
- the receiving unit is configured to receive a detach request of the carrying terminal indication information sent by the network element having the tunnel router function, and notify the deleting unit;
- the deleting unit is further configured to: when the detaching request does not carry the routing location, delete all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally;
- the routing location in the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information that is locally stored is the same as the one or more routing locations. Terminal identification / routing location mapping.
- the embodiment of the present invention releases relevant resources in the original MS in time, thereby improving system resource utilization.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
一种去附着方法、 装置和映射服务器 De-attaching method, device and mapping server
技术领域 Technical field
本发明涉及网络技术领域, 尤其涉及一种去附着方法、 装置及映射服务 器。 背景技术 The present invention relates to the field of network technologies, and in particular, to a detaching method, apparatus, and mapping server. Background technique
DFZ ( Default Free Zone, 默认自由区)路由表的大小以逐渐增长的速度 增加, 它损害了路由的可扩展性和路由汇聚的执行。 路由可扩展性问题引起 了工业和学术界很大的兴趣。 The size of the DFZ (Default Free Zone) routing table increases at an increasing rate, which compromises the scalability of the route and the execution of route aggregation. Routing scalability issues have generated great interest in industry and academia.
IAB ( Internet Architecture Board, 因特网结构委员会)成员进行讨论认为 DFZ路由表增加的深层原因是 IP地址的双重语义造成的,在现有的网络中 IP 地址既做标识符又做位置。 目前 IRTF RRG ( Internet Research Task Force Routing Research Group, 互联网研究任务组路由工作组)致力于开发新的路 由和地址架构来支持多穴性、流量工程和移动性。 Lisp ( Location/ID Separation Protocol, 身份与位置分离协议)是以思科公司为首根据 RRG对路由和地址 研究的需求提出的一个新的路由体系框架, 通过将当前 IP地址分离为终端标 识 (EIDs, End-identifiers )和路由位置 (RLOCs, Routing Locators )来减轻 DFZ路由表的大小, 增加了扩展并减少了全局可见、 路由前缀数目。 Members of the IAB (Internet Architecture Board) discussed that the underlying reason for the increase in the DFZ routing table is the dual semantics of IP addresses. In existing networks, IP addresses are both identifiers and locations. The IRTF RRG (Internet Research Task Force Routing Research Group) is currently working on new routing and address architectures to support multi-hole, traffic engineering and mobility. Lisp (Location/ID Separation Protocol) is a new routing framework based on the requirements of RRG for routing and address research. It separates the current IP address into terminal identifiers (EIDs, End). -identifiers) and routing locations (RLOCs, Routing Locators) to reduce the size of the DFZ routing table, increase the number of extensions and reduce the number of globally visible, routing prefixes.
Lisp的网络结构如图 1所示。 LISP的基本思想是在 IP层外面再封装一层 The network structure of Lisp is shown in Figure 1. The basic idea of LISP is to encapsulate a layer on the outside of the IP layer.
IP报文头, 用于减少边缘网络用户的增加而产生的路由对骨干网络路由表的 影响, 保持骨干网络(BGP )路由表的稳定。 Lisp将现有的 IP地址系统分为 终端标识( EID )和路由位置( RLOC ),并引入了隧道路由器( "Tunnel Routers" ) 的概念, 隧道路由器分为入口隧道路由器( Ingress Tunnel Router, ITR )和出 口隧道路由器(Egress Tunnel Router, ETR ) 。 ITR与 ETR均需要在映射服 务器(Map-Server, MS ) 中注册 EID与 RLOC的绑定。 对 ETR侧的主机来 说, ETR负责注册此主机的 EID与 RLOC绑定, ITR负责緩存 ETR侧主机的 EID/RLOC的绑定。同样对 ITR侧主机来说, ITR注册此主机的 EID与 RLOC 的绑定。 另外, Lisp中 ITR负责数据的封装和映射的查找, 根据目的 EID信 息查找对应的 RLOC信息。 Lisp中 ETR负责进行数据报文的解封装。 The IP packet header is used to reduce the impact of routes generated by the increase of edge network users on the routing table of the backbone network and maintain the stability of the backbone network (BGP) routing table. Lisp divides the existing IP address system into terminal identification (EID) and routing location (RLOC), and introduces the concept of tunnel routers ("Tunnel Routers"). The tunnel routers are divided into Ingress Tunnel Routers (ITRs). And Egress Tunnel Router (ETR). Both ITR and ETR need to register the binding of EID and RLOC in the mapping server (Map-Server, MS). For the host on the ETR side, the ETR is responsible for registering the EID of this host and the RLOC. The ITR is responsible for buffering the EID/RLOC binding of the ETR-side host. Similarly for the ITR side host, the ITR registers the binding of the EID of this host to the RLOC. In addition, ISR in Lisp is responsible for data encapsulation and mapping search, according to the purpose EID letter Find the corresponding RLOC information. The ETR in Lisp is responsible for decapsulating data packets.
LISP协议提出的初衷是解决路由表的规模, 并不能解决网络的移动性, 随着网络的发展, 网络的移动性是必要的, 且 Lisp设计的需求必须要能解决 移动性、 多穴性。 The original intention of the LISP protocol is to solve the scale of the routing table, and it cannot solve the mobility of the network. With the development of the network, the mobility of the network is necessary, and the requirements of the Lisp design must be able to solve the mobility and multi-hole.
lisp-MN ( LISP Motion Node , Lis 移动节点 )是 Lisp的一种移动性解决 方案。 lisp-MN是将 lis 网络中的节点定义为 lisp-MN, lisp-MN与普通的 MN ( Motion Node -, 移动节点) 不同, lisp-MN具有 ETR/ITR的功能, 图 2 ^ , 于 Lisp-MN的网络结构示意图。 当 lisp-MN移动到其他网络时, lisp-MN向其 MS注册其 EID/RLOC的映射。 lisp-MN (LISP Motion Node, Lis Mobile Node) is a mobility solution for Lisp. Lisp-MN defines the node in the lis network as lisp-MN, lisp-MN is different from ordinary MN (Motion Node -, mobile node), lisp-MN has the function of ETR/ITR, Figure 2 ^ , in Lisp- Schematic diagram of the network structure of the MN. When lisp-MN moves to another network, lisp-MN registers its EID/RLOC mapping with its MS.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种 lisp-MN去附着方法、 装置和映射 服务器, 提高系统资源利用率。 The technical problem to be solved by the present invention is to provide a lisp-MN detaching method, device and mapping server, thereby improving system resource utilization.
为了解决上述问题, 本发明提供了一种去附着方法, 应用于身份与位置 分离协议(lisp ) 网络中, 包括: In order to solve the above problems, the present invention provides a detaching method for use in an identity and location separation protocol (lisp) network, including:
具备隧道路由器功能的网元发送携带终端指示信息的去附着请求给映射 服务器, 请求所述映射服务器删除所述终端指示信息指示的终端对应的终端 标识 /路由位置映射。 The network element having the tunnel router function sends a detach request carrying the terminal indication information to the mapping server, and requests the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
优选地, 上述方法还可具有以下特点, 所述终端指示信息为终端标识。 优选地, 所述终端指示信息是标识终端的信息。 Preferably, the foregoing method may further have the following feature: the terminal indication information is a terminal identifier. Preferably, the terminal indication information is information that identifies the terminal.
优选地, 上述方法还可具有以下特点, 所述具备隧道路由器功能的网元 为身份与位置分离协议移动节点 (lisp-MN) 、 或入口隧道路由器, 或出口隧道 路由器。 Preferably, the foregoing method may further have the following feature: the network element having the tunnel router function is an identity and location separation protocol mobile node (lisp-MN), or an ingress tunnel router, or an egress tunnel router.
优选地, 上述方法还可具有以下特点, 所述去附着请求中还携带一个或 多个路由位置, 所述去附着请求中不携带路由位置。 。 Preferably, the foregoing method may further have the following feature: the detach request further carries one or more routing locations, and the detach request does not carry a routing location. .
本发明还提供一种去附着方法, 应用于 lisp网络中, 包括: 映射服务器 接收到具备隧道路由器功能的网元发送的携带终端指示信息的去附着请求 后, 删除本地存储的所述终端指示信息指示的终端对应的终端标识 /路由位置 映射。 The invention also provides a detaching method, which is applied to a lisp network, and includes: after the mapping server receives the detach request of the carrying terminal indication information sent by the network element having the tunneling router function, deleting the locally stored terminal indication information Terminal ID/routing location corresponding to the indicated terminal Mapping.
优选地, 上述方法还可具有以下特点, 所述去附着请求中未携带路由位 置时, 所述映射服务器删除本地存储的所述终端指示信息指示的终端对应的 所有终端标识 /路由位置映射。 Preferably, the foregoing method may further have the following feature: when the detaching request does not carry a routing location, the mapping server deletes all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally.
优选地, 上述方法还可具有以下特点, 所述去附着请求中携带一个或多 个路由位置时, 所述映射服务器删除本地存储的所述终端指示信息指示的终 端对应的终端标识 /路由位置映射中与所述一个或多个路由位置相同的映射。 Preferably, the foregoing method may further have the following feature: when the detach request carries one or more routing locations, the mapping server deletes the terminal identifier/route location mapping corresponding to the terminal indicated by the locally indicated terminal indication information. The same mapping as the one or more routing locations.
优选地, 上述方法还可具有以下特点, 所述终端指示信息为终端标识。 优选地, 所述终端指示信息是标识终端的信息。 Preferably, the foregoing method may further have the following feature: the terminal indication information is a terminal identifier. Preferably, the terminal indication information is information that identifies the terminal.
本发明还提供一种应用于具备隧道路由器功能的网元上的去附着装置, 该装置包括: The present invention also provides a detaching apparatus applied to a network element having a tunnel router function, the apparatus comprising:
生成单元, 其设置为: 生成去附着请求, 该去附着请求中携带终端指示 信息; a generating unit, configured to: generate a detach request, where the detach request carries terminal indication information;
发送单元, 其设置为: 将所述去附着请求发送给映射服务器, 请求所述 映射服务器删除所终端指示信息指示的终端对应的终端标识 /路由位置映射。 And a sending unit, configured to: send the detach request to the mapping server, and request the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
优选地, 上述装置还可具有以下特点, 所述终端指示信息为终端标识。 优选地, 所述终端指示信息是标识终端的信息。 Preferably, the foregoing apparatus may further have the following feature: the terminal indication information is a terminal identifier. Preferably, the terminal indication information is information that identifies the terminal.
优选地, 上述装置还可具有以下特点, 所述生成单元还设置为: 在所述 去附着请求中携带一个或多个路由位置, 或者, 所述去附着请求中不携带路 由位置。 Preferably, the foregoing apparatus may further have the following feature: the generating unit is further configured to: carry one or more routing locations in the detach request, or do not carry a routing location in the detach request.
本发明还提供一种映射服务器, 所述映射服务器包括接收单元和删除单 元, 其中: The present invention also provides a mapping server, the mapping server comprising a receiving unit and a deleting unit, wherein:
所述接收单元设置为: 接收具备隧道路由器功能的网元发送的携带终端 指示信息的去附着请求, 并通知删除单元; The receiving unit is configured to: receive a detach request of the carrying terminal indication information sent by the network element having the tunnel router function, and notify the deleting unit;
所述删除单元设置为: 接收到所述通知后, 删除本地存储的所述终端指 示信息指示的终端对应的终端标识 /路由位置映射。 The deleting unit is configured to: after receiving the notification, delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information stored locally.
优选地, 上述映射服务器还可具有以下特点, 所述删除单元还设置为: 当所述去附着请求中未携带路由位置时, 删除本地存储的所述终端指示信息 指示的终端对应的所有终端标识 /路由位置映射; Preferably, the mapping server may further have the following features, and the deleting unit is further configured to: When the detaching request does not carry the routing location, deleting all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally;
优选地, 所述删除单元还设置为: 当所述去附着请求中携带一个或多个 路由位置时, 删除本地存储的所述终端指示信息指示的终端对应的终端标识 / 路由位置映射中路由位置与所述一个或多个路由位置相同的终端标识 /路由 位置映射。 Preferably, the deleting unit is further configured to: when the one or more routing locations are carried in the detaching request, deleting a routing location in a terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information stored locally The same terminal identification/routing location mapping as the one or more routing locations.
优选地, 上述映射服务器还可具有以下特点, 所述终端指示信息为终端 标识。 Preferably, the mapping server may further have the following feature: the terminal indication information is a terminal identifier.
优选地, 所述终端指示信息是标识终端的信息。 Preferably, the terminal indication information is information that identifies the terminal.
本发明实施例在 lisp MN/ITR/ETR离开网络时, 及时释放原 MS中的相 关资源, 提高了系统资源利用率。 附图概述 When the lisp MN/ITR/ETR leaves the network, the embodiment of the present invention releases relevant resources in the original MS in time, thereby improving system resource utilization. BRIEF abstract
图 1是 lisp网络结构示意图; Figure 1 is a schematic diagram of a lisp network structure;
图 于 lisp-MN的网络结构示意图; Figure Schematic diagram of the network structure of lisp-MN;
图 3是 lisp-MN去附着过程示意图; Figure 3 is a schematic diagram of the lisp-MN detachment process;
图 4是 lisp去附着过程示意图; Figure 4 is a schematic diagram of the lisp detachment process;
图 5是去附着请求消息格式示意图; Figure 5 is a schematic diagram of a format of a detach request message;
图 6是去附着装置框图; Figure 6 is a block diagram of the detachment device;
图 7是映射服务器框图。 Figure 7 is a block diagram of the mapping server.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other.
在 lisp-MN移动后, 原 MS中仍保留其相关的映射信息, 占用了系统资 源。 本发明实施例提供一种去附着方法, 应用于 lisp网络中, 在隧道路由器 或具备隧道路由器功能的网元侧执行如下操作: After the lisp-MN moves, the original MS still retains its related mapping information, which occupies system resources. The embodiment of the present invention provides a detaching method, which is applied to a lisp network, and performs the following operations on a tunnel router or a network element side having a tunnel router function:
具备隧道路由器功能的网元发送携带终端指示信息的去附着请求给映射 服务器, 请求所述映射服务器删除所述终端指示信息指示的终端对应的终端 标识 /路由位置映射。 The network element having the tunnel router function sends a detach request carrying the terminal indication information to the mapping server, and requests the mapping server to delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information.
其中, 所述终端指示信息可以是终端标识(EID ) , 也可以是其他能够标 识终端的信息。 The terminal indication information may be an end identifier (EID), or may be other information that can identify the terminal.
其中,所述具备隧道路由器功能的网元为 lisp-MN、或入口隧道路由器或 出口隧道路由器, The network element with the tunnel router function is a lisp-MN, or an ingress tunnel router or an egress tunnel router.
其中, 所述去附着请求中还携带一个或多个路由位置。 也可以不携带路 由位置。 The detach request also carries one or more routing locations. It is also possible not to carry a route location.
本发明实施例提供的去附着方法, 在映射服务器侧执行如下操作: 映射服务器接收到具备隧道路由器功能的网元发送的携带终端指示信息 的去附着请求后, 删除本地存储的所述终端指示信息指示的终端对应的终端 标识 /路由位置映射。 The detachment method provided by the embodiment of the present invention performs the following operations on the mapping server side: after the mapping server receives the detach request of the carrying terminal indication information sent by the network element having the tunnel router function, the mapping server deletes the locally stored terminal indication information. The terminal identifier/route location mapping corresponding to the indicated terminal.
其中, 所述去附着请求中携带一个或多个路由位置时, 所述映射服务器 删除本地存储的所述终端指示信息指示的终端对应的终端标识 /路由位置映 射中与所述一个或多个路由位置相同的映射。 When the detach request carries one or more routing locations, the mapping server deletes the one or more routes in the terminal identifier/route location mapping corresponding to the terminal indicated by the locally indicated terminal indication information. The same location mapping.
其中, 所述去附着请求中未携带路由位置时, 所述映射服务器删除本地 存储的所述终端指示信息指示的终端的所有终端标识 /路由位置映射。 When the detach request does not carry the routing location, the mapping server deletes all terminal identifier/route location mappings of the terminal indicated by the locally stored terminal indication information.
下面给出一包括两侧流程的实施例。 An embodiment including both sides of the flow is given below.
当 lisp-MN/ITR/ETR不需要继续附着在网络时(用户需要关机或者用户 需要主动中断网络连接及签约受限时), lisp-MN/ITR/ETR就发起去附着过程, 包括: When lisp-MN/ITR/ETR does not need to continue to be attached to the network (when the user needs to shut down or the user needs to actively interrupt the network connection and the subscription is restricted), lisp-MN/ITR/ETR initiates the detach process, including:
lisp-MN/ITR/ETR发送去附着请求给 MS ,该去附着请求中携带终端标识, 请求 MS删除其内存储的该终端标识对应的 EID/RLOC映射; 所述 MS 收到所述去附着请求后, 删除本地存储的该终端标识对应的 EID/RLOC映射并发送去附着响应给 lisp-MN/ITR/ETR, 去附着过程完成。 The lisp-MN/ITR/ETR sends a detach request to the MS, and the detach request carries the terminal identifier, and requests the MS to delete the EID/RLOC mapping corresponding to the terminal identifier stored therein; After receiving the detach request, the MS deletes the locally stored EID/RLOC mapping corresponding to the terminal identifier and sends a detach response to the lisp-MN/ITR/ETR, and the detach process is completed.
实施例一 Embodiment 1
本实施例体系结构如图 3所示,包括 lisp 网络、通信节点 lisp-MN( lisp-MN 具有 lisp协议中的 ETR/ITR网元的功能 )和映射服务器 MS。 其中映射服务 器 MS是存储 lisp-MN在其注册的 EID/RLOC映射。 本实施例中, 去附着请 求为映射去注册请求, 包括: The architecture of this embodiment is shown in FIG. 3, including a lisp network, a communication node lisp-MN (lisp-MN has the function of an ETR/ITR network element in the lisp protocol), and a mapping server MS. The mapping server MS is the EID/RLOC mapping in which the lisp-MN is registered. In this embodiment, the detach request is a mapping to the registration request, including:
步骤 301: lisp-MN发送 Map-Unregister Request (映射去注册请求, 相当 于前面提到的去附着请求)给 MS, 其中, 此消息中携带有] [isp- MN的 EID, 请求删除 MS中存储的该 lisp-MN的 EID/RLOC映射; Step 301: The lisp-MN sends a Map-Unregister Request (mapped to the registration request, which is equivalent to the aforementioned detach request) to the MS, where the message carries the [isp-MN EID, request to delete the MS storage Elip/RLOC mapping of the lisp-MN;
步骤 302: MS收到 Map-Unregister Request请求后, MS删除本地存储的 该 EID对应的 EID/RLOC的映射并发送 Map-Unregister Response (映射去注 册响应 )给 lisp-MN (此消息携带表明删除成功或失败的指示 )。 去附着过程 完成。 Step 302: After receiving the Map-Unregister Request, the MS deletes the locally stored EID/RLOC mapping corresponding to the EID and sends a Map-Unregister Response to the lisp-MN. Or a failure indication). The detachment process is completed.
上述实施例使用 Lisp-MN为例进行说明, 也可在 LISP协议的 ITR/ETR 网元上实现相同的功能来完成用户的去附着过程, 以 ETR为例进行说明。 The above embodiment uses Lisp-MN as an example. The same function can be implemented on the ITR/ETR network element of the LISP protocol to complete the detach process of the user. The ETR is taken as an example for description.
实施例二 Embodiment 2
本实施例基于图 1描述的 lisp的基本协议,本实施例见图 4,主要包括如 下步骤: This embodiment is based on the basic protocol of lisp described in FIG. 1. This embodiment is shown in FIG. 4, and mainly includes the following steps:
步骤 401: ETR发送 Map-Unregister Request给 MS (此消息中携带有 MN 的 EID ) , 请求 MS删除其存储的该 EID对应的 EID/RLOC映射; Step 401: The ETR sends a Map-Unregister Request to the MS (the message carries the EID of the MN), and requests the MS to delete the EID/RLOC mapping corresponding to the stored EID.
步骤 402: MS收到 Map-Unregister Request后, MS删除本地存储的该 EID对应的 EID/RLOC的映射并发送 Map-Unregister Response给 ETR, 此消 息携带表明删除成功或失败的指示。 去附着过程完成。 Step 402: After receiving the Map-Unregister Request, the MS deletes the locally stored EID/RLOC mapping corresponding to the EID and sends a Map-Unregister Response to the ETR. The message carries an indication indicating that the deletion succeeds or fails. The detachment process is complete.
本发明实施例中 Map指的是 EID/RLOC Mapping ( EID/RLOC映射) 。 下面说明一下 Map-Unregister Request的格式。 In the embodiment of the present invention, Map refers to EID/RLOC Mapping (EID/RLOC mapping). The format of the Map-Unregister Request is explained below.
在 lisp中定义一个 lisp 文类型: Define a lisp text type in lisp:
LISP Map-Unregister: 6 b'0110' 这里定义 LISP Map-Unregister报文类型是 6, 此报文类型也可以是任意 其他一个二进制数。 LISP Map-Unregister: 6 b'0110' The LISP Map-Unregister message type is defined here. 6. This message type can also be any other binary number.
在 lisp中定义一个 Map- Unregister Message Format, 如图 5所示, 其中: 该才艮文格式中,类型( Type )字段取值为 6 ,表明该 4艮文为 Map-Unregister 报文。 A Map-Unregister Message Format is defined in lisp, as shown in Figure 5, where: In the format of the text, the Type field has a value of 6, indicating that the message is a Map-Unregister message.
另夕卜, 该报文中的 EID-prefix字段包括 prefix长度为 0的情况, 此时的 In addition, the EID-prefix field in the message includes a case where the prefix length is 0, at this time
EID-prefix就是 EID, 也就是此消息包括 EID与 EID-prefix这两种情况。 EID-prefix is the EID, which means that this message includes EID and EID-prefix.
因一个用户的 EID可能对应存在多个 RLOC的情况, 所以用户去注册包 括两种情况。 一种情况是删除此 EID下的所有 RLOC, 这种情况时图 7中的 Map- Unregister Message Format中不含 locator字段;另一种情况是删除此 EID 下的某个或多个 RLOC, 此种情况时图 7中 Map- Unregister Message Format 中的 locator字段中携带要删除的一个或多个 RLOC。 Since a user's EID may correspond to multiple RLOCs, the user's registration includes two cases. One case is to delete all RLOCs under this EID. In this case, the Map-Unregister Message Format in Figure 7 does not contain the locator field; the other case deletes one or more RLOCs under this EID. In the case, the locator field in the Map-Unregister Message Format in Figure 7 carries one or more RLOCs to be deleted.
如图 6所示, 为本发明实施例提供的去附着装置框图, 应用于具备隧道 路由器功能的网元, 该装置包括: As shown in FIG. 6, a block diagram of a detachment apparatus according to an embodiment of the present invention is applied to a network element having a tunnel router function, and the apparatus includes:
生成单元, 用于生成去附着请求, 该去附着请求中携带终端指示信息; 发送单元, 用于将所述去附着请求发送给映射服务器, 请求所述映射服 务器删除所终端指示信息指示的终端对应的终端标识 /路由位置映射。 a generating unit, configured to generate a detach request, where the detach request carries the terminal indication information, and the sending unit is configured to send the detach request to the mapping server, and request the mapping server to delete the terminal corresponding to the terminal indication information Terminal identification / routing location mapping.
其中, 所述终端指示信息为终端标识。 The terminal indication information is a terminal identifier.
其中, 所述生成单元还在所述去附着请求中携带一个或多个路由位置。 本发明实施例还提供包括上述去附着装置的具备隧道路由器功能的网 元, 即提供包括上述去附着装置的 ITR/ETR/Lisp-MN。 The generating unit further carries one or more routing locations in the detach request. The embodiment of the present invention further provides a network element having a tunnel router function including the above detaching apparatus, that is, providing an ITR/ETR/Lisp-MN including the above detaching apparatus.
如图 7所示, 为本发明实施例提供的映射服务器框图, 包括: 接收单元 和删除单元, 其中: As shown in FIG. 7, a block diagram of a mapping server according to an embodiment of the present invention includes: a receiving unit And delete units, where:
所述接收单元用于接收具备隧道路由器功能的网元发送的携带终端指示 信息的去附着请求, 并通知删除单元; The receiving unit is configured to receive a detach request of the carrying terminal indication information sent by the network element having the tunnel router function, and notify the deleting unit;
所述删除单元用于: 接收到所述通知后, 删除本地存储的所述终端指示 信息指示的终端对应的终端标识 /路由位置映射。 The deleting unit is configured to: after receiving the notification, delete the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information stored locally.
其中, 所述删除单元还用于, 当所述去附着请求中未携带路由位置时, 删除本地存储的所述终端指示信息指示的终端对应的所有终端标识 /路由位 置映射; The deleting unit is further configured to: when the detaching request does not carry the routing location, delete all terminal identifier/routing location mappings corresponding to the terminal indicated by the terminal indication information stored locally;
或者, Or,
当所述去附着请求中携带一个或多个路由位置时, 删除本地存储的所述 终端指示信息指示的终端对应的终端标识 /路由位置映射中路由位置与所述 一个或多个路由位置相同的终端标识 /路由位置映射。 When the detach request carries one or more routing locations, the routing location in the terminal identifier/route location mapping corresponding to the terminal indicated by the terminal indication information that is locally stored is the same as the one or more routing locations. Terminal identification / routing location mapping.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
工业实用性 Industrial applicability
本发明实施例在 lisp MN/ITR/ETR离开网络时, 及时释放原 MS中的相 关资源, 提高了系统资源利用率。 When the lisp MN/ITR/ETR leaves the network, the embodiment of the present invention releases relevant resources in the original MS in time, thereby improving system resource utilization.
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110191004.9 | 2011-07-08 | ||
CN2011101910049A CN102868618A (en) | 2011-07-08 | 2011-07-08 | Detaching method, detaching device and mapping server |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013007132A1 true WO2013007132A1 (en) | 2013-01-17 |
Family
ID=47447219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/075658 WO2013007132A1 (en) | 2011-07-08 | 2012-05-17 | Detaching method, device and map-server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102868618A (en) |
WO (1) | WO2013007132A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901835B (en) * | 2015-05-22 | 2018-06-15 | 新华三技术有限公司 | Position and mapping server configuration method and device in mark separated protocol network |
CN108769976B (en) * | 2018-06-01 | 2021-07-20 | 深圳市知赢科技有限公司 | Network attachment control method and device and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100038673A (en) * | 2008-10-06 | 2010-04-15 | 에스케이 텔레콤주식회사 | System and method for registering location for moving of terminal |
CN101854692A (en) * | 2010-05-13 | 2010-10-06 | 北京交通大学 | Subnet Access Method Based on Identity and Location Separation Mapping Mechanism |
CN102045692A (en) * | 2009-10-26 | 2011-05-04 | 中兴通讯股份有限公司 | Communication network realized by network architecture based on separation of control surfaces and media surface |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009259041A (en) * | 2008-04-17 | 2009-11-05 | Toshiba Corp | Server device and security control method |
CN102025591B (en) * | 2009-09-18 | 2013-12-18 | 中兴通讯股份有限公司 | Method and system for implementing virtual private network |
CN102025589B (en) * | 2009-09-18 | 2015-04-01 | 中兴通讯股份有限公司 | Method and system for realizing virtual private network |
-
2011
- 2011-07-08 CN CN2011101910049A patent/CN102868618A/en active Pending
-
2012
- 2012-05-17 WO PCT/CN2012/075658 patent/WO2013007132A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100038673A (en) * | 2008-10-06 | 2010-04-15 | 에스케이 텔레콤주식회사 | System and method for registering location for moving of terminal |
CN102045692A (en) * | 2009-10-26 | 2011-05-04 | 中兴通讯股份有限公司 | Communication network realized by network architecture based on separation of control surfaces and media surface |
CN101854692A (en) * | 2010-05-13 | 2010-10-06 | 北京交通大学 | Subnet Access Method Based on Identity and Location Separation Mapping Mechanism |
Also Published As
Publication number | Publication date |
---|---|
CN102868618A (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9521076B2 (en) | Method and apparatus for scalable content routing and mobility in named data networks | |
CN102821028B (en) | Support the method that virtual machine moves in multiprotocol label network and corresponding equipment | |
CN104040964B (en) | Method, device and data center network across service area communication | |
US10313224B2 (en) | Seamless host mobility | |
US20140189160A1 (en) | Methods and systems for seamless network communications between devices running internet protocol version 6 and internet protocol version 4 | |
WO2014086047A1 (en) | Packet forwarding method, device and data center network | |
WO2015014187A1 (en) | Data forwarding method and apparatus that support multiple tenants | |
WO2011069399A1 (en) | Address mapping method and access service node | |
JP2020520612A (en) | Packet transmission method, edge device, and machine-readable storage medium | |
KR20150076041A (en) | System for supporting multi-tenant based on private ip address in virtual private cloud networks and operating method thereof | |
WO2013007130A1 (en) | Location/id separation protocol motion node, motion control method and motion node | |
CN103329581B (en) | The mobility method of management mobile network and equipment | |
CN112751769A (en) | Method, device and system for sending message | |
CN103037360B (en) | Mapping request response, information getting method and relevant device based on LISP | |
CN102571999B (en) | A kind of data transmission method, system and IAD | |
WO2013007132A1 (en) | Detaching method, device and map-server | |
WO2011072549A1 (en) | Method, apparatus and system for communication between non-lisp sites and lisp sites | |
CN102457582B (en) | A kind of realize communicating between main process equipment method and network equipment | |
WO2013083037A1 (en) | Update packet processing method and system, mapping server and mobile node | |
CN104168186B (en) | A kind of message forwarding method and system based on bridge | |
US9763135B1 (en) | Load balancing with mobile resources | |
CN104009917B (en) | The method and apparatus for configuring acl rule | |
CN103095536B (en) | A kind of user access method, access service router and subscriber access system | |
WO2011026355A1 (en) | Method for a node accessing a home agent, home agent cluster system and service router | |
CN102056287B (en) | Method and system for realizing identity and location separation based on network |
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: 12810535 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: 12810535 Country of ref document: EP Kind code of ref document: A1 |