WO2011047564A1 - Method for handling users by application server and application server thereof - Google Patents

Method for handling users by application server and application server thereof Download PDF

Info

Publication number
WO2011047564A1
WO2011047564A1 PCT/CN2010/075245 CN2010075245W WO2011047564A1 WO 2011047564 A1 WO2011047564 A1 WO 2011047564A1 CN 2010075245 W CN2010075245 W CN 2010075245W WO 2011047564 A1 WO2011047564 A1 WO 2011047564A1
Authority
WO
WIPO (PCT)
Prior art keywords
registered user
application server
user
module
times out
Prior art date
Application number
PCT/CN2010/075245
Other languages
French (fr)
Chinese (zh)
Inventor
邵彬
周凯祺
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011047564A1 publication Critical patent/WO2011047564A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/06De-registration or detaching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1063Application servers providing network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Definitions

  • the present invention relates to the field of communications, and in particular to a user processing method and an application server for applying a server. Background technique
  • the IP Multimedia Core Network Subsystem is based on the Session Initiation Protocol (SIP).
  • SIP Session Initiation Protocol
  • the SIP protocol is a way to create, modify, and terminate a session between two or more parties.
  • Application layer protocol The functional entities of the IMS mainly include: a Call Session Control Function (CSCF) that controls functions such as user registration and session; a Home Subscriber Server (HSS) that centrally manages user subscription data; An application server (Application Server, abbreviated as AS) for business logic control functions.
  • CSCF Call Session Control Function
  • HSS Home Subscriber Server
  • AS Application Server
  • FIG. 1 is a flowchart of a third party registration and logout of an IMS user according to the related art. As shown in FIG.
  • Step S101 The IMS user initiates a registration request.
  • Step S102 to step S103 the S-CSCF acquires user data of the user from the HSS.
  • Step S104 the S-CSCF sends a registration success response to the user.
  • Step S105 to step S106 the S-CSCF initiates a third party registration with the AS, and the registration is successful.
  • Step S107 the IMS user initiates a logout request.
  • Step S108 to step S109 the S-CSCF initiates a third-party logout to the AS, and the logout is successful.
  • step S110 the S-CSCF sends a logout success response to the user.
  • the existing third-party registration and logout mode has the following problems: 1.
  • the S-CSCF needs to send a BYE to the calling party to end the session.
  • the protocol in the above case There is no agreement on the behavior of the AS side.
  • a user processing method of an application server includes: the application server determines whether the registered user times out; in the case that the registered user times out, the application server deletes the data of the registered user and releases the call of the registered user.
  • the method further includes: the application server sending the charging end information of the registered user to the charging gateway.
  • an application server is also provided.
  • the application server includes: a determining module, configured to determine whether a registered user times out; a deleting module, configured to delete data of the registered user when the registered user times out; and a release module, configured to release the call of the registered user.
  • the application server further includes: a sending module, configured to charge the registered user
  • the bundle information is sent to the billing gateway.
  • the AS deletes the service information related to the time-out registered user, and ensures that the user data is processed normally in the AS.
  • the AS can also send the charging end information after deleting the related service information of the time-out registered user, and the solution is solved.
  • FIG. 1 is a flowchart of a third party registration and deregistration of an IMS user according to the related art
  • FIG. 2 is a flowchart of a user processing method of an application server according to an embodiment of the present invention
  • FIG. 3 is a registration of an embodiment of the present invention.
  • FIG. 4 is a flowchart of processing of an internal "user life cycle detection" module in a case of a registered user timeout according to an embodiment of the present invention;
  • FIG. 5 is an application according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an application server according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
  • FIG. 2 is a flowchart of a user processing method of an application server according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps 202 to Step 204: The AS determines whether the registered user times out. Step 204: When the registered user times out, the AS deletes the data of the registered user, and releases the call of the timed registered user.
  • the AS deletes the related user data (that is, the user is an unregistered user for the AS thereafter), and at the same time, releases the current call of the timed registered user (ie, ends the timed registered user) Conversation).
  • the reason why the abnormality of the user's call and the user's billing information are incorrect after the registered user has timed out is as follows: If the registered user has timed out, the user has actually logged off for the AS, and subsequent processing for the user It can only be processed according to the unregistered state. If the user's related data is not deleted and the call related to the user is released, the user's service will be abnormal. Moreover, the AS cancels the user and releases the call related to the user.
  • the AS may set a lifetime (ie, a registration lifetime) for the registered user after receiving the registration request message of the registered user, and after the timeout period expires, the AS determines that the registered user times out.
  • the AS may set the lifetime of the registered user according to the expiration time in the expiration time field carried in the registration request message.
  • the AS monitors the registration life cycle of the user in real time; when the registered user times out, the AS deletes the data of the service data area and the call data area of the timeout registered user found through the user account, if the user is still In the call state (ie, there is a call data area), the call data area of the user is deleted; then, the AS sends a BYE message to the calling and called sides respectively.
  • the session charging end message may be sent to the charging gateway at the same time, and the reason code value in the charging information may also be filled in as an internal failure. This step can solve the problem of billing errors.
  • Step S301 When the AS side user registration times out, the AS deletes the user. Data, and release the user call.
  • Step S302 the AS sends the session charging end message to the charging gateway, and the reason code value in the charging information is filled in as an internal failure (the value is filled in as "Internal error" 3 , and the value may refer to 3GPP TS 32.299, where No longer;).
  • Step S303 - Step S306 the AS sends a BYE message to the calling side and the called side respectively.
  • step S303 the AS sends a BYE message to the calling side.
  • step S304 the calling side returns a message response response of 200 OK.
  • step S305 the AS sends a BYE message to the called side.
  • step S306 the called side returns 200 OK.
  • the message replies to the response.
  • a "user life cycle detection" logic function module may be added inside the AS to dynamically detect the lifetime of each registered user data in real time, and when the registered user times out, immediately delete the information of the registered user. And notifying the service module to end the session, and sending an accounting end message to the charging gateway.
  • the specific functional principle of the above-mentioned "user life cycle detection" logic function module is as follows: When the module receives the initial third-party registration message of the user, the user's survival is taken out from the expired (expire) field of the register message. The cycle time is used as the timer duration, and the keepalive timer of the user is set. If the module receives the refresh registration message of the user before the user's keep-alive timer expires, the duration in the expire field of the refresh registration message is reset to the keep-alive timer of the user; Before the keep-alive timer expires, the module receives the log-out message of the user, and deletes the keep-alive timer and all service information of the user.
  • the module can traverse all the service call data areas according to the Public User Identities (PUI) account of deleting the user. If the data area of the user can be searched, the user is in a call state. At this time, the module will notify the service module to release the data area of the user, end the session of the user, and send the charging end message of the user to the charging gateway; if the user The keep-alive timer expires and no refresh registration or logout message has been received between this user. This indicates that the user's life cycle has expired. At this time, the module will delete all business information of the user.
  • FIG. 4 is a flowchart of processing the internal “user life cycle detection” module of the AS in the case of a registered user timeout according to an embodiment of the present invention.
  • Step S402 the initial registration or the received initial registration or Refreshing the expire field value in the registration message is taken out; Step S404, setting and starting the user's keep-alive timer.
  • Step S406 When the keep-alive timer arrives, the user data is deleted.
  • Embodiment 3 This embodiment provides an application server, and the application server corresponds to the foregoing embodiment and its preferred embodiments. The descriptions that have been made in the foregoing embodiments are not described herein again. The following is the application. A description of the specific modules in the server. FIG.
  • FIG. 5 is a structural block diagram of an application server according to an embodiment of the present invention.
  • the application server includes: a determining module 51, a deleting module 52, and a releasing module 53.
  • the following describes the jt ⁇ structure in detail.
  • the deleting module 52 is connected to the determining module 51, for deleting the data of the registered user when the registered user times out;
  • the releasing module 53 is connected to the determining module 51, for Release the call of the registered user.
  • FIG. 6 is a structural block diagram of an application server according to an embodiment of the present invention. As shown in FIG.
  • the application server further includes: a receiving module 62, configured to receive a registration request message of a registered user; and the setting module 64 is connected to the receiving module.
  • the determining module 51 is configured to set a lifetime for the registered user. After the timeout period expires, the determining module 51 determines that the registered user times out.
  • the setting module 64 includes: an obtaining submodule 641 and a setting submodule 642, which will be described below.
  • the obtaining sub-module 641 is configured to obtain the expiration time from the expiration time field carried in the registration request message
  • the setting sub-module 642 is configured to set the survival duration according to the expiration time.
  • the deleting module 52 includes: a first sub-module 521, configured to delete the note The user data of the user; the second sub-module 522 is configured to delete the call data of the registered user.
  • the application server further includes: the sending module 66 is connected to the determining module 51, and the module is configured to send the charging end information of the registered user to the charging gateway.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred 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 scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for handling users by Application Server (AS) and an Application Server are disclosed in the present invention. The method includes the following steps: an AS determines whether a registered user timeout occurs; in the case of the registered user timeout, the AS deletes data of the registered user, and releases the call of the registered user. Using the present invention, it can be ensured that the AS can handle users normally in the subsequent procedure.

