CN1794872A - Method of stopping conversation in radio access network - Google Patents
Method of stopping conversation in radio access network Download PDFInfo
- Publication number
- CN1794872A CN1794872A CN 200510085625 CN200510085625A CN1794872A CN 1794872 A CN1794872 A CN 1794872A CN 200510085625 CN200510085625 CN 200510085625 CN 200510085625 A CN200510085625 A CN 200510085625A CN 1794872 A CN1794872 A CN 1794872A
- Authority
- CN
- China
- Prior art keywords
- session
- asn
- mip
- address
- poa
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种无线接入网中会话中止方法。包括A、ANS-DP触发会话中止流程,将中止会话信息发送给移动IP(MIP)客户端代理,所述的会话信息,包含中止会话ID;B、MIP客户端代理按照中止信息中的中止会话ID进行依次处理,如果释放第一会话ID后,第一会话ID所对应的PoA地址还有对应的其他会话,则进入步骤D,否则进入步骤C;C、MIP客户端代理发起第一中止会话的MIP去注册操作;D、MIP客户端代理将需要中止的第一会话信息进行处理,并中止该第一会话;E、重复步骤B,直至所有需要中止会话ID都判断完成;F、MIP客户端代理向ASN-GWDP单元发送会话中止结果消息。本发明可以解决一个隧道上建立多个会话时,一个或者多个或者所有该隧道上的会话中止问题。
The invention discloses a session termination method in a wireless access network. Including A. ANS-DP triggers the session termination process, and sends the termination session information to the mobile IP (MIP) client agent. The session information includes the termination session ID; B. The MIP client agent terminates the session according to the termination information in the termination information. IDs are processed sequentially, if after the first session ID is released, the PoA address corresponding to the first session ID has other corresponding sessions, then enter step D, otherwise enter step C; C, the MIP client agent initiates the first abort session The MIP de-registration operation; D, the MIP client agent will process the first session information that needs to be terminated, and terminate the first session; E, repeat step B until all judgments that need to terminate the session ID are completed; F, the MIP client The end agent sends a session termination result message to the ASN-GWDP unit. The present invention can solve the problem of one or more or all sessions on the tunnel being terminated when multiple sessions are established on one tunnel.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种无线接入网中会话中止方法。The invention relates to the communication field, in particular to a session termination method in a wireless access network.
背景技术Background technique
随着因特网业务的蓬勃发展和无线网络的广泛应用,通用分组无线业务(GPRS)、第三代移动通信(3G)、微波接入全球互通(WiMAX)和后3G(B3G)等无线系统得到了大量的应用和关注。用户数目的增加和用户需求的增大为无线接入网系统提供了新的需求:要求能够支持大容量,大数据量和不同服务质量要求的多种业务。也就是多会话管理的功能。With the vigorous development of Internet services and the wide application of wireless networks, wireless systems such as General Packet Radio Service (GPRS), Third Generation Mobile Communications (3G), Worldwide Interoperability for Microwave Access (WiMAX) and post 3G (B3G) have gained Lots of applications and attention. The increase in the number of users and the increase in user requirements provide new requirements for the wireless access network system: it is required to support multiple services with large capacity, large data volume and different service quality requirements. That is, the function of multi-session management.
无线接入网主要完成提供业务提供网络和移动用户之间的分组业务转发或路由的功能。不考虑接入网中的其他内部设备,我们在随后的技术描述时将采用图1所示的网络架构体系。图1中的各个网元的功能解释如下:The wireless access network mainly completes the function of forwarding or routing packet services between the service provisioning network and mobile users. Regardless of other internal devices in the access network, we will use the network architecture system shown in Figure 1 in the subsequent technical description. The functions of each network element in Figure 1 are explained as follows:
接入服务网络(ASN):ASN定义为为WiMAX终端提供无线接入服务的网络功能集合,ASN包含了基站(BS)和接入服务网络网关(ASN-GW)网元。ASN主要提供如下功能:Access service network (ASN): ASN is defined as a set of network functions that provide wireless access services for WiMAX terminals. ASN includes base station (BS) and access service network gateway (ASN-GW) network elements. ASN mainly provides the following functions:
BS的功能:BS functions:
-提供BS和移动用户站(MSS)的L2连接- Provides L2 connectivity between BS and Mobile Subscriber Station (MSS)
-无线资源管理- Radio resource management
-测量与功率控制-Measurement and power control
-空口数据的压缩与加密- Compression and encryption of air interface data
ASN-GW的功能:Functions of ASN-GW:
-为MSS认证、授权和计费功能提供proxy功能- Provide proxy function for MSS authentication, authorization and accounting functions
-支持网络业务供应商(NSP)的网络发现和选择-Support network discovery and selection of Network Service Provider (NSP)
-为MSS提供L3信息的Relay功能(如IP地址分配)- Provide MSS with L3 information relay function (such as IP address allocation)
-无线资源管理- Radio resource management
-ASN-GW从逻辑功能上可以分为(接入服务网络网关决策点)ASN-GW DP功能和(接入服务网络网关执行点)ASN-GW EP功能,其中DP主要是处理的一些控制面功能的实体,而EP是处理数据面功能的实体。在本发明中并不限定他们在物理位置上是否分离。-ASN-GW can be divided into (Access Service Network Gateway Decision Point) ASN-GW DP function and (Access Service Network Gateway Execution Point) ASN-GW EP function in terms of logical function, where DP is mainly for processing some control planes The entity of the function, and the EP is the entity that handles the function of the data plane. Whether they are physically separated or not is not limited in the present invention.
-ASN-CSN之间隧道管理,相当于移动IP技术中的外部代理(FA)除了上述功能以外,还可以包括(非必选功能):- Tunnel management between ASN-CSN, which is equivalent to the external agent (FA) in mobile IP technology. In addition to the above functions, it can also include (optional functions):
-ASN内切换-Intra-ASN switching
-MSS寻呼和位置管理-MSS paging and location management
-拜访位置注册-Visit location registration
Authenticator+Proxy MIP Client:(在PMIP情况下,Authenticator和MIP客户端代理;在CMIP情况下,仅仅为Authenticator)Authenticator+Proxy MIP Client: (In the case of PMIP, Authenticator and MIP client proxy; in the case of CMIP, only Authenticator)
-为MSS认证、授权和计费功能提供proxy功能- Provide proxy function for MSS authentication, authorization and accounting functions
-代理MIP客户端的角色,将MSS的IP地址绑定到HA上,建立起针对该IP地址的FA到HA之间的隧道。-The role of acting as a MIP client, binds the IP address of the MSS to the HA, and establishes a tunnel between the FA and the HA for the IP address.
连接服务网络(CSN):CSN定义为为WiMAX终端提供IP连接服务。CSN主要提供如下功能:Connection Service Network (CSN): CSN is defined as providing IP connection services for WiMAX terminals. CSN mainly provides the following functions:
-MSS的IP地址分配- IP address allocation for MSS
-Internet接入-Internet access
-(认证、鉴权、计费代理)AAA proxy或者server-(authentication, authentication, billing proxy) AAA proxy or server
-基于用户的授权控制-User-based authorization control
-ASN到CSN的隧道,相当于移动IP技术中的家乡代理(HA)- The tunnel from ASN to CSN is equivalent to the home agent (HA) in mobile IP technology
-WiMAX用户的计费以及运营商之间的结算- Billing of WiMAX users and settlement between operators
-漫游情况下CSN之间的隧道- Tunnel between CSNs in case of roaming
-ASN之间的切换-Switching between ASNs
-各种WiMAX服务(如基于位置的业务、多媒体多播和广播业务、IP多媒体子系统业务)-Various WiMAX services (such as location-based services, multimedia multicast and broadcast services, IP multimedia subsystem services)
MSS:MSS为移动用户设备,用户使用该设备接入WiMAX网络。MSS: MSS is a mobile user equipment, and the user uses this equipment to access the WiMAX network.
从ASN IP承载的数据面来看,下行的MSS的分组业务数据报从CSN的HA通过HA与ASN中的ASN-GW之间的建立的隧道(R3接口),传送到ASN中,并由ASN-GW经过ASN内部接口发送到BS上,然后利用BS与MSS之间的R1接口将MSS的数据发送到MSS上。上行的数据报也经过从MSS发送到ASN中,并且经过ASN GW和HA之间的隧道发送到外网中。From the perspective of the data plane carried by the ASN IP, the downlink MSS packet service datagram is transmitted from the HA of the CSN to the ASN through the established tunnel (R3 interface) between the HA and the ASN-GW in the ASN, and sent by the ASN -GW sends to BS through ASN internal interface, and then utilizes R1 interface between BS and MSS to send data of MSS to MSS. Uplink datagrams are also sent from MSS to ASN, and sent to the external network through the tunnel between ASN GW and HA.
从会话业务层面上看,任何一个MSS和业务网络之间的会话(session)都需要利用ASN的IP承载和传输的功能。但是针对不同的会话,有可能所有的会话都是通过同一个ASN-GW与HA的隧道承载的,也有可能是不同的会话由ASN-GW与HA之间的不同隧道承载的,还有可能不同的会话是由ASN-GW与不同的CSN中的HA建立的隧道承载的。在移动IP的概念中,对于一个MSS如果存在多条隧道,那么对该MSS将会有多个PoA地址。From the aspect of session service, any session (session) between an MSS and a service network needs to utilize the IP bearer and transmission functions of the ASN. However, for different sessions, it is possible that all sessions are carried by the same tunnel between ASN-GW and HA, or that different sessions are carried by different tunnels between ASN-GW and HA, or different The session is carried by the tunnel established between the ASN-GW and the HA in different CSNs. In the concept of mobile IP, if there are multiple tunnels for an MSS, there will be multiple PoA addresses for the MSS.
因此在会话中止的时候,针对不同的情况,会话中止的过程也将有所不同。如何及时有效地完成会话中止过程,对于系统资源的再利用和系统容量的提高都是很重要的。本发明将提出改进的在会话中止时的会话管理方法。Therefore, when the session is terminated, the process of the session termination will be different for different situations. How to complete the session termination process in a timely and effective manner is very important for the reuse of system resources and the improvement of system capacity. The present invention will propose an improved method of session management when a session is terminated.
在PMIP模式下,MIP的客户端代理在ASN中,MIP的建立/释放等请求和响应消息的处理对于MSS是透明的,MIP的客户端代理或者通过FA或者直接和HA之间完成所有的MIP的建立/释放等请求和响应消息的发起和接收操作,从而建立/释放ASN-GW与HA之间的IP隧道。In PMIP mode, the MIP client agent is in the ASN, and the processing of MIP establishment/release and other request and response messages is transparent to the MSS. The MIP client agent completes all MIP through FA or directly with HA. Initiation and reception of request and response messages such as establishment/release, so as to establish/release the IP tunnel between ASN-GW and HA.
在移动IP(MIP)过程中,MIP的客户端是在MSS上面的,MSS或者通过FA或者直接和HA之间完成所有的MIP的建立/释放等请求和响应消息的发起和接收操作从而建立/释放ASN-GW与HA之间的IP隧道。对于这种模式,我们称之为CMIP。In the mobile IP (MIP) process, the MIP client is on the MSS, and the MSS completes all MIP establishment/release and response message initiation and reception operations through the FA or directly with the HA to establish/release Release the IP tunnel between ASN-GW and HA. For this mode, we call it CMIP.
现有技术1,在提案050607_NWG_01r8_PMIP-Inter-ASN-mobility-accepted中提出了基于PMIP的会话中止的方法和流程,ASN-GW DP单元在触发了会话中止过程后,向ASN中承担移动IP客户端功能的网元发起了会话中止请求(R3_Session_Release.Request),并提供该MSS的标识,从而由MIP的客户端发起了释放FA与HA之间的隧道的MIP去注册过程。直到MIP客户端接收到了MIP去注册的响应,MIP客户端才将会话中止结果通过会话中止响应(R3_Session_Release.Reply)返回给ASN-GW DP单元。从而完成了整个会话中止过程。整个过程如下图2所示。Prior art 1, in the proposal 050607_NWG_01r8_PMIP-Inter-ASN-mobility-accepted, a PMIP-based session termination method and process are proposed. After the session termination process is triggered, the ASN-GW DP unit assumes the mobile IP client to the ASN. The functional network element initiates a session termination request (R3_Session_Release.Request) and provides the identifier of the MSS, so that the MIP client initiates the MIP de-registration process for releasing the tunnel between the FA and the HA. Until the MIP client receives the MIP de-registration response, the MIP client returns the session termination result to the ASN-GW DP unit through the session termination response (R3_Session_Release.Reply). This completes the entire session termination process. The whole process is shown in Figure 2 below.
S011、ASN-GW DP单元在触发了会话中止过程后,向ASN中的MIP客户端代理发起了会话中止请求(R3_Session_Release.Request),并在消息中提供该MSS的标识,通知MIP客户端代理发起释放该MSS的FA与HA之间的隧道的MIP去注册过程;S011, after the ASN-GW DP unit triggers the session termination process, it initiates a session termination request (R3_Session_Release.Request) to the MIP client agent in the ASN, and provides the identifier of the MSS in the message, and notifies the MIP client agent to initiate Release the MIP de-registration process of the tunnel between the FA and HA of the MSS;
S012、MIP客户端代理在MIP注册请求中将Lifetime设置为0发到FA中。S012. The MIP client agent sets the Lifetime to 0 in the MIP registration request and sends it to the FA.
S013、ASN-GW FA转发接收到的MSS的MIP去注册请求到HA。S013. The ASN-GW FA forwards the received MIP de-registration request of the MSS to the HA.
S014、HA释放注册消息中所要求的取消绑定的PoA地址对应的FA与HA之间的隧道;并将去注册响应发给FA。S014. The HA releases the tunnel between the FA corresponding to the unbound PoA address requested in the registration message and the HA; and sends a de-registration response to the FA.
S015、FA转发去注册响应发给MIP客户端代理。S015. The FA forwards the de-registration response to the MIP client agent.
S016、MIP客户端代理接收到去注册响应之后,发起了会话中止响应消息(R3_Session_Release.Request)给ASN-GW DP单元,并在消息中提供该MSS的标识,通知ASN-GWDP单元该MSS的会话已经中止。S016, after the MIP client agent receives the de-registration response, it initiates a session termination response message (R3_Session_Release.Request) to the ASN-GW DP unit, and provides the MSS identifier in the message, and notifies the ASN-GWDP unit of the session of the MSS has been aborted.
如果一个隧道承载了多个会话,那么采用现有技术1的方法,任何一个会话的中止过程都将导致承载在同一隧道上的其他所有会话也同时中止。也就是说本方法不适合多个会话同时承载在一条ASN-GW与HA之间的隧道上的情况。If a tunnel carries multiple sessions, then using the method of prior art 1, the termination process of any session will cause all other sessions carried on the same tunnel to be terminated at the same time. That is to say, this method is not suitable for the situation that multiple sessions are simultaneously carried on a tunnel between the ASN-GW and the HA.
再者,当对于该MSS有多条隧道承载多个会话的时候,不能迅速地处理多条隧道上的会话中止过程,无法有效地处理会话中止的过程。Furthermore, when multiple tunnels carry multiple sessions for the MSS, the session termination process on the multiple tunnels cannot be handled quickly, and the session termination process cannot be effectively processed.
现有技术2,是在提案050602_NWG_05_Client_MIP_Architecture-accepted中提出基于CMIP的会话中止的流程和方法,主要是针对MIP的客户端在MSS上面的时候的处理过程。ASN-GW DP单元在触发了会话中止过程后,向ASN-GWFA(EP)发起了会话中止请求(R3_Session_Release.Request),并提供该MSS的标识,由ASN-GW FA向该MSS发出FA广告,通知在MSS上的MIP客户端发起释放FA与HA之间的隧道的MIP去注册过程。直到HA响应了MIP去注册的响应,并被ASN-GW FA中继给MSS后,ASN-GW FA才将会话中止结果通过会话中止响应(R3_Session_Release.Reply)返回给ASN-GW DP单元。从而完成了整个会话中止过程。整个过程如图3所示。Prior art 2 proposes a process and method for CMIP-based session termination in the proposal 050602_NWG_05_Client_MIP_Architecture-accepted, mainly for the processing process when the MIP client is on the MSS. After the ASN-GW DP unit triggers the session termination process, it initiates a session termination request (R3_Session_Release.Request) to the ASN-GWFA (EP), and provides the identification of the MSS, and the ASN-GW FA sends an FA advertisement to the MSS, Notify the MIP client on the MSS to initiate the MIP de-registration process for releasing the tunnel between the FA and the HA. The ASN-GW FA returns the session termination result to the ASN-GW DP unit through the session termination response (R3_Session_Release.Reply) until the HA responds to the MIP registration response and is relayed to the MSS by the ASN-GW FA. This completes the entire session termination process. The whole process is shown in Figure 3.
S021、ASN-GW DP单元在触发了会话中止过程后,向ASB-GW FA(EP)发起了会话中止请求(R3_Session_Release.Request),并在消息中提供该MSS的标识。S021. After triggering the session termination process, the ASN-GW DP unit initiates a session termination request (R3_Session_Release.Request) to the ASB-GW FA (EP), and provides the identifier of the MSS in the message.
S022、ASN-GW FA向该MSS发出FA广告,通知在MSS上的MIP客户端发起释放FA与HA之间的隧道的MIP去注册过程。S022. The ASN-GW FA sends an FA advertisement to the MSS, notifying the MIP client on the MSS to initiate a MIP de-registration process for releasing the tunnel between the FA and the HA.
S023、MSS客户端在MIP注册请求中将Lifetime设置为0发到FA中。S023. The MSS client sets the Lifetime to 0 in the MIP registration request and sends it to the FA.
S024、ASN-GW FA转发接收到的MSS的MIP去注册请求到HA。S024. The ASN-GW FA forwards the received MIP de-registration request of the MSS to the HA.
S025、HA释放注册消息中所要求的取消绑定的PoA地址对应的FA与HA之间的隧道;并将去注册响应发给FA。S025. The HA releases the tunnel between the FA corresponding to the unbound PoA address requested in the registration message and the HA; and sends a de-registration response to the FA.
S026、FA转发去注册响应发给MSS。S026. The FA forwards the de-registration response to the MSS.
S027、同时FA发送会话中止响应(R3_Session_Release.Reply),并在消息中提供该MSS的标识。S027. Simultaneously, the FA sends a session termination response (R3_Session_Release.Reply), and provides the identifier of the MSS in the message.
如果一个隧道承载了多个会话,那么采用现有技术2的方法,任何一个会话的中止过程都将导致承载在同一隧道上的其他所有会话也同时中止。也就是说现有技术2的方案不适合多个会话同时承载在一条ASN-GW与HA之间的隧道上的情况。If a tunnel carries multiple sessions, then using the method of prior art 2, any session termination process will cause all other sessions carried on the same tunnel to also be terminated at the same time. That is to say, the solution of the prior art 2 is not suitable for the situation that multiple sessions are simultaneously carried on a tunnel between the ASN-GW and the HA.
再者,当对于该MSS有多条隧道承载多个会话的时候,不能迅速地处理多条隧道上的会话中止过程,无法有效地处理会话中止的过程。Furthermore, when multiple tunnels carry multiple sessions for the MSS, the session termination process on the multiple tunnels cannot be handled quickly, and the session termination process cannot be effectively processed.
发明内容Contents of the invention
本发明提供一种无线接入网中会话中止方法,用以解决现有技术中存在的会话中止过程不能同时适用于多个会话承载在相同隧道上的问题。The invention provides a session termination method in a wireless access network, which is used to solve the problem that the session termination process in the prior art cannot be simultaneously applied to multiple sessions carried on the same tunnel.
本发明方法包括:The inventive method comprises:
一种无线接入网中会话中止方法,其特征在于,包括以下步骤:A method for session termination in a wireless access network, comprising the following steps:
A、ANS-DP触发会话中止流程,将中止会话信息发送给移动IP(MIP)客户端代理,所述的会话信息,包含中止会话ID;A, ANS-DP triggers the session suspension process, and the suspension session information is sent to the mobile IP (MIP) client agent, and the session information includes the suspension session ID;
B、MIP客户端代理按照中止信息中的中止会话ID进行依次处理,如果释放第一会话ID后,第一会话ID所对应的PoA地址还有对应的其他会话,则进入步骤D,否则进入步骤C;B. The MIP client agent performs sequential processing according to the suspension session ID in the suspension information. If the first session ID is released, the PoA address corresponding to the first session ID has other corresponding sessions, then enter step D, otherwise enter step C;
C、MIP客户端代理发起第一中止会话的MIP去注册操作;C, the MIP client agent initiates the MIP de-registration operation of the first aborted session;
D、MIP客户端代理将需要中止的第一会话信息进行处理,并中止该第一会话;D. The MIP client agent processes the first session information that needs to be terminated, and terminates the first session;
E、重复步骤B,直至所有需要中止会话ID都判断完成;E. Repeat step B until all the session IDs that need to be terminated are judged to be completed;
F、MIP客户端代理向ASN-GW DP单元发送会话中止结果消息。F. The MIP client agent sends a session termination result message to the ASN-GW DP unit.
所述的中止会话信息中,还携带有中止会话附着点(POA)地址和/或中止会话家乡代理(HA)地址。The suspended session information also carries the suspended session Point of Attachment (POA) address and/or the suspended session Home Agent (HA) address.
所述的步骤A中,所述的中止会话信息,还包括所述的中止会话ID对应的POA地址所对应的会话ID,所述的步骤B中,所述的其他会话,获取于所述的中止会话信息。In the step A, the suspended session information also includes the session ID corresponding to the POA address corresponding to the suspended session ID, and in the step B, the other sessions are obtained from the Abort session information.
所述的MIP客户端代理存储有中止会话附着点(POA)地址和/或中止会话家乡代理(HA)地址。The MIP client agent stores an out-of-session Point of Attachment (POA) address and/or an out-of-session Home Agent (HA) address.
所述的方法,MIP客户端代理存储有所述的中止会话ID对应的POA地址所对应的会话ID,所述的步骤B中,所述的其他会话,获取于所述的MIP客户端代理。In the method, the MIP client proxy stores the session ID corresponding to the POA address corresponding to the suspended session ID, and in the step B, the other sessions are obtained from the MIP client proxy.
所述的步骤C包括:Described step C comprises:
C1、MIP客户端代理发起MIP去注册,将(移动用户站)MSS的POA地址和HA地址通过消息转发至ASN-GW FA,在所述的消息中,设置去注册标识;C1, the MIP client agent initiates the MIP to go to register, and the POA address and the HA address of the (mobile subscriber station) MSS are forwarded to the ASN-GW FA by a message, and in the message, the deregistration flag is set;
C2、ASN-GW FA将所述的消息转发至HA,通知HA释放该POA地址邦定的隧道;C2. The ASN-GW FA forwards the message to the HA, and notifies the HA to release the tunnel bound by the POA address;
C3、HA经ASN-GW FA向MIP客户端代理发送MIP去注册响应。C3. The HA sends a MIP de-registration response to the MIP client agent via the ASN-GW FA.
所述的步骤D包括:Described step D comprises:
D1、在MIP客户端代理中更新所述的MSS对应的会话表和会话信息,并执行会话结束操作;D1, update the session table and session information corresponding to the MSS in the MIP client agent, and perform the session end operation;
D2、将相关中止会话信息从MIP客户端代理发送至ASN-GW FA,在ASN-GW FA对该会话资源进行释放;D2. Send the relevant abort session information from the MIP client agent to the ASN-GW FA, and release the session resource at the ASN-GW FA;
D3、ASN-GW FA将会话中止操作结果信息发送给MIP客户端代理。D3. The ASN-GW FA sends the session termination operation result information to the MIP client agent.
所述的步骤D3中,所述的操作结果信息中,包含所有需要中止会话的处理结果。In the step D3, the operation result information includes all processing results that need to terminate the session.
所述的步骤F中,所述的会话中止结果消息中,包含所有需要中止会话的处理结果。In the step F, the session termination result message includes all processing results that need to terminate the session.
一种无线接入网中会话中止方法,其特征在于,包括以下步骤:A method for session termination in a wireless access network, comprising the following steps:
A、ANS-DP触发会话中止流程,将中止会话信息发送给MIP客户端代理,所述的会话信息,包含中止会话ID;A, ANS-DP triggers the session suspension process, and sends the suspension session information to the MIP client agent, and the session information includes the suspension session ID;
B、MIP客户端代理对于每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是就进入C,否则进入步骤D;B, MIP client agent is processed successively for each suspension session, judges whether this suspension session is the last session of corresponding PoA address, if just enter C, otherwise enter step D;
C、MIP客户端代理发起第一POA对应会话的MIP去注册操作;C. The MIP client agent initiates the MIP de-registration operation of the session corresponding to the first POA;
D、在MIP客户端将需要中止会话信息进行处理,并中止所述会话;D. The MIP client will need to terminate the session information for processing, and terminate the session;
E、重复步骤B,直至所有会话ID对应的POA地址都判断完成;E. Repeat step B until the POA addresses corresponding to all session IDs are judged;
F、MIP客户端代理向ASN-GW DP单元发送会话中止结果消息。F. The MIP client agent sends a session termination result message to the ASN-GW DP unit.
一种无线接入网中会话中止方法,其特征在于,包括以下步骤:A method for session termination in a wireless access network, comprising the following steps:
A、接入服务网络决策点(ANS-DP)触发会话中止流程,将中止会话信息发送给(接入服务网络网关外部代理)ASN-GW FA单元,所述的会话信息,包含中止会话ID;A, the access service network decision point (ANS-DP) triggers the session termination process, and the suspension session information is sent to the (access service network gateway external agent) ASN-GW FA unit, and the session information includes the suspension session ID;
B、ASN-GWFA单元获取第一POA地址对应的第一会话ID,并判断第一会话ID是否包含于所述的中止会话ID,如果是进入步骤C,如果否,进入步骤D;B. The ASN-GWFA unit obtains the first session ID corresponding to the first POA address, and judges whether the first session ID is included in the suspended session ID, if yes, enter step C, if not, enter step D;
C、MSS单元发起第一POA对应会语的MIP去注册操作;C. The MSS unit initiates the MIP de-registration operation of the session corresponding to the first POA;
D、在ASN-GW FA单元将需要中止会话信息进行处理,并中止该会话;D. The ASN-GW FA unit will need to terminate the session information for processing, and terminate the session;
E、重复步骤B,直至所有POA对应的会话ID都判断完成;E. Repeat step B until the session IDs corresponding to all POAs are judged to be completed;
F、ASN-GW FA向ASN-GW DP单元发送会话中止结果消息。F. The ASN-GW FA sends a session termination result message to the ASN-GW DP unit.
所述的步骤A中,所述的中止会话消息,还包括所述的第一POA地址对应的第一会话ID,所述的步骤B中,所述的第一会话ID,获取于所述的中止会话消息。In the step A, the abort session message also includes the first session ID corresponding to the first POA address, and in the step B, the first session ID is obtained from the Abort session message.
所述的第一POA地址对应的第一会话消息,存储于ASN-GWDP,所述的步骤B中,所述的第一会话ID,获取于所述ASN-GW DP。The first session message corresponding to the first POA address is stored in the ASN-GWDP, and in the step B, the first session ID is obtained in the ASN-GW DP.
所述的步骤C包括:Described step C comprises:
C1、ASN-GWFA向MSS发送外部代理(FA)广告消息,通知MSS需要将该PoA地址对应的隧道释放;C1. The ASN-GWFA sends an external agent (FA) advertisement message to the MSS, notifying the MSS that the tunnel corresponding to the PoA address needs to be released;
C2、MIP客户端发起MIP去注册过程,通过去注册消息将MSS的PoA地址,转发地址发到ASN-GW FA上,在该消息中设置去注册标识;C2, the MIP client initiates the MIP de-registration process, sends the PoA address of the MSS and the forwarding address to the ASN-GW FA through the de-registration message, and sets the de-registration identifier in the message;
C3、FA将该去注册消息转发给HA,通知HA释放该MSS的PoA地址绑定的FA到HA之间的隧道;C3. The FA forwards the de-registration message to the HA, and notifies the HA to release the tunnel between the FA and the HA bound to the PoA address of the MSS;
C4、HA将MIP去注册响应消息经FA发送给MIP客户端代理。C4. The HA sends the MIP de-registration response message to the MIP client agent through the FA.
所述的步骤C1中,通过ASN-GW FA向MSS发送FA广告消息来完成通知。In the step C1, the notification is completed by sending the FA advertisement message to the MSS through the ASN-GW FA.
所述的步骤C1中,所述的FA广告消息中,将FA广告消息通知MSS对应的PoA地址的去注册。In the step C1, in the FA advertisement message, the FA advertisement message notifies the MSS of de-registration of the corresponding PoA address.
所述的FA广告消息中,将所述的IP头中的目的地址设置为PoA地址。In the FA advertisement message, the destination address in the IP header is set as the PoA address.
所述的步骤C1中,ASN-GW FA通过与BS之间的R6接口上的信令/消息与BS与MSS之间的空中接口管理面消息完成通知。In the step C1, the ASN-GW FA completes the notification through the signaling/message on the R6 interface between the BS and the air interface management plane message between the BS and the MSS.
所述的步骤D包括:Described step D comprises:
D1、在ASN-GW FA中更新该MSS对应的会话表和信息,并执行会话结束的操作。D1. Update the session table and information corresponding to the MSS in the ASN-GW FA, and perform the operation of session termination.
所述的步骤F中,所述的结果消息中,包含所有需要中止会话的处理结果。In the step F, the result message includes all processing results that need to terminate the session.
一种无线接入网中会话中止方法,其特征在于,包括以下步骤:A method for session termination in a wireless access network, comprising the following steps:
A、ANS-DP触发会话中止流程,将中止会话信息发送给MIP客户端代理,所述的会话信息,包含中止会话ID;A, ANS-DP triggers the session suspension process, and sends the suspension session information to the MIP client agent, and the session information includes the suspension session ID;
B、ASN-GW FA对于每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是就进入C,否则进入步骤D;B. ASN-GW FA processes each suspended session sequentially, and judges whether the suspended session is the last session of the corresponding PoA address, and if so, enters C, otherwise enters step D;
C、ASN-GW FA发起第一POA对应会话的MIP去注册操作;C. ASN-GW FA initiates the MIP de-registration operation of the session corresponding to the first POA;
D、在MIP客户端将需要中止会话信息进行处理,并中止所述会话;D. The MIP client will need to terminate the session information for processing, and terminate the session;
E、重复步骤B,直至所有会话ID对应的POA地址都判断完成;E. Repeat step B until the POA addresses corresponding to all session IDs are judged;
F、ASN-GW FA向ASN-GW DP单元发送会话中止结果消息。F. The ASN-GW FA sends a session termination result message to the ASN-GW DP unit.
本发明可以解决一个隧道上建立多个会话时,一个或者多个或者所有该隧道上的会话中止过程,可以解决多个隧道上建立多个会话时,一个或者多个或者所有隧道上的会话中止过程,包括部分隧道上所有会话中止,而部分隧道上部分会话中止的情况,本发明方案简单,易于实现。The present invention can solve the problem of one or more or all sessions on one tunnel being terminated when multiple sessions are established on one tunnel, and can solve the problem of one or more or all sessions on one or more tunnels being terminated when multiple sessions are established on multiple tunnels process, including the suspension of all sessions on some tunnels and the suspension of some sessions on some tunnels, the solution of the invention is simple and easy to implement.
附图说明Description of drawings
图1为现有技术中WiMAX网络结构示意图;FIG. 1 is a schematic diagram of a WiMAX network structure in the prior art;
图2为现有技术1的流程示意图;Fig. 2 is a schematic flow chart of prior art 1;
图3为现有技术2的流程示意图;Fig. 3 is a schematic flow chart of prior art 2;
图4为本发明实施例1中,发起MIP去注册流程示意图;FIG. 4 is a schematic diagram of the process of initiating MIP de-registration in Embodiment 1 of the present invention;
图5为本发明实施例1中,中止会话的流程示意图;FIG. 5 is a schematic flow chart of aborting a session in Embodiment 1 of the present invention;
图6为本发明实施例2的中止会话的流程示意图;FIG. 6 is a schematic flow chart of aborting a session in Embodiment 2 of the present invention;
图7为本发明实施例3的中止会话的流程示意图;FIG. 7 is a schematic flow chart of aborting a session in Embodiment 3 of the present invention;
图8为本发明实施例5中,发起MIP去注册流程示意图;FIG. 8 is a schematic diagram of the process of initiating MIP de-registration in Embodiment 5 of the present invention;
图9为本发明实施例5中,中止会话的流程示意图;FIG. 9 is a schematic flow diagram of aborting a session in Embodiment 5 of the present invention;
图10为本发明实施例6的中止会话的流程示意图。FIG. 10 is a schematic flow chart of aborting a session according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面结合说明书附图来说明本发明的具体实施方式。The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings.
本发明提出一种在无线接入网中,支持MSS多会话情况下的会话中止过程。能够在发生会话中止的时候,有效地释放会话资源而不对其他正在进行的会话产生影响。针对PMIP和CMIP模式,本发明可以有多个方案,分别叙述如下:The invention proposes a session termination process in the case of supporting MSS multi-session in a wireless access network. When a session is terminated, session resources can be effectively released without affecting other ongoing sessions. For PMIP and CMIP modes, the present invention can have multiple schemes, which are described as follows:
方案1:针对PMIP模式,可以有多个中止过程,描述如下。Scheme 1: For the PMIP mode, there may be multiple abort processes, which are described as follows.
实施例1Example 1
在PMIP模式下,MIP的客户端代理在ASN中,MIP的建立/释放等请求和响应消息的处理对于MSS是透明的,MIP的客户端代理或者通过FA或者直接和HA之间完成所有的MIP的建立/释放等请求和响应消息的发起和接收操作。在PMIP模式下的切换过程包括以下步骤:In PMIP mode, the MIP client agent is in the ASN, and the processing of MIP establishment/release and other request and response messages is transparent to the MSS. The MIP client agent completes all MIP through FA or directly with HA. Initiation and reception of request and response messages such as establishment/release. The switching process in PMIP mode includes the following steps:
S11、首先,ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理,例如:Session ID,MI中的附着点地址(PoA),对应的HA地址,MSS ID等,考虑到有可能是中止一批会话,这些会话信息将一组含Session ID,PoA地址,HA地址的表。S11. First, when ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent in the R3_Session_Release.Request message, for example: Session ID, point of attachment address (PoA) in MI, corresponding HA address, MSS ID, etc. Considering that a batch of sessions may be terminated, these session information will be a set of tables including Session ID, PoA address, and HA address.
在现有技术中,该消息里面仅仅包含了MSS ID,这些在单会话情况下是完全足够的,因为单会话情况下,对于任何一个MSS只会由一个PoA地址,也只需要通知绑定了该MSS信息的HA释放和ASN-GW之间的隧道,但是在MSS多会话的情况下,可能不同的会话是承载在HA与ASN-GW的不同的隧道上的,还有可能的是可能是不同的HA与该ASN-GW之间的隧道,那么就需要增加session ID,PoA地址,HA地址的列表,针对该MSS的每个会话,都有这么一个三元组,有多少个需要中止的该MSS的会话就会有在消息中有多少个这样的三元组,从而构成了个三元组表。所以为了明确要释放的隧道,可以携带HA地址、PoA地址。同时,通过会话ID可以在ASN-GW中进行相应的会话管理工作,例如中止对于该会话的计费,通知计费系统关于该会话的计费信息等。而且没有会话ID的话都不能明确该中止哪个会话,所以会话ID也是需要携带的。In the existing technology, the message only contains the MSS ID, which is completely sufficient in the case of a single session, because in the case of a single session, there will only be one PoA address for any MSS, and only need to notify the binding The HA release of the MSS information and the tunnel between ASN-GW, but in the case of MSS multi-session, different sessions may be carried on different tunnels between HA and ASN-GW, and it is also possible that For tunnels between different HAs and the ASN-GW, it is necessary to add a list of session ID, PoA address, and HA address. For each session of the MSS, there is such a triplet. How many need to be terminated? The MSS session will have how many such triples in the message, thus forming a triple table. Therefore, in order to clarify the tunnel to be released, the HA address and PoA address can be carried. At the same time, through the session ID, corresponding session management work can be performed in the ASN-GW, such as suspending the charging for the session, notifying the charging system of the charging information about the session, and so on. And if there is no session ID, it is not clear which session should be terminated, so the session ID also needs to be carried.
在实现方式上,上述POA地址和HA地址的获取,可以在MIP客户端代理上会存储某个MSS的某个会话对应的PoA地址和HA地址,这样,就可以在MIP客户端代理上获取这两个信息,当然这就对于MIP客户端代理或者ASN-GW FA提出了要求,需要他们存储MSS ID+会话ID对应的PoA地址和HA地址的对应表。In terms of implementation, the acquisition of the above POA address and HA address can store the PoA address and HA address corresponding to a session of a certain MSS on the MIP client agent, so that these can be obtained on the MIP client agent Two pieces of information. Of course, this requires the MIP client agent or ASN-GW FA to store the PoA address corresponding to the MSS ID+session ID and the corresponding table of the HA address.
S12、在MIP客户端代理先分析中止会话ID所对应的PoA地址(即相应的一个FA到HA的承载隧道),对应的所有的会话ID是不是都是在R3_Session_Release.Request消息中所带的需要中止的会话ID。如果是,进入步骤S121,如果否,进入步骤S122。S12, the MIP client agent first analyzes the PoA address corresponding to the suspension session ID (that is, a corresponding bearer tunnel from FA to HA), whether all the corresponding session IDs are required in the R3_Session_Release.Request message The aborted session ID. If yes, go to step S121, if not, go to step S122.
由于中止会话ID对应的POA地址是确定的,而该POA对应的会话ID是不确定的,其有可能多于中止会话ID,也有可能等于该中止会话ID。对于消息中的每个PoA地址都需要这么分析,主要是看多少个不同的PoA地址,就会有多少个S12这个过程。也就是说过程S12是需要重复执行多次的。Since the POA address corresponding to the suspended session ID is definite, but the session ID corresponding to the POA is uncertain, it may be more than the suspended session ID, or may be equal to the suspended session ID. Each PoA address in the message needs to be analyzed in this way, mainly to see how many different PoA addresses there are, and how many S12s there will be in this process. That is to say, the process S12 needs to be repeated many times.
S121、如果中止会话ID所对应的PoA地址,所对应的所有的会话的ID都是在R3_Session_Release.Request消息中所带的需要中止的会话ID,则针对该PoA地址,按照现有技术1第二步以后的方法(除开R3_Session_Release.Reply消息),由MIP客户端代理或者MSS发起MIP的去注册过程。如图4所示,是该去注册流程示意图,从图4中可见,主要包括以下步骤:S121. If the PoA address corresponding to the session ID is terminated, and the IDs of all the corresponding sessions are the session IDs that need to be terminated in the R3_Session_Release.Request message, then for the PoA address, according to the prior art 1, the second After the step (except for the R3_Session_Release.Reply message), the MIP client agent or MSS initiates the MIP de-registration process. As shown in Figure 4, it is a schematic diagram of the de-registration process. It can be seen from Figure 4 that it mainly includes the following steps:
S1211、MIP客户端代理发起MIP去注册过程,通过MIP Registration Request消息将MSS的PoA地址,转发地址发到ASN-GW FA上,在该消息中将lifetime设为0,即去注册。S1211. The MIP client agent initiates the MIP de-registration process, sends the PoA address and forwarding address of the MSS to the ASN-GW FA through the MIP Registration Request message, and sets the lifetime to 0 in the message, that is, de-registers.
S1212、FA将该MIP Registration Request转发给HA1,通知HA1释放该MSS的PoA地址绑定的FA到HA1之间的隧道。S1212. The FA forwards the MIP Registration Request to HA1, and notifies HA1 to release the tunnel between FA and HA1 bound to the PoA address of the MSS.
S1213、HA1将MIP去注册响应发回FA。S1213. HA1 sends the MIP de-registration response back to the FA.
S1214、FA再将该消息转发给MIP客户端代理。这样完成了一个MIP去注册过程。S1214. The FA then forwards the message to the MIP client agent. This completes a MIP de-registration process.
S122、如果中止会话ID所对应的PoA地址,对应的所有的会话的ID不是都在R3_Session_Release.Request消息中所带的需要中止的会话ID,那么就仅仅在MIP客户端将需要中止的会话信息进行处理,并中止该会话。S122. If the PoA address corresponding to the session ID is terminated, and the IDs of all the corresponding sessions are not all the session IDs that need to be terminated in the R3_Session_Release.Request message, then only the session information that needs to be terminated is performed on the MIP client. process, and abort the session.
如图5所示,是该处理过程的流程示意图,从图中可见,主要包括以下步骤:As shown in Figure 5, it is a schematic flow chart of the processing process, as can be seen from the figure, it mainly includes the following steps:
S1221、在MIP客户端代理中更新该MSS对应的会话表和信息,并执行会话结束的相关操作。S1221. Update the session table and information corresponding to the MSS in the MIP client proxy, and perform related operations for session termination.
S1222、将MSS标识、会话标识及其他有关的会话信息(为提高处理效率,会是一组或一个,都对应同一个PoA,也可针对每个会话都有一个Session_Release.Request/Reply消息,但是效率比较低)通过会话中止申请消息(Session_Release.Request)从MIP客户端代理发送到ASN-GW FA上。S1222, MSS identification, session identification and other relevant session information (in order to improve processing efficiency, can be one group or one, all corresponding to same PoA, also can have a Session_Release.Request/Reply message for each session, but The efficiency is relatively low) is sent from the MIP client agent to the ASN-GW FA through the session termination application message (Session_Release.Request).
S1223、在ASN-GW FA上进行对该会话的资源释放等过程以后,由ASN-GW FA通过会话中止响应消息(Session_Release.Reply)将在ASN-GW FA中的会话中止操作的结果返回给MIP客户端代理。S1223. After the resource release process of the session is performed on the ASN-GW FA, the result of the session termination operation in the ASN-GW FA is returned to the MIP by the ASN-GW FA through a session termination response message (Session_Release.Reply) client proxy.
S13、重复步骤S12直到消息中所有的PoA地址对应的会话处理完毕,也即对于所有在中止会话消息中所涉及到的隧道都进行相应会话中止处理。S13. Step S12 is repeated until the sessions corresponding to all PoA addresses in the message are processed, that is, corresponding session termination processing is performed for all tunnels involved in the session termination message.
S14、在步骤S13处理完毕以后,MIP客户端代理将会话中止结果消息通过会话中止响应消息(R3_Session_Release.Reply,此消息对于每个在R3_Session_Release.Request消息中的会话ID都有相应的处理结果)返回给ASN-GW DP单元。从而完成了整个会话中止过程。S14, after the step S13 is processed, the MIP client agent returns the session termination result message through the session termination response message (R3_Session_Release.Reply, this message has a corresponding processing result for each session ID in the R3_Session_Release.Request message) To the ASN-GW DP unit. This completes the entire session termination process.
实施例2Example 2
一条隧道上承载多个会话时,中止其中一个会话的过程(采用PMIP方式),如图6所示,是该过程的流程示意图,主要包括以下步骤:When multiple sessions are carried on one tunnel, the process of aborting one session (using PMIP mode), as shown in Figure 6, is a schematic flow diagram of the process, which mainly includes the following steps:
S21、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理,消息中包括:SessionID,MIP中的附着点地址(PoA),对应的HA地址,MSS ID等会话信息。S21. When ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent in the R3_Session_Release.Request message. The message includes: SessionID, the point of attachment address (PoA) in MIP, and the corresponding HA address, MSS ID and other session information.
S22、在MIP客户端代理判断即使该会话中止后,其PoA还有对应其他正在进行的会话,则更新该MSS对应的会话表和信息,并执行会话结束的相关操作;S22. After the MIP client agent judges that even after the session is terminated, its PoA also corresponds to other ongoing sessions, then update the session table and information corresponding to the MSS, and perform related operations for session termination;
S23、然后将MSS标识、会话标识及其他有关的会话信息通过会话中止申请消息(Session_Release.Request)从MIP客户端代理发送到ASN-GW FA上,在ASN-GW FA上进行对该会话的资源释放等过程;S23, then MSS identification, session identification and other relevant session information are sent from the MIP client agent to the ASN-GW FA through the session termination application message (Session_Release.Request), and resources for the session are performed on the ASN-GW FA process of release;
S24、由ASN-GW FA通过会话中止响应消息(Session_Release.Reply)将在ASN-GW FA中的会话中止操作的结果返回给MIP客户端代理;S24, the result of the session termination operation in the ASN-GW FA is returned to the MIP client agent by the ASN-GW FA through a session termination response message (Session_Release.Reply);
S25、MIP客户端代理将会话中止结果通过会话中止响应(R3_Session_Release.Reply)返回给ASN-GW DP单元。从而完成了整个会话中止过程。S25. The MIP client agent returns the session termination result to the ASN-GW DP unit through a session termination response (R3_Session_Release.Reply). This completes the entire session termination process.
其中重要的消息格式定义为:
实施例3Example 3
中止一条隧道上的所有会话过程(采用PMIP方式),如图7所示,是该过程的流程示意图,主要包括以下步骤:Terminate all session processes on a tunnel (using the PMIP mode), as shown in Figure 7, which is a schematic flow chart of the process, mainly including the following steps:
S31、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理,消息中包括:SessionID,MIP中的附着点地址(PoA),对应的HA地址,MSS ID等会话信息。S31. When ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent in the R3_Session_Release.Request message. The message includes: SessionID, the point of attachment address (PoA) in MIP, and the corresponding HA address, MSS ID and other session information.
S32、MIP客户端代理发现会话中止消息中的PoA地址只有一个,而且对应该PoA的所有会话都在需要中止的会话列表中,则发起MIP去注册请求:在MIP注册请求中将Lifetime设置为0发到FA中。S32, the MIP client agent finds that there is only one PoA address in the session termination message, and all sessions corresponding to the PoA are in the session list that needs to be terminated, then initiates a MIP registration request: Lifetime is set to 0 in the MIP registration request Send it to FA.
S33、ASN-GW FA转发接收到的MSS的MIP去注册请求到HA。S33. The ASN-GW FA forwards the received MIP de-registration request of the MSS to the HA.
S34、HA释放注册消息中所要求的取消绑定的PoA地址对应的FA与HA之间的隧道;并将去注册响应发给FA。S34. The HA releases the tunnel between the FA corresponding to the unbound PoA address required in the registration message and the HA; and sends a de-registration response to the FA.
S35、FA转发去注册响应发给MIP客户端代理。S35. The FA forwards the de-registration response to the MIP client agent.
S36、MIP客户端代理接收到去注册响应之后,发起了会话中止响应消息(R3_Session_Release.Request)给ASN-GW DP单元,并在消息中提供该MSS的标识,(会话标识,处理结果)二元组列表通知ASN-GW DP单元所请求的会话中止结果。S36. After the MIP client agent receives the de-registration response, it initiates a session termination response message (R3_Session_Release.Request) to the ASN-GW DP unit, and provides the MSS identification in the message, (session identification, processing result) binary The group list notifies the ASN-GW DP unit of the requested session termination result.
其中重要的消息格式定义为:
实施例4Example 4
根据实施例1所作改变的中止过程。Abort procedure according to Example 1 with the changes made.
本实施例对实施例1的步骤S12进行改动,在MIP客户端代理,先对每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是就进入S421,否则进入步骤S422;其余步骤与实施例1可以相同处理。This embodiment changes the step S12 of Embodiment 1. In the MIP client agent, first each suspension session is processed sequentially, and it is judged whether the suspension session is the last session of the corresponding PoA address, if it is, it will enter S421, otherwise Proceed to step S422; the rest of the steps can be processed in the same way as in Embodiment 1.
实施例4具体包括以下步骤:Embodiment 4 specifically comprises the following steps:
S41、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理,例如:Session ID,MIP中的附着点地址(PoA),对应的HA地址,MSS ID等,考虑到有可能是中止一批会话,这些会话信息将一组含Session ID,PoA地址,HA地址的表。S41. When ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent in the R3_Session_Release.Request message, for example: Session ID, point of attachment address (PoA) in MIP, corresponding HA Address, MSS ID, etc. Considering that a batch of sessions may be terminated, these session information will be a set of tables including Session ID, PoA address, and HA address.
S42、MIP客户端代理对于每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是,进入步骤S421,如果否,进入步骤S422。S42. The MIP client agent processes each suspended session sequentially, and judges whether the suspended session is the last session of the corresponding PoA address. If yes, go to step S421; if not, go to step S422.
S421、则针对该会话ID,按照现有技术1第二步以后的方法(除开R3_Session_Release.Reply消息),由MIP客户端代理或者MSS发起MIP的去注册过程。S421. For the session ID, according to the method after the second step in the prior art 1 (except the R3_Session_Release.Reply message), the MIP client agent or MSS initiates the MIP de-registration process.
S422、在MIP客户端将需要中止的会话信息进行处理,并中止该会话。S422. Process the session information that needs to be terminated at the MIP client, and terminate the session.
S43、重复步骤S42直到消息中所有的会话ID对应的POA处理完毕。S43. Step S42 is repeated until all POAs corresponding to session IDs in the message are processed.
S44、在步骤S43处理完毕以后,MIP客户端代理将会话中止结果消息通过会话中止响应消息返回给ASN-GW DP单元。从而完成了整个会话中止过程。S44. After the processing in step S43 is completed, the MIP client agent returns the session termination result message to the ASN-GW DP unit through the session termination response message. This completes the entire session termination process.
方案2:针对PMIP模式,可以有多个中止过程,描述如下。Scheme 2: For the PMIP mode, there may be multiple suspension processes, which are described as follows.
在MIP过程中,MIP的客户端是在MSS上面的,MSS或者通过FA或者直接和HA之间完成所有的MIP的建立/释放等请求和响应消息的发起和接收操作从而建立/释放ASN-GW与HA之间的IP隧道。对于这种模式,我们称之为CMIP。In the MIP process, the MIP client is on the MSS, and the MSS completes all MIP establishment/release requests and response message initiation and reception operations through the FA or directly with the HA to establish/release the ASN-GW IP tunnel with HA. For this mode, we call it CMIP.
实施例5Example 5
S51、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理/ASN-GW FA(分别对应PMIP/CMIP模式),例如:Session ID,MIP中的附着点地址(PoA),对应的HA地址,MSS ID等,考虑到有可能是中止一批会话,这些会话信息将一组含Session ID,PoA地址,HA地址的表。S51. When ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent/ASN-GW FA (corresponding to PMIP/CMIP mode respectively) in the R3_Session_Release.Request message, for example: Session ID, The point of attachment address (PoA) in MIP, the corresponding HA address, MSS ID, etc., considering that a batch of sessions may be terminated, these session information will be a set of tables containing Session ID, PoA address, and HA address.
S52、在ASN-GW FA中先分析消息中对应的PoA地址(即相应的一个FA到HA的隧道)所对应的所有的会话的ID是不是都在R3_Session_Release.Request消息中所带的需要中止的会话ID。对于消息中的每个PoA地址都需要这么分析,主要是看多少个不同的PoA地址,就会有多少个S52这个过程。也就是说过程S52是需要重复执行多次的。S52. In the ASN-GW FA, first analyze whether the IDs of all the sessions corresponding to the corresponding PoA address in the message (that is, a tunnel from the corresponding FA to the HA) all need to be terminated in the R3_Session_Release.Request message. Session ID. Each PoA address in the message needs to be analyzed in this way, mainly to see how many different PoA addresses there are, and how many S52s there will be in this process. That is to say, the process S52 needs to be repeated many times.
S521、如果是,针对这个PoA地址,技术二中的第二步以后的方法(除开R3_Session_Release.Reply消息),由MSS发起MIP的去注册过程,如图8所示,主要包括以下步骤:S521, if yes, for this PoA address, the method after the second step in the second technique (except the R3_Session_Release.Reply message), the de-registration process of the MIP is initiated by the MSS, as shown in Figure 8, mainly includes the following steps:
这里需要修改FA广告消息的内容,需要把IP头中的目的地址设置为PoA地址,而不是正常MIP的FA广告消息中所用的广播或者组播地址,从而MSS可以获取需要去注册的PoA地址,此时将Lifetime设为0。Here you need to modify the content of the FA advertisement message, and you need to set the destination address in the IP header as the PoA address instead of the broadcast or multicast address used in the normal MIP FA advertisement message, so that the MSS can obtain the PoA address that needs to be registered. Set Lifetime to 0 at this time.
或者采取另外的方法通过FA与BS之间的R6接口的信令/消息与BS与MSS之间的空中接口管理面消息通知MSS相关的PoA地址对应的隧道需要释放。Or take another method to notify the MSS that the tunnel corresponding to the relevant PoA address needs to be released through the signaling/message of the R6 interface between the FA and the BS and the air interface management plane message between the BS and the MSS.
S522、MIP客户端发起MIP去注册过程,通过MIP Registration Request消息将MSS的PoA地址,FA地址发到ASN-GW FA上,在该消息中将lifetime设为0,即去注册。S522. The MIP client initiates the MIP de-registration process, sends the PoA address and FA address of the MSS to the ASN-GW FA through the MIP Registration Request message, and sets the lifetime to 0 in the message, that is, de-registers.
S523、FA将该MIP Registration Request转发给HA,通知HA释放该MSS的PoA地址绑定的FA到HA之间的隧道。S523. The FA forwards the MIP Registration Request to the HA, and notifies the HA to release the tunnel between the FA and the HA bound to the PoA address of the MSS.
S524、HA将MIP去注册响应发回FA。S524. The HA sends the MIP de-registration response back to the FA.
S525、FA获得了MIP去注册的结果以后,再将该消息转发给MIP客户端代理。这样完成了在CMIP方式下一个MIP的去注册过程。S525. After obtaining the MIP de-registration result, the FA forwards the message to the MIP client agent. This completes the de-registration process of a MIP in the CMIP mode.
S522、如果不是,那么就仅仅在MIP客户端/ASN-GW FA(分别对应PMIP/CMIP模式)将需要中止的会话信息进行处理,并中止该会话。如图9所示,主要包括以下步骤:S522. If not, then only the MIP client/ASN-GW FA (respectively corresponding to the PMIP/CMIP mode) processes the session information that needs to be terminated, and terminates the session. As shown in Figure 9, it mainly includes the following steps:
S5221、在ASN-GW FA中更新该MSS对应的会话表和信息,并执行会话结束的相关操作。S5221. Update the session table and information corresponding to the MSS in the ASN-GW FA, and perform related operations for session termination.
S53、重复S52、直到消息中所有的PoA地址对应的会话处理完毕,也即对于所有在中止会话消息中所涉及到的隧道都进行相应会话中止处理。S53. Repeat S52 until the sessions corresponding to all PoA addresses in the message are processed, that is, corresponding session termination processing is performed for all tunnels involved in the session termination message.
S54、在S53处理完毕以后,ASN-GW FA将会话中止结果通过会话中止响应消息返回给ASN-GW DP单元,在该结果消息中,包含所有需要中止会话的处理结果。从而完成了整个会话中止过程。S54. After the processing in S53 is completed, the ASN-GW FA returns the session termination result to the ASN-GW DP unit through the session termination response message, and the result message includes all processing results that need to terminate the session. This completes the entire session termination process.
实施例6Example 6
一条隧道上承载多个会话时,中止其中一个会话的过程。When multiple sessions are carried on a tunnel, the process of aborting one of the sessions.
S61、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给MIP客户端代理,消息中包括:SessionID,MIP中的附着点地址(PoA),对应的HA地址,MSS ID等会话信息。S61. When ASN-DP triggers session termination, it needs to send the terminated session information to the MIP client agent in the R3_Session_Release.Request message. The message includes: SessionID, the point of attachment address (PoA) in MIP, and the corresponding HA address, MSS ID and other session information.
S62、在ASN-GW FA中判断即使该会话中止后,其PoA还有对应其他正在进行的会话,则更新该MSS对应的会话表和信息,并执行会话结束的相关操作;S62. In the ASN-GW FA, it is judged that even after the session is terminated, its PoA also corresponds to other ongoing sessions, then update the session table and information corresponding to the MSS, and perform related operations for session termination;
S63、ASN-GW FA将会话中止结果通过会话中止响应(R3_Session_Release.Reply)返回给ASN-GW DP单元。从而完成了整个会话中止过程。S63. The ASN-GW FA returns the session termination result to the ASN-GW DP unit through a session termination response (R3_Session_Release.Reply). This completes the entire session termination process.
其中重要的消息格式定义为:
实施例7Example 7
本实施例对实施例6的步骤S62进行改动,在ASN-GW FA,先对每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是就进入S721,否则进入步骤S722;其余步骤与实施例6可以相同处理。In this embodiment, step S62 of Embodiment 6 is modified. In the ASN-GW FA, each suspended session is first processed sequentially to determine whether the suspended session is the last session of the corresponding PoA address. If so, enter S721, otherwise Proceed to step S722; the rest of the steps can be processed in the same way as in Embodiment 6.
实施例7具体包括以下步骤:Embodiment 7 specifically comprises the following steps:
S71、ASN-DP在触发会话中止的时候,需要将中止的会话信息需要在R3_Session_Release.Request消息中发送给ASN-GW FA,例如:Session ID,MIP中的PoA,对应的HA地址,MSS ID等,考虑到有可能是中止一批会话,这些会话信息将一组含Session ID,PoA地址,HA地址的表。S71. When ASN-DP triggers session termination, it needs to send the terminated session information to ASN-GW FA in the R3_Session_Release.Request message, for example: Session ID, PoA in MIP, corresponding HA address, MSS ID, etc. , considering that it is possible to terminate a batch of sessions, these session information will be a set of tables including Session ID, PoA address, and HA address.
S72、ASN-GW FA对于每个中止会话依次处理,判断该中止会话是否是对应的PoA地址的最后一个会话,如果是,进入步骤S721,如果否,进入步骤S722。S72, ASN-GW FA processes each suspended session sequentially, and judges whether the suspended session is the last session of the corresponding PoA address, if yes, enters step S721, if not, enters step S722.
S721、则针对该会话ID,按照现有技术2第二步以后的方法(除开R3_Session_Release.Reply消息),由MIP客户端代理或者MSS发起MIP的去注册过程。S721. For the session ID, according to the method after the second step in the prior art 2 (except the R3_Session_Release.Reply message), the MIP client agent or the MSS initiates the MIP de-registration process.
S722、在ASN-GW FA将需要中止的会话信息进行处理,并中止该会话。S722. The ASN-GW FA processes the session information that needs to be terminated, and terminates the session.
S73、重复步骤S72直到消息中所有的会话ID对应的POA处理完毕。S73. Step S72 is repeated until all POAs corresponding to session IDs in the message are processed.
S74、在步骤S73处理完毕以后,ASN-GW FA将会话中止结果消息通过会话中止响应消息返回给ASN-GW DP单元。从而完成了整个会话中止过程。S74. After the processing in step S73 is completed, the ASN-GW FA returns the session termination result message to the ASN-GW DP unit through the session termination response message. This completes the entire session termination process.
本发明可以解决一个隧道上建立多个会话时,一个或者多个或者所有该隧道上的会话中止过程,可以解决多个隧道上建立多个会话时,一个或者多个或者所有隧道上的会话中止过程,包括部分隧道上所有会话中止,而部分隧道上部分会话中止的情况,本发明方案简单,易于实现。The present invention can solve the problem of the session termination process on one or more or all tunnels when multiple sessions are established on one tunnel, and can solve the problem of session termination on one or more or all tunnels when multiple sessions are established on multiple tunnels process, including the suspension of all sessions on some tunnels and the suspension of some sessions on some tunnels, the solution of the invention is simple and easy to implement.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100856253A CN100441044C (en) | 2005-07-12 | 2005-07-12 | A method for session termination in wireless access network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100856253A CN100441044C (en) | 2005-07-12 | 2005-07-12 | A method for session termination in wireless access network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1794872A true CN1794872A (en) | 2006-06-28 |
| CN100441044C CN100441044C (en) | 2008-12-03 |
Family
ID=36806080
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100856253A Expired - Fee Related CN100441044C (en) | 2005-07-12 | 2005-07-12 | A method for session termination in wireless access network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100441044C (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007090353A1 (en) * | 2006-02-10 | 2007-08-16 | Huawei Technologies Co., Ltd. | A method and device for a mobile station performing mobile internal protocol de-registration |
| WO2007109995A1 (en) * | 2006-03-27 | 2007-10-04 | Huawei Technologies Co., Ltd. | Method for a terminal to quit a network and mobile communication system |
| WO2009056046A1 (en) * | 2007-10-25 | 2009-05-07 | Huawei Technologies Co., Ltd. | A method for session termination |
| CN101227702B (en) * | 2007-01-15 | 2011-08-03 | 华为技术有限公司 | Equipment, system and method for terminal to terminate business under vacant mode |
| CN101304406B (en) * | 2007-05-12 | 2013-02-27 | 华为技术有限公司 | Method for managing conversation connection as well as apparatus and system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000070831A1 (en) * | 1999-05-17 | 2000-11-23 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for providing radio access bearer services |
| US6654360B1 (en) * | 2000-01-10 | 2003-11-25 | Qualcomm Incorporated | Method and system for providing dormant mode wireless packet data services |
| KR100510651B1 (en) * | 2002-09-12 | 2005-08-31 | 엘지전자 주식회사 | Method for Managing Resource of Mobile Communication System |
| KR100770848B1 (en) * | 2003-11-06 | 2007-10-26 | 삼성전자주식회사 | Method and system for supporting IP mobility of mobile terminal in mobile communication system |
-
2005
- 2005-07-12 CN CNB2005100856253A patent/CN100441044C/en not_active Expired - Fee Related
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007090353A1 (en) * | 2006-02-10 | 2007-08-16 | Huawei Technologies Co., Ltd. | A method and device for a mobile station performing mobile internal protocol de-registration |
| WO2007109995A1 (en) * | 2006-03-27 | 2007-10-04 | Huawei Technologies Co., Ltd. | Method for a terminal to quit a network and mobile communication system |
| CN101227702B (en) * | 2007-01-15 | 2011-08-03 | 华为技术有限公司 | Equipment, system and method for terminal to terminate business under vacant mode |
| CN101304406B (en) * | 2007-05-12 | 2013-02-27 | 华为技术有限公司 | Method for managing conversation connection as well as apparatus and system |
| WO2009056046A1 (en) * | 2007-10-25 | 2009-05-07 | Huawei Technologies Co., Ltd. | A method for session termination |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100441044C (en) | 2008-12-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1531263A (en) | Communication system, connection device, communication method, and authentication method | |
| CN1486094A (en) | Method and device for mobile communication using load balancing | |
| CN1640074A (en) | Mobile management method and mobile terminal | |
| CN101039507A (en) | Method and apparatus for establishing and releasing tunnel in evolution network framework | |
| CN1499760A (en) | Signaling Bearer Connection Method of Multimedia Broadcast and Multicast Service on Iu Interface | |
| CN1505413A (en) | Method for switching between CDMA system and GSM system in dual-mode mobile station | |
| CN1196370C (en) | Mobile communication network and data transfer method in mobile communication network | |
| CN101047989A (en) | Strategy and charging control method at user roaming state | |
| CN101064938A (en) | Method for applying MIP when the mobile terminal switched between 3GPP and non-3GPP access system | |
| CN101076195A (en) | Mobile terminal, network, method and system for switch network by mobile terminal | |
| CN1819580A (en) | Communication equipment, communication control equipment, and communication system | |
| CN1960566A (en) | Evolution mobile communication network, method for managing mobility between 3GPP and non-3GPP access network | |
| CN101043705A (en) | Method and system for limiting signaling of mobile management in wireless evolvement network | |
| CN101043727A (en) | Method for realizing target optimum selecting three-layer fast switching in evolvement network | |
| CN1794872A (en) | Method of stopping conversation in radio access network | |
| CN101047977A (en) | Radio communication system and method and call method used in the system | |
| CN1650545A (en) | Mobile communication network system and mobile communication method | |
| CN1272927C (en) | Short message sending system for intelligent network user and method for authenticating and charging of the short message | |
| CN1190927C (en) | Method and device for transmitting data packet from first network unit to second network unit in data network | |
| CN1866840A (en) | Charging method and system in wireless access network | |
| CN101047709A (en) | Method for implementing terminal denetwork at customer terminal mobile network protocol | |
| CN1882117A (en) | Base station controller multi-homing method, device and network in CDMA2000 | |
| CN101064648A (en) | System for realizing mobile IPv6 and its method for establishing user connection | |
| CN101039261A (en) | Method, system and apparatus for processing user terminal accessing network and loading establishing process | |
| CN1956413A (en) | Method and system for deactivation group broadcast service in MBMS |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081203 Termination date: 20130712 |