WO2009056046A1 - A method for session termination - Google Patents

A method for session termination Download PDF

Info

Publication number
WO2009056046A1
WO2009056046A1 PCT/CN2008/072792 CN2008072792W WO2009056046A1 WO 2009056046 A1 WO2009056046 A1 WO 2009056046A1 CN 2008072792 W CN2008072792 W CN 2008072792W WO 2009056046 A1 WO2009056046 A1 WO 2009056046A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
pcrf
server
value parameter
client
Prior art date
Application number
PCT/CN2008/072792
Other languages
French (fr)
Chinese (zh)
Inventor
Shiyong Tan
Weihua Wei
Xiaoyan Shi
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009056046A1 publication Critical patent/WO2009056046A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

A method for session termination involves: a client receives a request message including an extended cause value parameter from a server; the client gets the cause value parameter from the request message, indicates the server to terminate a session according to the cause value parameter. A system for session termination that involves a client and a server is disclosed in embodiment. A client and a server are also disclosed in the embodiment.

Description

一种会话终止的方法、 系统及服务器、 客户端  Method, system and server, client end of session termination
本申请要求于 2007 年 10 月 25 日提交中国专利局、 申请号为 200710165403. K 发明名称为"一种会话终止的方法、 系统及服务器、 客户端" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200710165403. K, entitled "Method, System and Server for Session Termination", which is filed on October 25, 2007. This is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信领域, 特别涉及一种会话终止的方法、 系统及服务器、客 户端。  The present invention relates to the field of communications, and in particular, to a method, system, server, and client for terminating a session.
背景技术 Background technique
会话指的是用户终端 (UE, User Equipment )和外部网络, 比如因特网 ( internet )之间的连接关系,这种连接关系可以通过 UE的 IP地址或 UE的标 识来识另' J , 比如,在 IP连接接入网(IP-CAN, IP-Connectivity Access Network ) 中 ,如果终端分配了 IP地址且能被外部网络识别 , 那么就称存在一个 IP-CAN 会话。  A session refers to a connection relationship between a user terminal (UE, User Equipment) and an external network, such as the Internet. The connection relationship can be identified by the IP address of the UE or the identifier of the UE. For example, In an IP-Connected Access Network (IP-CAN), if an IP address is assigned to a terminal and can be recognized by an external network, an IP-CAN session is said to exist.
而在^舌进行过程中,可能出于某些原因,需要使用终止会话请求(ASR, Abort-Session-Request )消息来终止 ^舌, 以便及时释放 ^舌占用的资源。 图 1 为现有技术中 UE发起的 IP-CAN会话和 AF会话释放流程示意图, 图 1采用 了 3GPP定义的 PCC架构 ,主要包括:应用功能实体( AF, Application Function )、 网关( GW, Gateway ) 中的策略和计费执行实体 ( PCEF: Policy and Charging Enforcement Function )和策略控制和计费规则功能实体 ( PCRF, Policy Control and Charging Rules Function )。  In the process of the tongue, for some reason, it is necessary to use the ASR (Abort-Session-Request) message to terminate the tongue, so as to release the resources occupied by the tongue in time. FIG. 1 is a schematic diagram of a UE-initiated IP-CAN session and an AF session release process in the prior art. FIG. 1 adopts a PCC architecture defined by the 3GPP, and mainly includes: an application function entity (AF, Application Function), and a gateway (GW, Gateway). Policy and Charging Enforcement Function (PCEF) and Policy Control and Charging Rules Function (PCRF).
PCRF主要用于根据用户接入网络的限制, 运营商策略, 从 AF获取用户 当前正在进行的业 ^言息等决定对应的策略,并将决定出的策略提供给 PCEF; PCEF执行 PCRF下发或者指定的策略; 而 AF向 PCRF动态提供应用层的会 话信息, PCRF根据该信息动态生成或者修改对应的规则。 如图 1所示, 目前 会话终止的方法主要包括以下步骤:  The PCRF is mainly used to determine the policy corresponding to the user's access to the network, the operator's policy, and the current policy of the user from the AF, and provide the determined policy to the PCEF. The PCEF performs the PCRF delivery or The specified policy is provided. The AF dynamically provides session information of the application layer to the PCRF, and the PCRF dynamically generates or modifies the corresponding rule according to the information. As shown in Figure 1, the current method of terminating the session mainly includes the following steps:
步骤 101 : PCEF接收到 UE发起的 IP-CAN ^舌释放请求消息。  Step 101: The PCEF receives the IP-CAN [tonal release request message] initiated by the UE.
本步骤中的 IP-CAN ^舌释放请求消息,对于分组无线系统( GPRS , Global Packet Radio System )而言,可以具体为对最后一个分组数据协议( PDP, Packet Data Protocol )上下文的删除请求消息。 步骤 102 : PCEF 向 PCRF 发送信用 控制请求 ( CCR , Credit-Control-Request ) 消息给 PCRF。 The IP-CAN (Telecom Data Release) request message in the present step may be specifically a deletion request message for the last Packet Data Protocol (PDP) context for the Packet Radio System (GPRS). Step 102: The PCEF sends a CCR (Credit-Control-Request) message to the PCRF to the PCRF.
在本步骤中, PCEF发送 Diameter协议的 CCR消息, 通知 PCRF释放 IP-CAN ^舌。  In this step, the PCEF sends a CCR message of the Diameter protocol, informing the PCRF to release the IP-CAN.
PCRF和 PCEF之间的接口为 Gx接口,该接口使 PCRF可以动态控制 PCEF 上所执行的 PCC规则。 Gx接口使用 IETF定义的直径( Diameter )协议。  The interface between PCRF and PCEF is the Gx interface, which allows the PCRF to dynamically control the PCC rules enforced on the PCEF. The Gx interface uses the Diameter protocol defined by the IETF.
步骤 103: PCRF查找该 IP-CAN ^舌和 AF ^舌的绑定对应关系。  Step 103: The PCRF searches for the binding correspondence between the IP-CAN^ tongue and the AF^ tongue.
步骤 104: PCRF 向 PCEF 发送信用 控制应答 ( CCA , Credit-Control- Answer ) 消息。  Step 104: The PCRF sends a CCA (Credit-Control- Answer) message to the PCEF.
在本步骤中, PCRF发送 CCA消息对释放 IP-CAN会话的通知进行应答。 步骤 105: PCEF向 UE发送 IP-CAN ^舌释放应答消息。  In this step, the PCRF sends a CCA message to respond to the notification of releasing the IP-CAN session. Step 105: The PCEF sends an IP-CAN [tonal release response message" to the UE.
在本步骤中的 IP-CAN会话释放应答消息, 对于 GPRS而言, 可以具体是 针对步骤 101的删除 PDP上下文应答消息。  The IP-CAN session release response message in this step may be specifically for the GPRS to delete the PDP context response message of step 101.
对于每一个和 IP-CAN会话关联的 AF会话, 执行步骤 106〜步骤 109的释 放步骤:  For each AF session associated with the IP-CAN session, perform the release steps of steps 106 to 109:
步骤 106: PCRF向 AF发送中止会话请求( ASR, Abort-Session- Request ) 消息。  Step 106: The PCRF sends an Abort-Session-Request (ASR) message to the AF.
在本步骤中, PCRF作为服务器, 向作为客户端的 AF发送 Diameter协议 的 ASR消息 , 以请求终止^舌。  In this step, the PCRF acts as a server and sends an ASR message of the Diameter protocol to the AF as the client to request termination.
AF和 PCRF之间的接口为 Rx接口,该接口用于 AF下发应用层相关信息, The interface between the AF and the PCRF is an Rx interface, which is used by the AF to deliver application layer related information.
Rx接口也使用 IETF定义的 Diameter协议。 The Rx interface also uses the Diameter protocol defined by the IETF.
Diameter协议属于客户端 良务器模式的协议, Diameter客户端与 Diameter 服务器可以进行一系列的信息交换, 而从发起到终止一系列信息交互,称为一 个 Diameter会话。 Diameter会话的终止,完全由 Diameter客户端决定, Diameter 服务器可以先行发出终止会话请求, 在 Diameter客户端同意终止请求的情况 下, 会响应终止^舌应答, 然后 Diameter客户端再发出会话结束请求, 通知 Diameter服务器结束用户会话, 否则会话仍然得以保持。  The Diameter protocol belongs to the protocol of the client server mode. The Diameter client and the Diameter server can exchange a series of information, and a series of information interactions from initiation to termination is called a Diameter session. The termination of the Diameter session is completely determined by the Diameter client. The Diameter server can issue the termination session request first. When the Diameter client agrees to terminate the request, it will respond to the termination response, and then the Diameter client will issue a session termination request. The Diameter server ends the user session, otherwise the session is still maintained.
步骤 107: AF向 PCRF发送终止会话应答 ( ASA, Abort-Session-Answer ) 消息。 在本步骤中 , AF向 PCRF发送 Diameter协议的 ASA消息,作为对 Diameter 协议的 ASR消息的应答。 Step 107: The AF sends a terminate session response (ASA, Abort-Session-Answer) message to the PCRF. In this step, the AF sends an ASA message of the Diameter protocol to the PCRF as a response to the ASR message of the Diameter protocol.
步 骤 108 : AF 向 PCRF 发 送会话 终止 请 求 ( STR , Session-Termination-Request ) 消息。  Step 108: The AF sends a session termination request (STR, Session-Termination-Request) message to the PCRF.
在本步骤中 , AF向 PCRF发送 Diameter协议的 STR消息 , 通知 PCRF终 止 AF会话。  In this step, the AF sends an STR message of the Diameter protocol to the PCRF, informing the PCRF to terminate the AF session.
步 骤 109 : PCRF 向 AF 发 送会话 终止 应 答 ( STA , Session-Termination- Answer ) 消息。  Step 109: The PCRF sends a STA (Session, Session-Termination- Answer) message to the AF.
在本步骤中 , PCRF向 AF发送 Diameter协议的 STA消息到 AF, AF ^舌 终止。  In this step, the PCRF sends the STA message of the Diameter protocol to the AF to the AF, and the AF^ tongue terminates.
在图 1所示的终止会话的流程中, 通过删除所有的 PDP上下文来终止一 个 IP-CAN会话 ,当然也可以在 PCRF与 PCEF之间的 Gx接口使用 Diameter协 议的 ASR/ASA消息及 STR/STA消息来释放 IP-CAN会话。  In the process of terminating the session shown in FIG. 1, an IP-CAN session is terminated by deleting all PDP contexts. Of course, the ASR/ASA message of the Diameter protocol and the STR/STA can also be used on the Gx interface between the PCRF and the PCEF. Message to release the IP-CAN session.
目前, 终止会话的原因比较多, 比如, 由于 PCRF资源不足或者由于设备 管理的需要而导致会话释放, 而目前在终止会话中无法指示出 PCRF 资源不 足、设备管理等多种终止 ^舌的原因,从而无法及时的给出相应的处理,例如, 根据 Diameter协议规定, 作为 Diameter客户端的 PCEF在收到 ASR消息后, 可以不发起会话释放流程。 因而在 PCRF故障或设备管理需要释放会话时, PCEF无法及时释放 IP-CAN ^舌。  Currently, there are many reasons for terminating a session. For example, due to insufficient PCRF resources or due to device management, the session is released. Currently, the reason for the lack of PCRF resources and device management cannot be indicated in the termination session. Therefore, the corresponding processing cannot be given in time. For example, according to the Diameter protocol, the PCEF acting as the Diameter client may not initiate the session release process after receiving the ASR message. Therefore, when the PCRF fails or the device management needs to release the session, the PCEF cannot release the IP-CAN tongue in time.
综上所述, 目前终止会话的方法, 无法指示多种终止会话的原因, 用户体 验较差。  In summary, the current method of terminating the session cannot indicate the reasons for terminating the session, and the user experience is poor.
发明内容 Summary of the invention
本发明实施例提供一种会话终止的方法, 该方法能够改善终止会话机制, 从而增强用户体验。  Embodiments of the present invention provide a method for terminating a session, which can improve a terminating session mechanism, thereby enhancing a user experience.
本发明实施例还提供一种会话终止的系统, 该系统能够改善终止会话机 制, 从而增强用户体验。  Embodiments of the present invention also provide a system for terminating a session, which system can improve the termination session mechanism, thereby enhancing the user experience.
本发明实施例另外提供一种服务器,该服务器能够改善终止会话机制,从 而增强用户体验。  Embodiments of the present invention additionally provide a server that can improve the termination session mechanism, thereby enhancing the user experience.
本发明实施例另外提供一种客户端,该客户端能够改善终止会话机制,从 而增强用户体验。 An embodiment of the present invention further provides a client, which can improve the termination session mechanism, And enhance the user experience.
为达到上述目的, 本发明实施例的技术方案具体是这样实现的: 客户端接收来自服务器的携带了扩展的原因值参数的请求消息; 客户端从所述请求消息中获取所述原因值参数,根据所述扩展的原因值参 数, 指示服务器终止会话。  In order to achieve the above objective, the technical solution of the embodiment of the present invention is specifically implemented as follows: the client receives a request message from the server that carries the extended cause value parameter, and the client obtains the cause value parameter from the request message. Instructing the server to terminate the session based on the extended cause value parameter.
一种^舌终止的系统, 所述系统包括:  A system for terminating a tongue, the system comprising:
服务器, 用于发携带了扩展的原因值参数的请求消息;  a server, configured to send a request message carrying an extended cause value parameter;
客户端, 用于从所述服务器发送的所述请求消息中获取所述原因值参数, 根据所述原因值参数, 指示服务器终止^舌。  The client, configured to obtain the cause value parameter from the request message sent by the server, and instruct the server to terminate the tongue according to the cause value parameter.
一种服务器, 所述服务器包括:  A server, the server comprising:
接收模块, 用于接收来自客户端的会话终止指示;  a receiving module, configured to receive a session termination indication from the client;
发送模块, 用于发送携带了扩展的原因值参数的请求消息, 所述扩展的原 因值参数表征由于 PCRF故障、设备管理原因、用户签约改变而无法满足用户 服务质量要求、 PCEF故障导致会话释放或者由于 IP-CAN会话释放而导致 AF 会话释放。  a sending module, configured to send a request message carrying an extended cause value parameter, where the extended cause value parameter indicates that the user service quality requirement cannot be met due to a PCRF failure, a device management change, a user subscription change, a PCEF failure, or a session release The AF session is released due to the release of the IP-CAN session.
一种客户端所述客户端包括:  A client said client includes:
获耳 4莫块, 用于从服务器发送的请求消息中获取表征由于 PCRF故障、设 备管理原因、 用户签约改变而无法满足用户服务质量要求、 PCEF故障导致会 话释放的原因值参数或者由于 IP-CAN ^舌释放而导致 AF ^舌释放的原因值 参数;  Obtaining an ear parameter for obtaining a reason value parameter indicating that the user service quality requirement cannot be satisfied due to a PCRF failure, a device management reason, a user subscription change, a PCEF failure, or a request due to IP-CAN The cause value parameter of the release of the tongue resulting in AF release of the tongue;
处理模块, 用于根据所述获取模块获取的原因值参数,指示服务器终止会 话。  And a processing module, configured to instruct the server to terminate the session according to the reason value parameter obtained by the obtaining module.
本发明实施例提供的会话终止的方法、 系统、服务器和客户端, 通过扩展 在协议消息中携带的原因值参数, 能够指示出 PCRF故障、设备管理或用户签 约而不再满足 QoS多种^舌终止的原因, 从而能够根据该原因及时的进行相 应处理, 能够改善终止会话机制, 增强用户体验。  The method, the system, the server, and the client of the session termination provided by the embodiment of the present invention can indicate the PCRF failure, the device management, or the user subscription, and the QoS is not satisfied by extending the cause value parameter carried in the protocol message. The reason for the termination, so that the corresponding processing can be performed in time according to the reason, the termination session mechanism can be improved, and the user experience is enhanced.
附图说明 DRAWINGS
图 1为现有技术中采用的终止会话的方法流程示意图;  1 is a schematic flowchart of a method for terminating a session adopted in the prior art;
图 2为本发明实施例中采用的^舌终止的方法流程示意图; 图 3为本发明第一个实施例中会话终止的方法流程示意图; 2 is a schematic flow chart of a method for terminating a tongue used in an embodiment of the present invention; 3 is a schematic flowchart of a method for terminating a session in a first embodiment of the present invention;
图 4为本发明第二个实施例中会话终止的方法流程示意图;  4 is a schematic flowchart of a method for terminating a session in a second embodiment of the present invention;
图 5为本发明第三个实施例中会话终止的方法流程示意图;  FIG. 5 is a schematic flowchart of a method for terminating a session in a third embodiment of the present invention; FIG.
图 6为本发明实施例中采用的^舌终止的装置结构示意图。  FIG. 6 is a schematic structural view of a device for terminating the tongue used in the embodiment of the present invention.
具体实施方式 detailed description
为使本发明的目的、技术方案及优点更加清楚明白, 以下参照附图并举实 施例, 对本发明作进一步详细说明。  In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例中提供的终止会话的方法是:客户端接收来自服务器的 ASR 消息 , 该 ASR消息携带了扩展的原因值参数; 客户端从所述 ASR消息中获取 所述原因值参数, 根据所述原因值参数, 指示服务器终止^舌。  The method for terminating the session provided by the embodiment of the present invention is: the client receives the ASR message from the server, and the ASR message carries the extended cause value parameter; the client obtains the cause value parameter from the ASR message, according to the The reason value parameter indicates that the server terminates the tongue.
图 2为本发明实施例中采用的指示 ^舌终止原因的方法流程示意图。如图 2所示, 具体包括以下步骤:  FIG. 2 is a schematic flow chart of a method for indicating a reason for termination of a tongue according to an embodiment of the present invention. As shown in Figure 2, the following steps are specifically included:
步骤 201 : 客户端接收来自服务器的 ASR消息, 该 ASR消息携带了扩展 的原因值参数。  Step 201: The client receives an ASR message from the server, where the ASR message carries an extended reason value parameter.
本步骤中客户端接收来自服务器的 ASR 消息, 该 ASR 消息可以是 In this step, the client receives an ASR message from the server, and the ASR message may be
Diameter协议的 ASR消息, 也可以是其它协议的 ASR消息, 比如, Radius协 议的 ASR消息。 The ASR message of the Diameter protocol may also be an ASR message of other protocols, for example, an ASR message of the Radius protocol.
对于 PCEF和 PCRF之间的 Gx接口,本步骤中的 ASR消息中携带了扩展 的原因值参数包括:  For the Gx interface between the PCEF and the PCRF, the ASR message in this step carries the extended cause value parameters including:
设备管理原因 ( ADMINISTRATION— REASON ): 表示因为设备管理的需 要导致的 IP-CAN会话释放的原因值参数。  Device Management Reason (ADMINISTRATION— REASON): Indicates the reason value parameter for IP-CAN session release due to device management requirements.
服务器故障 ( SERVER— MALFUNCTION ): 表示因为 PCRF 故障导致的 IP-CAN会话释放的原因值参数。  Server failure ( SERVER_ MALFUNCTION ): Indicates the cause value parameter of the IP-CAN session release due to a PCRF failure.
其它原因( OTHER— REASONS ):表示其它原因导致的 IP-CAN会话释放。 对于 AF和 PCRF之间的 Rx接口,本步骤在 ASR消息中携带了扩展原因 值参数包括:  Other reasons ( OTHER — REASONS ): Indicates the IP-CAN session release caused by other reasons. For the Rx interface between the AF and the PCRF, this step carries the extended cause value parameters in the ASR message, including:
IP-CAN ^舌释放( IP-CAN— SESSION— RELEASED ): 表示因为 IP-CAN 会话的释放导致 PCRF释放 AF会话的原因值参数。  IP-CAN [SESSION- RELEASED]: Indicates the reason value parameter for the PCRF to release the AF session due to the release of the IP-CAN session.
设备管理原因 ( ADMINISTRATION— REASON ): 表示因为设备管理的需 要导致的 AF ^舌释放的原因值参数。 Device management reason ( ADMINISTRATION - REASON ): Indicates the need for device management The cause value parameter of the AF ^ tongue release to be caused.
服务质量不满足( QOS— CANNOT— BE— AUTHORISE ):主要用于当用户签 约改变无法满足用户 Qos的要求时释放 AF会话的原因值参数。  The service quality is not satisfied (QOS-CANNOT-BE-AUTHORISE): It is mainly used to release the reason value parameter of the AF session when the user signing changes cannot meet the requirements of the user Qos.
服务器故障( SERVER— MALFUNCTION ): 表示因为 PCRF的故障而导致 AF会话释放的原因值参数。  Server failure ( SERVER_ MALFUNCTION ): Indicates the cause value parameter of the AF session release due to a failure of the PCRF.
PCEF故障( PCEF— MALFUNCTION ): 表示因为 PCEF的故障而导致 AF 会话释放的原因值参数。  PCEF failure (PCEF_MALFUNCTION): Indicates the cause value parameter for the AF session release due to a PCEF failure.
其它原因 ( OTHER— REASONS ): 表示其它原因导致的 AF 舌释放。 当然, 本领域技术人员易于想到扩展其它协议消息, 比如在客户端 /服务 器模式协议消息中扩展以上类型的原因值参数。  Other causes ( OTHER — REASONS ): Indicates AF tongue release due to other causes. Of course, those skilled in the art will readily appreciate extending other protocol messages, such as extending the above types of cause value parameters in client/server mode protocol messages.
步骤 202: 客户端从 ASR消息中获取原因值参数, 根据该原因值参数, 指示服务器终止会话。  Step 202: The client obtains a cause value parameter from the ASR message, and according to the cause value parameter, instructs the server to terminate the session.
在 Gx接口或 Rx接口使用的协议消息中, 通过携带以上类型的原因值参 数中的一种来指示出 ^舌终止的原因。 当然也可以在其它接口使用的消息中 , 通过携带以上类型的原因值参数, 指示出会话终止的原因。  In the protocol message used by the Gx interface or the Rx interface, the reason for the termination of the tongue is indicated by carrying one of the above-mentioned cause value parameters. Of course, in the message used by other interfaces, by carrying the above-mentioned cause value parameter, the reason for the termination of the session is indicated.
本发明实施例, 通过扩展在 ASR消息中携带的原因值参数, 能够指示出 PCRF故障、 PCEF故障、 设备管理或用户签约改变而不再满足 QoS等多种会 话终止的原因 ,从而能够根据该原因及时进行相应处理,比如,及时指示 PCRF 终止 IP-CAN会话或 AF会话, 因而能够改善终止^舌机制, 增强用户体验。 下面具体给出几种利用扩展后的原因值参数进行会话终止的流程。  In the embodiment of the present invention, by extending the cause value parameter carried in the ASR message, it is possible to indicate a PCRF fault, a PCEF fault, a device management, or a user subscription change, and no longer satisfy the reasons for termination of multiple sessions such as QoS, thereby being able to The corresponding processing is performed in time, for example, promptly instructing the PCRF to terminate the IP-CAN session or the AF session, thereby improving the termination mechanism and enhancing the user experience. The following is a detailed description of several processes for terminating the session using the extended cause value parameter.
图 3为本发明第一个实施例中会话终止的方法流程示意图。本实施例是设 备管理发起 IP-CAN会话和 AF会话释放应用实例, 即在 PCEF和 PCRF之间 的 IP-CAN会话以及 PCRF与 AF之间的 AF会话已经建立后 , PCRF上的设备 管理需要释放某一用户 IP-CAN会话和 AF会话, 这时由 PCRF分别发送 ASR 消息到 PCEF和 AF来发起 IP-CAN会话和 AF会话的释放。 图 3所示的 ^舌 释放流程之前, 事先在 Gx接口和 Rx接口使用的 Diameter协议消息中扩展了 表征设备管理原因导致^舌释放的原因值参数 ADMINISTRATION— REASON ( 1 )和 ADMINISTRATION— REASON ( 3 )。  FIG. 3 is a schematic flowchart of a method for terminating a session in a first embodiment of the present invention. In this embodiment, the device management initiates an IP-CAN session and an AF session release application instance, that is, after the IP-CAN session between the PCEF and the PCRF and the AF session between the PCRF and the AF have been established, the device management on the PCRF needs to be released. A user IP-CAN session and an AF session, at which time the ASF message is sent by the PCRF to the PCEF and AF respectively to initiate the release of the IP-CAN session and the AF session. Before the release process shown in Figure 3, the cause value parameters ADMINISTRATION- REASON ( 1 ) and ADMINISTRATION - REASON ( 3 ) that characterize the device management cause the tongue release are extended in the Diameter protocol message used by the Gx interface and the Rx interface. ).
步骤 301 : PCRF向 PCEF发送携带表征设备管理原因导致^舌释放的原 因值参数的 ASR消息。 Step 301: The PCRF sends a message carrying the characterization device management reason to the PCEF. ASR message due to value parameter.
本实施例中, PCRF 上的设备管理需要释放用户会话连接, PCRF发送 Diameter协议的 ASR消息到 PCEF, ASR消息携带终止 ^舌原因( Abort-Cause AVP ), 并将其取值为 ADMINISTRATION— REASON ( 1 ), 主要表示由于设备 管理的需要导致的 IP-CAN会话释放。  In this embodiment, the device management on the PCRF needs to release the user session connection, the PCRF sends the ASR message of the Diameter protocol to the PCEF, and the ASR message carries the Abort-Cause AVP, and takes the value as ADMINISTRATION-REASON ( 1), mainly indicating the release of IP-CAN sessions due to the need for device management.
步骤 302: PCEF发送 ASA消息到 PCRF。  Step 302: The PCEF sends an ASA message to the PCRF.
步骤 303: PCEF发送 STR消息到 PCRF。  Step 303: The PCEF sends an STR message to the PCRF.
本实施例, PCEF根据 ASR消息携带的原因值参数, 利用 STR消息来指 示 PCRF释放 IP-CAN会话。  In this embodiment, the PCEF uses the STR message to indicate that the PCRF releases the IP-CAN session according to the cause value parameter carried in the ASR message.
步骤 304: PCRF发送 STA消息到 PCEF。  Step 304: The PCRF sends a STA message to the PCEF.
本实施例在 IP-CAN ^舌释放完成后, PCRF发送 STA消息到 PCEF。 步骤 305: PCRF根据绑定关系确定受影响的 AF会话。  In this embodiment, after the IP-CAN^ tongue release is completed, the PCRF sends a STA message to the PCEF. Step 305: The PCRF determines the affected AF session according to the binding relationship.
对于每个受影响的 AF会话, 执行以下步骤:  For each affected AF session, perform the following steps:
步骤 306: PCRF向 AF发送携带表征设备管理原因导致会话释放的原因 值参数的 ASR消息。  Step 306: The PCRF sends an ASR message carrying the cause value parameter indicating that the device management causes the session release to the AF.
PCRF发送 ASR消息到 AF, 消息中带有 Abort-Cause AVP, 这里取值为 ADMINISTRATION— REASON ( 3 ),表示因为设备管理的原因导致 PCRF释放 AF会话。  The PCRF sends an ASR message to the AF. The message carries the Abort-Cause AVP, where the value is ADMINISTRATION- REASON ( 3 ), indicating that the PCRF releases the AF session due to device management.
步骤 307: AF发送 ASA消息到 PCRF。  Step 307: The AF sends an ASA message to the PCRF.
步骤 308: AF发送 STR消息到 PCRF。  Step 308: The AF sends the STR message to the PCRF.
本实施例, AF根据 ASR消息携带中携带的原因值参数, 利用 STR消息 指示 PCRF释放 AF ^舌。  In this embodiment, the AF uses the STR message to instruct the PCRF to release the AF^ tongue according to the reason value parameter carried in the ASR message carrying.
步骤 309: PCRF发送 STA消息到 AF。  Step 309: The PCRF sends a STA message to the AF.
本实施例中, 在该 AF会话释放完成后, 发送 STA消息。  In this embodiment, after the AF session is released, the STA message is sent.
本实施例通过在 ASR消息中携带表征设备管理原因导致会话释放的原因 值参数, 能够使得 PCEF在收到该消息后, 及时释放 IP-CAN会话。  In this embodiment, by carrying the reason parameter value indicating that the device is released due to the management of the device in the ASR message, the PCEF can release the IP-CAN session in time after receiving the message.
图 4 为本发明第二个实施例中会话终止的方法流程示意图。 本实施例是 PCRF故障导致 IP-CAN会话和 AF会话释放应用实例 , 当 PCRF出现故障时 , PCRF需要释放某一用户 IP-CAN ^舌和 AF会话。 和实施例一不同的是: 这 时 IP-CAN会话上只有一个 IP-CAN承载, 收到 PCRF发来的 ASR消息后, PCEF通过发送 Diameter CCR到 PCRF释放最后一个 IP-CAN承载来实现对 IP-CAN会话的释放。 在图 4所示的会话释放流程之前, 事先在 Gx接口和 Rx 接口使用的 Diameter协议消息中扩展了表征 PCRF故障导致^舌释放的原因 值参数。 FIG. 4 is a schematic flowchart of a method for terminating a session in a second embodiment of the present invention. In this embodiment, the PCRF failure causes an IP-CAN session and an AF session release application instance. When the PCRF fails, the PCRF needs to release a certain user IP-CAN^ tongue and AF session. Different from the first example: When there is only one IP-CAN bearer in the IP-CAN session, after receiving the ASR message sent by the PCRF, the PCEF releases the IP-CAN session by sending the Diameter CCR to the PCRF to release the last IP-CAN bearer. Prior to the session release procedure shown in FIG. 4, the cause value parameter characterizing the PCRF failure causing the tongue release is extended in advance in the Diameter protocol message used by the Gx interface and the Rx interface.
步骤 401: PCRF向 PCEF发送携带表征 PCRF故障导致会话释放的原因 值参数的 ASR消息。  Step 401: The PCRF sends an ASR message carrying the cause value parameter indicating that the PCRF failure causes the session release to the PCEF.
因为 PCRF故障需要释放用户 ^舌连接, PCRF发送 Diameter协议的 ASR 消息到 PCEF , 该消息中带有 Abort-Cause AVP , 这里取值为  Because the PCRF fault needs to release the user tongue connection, the PCRF sends the Diameter protocol ASR message to the PCEF with the Abort-Cause AVP, where the value is
SERVER— MALFUNCTION ( 3 ), 主要表示由于 PCRF故障的原因导致的 IP-CAN会话释放。 SERVER—MALFUNCTION ( 3 ), mainly indicates the release of IP-CAN session due to PCRF failure.
步骤 402: PCEF发送 ASA消息到 PCRF。  Step 402: The PCEF sends an ASA message to the PCRF.
步骤 403: PCEF与 UE之间进行 IP-CAN承载的释放。  Step 403: Release the IP-CAN bearer between the PCEF and the UE.
本实施例中 IP-CAN会话上只有一个 IP-CAN承载 , PCEF发起 IP-CAN 承载的释放。  In this embodiment, there is only one IP-CAN bearer in the IP-CAN session, and the PCEF initiates the release of the IP-CAN bearer.
步骤 404: PCEF发送 CCR消息到 PCRF。  Step 404: The PCEF sends a CCR message to the PCRF.
本实施例中, 采用 CCR消息指示 PCRF进行 IP-CAN会话的释放。  In this embodiment, the CCR message is used to instruct the PCRF to release the IP-CAN session.
步骤 405: PCRF发送 CCA消息到 PCEF。  Step 405: The PCRF sends a CCA message to the PCEF.
本实施例中,在 IP-CAN会话释放完成后, PCRF向 PCEF发送 CCA消息。 步骤 406: PCRF根据绑定关系确定受影响的 AF会话。  In this embodiment, after the IP-CAN session is released, the PCRF sends a CCA message to the PCEF. Step 406: The PCRF determines the affected AF session according to the binding relationship.
对于每个受影响的 AF会话, 执行以下步骤:  For each affected AF session, perform the following steps:
步骤 407: PCRF向 AF发送携带表征 PCRF故障导致^舌释放的原因值 参数的 ASR消息。  Step 407: The PCRF sends an ASR message carrying the cause value parameter indicating that the PCRF fault causes the tongue release.
本实施例中, PCRF发送 ASR消息到 AF,该消息中带有 Abort-Cause AVP, 这里取值为 ADMINISTRATION— REASON ( 5 ), 表示因为 PCRF故障的原因 导致 PCRF释放 AF会话。  In this embodiment, the PCRF sends an ASR message to the AF, and the message carries an Abort-Cause AVP, where the value is ADMINISTRATION-REASON (5), indicating that the PCRF releases the AF session because of a PCRF failure.
步骤 408〜步骤 410与步骤 307〜步骤 309相同 , 这里不——赞述。  Steps 408 to 410 are the same as steps 307 to 309, and are not mentioned here.
本实施例在执行完步骤 403时, PCEF还可以向用户提示会话终止的原因, 比如"因故障终止服务"等, PCEF还可以统计^舌终止的原因。 本实施例通过在 ASR消息中携带 PCRF故障导致会话释放的原因值参数, 能够使得 PCEF在收到该消息后, 及时释放 IP-CAN会话。 In this embodiment, when the step 403 is executed, the PCEF may also prompt the user for the reason for the termination of the session, such as "terminating the service due to failure", etc., and the PCEF may also count the reason for the termination of the tongue. In this embodiment, by carrying the reason value parameter of the session release caused by the PCRF failure in the ASR message, the PCEF can release the IP-CAN session in time after receiving the message.
图 5为本发明第三个实施例^舌终止的方法流程示意图。本实施例为用户 签约信息变化导致 IP-CAN会话和 AF会话释放的实例, 假设 IP-CAN会话和 AF会话已经建立。 由于用户签约信息发生变化, 导致当前 IP-CAN承载 QoS 和签约 QoS不一致, 这时 PCRF需要释放该用户 AF会话以及受影响的 IP - CAN承载。在如图 5所示的会话终止流程之前,事先在 Rx接口使用的 Diameter 协议消息中扩展了表征由于用户签约改变而无法满足用户服务质量要求导致 会话释放的原因值参数 QOS— CANNOT— BE— AUTHORISE ( 2 ),具体步骤如下: 步骤 501 : 用户签约信息改变。  FIG. 5 is a schematic flow chart of a method for terminating a tongue according to a third embodiment of the present invention. This embodiment is an example in which the change of the subscriber subscription information causes the IP-CAN session and the AF session to be released, assuming that the IP-CAN session and the AF session have been established. As the user subscription information changes, the current IP-CAN bearer QoS and the subscription QoS are inconsistent. At this time, the PCRF needs to release the user AF session and the affected IP-CAN bearer. Before the session termination process shown in FIG. 5, the reason value parameter QOS_CANNOT_BE_AUTHORISE which characterizes the release of the session due to the user's service quality requirement due to the user subscription change is extended in the Diameter protocol message used by the Rx interface. (2), the specific steps are as follows: Step 501: User subscription information changes.
本实施例中, 用户签约信息发生变化, 签约信息库(SPR )将更新后的签 约信息发送给 PCRF, 用户新签约信息中的 QoS和当前 IP-CAN承载中的签约 QoS不一致, 本实施例中, 为服务质量级别标识(QCI )不同, 当也可以是不 满足其它的 QoS要求。 PCRF需要释放 AF会话和对应的 IP - CAN承载, 即 通过删除 PCC规则来释放相应的承载。  In this embodiment, the user subscription information is changed, and the subscription information base (SPR) sends the updated subscription information to the PCRF. The QoS in the new subscription information of the user is inconsistent with the subscription QoS in the current IP-CAN bearer. Different from the quality of service level (QCI), it may also not meet other QoS requirements. The PCRF needs to release the AF session and the corresponding IP-CAN bearer, that is, release the corresponding bearer by deleting the PCC rule.
步骤 502: PCRF发送重鉴权请求( RAR, Re-Auth-Request )消息到 PCEF, 该 RAR消息中携带了表征 PCRF故障导致^舌释放的原因值。  Step 502: The PCRF sends a re-authentication request (RAR, Re-Auth-Request) message to the PCEF, where the RAR message carries a cause value indicating that the PCRF failure causes the tongue to be released.
本实施例中, RAR消息中带有需要删除的 PCC规则。  In this embodiment, the RAR message carries a PCC rule that needs to be deleted.
步骤 503: PCEF发送重鉴权应答( RAA, Re-Auth- Answer )消息到 PCRF。 本实施例中, PCEF删除 PCC规则后, 向 PCRF发送 RAA消息。  Step 503: The PCEF sends a re-authentication response (RAA, Re-Auth- Answer) message to the PCRF. In this embodiment, after the PCEF deletes the PCC rule, the PCEF sends an RAA message to the PCRF.
步骤 504: PCEF向终端发起 IP - CAN承载的释放。  Step 504: The PCEF initiates release of the IP-CAN bearer to the terminal.
步骤 505: PCEF发送 CCR消息到 PCRF。  Step 505: The PCEF sends a CCR message to the PCRF.
本实施例中, 使用 CCR消息指示 IP - CAN承载的释放。  In this embodiment, the CCR message is used to indicate the release of the IP-CAN bearer.
步骤 506: PCRF发送 CCA消息到 PCEF。  Step 506: The PCRF sends a CCA message to the PCEF.
步骤 507: PCRF根据绑定关系确定受影响的 AF会话。  Step 507: The PCRF determines the affected AF session according to the binding relationship.
对于每个受影响的 AF会话, 执行以下步骤:  For each affected AF session, perform the following steps:
步骤 508: PCRF向 AF发送 ASR消息。  Step 508: The PCRF sends an ASR message to the AF.
本实施例中, PCRF发送的 ASR消息中携带表征由于用户签约改变而无 法满足用户服务质量要求导致^舌释放的原因值参数为: QOS— CANNOT— BE — AUTHORISE ( 2 ), 表示当用户签约改变无法满足用户 QoS的要求时释放用 户的 IP-CAN会话。 In this embodiment, the ASR message sent by the PCRF carries the reason value parameter indicating that the user's service quality requirement cannot be satisfied due to the user subscription change: QOS—CANNOT—BE – AUTHORISE ( 2 ), indicating that the user's IP-CAN session is released when the user's subscription change fails to meet the user's QoS requirements.
步骤 509〜步骤 511与步骤 307〜步骤 309相同, 这里不——赞述。  Steps 509 to 511 are the same as steps 307 to 309, and are not mentioned here.
本实施例, 通过在 ASR消息中携带表征由于用户签约改变而无法满足用 户服务质量要求导致会话释放的原因值参数, 因而通过 PCEF发送给用户作为 提示信息, 从而能够及时提示用户会话释放的原因, 方便用户使用。  In this embodiment, the reason value parameter indicating that the session is released due to the failure to satisfy the user service quality requirement due to the user subscription change is carried in the ASR message, so that the user is sent to the user as the prompt information through the PCEF, so that the user can promptly release the session. User-friendly.
图 6为本发明实施例采用的指示^舌终止原因的系统, 该系统包括: 服务器 610, 发送 ASR消息, 该 ASR消息携带了扩展的原因值参数; 客户端 620, 从服务器发送的 ASR消息中获取原因值参数, 根据该原因 值参数, 指示服务器 610终止会话。  FIG. 6 is a system for indicating the reason for termination of a tongue according to an embodiment of the present invention. The system includes: a server 610, which sends an ASR message, where the ASR message carries an extended cause value parameter; and the client 620 sends an ASR message from the server. Obtaining a cause value parameter, according to the cause value parameter, instructing the server 610 to terminate the session.
服务器 610包括:  Server 610 includes:
接收模块 611 , 接收来自客户端的会话终止指示;  Receiving module 611, receiving a session termination indication from the client;
发送模块 612, 发送 ASR消息, 该 ASR消息携带了表征由于策略计费规 则功能实体 PCRF故障、设备管理原因、用户签约改变而无法满足用户服务质 量要求、策略和计费执行实体 PCEF故障导致会话释放的原因值参数或者由于 IP连接接入网 IP-CAN ^舌释放而导致 AF会话释放的原因值参数。  The sending module 612 sends an ASR message, where the ASR message carries a function that indicates that the user is unable to meet the user service quality requirement due to the policy charging rule function entity PCRF failure, device management reason, user subscription change, and the policy and charging execution entity PCEF failure causes the session to be released. The cause value parameter or the cause value parameter of the AF session release due to the IP connection of the IP connection access network IP-CAN.
客户端 620包括:  Client 620 includes:
获取模块 621 , 从服务器发送的 ASR消息中获取表征由于策略计费规则 功能实体 PCRF故障、设备管理原因、用户签约改变而无法满足用户服务质量 要求、策略和计费执行实体 PCEF故障导致会话释放的原因值参数或者由于 IP 连接接入网 IP-CAN会话释放而导致 AF会话释放的原因值参数;  The obtaining module 621 obtains, from the ASR message sent by the server, that the session is released due to the failure of the policy charging rule function entity PCRF, the device management reason, the user subscription change, the user service quality requirement, and the policy and charging execution entity PCEF failure. The cause value parameter or the cause value parameter of the AF session release due to the release of the IP-CAN session of the IP connection access network;
处理模块 622, 才 据获 ^莫块 621获取的原因值参数所指示的会话终止原 因, 进行相应处理。  The processing module 622, according to the reason for the termination of the session indicated by the cause value parameter obtained by the module 621, performs corresponding processing.
当客户端 610为 PCEF, 服务器 620为 PCRF时, 处理模块 622指示所述 PCRF终止 IP-CAN ^舌。  When the client 610 is a PCEF and the server 620 is a PCRF, the processing module 622 instructs the PCRF to terminate the IP-CAN.
客户端 620还可以包括: 提示模块 623, 提示模块 623向用户提示会话终 止的原因。  The client 620 can also include: a prompting module 623, the prompting module 623 prompting the user for the reason for the termination of the session.
客户端 620还可以包括: 统计模块(图未示), 统计模块可以统计会话终 止的原因。 当客户端 610为 AF, 所述服务器 620为 PCRF时, 处理模块 622指示所 述 PCRF终止 AF ^舌。 The client 620 may further include: a statistics module (not shown), and the statistics module may count the reason for the termination of the session. When the client 610 is an AF and the server 620 is a PCRF, the processing module 622 instructs the PCRF to terminate the AF^ tongue.
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范 围。 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进等, 均应 包含在本发明的保护范围之内。  The above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种会话终止的方法, 其特征在于, 该方法包括:  A method for terminating a session, the method comprising:
客户端接收来自服务器的携带了扩展的原因值参数的请求消息; 所述客户端从所述请求消息中获取所述原因值参数, 根据所述原因值参 数, 指示所述服务器终止会话。  The client receives a request message from the server that carries the extended cause value parameter; the client obtains the cause value parameter from the request message, and instructs the server to terminate the session according to the cause value parameter.
2、 根据权利要求 1所述的方法, 其特征在于, 所述扩展的原因值参数包 括:  2. The method according to claim 1, wherein the extended cause value parameter comprises:
表征由于策略计费规则功能实体 PCRF故障导致会话释放的原因值参数、 表征由于设备管理原因导致 ^舌释放的原因值参数、  Characterizing the cause value parameter of the session release due to the PCRF fault of the functional entity of the policy charging rule, characterizing the cause value parameter of the tongue release due to device management reasons,
表征由于用户签约改变而无法满足用户服务质量要求导致会话释放的原 因值参数、  Characterizing the reason value parameter that causes the session to be released due to the user's subscription change being unable to meet the user's quality of service requirements,
表征由于策略和计费执行实体 PCEF故障导致会话释放的原因值参数、 或者,表征由于 IP连接接入网 IP-CAN ^舌释放而导致 AF ^舌释放的原 因值参数。  A reason value parameter that characterizes the release of the session due to a failure of the policy and charging enforcement entity PCEF, or a factor value parameter that characterizes the release of the AF^ tongue due to the IP-CAN tongue release of the IP connection access network.
3、 根据权利要求 2所述的方法, 其特征在于, 所述服务器为 PCRF, 所 述客户端为 PCEF,  3. The method according to claim 2, wherein the server is a PCRF, and the client is a PCEF.
所述指示服务器终止会话包括: 所述 PCEF指示所述 PCRF释放 IP-CAN 会话。  The instructing the server to terminate the session comprises: the PCEF instructing the PCRF to release an IP-CAN session.
4、根据权利要求 3所述的方法,其特征在于,所述指示 PCRF释放 IP-CAN 会话包括:  4. The method of claim 3 wherein said instructing PCRF to release an IP-CAN session comprises:
在释放完最后一个 IP-CAN承载后, 所述 PCEF利用信用控制请求消息指 示 PCRF释放 IP-CAN会话。  After releasing the last IP-CAN bearer, the PCEF uses the credit control request message to indicate that the PCRF releases the IP-CAN session.
5、 根据权利要求 3所述的方法, 其特征在于, 所述指示服务器终止会话 后进一步包括以下一个或两个组合: 向用户提示、 统计会话终止的原因。  The method according to claim 3, wherein the indicating server further comprises one or two combinations after terminating the session: prompting the user to count the reason for the termination of the session.
6、 根据权利要求 3所述的方法, 其特征在于, 所述携带了扩展的原因值 参数的请求消息包括中止会话请求 ASR消息和重鉴权请求 RAR消息。  The method according to claim 3, wherein the request message carrying the extended cause value parameter comprises a suspension session request ASR message and a re-authentication request RAR message.
7、 根据权利要求 1所述的方法, 其特征在于, 所述服务器为 PCRF, 所 i½户端为 AF,  The method according to claim 1, wherein the server is a PCRF, and the i1⁄2 client is an AF.
所述指示服务器终止会话包括: 所述 AF指示所述 PCRF释放 AF会话。 The instructing the server to terminate the session includes: the AF instructing the PCRF to release the AF session.
8、 根据权利要求 7所述的方法, 其特征在于, 所述携带了扩展的原因值 参数的请求消息包括中止会话请求 ASR消息。 8. The method according to claim 7, wherein the request message carrying the extended cause value parameter comprises an abort session request ASR message.
9、 一种^舌终止的系统, 其特征在于, 所述系统包括:  9. A system for terminating a tongue, wherein the system comprises:
服务器 , 用于发送携带了扩展的原因值参数的请求消息;  a server, configured to send a request message carrying an extended cause value parameter;
客户端, 用于从所述服务器发送的所述请求消息中获取所述原因值参数, 根据所述原因值参数, 指示所述服务器终止 ^舌。  The client, configured to obtain the cause value parameter from the request message sent by the server, and instruct the server to terminate the tongue according to the cause value parameter.
10、 根据权利要求 9所述的系统, 其特征在于, 所述服务器包括: 接收模块, 用于接收来自客户端的会话终止指示;  The system according to claim 9, wherein the server comprises: a receiving module, configured to receive a session termination indication from the client;
发送模块, 用于发送携带了扩展的原因值参数的请求消息, 所述扩展的原 因值参数表征由于 PCRF故障、设备管理原因、用户签约改变而无法满足用户 服务质量要求、 PCEF故障导致会话释放或者由于 IP-CAN会话释放而导致 AF ^舌释放。  a sending module, configured to send a request message carrying an extended cause value parameter, where the extended cause value parameter indicates that the user service quality requirement cannot be met due to a PCRF failure, a device management change, a user subscription change, a PCEF failure, or a session release The AF^ tongue is released due to the release of the IP-CAN session.
11、 根据权利要求 9所述的系统, 其特征在于, 所述客户端包括: 获耳 4莫块, 用于从所述服务器发送的所述请求消息中获取表征由于 PCRF 故障、 设备管理原因、 用户签约改变而无法满足用户服务质量要求、 PCEF故 处理模块, 用于根据所述获取模块获取的原因值参数,指示所述服务器终 止^舌。  The system according to claim 9, wherein the client comprises: an ear module for obtaining a characterization from the request message sent by the server, due to a PCRF failure, a device management reason, The user is not able to meet the user service quality requirement, and the PCEF processing module is configured to instruct the server to terminate the tongue according to the reason value parameter obtained by the obtaining module.
12、根据权利要求 11所述的系统, 其特征在于, 所述客户端为 PCEF, 所 述服务器为 PCRF,  The system according to claim 11, wherein the client is a PCEF, and the server is a PCRF.
所述处理模块指示所述 PCRF终止 IP-CAN会话。  The processing module instructs the PCRF to terminate the IP-CAN session.
13、根据权利要求 12所述的系统, 其特征在于, 所述客户端进一步包括: 提示模块, 用于向用户提示^舌终止的原因。  The system according to claim 12, wherein the client further comprises: a prompting module, configured to prompt the user for the reason for the termination of the tongue.
14、根据权利要求 12或 13所述的系统, 其特征在于, 所述客户端进一步 包括:  The system according to claim 12 or 13, wherein the client further comprises:
统计模块, 用于统计会话终止的原因。  A statistics module that is used to count the cause of session termination.
15、 根据权利要求 12所述的系统, 其特征在于, 所述携带了扩展的原因 值参数的请求消息包括中止会话请求 ASR消息和重鉴权请求 RAR消息。  The system according to claim 12, wherein the request message carrying the extended cause value parameter comprises a suspension session request ASR message and a re-authentication request RAR message.
16、 根据权利要求 11所述的系统, 其特征在于, 所述客户端为 AF, 所述 服务器为 PCRF, The system according to claim 11, wherein the client is an AF, The server is a PCRF,
所述处理模块指示所述 PCRF终止 AF会话。  The processing module instructs the PCRF to terminate the AF session.
17、 根据权利要求 16所述的系统, 其特征在于, 所述携带了扩展的原因 值参数的请求消息为中止会话请求 ASR消息。  The system according to claim 16, wherein the request message carrying the extended cause value parameter is an abort session request ASR message.
18、 一种服务器, 其特征在于, 所述服务器包括:  18. A server, wherein the server comprises:
接收模块, 用于接收来自客户端的会话终止指示;  a receiving module, configured to receive a session termination indication from the client;
发送模块, 用于发送携带了扩展的原因值参数的请求消息, 所述扩展的原 因值参数表征由于 PCRF故障、设备管理原因、用户签约改变而无法满足用户 服务质量要求、 PCEF故障导致会话释放或者由于 IP-CAN会话释放而导致 AF 会话释放。  a sending module, configured to send a request message carrying an extended cause value parameter, where the extended cause value parameter indicates that the user service quality requirement cannot be met due to a PCRF failure, a device management change, a user subscription change, a PCEF failure, or a session release The AF session is released due to the release of the IP-CAN session.
19、 根据权利要求 18所述的服务器, 其特征在于, 所述服务器为 PCRF。 The server according to claim 18, wherein the server is a PCRF.
20、 根据权利要求 18所述的服务器, 其特征在于, 所述携带了扩展的原 因值参数的请求消息包括中止会话请求 ASR消息和重鉴权请求 RAR消息。 The server according to claim 18, wherein the request message carrying the extended factor value parameter comprises a suspension session request ASR message and a re-authentication request RAR message.
21、 一种客户端, 其特征在于, 所述客户端包括:  A client, wherein the client includes:
获取模块, 用于从服务器发送的请求消息中获取表征由于 PCRF故障、设 备管理原因、 用户签约改变而无法满足用户服务质量要求、 PCEF故障导致会 话释放的原因值参数或者由于 IP-CAN ^舌释放而导致 AF ^舌释放的原因值 参数;  The obtaining module is configured to obtain, from the request message sent by the server, a reason value parameter that is unable to satisfy the user service quality requirement due to a PCRF fault, a device management change, a user subscription change, a PCEF fault, and a session release factor, or an IP-CAN tongue release The cause value parameter that causes the AF ^ tongue to be released;
处理模块, 用于根据所述获取模块获取的原因值参数,指示所述服务器终 止^舌。  And a processing module, configured to instruct the server to terminate the tongue according to the reason value parameter acquired by the acquiring module.
22、 根据权利要求 21所述的客户端, 其特征在于, 所述客户端为 PCEF, 所述服务器为 PCRF,  The client according to claim 21, wherein the client is a PCEF, and the server is a PCRF.
所述处理模块指示所述 PCRF终止 IP-CAN会话。  The processing module instructs the PCRF to terminate the IP-CAN session.
23、 根据权利要求 22所述的客户端, 其特征在于, 所述客户端进一步包 括:  The client according to claim 22, wherein the client further comprises:
提示模块, 用于向用户提示会话终止的原因。  A prompt module, configured to prompt the user for the reason for the termination of the session.
24、根据权利要求 22或 23所述的客户端, 其特征在于, 所述客户端进一 步包括:  The client according to claim 22 or 23, wherein the client further comprises:
统计模块, 用于统计会话终止的原因。 A statistics module that is used to count the cause of session termination.
25、 根据权利要求 22所述的客户端, 其特征在于, 所述请求消息包括中 止会话请求 ASR消息和重鉴权请求 RAR消息。 The client according to claim 22, wherein the request message comprises an abort session request ASR message and a re-authentication request RAR message.
26、 根据权利要求 21所述的客户端, 其特征在于, 所述客户端为 AF, 所 述服务器为 PCRF,  The client according to claim 21, wherein the client is an AF, and the server is a PCRF.
所述处理模块指示所述 PCRF终止 AF会话。  The processing module instructs the PCRF to terminate the AF session.
27、 根据权利要求 26所述的客户端, 其特征在于, 所述携带了扩展的原 因值参数的请求消息包括中止会话请求 ASR消息。  The client according to claim 26, wherein the request message carrying the extended factor value parameter comprises an abort session request ASR message.
PCT/CN2008/072792 2007-10-25 2008-10-23 A method for session termination WO2009056046A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710165403.1A CN101420361A (en) 2007-10-25 2007-10-25 Method, terminal, server and customer terminal for terminating session
CN200710165403.1 2007-10-25

Publications (1)

Publication Number Publication Date
WO2009056046A1 true WO2009056046A1 (en) 2009-05-07

Family

ID=40590554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072792 WO2009056046A1 (en) 2007-10-25 2008-10-23 A method for session termination

Country Status (2)

Country Link
CN (1) CN101420361A (en)
WO (1) WO2009056046A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022889A1 (en) * 2020-07-31 2022-02-03 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for policy control

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4927213B1 (en) * 2010-12-03 2012-05-09 株式会社エヌ・ティ・ティ・ドコモ Mobile communication method, gateway device, mobility management node, and call session control server device
CN102984783B (en) 2011-09-02 2015-03-25 阿尔卡特朗讯公司 Method and apparatus for controlling terminal's access to wireless network
US9735971B2 (en) * 2012-09-17 2017-08-15 Telefonaktiebolaget Lm Ericsson (Publ) High-availability, scalable policy and charging control systems, and methods therefor
CN106470412B (en) * 2015-08-20 2021-08-24 中兴通讯股份有限公司 Terminal offline method, standby PCRF device, user subscription data device and system
CN110880981B (en) * 2018-09-06 2020-11-03 中兴通讯股份有限公司 Gx session exception handling method and device
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735278A (en) * 2004-06-17 2006-02-15 Lg电子株式会社 mobile telecommunication system and method for session termination
CN1794872A (en) * 2005-07-12 2006-06-28 华为技术有限公司 Method of stopping conversation in radio access network
US7269182B1 (en) * 2001-10-22 2007-09-11 Redback Networks Inc. Method and apparatus for PPPoE multicast
CN101052054A (en) * 2006-04-04 2007-10-10 中兴通讯股份有限公司 Method for keeping PS domain and IMS domain IP address cancel consistency

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7269182B1 (en) * 2001-10-22 2007-09-11 Redback Networks Inc. Method and apparatus for PPPoE multicast
CN1735278A (en) * 2004-06-17 2006-02-15 Lg电子株式会社 mobile telecommunication system and method for session termination
CN1794872A (en) * 2005-07-12 2006-06-28 华为技术有限公司 Method of stopping conversation in radio access network
CN101052054A (en) * 2006-04-04 2007-10-10 中兴通讯股份有限公司 Method for keeping PS domain and IMS domain IP address cancel consistency

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022889A1 (en) * 2020-07-31 2022-02-03 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for policy control
EP4312413A3 (en) * 2020-07-31 2024-02-07 Telefonaktiebolaget LM Ericsson (publ) Methods and apparatuses for policy control

Also Published As

Publication number Publication date
CN101420361A (en) 2009-04-29

Similar Documents

Publication Publication Date Title
RU2513711C2 (en) Service event trigger
WO2009046678A1 (en) Method and device for obtaining the capability of policy and charging enforcement function
WO2008128470A1 (en) Method,system and entity of realizing event detection
WO2010121565A1 (en) Service priority update indication method and service priority update method and apparatus
WO2008154840A1 (en) Method, system and entity for implementing policy control
WO2009124441A1 (en) Session termination triggering method, implementing method and apparatus
WO2010108356A1 (en) Charging method, system and reporting method for terminal accessing through multiple access networks
WO2008116406A1 (en) A control method, system and function entity of reporting signaling internet flow bearing event
WO2009135362A1 (en) Policy and charging control method for hiding topology of visited network
JP2012507223A (en) Policy and accounting control method, server, and computer program
WO2005109758A1 (en) A processing method for perfect charging on line based on the service data stream
WO2010031316A1 (en) Method and system for realizing the policy and charging control in the multiple packet data networks (pdn) scene
WO2006047965A1 (en) A method for processing the online charging
WO2010069170A1 (en) Method for realizing policy and charging control
WO2011079773A1 (en) Method, device and system for controlling user session policy
WO2012103770A1 (en) Usage monitoring method and system supporting traffic detection function
WO2009056046A1 (en) A method for session termination
WO2006015548A1 (en) A processing method based on charging trigger event and re-authorisation event of packet data flow
WO2011029289A1 (en) Method and system for transmitting a bearer control mode in roaming scenarios
WO2011063688A1 (en) Method and system for selecting policy and charging rules function entity
WO2007112657A1 (en) Deciding method and system for service information in mobile communication system
WO2011085614A1 (en) Method for controlling resources in full service converged network and system therefor
JP2014506420A (en) Method and system for realizing application detection and control in an IP-CAN session supporting dual stack
WO2013044730A1 (en) Quality of service updating method and system for policy and charging rules
WO2012119488A1 (en) Method for providing service, service broker, and policy and charging rules function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08846175

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08846175

Country of ref document: EP

Kind code of ref document: A1