Description

应用 良务器的用户处理方法和应用 良务器 技术领域 本发明涉及通信领域, 具体而言, 涉及一种应用月艮务器的用户处理方法 和应用服务器。 背景技术  TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a user processing method and an application server for applying a server. Background technique
IP多媒体子系统 ( IP Multimedia Core Network Subsystem, 简称为 IMS ) 基于会话启动协议 ( Session Initiation Protocol, 简称为 SIP ), 其中, SIP协 议是一种能够在两方或者多方之间创建、 修改、 终结会话的应用层的协议。 IMS的功能实体主要包括: 控制用户注册、会话等功能的呼叫控制实体(Call Session Control Function, 简称为 CSCF ); 集中管理用户签约数据的归属用户 服务器( Home Subscriber Server, 简称为 HSS ); 提供各种业务逻辑控制功能 的应用服务器 ( Application Server, 简称为 AS )。 图 1是根据相关技术的 IMS用户第三方注册注销的流程图,如图 1所示, 该流程主要涉及执行服务会话控制功能 ( Serving Call Session Control Function, 简称为 S-CSCF )、 HSS和 AS , 该流程包括如下步 4聚: 步骤 S 101 , IMS用户发起注册请求。 步骤 S 102至步骤 S 103 , S-CSCF从 HSS获取该用户的用户数据。 步骤 S 104, S-CSCF向该用户发送注册成功响应。 步骤 S 105至步骤 S 106, S-CSCF向 AS发起第三方注册, 并注册成功。 步骤 S 107 , IMS用户发起注销请求。 步骤 S 108至步骤 S 109, S-CSCF向 AS发起第三方注销, 并注销成功。 步骤 S 110, S-CSCF向用户发送注销成功响应。 从以上步骤可以看出, 现有的第三方注册注销模式存在下面问题: 1、 现有协议中约定: 当注册用户超时后, S-CSCF 需要向主被叫发送 BYE结束会话。 但是, 在实际应用中存在 AS注册用户超时而 S-CSCF没有 超时的情况 (或者, 当用户注销时, 由于网络原因 S-CSCF的注销消息没有 发送到 AS侧;), 协议中对上述情况下 AS侧的行为并没有故出约定。 The IP Multimedia Core Network Subsystem (IMS) is based on the Session Initiation Protocol (SIP). The SIP protocol is a way to create, modify, and terminate a session between two or more parties. Application layer protocol. The functional entities of the IMS mainly include: a Call Session Control Function (CSCF) that controls functions such as user registration and session; a Home Subscriber Server (HSS) that centrally manages user subscription data; An application server (Application Server, abbreviated as AS) for business logic control functions. FIG. 1 is a flowchart of a third party registration and logout of an IMS user according to the related art. As shown in FIG. 1 , the process mainly involves performing a Serving Call Session Control Function (S-CSCF), an HSS, and an AS. The process includes the following steps: Step S101: The IMS user initiates a registration request. Step S102 to step S103, the S-CSCF acquires user data of the user from the HSS. Step S104, the S-CSCF sends a registration success response to the user. Step S105 to step S106, the S-CSCF initiates a third party registration with the AS, and the registration is successful. Step S107, the IMS user initiates a logout request. Step S108 to step S109, the S-CSCF initiates a third-party logout to the AS, and the logout is successful. In step S110, the S-CSCF sends a logout success response to the user. As can be seen from the above steps, the existing third-party registration and logout mode has the following problems: 1. Conventions in the existing agreement: After the registered user times out, the S-CSCF needs to send a BYE to the calling party to end the session. However, in the actual application, there is a case where the AS registered user times out and the S-CSCF does not time out (or, when the user logs out, the S-CSCF's logout message is not sent to the AS side due to the network;), the protocol in the above case There is no agreement on the behavior of the AS side.
2、 当 AS侧发生注册用户超时的情况下, 如果 AS不进行处理, 由于用 户并不知道自身已经注销, 后续发起业务触发会失败, 导致用户体-险不好。 2. When the registered user times out on the AS side, if the AS does not process, the user does not know that it has been logged out, and the subsequent service triggering will fail, resulting in a bad user body.
3、 当 AS侧发生注册用户超时的情况下, 如果 AS不进行处理, 可能会 导致存在对该用户的计费时间过长, 进而计费错误。 针对相关技术中由于注册用户超时后 AS侧没有相应处理而可能导致的 问题(例如, 导致用户通话异常或者用户计费信息错误的问题), 目前尚未提 出有效的解决方案。 发明内容 考虑到相关技术中由于注册用户超时后 AS侧没有相应处理而可能导致 的问题提出本发明, 为此, 本发明的主要目的在于提供一种应用服务器的用 户处理方案, 以解决上述问题至少之一。 为了实现上述目的, 根据本发明的一个方面, 提供了一种应用服务器的 用户处理方法。 根据本发明的应用服务器的用户处理方法包括: 应用服务器确定注册用 户是否超时; 在注册用户超时的情况下, 应用服务器删除注册用户的数据, 并释放注册用户的呼叫。 优选地, 在应用月艮务器确定注册用户超时之后, 上述方法还包括: 应用 服务器将注册用户的计费结束信息发送给计费网关。 为了实现上述目的,根据本发明的另一方面,还提供了一种应用服务器。 根据本发明的应用服务器包括: 确定模块, 用于确定注册用户是否超时; 删除模块, 用于在注册用户超时的情况下, 删除注册用户的数据; 释放模块, 用于释放注册用户的呼叫。 优选地, 上述应用服务器还包括: 发送模块, 用于将注册用户的计费结 束信息发送给计费网关。 通过本发明, 釆用 AS删除与超时注册用户相关的业务信息, 保证了用 户数据在 AS的正常处理, 此外, AS还可以在删除超时注册用户的相关业务 信息之后发送计费结束信息, 解决了相关技术中由于注册用户超时后 AS侧 没有相应处理而导致可能出现的问题, 保证了该用户在 AS后续流程的正常 处理。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的 IMS用户第三方注册注销的流程图; 图 2是根据本发明实施例的应用服务器的用户处理方法的流程图; 图 3 居本发明实施例的注册用户超时情况下 AS释放会话的处理的流 程图; 图 4才艮据本发明实施例的注册用户超时情况下 AS 内部 "用户生存周期 检测 " 模块处理流程图; 图 5根据本发明实施例的应用服务器的结构框图; 图 6根据本发明实施例的应用服务器具体的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 在以下实施例中, 在附图的流程图示出的步 4聚可以在诸如一组计算机可 执行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但 是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 实施例一 在本实施例中, 提供了一种应用服务器的用户处理方法, 图 2是根据本 发明实施例的应用服务器的用户处理方法的流程图, 如图 2所示, 该方法包 括如下步骤 202至步骤 204: 步骤 202, AS确定注册用户是否超时; 步骤 204, 在该注册用户超时的情况下, AS删除该注册用户的数据, 并 释放该超时注册用户的呼叫。 具体地, 当注册用户超时后, AS 会将相关的 用户数据删除(即, 此后该用户对 AS而言是未注册用户), 同时, 释放超时 注册用户的当前呼叫 (即, 结束该超时注册用户的会话)。 注册用户超时后 AS侧没有相应处理而导致用户通话异常以及用户计费 信息错误的问题的原因如下: 如果注册用户已经超时, 则对于 AS 而言, 该 用户实际已经注销, 后续对于该用户的处理也只能按照未注册状态处理, 如 果不删除用户的相关数据、 释放与该用户相关的呼叫, 则会导致用户业务发 生异常; 并且, AS 在注销用户、 释放与该用户相关的呼叫的同时, 如果没 有将该用户相关的计费结束信息发送给计费网关, 则会导致计费错误, 基于 此, 通过上述步骤 202至步骤 204, 删除了超时注册用户的相关数据, 释放 了该超时注册用户的呼叫, 就可以保证该用户在 AS后续流程的正常处理。 优选地, 在步骤 202 中, AS 可以在接收到注册用户的注册请求消息之 后为注册用户设置生存时长 (即, 注册生存周期), 在生存时长超时后, AS 确定该注册用户超时。 优选地, AS 可以根据注册请求消息中携带的失效时间字段中的失效时 间来设置注册用户的生存时长。 具体地, 注册用户注册后, AS 实时监测用户的注册生存周期; 当注册 用户超时后, AS 删除通过用户账户查找到的该超时注册用户的业务数据区 和通话数据区的数据, 如果用户还在通话态(即, 存在通话数据区), 则删除 用户的通话数据区; 然后, AS分别发送 BYE消息到主叫和被叫侧。 优选地, 可以在此同时发送本次会话计费结束消息给计费网关, 并且还 可以将计费信息中的原因码值填写为内部失败。 通过该步骤可以解决计费错 误的问题。 实施例二 图 3 居本发明实施例的注册用户超时情况下 AS释放会话的处理的流 程图, 如图 3所示, 该流程包括如下步骤: 步骤 S301 , 当 AS侧用户注册超时的时候, AS删除该用户数据, 并释 放该用户呼叫。 步骤 S302, AS发送本次会话计费结束消息给计费网关, 计费信息中原 因码值填写为内部失败 (该值填写为 "Internal error" 3 , 该值具体可以参考 3GPP TS 32.299, 在此不再赘述;)。 步骤 S303-步骤 S306, AS分别发送 BYE消息到主叫侧和被叫侧。 具体 地: 步骤 S303 , AS发送 BYE消息给主叫侧; 步骤 S304 , 主叫侧返回 200 OK的消息回复响应; 步骤 S305 , AS发送 BYE消息给被叫侧; 步骤 S306 , 被叫侧返回 200 OK的消息回复响应。 优选地, 为了实现步骤 S301 , 可以在 AS内部增加一个 "用户生存周期 检测" 逻辑功能模块, 实时动态地检测每一个注册用户数据的生存周期, 当 注册用户超时后, 立即删除该注册用户的信息, 并通知业务模块结束会话, 同时, 发送计费结束消息给计费网关。 其中, 上述 "用户生存周期检测" 逻辑功能模块的具体功能原理如下: 当模块收到用户的初始第三方注册消息时, 从注册 ( register ) 消息的失 效时间 (expire ) 字段中取出该用户的生存周期时间作为定时器时长, 设置 该用户的保活定时器。 如果在该用户的保活定时器超时之前, 本模块收到了 该用户的刷新注册消息, 则将该刷新注册消息的 expire字段中的时长重设为 该用户的保活定时器; 如果在用户的保活定时器超时之前, 本模块收到了该 用户的注销消息, 则删除该用户的保活定时器与所有业务信息。 具体的, 本 模块可以根据删除该用户的公共用户标识( Public User Identities,简称为 PUI ) 账号遍历所有的业务呼叫数据区, 如果能够搜索到该用户的数据区, 表明该 用户正处于通话态, 此时, 本模块将通知业务模块释放该用户的数据区、 结 束该用户的会话, 并发送该用户的计费结束消息给计费网关; 如果该用户的 保活定时器超时, 且在之间未收到任何此用户的刷新注册或注销消息。 则说 明该用户的生存周期已到, 这时候本模块将删除该用户的所有业务信息。 图 4才艮据本发明实施例的注册用户超时情况下 AS 内部 "用户生存周期 检测" 模块处理流程图, 如图 4所示, 该流程包括如下步骤: 步骤 S402,将接收到的初始注册或刷新注册消息中的 expire字段值取出; 步骤 S404 , 设置并启动用户的保活定时器。 步骤 S406, 在保活定时器到达时, 删除用户数据。 步骤 S408, 通知业务模块删除数据区、 结束会话, 并发送计费结束消息 给计费网关。 实施例三 本实施例, 提供了一种应用服务器, 该应用服务器对应于上述的实施例 及其优选实施方式, 在上述实施例中已经进行过的说明在此不再赘述, 下面 是对该应用服务器中的具体的模块进行的说明。 图 5根据本发明实施例的应 用服务器的结构框图, 如图 5所示, 该应用服务器包括: 确定模块 51、 删除 模块 52、 释放模块 53 , 下面对 jt匕结构进行详细的说明。 确定模块 51 , 该模块用于确定注册用户是否超时; 删除模块 52连接至 确定模块 51 , 用于在注册用户超时的情况下, 删除注册用户的数据; 释放模 块 53连接至确定模块 51 , 用于释放注册用户的呼叫。 图 6是根据本发明实施例的应用服务器具体的结构框图, 如图 6所示, 该应用服务器还包括: 接收模块 62 , 用于接收到注册用户的注册请求消息; 设置模块 64连接至接收模块 62和确定模块 51 ,用于为注册用户设置生存时 长, 当生存时长超时后, 确定模块 51确定注册用户超时。 优选地, 如图 6所示, 设置模块 64包括: 获取子模块 641、 设置子模块 642 , 下面对此进行说明。 获取子模块 641、 用于从注册请求消息中携带的失效时间字段中获取失 效时间; 设置子模块 642 , 用于才艮据失效时间设置生存时长。 优选地, 如图 6所示, 删除模块 52包括: 第一子模块 521 , 用于删除注 册用户的业务数据; 第二子模块 522, 用于删除注册用户的通话数据。 如图 6所示, 应用月艮务器还包括: 发送模块 66连接至确定模块 51 , 该 模块用于将注册用户的计费结束信息发送给计费网关。 综上所述, 通过本发明上述实施例, 解决了当 AS侧发生用户注册超时 情况下, 对于该用户的会话处理异常的问题, 保证用户数据在 AS 的正常处 理, 同时也保证了计费信息的正确性, 提高了用户体 -险。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 3. When the registered user timeout occurs on the AS, if the AS does not process the accounting, the accounting time for the user may be too long, and the accounting error may occur. An effective solution has not been proposed in the related art for a problem that may be caused by the fact that the AS side does not have corresponding processing after the registered user times out (for example, the user has abnormal call or the user's billing information is incorrect). SUMMARY OF THE INVENTION The present invention has been made in view of the problems that may be caused by the fact that the AS side does not have corresponding processing after the registration user times out, and the main object of the present invention is to provide a user processing solution of the application server to solve the above problems. one. In order to achieve the above object, according to an aspect of the present invention, a user processing method of an application server is provided. The user processing method of the application server according to the present invention includes: the application server determines whether the registered user times out; in the case that the registered user times out, the application server deletes the data of the registered user and releases the call of the registered user. Preferably, after the application server determines that the registered user times out, the method further includes: the application server sending the charging end information of the registered user to the charging gateway. In order to achieve the above object, according to another aspect of the present invention, an application server is also provided. The application server according to the present invention includes: a determining module, configured to determine whether a registered user times out; a deleting module, configured to delete data of the registered user when the registered user times out; and a release module, configured to release the call of the registered user. Preferably, the application server further includes: a sending module, configured to charge the registered user The bundle information is sent to the billing gateway. With the present invention, the AS deletes the service information related to the time-out registered user, and ensures that the user data is processed normally in the AS. In addition, the AS can also send the charging end information after deleting the related service information of the time-out registered user, and the solution is solved. In the related art, problems may occur due to the absence of corresponding processing on the AS side after the registration user times out, and the normal processing of the subsequent processes of the AS is ensured. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a third party registration and deregistration of an IMS user according to the related art; FIG. 2 is a flowchart of a user processing method of an application server according to an embodiment of the present invention; FIG. 3 is a registration of an embodiment of the present invention. FIG. 4 is a flowchart of processing of an internal "user life cycle detection" module in a case of a registered user timeout according to an embodiment of the present invention; FIG. 5 is an application according to an embodiment of the present invention. FIG. 6 is a structural block diagram of an application server according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. In the following embodiments, the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some In this case, the steps shown or described may be performed in a different order than the ones described herein. Embodiment 1 In this embodiment, a user processing method of an application server is provided. FIG. 2 is a flowchart of a user processing method of an application server according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps 202 to Step 204: The AS determines whether the registered user times out. Step 204: When the registered user times out, the AS deletes the data of the registered user, and releases the call of the timed registered user. Specifically, when the registered user times out, the AS deletes the related user data (that is, the user is an unregistered user for the AS thereafter), and at the same time, releases the current call of the timed registered user (ie, ends the timed registered user) Conversation). The reason why the abnormality of the user's call and the user's billing information are incorrect after the registered user has timed out is as follows: If the registered user has timed out, the user has actually logged off for the AS, and subsequent processing for the user It can only be processed according to the unregistered state. If the user's related data is not deleted and the call related to the user is released, the user's service will be abnormal. Moreover, the AS cancels the user and releases the call related to the user. If the charging end information related to the user is not sent to the charging gateway, the accounting error will be caused. Based on the above, the related data of the timeout registered user is deleted through the above steps 202 to 204, and the timed registered user is released. The call can guarantee the normal processing of the user in the subsequent process of the AS. Preferably, in step 202, the AS may set a lifetime (ie, a registration lifetime) for the registered user after receiving the registration request message of the registered user, and after the timeout period expires, the AS determines that the registered user times out. Preferably, the AS may set the lifetime of the registered user according to the expiration time in the expiration time field carried in the registration request message. Specifically, after the registered user is registered, the AS monitors the registration life cycle of the user in real time; when the registered user times out, the AS deletes the data of the service data area and the call data area of the timeout registered user found through the user account, if the user is still In the call state (ie, there is a call data area), the call data area of the user is deleted; then, the AS sends a BYE message to the calling and called sides respectively. Preferably, the session charging end message may be sent to the charging gateway at the same time, and the reason code value in the charging information may also be filled in as an internal failure. This step can solve the problem of billing errors. Embodiment 2 FIG. 3 is a flowchart of the process of the AS release session in the case of the registered user timeout in the embodiment of the present invention. As shown in FIG. 3, the process includes the following steps: Step S301: When the AS side user registration times out, the AS deletes the user. Data, and release the user call. Step S302, the AS sends the session charging end message to the charging gateway, and the reason code value in the charging information is filled in as an internal failure (the value is filled in as "Internal error" 3 , and the value may refer to 3GPP TS 32.299, where No longer;). Step S303 - Step S306, the AS sends a BYE message to the calling side and the called side respectively. Specifically, in step S303, the AS sends a BYE message to the calling side. In step S304, the calling side returns a message response response of 200 OK. In step S305, the AS sends a BYE message to the called side. Step S306, the called side returns 200 OK. The message replies to the response. Preferably, in order to implement step S301, a "user life cycle detection" logic function module may be added inside the AS to dynamically detect the lifetime of each registered user data in real time, and when the registered user times out, immediately delete the information of the registered user. And notifying the service module to end the session, and sending an accounting end message to the charging gateway. The specific functional principle of the above-mentioned "user life cycle detection" logic function module is as follows: When the module receives the initial third-party registration message of the user, the user's survival is taken out from the expired (expire) field of the register message. The cycle time is used as the timer duration, and the keepalive timer of the user is set. If the module receives the refresh registration message of the user before the user's keep-alive timer expires, the duration in the expire field of the refresh registration message is reset to the keep-alive timer of the user; Before the keep-alive timer expires, the module receives the log-out message of the user, and deletes the keep-alive timer and all service information of the user. Specifically, the module can traverse all the service call data areas according to the Public User Identities (PUI) account of deleting the user. If the data area of the user can be searched, the user is in a call state. At this time, the module will notify the service module to release the data area of the user, end the session of the user, and send the charging end message of the user to the charging gateway; if the user The keep-alive timer expires and no refresh registration or logout message has been received between this user. This indicates that the user's life cycle has expired. At this time, the module will delete all business information of the user. FIG. 4 is a flowchart of processing the internal “user life cycle detection” module of the AS in the case of a registered user timeout according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps: Step S402, the initial registration or the received initial registration or Refreshing the expire field value in the registration message is taken out; Step S404, setting and starting the user's keep-alive timer. Step S406: When the keep-alive timer arrives, the user data is deleted. Step S408, the service module is notified to delete the data area, end the session, and send an accounting end message to the charging gateway. Embodiment 3 This embodiment provides an application server, and the application server corresponds to the foregoing embodiment and its preferred embodiments. The descriptions that have been made in the foregoing embodiments are not described herein again. The following is the application. A description of the specific modules in the server. FIG. 5 is a structural block diagram of an application server according to an embodiment of the present invention. As shown in FIG. 5, the application server includes: a determining module 51, a deleting module 52, and a releasing module 53. The following describes the jt匕 structure in detail. a module 51 for determining whether the registered user has timed out; the deleting module 52 is connected to the determining module 51, for deleting the data of the registered user when the registered user times out; the releasing module 53 is connected to the determining module 51, for Release the call of the registered user. FIG. 6 is a structural block diagram of an application server according to an embodiment of the present invention. As shown in FIG. 6, the application server further includes: a receiving module 62, configured to receive a registration request message of a registered user; and the setting module 64 is connected to the receiving module. The determining module 51 is configured to set a lifetime for the registered user. After the timeout period expires, the determining module 51 determines that the registered user times out. Preferably, as shown in FIG. 6, the setting module 64 includes: an obtaining submodule 641 and a setting submodule 642, which will be described below. The obtaining sub-module 641 is configured to obtain the expiration time from the expiration time field carried in the registration request message, and the setting sub-module 642 is configured to set the survival duration according to the expiration time. Preferably, as shown in FIG. 6, the deleting module 52 includes: a first sub-module 521, configured to delete the note The user data of the user; the second sub-module 522 is configured to delete the call data of the registered user. As shown in FIG. 6, the application server further includes: the sending module 66 is connected to the determining module 51, and the module is configured to send the charging end information of the registered user to the charging gateway. In summary, the foregoing embodiment of the present invention solves the problem that the session processing of the user is abnormal when the user registration timeout occurs on the AS side, ensuring normal processing of user data in the AS, and also ensuring charging information. The correctness of the user has increased the user's body-risk. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred 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 scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种应用月艮务器的用户处理方法, 其特征在于, 包括: A user processing method for applying a server, comprising:
应用服务器确定注册用户是否超时;  The application server determines whether the registered user times out;
在所述注册用户超时的情况下, 所述应用月艮务器删除所述注册用户 的数据, 并释放所述注册用户的呼叫。  In case the registered user times out, the application server deletes the data of the registered user and releases the call of the registered user.
2. 根据权利要求 1所述的方法, 其特征在于, 所述应用服务器确定所述注 册用户是否超时包括: The method according to claim 1, wherein the determining, by the application server, whether the registered user times out comprises:
在所述应用服务器接收到所述注册用户的注册请求消息之后, 所述 应用服务器为所述注册用户设置生存时长;  After the application server receives the registration request message of the registered user, the application server sets a lifetime for the registered user;
在所述生存时长超时后, 所述应用月艮务器确定所述注册用户超时。  After the timeout period expires, the application server determines that the registered user times out.
3. 根据权利要求 2所述的方法, 其特征在于, 所述应用服务器为所述注册 用户设置所述生存时长包括: The method according to claim 2, wherein the setting, by the application server, the survival time for the registered user comprises:
所述应用服务器根据所述注册请求消息中携带的失效时间字段中的 所述失效时间设置所述生存时长。  The application server sets the lifetime duration according to the expiration time in the expiration time field carried in the registration request message.
4. 根据权利要求 1所述的方法, 其特征在于, 所述应用服务器删除所述注 册用户的数据包括: 删除所述注册用户的业务数据和通话数据。 The method according to claim 1, wherein the deleting, by the application server, the data of the registered user comprises: deleting service data and call data of the registered user.
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 在所述应用服 务器确定所述注册用户超时之后, 所述方法还包括: The method according to any one of claims 1 to 4, wherein after the application server determines that the registered user times out, the method further includes:
所述应用服务器将所述注册用户的计费结束信息发送给计费网关。  The application server sends the charging end information of the registered user to the charging gateway.
6. —种应用服务器, 其特征在于, 包括: 6. An application server, characterized in that:
确定模块, 用于确定注册用户是否超时;  a determining module, configured to determine whether the registered user times out;
删除模块, 用于在所述注册用户超时的情况下, 删除所述注册用户 的数据;  a deleting module, configured to delete data of the registered user when the registered user times out;
释放模块, 用于释放所述注册用户的呼叫。  And a release module, configured to release the call of the registered user.
7. 根据权利要求 6所述的应用服务器, 其特征在于, 还包括: The application server according to claim 6, further comprising:
接收模块, 用于接收到所述注册用户的注册请求消息; 设置模块, 用于为所述注册用户设置生存时长; a receiving module, configured to receive a registration request message of the registered user; a setting module, configured to set a survival time for the registered user;
所述确定模块具体用于在所述生存时长超时后, 确定所述注册用户 超时。  The determining module is specifically configured to determine that the registered user times out after the timeout period expires.
8. 根据权利要求 7所述的应用服务器, 其特征在于, 所述设置模块包括: 获取子模块, 用于从所述注册请求消息中携带的失效时间字段中获 取所述失效时间; The application server according to claim 7, wherein the setting module comprises: an obtaining submodule, configured to obtain the expiration time from an expiration time field carried in the registration request message;
设置子模块, 根据所述失效时间设置所述生存时长。  Setting a sub-module, setting the survival time according to the expiration time.
9. 根据权利要求 6所述的应用服务器, 其特征在于, 所述删除模块包括: 第一子模块, 用于删除所述注册用户的业务数据; The application server according to claim 6, wherein the deleting module comprises: a first submodule, configured to delete service data of the registered user;
第二子模块, 用于删除所述注册用户的通话数据。  The second submodule is configured to delete the call data of the registered user.
10. 根据权利要求 6至 9中任一项所述的应用服务器, 其特征在于, 还包括: 发送模块, 用于将所述注册用户的计费结束信息发送给计费网关。 The application server according to any one of claims 6 to 9, further comprising: a sending module, configured to send the charging end information of the registered user to the charging gateway.
PCT/CN2010/075245 2009-10-21 2010-07-19 Method for handling users by application server and application server thereof WO2011047564A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910206603.6 2009-10-21
CN200910206603.6A CN102045318B (en) 2009-10-21 2009-10-21 User's processing method of application server and application server

Publications (1)

Publication Number Publication Date
WO2011047564A1 true WO2011047564A1 (en) 2011-04-28

Family

ID=43899801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075245 WO2011047564A1 (en) 2009-10-21 2010-07-19 Method for handling users by application server and application server thereof

Country Status (2)

Country Link
CN (1) CN102045318B (en)
WO (1) WO2011047564A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989096A (en) * 2015-02-12 2016-10-05 阿里巴巴集团控股有限公司 Account information clearing method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110833A (en) * 2007-08-23 2008-01-23 中兴通讯股份有限公司 Third-party registration processing method based on IP multimedia subsystem network
CN101132556A (en) * 2007-09-24 2008-02-27 中兴通讯股份有限公司 Registration method used for IP multimedia subsystem
CN101472326A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Method and terminal for implementing voice business switch between different systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110833A (en) * 2007-08-23 2008-01-23 中兴通讯股份有限公司 Third-party registration processing method based on IP multimedia subsystem network
CN101132556A (en) * 2007-09-24 2008-02-27 中兴通讯股份有限公司 Registration method used for IP multimedia subsystem
CN101472326A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Method and terminal for implementing voice business switch between different systems

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PACKETCABLETM IMS DELTA SPECIFICATIONS: "Session Initiation Protocol (SIP) and Session Description Protocol (SDP)", STAGE 3 SPECIFICATION 3GPP TS 24.229 PKT-SP-24.229-I04-080425, 25 April 2008 (2008-04-25) *
TECHNICAL SPECIFICATION GROUP CORE NETWORK: "IP Multimedia (IM) session handling; IM call model; Stage 2 (Release 5)", 3GPP TS 23.218 V5.9.0, June 2006 (2006-06-01) *

Also Published As

Publication number Publication date
CN102045318B (en) 2016-02-10
CN102045318A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
RU2386219C2 (en) Method for processing of denials in services rendering
US8503312B2 (en) Failure recovery in an IP multimedia subsystem network
JP5213460B2 (en) Apparatus and associated method for providing an instance identifier to a network database node of a mobile network
US8036659B2 (en) Method for requesting an unregistered UE to perform registration in the IMS
JP4538323B2 (en) Communication method and communication system
JP2004533165A (en) Subscriber registration in mobile communication systems
WO2009094852A1 (en) Proxy call session control function malfunction processing method
WO2007003094A1 (en) Method and system for realizing conventional terminal access to ims domain
CA2545599A1 (en) Efficient load balancing and heartbeat mechanism for telecommunication endpoints
WO2008089642A1 (en) A method, device and system for transferring terminal information in multimedia subsystem
WO2009036629A1 (en) Processing method after core network element restarting or recovering form failure
WO2016062008A1 (en) Disaster tolerance method, network element, server and storage medium
WO2011017978A1 (en) Method and apparatus for call management in internet protocol multimedia subsystem
WO2010072129A1 (en) Registration method, outbound-proxy equipment and communication system
WO2012126382A1 (en) Method for implementing main exchange service and gateway apparatus
US9237587B2 (en) Method and system for implementing group message service based on converged service system
WO2008025216A1 (en) Method and system for realizing release of resource
CN102111899B (en) Session keep-alive method and device
CN103841528A (en) Realization method and system for incoming-call prompting service of IMS system
WO2007112621A1 (en) A method for keeping the consistency of the ip addresses de-registration of ps domain and ims domain
WO2011110060A1 (en) User registration method and system
WO2010139279A1 (en) Method and system for processing serving call session control function (s-cscf) alteration in internet protocol multimedia sub-system (ims) network
WO2008049346A1 (en) Method, system and device for registering device
WO2011047564A1 (en) Method for handling users by application server and application server thereof
WO2012071882A1 (en) Session detection method, device and session initiation protocol server

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: 10824405

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: 10824405

Country of ref document: EP

Kind code of ref document: A1