WO2007098705A1 - A method and apparatus for cscf to release session - Google Patents

A method and apparatus for cscf to release session Download PDF

Info

Publication number
WO2007098705A1
WO2007098705A1 PCT/CN2007/000665 CN2007000665W WO2007098705A1 WO 2007098705 A1 WO2007098705 A1 WO 2007098705A1 CN 2007000665 W CN2007000665 W CN 2007000665W WO 2007098705 A1 WO2007098705 A1 WO 2007098705A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
user
logout
type
call control
Prior art date
Application number
PCT/CN2007/000665
Other languages
French (fr)
Chinese (zh)
Inventor
Hui Li
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 WO2007098705A1 publication Critical patent/WO2007098705A1/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

Definitions

  • the present invention relates to the field of communications technologies, and more particularly to a method and apparatus for releasing a session between a user and a Call Session Control Function (CSCF).
  • CSCF Call Session Control Function
  • SIP Session Initiation Protocol
  • VoIP Voice over Internet Protocol
  • IETF Internet Engineering Task Force
  • SIP Session Initiation Protocol
  • VoIP Voice over Internet Protocol
  • SIP is a protocol for telephone signaling, used to initiate a session, can control the establishment and termination of multimedia sessions attended by multiple participants, and can dynamically adjust and modify session attributes: such as session bandwidth requirements, transmission media types (voice, video, Data, etc.), media codec format, support for multicast and unicast, etc. Therefore, SIP is conducive to the development of value-added services for a variety of applications in conjunction with the Internet.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • 3GPP 3rd
  • the Generation Partnership Project uses a packet domain as its bearer channel for control signaling and media transmission, and introduces the SIP protocol as a service control protocol. It is easy to expand and convenient for media combination. It provides rich multimedia services by separating service control from bearer control.
  • the main functional entities in IMS include call control entity CSCF (Call Session Control Function) that controls user registration and session control. , call session control function), HSS (Home Subscriber Server) that centrally manages user subscription data, AS (Application Server) that provides various business logic control functions.
  • CSCF Call Session Control Function
  • HSS Home Subscriber Server
  • AS Application Server
  • the IMS network uses the registration process of the SIP protocol to implement user access to the IMS network.
  • the IMS network authenticates the user's private identity and establishes an access domain security channel.
  • the user registration success will establish the user's public identity and the current location of the user in the home domain S-CSCF (Serving CSCF).
  • the S-CSCF also removes the user's subscription data from the HSS.
  • the system architecture of the IMS 100 is shown in Figure 1.
  • the CSCF can establish one or more multimedia sessions.
  • the P-CSCF Proxy-CSCF, Proxy Call Control Entity
  • the S-CSCF network element need to release the established session and the established session by sending a BYE message to the calling party and the called party when the user is logged out. .
  • the still active multimedia session initiated by the user through the IMPU is released, that is, the CSCF is The calling side sends a BYE message to release the session being established with the IMPU and the session already established with the IMPU.
  • IMPU IP Multimedia Public Identity
  • the embodiments of the present invention are directed to a method and apparatus for a call control entity to release a session, which solves the problem that the session service is unreasonable in the prior art, and improves the user's perception of the session service.
  • An embodiment of the present invention provides a method for releasing a session, for causing a call control entity to release a user's session, including the following steps:
  • the call control entity receives a logout user request for canceling a user, and the logout user request includes a logout reason;
  • An embodiment of the present invention further provides a method for a forwarded session, for causing a call control entity to release a user's session, including the following steps: Receiving a logout user request for logging out the user;
  • an embodiment of the present invention further provides a device for a dry session, which is used for a call control entity, including a request receiving unit, a session type unit, and a session management unit, where: the request receiving unit is configured to receive a user for canceling a user. User logout request;
  • the session type unit is used to determine the type of the session
  • the session management unit is operative to determine whether to release the session established by the user requested to log off based on the user logout request and the type of user session.
  • the user decides whether to release the session according to the type of the user session and/or the reason for the cancellation, and the corresponding session can be released or maintained according to the application needs of the user and the network, so that the service realization is more rationalized and improved.
  • User experience When the user is logged off, the user decides whether to release the session according to the type of the user session and/or the reason for the cancellation, and the corresponding session can be released or maintained according to the application needs of the user and the network, so that the service realization is more rationalized and improved.
  • User experience DRAWINGS
  • FIG 1 shows an IMS architecture in the prior art
  • FIG. 2 is a flow chart showing a first embodiment of a method for a session established between an S-CSCF # and a user in the present invention
  • FIG. 4 is a flow chart showing the message interaction of the application example 2 of the S-CSCF releasing the session established with the user in the present invention
  • Fig. 5 is a view showing the configuration of an embodiment of a session releasing apparatus for CSCF in the present invention.
  • FIG. 2 shows a flow of Embodiment 1 of a method for releasing a session established between an S-CSCF and a user in the present invention.
  • the first embodiment of the method for releasing a session established between the S-CSCF and the user according to the present invention includes the following steps:
  • step S102 the S-CSCF receives the logout user request for canceling the user; in step S104, analyzing the session type and analyzing the logout reason value included in the logout user request;
  • step S106 when the user is logged off, it is determined whether to release the session according to the session type and the logout reason value.
  • CSCF has the following types due to different service types:
  • the CSCF can determine the first three session types according to the user registration status, and then determine whether the session belongs to the emergency session according to the content of the session request.
  • User registration includes:
  • the registration initiated by the user to the network the reason values are as follows:
  • the user's logout includes the following:
  • PERMANENT_TERMINATION The HSS indicates that the IMPU corresponding to the IMPI (IP Multimedia Private Identity) and the implicit registration set are no longer assigned to the S-CSCF (for example, the user's subscription changes) );
  • HSS indicates S-CSCF
  • the IMPU is assigned to the new S-CSCF
  • the call control entity can only be the S-CSCF, not the P-CSCF.
  • the session release is handled as follows:
  • the session established by the user in the unregistered state If the user state changes from the unregistered state to the registered state during the subsequent session, the network does not release the sessions. If the user state changes from the registered state to the unregistered state during subsequent sessions during the session, the network can selectively release the session based on the session type and the reason value of the release.
  • the user state changes from the registered state to the unregistered state.
  • the network can selectively release the session according to the type of the session and the value of the dry source.
  • Fig. 3 is a flow chart showing the message interaction of the method in which the S-CSCF releases the session established with the user in the application example 1 of the present embodiment.
  • the user subscribes to the unconditional forwarding service, the unconditional forwarding session established in the unregistered state, and the subsequent user state changes from the unregistered state to the registered state during the session. Then, the HSS initiates management to log off the user, and the S-CSCF releases the session.
  • the specific process is as follows:
  • step S202 the S-CSCF receives the session establishment request INVITE on the host side, and the user is in an unregistered state, and performs an unconditional forwarding service in an unregistered state;
  • step S204 the S-CSCF forwards the session establishment request INVITE to the called network; in step S206, the S-CSCF receives the session establishment response 200 OK;
  • step S208 the S-CSCF forwards the session establishment response 200 OK;
  • step S210 the user initiates an initial registration request REGISTER
  • step S212 the S-CSCF initiates a request Cx-Request to the HSS;
  • step S214 the S-CSCF receives the response of the HSS Cx-Response
  • step S216 the user registration is successful, and the S-CSCF answers the user request 200 OK;
  • step S220 the S-CSCF answers the HSS logout user request RTA;
  • steps S222 and S224 since the session type of the logged-out user is a session established in an unregistered state, the reason for the logout is PERMANENT_TERMINATION, and the S-CSCF separately reports to the calling side and the queried state according to the session type and the logout reason value of the user.
  • the calling side sends a BYE message, releasing the unconditional forwarding session established by the user;
  • steps S226, S228, the calling side and the called side UE respectively send a response 200 OK to the S-CSCF.
  • Fig. 4 is a flow chart showing the message interaction of the method in which the S-CSCF releases the session established with the user in the application example 2 of the embodiment.
  • the user subscribes to the unconditional forwarding service, and the unconditional forwarding session is established in the registered state. During the subsequent session, the user initiates the logout, and the state changes from the registered state to the unregistered state.
  • the S-CSCF does not release the session.
  • step S302 the user initiates an initial registration request REGISTER
  • step S304 the S-CSCF initiates a request Cx-Request to the HSS;
  • step S306 the S-CSCF receives the response of the HSS Cx-Response
  • step S308 the user registration is successful, and the S-CSCF answers the user request 200 OK.
  • step S310 the S-CSCF receives the session establishment request INVITE on the host side, and the user is in the registered state, and performs an unconditional forwarding irrelevant to the registration status.
  • step S312 the S-CSCF forwards the session establishment request to the called network INVITE; in step S314, the S-CSCF receives the session establishment response 200 OK;
  • step S316 the S-CSCF forwards the session establishment response 200 OK;
  • step S318 the user initiates a logout request USER_DEREGISTRATION; in step S320, the S-CSCF initiates a request Cx-Request to the HSS;
  • step S324 the user logs out successfully, the S-CSCF answers the user request 200 OK, and the user status is unregistered;
  • step S326 since the session type of the logged-out user is a state-independent session established in the registered state, the reason for the logout is USER_DEREGISTRATION, and the S-CSCF judges according to the user session type and the logout reason value, and does not release the user established session. Unconditional forwarding session.
  • the S-CSCF will select whether to judge whether to open the established session according to the session type and the reason value of the user logout. For example, in application example 1, the S-CSCF selects to release the established session according to the session type and the reason value of the user logout; and in the application example 2, the S-CSCF selects according to the session type and the reason value of the user logout. Release the established session.
  • the call control entity can also use the session type to determine whether to release the session.
  • the session type that is not released is set to the set reservation type in the CSCF; and the session type that needs to be further determined according to the logout reason to release the session may also be set. To set the type of distinction. If the session type does not belong to the above two types, the session is released.
  • the session type of the logged-out user may further determine whether the type of the session belongs to the set discrimination type, and if yes, determine whether to release the session according to the reason for cancellation in the log-out user request; if not, The session is released.
  • the retention type can be set.
  • setting the classification type may include a session established in a state where the user is not registered and a state-independent session established in a state in which the user has been registered.
  • the logout reason is permanent logout, new server assignment, server change, or cancel service call control entity, the session is released; when the logout reason is management logout, timeout logout, or user logout, Leave the session unreleased.
  • the setting of which sessions are released or not released in Tables 1 and 2 is only a possible manner, and the network service provider may Different settings are made according to the needs of the specific application environment.
  • the network service provider may set the session type other than the four types in Table 1 and Table 2 to be released or reserved, or may be set according to other cancellation reasons other than the seven cancellation reasons in Tables 1 and 2.
  • the session is released or retained, and is not limited to the session type or logout reason exemplified in the above embodiment.
  • the computer program corresponding to the first embodiment and the second embodiment of the method for releasing a session of the present invention may be stored in a readable storage medium, and the readable storage medium may be accessed by optical, electromagnetic, semi-conductor or other means.
  • the request receiving unit 510 receives a user logout request for canceling a user, and the user logout request may be initiated by the user requested to log off to the CSCF. , initiated by another CSCF to the CSCF, initiated internally by the CSCF, or initiated by the home subscriber server to the CSCF.
  • the request receiving unit 510 outputs the received user logout request to the session management unit 530, and the session management unit 530 queries the session type unit 520 for the session type of the user requested to log off; the session type unit 520 follows the registration status of the user and/or The session request content determines the type of the user session, and returns the determined session type to the session management unit 530; the session management unit 530 determines whether to release the session established by the user who is requested to log out based on the user logout request and the type of the user session.
  • the network service provider can determine the type of user session that is released or not released and/or the reason for the logout, for example, the settings in Tables 1 and 2 above can be used.
  • the above release session device can be applied in the S-CSCF or in the P-CSCF.
  • the CSCF selects whether to release the established session according to the session type and/or the reason value of the user logout, so that the network service provider can release or maintain the corresponding session according to the user and the specific application requirement.
  • the business implementation is more rationalized; for the user, even after being logged off, some sessions that need to be maintained, such as an emergency session, are still in a reserved state, so that the user feels better.

Abstract

Provided a session releasing method used for CSCF to release the session between the user and the CSCF, which comprises the following steps: the CSCF receiving the user deregistration request which includes the deregistration reason for deregistering the user; judging the session type and the deregistration reason value; and determining whether to release the session according to the deregistration reason value and the session type. The present invention makes the implement of session service more reasonable and makes the user feel better about the session.

Description

用于呼叫控制实体释放会话的方法及装置  Method and device for call control entity to release session
本申请要求于 2006 年 3 月 3 日提交中国专利局、 申请号为 200610059339.4, 发明名称为"用于呼叫控制实体幹放会话的方法"的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610059339.4, entitled "Method for Call Control Entity Dry Session", filed on March 3, 2006, the entire contents of which are incorporated by reference. In this application.
技术滅 本发明涉及通信技术领域, 更具体而言, 涉及一种用于呼叫控制实 体( Call Session Control Function, 缩写为 "CSCF" )释放与用户之间的 会话的方法及装置。 The present invention relates to the field of communications technologies, and more particularly to a method and apparatus for releasing a session between a user and a Call Session Control Function (CSCF).
背景技术 Background technique
SIP ( Session Initiation Protocol, 会话初始协议 )是互联网工程任 务组(IETF ) 于 1999年 3 月发布的一种 VoIP ( Voice Over Internet Protocol,在 IP网上传输话音)的标准。 SIP将电话作为互联网( Internet ) 的一种重要应用, 增加了电话信令和服务质量(Quality of Service, 筒 称" QoS" ) 方面的要求, 并具有独特的用户寻址与定位的功能。 近来, SIP的实际作用已远远超出了 VoIP的应用。 SIP是电话信令的协议,用 于发起会话, 能控制多个参与者参加的多媒体会话的建立和终结, 并 能动态调整和修改会话属性: 如会话带宽要求、 传输媒体类型 (语音、 视频、 数据等)、 媒体的编解码格式、 对多播和单播的支持等等。 因此, SIP有利于与互联网结合开发多种应用的增值服务。  SIP (Session Initiation Protocol) is a standard of Voice over Internet Protocol (VoIP) released by the Internet Engineering Task Force (IETF) in March 1999. SIP, as an important application of the Internet, adds requirements for telephony signaling and quality of service (QoS), and has unique user addressing and location capabilities. Recently, the practical role of SIP has far exceeded the application of VoIP. SIP is a protocol for telephone signaling, used to initiate a session, can control the establishment and termination of multimedia sessions attended by multiple participants, and can dynamically adjust and modify session attributes: such as session bandwidth requirements, transmission media types (voice, video, Data, etc.), media codec format, support for multicast and unicast, etc. Therefore, SIP is conducive to the development of value-added services for a variety of applications in conjunction with the Internet.
IMS ( IP Multimedia Subsystem, IP多媒体子系统 )是 3GPP ( 3rd IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) is 3GPP (3rd)
Generation Partnership Project, 第三代移动通信标准化伙伴项目 )在分 组网络上叠加的一个子系统,采用分组域为其控制信令和媒体传输的承 载通道, 引入 SIP协议作为业务控制协议, 利用 SIP简单、 易扩展、 媒 体组合方便的特点, 通过将业务控制与承载控制分离, 来提供丰富的多 媒体业务; IMS中主要的功能实体包括控制用户注册、会话控制等功能 的呼叫控制实体 CSCF ( Call Session Control Function, 呼叫会话控制功 能)、 集中管理用户签约数据的 HSS ( Home Subscriber Server, 归属用 户服务器), 提供各种业务逻辑控制功能的 AS ( Application Server, 应 用服务器)等。 IMS网络使用 SIP协议的注册过程来实现用户接入 IMS网络。 在 用户注册过程中, IMS网络针对用户私有标识进行认证并建立接入域安 全通道, 用户注册成功将在归属域 S-CSCF ( Serving CSCF, 服务呼叫 控制实体)建立用户公有标识与该用户当前位置间的关系, S-CSCF同 时从 HSS取下用户的签约数据。 The Generation Partnership Project, a sub-system superimposed on the packet network, uses a packet domain as its bearer channel for control signaling and media transmission, and introduces the SIP protocol as a service control protocol. It is easy to expand and convenient for media combination. It provides rich multimedia services by separating service control from bearer control. The main functional entities in IMS include call control entity CSCF (Call Session Control Function) that controls user registration and session control. , call session control function), HSS (Home Subscriber Server) that centrally manages user subscription data, AS (Application Server) that provides various business logic control functions. The IMS network uses the registration process of the SIP protocol to implement user access to the IMS network. During the user registration process, the IMS network authenticates the user's private identity and establishes an access domain security channel. The user registration success will establish the user's public identity and the current location of the user in the home domain S-CSCF (Serving CSCF). In the relationship, the S-CSCF also removes the user's subscription data from the HSS.
IMS 100的系统架构如图 1所示。  The system architecture of the IMS 100 is shown in Figure 1.
根据用户或者网络实体的債求, CSCF能够建立一到多个多媒体会 话。现有技术中, P-CSCF ( Proxy-CSCF,代理呼叫控制实体)和 S-CSCF 网元在用户被注销时, 需要通过向主被叫侧发送 BYE消息释放正在建 立的会话和已经建立的会话。  Based on the debt of the user or network entity, the CSCF can establish one or more multimedia sessions. In the prior art, the P-CSCF (Proxy-CSCF, Proxy Call Control Entity) and the S-CSCF network element need to release the established session and the established session by sending a BYE message to the calling party and the called party when the user is logged out. .
当用户的 IMPU( IP Multimedia Public Identity, IP多媒体公开身份) 注册生命期到期时, 或者网络发起注销时, 用户通过该 IMPU发起的仍 然在活动的多媒体会话会被释放, 即由 CSCF向主被叫侧发送 BYE消 息释放正在以该 IMPU建立的会话和已经以该 IMPU建立的会话。  When the user's IMPU (IP Multimedia Public Identity) registration lifetime expires, or when the network initiates logout, the still active multimedia session initiated by the user through the IMPU is released, that is, the CSCF is The calling side sends a BYE message to release the session being established with the IMPU and the session already established with the IMPU.
在实现本发明过程中, 发明人发现现有技术中至少存在以下问题: 在注销用户时释放所有该 IMPU的会话,将一些用户还希望继续保持的 会话也一并释放, 这样的业务实现不尽合理。 对用户而言, 或者放弃该 会话, 或者不得不重新建立会话, 造成用户感受不佳。  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: all the sessions of the IMPU are released when the user is logged off, and the sessions that some users also wish to keep are also released, and such services are not implemented. reasonable. For the user, either the session is abandoned or the session has to be re-established, causing the user to experience poor performance.
发明内容 Summary of the invention
本发明的实施例旨在提供一种用于呼叫控制实体释放会话的方法 及装置, 解决现有技术中会话业务实现不合理的问题, 改善用户对会话 业务的感受。  The embodiments of the present invention are directed to a method and apparatus for a call control entity to release a session, which solves the problem that the session service is unreasonable in the prior art, and improves the user's perception of the session service.
本发明的实施例提供了一种释放会话的方法,用于使呼叫控制实体 释放用户的会话, 包括以下步骤: 呼叫控制实体接收用于注销用户的注 销用户请求, 注销用户请求包括注销原因; 分析会话的会话类型以及注 销原因的注销原因值; 以及, 根据注销原因值以及会话类型来确定是否 释放会话。  An embodiment of the present invention provides a method for releasing a session, for causing a call control entity to release a user's session, including the following steps: The call control entity receives a logout user request for canceling a user, and the logout user request includes a logout reason; The session type of the session and the logout reason value of the logout reason; and, based on the logoff reason value and the session type, determine whether to release the session.
本发明的实施例还提供了一种锋放会话的方法, 用于使呼叫控制实 体释放用户的会话, 包括以下步骤: 接收用于注销所述用户的注销用户请求; An embodiment of the present invention further provides a method for a forwarded session, for causing a call control entity to release a user's session, including the following steps: Receiving a logout user request for logging out the user;
当所述用户会话的类型为设定保留类型时, 不释放所述会话。 另外, 本发明的实施例还提供了一种幹放会话的装置, 用于呼叫控 制实体, 包括请求接收单元、 会话类型单元和会话管理单元, 其中: 请求接收单元用来接收用于注销用户的用户注销请求;  When the type of the user session is a set reservation type, the session is not released. In addition, an embodiment of the present invention further provides a device for a dry session, which is used for a call control entity, including a request receiving unit, a session type unit, and a session management unit, where: the request receiving unit is configured to receive a user for canceling a user. User logout request;
会话类型单元用来确定会话的类型;  The session type unit is used to determine the type of the session;
会话管理单元用来根据用户注销请求和用户会话的类型确定是否 释放由被请求注销的用户建立的会话。  The session management unit is operative to determine whether to release the session established by the user requested to log off based on the user logout request and the type of user session.
本发明的实施例在注销用户时, 按照用户会话的类型和 /或注销原 因确定是否释放会话,可以根据用户和网络的应用需要来释放或保持相 应的会话, 使得业务实现更加合理化, 并且改善了用户的使用感受。 附图说明  When the user is logged off, the user decides whether to release the session according to the type of the user session and/or the reason for the cancellation, and the corresponding session can be released or maintained according to the application needs of the user and the network, so that the service realization is more rationalized and improved. User experience. DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本 申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不 构成对本发明的不当限定。 在附图中:  The drawings are intended to provide a further understanding of the embodiments of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图 1示出了现有技术中的 IMS架构;  Figure 1 shows an IMS architecture in the prior art;
图 2示出了本发明中用于 S-CSCF #放与用户之间建立的会话的方 法实施例一的流程图;  2 is a flow chart showing a first embodiment of a method for a session established between an S-CSCF # and a user in the present invention;
图 3示出了本发明中 S-CSCF释放与用户之间建立的会话的应用示 例一的消息交互流程图; 以及  3 is a flow chart showing the message interaction of the application example 1 of the S-CSCF releasing the session established with the user in the present invention;
图 4示出了本发明中 S-CSCF释放与用户之间建立的会话的应用示 例二的消息交互流程图;  4 is a flow chart showing the message interaction of the application example 2 of the S-CSCF releasing the session established with the user in the present invention;
图 5示出了本发明中用于 CSCF的会话释放装置实施例的结构示意 图。  Fig. 5 is a view showing the configuration of an embodiment of a session releasing apparatus for CSCF in the present invention.
具体实施方式 detailed description
下面将参考附图详细说明本发明的各个实施例。  Various embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
值得注意的是, 在以下对实施例的具体描述中, 所例举的呼叫控制 实体是 S-CSCF, 但本领域技术人员知道, 除下述明确说明仅适用于 S-CSCF的情形外, 这些实施例同样也可以应用于 P-CSCF。 图 2示出了本发明中用于 S-CSCF释放与用户之间建立的会话的方 法实施例一的流程。 It is to be noted that in the following detailed description of the embodiments, the exemplified call control entity is an S-CSCF, but those skilled in the art will recognize that, except for the case where the following clearly applies only to the S-CSCF, these Embodiments are equally applicable to the P-CSCF. FIG. 2 shows a flow of Embodiment 1 of a method for releasing a session established between an S-CSCF and a user in the present invention.
如图 2所示, 根据本发明的用于 S-CSCF释放与用户之间建立的会 话的方法实施例一包括以下步骤:  As shown in FIG. 2, the first embodiment of the method for releasing a session established between the S-CSCF and the user according to the present invention includes the following steps:
在步骤 S102中, S-CSCF接收用于注销用户的注销用户请求; 在步骤 S104中, 分析会话类型和分析注销用户请求中所包含的注 销原因值; 以及  In step S102, the S-CSCF receives the logout user request for canceling the user; in step S104, analyzing the session type and analyzing the logout reason value included in the logout user request;
在步骤 S106中, 在注销用户时, 才艮据会话类型和注销原因值确定 是否释放会话。  In step S106, when the user is logged off, it is determined whether to release the session according to the session type and the logout reason value.
下面将参照表一和表二来详细说明根据本实施例的 S-CSCF用户注 销情况, 处理会话幹放的方法。  The method of processing the session dry-out by the S-CSCF user in accordance with the present embodiment will be described in detail below with reference to Tables 1 and 2.
1、 CSCF由于业务类型的不同, 会话类型包括以下几类: 1. CSCF has the following types due to different service types:
• 已注册状态下建立的状态相关的会话: 这一类会话只能已注册 状态下建立,不能在未注册状态下建立。例如无应答前转业务; · 巳注册状态下建立的和注册状态无关的会话: 这一类会话在已 注册状态和未注册状态下,都可以建立,例如无条件前转业务;• Status-related sessions established in the registered state: This type of session can only be established in the registered state and cannot be established in the unregistered state. For example, a non-response forwarding service; • a session established in the registration state and independent of the registration status: This type of session can be established in both the registered state and the unregistered state, for example, unconditional forwarding service;
• 未注册状态下建立的会话; • A session established in an unregistered state;
• 紧急会话。  • An emergency session.
具体来说, CSCF根据用户注册状态可判断出前面三种会话类型, 然后根据会话请求内容可以判断出会话是否属于紧急会话。  Specifically, the CSCF can determine the first three session types according to the user registration status, and then determine whether the session belongs to the emergency session according to the content of the session request.
2、 用户注册的情况包括:  2. User registration includes:
用户向网络发起的注册, 原因值如下:  The registration initiated by the user to the network, the reason values are as follows:
• REGISTRATION (注册): 用户发起的注册。  • REGISTRATION: User-initiated registration.
3、 用户注销的情况包括以下几种:  3. The user's logout includes the following:
用户发起的注销, 原因值如下:  User initiated logout, the reason values are as follows:
• USER— DEREGISTRATION (用户注销): 用户发起的注销。 另一呼叫控制实体向呼叫控制实体发起,或者由呼叫控制实体内部 发起的注销, 原因值如下:  • USER—DEREGISTRATION: User-initiated logout. Another call control entity initiates a call to the call control entity or is initiated by the call control entity. The reason values are as follows:
• TIMEOUT— DEREGISTRATION (超时注销): 注册定时器超时, CSCF发起的注销; • TIMEOUT— DEREGISTRATION: The registration timer expires. Logout initiated by CSCF;
• ADMINISTRATIVE— DEREGISTRATION (管理注销): CSCF 发起的管理注销。  • ADMINISTRATIVE— DEREGISTRATION: An administrative logout initiated by CSCF.
HSS发起的注销, 原因值如下:  The logout initiated by HSS has the following reasons:
• PERMANENT_TERMINATION (永久注销): HSS指示 S-CSCF 该 IMPI ( IP Multimedia Private Identity, IP多媒体私密身份 ) 对应的 IMPU以及隐式注册集不再被分配到该 S-CSCF (例如, 用户的签约发生变化);  • PERMANENT_TERMINATION: The HSS indicates that the IMPU corresponding to the IMPI (IP Multimedia Private Identity) and the implicit registration set are no longer assigned to the S-CSCF (for example, the user's subscription changes) );
• NEW_SERVER_ASSIGNED(新服务器分配): HSS指示 S-CSCF 该 IMPU被分配到新的 S-CSCF;  • NEW_SERVER_ASSIGNED (new server allocation): HSS indicates S-CSCF The IMPU is assigned to the new S-CSCF;
• SERVER—CHANGE (服务器改变): HSS指示 S-CSCF强制注 销该用户, 让用户选择其他 S-CSCF;  • SERVER—CHANGE (Server Change): The HSS instructs the S-CSCF to force the user to be logged out, allowing the user to select another S-CSCF;
• REMOVE— SCSCF(取消服务呼叫控制实体): HSS指示 S-CSCF 该未注册状态的 IMPU不再被分配到该 S-CSCF。  • REMOVE – SCSCF (Cancel Service Call Control Entity): The HSS indicates that the S-CSCF is not assigned to the S-CSCF.
值得注意的是, 关于 HSS发起的注销的情况, 呼叫控制实体只能 是 S-CSCF, 而不能是 P-CSCF。  It is worth noting that with regard to the logout initiated by the HSS, the call control entity can only be the S-CSCF, not the P-CSCF.
4、 用户注册状态发生变化的情况下, 对于用户建立的会话, 包括 已经建立的会话和正在建立的会话, 其会话释放的处理方式如下:  4. In the case that the user registration status changes, for the session established by the user, including the established session and the session being established, the session release is handled as follows:
用户在未注册状态下建立的会话, 如果后续在会话期间, 用户状态 由未注册状态变化为已注册状态, 网络不释放这些会话。 如果后续在会 话期间, 用户状态由已注册状态再次变化为未注册状态, 则网络可以根 据会话类型和释放的原因值的不同, 有选择的释放会话。  The session established by the user in the unregistered state. If the user state changes from the unregistered state to the registered state during the subsequent session, the network does not release the sessions. If the user state changes from the registered state to the unregistered state during subsequent sessions during the session, the network can selectively release the session based on the session type and the reason value of the release.
具体方法可以参见如下表格:  The specific method can be seen in the following table:
表一: 用户在未注册状态下建立的会话  Table 1: Sessions established by users in an unregistered state
会话类型 注销原因 是否释放 ^舌 未注册状态下建立的会话 PERMANENT— TERMINATION 是  Session type Logout reason Released ^ Tongue Unestablished session established session PERMANENT_ TERMINATION Yes
NEW— SERVER— ASSIGNED 是 NEW— SERVER — ASSIGNED Yes
SERVER— CHANGE 是SERVER— CHANGE is
REMOVE— SCSCF 是 ADMINISTRATIVE_DEREGISTRATION 否 REMOVE - SCSCF is ADMINISTRATIVE_DEREGISTRATION No
TIMEOUT JDEREGISTRATION 否 TIMEOUT JDEREGISTRATION No
USER_DEREGISTRATION 否 紧急会话 PERMANENT— TERMINATION 否 USER_DEREGISTRATION No Emergency session PERMANENT— TERMINATION No
NEW— SERVER— ASSIGNED 否 NEW— SERVER — ASSIGNED No
SERVER— CHANGE 否SERVER— CHANGE No
REMOVE_SCSCF 否REMOVE_SCSCF No
ADMINISTRATIVE JDEREGISTRATION 否ADMINISTRATIVE JDEREGISTRATION No
TIMEOUT— DEREGISTRATION 否TIMEOUT— DEREGISTRATION No
USER_DEREGISTRATION 否USER_DEREGISTRATION No
5、 用户在已注册状态下建立的会话, 后续在会话期间, 用户状态 由已注册状态变化为未注册状态。则网络可以根据会话类型和幹放的原 因值的不同, 有选择的释放会话。 5. The session established by the user in the registered state. During the subsequent session, the user state changes from the registered state to the unregistered state. Then the network can selectively release the session according to the type of the session and the value of the dry source.
具体方法可以参见如下表格:  The specific method can be seen in the following table:
表二: 用户在已注册状态下建立的会话  Table 2: Sessions established by users in the registered state
会话类型 注销原因 是否释放^ ¾" 已注册状态下建立的状态 PERMANENT一 TERMINATION 是  Session type Logout reason Whether to release ^ 3⁄4" Status established in the registered state PERMANENT TERMINATION Yes
相关会话  Related conversation
NEW— SERVER— ASSIGNED 是 NEW— SERVER — ASSIGNED Yes
SERVER— CHANGE 是SERVER— CHANGE is
REMOVE— SCSCF 是REMOVE - SCSCF is
ADMINISTRATIVE JDEREGISTRATION 是ADMINISTRATIVE JDEREGISTRATION is
TIMEOUT JDEREGISTRATION 是TIMEOUT JDEREGISTRATION is
USER— DEREGISTRATION 是 已注册状态下建立的状态 PERMANENT— TERMINATION 是 USER— DEREGISTRATION is the status established in the registered state PERMANENT— TERMINATION is
无关会话  Irrelevant conversation
NEW— SERVER— ASSIGNED 是 NEW— SERVER — ASSIGNED Yes
SERVER— CHANGE 是 REMOVE—SCSCF 是 SERVER— CHANGE is REMOVE—SCSCF is
ADMINISTRATIVE_DEREGISTRATION 否 ADMINISTRATIVE_DEREGISTRATION No
TIMEOUT— DEREGISTRATION 否TIMEOUT— DEREGISTRATION No
USER_DEREGISTRATION 否 紧急会 PERMANENT— TERMINATION 否 USER_DEREGISTRATION No Urgent PERMANENT— TERMINATION No
NEW— SERVER— ASSIGNED 否 NEW— SERVER — ASSIGNED No
SERVER— CHANGE 否SERVER— CHANGE No
REMOVE—SCSCF 否REMOVE—SCSCF No
ADMINISTRATIVE— DEREGISTRATION 否ADMINISTRATIVE— DEREGISTRATION No
TIMEOUT— DEREGISTRATION 否TIMEOUT— DEREGISTRATION No
USER— DEREGISTRATION 否 下面将参照图 2和图 3来说明根据本实施例的应用示例一和应用示 例二。 USER_DEREGISTRATION No Application example 1 and application example 2 according to the present embodiment will be explained with reference to Figs. 2 and 3.
应用示例一: Application example one:
图 3示出了 居本实施例的应用示例一中 S-CSCF释放与用户之间 建立的会话的方法的消息交互流程图。  Fig. 3 is a flow chart showing the message interaction of the method in which the S-CSCF releases the session established with the user in the application example 1 of the present embodiment.
在该应用示例中, 用户签约了无条件前转业务, 在未注册状态下建 立的无条件前转会话, 后续在会话期间, 用户状态由未注册状态变化为 已注册状态。 而后, HSS发起管理注销用户, S-CSCF释放会话。 具体 流程如下:  In this application example, the user subscribes to the unconditional forwarding service, the unconditional forwarding session established in the unregistered state, and the subsequent user state changes from the unregistered state to the registered state during the session. Then, the HSS initiates management to log off the user, and the S-CSCF releases the session. The specific process is as follows:
在步驟 S202中, S-CSCF接收主机侧的会话建立请求 INVITE, 用 户为未注册状态, 执行未注册状态的无条件前转业务;  In step S202, the S-CSCF receives the session establishment request INVITE on the host side, and the user is in an unregistered state, and performs an unconditional forwarding service in an unregistered state;
在步骤 S204中 , S-CSCF转发会话建立请求 INVITE到被叫网络; 在步骤 S206中 , S-CSCF接收会话建立响应 200 OK;  In step S204, the S-CSCF forwards the session establishment request INVITE to the called network; in step S206, the S-CSCF receives the session establishment response 200 OK;
在步骤 S208中, S-CSCF转发会话建立响应 200 OK;  In step S208, the S-CSCF forwards the session establishment response 200 OK;
在步骤 S210中, 用户发起初始注册请求 REGISTER;  In step S210, the user initiates an initial registration request REGISTER;
在步骤 S212中 , S-CSCF向 HSS发起请求 Cx-Request;  In step S212, the S-CSCF initiates a request Cx-Request to the HSS;
在步骤 S214中, S-CSCF接收 HSS的响应 Cx-Response;  In step S214, the S-CSCF receives the response of the HSS Cx-Response;
在步骤 S216中, 用户注册成功, S-CSCF应答用户请求 200 OK; 在 步骤 S218 中 , HSS 发起管 理 RTR , 原 因 值为 PERMANENT— TERMINATION; In step S216, the user registration is successful, and the S-CSCF answers the user request 200 OK; In step S218, the HSS initiates management of the RTR, and the reason value is PERMANENT_TERMINATION;
在步骤 S220中, S-CSCF应答 HSS注销用户请求 RTA;  In step S220, the S-CSCF answers the HSS logout user request RTA;
在步骤 S222、 S224中, 由于被注销用户的会话类型为未注册状态 下建立的会话, 注销原因为 PERMANENT— TERMINATION, S-CSCF 根据用户的会话类型和注销原因值, 分別向主叫侧和被叫侧发送 BYE 消息, 释放用户建立的无条件前转会话; 以及  In steps S222 and S224, since the session type of the logged-out user is a session established in an unregistered state, the reason for the logout is PERMANENT_TERMINATION, and the S-CSCF separately reports to the calling side and the queried state according to the session type and the logout reason value of the user. The calling side sends a BYE message, releasing the unconditional forwarding session established by the user;
在步骤 S226、 S228中, 主叫侧和被叫侧 UE分别向 S-CSCF发送 响应 200 OK。  In steps S226, S228, the calling side and the called side UE respectively send a response 200 OK to the S-CSCF.
应用示 4列二: Application shows 4 column 2:
图 4示出了本实施例的应用示例二中 S-CSCF释放与用户之间建立 的会话的方法的消息交互流程图。  Fig. 4 is a flow chart showing the message interaction of the method in which the S-CSCF releases the session established with the user in the application example 2 of the embodiment.
用户签约了无条件前转业务,在已注册状态下建立的无条件前转会 话, 后续在会话期间, 用户发起注销, 状态由已注册状态变化为未注册 状态。 S-CSCF不释放会话。 具体流程如下:  The user subscribes to the unconditional forwarding service, and the unconditional forwarding session is established in the registered state. During the subsequent session, the user initiates the logout, and the state changes from the registered state to the unregistered state. The S-CSCF does not release the session. The specific process is as follows:
在步驟 S302中, 用户发起初始注册请求 REGISTER;  In step S302, the user initiates an initial registration request REGISTER;
在步骤 S304中 , S-CSCF向 HSS发起请求 Cx-Request;  In step S304, the S-CSCF initiates a request Cx-Request to the HSS;
在步骤 S306中 , S-CSCF接收 HSS的响应 Cx-Response;  In step S306, the S-CSCF receives the response of the HSS Cx-Response;
在步骤 S308中, 用户注册成功, S-CSCF应答用户请求 200 OK; 在步骤 S310中, S-CSCF接收主机侧的会话建立请求 INVITE, 用 户为已注册状态, 执行与注册状态无关的无条件前转业务;  In step S308, the user registration is successful, and the S-CSCF answers the user request 200 OK. In step S310, the S-CSCF receives the session establishment request INVITE on the host side, and the user is in the registered state, and performs an unconditional forwarding irrelevant to the registration status. Business
在步驟 S312中, S-CSCF前转会话建立请求到被叫网络 INVITE; 在步驟 S314中, S-CSCF接收会话建立响应 200 OK;  In step S312, the S-CSCF forwards the session establishment request to the called network INVITE; in step S314, the S-CSCF receives the session establishment response 200 OK;
在步骤 S316中, S-CSCF转发会话建立响应 200 OK;  In step S316, the S-CSCF forwards the session establishment response 200 OK;
在步骤 S318中, 用户发起注销请求 USER— DEREGISTRATION; 在步骤 S320中, S-CSCF向 HSS发起请求 Cx-Request;  In step S318, the user initiates a logout request USER_DEREGISTRATION; in step S320, the S-CSCF initiates a request Cx-Request to the HSS;
在步骤 S322中, S-CSCF接收 HSS的响应 Cx-Response;  In step S322, the S-CSCF receives the response of the HSS Cx-Response;
在步骤 S324中, 用户注销成功, S-CSCF应答用户请求 200 OK, 用户状态为未注册状态; 以及 在步骤 S326中, 由于被注销用户的会话类型为已注册状态下建立 的状态无关会话, 注销原因为 USER— DEREGISTRATION, S-CSCF才艮 据用户会话类型和注销原因值判断, 不释放用户建立的无条件前转会 话。 In step S324, the user logs out successfully, the S-CSCF answers the user request 200 OK, and the user status is unregistered; In step S326, since the session type of the logged-out user is a state-independent session established in the registered state, the reason for the logout is USER_DEREGISTRATION, and the S-CSCF judges according to the user session type and the logout reason value, and does not release the user established session. Unconditional forwarding session.
分析上述实施例, 可以看到, S-CSCF将根据会话类型和用户注销 的原因值来选择判断是否幹放巳建立的会话。 例如, 在应用示例一中, S-CSCF根据会话类型和用户注销的原因值选择了释放已建立的会话; 而在应用示例二中, S-CSCF根据会话类型和用户注销的原因值选择了 不释放已建立的会话。  By analyzing the above embodiment, it can be seen that the S-CSCF will select whether to judge whether to open the established session according to the session type and the reason value of the user logout. For example, in application example 1, the S-CSCF selects to release the established session according to the session type and the reason value of the user logout; and in the application example 2, the S-CSCF selects according to the session type and the reason value of the user logout. Release the established session.
值得注意的是, 从对上述表一表二的分析中可以看到, 只要确定会 话类型是已注册状态下建立的状态相关会话, 则不管注销原因是什么 值, 呼叫控制实体都将释放该会话。  It is worth noting that, from the analysis of Table 2 above, as long as it is determined that the session type is a state-related session established in the registered state, the call control entity will release the session regardless of the value of the logout reason. .
还值得注意的是, 从对以上表一表二的分析中可以看到, 只要确定 会话类型是紧急会话, 则不管注销原因是什么值, 呼叫控制实体都不会 释放该会话。  It is also worth noting that, as can be seen from the analysis of Table 2 above, as long as the session type is determined to be an emergency session, the call control entity will not release the session regardless of the value of the logout reason.
可见, 呼叫控制实体也可以采用会话类型来判断是否释放会话。 在 本发明所述释放会话的方法实施例二中,在 CSCF中将不予释放的会话 类型设置为设定保留类型;对需要进一步根据注销原因判断是否释放会 话的会话类型, 还可以将其设置为设定区分类型。 如果会话类型不属于 上述两种类型, 则释放该会话。  It can be seen that the call control entity can also use the session type to determine whether to release the session. In the second embodiment of the method for releasing a session according to the present invention, the session type that is not released is set to the set reservation type in the CSCF; and the session type that needs to be further determined according to the logout reason to release the session may also be set. To set the type of distinction. If the session type does not belong to the above two types, the session is released.
简便起见, 对实施例二中与实施例一中相同的内容请参见前述说 明, 不再重复。 实施例二中 CSCF的处理流程如下:  For the sake of brevity, please refer to the foregoing description for the same contents in the second embodiment as in the first embodiment, and the description is not repeated. The processing flow of the CSCF in the second embodiment is as follows:
接收用于注销用户的注销用户请求;  Receiving a logout user request for logging out the user;
判断被注销用户的会话的类型是否属于设定保留类型, 如果是, 则 不#放该会话。  Determine whether the type of the session of the logged-out user belongs to the set reservation type. If yes, the session is not placed.
当被注销用户的会话类型不属于设定保留类型时,可以进一步判断 该会话的类型是否属于设定区分类型, 如果是, 则根据注销用户请求中 的注销原因确定是否释放该会话; 如果否, 则释放该会话。  When the session type of the logged-out user does not belong to the set reservation type, it may further determine whether the type of the session belongs to the set discrimination type, and if yes, determine whether to release the session according to the reason for cancellation in the log-out user request; if not, The session is released.
对应于上述表一和表二中所释放和不释放的会话,设定保留类型可 以包括紧急会话;设定区分类型可以包括在用户未注册状态下建立的会 话和在用户已注册状态下建立的状态无关会话。对在用户未注册状态下 建立的 舌, 当注销原因为永久注销、 新服务器分配、 服务器改变或取 消服务呼叫控制实体时, 释放该会话; 当注销原因为管理注销、 超时注 销或用户注销时, 保留该会话不释放。 对在用户已注册状态下建立的状 态无关会话, 当注销原因为永久注销、 新服务器分配、 服务器改变或取 消服务呼叫控制实体时, 幹放该会话; 当注销原因为管理注销、 超时注 销或用户注销时, 不释放该会话。 Corresponding to the session released and not released in Tables 1 and 2 above, the retention type can be set. To include an emergency session; setting the classification type may include a session established in a state where the user is not registered and a state-independent session established in a state in which the user has been registered. For a tongue established in a state where the user is not registered, when the logout reason is permanent logout, new server assignment, server change, or cancel service call control entity, the session is released; when the logout reason is management logout, timeout logout, or user logout, Leave the session unreleased. For a state-independent session established in the user's registered state, when the logout reason is permanent logout, new server assignment, server change, or cancel service call control entity, the session is put dry; when the logout reason is management logout, timeout logout, or user When you log out, the session is not released.
需要说明的是,在本发明所述释放会话的方法实施例一和实施例二 中, 表一和表二中释放或不释放哪些会话的设定只是一种可能的方式, 网络服务提供商可以根据具体应用环境的需求进行不同的设定。 例如, 网络服务商可以将表一和表二中四种类型以外的其他会话类型会话设 定为释放或保留,也可以根据表一和表二中七种注销原因外的其他注销 原因设定为释放或保留会话, 而并不局限于上述实施例中例举的会话类 型或注销原因。  It should be noted that, in the first embodiment and the second embodiment of the method for releasing a session in the present invention, the setting of which sessions are released or not released in Tables 1 and 2 is only a possible manner, and the network service provider may Different settings are made according to the needs of the specific application environment. For example, the network service provider may set the session type other than the four types in Table 1 and Table 2 to be released or reserved, or may be set according to other cancellation reasons other than the seven cancellation reasons in Tables 1 and 2. The session is released or retained, and is not limited to the session type or logout reason exemplified in the above embodiment.
本发明所述释放会话的方法实施例一和实施例二对应的计算机程 序可以存储在可读存储介质中, 可读存储介质可以以光的、 电磁的、 半 导体的或者其他方式进行数据存取。  The computer program corresponding to the first embodiment and the second embodiment of the method for releasing a session of the present invention may be stored in a readable storage medium, and the readable storage medium may be accessed by optical, electromagnetic, semi-conductor or other means.
图 5为本发明中用于会话控制实体 CSCF的会话释放装置实施例的 结构示意图, 请求接收单元 510接收用于注销用户的用户注销请求, 用 户注销请求可以由被请求注销的用户向该 CSCF发起, 或由另一 CSCF 向该 CSCF发起, 或由该 CSCF 内部发起, 或由归属用户服务器向该 CSCF发起。  5 is a schematic structural diagram of an embodiment of a session release apparatus for a session control entity CSCF according to the present invention. The request receiving unit 510 receives a user logout request for canceling a user, and the user logout request may be initiated by the user requested to log off to the CSCF. , initiated by another CSCF to the CSCF, initiated internally by the CSCF, or initiated by the home subscriber server to the CSCF.
请求接收单元 510将接收到的用户注销请求输出至会话管理单元 530, 会话管理单元 530向会话类型单元 520查询被请求注销的用户的 会话类型; 会话类型单元 520按照该用户的注册状态和 /或会话请求内 容确定该用户会话的类型, 并将确定的会话类型返回至会话管理单元 530; 会话管理单元 530根据用户注销请求和用户会话的类型确定是否 释放由被清求注销的用户建立的会话。 当被请求注销的用户的会话为设 定保留类型时, 不幹放该会话; 当被请求注销的用户的会话为设定区分 类型时, 按照用户注销请求中包含的注销原因确定是否释放该会话。 The request receiving unit 510 outputs the received user logout request to the session management unit 530, and the session management unit 530 queries the session type unit 520 for the session type of the user requested to log off; the session type unit 520 follows the registration status of the user and/or The session request content determines the type of the user session, and returns the determined session type to the session management unit 530; the session management unit 530 determines whether to release the session established by the user who is requested to log out based on the user logout request and the type of the user session. When the session of the user who is requested to log out is set When the retention type is fixed, the session is not played; when the session of the user requested to log off is the set classification type, whether to release the session is determined according to the reason for the cancellation included in the user logout request.
网络服务提供商可以确定所释放或不释放的用户会话的类型和 /或 注销原因, 例如可以采用前述表一和表二中的设定方式。  The network service provider can determine the type of user session that is released or not released and/or the reason for the logout, for example, the settings in Tables 1 and 2 above can be used.
上述释放会话装置可以应用在 S-CSCF中,也可应用在 P-CSCF中。 本发明的实施例中, CSCF根据会话类型和 /或用户注销的原因值, 选择判断是否释放已建立的会话,这样网络服务提供商可以根据用户和 具体的应用需要来释放或保持相应的会话, 使得业务实现更加合理化; 对用户而言, 即使被注销后一些需要保持的会话, 如紧急会话等仍处于 保留状态, 使用户的使用感受更好。  The above release session device can be applied in the S-CSCF or in the P-CSCF. In the embodiment of the present invention, the CSCF selects whether to release the established session according to the session type and/or the reason value of the user logout, so that the network service provider can release or maintain the corresponding session according to the user and the specific application requirement. The business implementation is more rationalized; for the user, even after being logged off, some sessions that need to be maintained, such as an emergency session, are still in a reserved state, so that the user feels better.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。  The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1.一种释放会话的方法,用于使呼叫控制实体译放用户的会话, 其特征在于, 包括以下步骤:  A method for releasing a session, the method for releasing a call control entity to a user's session, comprising the steps of:
所述呼叫控制实体接收用于注销所述用户的注销用户请求, 所 述注销用户请求包括注销原因;  The call control entity receives a logout user request for deregistering the user, the logout user request including a logout reason;
分析所述会话的会话类型以及所述注销原因的注销原因值; 以 及  Analyzing a session type of the session and a logout reason value of the logout reason; and
根据所述注销原因值以及所述会话类型来确定是否释放所述会 话。  Whether to release the session is determined based on the logout reason value and the session type.
2. 根据权利要求 1所述的释放会话的方法, 其特征在于, 所述 会话类型包括:  2. The method of releasing a session according to claim 1, wherein the session type comprises:
第一类型,表示在已注册状态下建立的和注册状态相关的会话; 第二类型,表示在已注册状态下建立的和注册状态无关的会话; 第三类型, 表示在未注册状态下建立的会话; 和 /或  The first type indicates a session related to the registration status established in the registered state; the second type indicates a session established in the registered state and independent of the registration status; and the third type indicates the establishment in the unregistered state. Conversation; and/or
第四类型, 表示紧急会话。  The fourth type, which represents an emergency session.
3. 根据权利要求 1所述的会话释放的方法, 其特征在于, 所述 呼叫控制实体包括服务呼叫控制实体或代理呼叫控制实体。  The method for releasing a session according to claim 1, wherein the call control entity comprises a service call control entity or a proxy call control entity.
4. 根据权利要求 2所述的释放会话的方法, 其特征在于, 所述 注销用户请求由所述用户向所述呼叫控制实体发起, 或由另一呼叫 控制实体向所述呼叫控制实体发起, 或由所述呼叫控制实体内部发 起, 或由归属用户服务器向所述呼叫控制实体发起, 其中, 所述归 属用户服务器用于集中管理用户签约数据。  The method for releasing a session according to claim 2, wherein the cancellation user request is initiated by the user to the call control entity, or initiated by another call control entity to the call control entity, Or initiated by the call control entity, or initiated by the home subscriber server to the call control entity, where the home subscriber server is used to centrally manage user subscription data.
5. 根据权利要求 4所述的幹放会话的方法, 其特征在于, 所述 注销原因值包括:  The method for dry-distributing a session according to claim 4, wherein the cancellation reason value comprises:
用户注销, 表示由所述用户发起的注销;  The user logs out, indicating the logout initiated by the user;
超时注销, 表示由所述另一呼叫控制实体向所述呼叫控制实体 发起, 或者由所述呼叫控制实体内部发起的注销, 指示注册定时器 超时; 和 /或  Timeout logout, indicating that the other call control entity initiates to the call control entity, or is initiated by the call control entity, indicating that the registration timer expires; and/or
管理注销, 表示由所述另一呼叫控制实体向所述呼叫控制实体 发起, 或者由所述呼叫控制实体内部发起的管理注销。 Management logout, indicating that the other call control entity is to the call control entity Initiating, or management logout initiated internally by the call control entity.
6. 根据权利要求 5所述的释放会话方法, 其特征在于, 所述根 据注销原因值以及会话类型来确定是否释放所述会话包括:  The method for releasing a session according to claim 5, wherein the determining whether to release the session according to the logout reason value and the session type comprises:
当所述会话类型是所述第一类型时, 确定释放所述^ ί舌; 当所述^类型是所述第二类型时,  When the session type is the first type, determining to release the ^ tongue; when the ^ type is the second type,
如果判定所述注销原因值是所述管理注销时,确定不释放 所述会话;  If it is determined that the logout reason value is the management logout, it is determined not to release the session;
如果判定所述注销原因值是所述超时注销时,确定不释放 所述会话;  If it is determined that the logout reason value is the timeout logout, it is determined not to release the session;
如果判定所述注销原因值是所述用户注销时,确定不释放 所述会话;  If it is determined that the logout reason value is that the user logs out, it is determined not to release the session;
当所述会话类型是所述第三类型时,  When the session type is the third type,
如果判定所述注销原因值是所述管理注销时,则确定不释 放所述会话;  If it is determined that the logout reason value is the management logout, it is determined that the session is not released;
如果判定所述注销原因值是所述超时注销时,则确定不释 放所述会话;  If it is determined that the logout reason value is the timeout logout, it is determined not to release the session;
如果判定所述注销原因值是所述用户注销时,则确定不释 放所述会话; 或  If it is determined that the logout reason value is that the user logs out, then it is determined not to release the session; or
当所述会话类型是所述第四类型时, 确定不 #放所述会 话。  When the session type is the fourth type, it is determined that the session is not placed.
7. 根据权利要求 5或 6所述的释放会话方法, 其特征在于, 所述 注销原因值还包括:  The release session method according to claim 5 or 6, wherein the cancellation reason value further comprises:
永久终止, 表示由所述归属用户服务器发起, 指示所述服务呼叫控 制实体的 IP多媒体私有用户标识对应的 IP多媒体公有用户标识以及隐 式注册集不再被分配到所述服务呼叫控制实体;  Permanently terminated, indicating that the IP multimedia public user identifier corresponding to the IP multimedia private user identifier of the service call control entity and the implicit registration set are no longer assigned to the service call control entity;
新服务器分配, 表示由所述归属用户服务器发起, 指示所述服务呼 叫控制实体 IP多媒体公有用户标识被分配到新的服务呼叫控制实体; 服务器改变, 表示由所述归属用户服务器发起, 指示所述服务呼叫 控制实体强制注销所述用户, 让所述用户选择其他服务呼叫控制实体; 和 /或 a new server assignment, indicated by the home subscriber server, indicating that the service call control entity IP multimedia public user identity is assigned to a new service call control entity; the server changes, indicating that the home subscriber server initiates, indicating the The service call control entity forcibly deregisters the user, and causes the user to select another service call control entity; and / or
取消服务呼叫控制实体, 表示由所述归属用户服务器发起, 指示所 述服务呼叫控制实体所述未注册状态的 IP多媒体公有用户标识不再被 分配到所述服务呼叫控制实体。  The service call control entity is deactivated, indicating that the IP multimedia public user identity initiated by the home subscriber server indicating that the service call control entity is not registered is no longer assigned to the service call control entity.
8. 如权利要求 7所述的释放会话的方法, 其特征在于, 所述根据 注销原因值以及会话类型来确定是否释放所述会话包括:  The method for releasing a session according to claim 7, wherein the determining whether to release the session according to the cancellation reason value and the session type comprises:
当所述会话类型是所述第二类型时,  When the session type is the second type,
如果判定所述注销原因值是所述永久终止时,确定幹放所 述会话;  If it is determined that the logout reason value is the permanent termination, determining to dry the conversation;
如果判定所述注销原因值是所述新服务器分配时,确定释 放所述会话;  Determining to release the session if it is determined that the logout cause value is the new server assignment;
如果判定所述注销原因值是所述服务器改变时,确定释放 所述会话;  If it is determined that the logout reason value is the server change, determining to release the session;
如果判定所述注销原因值是所述取消服务呼叫控制实体 时, 确定释放所述会话; 或  Determining to release the session if it is determined that the logout reason value is the cancel service call control entity; or
当所述会话类型是所述第三类型时,  When the session type is the third type,
如果判定所述注销原因值是所述永久终止时,则确定鋒放 所述^ ";  If it is determined that the logout reason value is the permanent termination, then it is determined that the front is placed;
如果判定所述注销原因值是所述新服务器分配时,则确定 释放所述会话;  If it is determined that the logout reason value is the new server allocation, then determining to release the session;
如果判定所述注销原因值是所述服务器改变时,则确定释 放所述会话;  If it is determined that the logout reason value is the server change, then determining to release the session;
如果判定所述注销原因值是所述取消服务呼叫控制实体 时, 则确定释放所述会话。  If it is determined that the logout reason value is the cancel service call control entity, it is determined to release the session.
9. 一种释放会话的方法, 用于使呼叫控制实体释放用户的会话, 其特征在于, 包括以下步骤:  A method for releasing a session, the call control entity for releasing a user's session, characterized by comprising the steps of:
接收用于注销所述用户的注销用户请求;  Receiving a logout user request for logging out the user;
当所述用户会话的类型为设定保留类型时, 不幹放所述会话。 When the type of the user session is a set reservation type, the session is not played.
10. 如权利要求 9所述的释放会话的方法, 其特征在于: 所述注销 用户请求中包括注销原因; 10. The method of releasing a session according to claim 9, wherein: the logout The user request includes the reason for the logout;
所述方法还包括: 当所述用户会话的类型为设定区分类型时, 按照 所述注销原因确定是否释放所述会话。  The method further includes: determining, when the type of the user session is a set discrimination type, whether to release the session according to the logout reason.
11. 如权利要求 10所述的释放会话的方法, 其特征在于: 所述设 定区分类型包括在用户已注册状态下建立的和注册状态无关的会话; 所述按照注销原因确定是否释放会话包括: 当注销原因为管理注 销、 超时注销或用户注销时, 不释放所述会话。  The method for releasing a session according to claim 10, wherein: the setting of the classification type includes a session that is established in a state in which the user has been registered and is not related to the registration state; : The session is not released when the logout reason is administrative logout, timeout logout, or user logout.
12. 如权利要求 10或 11所述的释放会话的方法, 其特征在于: 所 述设定区分类型包括在用户未注册状态下建立的会话;  The method for releasing a session according to claim 10 or 11, wherein: the set discrimination type includes a session established in a state in which the user is not registered;
所述按照注销原因确定是否释放会话包括: 当注销原因为管理注 销、 超时注销或用户注销时, 不释放所述会话。  The determining whether to release the session according to the reason for the cancellation includes: when the reason for the cancellation is management cancellation, timeout cancellation, or user logout, the session is not released.
13. 如权利要求 9所述的释放会话的方法, 其特征在于: 所述设定 保留类型包括紧急会话。  13. The method of releasing a session of claim 9, wherein: said setting a reservation type comprises an emergency session.
14. 一种释放会话的装置, 用于呼叫控制实体, 其特征在于, 包括 请求接收单元、 会话类型单元和会话管理单元, 其中:  14. A device for releasing a session, for a call control entity, comprising: a request receiving unit, a session type unit, and a session management unit, wherein:
请求接收单元用来接收用于注销用户的用户注销请求;  The request receiving unit is configured to receive a user logout request for canceling the user;
会话类型单元用来确定会话的类型;  The session type unit is used to determine the type of the session;
会话管理单元用来根据用户注销请求和用户会话的类型确定是否 释放由被请求注销的用户建立的会话。  The session management unit is operative to determine whether to release the session established by the user requested to log off based on the user logout request and the type of user session.
15. 如权利要求 14所述的释放会话的装置, 其特征在于, 所述会 话管理单元确定是否释放会话包括: 当被请求注销的用户的会话为设定 保留类型时, 不释放所述会话。  The apparatus for releasing a session according to claim 14, wherein the session management unit determines whether to release the session comprises: releasing the session when the session of the user requested to log off is a set reservation type.
16. 如权利要求 14所述的释放会话的装置, 其特征在于: 所述请 求接收单元接收的注销用户请求中包括注销原因;  The device for releasing a session according to claim 14, wherein: the logout user request received by the request receiving unit includes a logout reason;
所述会话管理单元确定是否释放会话包括: 当被请求注销的用户的 会话为设定区分类型时, 按照所述注销原因确定是否释放所述会话。  Determining whether to release the session includes: when the session of the user requested to log off is a set discrimination type, determining whether to release the session according to the logout reason.
17. 如权利要求 14所述的幹放会话的装置, 其特征在于: 所述呼 叫控制实体包括艮务呼叫控制实体或代理呼叫控制实体。  17. The apparatus for dry play session of claim 14, wherein: the call control entity comprises a service call control entity or a proxy call control entity.
PCT/CN2007/000665 2006-03-03 2007-03-02 A method and apparatus for cscf to release session WO2007098705A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610059339.4 2006-03-03
CN 200610059339 CN101031139B (en) 2006-03-03 2006-03-03 Method for controlling call entity release session

Publications (1)

Publication Number Publication Date
WO2007098705A1 true WO2007098705A1 (en) 2007-09-07

Family

ID=38458672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000665 WO2007098705A1 (en) 2006-03-03 2007-03-02 A method and apparatus for cscf to release session

Country Status (2)

Country Link
CN (1) CN101031139B (en)
WO (1) WO2007098705A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111000B (en) * 2007-09-06 2011-07-13 中兴通讯股份有限公司 Method for releasing call by called subscriber's set in IMS centralized business
EP2366258B1 (en) * 2008-11-11 2012-10-31 Telefonaktiebolaget L M Ericsson (publ) Method and apparatus for circuit switched registering a subscriber in an ims via the sgs / gs interface
US20170171832A1 (en) * 2015-12-14 2017-06-15 General Motors Llc Cellular connectivity following a volte connectivity failure

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002067533A1 (en) * 2001-02-19 2002-08-29 Nokia Corporation Closing a sip active session
WO2004089023A1 (en) * 2003-03-31 2004-10-14 Nokia Corporation Method and system for deactivating a service account
US20050078642A1 (en) * 2003-10-13 2005-04-14 Georg Mayer System and method for releasing sessions at network entities associated with the sessions
CN1870826A (en) * 2006-02-16 2006-11-29 华为技术有限公司 Call release control system and its method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415026B2 (en) * 2002-02-04 2008-08-19 Qualcomm Incorporated Method and apparatus for session release in a communication system
CN100496053C (en) * 2004-06-14 2009-06-03 华为技术有限公司 IP multimedia system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002067533A1 (en) * 2001-02-19 2002-08-29 Nokia Corporation Closing a sip active session
WO2004089023A1 (en) * 2003-03-31 2004-10-14 Nokia Corporation Method and system for deactivating a service account
US20050078642A1 (en) * 2003-10-13 2005-04-14 Georg Mayer System and method for releasing sessions at network entities associated with the sessions
CN1870826A (en) * 2006-02-16 2006-11-29 华为技术有限公司 Call release control system and its method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHU WEISONG ET AL.: "The Application of SIP in 3G", GUANGDONG COMMUNICATION TECHNOLOGY, no. 8, 2004, pages 32 - 35 *

Also Published As

Publication number Publication date
CN101031139A (en) 2007-09-05
CN101031139B (en) 2010-09-29

Similar Documents

Publication Publication Date Title
JP4500852B2 (en) How to notify the network of device function changes
US7359725B2 (en) Push-to-talk apparatus and method for communication between an application server and media resource function processor
US20050213606A1 (en) Method of triggering application service using response filter criteria and IP multimedia subsystem using the same
US20060034195A1 (en) SIP message extension for push to watch service
CA2605475C (en) Session initiation from application servers in an ip multimedia subsystem
US8457114B2 (en) Method to optimize call establishment in mobile satellite communication systems
EP1825699A2 (en) Method to facilitate distribution of group identifications for push-to-talk groups
WO2013044649A1 (en) Method and system for telecom network providing session service to internet
JP2008515312A (en) Changing the resource reservation for an IP session
WO2009071012A1 (en) Method, system and device for processing media flow request in sip network
WO2008049326A1 (en) User device registering, enabling system, method and device in private network management
EP2098036B1 (en) Methods and apparatuses for terminating an ip multimedia subsystem service when ip address is no longer allocated to the user
WO2014044224A1 (en) Qos bearer resource control method and system during access negotiation and release
WO2008134955A1 (en) Method, system and apparatus for applying terminal capability information in iptv service
WO2007090347A1 (en) A carrying method, system and device for ip multimedia system service
WO2007068206A1 (en) A method and network entity for operating the session capability information
EP2034688A1 (en) Method and device for transmitting request message in multimedia system
WO2007095855A1 (en) A method and network entity for negotiating media type parameter
WO2008011790A1 (en) Method, system and network apparatus for setting up session
WO2008025216A1 (en) Method and system for realizing release of resource
WO2007098705A1 (en) A method and apparatus for cscf to release session
WO2009049518A1 (en) A session establishing method, system and entity of ip internet television system
WO2007140699A1 (en) A method and apparatus for updating subscriber signed data
WO2009135375A1 (en) Call establishing method for realizing the single dialog color ring service
WO2007085199A1 (en) Method, application and apparatus for identifying user state in networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07711035

Country of ref document: EP

Kind code of ref document: A1