CN102056236A - Communication network implemented based on Wimax network structure and terminal access method - Google Patents
Communication network implemented based on Wimax network structure and terminal access method Download PDFInfo
- Publication number
- CN102056236A CN102056236A CN2009102084693A CN200910208469A CN102056236A CN 102056236 A CN102056236 A CN 102056236A CN 2009102084693 A CN2009102084693 A CN 2009102084693A CN 200910208469 A CN200910208469 A CN 200910208469A CN 102056236 A CN102056236 A CN 102056236A
- Authority
- CN
- China
- Prior art keywords
- terminal
- rid
- aid
- ilcr
- correspondent node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了基于Wimax网络架构实现的通信网络及终端接入的方法,包括Wimax网络架构中的接入业务网络和连接业务网络,接入业务网络中包括基站和接入网关,所述连接业务网络中包括ILCR,该通信网络还包括分组数据网络,所述接入网关用于为终端提供接入服务和控制,维护终端与通信对端的连接信息,与其他接入网关配合实现终端跨接入网关和跨ILCR的切换;ILCR用于维护终端的会话连接,维护终端和通信对端的映射信息,实现数据报文的路由和转发。本发明还提供了终端接入上述通信网络的方法。本发明架构的部署中考虑了兼容终端、兼容上层业务的需求,仅需升级网络侧设备,兼容不更改终端的应用场景。
The invention discloses a communication network and a terminal access method based on the Wimax network architecture, including an access service network and a connection service network in the Wimax network architecture. The access service network includes a base station and an access gateway. The connection service The network includes ILCR, and the communication network also includes a packet data network. The access gateway is used to provide access services and control for the terminal, maintain the connection information between the terminal and the communication peer, and cooperate with other access gateways to realize terminal cross-access Gateway and inter-ILCR switching; ILCR is used to maintain the session connection of the terminal, maintain the mapping information between the terminal and the communication peer, and realize the routing and forwarding of data packets. The present invention also provides a method for the terminal to access the communication network. The deployment of the architecture of the present invention takes into account the requirements of being compatible with terminals and upper-layer services, and only needs to upgrade network-side equipment to be compatible with application scenarios where terminals are not changed.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种基于Wimax网络架构实现的通信网络。The invention relates to the technical field of communication, in particular to a communication network realized based on the Wimax network architecture.
背景技术Background technique
在传统的TCP/IP网络环境中,IP为因特网(Internet)提供了路由功能,它给所有节点(包括主机和路由器)都分配了逻辑地址,即IP地址,且每台主机的各个端口都分配一个IP地址。IP地址包括网络前缀和主机部分,同一条链路上的所有主机的IP地址通常有相同的网络前缀和不同的主机部分。这使得IP可以依据目的节点的IP地址的网络前缀部分来进行路由选择,从而使路由器秩序保存一条简单的网络前缀路由,而不必为每台主机保存一条单独的路由。在这种情况下,由于采用了网络前缀路由,因此当节点从一条链路切换到另一条链路而没有改变其IP地址时,该节点则不可能在新链路上接收到数据报文,从而也就无法与其他节点进行通信。In the traditional TCP/IP network environment, IP provides the routing function for the Internet (Internet). It assigns logical addresses, that is, IP addresses, to all nodes (including hosts and routers), and each port of each host is assigned an IP address. An IP address includes a network prefix and a host part. The IP addresses of all hosts on the same link usually have the same network prefix but different host parts. This enables IP to perform route selection based on the network prefix part of the IP address of the destination node, so that the router can save a simple network prefix route in order, instead of saving a separate route for each host. In this case, due to the use of network prefix routing, when a node switches from one link to another without changing its IP address, it is impossible for the node to receive data packets on the new link. Therefore, it is impossible to communicate with other nodes.
现有应用TCP/IP协议的网络技术存在如下不足:The existing network technology using the TCP/IP protocol has the following deficiencies:
采用固定锚点的方式支持终端的移动性,如,LTE网络中采用GTP协议,规定网关PGW作为终端的移动锚点;Wimax网络中采用Mobile IP协议,把家乡代理(HA:Home Agent)作为锚点。固定锚点的引入带来了数据包路径迂回的问题,加重了传输延时和带宽浪费。而MIPV6的路由优化过程需要参与通信的主机支持MIPV6协议,部署困难。A fixed anchor point is adopted to support terminal mobility. For example, the GTP protocol is adopted in the LTE network, and the gateway PGW is specified as the mobile anchor point of the terminal; the Mobile IP protocol is adopted in the Wimax network, and the home agent (HA: Home Agent) is used as the anchor. point. The introduction of fixed anchor points brings about the problem of detours in the data packet path, aggravating the transmission delay and bandwidth waste. However, the routing optimization process of MIPV6 requires hosts participating in the communication to support the MIPV6 protocol, which is difficult to deploy.
IP地址具有双重功能:既作为网络层的通信终端主机网络接口在网络拓扑中的位置标识,又作为传输层主机网络接口的身份标识。当主机的IP地址发生变化时,不仅路由要发生变化,通信终端主机的身份标识也会发生变化,这样会导致路由负载越来越重,而且主机标识的变化会导致应用和连接的中断。现有技术身份标识和位置分离框架HIP、LISP等是为了克服现有网络技术的这一不足而构建的一种全新的网络框架。基于主机的HIP协议等需要对终端及上层业务做较大改动,部署困难;通信两端同时移动、位置更新阶段需要网络参与维护通信链路,否则将发生报文丢失问题。基于网络的LISP协议,对于移动性和多穴性是身份位置分离后附带解决的问题,现在还没有具体的方案和实现方法。The IP address has dual functions: it is used as the position identification of the network interface of the communication terminal host at the network layer in the network topology, and as the identity identification of the network interface of the transport layer host. When the IP address of the host changes, not only the route will change, but also the identity of the communication terminal host will change, which will lead to an increasingly heavy routing load, and the change of the host identity will lead to interruption of applications and connections. The prior art identification and location separation frameworks HIP, LISP, etc. are a brand-new network framework constructed to overcome this deficiency of the existing network technology. The host-based HIP protocol requires major changes to the terminal and upper-layer services, making it difficult to deploy; both ends of the communication move at the same time and the location update phase requires the network to participate in the maintenance of the communication link, otherwise, packet loss will occur. Based on the network LISP protocol, mobility and multi-homing are problems that are solved after the separation of identity and location, and there is no specific solution and implementation method yet.
图1是现有Wimax系统的网络架构,如图所示,现有技术的Wimax系统一般由三部分组成:终端、Wimax接入业务网络(Wimax Access Service Network,简称W-ASN)和Wimax连接业务网络(Wimax Connect Service Network,简称W-CSN)。Fig. 1 is the network architecture of the existing Wimax system, as shown in the figure, the Wimax system of the prior art is generally made up of three parts: terminal, Wimax Access Service Network (Wimax Access Service Network, referred to as W-ASN) and Wimax connection service Network (Wimax Connect Service Network, referred to as W-CSN).
W-ASN主要执行如下的功能:完成Wimax终端的二层(L2)连接、传递AAA消息到H-CSN(归属CSN)、NSP的网络选择与发现、为Wimax终端的三层(L3)连接提供中继、无线资源管理、W-ASN与W-CSN之间隧道维护。在移动的场景下,W-ASN还需要支持如下的功能:W-ASN锚定的移动性管理(W-ASN Anchored MM)、W-CSN锚定的移动性管理(W-CSN Anchored MM)、寻呼和空闲模式(Idle Mode)操作。The W-ASN mainly performs the following functions: completing the Layer 2 (L2) connection of Wimax terminals, delivering AAA messages to the H-CSN (home CSN), network selection and discovery of NSPs, and providing information for the Layer 3 (L3) connections of Wimax terminals Relay, radio resource management, tunnel maintenance between W-ASN and W-CSN. In the mobile scenario, W-ASN also needs to support the following functions: W-ASN Anchored Mobility Management (W-ASN Anchored MM), W-CSN Anchored Mobility Management (W-CSN Anchored MM), Paging and Idle Mode operation.
W-ASN还用于管理IEEE 802.16空中接口,为Wimax终端用户提供无线接入。W-ASN至少由一个基站(Base Station,简称BS)和一个接入网关(W-ASN Gateway,简称AGW)组成,可以包含单个AGW或多个AGW。W-ASN在R1参考点与MS(Mobile Station,移动站)互通,在R3参考点与W-CSN互通,在R4参考点与另一个W-ASN互通。管理W-ASN的运营商称为NAP(Network Access Provider,网络接入运营商)。W-ASN is also used to manage the IEEE 802.16 air interface to provide wireless access to Wimax end users. W-ASN consists of at least one base station (Base Station, BS for short) and an access gateway (W-ASN Gateway, AGW for short), and can include a single AGW or multiple AGWs. The W-ASN communicates with MS (Mobile Station) at the R1 reference point, communicates with the W-CSN at the R3 reference point, and communicates with another W-ASN at the R4 reference point. The operator who manages W-ASN is called NAP (Network Access Provider, Network Access Provider).
W-CSN是一套网络功能的组合,W-CSN可以由HA(移动IP的家乡代理)、AAA代理或服务器(AAA Proxy/Server)、计费服务器、互连网关设备等组成。如上所述,管理W-CSN的运营商称为NSP(Network Service Provider,网络服务运营商)。W-CSN is a combination of network functions. W-CSN can be composed of HA (home agent for mobile IP), AAA proxy or server (AAA Proxy/Server), billing server, interconnection gateway equipment, etc. As mentioned above, the operator who manages the W-CSN is called NSP (Network Service Provider, network service operator).
W-CSN主要提供如下的功能:终端用户会话连接、终端的IP地址分配、Internet接入、AAA代理或服务器、终端用户的策略及许可控制、W-ASN与W-CSN之间的隧道维护、终端用户计费和结算、W-CSN间的漫游、W-CSN间的移动性管理和Wimax业务。W-CSN mainly provides the following functions: terminal user session connection, terminal IP address allocation, Internet access, AAA proxy or server, terminal user policy and permission control, tunnel maintenance between W-ASN and W-CSN, End user billing and settlement, roaming between W-CSNs, mobility management and Wimax services between W-CSNs.
应用TCP/IP协议的现有移动通信网络,包括Wimax系统,同样具有上述现有应用TCP/IP协议的网络技术的缺陷。The existing mobile communication networks using the TCP/IP protocol, including the Wimax system, also have the above-mentioned defects of the existing network technology using the TCP/IP protocol.
现有技术中有关身份标识和位置分离的解决方案主要有两种,一种是基于主机的实现,另一种是基于路由器的实现,每种实现中又有相关的多种技术进行支持,这些方案中终端用户的身份标识(AID)在移动过程中不改变,根据终端的位置另行分配位置标识来实现数据报文的路由和转发。但是,对于如何基于Wimax系统实现具有身份标识与位置分离架构的通信网络,都没有提出相应的实现方案。In the prior art, there are mainly two solutions for the separation of identification and location, one is based on a host, and the other is based on a router, each of which is supported by a variety of related technologies. In the scheme, the identity identifier (AID) of the terminal user does not change during the moving process, and the location identifier is assigned according to the location of the terminal to realize the routing and forwarding of the data message. However, no corresponding implementation scheme has been proposed for how to implement a communication network with a structure for separating identity and location based on the Wimax system.
发明内容Contents of the invention
针对以上现有技术的缺陷,本发明要解决的技术问题是提供一种基于Wimax网络架构实现的通信网络,可以实现基于网络的用户终端的身份标识和位置分离。In view of the above defects in the prior art, the technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can realize the separation of identity and location of user terminals based on the network.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,可以支持移动终端的应用场景,有效解决了该场景下的迂回路由问题。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can support the application scenario of mobile terminals and effectively solve the problem of circuitous routing in this scenario.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,在该架构的部署中考虑兼容终端、兼容上层业务的需求,仅需升级网络侧设备,兼容不更改终端的应用场景。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture. In the deployment of this architecture, the requirements of compatible terminals and upper-layer services are considered, and only the network side equipment needs to be upgraded. Application scenarios.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,可以在终端接入该通信网络时实现身份标识和位置分离。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can realize the separation of identity and location when a terminal accesses the communication network.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,可以实现终端在通信网络中通信时的身份标识和位置分离。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can realize the separation of identity and location of terminals when communicating in the communication network.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,可以实现终端在通信网络中离线时的身份标识和位置分离。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can realize the separation of identity and location of terminals when they are offline in the communication network.
本发明要解决的又一技术问题是提供一种基于Wimax网络架构实现的通信网络,可以实现终端在通信网络中切换时的身份标识和位置分离。Another technical problem to be solved by the present invention is to provide a communication network based on the Wimax network architecture, which can realize the separation of identity and location of terminals when switching in the communication network.
为了解决上述问题,本发明提供了一种基于Wimax网络架构实现的身份标识(AID)与位置分离的通信网络,包括Wimax网络架构中的接入业务网络和连接业务网络,所述接入业务网络中包括基站和接入网关,其特征在于,所述连接业务网络中包括身份位置核心路由器(ILCR)和身份位置寄存器(ILR),该通信网络还包括用于按位置标识(RID)路由和转发ILCR间数据报文的广义转发平面,其中:In order to solve the above problems, the present invention provides a communication network based on the Wimax network architecture to separate the identity (AID) from the location, including the access service network and the connection service network in the Wimax network architecture, the access service network It includes a base station and an access gateway, and it is characterized in that the connection service network includes an identity location core router (ILCR) and an identity location register (ILR). Generalized forwarding plane for data packets between ILCRs, where:
所述接入网关用于为终端提供接入服务和控制,维护终端与通信对端的连接信息,与其他接入网关配合实现终端跨接入网关和跨ILCR的切换;The access gateway is used to provide access service and control for the terminal, maintain the connection information between the terminal and the communication peer, and cooperate with other access gateways to realize the switching of the terminal across the access gateway and across the ILCR;
所述ILCR用于维护终端的会话连接,为终端分配指向本ILCR的RID,维护终端和通信对端的AID-RID映射信息,到ILR查询终端的RID,实现数据报文的路由和转发,以及与其他ILCR配合实现终端跨ILCR的切换;The ILCR is used to maintain the session connection of the terminal, allocate the RID pointing to the ILCR for the terminal, maintain the AID-RID mapping information between the terminal and the communication peer, query the RID of the terminal to the ILR, realize the routing and forwarding of data messages, and communicate with Other ILCRs cooperate to realize the switching of terminals across ILCRs;
所述ILR用于接收所述接入网关或ILCR对本ILR归属用户终端的注册和注销请求,维护归属用户终端的AID-RID映射信息,以及接收对终端RID的查询请求,将请求中该终端AID对应的RID返回给查询请求方。The ILR is used to receive the registration and deregistration requests from the access gateway or ILCR for the user terminal of the ILR, maintain the AID-RID mapping information of the user terminal, and receive the query request for the RID of the terminal, and include the AID of the terminal in the request The corresponding RID is returned to the query requester.
进一步地,上述通信网络还可具有以下特点:所述接入网关包括:连接维护模块和数据转发模块,其中:Further, the above-mentioned communication network may also have the following characteristics: the access gateway includes: a connection maintenance module and a data forwarding module, wherein:
所述连接维护模块用于保存终端与通信对端的连接信息,包括终端AID与通信对端AID的对应关系;获知终端离线后或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或切出或与终端通信终止后时删除该通信对端与终端的连接信息;The connection maintenance module is used to save the connection information between the terminal and the communication peer, including the corresponding relationship between the terminal AID and the communication peer AID; after learning that the terminal is offline or after the communication with the communication peer is terminated, delete the connection information between the terminal and the communication peer; Delete the connection information between the communication peer and the terminal when it is known that the communication peer is offline or cut out or the communication with the terminal is terminated;
所述离线处理模块用于在确定接入的终端离线时,通知连接维护模块;及在确定通信对端离线时,通知连接维护模块;The offline processing module is used to notify the connection maintenance module when it is determined that the connected terminal is offline; and notify the connection maintenance module when it is determined that the communication peer is offline;
所述数据转发模块用于在基站和ILCR之间进行数据报文转发。The data forwarding module is used for forwarding data packets between the base station and the ILCR.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关中的离线处理模块还用于在确定接入的终端离线时,通知所述通信对端接入的接入网关该终端离线,以及在收到对端接入网关发送的终端离线通知时,确定作为通信对端的该终端离线;The offline processing module in the access gateway is further configured to notify the access gateway accessed by the communication peer that the terminal is offline when it is determined that the accessed terminal is offline, and when receiving the terminal When offline notification, determine that the terminal as the communication peer is offline;
所述接入网关中的离线处理模块根据连接维护模块中保存的所述连接信息查找到该终端所有通信对端的AID,根据所述通信对端的AID在本地或到通信对端归属地AAA服务器查询到通信对端接入的接入网关。The offline processing module in the access gateway finds the AIDs of all communication peers of the terminal according to the connection information stored in the connection maintenance module, and inquires locally or to the AAA server where the communication peers belong according to the AIDs of the communication peers The access gateway to the communication peer.
进一步地,上述通信网络还可具有以下特点:所述ILCR包括隧道建立模块、映射管理模块和报文转发模块,其中:Further, the above-mentioned communication network may also have the following characteristics: the ILCR includes a tunnel establishment module, a mapping management module and a message forwarding module, wherein:
所述隧道建立模块用于建立接入网关与ILCR之间的隧道,为终端分配RID,并将终端的AID和该RID发送到映射管理模块;The tunnel establishment module is used to establish a tunnel between the access gateway and the ILCR, assign a RID to the terminal, and send the terminal's AID and the RID to the mapping management module;
所述映射管理模块,用于缓存终端及通信对端的AID-RID映射信息并进行维护;The mapping management module is used to cache and maintain the AID-RID mapping information of the terminal and the communication peer;
所述报文转发模块,用于收到终端和通信对端不属于同一ILCR(即未接入到同一ILCR)的上行数据报文后,将从映射管理模块或通信对端归属地ILR查询到的通信对端的RID和终端的RID一起封装在包含终端AID和通信对端AID的数据报文中,经广义转发平面路由并转发到对端ILCR;以及将广义转发平面发来的下行数据报文解封装,剥去其中的RID后发送给终端。The message forwarding module is used to query the ILR from the mapping management module or the communication peer's home after receiving the uplink data message that the terminal and the communication peer do not belong to the same ILCR (that is, they are not connected to the same ILCR). The RID of the communication peer and the RID of the terminal are encapsulated together in a data message containing the terminal AID and the AID of the communication peer, routed by the generalized forwarding plane and forwarded to the peer ILCR; and the downlink data message sent by the generalized forwarding plane Decapsulate, strip off the RID and send it to the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
还包括注册注销模块,用于在收到终端AID和为该终端分配的RID后请求该终端归属地ILR对该终端RID进行注册,携带终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID;It also includes a registration and deregistration module, which is used to request the terminal's home ILR to register the terminal's RID after receiving the terminal's AID and the RID assigned to the terminal, and carry the terminal's AID and RID; after learning that the terminal is offline, request the terminal's belonging The local ILR cancels the RID of the terminal;
所述注册注销模块位于接入网关中,所述ILCR中的隧道建立模块还将终端的AID和为终端分配RID发送到接入网关的该注册注销模块;或者,所述注册注销模块位于ILCR中,所述ILCR中的隧道建立模块还将终端的AID和为终端分配RID发送到本ILCR的该注册注销模块。The registration and deregistration module is located in the access gateway, and the tunnel establishment module in the ILCR also sends the AID of the terminal and the RID assigned to the terminal to the registration and deregistration module of the access gateway; or, the registration and deregistration module is located in the ILCR , the tunnel establishment module in the ILCR also sends the AID of the terminal and the RID assigned to the terminal to the registration deregistration module of the ILCR.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILCR还包括离线处理模块,用于在确定接入的终端离线时,通知映射管理模块;在确定通信对端离线时,通知映射管理模块;The ILCR also includes an offline processing module, which is used to notify the mapping management module when it is determined that the connected terminal is offline; when it is determined that the communication peer is offline, notify the mapping management module;
所述ILCR中的映射管理模块还用于在获知终端离线或切出时,删除该终端的AID-RID映射信息,删除该终端通信对端中与接入本ILCR的其他终端没有通信关系的通信对端的AID-RID映射信息;获知终端与通信对端通信终止后,且该通信对端与接入本ILCR的其他终端没有通信关系,则删除该通信对端的AID-RID映射信息;获知通信对端离线或与终端通信终止时删除该通信对端的AID-RID信息。The mapping management module in the ILCR is also used to delete the AID-RID mapping information of the terminal when it is known that the terminal is offline or switched out, and delete the communications between the terminal communication peers that have no communication relationship with other terminals accessing the ILCR The AID-RID mapping information of the opposite end; after learning that the communication between the terminal and the communication end has terminated, and the communication end has no communication relationship with other terminals accessing the ILCR, delete the AID-RID mapping information of the communication end; knowing the communication end When the terminal is offline or the communication with the terminal is terminated, the AID-RID information of the communication peer is deleted.
进一步地,上述通信网络还可具有以下特点:所述报文转发模块包括第一转发单元和第二转发单元,其中:Further, the above-mentioned communication network may also have the following characteristics: the message forwarding module includes a first forwarding unit and a second forwarding unit, wherein:
第一转发单元用于在收到基站发来的包含终端AID和通信对端AID且终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID,查询到的通信对端的AID-RID保存到映射管理模块;The first forwarding unit is configured to, after receiving an uplink data message from the base station that includes the terminal AID and the communication peer AID and that the terminal and the communication peer do not belong to the same ILCR, if the mapping management module queries the RID of the communication peer, Encapsulate the RID of the terminal and the communication peer as the source and destination addresses in the data message, route through the generalized forwarding plane and forward it to the peer ILCR; if the RID of the communication peer cannot be found, query the communication at the ILR of the communication peer The RID of the opposite end, the AID-RID of the opposite end of the communication searched is saved to the mapping management module;
第二转发单元用于对收到的广义转发平面发来的下行数据报文解封装,剥去其中的RID后,通过ILCR与该终端的连接发往该终端;并判断所述数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中。The second forwarding unit is used to decapsulate the received downlink data message sent by the generalized forwarding plane, strip the RID therein, and send it to the terminal through the connection between the ILCR and the terminal; and determine the data message in the data message Whether the AID-RID mapping information of the communication peer exists in the mapping management module, if not, it is saved in the mapping management module.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述连接业务网络还包括分组转发功能(PTF);所述第一转发单元收到基站发来的上行数据报文后,如在映射管理模块查询不到通信对端的RID,将该终端RID作为源地址封装在数据报文中,转发到PTF;所述PTF用于在收到ILCR或其他PTF送达的数据报文后,根据数据报文中通信对端AID查到对应的RID作为目的地址封装在报文头后,将该数据报文经广义转发平面发送到对端ILCR;或者The connection service network also includes a packet forwarding function (PTF); after the first forwarding unit receives the uplink data message sent by the base station, if the RID of the communication peer cannot be found in the mapping management module, the RID of the terminal is used as The source address is encapsulated in the data message and forwarded to the PTF; the PTF is used to find the corresponding RID as the destination address according to the AID of the communication peer in the data message after receiving the data message delivered by ILCR or other PTFs After being encapsulated in the message header, send the data message to the peer ILCR through the generalized forwarding plane; or
所述第一转发单元收到基站发来的上行数据报文后,如在映射管理模块查询不到通信对端的RID,先缓存所述数据报文,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR。After the first forwarding unit receives the uplink data message sent by the base station, if the mapping management module cannot query the RID of the communication peer, it first caches the data message, and after the RID of the communication peer is found, the The RIDs of the terminal and the communication peer are encapsulated in the data message as the source and destination addresses, routed through the generalized forwarding plane and forwarded to the peer ILCR.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关还包括切换模块和锚定数据通道功能(DPF)模块,所述切换模块用于终端在存在通信对端时移动到另一锚定DPF模块或ILCR的服务区域触发的切换的控制,包括:The access gateway also includes a handover module and an anchor data path function (DPF) module, the handover module is used for handover triggered by the terminal moving to another anchor DPF module or ILCR service area when there is a communication peer control, including:
所述切出单元用于实现对终端切出的控制,通知ILCR该终端切换,将连接维护模块保存的该终端与通信对端的连接信息发送到切入接入网关,切换期间收到的发送给该终端的数据报文转发到切入接入网关,终端切出后通知连接维护模块;The cut-out unit is used to control the cut-out of the terminal, notify the ILCR of the terminal switch, send the connection information of the terminal and the communication peer saved by the connection maintenance module to the cut-in access gateway, and send the information received during the switch to the The data message of the terminal is forwarded to the cut-in access gateway, and the terminal notifies the connection maintenance module after switching out;
所述切入单元用于实现对终端切入的控制,将切出接入网关发来的该终端与通信对端的连接信息保存到连接维护模块;The cut-in unit is used to control the cut-in of the terminal, and save the connection information between the terminal and the communication peer sent by the cut-out access gateway to the connection maintenance module;
所述连接维护模块还用于在获知终端切出后删除该终端与通信对端的连接信息。The connection maintenance module is further configured to delete the connection information between the terminal and the communication peer after learning that the terminal is switched out.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILCR还包括切换控制模块,用于终端在存在通信对端时移动到另一ILCR服务区域触发的切换的控制,包括:The ILCR also includes a handover control module, which is used to control the handover triggered by the terminal moving to another ILCR service area when there is a communication peer, including:
切出控制单元,用于实现对终端切出的控制,向终端移动到的切入ILCR发送切换请求,切换期间收到的发送给该终端的数据报文转发给切入ILCR,在该终端切出后通知映射管理模块;The switch-out control unit is used to control the switch-out of the terminal, and sends a switch request to the switch-in ILCR where the terminal moves, and forwards the data message sent to the terminal received during the switch to the switch-in ILCR, after the terminal switches out notification mapping management module;
切入控制单元,用于实现对终端切入的控制,为终端分配指向本ILCR的RID并将该终端的AID和该RID发送到映射管理模块,或发送到映射管理模块和接入网关;以及向对端ILCR发送终端RID更新通知,携带该终端的AID-RID映射信息;The cut-in control unit is used to control the cut-in of the terminal, distribute the RID pointing to the ILCR for the terminal and send the AID and the RID of the terminal to the mapping management module, or to the mapping management module and the access gateway; The terminal ILCR sends a terminal RID update notification, carrying the terminal's AID-RID mapping information;
所述映射管理模块对接入本ILCR的所有终端的通信对端一起管理,收到对端发来的终端RID更新通知后,更新本地保存的该终端的AID-RID映射信息。The mapping management module manages the communication peers of all terminals connected to the ILCR together, and updates the locally stored AID-RID mapping information of the terminal after receiving the terminal RID update notification from the peer.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述切入控制单元向对端ILCR发送终端RID更新通知时,先根据该终端的AID到接入网关的连接维护模块查找到该终端所有通信对端的AID,然后到映射管理模块查找到所述通信对端的RID,根据查找到的RID向对端ILCR发送终端RID更新通知;或者When the cut-in control unit sends a terminal RID update notification to the opposite end ILCR, it first finds the AIDs of all communication peers of the terminal according to the AID of the terminal to the connection maintenance module of the access gateway, and then finds the AIDs of the communication peers in the mapping management module. The RID of the opposite end sends a terminal RID update notification to the opposite end ILCR according to the found RID; or
所述ILCR的切入控制单元还用于向同一侧的接入网关发送终端RID更新通知,所述接入网关的切入单元还用于将终端RID更新通知发送到对端接入网关,及收到对端接入网关传送的终端RID更新通知后转发到ILCR。The cut-in control unit of the ILCR is also used to send the terminal RID update notification to the access gateway on the same side, and the cut-in unit of the access gateway is also used to send the terminal RID update notification to the peer access gateway, and receives The terminal RID update notification sent by the peer access gateway is forwarded to the ILCR.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关中的数据转发模块收到数据报文后,判断数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块,如未保存则添加到连接维护模块中;或者After the data forwarding module in the access gateway receives the data message, it judges whether the corresponding relationship between the terminal AID and the communication peer AID in the data message has been saved in the connection maintenance module, and if it is not saved, it will be added to the connection maintenance module ;or
所述ILCR中的报文转发模块收到数据报文后,判断数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块,如未保存则传送到接入网关的连接维护模块保存。After the message forwarding module in the ILCR receives the data message, it judges whether the corresponding relationship between the terminal AID and the communication peer AID in the data message has been saved in the connection maintenance module, and if not saved, it will be sent to the connection of the access gateway. Maintenance module save.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILR在收到对归属用户终端的注册请求后保存或更新该终端的AID-RID映射信息,收到对归属用户终端的注销请求后将该终端的AID-RID映射信息删除或置为无效;如果收到对非归属用户终端的注册、注销请求,则转发给该终端归属地ILR处理。The ILR saves or updates the AID-RID mapping information of the terminal after receiving the registration request for the home user terminal, and deletes or invalidates the AID-RID mapping information of the terminal after receiving the logout request for the home user terminal ; If a registration or deregistration request for a non-attributed user terminal is received, it is forwarded to the ILR at the terminal's home location for processing.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILCR是集合了Wimax网络架构中家乡代理和/或核心路由器的功能,并扩展了实现身份标识和位置分离所需的新功能得到的;所述连接业务网络还包括Wimax网络架构中用于认证、授权和计费的原有网元;The ILCR is obtained by integrating the functions of the home agent and/or core router in the Wimax network architecture, and expanding the new functions required to realize the separation of identity and location; the connection service network also includes the Wimax network architecture for Original network elements for authentication, authorization and accounting;
所述接入网关是在Wimax网络架构中接入网关具有的功能实体的基础上,扩展了实现身份标识和位置分离所需的新的功能模块得到的,所述Wimax网络架构中接入网关所具有的功能实体包括锚定数据通道功能(DPF)模块和鉴权器。The access gateway is obtained by expanding the new functional modules required to realize the separation of identity and location on the basis of the functional entity of the access gateway in the Wimax network architecture. The access gateway in the Wimax network architecture The functional entities include an anchor data path function (DPF) module and an authenticator.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILCR中的隧道建立模块采用动态建立隧道的方式,在终端接入过程中在接入网关与ILCR之间的隧道建立基于终端的隧道。The tunnel establishment module in the ILCR adopts a dynamic tunnel establishment method, and establishes a terminal-based tunnel in the tunnel between the access gateway and the ILCR during the terminal access process.
为了解决上述技术问题,本发明又提供了第二种基于Wimax网络架构实现的身份标识(AID)与位置分离的通信网络,包括Wimax网络架构中的接入业务网络和连接业务网络,所述接入业务网络中包括基站和接入网关,其特征在于,所述连接业务网络中包括身份位置核心路由器(ILCR)和身份位置寄存器(ILR),该通信网络还包括用于按位置标识(RID)路由和转发ILCR间数据报文的广义转发平面,其中:In order to solve the above-mentioned technical problems, the present invention provides a second communication network based on the Wimax network architecture to separate the identity (AID) from the location, including the access service network and the connection service network in the Wimax network architecture. The access service network includes a base station and an access gateway, wherein the connection service network includes an identity location core router (ILCR) and an identity location register (ILR), and the communication network also includes a location identification (RID) A generalized forwarding plane for routing and forwarding data packets between ILCRs, where:
所述ILCR用于为终端分配指向本ILCR的RID,到终端归属地ILR注册、注销和查询终端的RID,维护终端与通信对端的连接信息,维护终端的会话连接,维护终端和通信对端的AID-RID映射信息,实现数据报文的路由和转发,及与其他ILCR配合实现终端跨ILCR的切换;The ILCR is used to assign a RID pointing to this ILCR for the terminal, register, cancel and query the RID of the terminal at the ILR at the terminal's home location, maintain the connection information between the terminal and the communication peer, maintain the session connection of the terminal, and maintain the AID of the terminal and the communication peer -RID mapping information, realize the routing and forwarding of data packets, and cooperate with other ILCRs to realize the switching of terminals across ILCRs;
所述ILR用于接收对本ILR归属用户终端的注册和注销请求,维护归属用户终端的AID-RID映射信息,以及接收对终端RID的查询请求,将请求中该终端AID对应的RID返回给查询请求方。The ILR is used to receive the registration and deregistration request of the user terminal belonging to the ILR, maintain the AID-RID mapping information of the user terminal, and receive the query request for the terminal RID, and return the RID corresponding to the terminal AID in the request to the query request square.
进一步地,上述通信网络还可具有以下特点:所述ILCR包括隧道建立模块、注册注销模块、映射管理模块和报文转发模块:Further, the above-mentioned communication network may also have the following characteristics: the ILCR includes a tunnel establishment module, a registration and deregistration module, a mapping management module and a message forwarding module:
所述隧道建立模块用于建立接入网关与ILCR之间的隧道,为终端分配RID,并将终端的AID和该RID发送到映射管理模块和注册注销模块;The tunnel establishment module is used to establish a tunnel between the access gateway and the ILCR, assign a RID to the terminal, and send the AID and the RID of the terminal to the mapping management module and the registration deregistration module;
所述注册注销模块,用于在收到终端AID和为该终端分配的RID后请求该终端归属地ILR对该终端RID进行注册,携带终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID;The registration and deregistration module is used to request the terminal's home ILR to register the terminal's RID after receiving the terminal's AID and the RID assigned to the terminal, and to carry the terminal's AID and RID; after learning that the terminal is offline, request the terminal's home The local ILR cancels the RID of the terminal;
所述映射管理模块,用于缓存终端及通信对端的AID-RID映射信息并进行维护;The mapping management module is used to cache and maintain the AID-RID mapping information of the terminal and the communication peer;
所述报文转发模块,用于收到终端和通信对端不属于同一ILCR的上行数据报文后,将从映射管理模块或通信对端归属地ILR查询到的通信对端的RID和终端的RID一起封装在包含终端AID和通信对端AID的数据报文中,经广义转发平面路由并转发到对端ILCR;以及将下行数据报文解封装,剥去其中的RID后发送给终端。The message forwarding module is configured to receive the RID of the communication peer and the RID of the terminal that are queried from the mapping management module or the home ILR of the communication peer after receiving an uplink data message that the terminal and the communication peer do not belong to the same ILCR Encapsulate together in a data message containing the AID of the terminal and the AID of the communication peer, route through the generalized forwarding plane and forward to the peer ILCR; and decapsulate the downlink data message, strip the RID from it, and send it to the terminal.
进一步地,上述通信网络还可具有以下特点:所述ILCR还包括连接维护模块、离线处理模块和映射管理模块,其中:Further, the above communication network may also have the following characteristics: the ILCR also includes a connection maintenance module, an offline processing module and a mapping management module, wherein:
所述连接维护模块,用于保存终端与通信对端的连接信息;获知终端离线或移出后或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或与终端通信终止后,删除该通信对端与终端的连接信息;The connection maintenance module is used to save the connection information between the terminal and the communication peer; delete the connection information between the terminal and the communication peer after learning that the terminal is offline or removed, or after the communication with the communication peer is terminated; knowing that the communication peer is offline or communicating with the terminal After termination, delete the connection information between the communication peer and the terminal;
所述离线处理模块,用于在确定接入的终端离线时,通知注册注销模块、映射管理模块和连接维护模块;在确定通信对端离线时,通知映射管理模块和连接维护模块;The offline processing module is used to notify the registration cancellation module, the mapping management module and the connection maintenance module when it is determined that the connected terminal is offline; when it is determined that the communication peer is offline, notify the mapping management module and the connection maintenance module;
所述映射管理模块还用于在获知终端切出或离线时,删除该终端的AID-RID映射信息,删除该终端通信对端中与接入本ILCR的其他终端没有通信关系的通信对端的AID-RID映射信息;获知终端与通信对端通信终止后,且该通信对端与接入本ILCR的其他终端没有通信关系,则删除该通信对端的AID-RID映射信息;获知通信对端离线或与终端通信终止时,删除该通信对端的AID-RID信息。The mapping management module is also used to delete the AID-RID mapping information of the terminal when it is known that the terminal is switched out or offline, and delete the AIDs of the communication peers of the terminal that have no communication relationship with other terminals that access the ILCR -RID mapping information; after learning that the communication between the terminal and the communication peer has terminated, and the communication peer has no communication relationship with other terminals accessing the ILCR, delete the AID-RID mapping information of the communication peer; knowing that the communication peer is offline or When the communication with the terminal is terminated, the AID-RID information of the communication peer is deleted.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述离线处理模块在确定通信对端离线时,还根据终端AID到连接维护模块中查找到该终端所有通信对端的AID,再到映射管理模块查询到所有通信对端的RID,然后向对端ILCR发送终端离线通知;When the offline processing module determines that the communication counterparts are offline, they also search for the AIDs of all communication counterparts of the terminal according to the terminal AID in the connection maintenance module, and then query the mapping management module for the RIDs of all communication counterparts, and then report to the counterpart ILCR Send terminal offline notification;
所述离线处理模块收到对端ILCR发来的终端离线通知后,确定作为通信对端的该终端离线。The offline processing module determines that the terminal as the communication peer is offline after receiving the terminal offline notification from the peer ILCR.
进一步地,上述通信网络还可具有以下特点:所述报文转发模块包括第一转发单元和第二转发单元,其中:Further, the above-mentioned communication network may also have the following characteristics: the message forwarding module includes a first forwarding unit and a second forwarding unit, wherein:
第一转发单元用于在收到接入网关发来的包含终端AID和通信对端AID且该终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID;The first forwarding unit is used to, after receiving the uplink data message sent by the access gateway that includes the terminal AID and the communication peer AID and the terminal and the communication peer do not belong to the same ILCR, if the mapping management module queries the communication pair The RID of the terminal, the RID of the terminal and the communication peer as the source and destination addresses are encapsulated in the data message, routed through the generalized forwarding plane and forwarded to the peer ILCR; if the RID of the communication peer cannot be found, go to the communication peer The ILR queries the RID of the communication peer;
第二转发单元用于将收到的广义转发平面发来的下行数据报文解封装,剥去其中的RID,通过ILCR与该终端的连接发往该终端。The second forwarding unit is used for decapsulating the received downlink data message from the generalized forwarding plane, stripping off the RID, and sending it to the terminal through the connection between the ILCR and the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述连接业务网络还包括分组转发功能(PTF);所述第一转发单元收到基站发来的终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询不到通信对端的RID,将该终端RID作为源地址封装在数据报文中,转发到该通信对端归属地PTF;所述PTF用于在收到ILCR或其他PTF送达的数据报文后,根据数据报文中通信对端AID查到对应的RID作为目的地址封装在报文头后,将该数据报文经广义转发平面发送到对端ILCR;或者The connection service network also includes a packet forwarding function (PTF); after the first forwarding unit receives the uplink data message from the base station that the terminal and the communication peer do not belong to the same ILCR, if the mapping management module cannot query the The RID of the communication peer encapsulates the RID of the terminal as the source address in the data message, and forwards it to the PTF at which the communication peer belongs; the PTF is used to send the data message according to the In the data message, the AID of the communication peer end finds the corresponding RID as the destination address and encapsulates it in the message header, and sends the data message to the peer ILCR through the generalized forwarding plane; or
所述第一转发单元收到基站发来的终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询不到通信对端的RID,先缓存所述数据报文,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR。After the first forwarding unit receives the uplink data message from the base station that the terminal and the communication peer do not belong to the same ILCR, if the RID of the communication peer cannot be found in the mapping management module, first cache the data message, and then After querying the RID of the communication peer, the terminal and the RID of the communication peer are used as the source and destination addresses and encapsulated in the data message, routed through the generalized forwarding plane and forwarded to the peer ILCR.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述第一转发单元还用于将查询到的通信对端的AID-RID映射信息保存到映射管理模块;The first forwarding unit is further configured to save the queried AID-RID mapping information of the communication peer to the mapping management module;
所述第二转发单元收到广义转发平面发来的下行数据报文后,还判断所述数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中;After the second forwarding unit receives the downlink data message sent by the generalized forwarding plane, it also judges whether the AID-RID mapping information of the communication peer in the data message exists in the mapping management module, and if it does not exist, save it to In the mapping management module;
所述第一转发单元和第二转发单元还判断收到的数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块中,如没有,保存到连接维护模块中。The first forwarding unit and the second forwarding unit also judge whether the corresponding relationship between the terminal AID and the communication peer AID in the received data message has been saved in the connection maintenance module, if not, it is saved in the connection maintenance module.
进一步地,上述通信网络还可具有以下特点:还包括切换控制模块,该切换控制模块又包括切出控制单元和切入控制单元,其中:Further, the above-mentioned communication network may also have the following characteristics: it also includes a switching control module, and the switching control module further includes a switch-out control unit and a switch-in control unit, wherein:
所述切出控制单元用于实现对终端切出的控制,当终端移动时,根据移动的目的地确定终端要移动到的切入ILCR,移动完成后通知映射管理模块和连接维护模块该终端切出,切换期间收到的发往该终端的数据报文转发到切入ILCR;The switch-out control unit is used to control the switch-out of the terminal. When the terminal moves, determine the switch-in ILCR to which the terminal will move according to the destination of the move, and notify the mapping management module and the connection maintenance module after the movement is completed. , the data message sent to the terminal received during the handover is forwarded to the cut-in ILCR;
所述切入控制单元,用于实现对终端切入的控制,在终端从另一ILCR移动到本ILCR的服务区域时,为终端分配指向本ILCR的RID,将该终端的AID和该RID发送到注册注销模块并保存到映射管理模块;The cut-in control unit is used to control the cut-in of the terminal. When the terminal moves from another ILCR to the service area of the ILCR, the terminal is assigned a RID pointing to the ILCR, and the AID and the RID of the terminal are sent to the registry Log out of the module and save it to the mapping management module;
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述切入控制单元还用于查询对端ILCR的位置信息,向对端ILCR发送终端RID更新通知,携带该终端的AID-RID映射信息;查询时,先根据终端AID到连接维护模块保存的终端与通信对端的连接信息中查到所有通信对端的AID,再用查到的AID到映射管理模块保存的通信对端AID-RID映射信息中查到对应的RID,查到的RID即为对端ILCR的位置信息;The cut-in control unit is also used to inquire about the location information of the opposite end ILCR, and send a terminal RID update notification to the opposite end ILCR, carrying the AID-RID mapping information of the terminal; when inquiring, first go to the terminal saved by the connection maintenance module according to the terminal AID Find the AIDs of all communication peers in the connection information with the communication peers, and then use the found AIDs to find the corresponding RIDs in the AID-RID mapping information of the communication peers saved by the mapping management module, and the found RIDs are the peers ILCR location information;
所述映射管理模块对接入本ILCR的所有终端的通信对端一起管理,收到对端发来的终端RID更新通知后,更新本地保存的该终端的AID-RID映射信息。The mapping management module manages the communication peers of all terminals connected to the ILCR together, and updates the locally stored AID-RID mapping information of the terminal after receiving the terminal RID update notification from the peer.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILR在收到对归属用户终端的注册请求后保存或更新该终端的AID-RID映射信息,收到对归属用户终端的注销请求后将该终端的AID-RID映射信息删除或置为无效;如果收到对非归属用户终端的注册、注销请求,则转发给该终端归属地ILR处理。The ILR saves or updates the AID-RID mapping information of the terminal after receiving the registration request for the home user terminal, and deletes or invalidates the AID-RID mapping information of the terminal after receiving the logout request for the home user terminal ; If a registration or deregistration request for a non-attributed user terminal is received, it is forwarded to the ILR at the terminal's home location for processing.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述ILCR是集合了Wimax网络架构中家乡代理和/或核心路由器的功能,并扩展了实现身份标识和位置分离所需的新功能得到的;所述连接业务网络还包括Wimax网络架构中用于认证、授权和计费的原有网元;The ILCR is obtained by integrating the functions of the home agent and/or core router in the Wimax network architecture, and expanding the new functions required to realize the separation of identity and location; the connection service network also includes the Wimax network architecture for Original network elements for authentication, authorization and accounting;
为了解决上述技术问题,本发明又提供了第三种基于Wimax网络架构实现的身份标识(AID)与位置分离的通信网络,包括Wimax网络架构中的接入业务网络和连接业务网络,所述接入业务网络中包括基站和接入网关,其特征在于,所述连接业务网络中包括身份位置寄存器(ILR),该通信网络还包括用于按位置标识(RID)路由和转发数据报文的广义转发平面,其中:In order to solve the above-mentioned technical problems, the present invention provides a third communication network based on the Wimax network architecture to separate the identity (AID) from the location, including the access service network and the connection service network in the Wimax network architecture. The inbound service network includes a base station and an access gateway, wherein the connection service network includes an identity location register (ILR), and the communication network also includes a generalized device for routing and forwarding data packets according to a location identifier (RID). Forwarding plane, where:
所述接入网关用于为终端提供接入服务和控制,为终端分配RID,向终端归属地ILR注册、注销和查询终端的RID,维护终端与通信对端的连接信息,维护终端和通信对端的AID-RID映射信息,实现数据报文的路由和转发,及与其他接入网关配合实现终端跨接入网关的切换;The access gateway is used to provide access service and control for the terminal, allocate RID for the terminal, register, cancel and query the RID of the terminal to the ILR where the terminal belongs, maintain the connection information between the terminal and the communication peer, and maintain the connection information between the terminal and the communication peer. AID-RID mapping information, realize the routing and forwarding of data packets, and cooperate with other access gateways to realize the switching of terminals across access gateways;
所述ILR用于接收对本ILR归属用户终端的注册和注销请求,维护归属用户终端的AID-RID映射信息,以及接收对终端RID的查询请求,将请求中该终端AID对应的RID返回给查询请求方。The ILR is used to receive the registration and deregistration request of the user terminal belonging to the ILR, maintain the AID-RID mapping information of the user terminal, and receive the query request for the terminal RID, and return the RID corresponding to the terminal AID in the request to the query request square.
进一步地,上述通信网络还可具有以下特点:所述接入网关包括RID分配模块、注册注销模块、映射管理模块和数据转发模块,其中:Further, the above-mentioned communication network may also have the following characteristics: the access gateway includes a RID allocation module, a registration and deregistration module, a mapping management module and a data forwarding module, wherein:
所述RID分配模块,用于在终端请求接入或终端切入过程中为终端分配RID,将该RID和该终端的AID发送到映射管理模块和注册注销模块;The RID allocation module is used to allocate a RID to the terminal during the process of terminal request access or terminal cut-in, and send the RID and the AID of the terminal to the mapping management module and the registration deregistration module;
所述注册注销模块,用于在收到终端AID和为该终端分配的RID后到该终端归属地ILR对该终端RID进行注册,携带终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID;The registration and deregistration module is used to register the terminal RID at the terminal's home ILR after receiving the terminal AID and the RID allocated for the terminal, and carry the terminal's AID and RID; after learning that the terminal is offline, request the terminal to belong to The local ILR cancels the RID of the terminal;
所述映射管理模块,用于缓存终端及通信对端的AID-RID映射信息并进行维护;The mapping management module is used to cache and maintain the AID-RID mapping information of the terminal and the communication peer;
所述数据转发模块,用于在收到上行数据报文后,在其中的终端和通信对端不属于同一ILCR时,将从映射管理模块或通信对端归属地ILR查询到的通信对端RID封装在包含终端AID和通信对端AID的数据报文中,转发到与其建立隧道的ILCR;以及用于将下行数据报文解封装,发送给终端。The data forwarding module is configured to query the RID of the communication peer from the mapping management module or the corresponding ILR of the communication peer when the terminal and the communication peer do not belong to the same ILCR after receiving the uplink data message Encapsulate in a data packet containing the AID of the terminal and the AID of the communication peer, forward it to the ILCR with which the tunnel is established; and decapsulate the downlink data packet and send it to the terminal.
进一步地,上述通信网络还可具有以下特点:所述接入网关还包括连接维护模块和离线处理模块,其中:Further, the above-mentioned communication network may also have the following characteristics: the access gateway further includes a connection maintenance module and an offline processing module, wherein:
所述连接维护模块,用于保存终端与通信对端的连接信息;获知终端离线或移出后或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或与终端通信终止后,删除该通信对端与终端的连接信息;The connection maintenance module is used to save the connection information between the terminal and the communication peer; delete the connection information between the terminal and the communication peer after learning that the terminal is offline or removed, or after the communication with the communication peer is terminated; knowing that the communication peer is offline or communicating with the terminal After termination, delete the connection information between the communication peer and the terminal;
所述离线处理模块,用于在确定接入本接入网关的终端离线后,通知注册注销模块、连接维护模块和映射管理模块;在确定通信对端离线时,通知连接维护模块和映射管理模块;The offline processing module is used to notify the registration and deregistration module, the connection maintenance module and the mapping management module after determining that the terminal connected to the access gateway is offline; when it is determined that the communication peer is offline, notify the connection maintenance module and the mapping management module ;
所述映射管理模块在获知终端切出或离线时,删除该终端的AID-RID映射信息,删除该终端通信对端中与接入本接入网关的其他终端没有通信关系的通信对端的AID-RID映射信息;获知终端与通信对端通信终止后,且该通信对端与接入本ILCR的其他终端没有通信关系,则删除该通信对端的AID-RID映射信息;获知通信对端离线或与终端通信终止时,删除该通信对端的AID-RID信息。The mapping management module deletes the AID-RID mapping information of the terminal when it learns that the terminal is switched out or is offline, and deletes the AID-RID mapping information of the communication peers of the terminal that have no communication relationship with other terminals accessing the access gateway. RID mapping information; after learning that the communication between the terminal and the communication peer is terminated, and the communication peer has no communication relationship with other terminals accessing the ILCR, delete the AID-RID mapping information of the communication peer; knowing that the communication peer is offline or connected to the ILCR When the terminal communication is terminated, the AID-RID information of the communication peer is deleted.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述RID分配模块为终端分配RID指向本接入网关;所述离线处理模块确定通信对端离线时,还根据终端AID到连接维护模块中查找到该终端所有通信对端的AID,再到映射管理模块查询到所有通信对端的RID,然后向对端接入网关发送终端离线通知,携带该终端的AID;以及在收到对端接入网关发来的终端离线通知后,确定作为通信对端的该终端离线;或者The RID allocation module assigns the RID to the terminal to point to the access gateway; when the offline processing module determines that the communication peer is offline, it also searches for the AIDs of all communication peers of the terminal in the connection maintenance module according to the terminal AID, and then goes to the mapping management The module queries the RIDs of all communication peers, and then sends a terminal offline notification to the peer access gateway, carrying the terminal’s AID; and after receiving the terminal offline notification sent by the peer access gateway, determines the communication peer the terminal is offline; or
所述RID分配模块为终端分配RID指向ILCR;所述离线处理模块确定通信对端离线时,还根据终端AID到连接维护模块中查找到该终端所有通信对端的AID,再从本地或通信对端AAA归属地服务器查询到对端接入网关的位置信息,然后向对端接入网关发送终端离线通知,携带该终端的AID;以及在收到对端接入网关发来的终端离线通知后,确定作为通信对端的该终端离线。The RID allocation module assigns the RID to the terminal and points to the ILCR; when the offline processing module determines that the communication counterpart is offline, it also finds the AIDs of all communication counterparts of the terminal in the connection maintenance module according to the terminal AID, and then from the local or communication counterpart The AAA home server queries the location information of the peer access gateway, and then sends a terminal offline notification to the peer access gateway, carrying the terminal's AID; and after receiving the terminal offline notification from the peer access gateway, It is determined that the terminal serving as the communication peer is offline.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关还包括切换模块,用于当终端移动到另一接入网关服务区域触发的切换的控制,包括:The access gateway also includes a switching module, which is used to control the switching triggered when the terminal moves to another access gateway service area, including:
切出单元用于实现终端的切出,切换期间收到的发往该终端的数据报文转发到切入接入网关,切换完成后通知连接维护模块,若切换导致终端RID指向的接入网关或ILCR发生变化,还通知映射管理模块。可选地,将该终端与通信对端的连接信息和/或该终端通信对端的AID-RID映射信息发送到切入接入网关保存;The cut-out unit is used to realize the cut-out of the terminal. During the handover, the data message sent to the terminal received during the handover is forwarded to the cut-in access gateway. After the handover is completed, the connection maintenance module is notified. A change in the ILCR is also notified to the mapping management module. Optionally, sending the connection information between the terminal and the communication peer and/or the AID-RID mapping information of the terminal communication peer to the cut-in access gateway for storage;
切入单元用于实现终端的切入,若切换导致终端RID指向的接入网关或ILCR变化,为终端分配新的RID,将该终端新的AID-RID映射信息保存到映射管理模块,并将该终端AID和新分配的RID发送到注册注销模块。The cut-in unit is used to realize the cut-in of the terminal. If the switch causes the access gateway or ILCR pointed to by the terminal RID to change, a new RID is assigned to the terminal, and the new AID-RID mapping information of the terminal is saved to the mapping management module, and the terminal The AID and the newly assigned RID are sent to the registration deregistration module.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入业务网络具有与广义转发平面的数据面接口;所述数据转发模块包括:The access service network has a data plane interface with the generalized forwarding plane; the data forwarding module includes:
第一转发单元,用于收到基站发来的包含终端AID和通信对端AID,且该终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中发送到广义转发平面;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID;The first forwarding unit is configured to receive an uplink data message from the base station that includes the terminal AID and the communication counterpart AID, and the terminal and the communication counterpart do not belong to the same ILCR, such as querying the communication counterpart in the mapping management module RID, encapsulate the RID of the terminal and the communication peer as the source and destination addresses in the data message and send it to the generalized forwarding plane; if the RID of the communication peer cannot be found, go to the ILR of the communication peer to inquire about the RID of the communication peer;
第二转发单元,用于将广义转发平面发来的下行数据报文解封装,剥去其中的RID后,通过本接入网关与该终端的连接发往该终端。The second forwarding unit is configured to decapsulate the downlink data message sent by the generalized forwarding plane, strip off the RID, and send it to the terminal through the connection between the access gateway and the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述连接业务网络中包括身份位置核心路由器(ILCR),用于维护终端的会话连接,建立接入网关与ILCR之间的隧道,以及在广义转发平面与接入网关之间转发以RID格式为源地址和目的地址的数据报文;The connection service network includes an identity location core router (ILCR), which is used to maintain the session connection of the terminal, establish a tunnel between the access gateway and the ILCR, and forward the data in RID format between the generalized forwarding plane and the access gateway. Data packets with source and destination addresses;
所述接入网关的RID分配模块为终端分配的RID指向本接入网关;所述数据转发模块包括:The RID allocation module of the access gateway points to the access gateway for the RID allocated by the terminal; the data forwarding module includes:
第一转发单元,用于在收到基站发来的包含终端AID和通信对端AID,且该终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中,做隧道封装后转发到ILCR;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID;The first forwarding unit is configured to, after receiving the uplink data message sent by the base station that includes the terminal AID and the communication peer AID, and the terminal and the communication peer do not belong to the same ILCR, such as querying the communication pair in the mapping management module For the RID of the communication peer, encapsulate the RID of the terminal and the communication peer as the source and destination addresses in the data message, and forward it to ILCR after tunnel encapsulation; end RID;
第二转发单元,用于对ILCR发来的下行数据报文解封装,剥去其中的RID和隧道封装后,通过本接入网关与该终端的连接发往该终端。The second forwarding unit is used to decapsulate the downlink data message sent by the ILCR, strip off the RID and tunnel encapsulation, and send it to the terminal through the connection between the access gateway and the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关(AGW)与ILCR间建立的是基于终端的动态隧道;或者A terminal-based dynamic tunnel is established between the access gateway (AGW) and the ILCR; or
所述接入网关(AGW)与ILCR间建立的是静态隧道,所述ILCR还用于在接入网关与ILCR间的隧道建立后缓存终端的AGW-AID-RID映射信息并进行维护,以及在终端移动到另一ILCR的服务区域后,删除该终端的AGW-AID-RID映射信息。A static tunnel is established between the access gateway (AGW) and the ILCR, and the ILCR is also used to cache and maintain the AGW-AID-RID mapping information of the terminal after the tunnel between the access gateway and the ILCR is established, and After the terminal moves to the service area of another ILCR, the AGW-AID-RID mapping information of the terminal is deleted.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述连接业务网络中包括身份位置核心路由器(ILCR),用于维护终端的会话连接,建立接入网关与ILCR之间的隧道,以及在广义转发平面与接入网关之间转发以RID格式为源地址和目的地址的数据报文;The connection service network includes an identity location core router (ILCR), which is used to maintain the session connection of the terminal, establish a tunnel between the access gateway and the ILCR, and forward the data in RID format between the generalized forwarding plane and the access gateway. Data packets with source and destination addresses;
所述接入网关的RID分配模块为终端分配的RID指向与本接入网关建立隧道的ILCR;所述数据转发模块包括:The RID assignment module of the access gateway points to the ILCR that establishes a tunnel with the access gateway for the RID assigned by the terminal; the data forwarding module includes:
第一转发单元,用于收到基站发来的包含终端AID和通信对端AID,且该终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端RID或本接入网关地址作为源地址,将通信对端RID作为目的地址封装在数据报文中,做隧道封装后转发到ILCR;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID;The first forwarding unit is configured to receive an uplink data message from the base station that includes the terminal AID and the communication counterpart AID, and the terminal and the communication counterpart do not belong to the same ILCR, such as querying the communication counterpart in the mapping management module RID, use the terminal RID or the address of the access gateway as the source address, encapsulate the RID of the communication peer as the destination address in the data packet, and forward it to ILCR after tunnel encapsulation; if the RID of the communication peer cannot be found, go to the communication The ILR at the peer end queries the RID of the communication peer end;
第二转发单元,用于对ILCR发来的下行数据报文解封装,剥去其中的RID和隧道封装,或者剥去其中的RID、接入网关地址和隧道封装,或者剥去其中的隧道封装后,通过本接入网关与该终端的连接发往该终端。The second forwarding unit is used to decapsulate the downlink data message sent by the ILCR, strip the RID and tunnel encapsulation, or strip the RID, access gateway address and tunnel encapsulation, or strip the tunnel encapsulation Afterwards, it is sent to the terminal through the connection between the access gateway and the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关(AGW)与ILCR间建立的是基于终端的动态隧道;或者A terminal-based dynamic tunnel is established between the access gateway (AGW) and the ILCR; or
所述接入网关(AGW)与ILCR间建立的是静态隧道,所述ILCR包括报文转发模块,该报文转发模块又包括:A static tunnel is established between the access gateway (AGW) and the ILCR, the ILCR includes a message forwarding module, and the message forwarding module further includes:
第一转发单元,用于在收到接入网关发来的终端和通信对端不属于同一ILCR的上行数据报文后,根据源AID查询本地缓存中的AGW-AID-RID映射信息,将作为源地址的接入网关地址替换为终端RID并剥去隧道封装后,转发给映射转发平面或广义转发平面;The first forwarding unit is configured to query the AGW-AID-RID mapping information in the local cache according to the source AID after receiving the uplink data message sent by the access gateway that the terminal and the communication peer do not belong to the same ILCR, and use it as The access gateway address of the source address is replaced with the terminal RID and the tunnel encapsulation is stripped off before being forwarded to the mapping forwarding plane or the generalized forwarding plane;
第二转发单元,用于在收到广义转发平面发来的下行数据报文后,根据目的AID查询本地缓存中的AGW-AID-RID映射信息,将数据报文中的目的RID替换为接入网关地址并做隧道封装后,转发到该终端接入的接入网关;或者在收到广义转发平面发来的下行数据报文后,剥去数据报文中封装的RID并做隧道封装,根据目的AID查询本地缓存中的AGW-AID-RID映射信息,将数据报文转发到该终端接入的接入网关。The second forwarding unit is configured to query the AGW-AID-RID mapping information in the local cache according to the destination AID after receiving the downlink data message sent by the generalized forwarding plane, and replace the destination RID in the data message with the access After receiving the gateway address and performing tunnel encapsulation, forward it to the access gateway that the terminal accesses; or after receiving the downlink data message from the generalized forwarding plane, strip the RID encapsulated in the data message and perform tunnel encapsulation, according to The destination AID queries the AGW-AID-RID mapping information in the local cache, and forwards the data packet to the access gateway accessed by the terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述连接业务网络还包括分组转发功能(PTF);所述接入网关中的第一转发单元收到基站发来的终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询不到通信对端的RID,将该终端RID封装在数据报文中,转发到该通信对端归属地PTF;或者将该终端RID作为源地址封装在数据报文中并做隧道封装后,转发到该通信对端归属地PTF;The connection service network also includes a packet forwarding function (PTF); after the first forwarding unit in the access gateway receives the uplink data message from the base station that the terminal and the communication peer do not belong to the same ILCR, as in the mapping The management module cannot query the RID of the communication peer, encapsulates the terminal RID in a data message, and forwards it to the PTF at which the communication peer belongs; or encapsulates the terminal RID as a source address in a data message and performs tunnel encapsulation , forwarded to the PTF at which the communication peer belongs;
所述PTF用于在收到ILCR或其他PTF送达的数据报文后,根据数据报文中通信对端AID查到对应的RID作为目的地址封装在报文头后,将该数据报文经广义转发平面发送到对端ILCR或对端接入网关。The PTF is used for after receiving the data message delivered by the ILCR or other PTFs, after finding the corresponding RID as the destination address in the message header according to the AID of the communication peer in the data message, and encapsulating the data message through The generalized forwarding plane sends to the peer ILCR or the peer access gateway.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关中的第一转发单元收到基站发来的终端和通信对端不属于同一ILCR的上行数据报文后,如在映射管理模块查询不到通信对端的RID,先缓存所述数据报文,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中,做隧道封装后转发到ILCR或直接发送到广义转发平面。After the first forwarding unit in the access gateway receives the uplink data message from the base station that the terminal and the communication peer do not belong to the same ILCR, if the RID of the communication peer cannot be found in the mapping management module, first cache the For the data message, after querying the RID of the communication peer, the RID of the terminal and the communication peer are used as the source and destination addresses and encapsulated in the data message, and then forwarded to the ILCR after tunnel encapsulation or directly sent to the generalized forwarding plane.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关中的第一转发单元还用于将查询到的通信对端的AID-RID映射信息保存到映射管理模块;The first forwarding unit in the access gateway is further configured to save the queried AID-RID mapping information of the communication peer to the mapping management module;
所述接入网关中的第二转发单元收到下行数据报文后,还判断所述数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中;After the second forwarding unit in the access gateway receives the downlink data message, it also judges whether the AID-RID mapping information of the communication peer in the data message exists in the mapping management module, and if it does not exist, save it in the mapping In the management module;
所述接入网关中的第一转发单元和第二转发单元还判断收到的数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块中,如没有,保存到连接维护模块中。The first forwarding unit and the second forwarding unit in the access gateway also judge whether the corresponding relationship between the terminal AID and the communication peer AID in the received data message has been saved in the connection maintenance module, if not, save it to the connection maintenance module. in the maintenance module.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关的切入单元还用于查询对端接入网关的位置信息,向所有对端接入网关发送终端RID更新通知,携带该终端新的AID-RID映射信息;The cut-in unit of the access gateway is also used to query the location information of the peer access gateway, and send a terminal RID update notification to all peer access gateways, carrying new AID-RID mapping information of the terminal;
所述接入网关中的映射管理模块还用于收到对端发来的终端RID更新通知后更新本地保存的该终端的AID-RID映射信息。The mapping management module in the access gateway is further configured to update the locally stored AID-RID mapping information of the terminal after receiving the terminal RID update notification from the opposite terminal.
进一步地,上述通信网络还可具有以下特点:Further, the above-mentioned communication network may also have the following characteristics:
所述接入网关是在Wimax网络架构中接入网关具有的功能实体的基础上,扩展了实现身份标识和位置分离所需的新的功能模块得到的,所述Wimax网络架构中接入网关所具有的功能实体包括锚定数据通道功能(DPF)模块和鉴权器。The access gateway is obtained by expanding the new functional modules required to realize the separation of identity and location on the basis of the functional entity of the access gateway in the Wimax network architecture. The access gateway in the Wimax network architecture The functional entities include an anchor data path function (DPF) module and an authenticator.
上述基于Wimax网络架构实现的通信网络,支持移动终端的应用场景,有效解决了该场景下的迂回路由问题。The above-mentioned communication network based on the Wimax network architecture supports the application scenario of the mobile terminal, and effectively solves the circuitous routing problem in this scenario.
上述基于Wimax网络架构实现的通信网络的部署考虑了兼容终端、兼容上层业务的需求,仅需升级网络侧设备,兼容不更改终端的应用场景。The deployment of the above-mentioned communication network based on the Wimax network architecture takes into account the requirements of compatible terminals and upper-layer services. It only needs to upgrade the network-side equipment and is compatible with the application scenarios without changing the terminals.
使得终端可以按身份标识发起通信,而按照RID实现对对端的寻址,本发明还提供了一种终端开机接入上述第一种和第二种通信网络的方法,包括:The terminal can initiate communication according to the identity, and realize the addressing of the opposite terminal according to the RID. The present invention also provides a method for the terminal to start up and access the above-mentioned first and second communication networks, including:
终端开机后,进行接入认证和初始业务流创建,然后从接入网关获取身份标识(AID);After the terminal is turned on, it performs access authentication and initial service flow creation, and then obtains an identity identifier (AID) from the access gateway;
在所述接入网关向身份位置核心路由器(ILCR)发起隧道建立的过程中,所述ILCR为该终端分配指向本ILCR的位置标识(RID),保存该终端AID和RID的映射信息,并将为终端分配的RID通知给所述接入网关;When the access gateway initiates tunnel establishment to the identity location core router (ILCR), the ILCR assigns the terminal a location identifier (RID) pointing to the ILCR, saves the mapping information of the terminal AID and RID, and Notifying the access gateway of the RID allocated to the terminal;
所述接入网关或ILCR在获得该终端的AID和RID后,向该终端归属地ILR发起注册请求,携带该终端的AID和RID;该ILR收到该注册请求后,并保存该终端当前的AID-RID映射关系。After the access gateway or ILCR obtains the terminal's AID and RID, it initiates a registration request to the terminal's home ILR, carrying the terminal's AID and RID; after receiving the registration request, the ILR saves the terminal's current AID-RID mapping relationship.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
所述终端从所述接入网关获取的AID是在该终端的接入认证流程中,由该终端归属地AAA服务器下发给所述接入网关的。The AID obtained by the terminal from the access gateway is delivered to the access gateway by the terminal's home AAA server during the terminal's access authentication process.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
所述终端是通过动态主机配置协议(DHCP)流程或通过移动IP方式从接入网关获取所述终端的AID的,该AID为该终端签约时分配的静态IP地址。The terminal obtains the terminal's AID from the access gateway through a Dynamic Host Configuration Protocol (DHCP) process or through a mobile IP method, and the AID is a static IP address assigned to the terminal when signing a contract.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
在所述隧道建立的过程中,所述ILCR还到该终端归属地AAA服务器进行认证,获取密钥信息。In the process of establishing the tunnel, the ILCR also goes to the AAA server where the terminal belongs to perform authentication and obtain key information.
为了使得终端可以按身份标识发起通信,而按照RID实现对对端的寻址,本发明还提供了一种终端开机接入上述第三种通信网络的方法,包括:In order to enable the terminal to initiate communication according to the identity and realize the addressing of the opposite terminal according to the RID, the present invention also provides a method for the terminal to start up and access the above-mentioned third communication network, including:
终端开机后,进行接入认证和初始业务流创建,然后从接入网关获取所述终端的身份标识(AID);After the terminal is turned on, it performs access authentication and initial service flow creation, and then obtains the identity identifier (AID) of the terminal from the access gateway;
所述接入网关为该终端分配位置标识(RID),保存该终端AID和RID的映射信息,并向所述终端归属地的ILR发送注册请求,携带该终端的AID和RID;The access gateway assigns a location identifier (RID) to the terminal, saves the mapping information of the terminal's AID and RID, and sends a registration request to the ILR at the home of the terminal, carrying the terminal's AID and RID;
该ILR收到该注册请求后,并保存所述终端当前的AID-RID映射关系。After receiving the registration request, the ILR saves the current AID-RID mapping relationship of the terminal.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
所述终端从所述接入网关获取的AID是在终端的接入认证流程中,由该终端归属地AAA服务器下发给所述接入网关的。The AID obtained by the terminal from the access gateway is delivered to the access gateway by the terminal's home AAA server during the terminal's access authentication process.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
所述终端是通过动态主机配置协议(DHCP)流程或通过移动IP方式从接入网关获取本终端的AID,该AID为该终端签约时分配的静态IP地址。The terminal obtains the terminal's AID from the access gateway through a Dynamic Host Configuration Protocol (DHCP) process or through a mobile IP method, and the AID is a static IP address assigned to the terminal when signing a contract.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
是在所述终端向本接入网关获取AID的过程中,触发所述接入网关为所述终端分配RID的。It is during the process that the terminal acquires the AID from the access gateway that the access gateway is triggered to allocate the RID for the terminal.
进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:
所述接入网关与ILCR之间建立的是静态隧道,所述接入网关为所述终端分配的AID指向本接入网关或指向与其建立有静态隧道的ILCR;或者A static tunnel is established between the access gateway and the ILCR, and the AID allocated by the access gateway to the terminal points to the access gateway or to the ILCR with which a static tunnel is established; or
所述接入网关与ILCR之间建立的是基于终端的动态隧道,所述接入网关为所述终端分配的AID指向本接入网关。A terminal-based dynamic tunnel is established between the access gateway and the ILCR, and the AID assigned by the access gateway to the terminal points to the access gateway.
上述终端接入该通信网络的方法,在终端接入为终端分配了身份标识和位置标识,并且到ILC对终端的RID进行了注册,使得终端可以按身份标识发起通信,而按照RID实现对对端的寻址。In the above-mentioned method for a terminal to access the communication network, the terminal is assigned an identity identifier and a location identifier during terminal access, and the RID of the terminal is registered with the ILC, so that the terminal can initiate communication according to the identity identifier, and implement pairing according to the RID. terminal addressing.
附图说明Description of drawings
图1是现有Wimax网络架构示意图。FIG. 1 is a schematic diagram of an existing Wimax network architecture.
图2为本发明一种身份标识和位置分离(SILSN)架构的网络拓扑示意图。FIG. 2 is a schematic diagram of a network topology of a Separation of Identity and Location (SILSN) architecture of the present invention.
图3为图2中SILSN网络与传统IP网络的拓扑关系的示意图。FIG. 3 is a schematic diagram of the topology relationship between the SILSN network and the traditional IP network in FIG. 2 .
图4a是本发明实施例一至六的基于Wimax架构实现的SILSN网络的示意图。FIG. 4a is a schematic diagram of a SILSN network implemented based on the Wimax architecture according to Embodiments 1 to 6 of the present invention.
图4b是本发明实施例七基于Wimax架构实现的SILSN网络的示意图。Fig. 4b is a schematic diagram of a SILSN network implemented based on the Wimax architecture according to Embodiment 7 of the present invention.
图5是本发明实施例用户开机入网的第一种流程图。Fig. 5 is a flow chart of the first type for a user to start up and log in to the network according to the embodiment of the present invention.
图6是本发明实施例用户开机入网的第二流程图。Fig. 6 is a second flow chart of the user booting into the network according to the embodiment of the present invention.
图7是本发明实施例用户开机入网的第三种流程图。Fig. 7 is a third flow chart of the user booting into the network according to the embodiment of the present invention.
图8是本发明实施例用户开机入网的第四种流程图。Fig. 8 is a fourth flow chart of the user booting into the network according to the embodiment of the present invention.
图9是本发明实施例一接入网关和ILCR的模块图。FIG. 9 is a block diagram of an access gateway and an ILCR according to Embodiment 1 of the present invention.
图10是本发明实施例二接入网关和ILCR的模块图。FIG. 10 is a block diagram of an access gateway and an ILCR in Embodiment 2 of the present invention.
图11是本发明实施例六接入网关和ILCR的模块图。FIG. 11 is a block diagram of an access gateway and an ILCR according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明所述技术方案作进一步的详细描述,以使本领域的技术人员可以更好的理解本发明并能予以实施,但所举实施例不作为对本发明的限定。The technical scheme of the present invention will be described in further detail below in conjunction with the accompanying drawings and specific examples, so that those skilled in the art can better understand the present invention and implement it, but the examples given are not intended to limit the present invention .
图2所示是一种身份标识和位置分离(SILSN:Subscriber Identifier&Locator Separation Network)架构,该SILSN架构的网络拓扑划分为拓扑关系上没有重叠的接入网和骨干网,接入网位于骨干网的边缘,负责所有终端的接入,骨干网负责接入的终端间数据报文的路由和转发。Figure 2 shows a SILSN: Subscriber Identifier & Locator Separation Network (SILSN: Subscriber Identifier & Locator Separation Network) architecture. The network topology of the SILSN architecture is divided into an access network and a backbone network that do not overlap in the topological relationship. The access network is located in the backbone network. The edge is responsible for the access of all terminals, and the backbone network is responsible for the routing and forwarding of data packets between the connected terminals.
SILSN架构的网络中有两种标识类型:接入标识(AID:Access Identifier)和路由标识(RID:Routing Identifier)。其中,AID是终端的用户身份标识,网络为每个终端用户分配一个AID,在终端移动过程中始终保持不变;RID是网络为终端分配的位置标识,在骨干网使用。应说明的是,身份标识和位置标识在不同的SILSN架构可以有不同的名称,但实质是一样的。用户签约成为本架构网络用户后,可以在该用户归属认证中心及归属ILR中进行开户放号操作,认证中心及ILR记录该用户的属性数据,包括为该用户分配的AID。完成开户放号的处理后,AID被静态分配给该用户,在该用户有效合法存续期间,该用户的AID不变。There are two types of identifiers in the SILSN architecture network: Access Identifier (AID: Access Identifier) and Routing Identifier (RID: Routing Identifier). Among them, AID is the user identity of the terminal, and the network assigns an AID to each terminal user, which remains unchanged during the terminal's movement; RID is the location identifier assigned by the network to the terminal, which is used in the backbone network. It should be noted that the identity identifier and the location identifier may have different names in different SILSN architectures, but the essence is the same. After the user signs up to become a network user of this architecture, he can open an account and issue a number in the user's home authentication center and home ILR. The authentication center and ILR record the user's attribute data, including the AID assigned to the user. After completing the process of opening an account and issuing a number, the AID is statically assigned to the user, and the user's AID remains unchanged during the effective and legal existence of the user.
SILSN架构中,终端可以是移动终端、固定终端和游牧终端中的一种或多种,如手机、固定电话、电脑和服务器等等。In the SILSN architecture, terminals can be one or more of mobile terminals, fixed terminals and nomadic terminals, such as mobile phones, fixed phones, computers and servers.
SILSN架构中,接入网用于为终端提供二层(物理层和链路层)接入手段,维护终端与ASN之间的物理接入链路。可能的二层接入手段包括:蜂窝移动网技术(GSM/CDMA/TD-SCDMA/WCDMA/Wimax/LTE)、DSL、宽带光纤接入或WiFi接入等等。In the SILSN architecture, the access network is used to provide two-layer (physical layer and link layer) access means for the terminal, and maintain the physical access link between the terminal and the ASN. Possible two-layer access methods include: cellular mobile network technology (GSM/CDMA/TD-SCDMA/WCDMA/Wimax/LTE), DSL, broadband optical fiber access or WiFi access, etc.
SILSN架构中,接入服务节点用于为终端提供接入服务、维护终端与网络的连接,为终端分配RID,维护AID-RID映射信息,到映射转发平面登记注册和查询终端的RID,以及实现数据报文的路由和转发等功能。In the SILSN architecture, the access service node is used to provide access services for the terminal, maintain the connection between the terminal and the network, allocate RID for the terminal, maintain AID-RID mapping information, register and query the RID of the terminal on the mapping forwarding plane, and implement Functions such as routing and forwarding of data packets.
SILSN架构中,骨干网的主要网元包括:In the SILSN architecture, the main network elements of the backbone network include:
接入服务节点(ASN:Access Service Node)用于为终端分配RID,维护终端的AID-RID映射信息,到ILR登记注册和查询终端的RID,以及实现数据报文的路由和转发,终端须经过ASN接入骨干网。ASN分配的RID包含该ASN的地址信息,将该RID作为数据报文的目的地址时,该数据报文将被路由到该ASN。Access Service Node (ASN: Access Service Node) is used to allocate RID for the terminal, maintain the AID-RID mapping information of the terminal, register with the ILR and query the RID of the terminal, and realize the routing and forwarding of data packets. The terminal must go through The ASN is connected to the backbone network. The RID allocated by the ASN includes address information of the ASN, and when the RID is used as the destination address of the data packet, the data packet will be routed to the ASN.
通用路由器(CR:Common Router),用于根据数据报文中的RID进行选路,转发以RID为目的地址的数据报文。A common router (CR: Common Router) is used to select a route according to the RID in the data message, and forward the data message with the RID as the destination address.
身份位置寄存器(ILR:Identity Location Register),ILR用于保存终端的身份标识和位置标识映射信息,文中也写为AID-RID映射信息,处理对终端位置的注册、注销和查询;Identity Location Register (ILR: Identity Location Register), ILR is used to store the identity and location identification mapping information of the terminal, which is also written as AID-RID mapping information in the text, and handles the registration, cancellation and query of the terminal location;
可选地,骨干网还可以包括:Optionally, the backbone network can also include:
分组转发功能(PTF:Packet Transfer Function),也称为分组转发功能节点,用于路由和转发以AID为目的地址的数据报文。Packet Transfer Function (PTF: Packet Transfer Function), also known as a packet forwarding function node, is used to route and forward data packets with AID as the destination address.
互联服务节点(ISN),具有与通用路由器、ASN和ILR的接口,用于查询、维护本网络终端的AID-RID映射信息,封装、路由和转发本网络与传统IP网络之间往来的数据报文,实现两个网络的互联互通。Internet service node (ISN), which has interfaces with general routers, ASNs and ILRs, is used to query and maintain the AID-RID mapping information of the network terminal, and encapsulate, route and forward datagrams between the network and the traditional IP network To realize the interconnection and intercommunication of the two networks.
上述ILR,或ILR和PTF构成了骨干网的映射转发平面,CR,或CR和ISN构成了骨干网的广义转发平面。骨干网中还可以包括认证中心等其他网元。The above-mentioned ILR, or ILR and PTF constitute the mapping forwarding plane of the backbone network, and the CR, or CR and ISN constitute the generalized forwarding plane of the backbone network. The backbone network may also include other network elements such as an authentication center.
SILSN架构初期可以传统IP网络的一个或多个孤岛形式存在和发展,或作为传统IP网络的扩展部分。SILSN架构与传统IP网络的拓扑关系如图3所示,SILSN架构的骨干网部分与传统IP处于同一平面,通过ISN与传统IP网络互通。SILSN架构具备独立组网的能力,可以形成脱离传统IP网络独自发展的网络,在该阶段,功能实体ISN将不再存在。The SILSN architecture can exist and develop in the form of one or more isolated islands of the traditional IP network at the initial stage, or as an extended part of the traditional IP network. The topology relationship between the SILSN architecture and the traditional IP network is shown in Figure 3. The backbone network of the SILSN architecture is on the same plane as the traditional IP, and communicates with the traditional IP network through the ISN. The SILSN architecture has the capability of independent networking, and can form a network that develops independently from the traditional IP network. At this stage, the functional entity ISN will no longer exist.
SILSN架构主要是针对现有移动互联网提出的一种身份标识和位置分离的技术,下面以Wimax网络架构为基础,提出在Wimax网络架构上实现SILSN架构的实施例,主要针对为实现终端身份标识和位置分离需要的在原有系统上进行的改进的相关内容进行描述。The SILSN architecture is mainly a technology for the separation of identity and location proposed for the existing mobile Internet. Based on the Wimax network architecture, an embodiment of the SILSN architecture is proposed on the Wimax network architecture. It is mainly aimed at realizing terminal identity and location. Describe the relevant content of the improvement on the original system required for location separation.
图4a是基于Wimax网络架构实现SILSN架构的示意图,图中实线表示承载面的连接,虚线表示控制面的连接。在具有SILSN架构的系统中,Wimax传统终端可以实现无固定锚点的移动性,解决了数据包路径迂回的问题,而且还可以达到解决IP地址双重身份的目的。Fig. 4a is a schematic diagram of realizing the SILSN architecture based on the Wimax network architecture, in which the solid line indicates the connection of the bearer plane, and the dotted line indicates the connection of the control plane. In a system with SILSN architecture, Wimax traditional terminals can realize mobility without a fixed anchor point, solve the problem of roundabout paths for data packets, and can also achieve the purpose of solving the dual identity of IP addresses.
文中,将终端的通信对端接入的网元简称为对端网元;在终端切换时,将终端切出的网元简称为切出网元,将终端切入到的网元称为切入网元;在描述两个网元之间传送信息时,如没有特别指出某网元是对端网元,应理解为终端接入的同一侧的网元之间的信息传送;另外,为了表述方便,在表述某个网元的功能时,将接入到该网元的用户终端称为终端,与接入该网元的用户终端通信的称为通信对端。In this paper, the network element accessed by the communication peer of the terminal is referred to as the peer network element for short; when the terminal switches, the network element switched out by the terminal is referred to as the cut-out network element for short, and the network element that the terminal cuts into is called the switch-in network element. When describing the transmission of information between two network elements, if it is not specified that a certain network element is the peer network element, it should be understood as the information transmission between the network elements on the same side of the terminal access; in addition, for the convenience of expression , when describing the function of a network element, the user terminal connected to the network element is called a terminal, and the user terminal connected to the network element is called a communication peer.
另外,当一个网元收到另一个网元发送的信息时,会将该信息分发到保存或处理该信息的模块,该功能在下文中不再另行说明。In addition, when a network element receives information sent by another network element, it will distribute the information to a module that stores or processes the information, and this function will not be further described below.
实施例一Embodiment one
本实施例基于Wimax网络架构实现的具有SILSN架构的通信网络中,也包括接入业务网络(W-ASN)、连接业务网络(W-CSN)和广义转发平面,如图4a所示。在W-CSN中,具有AAA代理或服务器(AAA Proxy/Server)、计费服务器、互连网关设备等Wimax架构中的原有网元,还设置了身份位置核心路由器(Identity Location Core Route,简称ILCR)、身份位置寄存器(ILR)和分组转发功能(PTF),ILR和PTF可以合设,此时表示为ILR/PTF,各W-CSN中的ILR/PTF构成了映射转发平面。其中,ILCR集合了HA、W-CR的功能,并扩展实现SILSN架构所需的新功能,扩展的功能模块可以与原功能模块合设,也可以单独设置。W-ASN中包括基站和接入网关,其中的接入网关在Wimax架构中的接入网关所具有的功能实体(如锚定数据通道功能(Anchor DPF)、鉴权器等)的基础上,扩展了实现SILSN所需的新功能。此外,该通信网络中的广义转发平面包括支持按RID路由和转发数据报文的分组数据网络(其他实施例同此)。W-CSN与广义转发平面之间具有数据面接口,表示为D接口。The communication network with the SILSN architecture implemented based on the Wimax network architecture in this embodiment also includes an access service network (W-ASN), a connection service network (W-CSN) and a generalized forwarding plane, as shown in FIG. 4a. In the W-CSN, there are original network elements in the Wimax architecture such as AAA proxy or server (AAA Proxy/Server), billing server, and interconnection gateway equipment, and an Identity Location Core Router (ILCR for short) is also set. ), an Identity Location Register (ILR) and a Packet Forwarding Function (PTF). The ILR and PTF can be set together, which is represented as ILR/PTF at this time. The ILR/PTF in each W-CSN constitutes a mapping forwarding plane. Among them, ILCR integrates the functions of HA and W-CR, and expands the new functions required to realize the SILSN architecture. The extended functional modules can be set together with the original functional modules, or can be set separately. The W-ASN includes base stations and access gateways. The access gateways are based on the functional entities (such as anchor data channel functions (Anchor DPF), authenticators, etc.) of the access gateways in the Wimax architecture. Extended with new features required to implement SILSN. In addition, the generalized forwarding plane in the communication network includes a packet data network that supports routing and forwarding data packets according to RID (other embodiments are the same as above). There is a data plane interface between the W-CSN and the generalized forwarding plane, denoted as a D interface.
本实施例中,ILCR与接入网关之间建立基于终端的动态隧道,在终端向网络注册登记或切换时,由ILCR按既定策略为终端分配RID,由接入网关向ILR注册。ILCR分配的RID应指向该ILCR,根据业务需要,ILCR可以为一个终端分配专用的一个或多个RID,也可为多个终端分配相同的RID。在进行数据报文转发时由ILCR向ILR查询AID-RID映射信息,在终端离线时,由接入网关向ILR注销AID-RID映射信息。In this embodiment, a terminal-based dynamic tunnel is established between the ILCR and the access gateway. When the terminal registers or switches to the network, the ILCR assigns a RID to the terminal according to a predetermined policy, and the access gateway registers with the ILR. The RID allocated by the ILCR should point to the ILCR. According to business needs, the ILCR can allocate one or more dedicated RIDs for one terminal, or the same RID for multiple terminals. When data packets are forwarded, the ILCR queries the ILR for AID-RID mapping information, and when the terminal is offline, the access gateway cancels the AID-RID mapping information from the ILR.
请参照图9,本实施例的WiMAX系统包括以下几部分:Please refer to FIG. 9, the WiMAX system of this embodiment includes the following parts:
接入网关(AGW),位于WiMAX接入业务网络(W-ASN)中,用于为用户终端提供接入服务和控制,到终端归属地ILR对终端进行注册和注销,维护终端与通信对端的连接信息。接入网关还可用于与其他接入网关配合实现终端跨AGW、跨ILCR的切换。接入网关还具有在Wimax系统中的其他功能,如与AAA服务器配合完成对终端的认证等,文中对这部分功能不再加以详细说明。The Access Gateway (AGW), located in the WiMAX Access Service Network (W-ASN), is used to provide access services and control for user terminals, to register and deregister the terminal at the ILR where the terminal belongs, and to maintain the communication between the terminal and the communication peer. connection information. The access gateway can also be used to cooperate with other access gateways to realize handover of terminals across AGWs and ILCRs. The access gateway also has other functions in the Wimax system, such as cooperating with the AAA server to complete the authentication of the terminal, etc., and this part of the functions will not be described in detail in this article.
本实施例中,接入网关包括下述与扩展功能相关的功能实体:In this embodiment, the access gateway includes the following functional entities related to extended functions:
注册注销模块,用于在收到终端AID和为该终端分配的RID后请求该终端归属地ILR对该终端RID进行注册,携带终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID。The registration and deregistration module is used to request the terminal's home ILR to register the terminal RID after receiving the terminal AID and the RID allocated for the terminal, carrying the terminal's AID and RID; after learning that the terminal is offline, request the terminal's home ILR Log out of the terminal's RID.
离线处理模块,用于在确定接入的终端离线时,通知注册注销模块和连接维护模块;可选地,通知所有对端接入网关该终端离线,及在确定通信对端离线时,通知连接维护模块和ILCR。离线处理模块可以从本地或通信对端AAA归属地服务器查询到对端接入网关的位置信息。离线处理模块可依据流实时检测机制,或依据收到终端离线的相关信令等来确定终端是否离线。需要说明的是,终端离线时通知对端该终端离线是可选地,对端也可通过流实时检测机制来确定通信对端是否离线。The offline processing module is used to notify the registration and deregistration module and the connection maintenance module when it is determined that the connected terminal is offline; optionally, notify all peer access gateways that the terminal is offline, and notify the connection when it is determined that the communication peer is offline Maintenance module and ILCR. The offline processing module can query the location information of the access gateway of the opposite end from the local or the AAA home server of the communication opposite end. The offline processing module can determine whether the terminal is offline according to the real-time detection mechanism of the stream, or according to the relevant signaling that the terminal is offline. It should be noted that it is optional for the terminal to notify the peer that the terminal is offline when the terminal is offline, and the peer can also determine whether the communication peer is offline through a real-time stream detection mechanism.
连接维护模块,用于保存终端与通信对端的连接信息;在终端离线或移出后(包括存在或不存在通信对端的场景)或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或与终端通信终止后,删除该通信对端与终端的连接信息。终端移出或与通信对端通信终止可以由接入网关中相关的功能模块通知连接维护模块,ILCR类似。The connection maintenance module is used to save the connection information between the terminal and the communication peer; delete the connection information between the terminal and the communication peer after the terminal is offline or removed (including the scene of the presence or absence of the communication peer) or after the communication with the communication peer is terminated; After learning that the communication peer is offline or the communication with the terminal is terminated, the connection information between the communication peer and the terminal is deleted. The related functional modules in the access gateway can notify the connection maintenance module when the terminal moves out or the communication with the communication peer is terminated, similar to ILCR.
数据转发模块,用于在基站和ILCR之间进行数据报文转发,可在接收数据报文后,判断数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块,如未保存,通知连接维护模块保存该终端与通信对端的连接信息。The data forwarding module is used to forward the data message between the base station and the ILCR. After receiving the data message, it can determine whether the corresponding relationship between the terminal AID and the communication peer AID in the data message has been stored in the connection maintenance module, such as Not saved, notify the connection maintenance module to save the connection information between the terminal and the communication peer.
切换模块,用于终端在存在通信对端时移动到另一锚定DPF模块或ILCR的服务区域触发的切换的控制,包括切出单元和切入单元:The handover module is used to control the handover triggered by the terminal moving to the service area of another anchor DPF module or ILCR when there is a communication peer, including the handover unit and the handover unit:
切出单元用于实现对终端切出的控制,通知ILCR该终端切换,将切换期间收到的发送给该终端的数据报文转发到切入接入网关,终端切出后通知连接维护模块;可选地,将连接维护模块保存的该终端与通信对端的连接信息发送到切入接入网关。The cut-out unit is used to control the cut-out of the terminal, notify the ILCR of the terminal switch, forward the data message sent to the terminal received during the switch to the cut-in access gateway, and notify the connection maintenance module after the terminal cuts out; Optionally, the connection information of the terminal and the communication peer stored by the connection maintenance module is sent to the cut-in access gateway.
切入单元用于实现对终端切入的控制,将切出接入网关发来的该终端与通信对端的连接信息保存到连接维护模块。The cut-in unit is used to control the cut-in of the terminal, and save the connection information between the terminal and the communication peer sent by the cut-out access gateway to the connection maintenance module.
在WiMAX系统中,注册注销模块可以与接入网关的功能实体鉴权器或锚定DPF模块合设。连接维护模块可以与鉴权器或锚定DPF模块合设,当不与锚定DPF合设时,需要锚定DPF模块从数据报文中获取终端和通信对端的AID,将新的或有变化的终端AID和通信对端AID的对应关系通知给连接维护模块保存或更新。数据转发模块可以与锚定DPF模块合设。切换控制模块可以与锚定DPF模块合设。In the WiMAX system, the registration and deregistration module can be co-located with the functional entity authenticator of the access gateway or the anchor DPF module. The connection maintenance module can be set up together with the authenticator or the anchor DPF module. When it is not set up together with the anchor DPF module, the anchor DPF module needs to obtain the AID of the terminal and the communication peer from the data message, and update the new or changed The corresponding relationship between the terminal AID and the communication peer AID is notified to the connection maintenance module for saving or updating. The data forwarding module can be co-located with the anchor DPF module. The switch control module can be co-located with the anchor DPF module.
身份位置核心路由器(ILCR),位于WiMAX核心业务网络(W-CSN)中,用于维护终端的会话连接,为终端分配指向本ILCR的RID,到ILR查询终端(此处的终端包括通信对端)的RID,维护终端和通信对端的AID-RID映射信息,以及实现数据报文的路由和转发。ILCR还用于与其他ILCR配合实现终端跨ILCR的切换。Identity location core router (ILCR), located in the WiMAX core service network (W-CSN), is used to maintain the session connection of the terminal, assign the RID pointing to this ILCR for the terminal, and query the terminal to the ILR (the terminal here includes the communication peer ), maintain the AID-RID mapping information between the terminal and the communication peer, and realize the routing and forwarding of data packets. The ILCR is also used to cooperate with other ILCRs to realize the switching of terminals across ILCRs.
本实施例中,ILCR包括下述与扩展功能相关的功能实体:In this embodiment, ILCR includes the following functional entities related to extended functions:
隧道建立模块,用于建立接入网关与ILCR之间的隧道,为终端分配RID,并将终端的AID和该RID发送到接入网关的注册注销模块和本地的映射管理模块;本实施例采用动态建立隧道的方式,即在终端接入过程中建立基于终端的隧道。The tunnel establishment module is used to establish the tunnel between the access gateway and the ILCR, distributes the RID for the terminal, and sends the terminal's AID and the RID to the registration and deregistration module of the access gateway and the local mapping management module; this embodiment adopts The method of dynamically establishing a tunnel means establishing a terminal-based tunnel during the terminal access process.
映射管理模块,用于缓存终端与通信对端的AID-RID映射信息;获知终端切出或离线时,删除该终端的AID-RID映射信息,删除该终端通信对端中与接入本ILCR的其他终端没有通信关系的通信对端的AID-RID映射信息;获知终端与通信对端通信终止后,且该通信对端与接入本ILCR的其他终端没有通信关系,则删除该通信对端的AID-RID映射信息;获知通信对端离线或与终端通信终止时,删除该通信对端的AID-RID信息;收到对端发来的终端RID更新通知后,更新本地保存的该终端的AID-RID映射信息;映射管理模块可以对接入本ILCR所有通信对端的映射信息统一管理。The mapping management module is used to cache the AID-RID mapping information between the terminal and the communication peer; when it is known that the terminal is switched out or offline, delete the AID-RID mapping information of the terminal, and delete the other communication peers of the terminal that are connected to the ILCR. The AID-RID mapping information of the communication peer with which the terminal has no communication relationship; after learning that the communication between the terminal and the communication peer has terminated, and the communication peer has no communication relationship with other terminals accessing this ILCR, delete the AID-RID of the communication peer Mapping information; when it is known that the communication peer is offline or the communication with the terminal is terminated, delete the AID-RID information of the communication peer; after receiving the terminal RID update notification from the peer, update the locally saved AID-RID mapping information of the terminal ; The mapping management module can uniformly manage the mapping information of all communication peers connected to the ILCR.
离线处理模块,用于在确定接入的终端离线时,通知映射管理模块;在确定通信对端离线时,通知映射管理模块;离线处理模块可以依据流实时检测机制,或依据收到终端离线的相关信令等来确定终端是否离线,可以根据收到的接入网关发来的终端离线通知或流实时检测机制等方式确定相应的通信对端离线。The offline processing module is used to notify the mapping management module when it is determined that the connected terminal is offline; when it is determined that the communication peer is offline, notify the mapping management module; Related signaling to determine whether the terminal is offline can determine that the corresponding communication peer is offline according to the terminal offline notification received from the access gateway or the real-time flow detection mechanism.
报文转发模块,用于收到上行数据报文后,将从映射管理模块或通信对端归属地ILR查询到的通信对端的RID和终端的RID一起封装在包含终端AID和通信对端AID的数据报文中,当终端与通信对端不属于同一ILCR时,经广义转发平面路由并转发到对端ILCR,以及将下行数据报文解封装,剥去其中的RID后发送给终端。The message forwarding module is used to encapsulate the RID of the communication peer and the RID of the terminal that are queried from the mapping management module or the ILR of the communication peer's home after receiving the uplink data message, and encapsulate the terminal AID and the communication peer AID together. In the data message, when the terminal and the communication peer do not belong to the same ILCR, it is routed through the generalized forwarding plane and forwarded to the peer ILCR, and the downlink data message is decapsulated, stripped of the RID, and then sent to the terminal.
报文转发模块包括第一转发单元和第二转发单元,其中:The message forwarding module includes a first forwarding unit and a second forwarding unit, wherein:
第一转发单元用于在收到基站发来的包含终端AID和通信对端AID的上行数据报文后,当终端与通信对端不属于同一ILCR时,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR;The first forwarding unit is used to, after receiving the uplink data message containing the terminal AID and the communication peer AID sent by the base station, when the terminal and the communication peer do not belong to the same ILCR, if the mapping management module queries the communication peer RID, encapsulating the RID of the terminal and the communication peer as the source and destination addresses in the data message, routing through the generalized forwarding plane and forwarding to the peer ILCR;
如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID,查询到的通信对端的AID-RID保存到映射管理模块。此时对数据报文,可以将该终端RID作为源地址封装在数据报文中,转发到PTF(目的地址可以是通信对端归属地PTF的RID,也可以是拜访地PTF的RID,由拜访地PTF再发送到通信对端归属地PTF,等等),由该PTF转发到对端ILCR;也可以先缓存,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中,经广义转发平面路由并转发到对端ILCR。If the RID of the communication peer cannot be queried, the ILR of the communication peer is searched for the RID of the communication peer, and the queried AID-RID of the communication peer is saved to the mapping management module. At this time, for the data message, the terminal RID can be encapsulated in the data message as the source address, and forwarded to the PTF (the destination address can be the RID of the PTF at which the communication peer belongs, or the RID of the PTF at the visiting site, and the The PTF of the communication peer is sent to the PTF of the communication peer, etc.), and the PTF is forwarded to the peer ILCR; it can also be cached first, and then the terminal and the RID of the communication peer are used as the source after querying the RID of the communication peer. The destination address is encapsulated in the data packet, routed by the generalized forwarding plane and forwarded to the peer ILCR.
第一转发单元查找终端(或通信对端)归属地ILR和/或PTF可以通过查询本地配置的终端(或通信对端)AID与其归属地ILR和/或PTF的对应关系信息来实现。The first forwarding unit may search for the ILR and/or PTF at which the terminal (or peer) belongs by querying the correspondence between the AID of the terminal (or peer) configured locally and the ILR and/or PTF at its origin.
第二转发单元用于对收到的广义转发平面发来的下行数据报文解封装,剥去其中的RID后,通过ILCR与该终端的连接发往该终端;可选地,还判断数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中。The second forwarding unit is used to decapsulate the received downlink data message from the generalized forwarding plane, strip off the RID, and send it to the terminal through the connection between the ILCR and the terminal; In this paper, whether the AID-RID mapping information of the communication peer exists in the mapping management module, and if it does not exist, it is saved in the mapping management module.
若第一转发单元根据AID判断上行数据报文中的终端与通信对端属于同一ILCR时,第一转发单元可以不进行RID的封装和/或查询RID,直接发给本ILCR第二转发单元处理,第二转发单元也不需要剥去RID的封装。当然也可以不判断,均采用上述不属于同ILCR时的方式进行封装、路由和转发。其他实施例同此。If the first forwarding unit judges according to the AID that the terminal in the uplink data message and the communication peer belong to the same ILCR, the first forwarding unit may not perform RID encapsulation and/or query the RID, and directly send it to the second forwarding unit of the ILCR for processing , the second forwarding unit also does not need to strip the RID encapsulation. Of course, it is also possible not to judge, and to perform encapsulation, routing, and forwarding in the above-mentioned manner that does not belong to the same ILCR. Other embodiments are the same.
对于属于同一ILCR的终端,是否可以将在ILCR中处理数据报文做为一种可选方式,而不是必选,即不排除ILCR并不判断终端与通信对端之间是否属于同一ILCR,应用现有IP路由机制来路由。权要中也应该体现这一点。其他实施例中也类似For terminals belonging to the same ILCR, is it possible to process data packets in ILCR as an optional method, rather than a mandatory option, that is, ILCR is not excluded and does not determine whether the terminal and the communication peer belong to the same ILCR, the application Existing IP routing mechanism to route. This should also be reflected in the bureaucracy. Similar to other embodiments
切换控制模块,用于终端在存在通信对端时移动到另一ILCR服务区域触发的切换的控制,包括切出控制单元和切入控制单元,其中:The handover control module is used to control the handover triggered by the terminal moving to another ILCR service area when there is a communication peer, including a handover control unit and a handover control unit, wherein:
切出控制单元用于实现对终端切出的控制,向终端移动到的切入ILCR发送切换请求;将切换期间收到的发送给该终端的数据报文转发给切入ILCR;在该终端切出后通知映射管理模块;可选地,将该终端通信对端的AID-RID映射信息发给切入ILCR保存。在切换期间,切出控制单元也可不将通信对端的AID-RID映射信息发给切入ILCR,此时可由切入ILCR在后续数据报文转发过程中通过查询ILR重建该映射信息。The switch-out control unit is used to control the switch-out of the terminal, and sends a switch request to the switch-in ILCR where the terminal moves; forwards the data message sent to the terminal received during the switch to the switch-in ILCR; after the terminal switches out Notify the mapping management module; optionally, send the AID-RID mapping information of the communication peer of the terminal to the cut-in ILCR for storage. During the handover, the switch-out control unit may not send the AID-RID mapping information of the communication peer to the switch-in ILCR, and at this time, the switch-in ILCR may reconstruct the mapping information by querying the ILR during the subsequent data message forwarding process.
切入控制单元,用于实现对终端切入的控制,为终端分配指向本ILCR的RID并将该终端的AID和该RID发送到映射管理模块和接入网关;以及查询对端ILCR的位置信息,向对端ILCR发送终端RID更新通知,携带该终端的AID-RID映射信息。切入控制单元可以根据终端的AID到接入网关的连接维护模块查找到该终端所有通信对端的AID,然后到映射管理模块查找到所述通信对端的RID,该RID即为对端ILCR的位置信息。其他实施例也可以如此。The cut-in control unit is used to control the cut-in of the terminal, distribute the RID pointing to the ILCR for the terminal and send the AID and the RID of the terminal to the mapping management module and the access gateway; and query the location information of the opposite end ILCR to The peer ILCR sends a terminal RID update notification, carrying the terminal's AID-RID mapping information. The cut-in control unit can find the AIDs of all communication peers of the terminal according to the AID of the terminal to the connection maintenance module of the access gateway, and then find the RID of the communication peers in the mapping management module, and the RID is the position information of the peer ILCR . Other embodiments are also possible.
需要说明的是,切出一侧向切入一侧传递终端的通信对端的AID-RID映射信息,传递终端与通信对端的通信关系信息是可选的,切入一侧也可以在终端发起通信的过程中获取这些信息。其他实施例同此。It should be noted that it is optional to transfer the AID-RID mapping information of the communication peer of the terminal to the cut-in side from the cut-out side, and to transmit the communication relationship information between the terminal and the communication peer. The cut-in side can also initiate the communication process at the terminal Get this information from. Other embodiments are the same.
身份位置寄存器和分组转发功能(ILR/PTF)位于骨干网的映射转发平面中,可以为同一实体上的两个功能模块。The identity location register and the packet forwarding function (ILR/PTF) are located in the mapped forwarding plane of the backbone network, and may be two functional modules on the same entity.
ILR用于接收对归属用户终端的注册和注销请求,维护该终端的AID-RID映射信息,以及在收到对终端的查询请求后,将请求中包含的该终端AID所对应的RID返回给查询请求方。ILR可在收到对归属用户终端的注册请求后保存或更新该终端的AID-RID映射信息,收到对归属用户终端的注销请求后将该终端的AID-RID映射信息删除或置为无效。如果收到对非归属用户终端的注册、注销请求,则转发给该终端归属地ILR处理。ILR可以与AAA服务器合设,即扩展现有AAA服务器以支持ILR功能,也可以是网络中独立的网元。The ILR is used to receive registration and deregistration requests for the home user terminal, maintain the AID-RID mapping information of the terminal, and return the RID corresponding to the terminal AID contained in the request to the query after receiving the query request for the terminal requesting party. The ILR can save or update the AID-RID mapping information of the terminal after receiving the registration request of the home user terminal, and delete or invalidate the AID-RID mapping information of the terminal after receiving the logout request of the home user terminal. If a registration or deregistration request for a non-home user terminal is received, it will be forwarded to the home ILR of the terminal for processing. The ILR can be co-located with the AAA server, that is, to extend the existing AAA server to support the ILR function, or it can be an independent network element in the network.
分组转发功能(PTF)是可选的,PTF在实体上可以与ILR合设或单独设置,用于在收到ILCR或其他PTF送达(目的地址为本PTF地址)的数据报文后,根据通信对端AID查到对应的RID(如可到ILR查找或本地查找)并作为目的地址封装在报文头后,将该数据报文经广义转发平面发送到对端ILCR。The packet forwarding function (PTF) is optional. The PTF can be set up together with the ILR or separately on the entity. The corresponding RID is found by the AID of the communication peer (for example, it can be searched in the ILR or locally) and encapsulated in the packet header as the destination address, and then the data packet is sent to the peer ILCR through the generalized forwarding plane.
如图4a所示,本架构中的主要接口沿用现有WiMAX网络中的接口,对其功能进行了扩展。包括:As shown in Figure 4a, the main interfaces in this architecture continue to use the interfaces in the existing WiMAX network, and their functions are extended. include:
●R3接口是接入网关与W-CSN之间的接口,在漫游时,R3接口是接入网关与拜访W-CSN之间的接口。接口功能与现有WiMAX网络中的R3接口功能的不同之处主要体现在以下方面:● The R3 interface is the interface between the access gateway and the W-CSN. During roaming, the R3 interface is the interface between the access gateway and the visited W-CSN. The difference between the interface function and the R3 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于向终端归属地ILR注册终端的RID;在漫游时,上述接入网关与终端归属地ILR间的控制面信令,都会由拜访地ILR通过R5接口转发给归属ILR。The control plane is used to register the RID of the terminal with the terminal's home ILR; during roaming, the above-mentioned control plane signaling between the access gateway and the terminal's home ILR will be forwarded by the visited ILR to the home ILR through the R5 interface.
R3接口的控制面还用于与ILCR建立隧道,传递终端RID信息,还可以用于传递通信对端AID信息。The control plane of the R3 interface is also used to establish a tunnel with the ILCR, transmit the RID information of the terminal, and can also be used to transmit the AID information of the communication peer.
R3接口的数据面还用于在接入网关和ILCR间的数据转发,其报文格式为:The data plane of the R3 interface is also used for data forwarding between the access gateway and the ILCR, and its message format is:
其中,源AID是发送数据报文的终端的AID,目的AID是数据报文发送到的终端的AID;接入网关在转发数据报文之前,在数据报文上增加了隧道封装,隧道封装方式有很多,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE、MIP和IPsec等,本发明不局限于任何一种特定的隧道封装方式。Among them, the source AID is the AID of the terminal sending the data message, and the destination AID is the AID of the terminal to which the data message is sent; the access gateway adds tunnel encapsulation to the data message before forwarding the data message, and the tunnel encapsulation method There are many, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE, MIP and IPsec, etc., and the present invention is not limited to any specific tunnel encapsulation method.
●R4接口是接入网关之间的接口,接口功能与现有WiMAX网络中的R4接口功能的不同之处主要体现在以下方面:The R4 interface is the interface between the access gateways. The difference between the interface function and the R4 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于用户移动时传递终端与通信对端连接信息。The control plane is used to transmit the connection information between the terminal and the communication peer when the user moves.
●R5接口是漫游时拜访W-CSN与归属W-CSN之间的接口,接口功能与现有WiMAX网络中的R5接口功能的不同之处主要体现在以下方面:●The R5 interface is the interface between the visited W-CSN and the home W-CSN during roaming. The difference between the interface function and the R5 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于向终端归属地ILR注册和注销。The control plane is used for registering and deregistering with the ILR where the terminal belongs.
在跨ILCR切换时,R5接口还是ILCR之间的接口,用于切换管理信令的传递,在通信对端之间位置变化时传递RID更新消息,ILCR间的数据转发,其数据报文在切换的不同时期可能存在下述格式:When switching across ILCRs, the R5 interface is also the interface between ILCRs, used for the transmission of switching management signaling, the transmission of RID update messages when the positions of communication peers change, and the data forwarding between ILCRs, and its data packets are switched The following formats may exist for different periods of :
当切出ILCR进行RID封装和解封装时,报文格式为:When the ILCR is switched out for RID encapsulation and decapsulation, the message format is:
当切入ILCR进行RID封装和解封装时,报文格式为:When switching to ILCR for RID encapsulation and decapsulation, the message format is:
ILCR在转发数据报文之前,在数据报文上增加了隧道封装,隧道封装方式有很多,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE和IPsec等,本发明不局限于任何一种特定的隧道封装方式。Before forwarding data packets, ILCR adds tunnel encapsulation to data packets. There are many tunnel encapsulation methods, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE and IPsec, etc. The present invention is not limited to any specific tunnel encapsulation method.
●D接口是ILCR与广义转发平面之间的接口,用于终端数据报文在ILCR与广义转发平面之间的转发。其接口的数据报文的格式为:● The D interface is the interface between the ILCR and the generalized forwarding plane, and is used for forwarding terminal data packets between the ILCR and the generalized forwarding plane. The format of the data packet of its interface is:
D接口的数据报文是在R1接口的数据报文的基础上封装了作为源地址的源RID和作为目的地址的目的RID,其中源RID是为发送数据包的终端分配的RID,目的RID是为数据包发送到的通信对端分配的RID。The data packet of the D interface encapsulates the source RID as the source address and the destination RID as the destination address on the basis of the data packet of the R1 interface. The source RID is the RID allocated for the terminal sending the data packet, and the destination RID is The RID assigned for the communication peer to which the packet is sent.
●E接口是ILCR与映射转发平面(ILR/PTF)之间的接口。● The E interface is the interface between the ILCR and the mapped forwarding plane (ILR/PTF).
控制面,用于查询和维护AID-RID映射信息。用户面,用于终端数据报文在ILCR与PTF之间的转发,其接口的数据报文的格式为:The control plane is used to query and maintain AID-RID mapping information. The user plane is used for forwarding terminal data packets between ILCR and PTF. The format of the data packets on the interface is:
E接口的数据报文也是在R1接口的数据报文的基础上封装了作为源地址的源RID,作为目的地址的RIDi,其中源RID是发送数据包的终端的RID,RIDi是映射转发平面中拜访地PTF或通信对端归属地PTF的路由地址,可由ILCR上的配置数据得到。The data packet of the E interface is also encapsulated on the basis of the data packet of the R1 interface. The source RID as the source address and the RIDi as the destination address are encapsulated. The routing address of the visited PTF or the home PTF of the communication peer can be obtained from the configuration data on the ILCR.
对于本实施例的通信网络,还存在如下变形:For the communication network of this embodiment, there are also the following variations:
第一变例,本变例中,接入网关中不存在注册注销模块功能,该功能模块在ILCR中实现。终端与通信对端的连接信息仍然由接入网关中的连接维护模块进行维护,AID-RID的映射信息也仍然由ILCR维护。此时,ILCR的隧道建立模块和切换控制模块不需要将终端的AID和为终端分配的RID发送到接入网关。In the first variation, in this variation, the function of the registration and deregistration module does not exist in the access gateway, and this function module is implemented in the ILCR. The connection information between the terminal and the communication peer is still maintained by the connection maintenance module in the access gateway, and the AID-RID mapping information is still maintained by the ILCR. At this time, the tunnel establishment module and the handover control module of the ILCR do not need to send the AID of the terminal and the RID allocated for the terminal to the access gateway.
第二变例,本变例中,由ILCR中的切出控制单元获取终端与通信对端的连接信息并通知接入网关,ILCR的离线处理模块可以根据流实时检测机制来确定终端和/或通信对端是否离线并通知接入网关,ILCR中的报文转发模块收到数据报文后,判断数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块,如未保存则传送到接入网关的连接维护模块。ILCR也可以在本地设置连接维护模块。The second variation, in this variation, the cut-out control unit in the ILCR obtains the connection information between the terminal and the communication peer and notifies the access gateway, and the offline processing module of the ILCR can determine the terminal and/or communication Whether the opposite end is offline and notifies the access gateway. After the message forwarding module in ILCR receives the data message, it judges whether the corresponding relationship between the terminal AID and the communication peer AID in the data message has been saved in the connection maintenance module. Then it is sent to the connection maintenance module of the access gateway. ILCR can also be set up locally to connect to the maintenance module.
第三变例,本变例中,如R5接口不具有传递终端RID更新通知的功能时,当终端移动导致接入的ILCR发生变化时,切入ILCR需要将终端RID更新通知经过切入接入网关、对端接入网关传递到对端ILCR。相应地,在功能模块上,ILCR的切入控制单元还用于向接入网关发送终端RID更新通知,接入网关的切入单元还用于将终端RID更新通知发送到对端接入网关,以及收到对端接入网关传送的终端RID更新通知后转发到ILCR。R3接口也需要增加此功能。The third variation, in this variation, if the R5 interface does not have the function of transmitting the terminal RID update notification, when the terminal moves and the access ILCR changes, switching to the ILCR needs to pass the terminal RID update notification through the switching access gateway, The peer access gateway transmits it to the peer ILCR. Correspondingly, on the functional module, the cut-in control unit of the ILCR is also used to send the terminal RID update notification to the access gateway, and the cut-in unit of the access gateway is also used to send the terminal RID update notification to the peer access gateway, and receive The terminal RID update notification sent by the peer access gateway is forwarded to the ILCR. R3 interface also needs to increase this function.
实施例二Embodiment two
本实施例通信网络的结构仍参照图4a,包括接入业务网络(W-ASN)、连接业务网络(W-CSN)和广义转发平面,W-ASN和W-CSN中包括的网元也与实施例一相同,与实施例一的区别在于实现SILSN所需的新功能模块所处的网元不同。The structure of the communication network in this embodiment is still referring to FIG. The same as the first embodiment, the difference from the first embodiment lies in that the network element where the new functional module required to realize the SILSN is located is different.
在本实施例中,ILCR与接入网关之间建立静态隧道,在终端到网络注册或切换时,由接入网关为终端分配指向本接入网关的RID和向ILR注册。在进行数据报文转发时,由接入网关向ILR查询AID-RID映射信息,在终端离线时,由接入网关向ILR注销该终端的RID。In this embodiment, a static tunnel is established between the ILCR and the access gateway, and when the terminal registers or switches to the network, the access gateway assigns the terminal a RID pointing to the access gateway and registers with the ILR. When data packets are forwarded, the access gateway queries the ILR for AID-RID mapping information, and when the terminal is offline, the access gateway cancels the terminal's RID from the ILR.
接入网关和ILCR的模块图如图10所示。The block diagram of the access gateway and ILCR is shown in Figure 10.
接入网关位于WiMAX接入业务网络(W-ASN)中,为用户终端提供接入服务和控制,维护终端的会话连接,为终端分配指向本接入网关的RID,到终端归属地ILR注册、注销和查询终端的RID,维护终端与通信对端的连接信息,维护终端和通信对端的AID-RID映射信息。接入网关还用于与AAA服务器配合完成对终端的认证,以及与其他AGW配合实现终端跨AGW、跨ILCR的切换。The access gateway is located in the WiMAX access service network (W-ASN), provides access services and control for user terminals, maintains the session connection of the terminal, assigns the RID pointing to the access gateway for the terminal, registers with the ILR where the terminal belongs, Log out and query the RID of the terminal, maintain the connection information between the terminal and the communication peer, and maintain the AID-RID mapping information between the terminal and the communication peer. The access gateway is also used to cooperate with the AAA server to complete the authentication of the terminal, and to cooperate with other AGWs to realize the handover of terminals across AGWs and ILCRs.
本实施例中,接入网关包括下述与扩展功能相关的功能实体:In this embodiment, the access gateway includes the following functional entities related to extended functions:
RID分配模块,用于在终端请求接入或终端切入过程中为终端分配指向本接入网关的RID,将该RID和该终端的AID发送到注册注销模块和映射管理模块。The RID allocation module is used to allocate a RID pointing to the access gateway for the terminal when the terminal requests access or the terminal cuts in, and sends the RID and the AID of the terminal to the registration deregistration module and the mapping management module.
注册注销模块,用于在收到终端AID和为该终端分配的RID后到该终端归属地ILR对该终端RID进行注册,携带该终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID。The registration and deregistration module is used to register the terminal RID at the terminal's home ILR after receiving the terminal AID and the RID allocated for the terminal, carrying the terminal's AID and RID; after learning that the terminal is offline, request the terminal's home The ILR deregisters the terminal's RID.
连接维护模块,用于保存终端与通信对端的连接信息;获知终端离线或移出后或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或与终端通信终止后,删除该通信对端与终端的连接信息。The connection maintenance module is used to save the connection information between the terminal and the communication peer; delete the connection information between the terminal and the communication peer when it is known that the terminal is offline or removed, or after the communication with the communication peer is terminated; after learning that the communication peer is offline or the communication with the terminal is terminated to delete the connection information between the communication peer and the terminal.
映射管理模块,用于缓存终端及通信对端的AID-RID映射信息并进行维护;获知终端切出或离线时,删除该终端的AID-RID映射信息,删除该终端通信对端中与接入本接入网关的其他终端没有通信关系的通信对端的AID-RID映射信息;获知终端与通信对端通信终止后,且该通信对端与接入本ILCR的其他终端没有通信关系,则删除该通信对端的AID-RID映射信息;获知通信对端离线或与终端通信终止时,删除该通信对端的AID-RID信息;收到对端发来的终端RID更新通知后更新本地保存的该终端的AID-RID映射信息。映射管理模块可以对接入本接入网关所有终端的通信对端一起管理。The mapping management module is used to cache and maintain the AID-RID mapping information of the terminal and the communication peer; when it is known that the terminal is switched out or offline, delete the AID-RID mapping information of the terminal, and delete the AID-RID mapping information of the terminal communication peer and the access book Access to the AID-RID mapping information of the communication peer that other terminals of the gateway have no communication relationship with; after learning that the communication between the terminal and the communication peer has terminated, and the communication peer has no communication relationship with other terminals accessing the ILCR, delete the communication The AID-RID mapping information of the opposite end; when the communication end is known to be offline or the communication with the terminal is terminated, delete the AID-RID information of the communication end; after receiving the terminal RID update notification sent by the opposite end, update the locally saved AID of the terminal -RID mapping information. The mapping management module can manage the communication counterparts of all the terminals connected to the access gateway together.
离线处理模块,用于在确定接入本接入网关的终端离线后,通知注册注销模块、连接维护模块和映射管理模块,可选地,存在通信对端的终端离线时,根据该终端的AID到连接维护模块查找到该终端所有通信对端的AID,再到映射管理模块或ILR查找到所述通信对端的RID,根据查到的RID向所有对端接入网关发送终端离线通知,携带该终端的AID;在确定通信对端离线时,通知连接维护模块和映射管理模块。离线处理模块可根据终端离线流程的相关信令、流实时检测机制等来确定终端离线,根据对端发来的终端离线通知、流实时检测机制等来确定通信对端离线。The offline processing module is used to notify the registration and deregistration module, the connection maintenance module and the mapping management module after determining that the terminal connected to the access gateway is offline. The connection maintenance module finds the AIDs of all communication peers of the terminal, and then finds the RIDs of the communication peers in the mapping management module or ILR, and sends a terminal offline notification to all peer access gateways according to the found RIDs, carrying the terminal's AID; when it is determined that the communication peer is offline, notify the connection maintenance module and the mapping management module. The offline processing module can determine that the terminal is offline according to the relevant signaling of the terminal offline process, the real-time flow detection mechanism, etc., and determine that the communication peer is offline according to the terminal offline notification sent by the opposite end, the real-time flow detection mechanism, etc.
数据转发模块,用于在基站和ILCR之间进行数据报文转发,收到上行数据报文且终端与通信对端不属于同一ILCR时,将从映射管理模块或通信对端归属地ILR查询到的通信对端RID和终端RID封装在包含终端AID和通信对端AID的数据报文中转发给ILCR;以及将下行数据报文解封装,剥去其中的RID后发送给终端。The data forwarding module is used to forward data packets between the base station and the ILCR. When an uplink data packet is received and the terminal and the communication peer do not belong to the same ILCR, it will query from the mapping management module or the ILR where the communication peer belongs. The communication peer RID and the terminal RID are encapsulated in a data message containing the terminal AID and the communication peer AID and forwarded to the ILCR; and the downlink data message is decapsulated, stripped of the RID, and then sent to the terminal.
包括第一转发单元和第二转发单元,其中:Including a first forwarding unit and a second forwarding unit, wherein:
第一转发单元用于在收到基站发来的包含终端AID和通信对端AID的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中,做隧道封装后转发到ILCR;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID,查询到的通信对端的AID-RID保存到映射管理模块,此时对数据报文,可以在封装了作为源地址的终端RID后转发到PTF,或在封装了作为源地址的终端RID并做隧道封装后转发到ILCR(由ILCR转发到PTF),也可以先缓存数据报文,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中,做隧道封装后转发到ILCR。The first forwarding unit is used to, after receiving the uplink data message containing the terminal AID and the communication peer AID sent by the base station, such as querying the RID of the communication peer in the mapping management module, and using the RID of the terminal and the communication peer as the source , The destination address is encapsulated in the data message, and forwarded to ILCR after tunnel encapsulation; if the RID of the communication peer cannot be found, query the RID of the communication peer at the ILR where the communication peer belongs, and save the queried AID-RID of the communication peer To the mapping management module, at this time, the data message can be forwarded to PTF after encapsulating the terminal RID as the source address, or forwarded to ILCR after encapsulating the terminal RID as the source address and doing tunnel encapsulation (forwarded by ILCR to PTF), the data message can also be cached first, and after the RID of the communication peer is inquired, the RID of the terminal and the communication peer can be encapsulated in the data message as the source and destination addresses, and forwarded to the ILCR after tunnel encapsulation.
第二转发单元用于对ILCR发来的下行数据报文解封装,剥去其中的RID和隧道封装后,通过本接入网关与该终端的连接发往该终端;可选地,判断数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中。The second forwarding unit is used to decapsulate the downlink data message sent by ILCR, strip off the RID and tunnel encapsulation, and send it to the terminal through the connection between the access gateway and the terminal; In this paper, whether the AID-RID mapping information of the communication peer exists in the mapping management module, and if it does not exist, it is saved in the mapping management module.
另外,第一转发单元和第二转发单元还可判断数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块中,如没有,保存到连接维护模块中。In addition, the first forwarding unit and the second forwarding unit can also determine whether the corresponding relationship between the terminal AID and the communication peer AID in the data message has been saved in the connection maintenance module, if not, it is saved in the connection maintenance module.
切换模块,用于终端存在通信对端时移动到另一接入网关服务区域触发的切换的控制,包括切出控制单元和切入控制单元,其中:The handover module is used to control the handover triggered by moving to another access gateway service area when the terminal has a communication peer, including a handover control unit and a handover control unit, wherein:
切出单元用于实现终端的切出,切换期间收到的发往该终端的数据报文转发到切入接入网关。切换完成后通知连接维护模块,还通知映射管理模块。可选地,切出单元将该终端与通信对端的连接信息和/或该终端通信对端的AID-RID映射信息发送到切入接入网关保存。The cut-out unit is used to realize the cut-out of the terminal, and the data message sent to the terminal received during the handover is forwarded to the cut-in access gateway. After the switching is completed, the connection maintenance module is notified, and the mapping management module is also notified. Optionally, the switching-out unit sends the connection information between the terminal and the communication peer and/or the AID-RID mapping information of the terminal's communication peer to the cut-in access gateway for storage.
切入单元用于实现终端的切入;为终端分配RID,保存该终端的AID-RID映射信息,并将该终端AID和为该终端分配的RID发送到注册注销模块;可选地,向所有对端接入网关发送终端RID更新通知,携带该终端新的AID-RID映射信息。切入网关可根据该终端的AID到连接维护模块查找到该终端所有通信对端的AID,再到映射管理模块或ILR查找到所述通信对端的RID,根据查到的RID来发送终端RID更新通知。The cut-in unit is used to realize the cut-in of the terminal; allocate RID for the terminal, save the AID-RID mapping information of the terminal, and send the terminal AID and the RID allocated for the terminal to the registration and deregistration module; optionally, to all peers The access gateway sends a terminal RID update notification, carrying new AID-RID mapping information of the terminal. The cut-in gateway can find the AIDs of all communication peers of the terminal according to the AID of the terminal to the connection maintenance module, and then find the RIDs of the communication peers in the mapping management module or ILR, and send the terminal RID update notification according to the found RID.
在WiMAX系统中,RID分配模块可以与锚定DPF合设。注册注销模块可以与接入网关的功能实体鉴权器或锚定DPF模块合设。连接维护模块可以与鉴权器或锚定DPF模块合设,当不与锚定DPF合设时,需要锚定DPF模块从数据报文中获取终端和通信对端的AID,将新的或有变化的终端AID和通信对端AID的对应关系通知给连接维护模块保存或更新。映射管理模块、数据转发模块和切换模块可以与锚定DPF合设。In the WiMAX system, the RID allocation module can be co-located with the anchor DPF. The registration and deregistration module can be co-established with the functional entity authenticator of the access gateway or the anchor DPF module. The connection maintenance module can be set up together with the authenticator or the anchor DPF module. When it is not set up together with the anchor DPF module, the anchor DPF module needs to obtain the AID of the terminal and the communication peer from the data message, and update the new or changed The corresponding relationship between the terminal AID and the communication peer AID is notified to the connection maintenance module for saving or updating. The mapping management module, data forwarding module and switching module can be co-located with the anchor DPF.
身份位置核心路由器(ILCR),位于WiMAX核心业务网络(W-CSN)中,用于维护终端的会话连接,建立接入网关与ILCR之间的隧道,以及在广义转发平面与接入网关之间路由并转发以RID格式为源地址和目的地址的数据报文,该功能作用与现有技术中的路由器没有区别。终端可以接入到归属ILCR,也可以接入到拜访ILCR。The Identity Location Core Router (ILCR), located in the WiMAX Core Service Network (W-CSN), is used to maintain the session connection of the terminal, establish a tunnel between the access gateway and the ILCR, and between the generalized forwarding plane and the access gateway Routing and forwarding the data message with the RID format as the source address and the destination address, this function is no different from that of the router in the prior art. The terminal can access the home ILCR or the visited ILCR.
本实施例中,ILCR包括下述与扩展功能相关的功能实体:In this embodiment, ILCR includes the following functional entities related to extended functions:
隧道建立模块,用于建立接入网关与ILCR之间的静态隧道,即在AGW或ILCR上电时建立基于网元级的隧道。The tunnel establishment module is used to establish a static tunnel between the access gateway and the ILCR, that is, to establish a network element-level tunnel when the AGW or the ILCR is powered on.
映射管理模块,用于在接入网关(AGW)与ILCR之间的隧道建立后缓存终端的AGW-AID-RID映射信息并进行维护,其中的AID和RID信息可以从数据报文中提取,AGW信息根据AGW与隧道的对应关系得到。The mapping management module is used to cache and maintain the AGW-AID-RID mapping information of the terminal after the tunnel between the access gateway (AGW) and the ILCR is established, wherein the AID and RID information can be extracted from the data message, and the AGW The information is obtained according to the corresponding relationship between the AGW and the tunnel.
报文转发模块,用于在广义转发平面与接入网关之间转发接入本ILCR的终端的数据报文,需要进行隧道的封装和解封装。与现有技术中的路由器没有区别。还可用于将接入网关发送到PTF的数据报文剥去隧道封装后转发到该PTF。The packet forwarding module is used for forwarding the data packets of the terminals connected to the local ILCR between the generalized forwarding plane and the access gateway, which needs to perform tunnel encapsulation and decapsulation. There is no difference from routers in the prior art. It can also be used to strip the tunnel encapsulation from the data message sent by the access gateway to the PTF and forward it to the PTF.
切换控制模块,用于当终端移动到另一ILCR服务区域的场景,包括切出控制单元和切入控制单元,该模块是可选地。其中:The handover control module is used when the terminal moves to another ILCR service area, including a handover control unit and a handover control unit, and this module is optional. in:
切出控制单元,用于控制终端移出本ILCR,根据移动目的地确定切入ILCR,向该切入ILCR发切换请求,切换期间收到的发往该终端的数据报文转发到切入ILCR,切换完成后通知映射管理模块。映射管理模块删除该终端的AGW-AID-RID映射信息。The switch-out control unit is used to control the terminal to move out of the ILCR, determine the switch-in ILCR according to the moving destination, and send a switch request to the switch-in ILCR, and forward the data message sent to the terminal received during the switch to the switch-in ILCR, after the switch is completed Notify the mapping management module. The mapping management module deletes the AGW-AID-RID mapping information of the terminal.
切入控制单元,用于控制终端接入切入ILCR。The cut-in control unit is used to control the terminal access and cut-in ILCR.
身份位置寄存器/分组转发功能(ILR/PTF)同实施例一的ILR/PTF,PTF可选。认证中心同实施例一中的认证中心。The identity location register/packet forwarding function (ILR/PTF) is the same as the ILR/PTF in Embodiment 1, and the PTF is optional. The authentication center is the same as the authentication center in Embodiment 1.
如图4a所示,本架构中的主要接口沿用现有WiMAX网络中的接口,对其功能进行了扩展。包括:As shown in Figure 4a, the main interfaces in this architecture continue to use the interfaces in the existing WiMAX network, and their functions are extended. include:
●R3接口是接入网关与W-CSN之间的接口,在漫游时,R3接口是接入网关与拜访W-CSN之间的接口。接口功能与现有WiMAX网络中的R3接口功能的不同之处主要体现在以下方面:● The R3 interface is the interface between the access gateway and the W-CSN. During roaming, the R3 interface is the interface between the access gateway and the visited W-CSN. The difference between the interface function and the R3 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于接入网向终端归属地ILR注册、注销和查询;数据面,可以用于接入网关与映射转发平面PTF间的数据转发,其数据报文的格式为:The control plane is used for the access network to register, deregister, and query the terminal's home ILR; the data plane can be used for data forwarding between the access gateway and the mapping forwarding plane PTF, and the format of the data message is:
R3接口的该数据报文是在R1接口的数据报文的基础上封装了作为源地址的源RID,作为目的地址的RIDi,其中源RID是为发送数据包的终端分配的RID,RIDi是映射转发平面中拜访地PTF或通信对端归属地PTF的路由地址,可由接入网关上的配置数据得到。The data message of the R3 interface encapsulates the source RID as the source address and the RIDi as the destination address on the basis of the data message of the R1 interface, where the source RID is the RID allocated for the terminal sending the data packet, and the RIDi is the mapping The routing address of the visited PTF or the home PTF of the communication peer in the forwarding plane can be obtained from the configuration data on the access gateway.
上述接入网关与ILR/PTF之间的控制面信令和数据面报文,在漫游时,都会由拜访ILR/PTF通过R5接口转发给归属ILR/PTF。The above-mentioned control plane signaling and data plane messages between the access gateway and the ILR/PTF will be forwarded by the visited ILR/PTF to the home ILR/PTF through the R5 interface during roaming.
或者,上述接入网关与PTF之间不进行报文转发,而由接入网关将报文做隧道封装后发送给ILCR,由ILCR剥去隧道封装后转发给PTF。接入网关和ILCR之间传递的该数据报文格式如下:Alternatively, no message forwarding is performed between the above access gateway and the PTF, but the access gateway encapsulates the message in a tunnel and sends it to the ILCR, and the ILCR strips off the tunnel encapsulation and forwards the message to the PTF. The format of the data message transmitted between the access gateway and the ILCR is as follows:
R3接口的数据面还用于在接入网关和ILCR间的数据转发,其报文格式为:The data plane of the R3 interface is also used for data forwarding between the access gateway and the ILCR, and its message format is:
接入网关和ILCR接口的数据报文在R1接口的数据报文的基础上封装了作为源地址的源RID和作为目的地址的目的RID,其中源RID是发送数据包的终端分配的RID,目的RID是数据包发送到的通信对端的RID。The data packet of the access gateway and the ILCR interface encapsulates the source RID as the source address and the destination RID as the destination address on the basis of the data packet of the R1 interface, where the source RID is the RID assigned by the terminal sending the data packet, and the destination RID is the RID of the communication peer to which the packet is sent.
接入网关在转发数据报文之前,还在数据报文上增加了隧道封装,隧道封装方式有很多,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE、MIP和IPsec等,本发明不局限于任何一种方式。Before the access gateway forwards the data message, it also adds tunnel encapsulation to the data message. There are many tunnel encapsulation methods, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE, MIP and IPsec, etc., the present invention is not limited to any of them.
●R4接口,是接入网关之间的接口,接口功能与现有WiMAX网络中的R4接口功能的不同之处主要体现在以下方面:The R4 interface is the interface between the access gateways. The difference between the interface function and the R4 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于在终端RID变化时传递终端RID更新通知,还可在切换时传递终端与通信对端的连接信息,通信对端AID-RID映射信息,在终端离线时传递终端终端离线通知。The control plane is used to transmit the terminal RID update notification when the terminal RID changes. It can also transmit the connection information between the terminal and the communication peer, the communication peer AID-RID mapping information when the terminal is switched, and transmit the terminal offline notification when the terminal is offline.
数据面,用于在终端切换时将数据报文从切出接入网关转发到切入接入网关,其报文格式在切换的不同时期可能存在下述格式:The data plane is used to forward the data message from the switch-out access gateway to the switch-in access gateway when the terminal is switched. The format of the message may have the following formats in different periods of switchover:
当切出接入网关进行RID封装和解封装时,报文格式与现有技术相同。When switching out the access gateway for RID encapsulation and decapsulation, the message format is the same as that of the prior art.
当切入接入网关进行RID封装和解封装时,报文格式为:When switching to the access gateway for RID encapsulation and decapsulation, the message format is:
●R5接口是漫游时拜访W-CSN与归属W-CSN之间的接口,接口功能与现有WiMAX网络中的R5接口功能的不同之处主要体现在以下方面:●The R5 interface is the interface between the visited W-CSN and the home W-CSN during roaming. The difference between the interface function and the R5 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于拜访ILR和归属ILR之间,或拜访ILR、中继ILR与归属ILR之间转发接入网关与终端归属地ILR之间的注册、注销和查询终端RID的信令;数据面,用于接入网关与映射转发平面间的数据转发,其数据报文的格式同R3接口。The control plane is used for forwarding the signaling of registration, deregistration and terminal RID query between the access gateway and the terminal home ILR between the visited ILR and the home ILR, or between the visited ILR, the relay ILR and the home ILR; the data plane , used for data forwarding between the access gateway and the mapping forwarding plane, and the format of the data message is the same as that of the R3 interface.
数据面,用于接入网关与映射转发平面PTF间的数据转发,其数据报文的格式同R3接口中接入网关与映射转发平面PTF间数据报文的格式。The data plane is used for data forwarding between the access gateway and the mapping and forwarding plane PTF, and the format of the data message is the same as the format of the data message between the access gateway and the mapping and forwarding plane PTF in the R3 interface.
在跨ILCR切换时,R5接口还是ILCR之间的接口,用于切换管理信令的传递,ILCR间的数据转发,其数据报文的格式为:When switching across ILCRs, the R5 interface is still the interface between ILCRs, and is used for the transfer of switching management signaling and data forwarding between ILCRs. The format of the data message is:
ILCR在转发数据报文之前,在数据报文上增加了隧道封装,隧道封装方式有很多,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE和IPsec等,本发明不局限于任何一种特定的隧道封装方式。Before forwarding data packets, ILCR adds tunnel encapsulation to data packets. There are many tunnel encapsulation methods, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE and IPsec, etc. The present invention is not limited to any specific tunnel encapsulation method.
●D接口,同实施例一中的D接口。● The D interface is the same as the D interface in the first embodiment.
●E接口,可选,数据面同实施例一中的E接口数据面,不存在控制面接口。● E interface, optional, the data plane is the same as the data plane of the E interface in Embodiment 1, and there is no control plane interface.
实施例三Embodiment Three
本实施例通信网络的结构仍参照图4a,包括接入业务网络(W-NSP)、连接业务网络(W-CSN)和广义转发平面,W-NSP和W-CSN中包括的网元也相同,区别在于实现SILSN所需的新功能模块所处的网元不同。The structure of the communication network in this embodiment still refers to Figure 4a, including the access service network (W-NSP), the connection service network (W-CSN) and the generalized forwarding plane, and the network elements included in the W-NSP and W-CSN are also the same , the difference is that the new functional modules required to realize the SILSN are located in different network elements.
本实施例中,ILCR与接入网关之间建立静态隧道,在终端向网络注册或切换时,由接入网关为终端分配指向RID、向终端归属地ILR注册该终端的RID。接入网关分配的RID应指向与本接入网关建立静态隧道的ILCR。在进行数据报文转发时由接入网关在本地或向通信对端归属地PTF查询通信对端RID,在终端离线时,接入网关向终端归属地ILR注销该终端的RID。与实施例二相比,由于分配的RID是指向与接入网关建立静态隧道的ILCR,所以数据报文的格式有所不同,进而接入网关和ILCR对数据报文头的处理有所不同。In this embodiment, a static tunnel is established between the ILCR and the access gateway. When the terminal registers or switches to the network, the access gateway assigns the terminal a pointing RID and registers the terminal's RID with the terminal's home ILR. The RID allocated by the access gateway should point to the ILCR that establishes a static tunnel with the access gateway. When data packets are forwarded, the access gateway inquires the RID of the corresponding terminal locally or from the PTF at which the corresponding terminal belongs. When the terminal is offline, the access gateway cancels the RID of the terminal to the ILR at which the terminal belongs. Compared with the second embodiment, since the allocated RID points to the ILCR establishing a static tunnel with the access gateway, the format of the data packet is different, and the processing of the data packet header by the access gateway and the ILCR is different.
其中:in:
本实施例接入网关的总体功能与实施例二相同,其中包含的注册注销模块、连接维护模块、映射管理模块和切换模块的功能也与实施例二接入网关中的相应模块相同。包含的RID分配模块和数据转发模块在具体处理上与实施例二有所区别,如下:The overall functions of the access gateway in this embodiment are the same as those in the second embodiment, and the functions of the registration and deregistration module, connection maintenance module, mapping management module and switching module contained therein are also the same as those of the corresponding modules in the second embodiment. The included RID allocation module and data forwarding module are different from Embodiment 2 in specific processing, as follows:
离线处理模块与实施例二基本相同,区别在于:因为分配的RID指向ILCR,离线处理模块在通知对端接入网关终端离线时,需要根据终端AID到连接维护模块中查找到该终端所有通信对端的AID,再从本地或通信对端AAA归属地服务器查询到对端接入网关的位置信息。也可以通过通信对端RID先发到对端ILCR,由对端ILCR转到对端接入网关。The offline processing module is basically the same as the second embodiment, the difference is: because the assigned RID points to ILCR, when the offline processing module notifies the peer access gateway that the terminal is offline, it needs to find all communication pairs of the terminal in the connection maintenance module according to the terminal AID. The AID of the end, and then query the location information of the access gateway of the opposite end from the local or the AAA server of the communication opposite end. It can also be sent to the peer ILCR first through the communication peer RID, and the peer ILCR is transferred to the peer access gateway.
RID分配模块与实施例二基本相同,区别在于为终端分配的RID是指向与本接入网关建立静态隧道的ILCR,目的地址为该RID的数据报文将被最终路由到该ILCR。The RID allocation module is basically the same as the second embodiment, the difference is that the RID allocated to the terminal points to the ILCR that establishes a static tunnel with the access gateway, and the data message whose destination address is the RID will be finally routed to the ILCR.
数据转发模块,用于在基站和ILCR之间进行数据报文转发,包括第一转发单元和第二转发单元,其中的第一转发单元与实施例二中接入网关的第一转发单元功能基本相同,只需将实施例二封装到接入网关发送到广义转发平面的数据报文中的终端RID替换为本接入网关地址。第二转发单元用于在收到来自ILCR的数据报文后,剥去该数据报文中封装的通信对端RID、接入网关地址以及隧道封装后,通过本接入网关与该终端的连接发往该终端。可选地,判断数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中。在本实施例的一种变形中,由ILCR来剥去下行数据报文中的RID后转发到接入网关,此时接入网关只需要剥去隧道封装后就可以发往该终端了,接入网关通过终端发送的报文来获取通信对端的AID-RID映射信息。The data forwarding module is used for forwarding data packets between the base station and the ILCR, including a first forwarding unit and a second forwarding unit, wherein the first forwarding unit has the same function as the first forwarding unit of the access gateway in the second embodiment Similarly, it is only necessary to replace the terminal RID encapsulated in the data packet sent by the access gateway to the generalized forwarding plane in the second embodiment with the address of the access gateway. The second forwarding unit is used to strip off the communication peer RID, access gateway address and tunnel encapsulation encapsulated in the data message after receiving the data message from the ILCR, and then pass the connection between the access gateway and the terminal sent to this terminal. Optionally, it is judged whether the AID-RID mapping information of the communication peer in the data message exists in the mapping management module, and if not, it is saved in the mapping management module. In a variant of this embodiment, the ILCR strips the RID in the downlink data message and forwards it to the access gateway. At this time, the access gateway only needs to strip the tunnel encapsulation before sending it to the terminal. The ingress gateway obtains the AID-RID mapping information of the communication peer through the message sent by the terminal.
本实施例的ILCR的总体功能与实施例二中的ILCR相同,其中包含的隧道建立模块、映射管理模块和切换控制模块的功能与实施例二ILCR中的相应模块相同,报文转发模块的具体处理上与实施例二有所区别,如下:The overall function of the ILCR of this embodiment is the same as that of the ILCR in the second embodiment, and the functions of the tunnel establishment module, the mapping management module and the switching control module included therein are the same as those of the corresponding modules in the ILCR of the second embodiment, and the details of the message forwarding module The processing is different from the second embodiment, as follows:
报文转发模块,用于在广义转发平面、映射转发平面与接入网关之间转发接入本ILCR的终端的数据报文,包括:The message forwarding module is used to forward the data message of the terminal accessing the ILCR between the generalized forwarding plane, the mapped forwarding plane and the access gateway, including:
第一转发单元,用于在收到接入网关发来的上行数据报文后,根据源AID查询本地缓存中的AGW-AID-RID映射信息,将作为源地址的接入网关地址替换为终端RID并剥去隧道封装后,根据目的地址将数据报文转发给映射转发平面或广义转发平面。The first forwarding unit is configured to query the AGW-AID-RID mapping information in the local cache according to the source AID after receiving the uplink data message sent by the access gateway, and replace the access gateway address as the source address with the terminal After the RID and the tunnel encapsulation are stripped off, the data packet is forwarded to the mapped forwarding plane or the generalized forwarding plane according to the destination address.
第二转发单元,用于在收到广义转发平面发来的下行数据报文后,根据目的AID查询本地缓存中的AGW-AID-RID映射信息,将数据报文中的目的RID替换为接入网关地址并做隧道封装后,将数据报文转发到该终端接入的接入网关。在本实施例的一种变形中,在收到广义转发平面发来的下行数据报文后,剥去数据报文中封装的RID并做隧道封装,查询本地缓存中的AGW-AID-RID映射信息,将数据报文转发到该终端接入的接入网关。The second forwarding unit is configured to query the AGW-AID-RID mapping information in the local cache according to the destination AID after receiving the downlink data message sent by the generalized forwarding plane, and replace the destination RID in the data message with the access After encapsulating the gateway address and performing tunnel encapsulation, the data packet is forwarded to the access gateway accessed by the terminal. In a modification of this embodiment, after receiving the downlink data message sent by the generalized forwarding plane, the RID encapsulated in the data message is stripped and encapsulated in a tunnel, and the AGW-AID-RID mapping in the local cache is queried information, and forward the data packet to the access gateway accessed by the terminal.
身份位置寄存器/分组转发功能(ILR/PTF)、认证中心同实施例二中的ILR/PTF和认证中心。Identity location register/packet forwarding function (ILR/PTF), authentication center are the same as ILR/PTF and authentication center in the second embodiment.
如图4a所示,本架构中的主要接口沿用现有WiMAX网络中的接口,,对其功能进行了扩展。包括:As shown in Figure 4a, the main interfaces in this architecture follow the interfaces in the existing WiMAX network, and their functions are extended. include:
●R3接口功能与现有WiMAX网络中的R3接口功能的不同之处主要体现在以下方面:●The difference between the R3 interface function and the R3 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于向归属终端地ILR注册、注销和查询终端的RID;数据面,用于接入网关与映射转发平面PTF间的数据转发,或由接入网关将报文做隧道封装后发送给ILCR,由ILCR剥去隧道封装后转发给PTF。其功能和报文格式与实施例二相同。The control plane is used to register with the ILR of the home terminal, log out and query the RID of the terminal; the data plane is used for data forwarding between the access gateway and the mapping forwarding plane PTF, or the access gateway encapsulates the message as a tunnel before sending it To the ILCR, the ILCR strips off the tunnel encapsulation and forwards it to the PTF. Its function and message format are the same as those in Embodiment 2.
R3接口的数据面还用于在接入网关和ILCR间的数据转发。其报文格式可为:The data plane of the R3 interface is also used for data forwarding between the access gateway and the ILCR. Its message format can be:
该数据报文在R1接口的数据报文的基础上封装作为源地址的AGW地址和作为目的地址的目的RID,目的RID是数据包发送到的通信对端的RID。The data message encapsulates the AGW address as the source address and the destination RID as the destination address on the basis of the data message of the R1 interface, and the destination RID is the RID of the communication peer to which the data packet is sent.
在本实施例的一个变例中,接入网关和ILCR间数据转发的报文格式也可以与实施例二相同,将发送数据包的终端的RID封装为源地址,如下:In a variant of this embodiment, the packet format for data forwarding between the access gateway and the ILCR may also be the same as in Embodiment 2, and the RID of the terminal sending the data packet is encapsulated as a source address, as follows:
此时,接入网关分配的RID地址仍指向ILCR,但接入网关中的第一转发单元不再将本接入网关地址作为源地址封装在上行数据报文中,其功能与实施例二接入网关的第一转发单元相同。而ILCR上的报文转发模块的功能可以与实施例二ILCR中的报文转发模块相同,无需进行AGW地址与源RID之间的替换,当然还是可以由ILCR剥去报文中的RID,接入网关就不需要剥去收到报文中的RID了。At this time, the RID address assigned by the access gateway still points to the ILCR, but the first forwarding unit in the access gateway no longer encapsulates the address of the access gateway as the source address in the uplink data message, and its function is similar to that of the second embodiment. The first forwarding unit of the ingress gateway is the same. The function of the message forwarding module on the ILCR can be the same as that of the message forwarding module in the ILCR in Embodiment 2, and there is no need to replace the AGW address and the source RID. Of course, the ILCR can still strip the RID in the message, and then The ingress gateway does not need to strip the RID in the received message.
●R4接口,同实施例二中的R4接口。● The R4 interface is the same as the R4 interface in the second embodiment.
●R5接口,同实施例二中的R5接口。● The R5 interface is the same as the R5 interface in the second embodiment.
●D接口,同实施例二中的D接口。● The D interface is the same as the D interface in the second embodiment.
●E接口,同实施例二中的E接口。● The E interface is the same as the E interface in the second embodiment.
实施例四Embodiment Four
本实施例中,身份位置核心路由器(ILCR)与接入网关之间建立基于终端的动态隧道,在终端向网络注册或切换时,由接入网关为终端分配RID,向ILR注册终端的RID,进行数据报文转发时由接入网关向ILR查询AID-RID映射信息,在终端离线时,由接入网关向ILR注销终端的RID。In this embodiment, a terminal-based dynamic tunnel is established between the Identity Location Core Router (ILCR) and the access gateway. When the terminal registers or switches to the network, the access gateway assigns a RID to the terminal, and registers the terminal's RID with the ILR. When data packets are forwarded, the access gateway queries the ILR for AID-RID mapping information, and when the terminal is offline, the access gateway cancels the RID of the terminal from the ILR.
本实施例的通信网络与实施例二的通信网络基本相同,只是接入网关与ILCR之间是建立动态隧道,即ILCR的功能实体“隧道建立模块”在终端接入过程中建立基于终端的隧道,此时ILCR不再需要映射管理模块,切换控制模块也不需要进行AGW-AID-RID映射信息的维护。除此之外本架构的其他功能实体及其作用与实施例二中对应的功能实体相同。The communication network of this embodiment is basically the same as the communication network of Embodiment 2, except that a dynamic tunnel is established between the access gateway and the ILCR, that is, the functional entity "tunnel establishment module" of the ILCR establishes a terminal-based tunnel during the terminal access process At this time, the ILCR no longer needs the mapping management module, and the switching control module does not need to maintain the AGW-AID-RID mapping information. In addition, other functional entities and their functions of this architecture are the same as the corresponding functional entities in Embodiment 2.
实施例五Embodiment five
本实施例中,身份位置核心路由器(ILCR)与接入网关之间建立基于终端的动态隧道,在终端向网络注册或切换时,由接入网关为终端分配RID和向ILR注册终端的RID。接入网关分配的RID应指向该接入网关连接到的ILCR。在进行数据报文转发时由接入网关向ILR查询AID-RID映射信息,在终端离线时,由接入网关向ILR注销终端的RID。In this embodiment, a terminal-based dynamic tunnel is established between the Identity Location Core Router (ILCR) and the access gateway. When the terminal registers or switches to the network, the access gateway assigns a RID to the terminal and registers the terminal's RID with the ILR. The RID assigned by the access gateway shall point to the ILCR to which the access gateway is connected. When data packets are forwarded, the access gateway queries the ILR for AID-RID mapping information, and when the terminal is offline, the access gateway cancels the RID of the terminal from the ILR.
本实施例五基于WiMAX系统实现的具有身份标识和位置分离架构的通信网络与实施例三的通信网络基本相同,只是接入网关与ILCR之间是建立动态隧道,即ILCR的功能实体“隧道建立模块”在终端接入过程中建立基于终端的隧道,此时ILCR中不再需要映射管理模块和切换控制模块进行AGW-AID-RID映射信息的维护。除此之外本架构的其他功能实体及其作用与实施例三中对应的功能实体相同。The communication network with identity identification and location separation architecture implemented based on the WiMAX system in the fifth embodiment is basically the same as the communication network in the third embodiment, except that a dynamic tunnel is established between the access gateway and the ILCR, that is, the functional entity "tunnel establishment" of the ILCR "module" establishes a terminal-based tunnel during the terminal access process. At this time, the mapping management module and switching control module in ILCR no longer need to maintain the AGW-AID-RID mapping information. In addition, other functional entities and their functions of this architecture are the same as the corresponding functional entities in Embodiment 3.
实施例六Embodiment six
本实施例中,身份位置核心路由器(ILCR)与接入网关之间建立基于终端的动态隧道,在终端向网络注册或切换时,由ILCR为终端分配RID和向ILR注册终端的RID(也可以说是注册终端的AID-RID映射信息)。ILCR分配的RID应指向该ILCR。在进行数据报文转发时由ILCR向ILR查询AID-RID映射信息,在终端离线时,由ILCR向ILR注销终端的RID。In this embodiment, a terminal-based dynamic tunnel is established between the Identity and Location Core Router (ILCR) and the access gateway. Said to be the AID-RID mapping information of the registered terminal). The RID assigned by the ILCR shall point to that ILCR. When data packets are forwarded, the ILCR queries the ILR for AID-RID mapping information, and when the terminal is offline, the ILCR cancels the RID of the terminal from the ILR.
本实施例基于WiMAX系统实现的具有身份标识和位置分离架构的通信网络包括以下几部分:The communication network with identity identification and location separation architecture implemented based on the WiMAX system in this embodiment includes the following parts:
接入网关,其功能与现有技术相同。The access gateway has the same function as the prior art.
身份位置核心路由器(ILCR),位于WiMAX核心业务网络(W-CSN)中,用于为终端分配RID,到终端归属ILR注册、注销和查询终端的RID,维护终端与通信对端的连接信息,维护终端的会话连接,维护终端和通信对端的AID-RID映射信息,以及实现数据报文的路由和转发。ILCR还用于与其他ILCR配合实现终端跨ILCR的切换。The Identity Location Core Router (ILCR), located in the WiMAX Core Service Network (W-CSN), is used to assign RIDs to terminals, register, deregister and query the RIDs of terminals at the ILR belonging to the terminals, maintain the connection information between terminals and communication peers, and maintain The session connection of the terminal maintains the AID-RID mapping information between the terminal and the communication peer, and realizes the routing and forwarding of data packets. The ILCR is also used to cooperate with other ILCRs to realize the switching of terminals across ILCRs.
如图11所示,本实施例中,ILCR包括下述与扩展功能相关的功能实体:As shown in Figure 11, in this embodiment, ILCR includes the following functional entities related to extended functions:
隧道建立模块,用于建立接入网关与ILCR之间的隧道,为终端分配RID,并将终端的AID和该RID发送到映射管理模块和注册注销模块;本实施例采用动态建立隧道的方式,即在终端接入过程中建立基于终端的隧道。The tunnel establishment module is used to establish a tunnel between the access gateway and the ILCR, assigns a RID to the terminal, and sends the terminal's AID and the RID to the mapping management module and the registration and deregistration module; this embodiment adopts the method of dynamically establishing a tunnel, That is, a terminal-based tunnel is established during the terminal access process.
注册注销模块,用于在收到终端AID和为该终端分配的RID后请求该终端归属地ILR对该终端RID进行注册,携带终端的AID和RID;获知终端离线后,请求该终端归属地ILR注销该终端的RID。The registration and deregistration module is used to request the terminal's home ILR to register the terminal RID after receiving the terminal AID and the RID allocated for the terminal, carrying the terminal's AID and RID; after learning that the terminal is offline, request the terminal's home ILR Log out of the terminal's RID.
连接维护模块,用于保存终端与通信对端的连接信息;获知终端离线或移出后或与通信对端通信终止后删除该终端与通信对端的连接信息;获知通信对端离线或与终端通信终止后,删除该通信对端与终端的连接信息。该模块是可选的,如果映射管理模块中保存有终端及通信对端AID-RID的对应关系信息,连接维护模块可以忽略。The connection maintenance module is used to save the connection information between the terminal and the communication peer; delete the connection information between the terminal and the communication peer when it is known that the terminal is offline or removed, or after the communication with the communication peer is terminated; after learning that the communication peer is offline or the communication with the terminal is terminated to delete the connection information between the communication peer and the terminal. This module is optional, and if the mapping management module stores information about the corresponding relationship between the terminal and the AID-RID of the communication peer, the connection maintenance module can be ignored.
映射管理模块,同实施例一中ILCR的映射管理模块。The mapping management module is the same as that of the ILCR in Embodiment 1.
离线处理模块,用于在确定接入的终端离线时,通知注册注销模块、映射管理模块和连接维护模块,可选地,还查询对端ILCR的位置信息,通知对端ILCR该终端离线。在确定通信对端离线时,通知映射管理模块和连接维护模块。离线处理模块可以依据流实时检测机制,或依据收到终端离线的相关信令等来确定终端是否离线,可以根据收到的终端离线通知或流实时检测机制等方式确定相应的通信对端离线。离线处理模块查询对端ILCR位置信息的方法可以是先根据终端AID到连接维护模块保存的终端与通信对端的连接信息中查到所有通信对端的AID,再用查到的AID到映射管理模块保存的通信对端AID-RID映射信息中查到对应的RID,查到的RID即为对端ILCR的位置信息。The offline processing module is used to notify the registration and deregistration module, the mapping management module and the connection maintenance module when it is determined that the connected terminal is offline. Optionally, query the location information of the peer ILCR and notify the peer ILCR that the terminal is offline. When it is determined that the communication peer is offline, the mapping management module and the connection maintenance module are notified. The offline processing module can determine whether the terminal is offline according to the real-time detection mechanism of the flow, or according to the relevant signaling that the terminal is offline, and can determine whether the corresponding communication peer is offline according to the received offline notification of the terminal or the real-time flow detection mechanism. The method for the offline processing module to query the location information of the opposite end ILCR can be to first find out the AIDs of all communication opposite ends from the connection information between the terminal and the communication opposite end saved by the terminal AID to the connection maintenance module, and then use the found AID to save in the mapping management module The corresponding RID is found in the AID-RID mapping information of the corresponding communication peer, and the found RID is the location information of the peer ILCR.
报文转发模块,具有实施例一中ILCR的报文转发模块的功能,包括第一转发单元和第二转发单元。只是在本实施例中,第一转发单元收到的上行数据报文是接入网关发来的,另外第一转发单元和第二转发单元还判断收到的数据报文中终端AID与通信对端AID的对应关系是否已保存在连接维护模块中,如没有,保存到连接维护模块中。The message forwarding module has the function of the message forwarding module of the ILCR in the first embodiment, and includes a first forwarding unit and a second forwarding unit. Only in this embodiment, the uplink data message received by the first forwarding unit is sent by the access gateway. In addition, the first forwarding unit and the second forwarding unit also judge the terminal AID and communication pair in the received data message. Whether the corresponding relationship of the terminal AID has been saved in the connection maintenance module, if not, it is saved in the connection maintenance module.
切换控制模块,包括切出控制单元和切入控制单元,其中:A switch control module, including a switch-out control unit and a switch-in control unit, wherein:
切出控制单元用于实现对终端切出的控制,当终端移动时,根据移动的目的地确定终端要移动到的切入ILCR,移动完成后通知映射管理模块和连接维护模块该终端切出,切换期间收到的发往该终端的数据报文转发到切入ILCR。可选地,将该终端与通信对端的连接信息和/或通信对端的AID-RID映射信息发送到切入ILCR。The cut-out control unit is used to control the cut-out of the terminal. When the terminal moves, it determines the cut-in ILCR to which the terminal will move according to the destination of the move. During this period, the data packets sent to the terminal received are forwarded to the cut-in ILCR. Optionally, the connection information between the terminal and the communication peer and/or the AID-RID mapping information of the communication peer are sent to the cut-in ILCR.
切入控制单元,用于实现对终端切入的控制,在终端从另一ILCR移动到本ILCR的服务区域时,为终端分配指向本ILCR的RID,将该终端的AID和该RID发送到注册注销模块并保存到映射管理模块;可选地,查询对端ILCR的位置信息(查询方法同离线处理模块),向对端ILCR发送终端RID更新通知,携带该终端的AID-RID映射信息。The cut-in control unit is used to control the cut-in of the terminal. When the terminal moves from another ILCR to the service area of the ILCR, the terminal is assigned a RID pointing to the ILCR, and the AID and the RID of the terminal are sent to the registration and deregistration module And save to the mapping management module; Optionally, query the location information of the opposite end ILCR (the query method is the same as the offline processing module), send a terminal RID update notification to the opposite end ILCR, and carry the AID-RID mapping information of the terminal.
身份位置寄存器/分组转发功能(ILR/PTF),同实施例一中的ILR/PTF。认证中心,同实施例一中的认证中心。The identity location register/packet forwarding function (ILR/PTF) is the same as the ILR/PTF in the first embodiment. The authentication center is the same as the authentication center in Embodiment 1.
如图4a所示,本架构中的主要接口沿用现有WiMAX网络中的接口,对其功能进行了扩展。包括:As shown in Figure 4a, the main interfaces in this architecture continue to use the interfaces in the existing WiMAX network, and their functions are extended. include:
●R3接口是接入网关与W-CSN之间的接口,在漫游时,R3接口是接入网关与拜访W-CSN之间的接口。接口功能与现有WiMAX网络中的R3接口功能相同。● The R3 interface is the interface between the access gateway and the W-CSN. During roaming, the R3 interface is the interface between the access gateway and the visited W-CSN. The function of the interface is the same as that of the R3 interface in the existing WiMAX network.
●R4接口是接入网关之间的接口,接口功能与现有WiMAX网络中的R4接口功能相同。● The R4 interface is the interface between the access gateways, and the function of the interface is the same as that of the R4 interface in the existing WiMAX network.
●R5接口是漫游时拜访W-CSN与归属W-CSN之间的接口,接口功能与现有WiMAX网络中的R5接口功能的不同之处主要体现在以下方面:●The R5 interface is the interface between the visited W-CSN and the home W-CSN during roaming. The difference between the interface function and the R5 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于ILCR向终端归属地ILR注册、注销终端的RID;数据面,可用于ILCR与映射转发平面PTF间的数据转发,其数据报文的格式同E接口。The control plane is used for the ILCR to register with the terminal's home ILR and cancel the terminal's RID; the data plane can be used for data forwarding between the ILCR and the mapping forwarding plane PTF, and the format of the data message is the same as the E interface.
在跨ILCR切换时,R5接口还是ILCR之间的接口,用于切换管理信令的传递,在终端RID变化时还用于向对端ILCR传递终端RID更新通知,还可用于切出ILCR向切入ILCR传递终端与通信对端的连接信息,通信对端的AID-RID映射信息。数据面,用于ILCR间的数据转发,其数据报文的格式为:When switching across ILCRs, the R5 interface is still the interface between ILCRs, used for the transmission of switching management signaling, and is also used to transmit terminal RID update notifications to the peer ILCR when the terminal RID changes, and can also be used for switching out of ILCR to switching in The ILCR transmits the connection information between the terminal and the communication peer, and the AID-RID mapping information of the communication peer. The data plane is used for data forwarding between ILCRs, and the format of the data message is:
ILCR在转发数据报文之前,在数据报文上增加了隧道封装,隧道封装方式有很多,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE和IPsec等,本发明不局限于任何一种特定的隧道封装方式。Before forwarding data packets, ILCR adds tunnel encapsulation to data packets. There are many tunnel encapsulation methods, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE and IPsec, etc. The present invention is not limited to any specific tunnel encapsulation method.
●D接口同实施例一中的D接口。● The D interface is the same as the D interface in the first embodiment.
●E接口是ILCR与映射转发平面之间的接口。● The E interface is the interface between the ILCR and the mapping forwarding plane.
控制面,用于ILCR向ILR注册、注销和查询终端的RID。用户面,用于终端数据报文在ILCR与映射转发平面PTF之间的转发,其接口的数据报文的格式为:The control plane is used for the ILCR to register with the ILR, deregister and query the RID of the terminal. The user plane is used for the forwarding of terminal data packets between the ILCR and the mapping forwarding plane PTF. The format of the data packets on the interface is:
E接口的数据报文在R1接口的数据报文的基础上封装了作为源地址的源RID和作为目的地址的RIDi,其中源RID是发送数据包的终端的RID,RIDi是映射转发平面中拜访地PTF或通信对端归属地PTF的路由地址,可由ILCR上的配置数据得到。The data packet of the E interface encapsulates the source RID as the source address and the RIDi as the destination address on the basis of the data packet of the R1 interface. The source RID is the RID of the terminal that sends the data packet, and the RIDi is the access address in the mapping forwarding plane. The local PTF or the routing address of the corresponding home PTF can be obtained from the configuration data on the ILCR.
实施例七Embodiment seven
图4b是本实施例基于Wimax网络架构实现的具有身份标识与位置分离架构的通信网络(也可以称为实现了身份标识与标置分离的WiMAX系统网络)的示意图,该通信网络包括接入业务网络(W-ASN)、连接业务网络(W-CSN)和广义转发平面,W-CSN中具有AAA代理或服务器(AAA Proxy/Server)、计费服务器、互连网关设备等Wimax架构中的原有网元,还设置了身份位置寄存器(ILR)/分组转发功能(PTF),各W-CSN中的ILR/PTF构成了映射转发平面。W-CSN中HA和/或W-核心路由器可以保留,也可以将其功能也转移到接入网关来实现。W-ASN中包括基站和接入网关,其中的接入网关在Wimax架构中的接入网关所具有的功能实体的基础上,扩展了实现SILSN所需的新功能。此外,该通信网络中的广义转发平面包括支持RID路由和转发的多个路由器,W-ASN与广义转发平面之间具有数据面接口,表示为D1接口。W-CSN与广义转发平面之间可以具有数据面接口,表示为D2,PTF通过该接口将数据报文发送到广义转发平面,由广义转发平面再发送到通信对端接入的接入网关。Fig. 4b is a schematic diagram of a communication network (also referred to as a WiMAX system network that realizes the separation of identification and labeling) implemented based on the Wimax network architecture in this embodiment. The communication network includes access services Network (W-ASN), connection service network (W-CSN) and generalized forwarding plane, W-CSN has AAA proxy or server (AAA Proxy/Server), billing server, interconnection gateway equipment and other original Wimax architecture The network element is also provided with an identity location register (ILR)/packet forwarding function (PTF), and the ILR/PTF in each W-CSN constitutes a mapping forwarding plane. The HA and/or W-core router in the W-CSN can be retained, or their functions can also be transferred to the access gateway for implementation. The W-ASN includes base stations and access gateways, where the access gateway expands the new functions needed to realize the SILSN on the basis of the functional entities of the access gateway in the Wimax architecture. In addition, the generalized forwarding plane in the communication network includes multiple routers supporting RID routing and forwarding, and there is a data plane interface between the W-ASN and the generalized forwarding plane, denoted as a D1 interface. There may be a data plane interface between the W-CSN and the generalized forwarding plane, denoted as D2, through which the PTF sends data packets to the generalized forwarding plane, and then sent by the generalized forwarding plane to the access gateway accessed by the communication peer.
本实施例中,WiMAX网络中不存在ILCR,接入网关作为对外的数据通道端点。在终端向网络注册登记或切换时,由接入网关为终端分配指向本接入网关的RID并向ILR注册终端的RID。根据业务需要,接入网关可以为一个终端分配专用的一个或多个RID,也可为多个终端分配相同的RID。在进行数据报文转发时,由接入网关向ILR查询AID-RID映射信息,在终端离线时,由接入网关向ILR注销终端的RID(也可以说是向ILR注销终端的AID-RID映射信息)。In this embodiment, the ILCR does not exist in the WiMAX network, and the access gateway serves as the endpoint of the external data channel. When the terminal registers with the network or switches over, the access gateway assigns the terminal a RID pointing to the access gateway and registers the terminal's RID with the ILR. According to service requirements, the access gateway can allocate one or more dedicated RIDs to a terminal, and can also allocate the same RID to multiple terminals. When data packets are forwarded, the access gateway queries the ILR for AID-RID mapping information. information).
本实施例的通信网络中:In the communication network of this embodiment:
接入网关位于WiMAX接入业务网络(W-ASN)中,用于为用户终端提供接入服务和控制,为终端分配指向本接入网关的RID,向终端归属地ILR注册、注销和查询终端的RID,维护终端与通信对端的连接信息,维护终端和通信对端的AID-RID映射信息,实现数据报文的路由和转发,以及与其他接入网关配合实现终端跨AGW的切换。The access gateway is located in the WiMAX access service network (W-ASN), and is used to provide access services and control for user terminals, assign RIDs pointing to the access gateway for the terminals, and register, deregister and query terminals with the ILR where the terminals belong RID, maintain the connection information between the terminal and the communication peer, maintain the AID-RID mapping information between the terminal and the communication peer, realize the routing and forwarding of data packets, and cooperate with other access gateways to realize the switching of terminals across AGWs.
本实施例中,接入网关包括下述功能实体:In this embodiment, the access gateway includes the following functional entities:
RID分配模块,同实施例二中接入网关的RID分配模块。The RID allocation module is the same as the RID allocation module of the access gateway in the second embodiment.
注册注销模块,同实施例二接入网关的注册注销模块。The registration and deregistration module is the same as the registration and deregistration module of the access gateway in the second embodiment.
连接维护模块,同实施例二中接入网关的连接维护模块。The connection maintenance module is the same as the connection maintenance module of the access gateway in the second embodiment.
映射管理模块,同实施例二中接入网关的映射管理模块。The mapping management module is the same as the mapping management module of the access gateway in the second embodiment.
数据转发模块,包括第一转发单元和第二转发单元:The data forwarding module includes a first forwarding unit and a second forwarding unit:
第一转发单元,用于收到基站发来的包含终端AID和通信对端AID的上行数据报文后,如在映射管理模块查询到通信对端的RID,将该终端和通信对端的RID作为源、目的地址封装在数据报文中发送到广义转发平面;如查询不到通信对端的RID,到通信对端归属地ILR查询通信对端的RID;,将查询到的通信对端的AID-RID保存到映射管理模块;此时对数据报文,可以在封装了作为源地址的终端RID后转发到PTF,也可以先缓存数据报文,在查询到通信对端的RID后再将该终端和通信对端的RID作为源、目的地址封装在数据报文中转发到广义转发平面。The first forwarding unit is configured to receive the uplink data message containing the terminal AID and the communication peer AID sent by the base station, if the RID of the communication peer is found in the mapping management module, and the RID of the terminal and the communication peer is used as the source 1. The destination address is encapsulated in the data message and sent to the generalized forwarding plane; if the RID of the communication peer cannot be found, query the RID of the communication peer at the ILR at the corresponding communication peer; and save the queried AID-RID of the communication peer to Mapping management module; at this time, the data message can be forwarded to the PTF after encapsulating the terminal RID as the source address, or the data message can be cached first, and then the terminal and the communication peer’s The RID, as the source and destination addresses, is encapsulated in the data packet and forwarded to the generalized forwarding plane.
第二转发单元,用于将广义转发平面发来的下行数据报文解封装,剥去其中的RID后,通过本接入网关与该终端的连接发往该终端;可选地,判断数据报文中通信对端的AID-RID映射信息在映射管理模块中是否存在,如不存在则保存到映射管理模块中。The second forwarding unit is used to decapsulate the downlink data message sent by the generalized forwarding plane, strip off the RID, and send it to the terminal through the connection between the access gateway and the terminal; optionally, judge the data message In this paper, whether the AID-RID mapping information of the communication peer exists in the mapping management module, and if it does not exist, it is saved in the mapping management module.
切换模块,同实施例二中接入网关的切换模块。The switching module is the same as the switching module of the access gateway in the second embodiment.
身份位置寄存器/分组转发功能(ILR/PTF),同实施例一中的ILR/PTF。认证中心,同实施例一中的认证中心。The identity location register/packet forwarding function (ILR/PTF) is the same as the ILR/PTF in the first embodiment. The authentication center is the same as the authentication center in Embodiment 1.
如图4b所示,本架构中的主要接口沿用现有WiMAX网络中的接口,对其功能进行了扩展。包括:As shown in Figure 4b, the main interfaces in this architecture continue to use the interfaces in the existing WiMAX network, and their functions are extended. include:
●R3接口是接入网关与W-CSN之间的接口,在漫游时,R3接口是接入网关与拜访W-CSN之间的接口。接口功能与现有WiMAX网络中的R3接口功能的不同之处主要体现在以下方面:● The R3 interface is the interface between the access gateway and the W-CSN. During roaming, the R3 interface is the interface between the access gateway and the visited W-CSN. The difference between the interface function and the R3 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于接入网关向终端归属地ILR注册、注销和查询终端的RID;数据面,用于接入网关与映射转发平面间的数据转发,其数据报文的格式为:The control plane is used for the access gateway to register with the terminal's home ILR, deregister and query the RID of the terminal; the data plane is used for data forwarding between the access gateway and the mapping forwarding plane, and the format of the data message is:
R3接口的数据报文是在R1接口的数据报文的基础上新封装了一个三层报头,新的三层报头中的源地址为源RID,目的地址为RIDi,其中源RID是发送数据包的终端的RID,RIDi是映射转发平面中拜访地PTF或通信对端归属地PTF的路由地址,可由接入网关上的配置数据得到。The data message of the R3 interface is based on the data message of the R1 interface, and a new three-layer header is encapsulated. The source address in the new three-layer header is the source RID, and the destination address is RIDi, where the source RID is the sending data packet The RID of the terminal, RIDi is the routing address mapped to the visited PTF or the home PTF of the communication peer in the forwarding plane, which can be obtained from the configuration data on the access gateway.
上述接入网关与ILR之间的控制面信令和数据面报文,在漫游时,都会由拜访ILR通过R5接口转发给归属ILR。The above-mentioned control plane signaling and data plane messages between the access gateway and the ILR will be forwarded by the visited ILR to the home ILR through the R5 interface during roaming.
●R4接口是接入网关之间的接口,接口功能与现有WiMAX网络中的R4接口功能的不同之处主要体现在以下方面:The R4 interface is the interface between the access gateways. The difference between the interface function and the R4 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于在终端RID变化时传递终端RID更新通知,还可在切换时传递终端与通信对端的连接信息,通信对端AID-RID映射信息,在终端离线时传递终端离线通知。The control plane is used to transmit the terminal RID update notification when the terminal RID changes, and also transmit the connection information between the terminal and the communication peer, the communication peer AID-RID mapping information when the terminal is switched, and transmit the terminal offline notification when the terminal is offline.
数据面,用于在终端切换时将数据报文从切出接入网关转发到切入接入网关,其报文格式在切换的不同时期可能存在下述格式:The data plane is used to forward the data message from the switch-out access gateway to the switch-in access gateway when the terminal is switched. The format of the message may have the following formats in different periods of switchover:
当切出接入网关进行RID封装和解封装时,报文格式与现有技术相同。When switching out the access gateway for RID encapsulation and decapsulation, the message format is the same as that of the prior art.
当切入接入网关进行RID封装和解封装时,报文格式为:When switching to the access gateway for RID encapsulation and decapsulation, the message format is:
●R5接口是漫游时拜访W-CSN与归属W-CSN之间的接口,接口功能与现有WiMAX网络中的R5接口功能的不同之处主要体现在以下方面:●The R5 interface is the interface between the visited W-CSN and the home W-CSN during roaming. The difference between the interface function and the R5 interface function in the existing WiMAX network is mainly reflected in the following aspects:
控制面,用于拜访ILR和归属ILR之间,或拜访ILR、中继ILR与归属ILR之间转发接入网关与终端归属地ILR之间的注册、注销和查询终端RID的信令;数据面,用于接入网关与映射转发平面间的数据转发,其数据报文的格式同R3接口。The control plane is used for forwarding the signaling of registration, deregistration and terminal RID query between the access gateway and the terminal home ILR between the visited ILR and the home ILR, or between the visited ILR, the relay ILR and the home ILR; the data plane , used for data forwarding between the access gateway and the mapping forwarding plane, and the format of the data message is the same as that of the R3 interface.
●D1接口是接入网关与广义转发平面之间的接口,用于终端数据报文在接入网关与广义转发平面之间的转发。其接口的数据报文的格式为:● The D1 interface is an interface between the access gateway and the generalized forwarding plane, and is used for forwarding terminal data packets between the access gateway and the generalized forwarding plane. The format of the data packet of its interface is:
D1接口的数据报文是在R1接口的数据报文的基础上新封装了一个三层报头,该新的三层报头中包括源RID和目的RID,其中源RID是为发送数据包的终端分配的RID,目的RID是为数据包发送到的通信对端分配的RID。The data message of the D1 interface is based on the data message of the R1 interface and encapsulates a new three-layer header. The new three-layer header includes the source RID and the destination RID, and the source RID is assigned to the terminal sending the data packet. The RID of the destination RID is the RID allocated for the communication peer to which the data packet is sent.
●D2接口是归属PTF与广义转发平面之间的接口,用于终端数据报文在归属PTF与广义转发平面之间的转发。其接口的数据报文的格式同D1接口。● The D2 interface is an interface between the home PTF and the generalized forwarding plane, and is used for forwarding terminal data packets between the homed PTF and the generalized forwarding plane. The format of the data message of the interface is the same as that of the D1 interface.
在上述所有本发明系统架构网络(简称本架构网络)中,AID标识一个终端用户身份,在本架构网络内部采用AID识别终端用户。为支持传统终端,本架构网络的AID可以采用传统网络中IPV4/IPv6的地址。In all the above-mentioned system architecture networks of the present invention (referred to as this architecture network), the AID identifies a terminal user identity, and the AID is used inside the architecture network to identify the end user. In order to support traditional terminals, the AID of the architecture network can adopt the IPV4/IPv6 addresses in the traditional network.
本架构网络中,在数据报文发送过程中,接入网关或ILCR可以根据流实时检测机制来建立、更新终端与通信对端的连接信息。In this architecture network, during the process of sending data packets, the access gateway or ILCR can establish and update the connection information between the terminal and the communication peer according to the real-time flow detection mechanism.
本架构网络中,RID可以采用现有传统网中路由器普遍支持的IPV4/IPv6地址格式,标示当前终端所在的ILCR位置。RID的作用域在本架构网络骨干网的广义转发平面。In this architecture network, the RID can use the IPV4/IPv6 address format generally supported by routers in the existing traditional network to indicate the ILCR location where the current terminal is located. The scope of the RID is in the generalized forwarding plane of the network backbone network of this architecture.
图5、图6是在实施例一通信网络的基础上,终端接入网络的流程图,该终端可以是传统终端。FIG. 5 and FIG. 6 are flowcharts of a terminal accessing the network based on the communication network in Embodiment 1, and the terminal may be a traditional terminal.
图5适用与接入网关直接获取通信对端AID的场景,本实施例以简单IP终端(即不支持移动IP的终端)为例来说明开机入网的流程,其具体步骤描述如下:Figure 5 is applicable to the scenario where the access gateway directly obtains the AID of the communication peer. In this embodiment, a simple IP terminal (that is, a terminal that does not support mobile IP) is used as an example to illustrate the process of booting into the network. The specific steps are described as follows:
步骤501,终端开机,通过基站、AGW、拜访AAA服务器与归属AAA服务器交互进行终端的接入认证流程。在此流程中,归属AAA服务器将终端的静态签约IP地址发送给AGW;In step 501, the terminal is turned on, and the access authentication process of the terminal is performed through interaction between the base station, the AGW, the visited AAA server and the home AAA server. In this process, the home AAA server sends the static contracted IP address of the terminal to the AGW;
步骤502,终端初始业务流创建流程。在此流程中可以同时创建终端的预置业务流;Step 502, the terminal initiates a service flow creation process. In this process, the preset service flow of the terminal can be created at the same time;
步骤503,终端通过动态主机配置协议(DHCP)流程获取IP地址。此IP地址即为该终端的AID;In step 503, the terminal acquires an IP address through a Dynamic Host Configuration Protocol (DHCP) process. This IP address is the AID of the terminal;
在另一实施例中,AID也可以不同于IP地址,该签约的AID同样可以保存在终端归属AAA服务器中,通过接入认证流程发送给AGW。In another embodiment, the AID may also be different from the IP address, and the subscribed AID may also be stored in the terminal's home AAA server and sent to the AGW through an access authentication process.
步骤504,由步骤503触发,在终端获取IP地址的DHCP流程中,AGW需要向ILCR发起AGW与ILCR的隧道建立流程;Step 504, triggered by step 503, in the DHCP process for the terminal to obtain an IP address, the AGW needs to initiate a tunnel establishment process between the AGW and the ILCR to the ILCR;
其中AGW与ILCR之间的隧道可以多种方式,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE、MIP和IPsec等,本发明不局限于任何一种特定的隧道方式。当采用MIP,隧道的创建、维护与现有WiMAX网络相同。Wherein the tunnel between AGW and ILCR can be in many ways, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE, MIP and IPsec etc., the present invention is not limited to any specific tunnel mode. When using MIP, the establishment and maintenance of tunnels are the same as those in existing WiMAX networks.
步骤504a,ILCR在隧道建立时,为该终端分配RID,其RID指向该ILCR。ILCR保存该终端AID与RID的映射关系;In step 504a, the ILCR allocates a RID to the terminal when the tunnel is established, and the RID points to the ILCR. The ILCR saves the mapping relationship between the terminal AID and the RID;
在实施例一的变例一中,注册注销模块是在ILCR,此时,在该步骤中由ILCR向该终端归属地ILR发起注册流程。In Variation 1 of Embodiment 1, the registration and deregistration module is in ILCR. At this time, in this step, ILCR initiates a registration process to the terminal's home ILR.
步骤504b,ILCR将为终端分配的RID在隧道建立流程中通知给AGW;Step 504b, the ILCR notifies the AGW of the RID allocated to the terminal during the tunnel establishment process;
步骤505,由步骤504触发,在建立AGW与ILCR之间的隧道时,ILCR需要向归属AAA服务器认证,获取密钥信息;Step 505, triggered by step 504, when establishing the tunnel between AGW and ILCR, ILCR needs to authenticate to the home AAA server to obtain key information;
在实施例一的变例一中,若注册注销模块是由ILCR来实现的,则在此步骤中,可以同时触发向ILCR向终端归属地ILR发起的AID注册流程,注册ILCR为终端分配的RID;In Variation 1 of Embodiment 1, if the registration and deregistration module is implemented by ILCR, then in this step, the AID registration process initiated by ILCR to the terminal's home ILR can be triggered at the same time, and the RID allocated by ILCR for the terminal can be registered ;
步骤506,若预置业务流创建未在步骤503中发生,则可以在此步骤中进行。此时还可能进行初始业务流或预置业务流的修改;In step 506, if the creation of the preset service flow does not occur in step 503, it may be performed in this step. At this time, it is also possible to modify the initial business flow or preset business flow;
步骤507,若注册注销模块是由AGW来实现的,则需要执行此步骤。AGW向终端归属地ILR发起注册流程,注册ILCR为终端分配的RID;Step 507, if the registration and deregistration module is implemented by the AGW, this step needs to be performed. The AGW initiates a registration process to the ILR where the terminal belongs, and registers the RID allocated by the ILCR for the terminal;
步骤508,归属ILR收到AGW的AID注册请求后,并保存终端当前AID-RID的映射关系;Step 508, after receiving the AID registration request from the AGW, the home ILR saves the current AID-RID mapping relationship of the terminal;
当AID注册流程是在步骤505中执行时,本步骤可以在步骤505后直接执行。When the AID registration process is performed in step 505, this step can be performed directly after step 505.
此时,终端已经成功接入网络,并可以开始进行数据报文传输。At this point, the terminal has successfully connected to the network and can start to transmit data packets.
步骤509,终端与通信对端进行数据报文传输;Step 509, the terminal and the communication peer perform data packet transmission;
步骤509a,AGW收到终端与通信对端的数据报文后,获取报文中的AID信息,建立终端与通信对端的连接信息(即终端AID与通信对端AID的映射),并缓存在本地。Step 509a, after the AGW receives the data message from the terminal and the communication peer, obtains the AID information in the message, establishes the connection information between the terminal and the communication peer (that is, the mapping between the terminal AID and the communication peer AID), and caches it locally.
在本步骤中,AGW也可以先检查本地缓存的终端与通信对端连接信息,若不存在终端与该通信对端的连接信息,再创建并缓存这两者的连接信息;In this step, the AGW may first check the locally cached connection information between the terminal and the communication peer, and if there is no connection information between the terminal and the communication peer, then create and cache the connection information of the two;
步骤509b,ILCR收到终端发送的到通信对端的数据报文后,根据该数据报文中作为目的地址的通信对端的AID查询本地缓存中的AID-RID映射信息,如查到该通信对端的RID,将该通信对端的RID作为目的地址,该终端的RID作为源地址,封装在该数据报文中(如可以封装在该数据报文新加的三层报文头中),然后将封装后的数据报文转发到广义转发平面;如没有查到通信对端的RID,将数据报文做隧道封装后转发到映射转发平面的PTF,并向通信对端归属地ILR查询通信对端的RID;Step 509b, after the ILCR receives the data message sent by the terminal to the communication peer, it queries the AID-RID mapping information in the local cache according to the AID of the communication peer as the destination address in the data message, if the AID-RID mapping information of the communication peer is found RID, the RID of the communication peer is used as the destination address, and the RID of the terminal is used as the source address, encapsulated in the data message (for example, it can be encapsulated in the newly added three-layer message header of the data message), and then the encapsulated The final data message is forwarded to the generalized forwarding plane; if the RID of the communication peer is not found, the data message is tunnel-encapsulated and forwarded to the PTF of the mapping forwarding plane, and the RID of the communication peer is inquired from the ILR of the communication peer's home;
ILCR收到通信对端发送到接入本ILCR的终端的数据报文后,剥去该数据报文中封装的RID,通过本ILCR与该终端的连接发往该终端。After the ILCR receives the data message sent by the communication peer to the terminal connected to the ILCR, it strips off the RID encapsulated in the data message and sends it to the terminal through the connection between the ILCR and the terminal.
图6适用与ILCR直接获取通信对端AID后再通知接入网关的场景,基于实施例一的第二变例的通信网络。本实施例以简单IP终端(即不支持移动IP的终端)为例来说明开机入网的流程,其具体步骤描述如下:FIG. 6 is applicable to the scenario where the ILCR directly obtains the AID of the communication peer and then notifies the access gateway, and is based on the communication network of the second variant of the first embodiment. In this embodiment, a simple IP terminal (that is, a terminal that does not support mobile IP) is used as an example to illustrate the process of booting into the network, and its specific steps are described as follows:
步骤601至步骤608,同步骤501至步骤508。Step 601 to step 608 are the same as step 501 to step 508.
步骤609,终端与通信对端进行数据报文传输。Step 609, the terminal transmits data packets with the communication peer.
步骤609a,同步骤509b。Step 609a is the same as step 509b.
步骤609b,ILCR收到终端与通信对端的数据报文后,获取报文中的AID信息,建立终端与通信对端连接信息(AID1-AID2的映射),并缓存在本地。在本步骤中,ILCR也可以先检查本地缓存的终端与通信对端连接信息,若不存在终端与该通信对端的连接信息,再创建并缓存这两者的连接信息。Step 609b: After receiving the data message from the terminal and the communication peer, the ILCR obtains the AID information in the message, establishes the connection information (mapping of AID1-AID2) between the terminal and the communication peer, and caches it locally. In this step, the ILCR may first check the locally cached connection information between the terminal and the communication peer, and if there is no connection information between the terminal and the communication peer, then create and cache the connection information of the two.
步骤610,当ILCR本地不存在终端与该通信对端的连接信息时,ILCR向AGW通知获取的终端与通信对端的连接信息(AID1-AID2的映射)。AGW本地缓存该连接信息。Step 610, when the connection information between the terminal and the communication peer does not exist locally in the ILCR, the ILCR notifies the AGW of the obtained connection information (mapping of AID1-AID2) between the terminal and the communication peer. The AGW caches the connection information locally.
图7是在本实施例二、三的基础上,终端接入网络的流程图,该终端可以是传统终端。FIG. 7 is a flow chart of a terminal accessing a network based on Embodiments 2 and 3 of this embodiment. The terminal may be a traditional terminal.
图7适用与AGW与ILCR之间在用户入网前已经静态建立隧道的场景,本实施例以简单IP终端(即不支持移动IP的终端)为例来说明开机入网的流程,其具体步骤描述如下:Figure 7 is applicable to the scenario where a tunnel has been statically established between the AGW and the ILCR before the user accesses the network. This embodiment uses a simple IP terminal (that is, a terminal that does not support mobile IP) as an example to illustrate the process of booting into the network. The specific steps are described as follows :
步骤701,AGW/ILCR上电后,根据策略或配置在AGW与ILCR之间建立静态隧道;Step 701, after the AGW/ILCR is powered on, a static tunnel is established between the AGW and the ILCR according to policies or configurations;
其中AGW与ILCR之间的隧道可以多种方式,如L2TPv3、IP-in-IP、MPLS(LDP-based和RSVP-TE based)、GRE、MIP和IPsec等,本发明不局限于任何一种特定的隧道方式。当采用MIP,隧道的创建、维护与现有WiMAX网络相同。Wherein the tunnel between AGW and ILCR can be in many ways, such as L2TPv3, IP-in-IP, MPLS (LDP-based and RSVP-TE based), GRE, MIP and IPsec etc., the present invention is not limited to any specific tunnel mode. When using MIP, the establishment and maintenance of tunnels are the same as those in existing WiMAX networks.
步骤702,终端开机,通过基站、AGW、拜访AAA服务器与归属AAA服务器交互进行终端的接入认证流程。在此流程中,归属AAA服务器将终端的静态签约IP地址发送给AGW;In step 702, the terminal is turned on, and the access authentication process of the terminal is performed through interaction between the base station, the AGW, the visited AAA server and the home AAA server. In this process, the home AAA server sends the static contracted IP address of the terminal to the AGW;
步骤703,终端初始业务流创建流程。在此流程中可以同时创建终端的预置业务流;Step 703, the terminal initiates a service flow creation process. In this process, the preset service flow of the terminal can be created at the same time;
步骤704,终端通过DHCP流程获取IP地址。此IP地址即为该终端的AID;Step 704, the terminal acquires an IP address through a DHCP process. This IP address is the AID of the terminal;
步骤704a,在获取IP地址过程中,AGW为该终端分配RID,在实施例二中RID指向该AGW,在实施例三中RID指向与该AGW存在静态隧道的ILCR,AGW保存该终端AID与RID的映射关系;Step 704a, during the process of obtaining the IP address, the AGW assigns a RID to the terminal. In the second embodiment, the RID points to the AGW. In the third embodiment, the RID points to the ILCR that has a static tunnel with the AGW. The AGW saves the terminal AID and RID mapping relationship;
步骤705,若预置业务流创建未在步骤703中发生,则可以在此步骤中进行。此时还可能进行初始业务流或预置业务流的修改。Step 705, if the creation of the preset service flow has not occurred in step 703, it can be performed in this step. At this time, it is also possible to modify the initial service flow or the preset service flow.
步骤706,AGW向终端归属地ILR发起的AID注册流程,注册AGW为终端分配的RID;Step 706, the AGW initiates the AID registration process with the terminal's home ILR, and registers the RID allocated by the AGW for the terminal;
步骤707,归属ILR收到AGW的注册请求后,并保存终端当前AID-RID的映射关系。Step 707: After receiving the registration request from the AGW, the home ILR saves the current AID-RID mapping relationship of the terminal.
此时,终端已经成功接入网络,并可以开始进行数据报文传输。At this point, the terminal has successfully connected to the network and can start to transmit data packets.
步骤708,终端与通信对端进行数据报文传输。Step 708, the terminal transmits data packets with the communication counterpart.
步骤708a,AGW收到终端与通信对端的数据报文后,获取报文中的AID信息,建立终端与通信对端连接信息(AID1-AID2的映射),并缓存在本地。在本步骤中,AGW也可以先检查本地缓存的终端与通信对端连接信息,若不存在终端与该通信对端的连接信息,再创建并缓存这两者的连接信息。Step 708a, after receiving the data message from the terminal and the communication peer, the AGW obtains the AID information in the message, establishes the connection information (mapping of AID1-AID2) between the terminal and the communication peer, and caches it locally. In this step, the AGW may first check the locally cached connection information between the terminal and the communication peer, and if there is no connection information between the terminal and the communication peer, then create and cache the connection information of the two.
基于实施例二的通信网络时,AGW收到终端发送到通信对端的数据报文后,根据该数据报文中作为目的地址的通信对端的AID查询本地缓存中的AID-RID映射信息,如查到该通信对端的RID,将该通信对端的RID作为目的地址,该终端的RID作为源地址,封装在该数据报文中(如可以封装在该数据报文新加的三层报文头中),然后将封装后的数据报文转发到ILCR;如没有查到通信对端的RID,将数据报文做隧道封装后转发到映射转发平面,并通知映射管理模块查询通信对端的RID。When based on the communication network of Embodiment 2, after the AGW receives the data message sent by the terminal to the communication peer, it queries the AID-RID mapping information in the local cache according to the AID of the communication peer as the destination address in the data message, such as querying To the RID of the communication peer, the RID of the communication peer is used as the destination address, and the RID of the terminal is used as the source address, and is encapsulated in the data message (for example, it can be encapsulated in the newly added three-layer message header of the data message) ), then the encapsulated data message is forwarded to ILCR; if the RID of the communication peer is not found, the data message is tunnel-encapsulated and forwarded to the mapping forwarding plane, and the mapping management module is notified to query the RID of the communication peer.
AGW收到来自通信对端的数据报文后,剥去该数据报文中封装的RID,恢复为通信对端发送的数据报文的格式后,通过本AGW与该终端的连接发往该终端。After the AGW receives the data message from the communication peer, it strips off the RID encapsulated in the data message, restores the format of the data message sent by the communication peer, and sends it to the terminal through the connection between the AGW and the terminal.
ILCR在AGW与广义转发平面中转发以RID格式为源地址和目的地址的数据报文。The ILCR forwards the data packets with the RID format as the source address and the destination address in the AGW and the generalized forwarding plane.
基于实施例三的通信网络时,AGW收到基站(即接入本ILCR的终端)发来的数据报文后,根据该数据报文中作为目的地址的通信对端的AID查询本地缓存中的AID-RID映射信息,如查到该通信对端的RID,将该通信对端的RID作为目的地址,该AGW的地址作为源地址,封装在该数据报文中(如可以封装在该数据报文新加的三层报文头中),然后将封装后的数据报文转发到ILCR;如没有查到通信对端的RID,将数据报文做隧道封装后转发到映射转发平面,并通知映射管理模块查询通信对端的RID。When based on the communication network of Embodiment 3, after the AGW receives the data message sent by the base station (that is, the terminal connected to the ILCR), it queries the AID in the local cache according to the AID of the communication peer as the destination address in the data message -RID mapping information, if the RID of the communication peer is found, the RID of the communication peer is used as the destination address, and the address of the AGW is used as the source address, and is encapsulated in the data message (for example, it can be encapsulated in the data message newly added Layer 3 packet header), and then forward the encapsulated data packet to ILCR; if the RID of the communication peer is not found, tunnel the data packet and forward it to the mapping forwarding plane, and notify the mapping management module to query The RID of the communication peer.
AGW收到来自ILCR的数据报文后,若ILCR未剥去该数据报文中封装的RID,则去该数据报文中封装的RID,恢复为通信对端发送的数据报文的格式后,通过本AGW与该终端的连接发往该终端。After the AGW receives the data message from the ILCR, if the ILCR does not strip the RID encapsulated in the data message, remove the RID encapsulated in the data message, restore the format of the data message sent by the communication peer, It is sent to the terminal through the connection between the AGW and the terminal.
ILCR收到外部网络发来的数据报文后,剥去数据报文中封装的RID,根据目的AID查询本地缓存中的AGW-AID-RID映射信息,然后将数据报文转发到该终端接入的AGW;或者根据目的AID查询本地缓存中的AGW-AID-RID映射信息,将数据报文中的目的RID替换为AGW的地址,然后将数据报文转发到该终端接入的AGW。After receiving the data message from the external network, ILCR strips off the RID encapsulated in the data message, queries the AGW-AID-RID mapping information in the local cache according to the destination AID, and then forwards the data message to the terminal for access or query the AGW-AID-RID mapping information in the local cache according to the destination AID, replace the destination RID in the data message with the address of the AGW, and then forward the data message to the AGW accessed by the terminal.
ILCR收到来自AGW的数据报文后,根据源AID查询本地缓存中的AGW-AID-RID映射信息,将源地址中的AGW地址替换为终端的RID,然后将数据报文转发出去。After receiving the data message from the AGW, the ILCR queries the AGW-AID-RID mapping information in the local cache according to the source AID, replaces the AGW address in the source address with the RID of the terminal, and then forwards the data message.
在上述实施例四、五基础上,终端开机接入网络的流程图,该终端可以是传统终端同样可以使用图7的流程,只是步骤701建立静态隧道的流程需要改为在步骤704后动态隧道的建立,同时会触发到AAA服务器的认证流程,如步骤505。其他步骤与图7的步骤相同。在此处不再详述。On the basis of the fourth and fifth embodiments above, the flow chart of the terminal booting up to access the network, the terminal can be a traditional terminal, and the process in Figure 7 can also be used, except that the process of establishing a static tunnel in step 701 needs to be changed to a dynamic tunnel after step 704 At the same time, the authentication process to the AAA server will be triggered, such as step 505. Other steps are the same as those in Figure 7. It will not be described in detail here.
图8是在实施例六的通信网络基础上,终端接入网络的流程图,该终端可以是传统终端。Fig. 8 is a flow chart of a terminal accessing the network based on the communication network in Embodiment 6, and the terminal may be a traditional terminal.
图8适用与AGW与ILCR之间在建立动态隧道的场景,本实施例以简单IP终端(即不支持移动IP的终端)为例来说明开机入网的流程,其具体步骤描述如下:Figure 8 is applicable to the scenario where a dynamic tunnel is being established between the AGW and the ILCR. In this embodiment, a simple IP terminal (that is, a terminal that does not support mobile IP) is used as an example to illustrate the process of booting into the network. The specific steps are described as follows:
步骤801至步骤804,同步骤501至步骤504。Step 801 to step 804 are the same as step 501 to step 504.
步骤805,由步骤804触发,在建立AGW与ILCR之间的隧道时,ILCR需要向归属AAA服务器认证,获取密钥信息。Step 805 is triggered by step 804. When establishing the tunnel between the AGW and the ILCR, the ILCR needs to authenticate with the home AAA server to obtain key information.
步骤806,同步骤506。Step 806 is the same as step 506.
步骤807,ILCR向归属ILR发起的AID注册流程,注册ILCR为终端分配的RID。In step 807, the ILCR registers the RID assigned to the terminal by the ILCR with the AID registration process initiated by the home ILR.
步骤807与步骤806之间没有必然的顺序关系。There is no necessary sequence relationship between step 807 and step 806 .
步骤808同步骤508。Step 808 is the same as step 508.
步骤809,终端与通信对端进行数据报文传输。Step 809, the terminal transmits data packets with the communication peer.
步骤809a,同步骤509b。Step 809a is the same as step 509b.
步骤809b,ILCR收到终端与通信对端的数据报文后,获取报文中的AID信息,建立终端与通信对端连接信息(AID1-AID2的映射),并缓存在本地。在本步骤中,ILCR也可以先检查本地缓存的终端与通信对端连接信息,若不存在终端与该通信对端的连接信息,再创建并缓存这两者的连接信息。Step 809b: After receiving the data message from the terminal and the communication peer, the ILCR obtains the AID information in the message, establishes the connection information (mapping of AID1-AID2) between the terminal and the communication peer, and caches it locally. In this step, the ILCR may first check the locally cached connection information between the terminal and the communication peer, and if there is no connection information between the terminal and the communication peer, then create and cache the connection information of the two.
图5、图6、图7和图8均以不支持移动IP的传统简单IP终端为例,对于传统移动IP的终端,开机入网流程与其类似,只是获取终端获取IP地址的方式由DHCP方式改为移动IP方式,在此不再详述。Figure 5, Figure 6, Figure 7, and Figure 8 all take traditional simple IP terminals that do not support mobile IP as examples. For traditional mobile IP terminals, the process of booting up and entering the network is similar, except that the way to obtain the IP address of the terminal is changed from DHCP to It is a mobile IP mode, which will not be described in detail here.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Optionally, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or they can be integrated into Multiple modules or steps are fabricated into a single integrated circuit module to realize. As such, the present invention is not limited to any specific combination of hardware and software.
为简化描述,以上所述不仅适用与WiMAX网络,也可以适用于其他移动通信网络。以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。To simplify the description, the above description is not only applicable to the WiMAX network, but also applicable to other mobile communication networks. The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (50)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200910208469.3A CN102056236B (en) | 2009-11-01 | 2009-11-01 | Communication network implemented based on Wimax network structure and terminal access method |
| PCT/CN2010/077723 WO2011050679A1 (en) | 2009-11-01 | 2010-10-14 | Communication network and terminal access method implemented based on wimax network framework |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200910208469.3A CN102056236B (en) | 2009-11-01 | 2009-11-01 | Communication network implemented based on Wimax network structure and terminal access method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102056236A true CN102056236A (en) | 2011-05-11 |
| CN102056236B CN102056236B (en) | 2014-04-30 |
Family
ID=43921316
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200910208469.3A Expired - Fee Related CN102056236B (en) | 2009-11-01 | 2009-11-01 | Communication network implemented based on Wimax network structure and terminal access method |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102056236B (en) |
| WO (1) | WO2011050679A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103095657A (en) * | 2011-11-03 | 2013-05-08 | 中兴通讯股份有限公司 | User access method and access serving router and user access system |
| CN103095536A (en) * | 2011-11-03 | 2013-05-08 | 中兴通讯股份有限公司 | User access method, access service router and user access system |
| CN102118734B (en) * | 2009-12-31 | 2014-03-12 | 中兴通讯股份有限公司 | Worldwide interoperability for microwave access (Wimax) system capable of realizing non-fixed anchor point switch and switch method thereof |
| CN108476204A (en) * | 2015-12-08 | 2018-08-31 | 汤姆逊许可公司 | Include the network equipment and each base station and Docking station of base station and Docking station |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801764A (en) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | Internet access method based on identity and location separation |
| CN101043727A (en) * | 2006-03-24 | 2007-09-26 | 华为技术有限公司 | Method for realizing target optimum selecting three-layer fast switching in evolvement network |
| WO2008017267A1 (en) * | 2006-07-31 | 2008-02-14 | Huawei Technologies Co., Ltd. | Method and system and device for processing layer three handoff |
| CN101232698A (en) * | 2007-01-23 | 2008-07-30 | 华为技术有限公司 | Method, system and terminal for shortening handover delay |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009159352A (en) * | 2007-12-27 | 2009-07-16 | Hitachi Communication Technologies Ltd | Mobile communication network |
| KR20090075567A (en) * | 2008-01-04 | 2009-07-08 | 주식회사 루키스 | Method and system for location recognition of end device moving in wireless personal area network |
| CN101483675B (en) * | 2008-01-11 | 2012-07-04 | 华为技术有限公司 | Network appliance searching method and network appliance |
-
2009
- 2009-11-01 CN CN200910208469.3A patent/CN102056236B/en not_active Expired - Fee Related
-
2010
- 2010-10-14 WO PCT/CN2010/077723 patent/WO2011050679A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801764A (en) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | Internet access method based on identity and location separation |
| CN101043727A (en) * | 2006-03-24 | 2007-09-26 | 华为技术有限公司 | Method for realizing target optimum selecting three-layer fast switching in evolvement network |
| WO2008017267A1 (en) * | 2006-07-31 | 2008-02-14 | Huawei Technologies Co., Ltd. | Method and system and device for processing layer three handoff |
| CN101232698A (en) * | 2007-01-23 | 2008-07-30 | 华为技术有限公司 | Method, system and terminal for shortening handover delay |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102118734B (en) * | 2009-12-31 | 2014-03-12 | 中兴通讯股份有限公司 | Worldwide interoperability for microwave access (Wimax) system capable of realizing non-fixed anchor point switch and switch method thereof |
| CN103095657A (en) * | 2011-11-03 | 2013-05-08 | 中兴通讯股份有限公司 | User access method and access serving router and user access system |
| CN103095536A (en) * | 2011-11-03 | 2013-05-08 | 中兴通讯股份有限公司 | User access method, access service router and user access system |
| CN103095536B (en) * | 2011-11-03 | 2017-06-30 | 南京中兴新软件有限责任公司 | A kind of user access method, access service router and subscriber access system |
| CN108476204A (en) * | 2015-12-08 | 2018-08-31 | 汤姆逊许可公司 | Include the network equipment and each base station and Docking station of base station and Docking station |
| US10855848B2 (en) | 2015-12-08 | 2020-12-01 | Interdigital Ce Patent Holdings | Network apparatus comprising a base station and a docking station, and respective base station and docking station |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2011050679A1 (en) | 2011-05-05 |
| CN102056236B (en) | 2014-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102045692B (en) | Communication network realized by network architecture based on separation of control surfaces and media surface | |
| CN102025702B (en) | Network based on identity and position separation frame, and backbone network and network element thereof | |
| CN101601255B (en) | Lightweight mobility architecture | |
| CN102045693B (en) | Information reporting/notifying, switching and data forwarding method, AN and ILR | |
| CN102196402B (en) | The method and system of terminals in wireless communication systems switching | |
| CN101951589B (en) | Method for information acquisition/notification, data message retransmission and switching and access node | |
| CN102123378B (en) | Method for switching terminal and corresponding communication network | |
| CN102056151B (en) | System for implementing mobile communication based on WCDMA core network and terminal access method | |
| CN102025599B (en) | Method/system for initiating communication, forwarding of information/data packets, and routing configuration | |
| CN102056236B (en) | Communication network implemented based on Wimax network structure and terminal access method | |
| CN103997459B (en) | Initiate communication, the forwarding of information/data message and method for configuring route/system | |
| EP2071807A1 (en) | Advanced Mobile IP system employing distributed home agents | |
| CN102025791A (en) | Method and system for distributing position identification and sending massage | |
| CN102137467B (en) | WiMAX (Worldwide Interoperability for Microwave Access) system for switching without fixed anchors and switching method thereof | |
| CN102170628B (en) | Realize the Wimax system without fixed anchor point switching and changing method thereof | |
| CN102137468B (en) | Realize the Wimax system without fixed anchor point switching and changing method thereof | |
| CN103095580A (en) | Location information query method, policy server, location server and system | |
| CN103108300B (en) | Location updating method and mobile router access service router | |
| CN102170674B (en) | Wimax (worldwide interoperability for microwave access) system capable of realizing non-mooring anchor switching and switching method of system | |
| JP2004289659A (en) | Mobile communication system, communication device used for mobile communication system, and mobile IP terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140430 Termination date: 20171101 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |