CN100391167C - Service call session control function entity backup method and system - Google Patents
Service call session control function entity backup method and system Download PDFInfo
- Publication number
- CN100391167C CN100391167C CNB2006100248661A CN200610024866A CN100391167C CN 100391167 C CN100391167 C CN 100391167C CN B2006100248661 A CNB2006100248661 A CN B2006100248661A CN 200610024866 A CN200610024866 A CN 200610024866A CN 100391167 C CN100391167 C CN 100391167C
- Authority
- CN
- China
- Prior art keywords
- user
- entity
- cscf
- request
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及SIP多媒体子系统,公开了一种S-CSCF备份方法及其系统,使得S-CSCF能够实现异地容灾。本发明中,通过在S-CSCF中内置AS,当用户注册成功时,将该用户的信息发送到与该S-CSCF以负荷分担方式工作的其他S-CSCF中,并由其他S-CSCF保存该用户的信息来实现该用户的第三方注册,同时,该S-CSCF将处理该用户业务所需的动态数据备份到HSS中。当S-CSCF故障时,网络侧将该故障S-CSCF内注册用户的业务请求转发到其他S-CSCF中。如果S-CSCF接收到了属于第三方注册用户的业务请求,则根据该用户的第三方注册信息从HSS中下载该用户的动态数据及签约信息,继续为该用户提供服务。
The invention relates to a SIP multimedia subsystem, and discloses an S-CSCF backup method and system thereof, enabling the S-CSCF to realize remote disaster recovery. In the present invention, by building the AS in the S-CSCF, when the user registers successfully, the user information is sent to other S-CSCFs that work in a load sharing manner with the S-CSCF, and stored by other S-CSCFs The user's information is used to realize the third-party registration of the user, and at the same time, the S-CSCF backs up the dynamic data required for processing the user's business to the HSS. When the S-CSCF fails, the network side forwards the service requests of registered users in the failed S-CSCF to other S-CSCFs. If the S-CSCF receives a service request belonging to a third-party registered user, it will download the user's dynamic data and subscription information from the HSS according to the third-party registration information of the user, and continue to provide services for the user.
Description
技术领域 technical field
本发明涉及SIP多媒体子系统,特别涉及SIP多媒体子系统内部的备份技术。The invention relates to the SIP multimedia subsystem, in particular to the internal backup technology of the SIP multimedia subsystem.
背景技术 Background technique
移动通信系统能够满足人们随时随地进行通信的要求,从它出现后就得到了迅速的发展。随着第三代移动通信(The Third Generation,简称“3G”)技术的提出和进一步发展,移动网络的带宽大大增加,移动通信将不仅仅局限于传统的语音通信,结合音频、视频、图片和文本等多种媒体类型的多媒体业务将逐渐开展起来。移动通信与呈现业务(presence)、短消息、网页浏览、定位信息、推送业务(PUSH)、文件共享等数据业务的结合,可以为用户提供更多的业务选择。例如消息业务类的即时消息和聊天室、多媒体短消息;视频业务类的娱乐、多媒体信息、日常交流;电子商务类的产品目录、搜索引擎、购物车、订单管理、支付;游戏类的单人游戏、群组游戏;定位业务类的寻人、向导、报警;个人助理类的地址本、日程表、书签管理、文件存储、事件提醒、电子邮件,能够更好的满足用户的多种需求。The mobile communication system can meet people's requirements for communication anytime and anywhere, and has developed rapidly since its appearance. With the introduction and further development of the third-generation mobile communication (The Third Generation, referred to as "3G") technology, the bandwidth of the mobile network has greatly increased, and mobile communication will not only be limited to traditional voice communication, but also combine audio, video, pictures and Multimedia services of multiple media types such as text will be developed gradually. The combination of mobile communication with data services such as presence, short message, web browsing, positioning information, push service (PUSH), and file sharing can provide users with more service options. For example, instant messages, chat rooms, and multimedia short messages for message services; entertainment, multimedia information, and daily communication for video services; product catalogs, search engines, shopping carts, order management, and payment for e-commerce; single-player games for games Games, group games; positioning services such as tracing, guides, and alarms; personal assistants such as address book, calendar, bookmark management, file storage, event reminders, and emails can better meet the various needs of users.
考虑到网间互联协议(Internet Protocol,简称“IP”)网络的应用越来越广泛,第三代合作伙伴项目(3rd Generation Partnership Project,简称“3GPP”)以及第三代合作伙伴项目2(3rd Generation Partnership Project 2,简称“3GPP2”)等标准组织都制定了将移动通信网络向全分组、全IP的方向演进的标准,提出了基于IP的多媒体子系统架构,目的是在移动网络中使用一种标准化的开放的结构来实现多种多样的多媒体应用,提供给用户更多的选择和更丰富的感受。Considering that the Internet Protocol (Internet Protocol, referred to as "IP") network is more and more widely used, the 3rd Generation Partnership Project (3rd Generation Partnership Project, referred to as "3GPP") and the 3rd Generation Partnership Project 2 (3rd Generation Partnership Project Generation Partnership Project 2, referred to as "3GPP2") and other standard organizations have formulated standards for the evolution of mobile communication networks to all-packet and all-IP directions, and proposed an IP-based multimedia subsystem architecture. A standardized and open structure to realize a variety of multimedia applications, providing users with more choices and richer experience.
其中,3GPP在版本5(Release 5,简称“R5”)阶段引入了IP多媒体子系统(IP Multimedia Subsystem,简称“IMS”)域,叠加在分组域网络之上。IMS由呼叫状态控制功能(Call Session Control Function,简称“CSCF”)、媒体网关控制功能(Media Gateway Control Function,简称“MGCF”)、媒体资源功能(Multimedia Resource Function,简称“MRF”)和归属签约用户服务器(Home Subscriber Server,简称“HSS”)等功能实体组成。CSCF又可以分成服务CSCF(Serving CSCF,简称“S-CSCF”)、代理CSCF(ProxyCSCF,简称“P-CSCF”)和查询CSCF(Interrogating CSCF,简称“I-CSCF”)三个逻辑实体。其中,S-CSCF是IMS的业务交换中心,执行会话控制、维持会话状态、负责管理用户信息、产生计费信息等;P-CSCF是终端用户接入IMS的接入点,完成用户注册、负责QoS控制和安全管理等;I-CSCF负责IMS域之间的互通,管理S-CSCF的分配、对外隐藏网络拓扑和配置、产生计费数据等。MGCF控制网关,实现IMS网络和其它网络的互通,MRF提供媒体资源,如收放音,编解码和多媒体会议桥。HSS是用户数据库,存储IMS用户的签约数据和配置信息等。Among them, 3GPP introduced the IP Multimedia Subsystem (IP Multimedia Subsystem, "IMS") domain in the Release 5 (Release 5, referred to as "R5") stage, which is superimposed on the packet domain network. IMS consists of call state control function (Call Session Control Function, referred to as "CSCF"), media gateway control function (Media Gateway Control Function, referred to as "MGCF"), media resource function (Multimedia Resource Function, referred to as "MRF") and attribution User server (Home Subscriber Server, referred to as "HSS") and other functional entities. CSCF can be further divided into three logical entities: Serving CSCF (Serving CSCF, referred to as "S-CSCF"), Proxy CSCF (ProxyCSCF, referred to as "P-CSCF") and Inquiring CSCF (Interrogating CSCF, referred to as "I-CSCF"). Among them, S-CSCF is the service switching center of IMS, which performs session control, maintains session state, manages user information, generates billing information, etc.; P-CSCF is the access point for terminal users to access IMS, completes user registration, is responsible for QoS control and security management, etc.; I-CSCF is responsible for the intercommunication between IMS domains, manages the allocation of S-CSCF, hides network topology and configuration from the outside, and generates charging data, etc. The MGCF controls the gateway to realize the intercommunication between the IMS network and other networks, and the MRF provides media resources, such as audio playback, codec and multimedia conference bridge. The HSS is a user database, which stores subscription data and configuration information of IMS users.
由于IMS设备容量一般比较大,因此除了设备本身的可靠性机制外,通常还必须考虑异地容灾能力。也就是说,当某一IMS中的网元设备发生故障后,其他设备能够及时接管该设备,使故障设备对整个IMS网络影响最小。Since the capacity of IMS equipment is generally relatively large, in addition to the reliability mechanism of the equipment itself, remote disaster recovery capabilities must also be considered. That is to say, when a network element device in a certain IMS fails, other devices can take over the device in time, so that the failure device has the least impact on the entire IMS network.
目前,IMS中的网元设备,例如P-CSCF、S-CSCF以及应用服务器(Application Server,简称“AS”)等,在用户注册后往往需要保存与注册相关的动态数据。这里网元设备如果发生故障,则相关的用户动态数据如注册信息、订阅信息等将丢失,从而导致由该故障网元提供服务的用户将无法继续获得服务。直到无法继续获得服务的用户再次注册后,这些用户的数据被分配到新的设备,从而恢复这些用户正常的业务处理。At present, network element devices in the IMS, such as P-CSCF, S-CSCF, and application server (Application Server, referred to as "AS"), etc., often need to save dynamic data related to registration after user registration. Here, if the network element equipment fails, the relevant user dynamic data such as registration information, subscription information, etc. will be lost, so that the users provided by the faulty network element will not be able to continue to obtain services. Until the users who can no longer obtain the service register again, the data of these users will be allocated to new devices, so as to resume the normal business processing of these users.
在实际应用中,上述方案存在以下问题:当S-CSCF出现故障时,相关用户的服务不能够及时恢复,因而也就无法保持服务的连续性,影响了用户的体验。In practical applications, the above solution has the following problems: when the S-CSCF fails, the service of the relevant user cannot be recovered in time, so the continuity of the service cannot be maintained, which affects the experience of the user.
造成这种情况的主要原因在于,在现有技术中,一旦S-CSCF发生故障,则由该故障S-CSCF提供服务的用户将无法继续获得服务,直到这些无法继续获得服务的用户再次注册后,才能恢复这些用户正常的会话处理。但是,由于较短的注册间隔会产生很大通信流量,因此,用户注册的间隔一般比较长,约几十分钟。也就是说,如果用户注册的间隔时间为几十分钟,那么,由于该故障S-CSCF而无法继续获得服务的用户将在几十分钟的用户注册的间隔时间内,仍旧无法恢复正常的会话处理,影响了用户的体验。而且,即使该故障S-CSCF恢复后,如果这些用户没有重注册,也可能无法立即恢复服务。The main reason for this situation is that, in the prior art, once an S-CSCF fails, users served by the failed S-CSCF will not be able to continue to obtain services until these users who cannot continue to obtain services register again , to restore normal session handling for these users. However, since a short registration interval will generate a large amount of communication traffic, the user registration interval is generally relatively long, about tens of minutes. That is to say, if the user registration interval is tens of minutes, then the user who cannot continue to obtain services due to the faulty S-CSCF will still be unable to resume normal session processing within the user registration interval of tens of minutes , affecting the user experience. Moreover, even after the faulty S-CSCF recovers, if these users do not re-register, services may not be restored immediately.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种服务呼叫会话控制功能实体备份方法及其系统,使得S-CSCF能够实现异地容灾。In view of this, the main purpose of the present invention is to provide a SCSCF entity backup method and system thereof, so that S-CSCF can realize remote disaster recovery.
为实现上述目的,本发明提供了一种服务呼叫会话控制功能实体备份方法,包含以下步骤:To achieve the above object, the present invention provides a method for backing up a service call session control function entity, comprising the following steps:
服务呼叫会话控制功能实体在用户注册成功时,向另一个与该实体分担负荷的其他服务呼叫会话控制功能实体发起保存该用户相关信息的请求,并在数据备份实体中备份处理该用户会话发起协议SIP请求所需的动态数据;When the user registration is successful, the SCSCF entity initiates a request to save the relevant information of the user to another SCSCF entity that shares the load with this entity, and backs up and processes the user session initiation protocol in the data backup entity Dynamic data required for SIP requests;
如果所述其他服务呼叫会话控制功能实体接收到所述用户的SIP请求,则所述其他服务呼叫会话控制功能实体根据保存的所述用户的相关信息,从所述数据备份实体中下载该用户的所述动态数据,并据此处理该用户的SIP请求。If the other CSCF entity receives the user's SIP request, the other CSCF entity downloads the user's SIP request from the data backup entity according to the stored relevant information of the user. The dynamic data, and process the user's SIP request accordingly.
其中,还包含以下步骤:Among them, the following steps are also included:
当所述服务呼叫会话控制功能实体发生故障时,网络侧将该实体内注册用户的SIP请求转发给所述其他服务呼叫会话控制功能实体。When the SCSCF entity fails, the network side forwards the SIP request of the registered user in the entity to the other SCSCF entity.
此外在所述方法中,所述服务呼叫会话控制功能实体通过第三方注册的方式向所述其他服务呼叫会话控制功能实体发起所述保存该用户相关信息的请求,该请求中包含该用户的相关信息;In addition, in the method, the S-CSCF entity initiates the request for storing relevant information of the user to the other S-CSCF entity through third-party registration, and the request includes the relevant information of the user. information;
所述其他服务呼叫会话控制功能实体保存接收到的该用户的相关信息。The other service call session control function entity saves the received relevant information of the user.
此外在所述方法中,所述用户的相关信息包含该用户的用户标识。Furthermore, in the method, the relevant information of the user includes a user identification of the user.
此外在所述方法中,:所述数据备份实体是归属签约用户服务器或其他网络设备中内置的用于备份数据的实体。In addition, in the method, the data backup entity is an entity built in the home subscriber server or other network equipment for backing up data.
此外在所述方法中,所述服务呼叫会话控制功能实体与所述其他服务呼叫会话控制功能实体内分别置有支持IP多媒体子系统业务控制ISC接口以及Sh接口的应用服务器;In addition, in the method, the service call session control function entity and the other service call session control function entities are respectively equipped with application servers supporting the IP multimedia subsystem service control ISC interface and the Sh interface;
所述服务呼叫会话控制功能实体内的应用服务器通过ISC接口发起所述保存该用户相关信息的请求,并通过Sh接口将所述动态数据备份到所述数据备份实体中;The application server in the service call session control function entity initiates the request for saving the user-related information through the ISC interface, and backs up the dynamic data to the data backup entity through the Sh interface;
所述其他服务呼叫会话控制功能实体内的应用服务器通过ISC接口接收所述保存该用户相关信息的请求,并通过Sh接口从所述数据备份实体中下载所述动态数据。The application server in the other service call session control function entity receives the request for saving the relevant information of the user through the ISC interface, and downloads the dynamic data from the data backup entity through the Sh interface.
此外在所述方法中,所述动态数据作为透明数据在所述数据备份实体中保存或下载;In addition, in the method, the dynamic data is saved or downloaded in the data backup entity as transparent data;
所述其他服务呼叫会话控制功能实体根据本服务呼叫会话控制功能实体内保存的用户相关信息从所述数据备份实体中下载相应的动态数据。The other S-CSCF entity downloads corresponding dynamic data from the data backup entity according to the user-related information stored in the S-CSCF entity.
此外在所述方法中,所述SIP请求包含以下之一或其任意组合:注册请求、对话请求、以及独立的事务请求。Furthermore, in the method, the SIP request includes one of the following or any combination thereof: a registration request, a session request, and an independent transaction request.
此外在所述方法中,所述动态数据包含用户注册数据、订阅数据以及会话数据;In addition, in the method, the dynamic data includes user registration data, subscription data and session data;
所述用户注册数据包含注册消息中的“path”头域以及“Contact”头域地址。The user registration data includes the "path" header field and the "Contact" header field address in the registration message.
此外在所述方法中,所述服务呼叫会话控制功能实体与所述其他服务呼叫会话控制功能实体的域名相同。当所述呼叫会话控制功能实体故障时,问询呼叫会话控制功能实体使用DNS解析所述域名,获得所述其他服务呼叫会话控制功能实体的地址,然后将该用户的SIP请求消息转发到所述其他服务呼叫会话控制功能实体。Furthermore, in the method, the domain name of the S-CSCF entity is the same as that of the other S-CSCF entities. When the call session control function entity fails, query the call session control function entity to use DNS to resolve the domain name, obtain the address of the other service call session control function entity, and then forward the user's SIP request message to the Other services call the session control functional entity.
本发明还提供了一种服务呼叫会话控制功能实体备份系统,包含两个以负荷分担方式工作的服务呼叫会话控制功能实体,所述服务呼叫会话控制功能实体内还包含用于发起保存用户相关信息的请求的请求模块、保存用户相关信息的保存模块、将处理用户SIP请求所需的动态数据备份到数据备份实体中的备份模块、查询接收到的SIP请求是否属于本服务呼叫会话控制功能实体内保存有相关信息的用户的查询模块、以及从所述数据备份实体中下载所述动态数据的下载模块;The present invention also provides a backup system for the service call session control function entity, which includes two service call session control function entities working in a load sharing manner, and the service call session control function entity also includes information for initiating and saving user related information The request module for the request, the save module for saving user-related information, the backup module for backing up the dynamic data required for processing the user's SIP request to the data backup entity, and querying whether the received SIP request belongs to the call session control function entity of this service A query module for users who save relevant information, and a download module for downloading the dynamic data from the data backup entity;
所述服务呼叫会话控制功能实体在用户注册成功时,该实体内的请求模块向其他服务呼叫会话控制功能实体发起保存该用户相关信息的请求,并由所述服务呼叫会话控制功能实体内的备份模块将处理该用户SIP请求所需的动态数据备份到数据备份实体中;When the user registration of the SCSCF entity is successful, the request module in the entity initiates a request to save the relevant information of the user to other SCSCF entities, and the backup in the SCSCF entity The module backs up the dynamic data required for processing the user's SIP request to the data backup entity;
所述其他服务呼叫会话控制功能实体内的保存模块保存接收到的该用户的相关信息,并由该实体内的查询模块查询接收到的SIP请求是否属于本服务呼叫会话控制功能实体内的保存模块保存有相关信息的用户,如果是,则该实体内的下载模块根据所保存的用户相关信息从所述数据备份实体中下载相应的动态数据,并据此处理该用户的SIP请求。The storage module in the other service call session control function entity saves the received relevant information of the user, and the query module in the entity inquires whether the received SIP request belongs to the storage module in the service call session control function entity If there is a user with relevant information saved, the download module in the entity downloads corresponding dynamic data from the data backup entity according to the saved user related information, and processes the user's SIP request accordingly.
其中,所述服务呼叫会话控制功能实体内分别置有应用服务器,所述请求模块、保存模块、备份模块、查询模块、以及下载模块位于所述应用服务器内。Wherein, the service call session control function entity is respectively equipped with an application server, and the request module, storage module, backup module, query module, and download module are located in the application server.
此外在所述系统中,所述应用服务器支持ISC接口以及Sh接口;In addition, in the system, the application server supports the ISC interface and the Sh interface;
所述请求模块以及所述保存模块通过所述应用服务器的ISC接口发起、接收所述保存用户相关信息的请求The requesting module and the saving module initiate and receive the request for saving user-related information through the ISC interface of the application server
所述备份模块通过所述应用服务器的Sh接口将所述动态数据备份到所述数据备份实体中;The backup module backs up the dynamic data to the data backup entity through the Sh interface of the application server;
所述下载模块通过Sh接口从所述数据备份实体中下载所述动态数据。The download module downloads the dynamic data from the data backup entity through the Sh interface.
通过比较可以发现,本发明的技术方案与现有技术的主要区别在于,通过在S-CSCF中内置AS,当用户注册成功时,将该用户的信息通过第三方注册的方式发送到与该S-CSCF以负荷分担方式工作的另一个S-CSCF中,接收到用户相关信息的S-CSCF将该用户相关信息作为第三方注册信息进行保存,同时,该S-CSCF将处理该用户SIP请求所需的动态数据备份到数据备份实体中,如HSS。当S-CSCF故障时,网络侧将该故障S-CSCF内注册用户的SIP请求转发到另一个S-CSCF中。如果S-CSCF接收到了属于第三方注册用户的SIP请求,则根据该用户的第三方注册信息从HSS中下载该用户的动态数据,继续为该用户提供服务。从而保障了故障S-CSCF内注册用户的服务连续性,实现了S-CSCF设备的异地容灾能力,改善了用户体验,提高了IMS服务质量。Through comparison, it can be found that the main difference between the technical solution of the present invention and the prior art is that, through the built-in AS in the S-CSCF, when the user registers successfully, the user's information is sent to the S-CSCF through third-party registration. - In another S-CSCF where the CSCF works in load sharing mode, the S-CSCF that receives the user-related information saves the user-related information as third-party registration information, and at the same time, the S-CSCF will process the SIP request of the user The required dynamic data is backed up to a data backup entity, such as HSS. When the S-CSCF fails, the network side forwards the SIP request of the registered user in the failed S-CSCF to another S-CSCF. If the S-CSCF receives a SIP request belonging to a third-party registered user, it will download the dynamic data of the user from the HSS according to the third-party registration information of the user, and continue to provide services for the user. In this way, service continuity of registered users in the faulty S-CSCF is guaranteed, remote disaster recovery capability of S-CSCF equipment is realized, user experience is improved, and IMS service quality is improved.
附图说明 Description of drawings
图1是根据本发明一种S-CSCF备份的系统结构图;Fig. 1 is a system structure diagram according to a kind of S-CSCF backup of the present invention;
图2是根据本发明第一实施方式的S-CSCF备份方法中用户注册流程图;Fig. 2 is a flow chart of user registration in the S-CSCF backup method according to the first embodiment of the present invention;
图3是根据本发明第二实施方式的S-CSCF备份方法中主叫用户会话处理流程图;Fig. 3 is a flow chart of calling user session processing in the S-CSCF backup method according to the second embodiment of the present invention;
图4是根据本发明第三实施方式的S-CSCF备份方法中被叫用户会话处理流程图。Fig. 4 is a flow chart of called user session processing in the S-CSCF backup method according to the third embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明的核心在于,当用户在S-CSCF中注册成功时,该S-CSCF通过第三方注册的方式向另一个与该S-CSCF共同分担负荷的其他S-CSCF发起保存该用户相关信息的请求,并将处理该用户SIP请求所需的动态数据作为透明数据备份到HSS或其他网络设备中的用于备份数据的数据备份实体中。当该S-CSCF故障时,网络侧将该故障S-CSCF内注册用户的SIP请求转发至另一个与该S-CSCF共同分担负荷的其他S-CSCF。如果S-CSCF接收到了不属于本S-CSCF注册用户的SIP请求,则查询该SIP请求是否属于本S-CSCF的第三方注册用户,如果是,则根据该用户的第三方注册信息从数据备份实体中下载处理该用户SIP请求所需的动态数据,并据此处理该用户的SIP请求。The core of the present invention is that when the user successfully registers in the S-CSCF, the S-CSCF initiates the process of saving the user-related information to another S-CSCF that shares the load with the S-CSCF through a third-party registration method. request, and back up the dynamic data required to process the user's SIP request as transparent data to the data backup entity used for backing up data in the HSS or other network devices. When the S-CSCF fails, the network side forwards the SIP request of the registered user in the failed S-CSCF to another S-CSCF sharing the load with the S-CSCF. If the S-CSCF receives a SIP request that does not belong to the registered user of the S-CSCF, it will check whether the SIP request belongs to a third-party registered user of the S-CSCF, and if so, it will backup the data according to the third-party registration information of the user The entity downloads the dynamic data required for processing the user's SIP request, and processes the user's SIP request accordingly.
本发明的系统结构如图1所示,包含两个以负荷分担方式工作的S-CSCF,每个S-CSCF中还分别包含用于发起保存用户相关信息请求的请求模块、用于保存用户相关信息的保存模块、用于将处理用户SIP请求所需的动态数据备份到数据备份实体中的备份模块、用于查询接收到的SIP请求是否属于本S-CSCF内保存有相关信息的用户的查询模块、以及用于从数据备份实体中下载动态数据的下载模块。The system structure of the present invention is shown in Figure 1. It includes two S-CSCFs that work in a load sharing manner. Each S-CSCF also includes a request module for initiating a request for storing user-related information, and a request module for storing user-related information. Information storage module, a backup module for backing up the dynamic data required for processing user SIP requests to the data backup entity, and a query for inquiring whether the received SIP request belongs to the user with relevant information stored in the S-CSCF module, and a download module for downloading dynamic data from the data backup entity.
下面对该系统中各模块间的相互作用进行说明。The interaction between the modules in the system is described below.
当用户在S-CSCF(如S-CSCF 1)中注册成功时,该S-CSCF 1中的请求模块通过第三方注册的方式向与该S-CSCF 1共同分担负荷的另一个S-CSCF,如S-CSCF 2的保存模块发起保存该用户相关信息的请求。S-CSCF2中的保存模块在接收到该用户的相关信息后,将该信息作为该用户的第三方注册信息进行保存。同时,S-CSCF 1中的备份模块将处理该用户SIP请求所需的动态数据备份到数据备份实体中,如HSS。需要说明的是S-CSCF 1与S-CSCF 2使用相同的域名。When the user successfully registers in the S-CSCF (such as S-CSCF 1), the request module in the S-
当S-CSCF 1发生故障时,由于该S-CSCF 1无法为其注册用户处理相应的SIP请求,因此,网络侧将该S-CSCF 1内注册用户的SIP请求转发到S-CSCF 2中。S-CSCF 2在接收到SIP请求并判断该SIP请求不属于本S-CSCF2的注册用户时,通过该S-CSCF 2内的查询模块根据保存模块内第三方注册信息查询该SIP请求是否属于本S-CSCF 2的第三方注册用户。如果该查询模块判定该S-CSCF 2接收到的SIP请求属于本S-CSCF 2的第三方注册用户,则通过该S-CSCF 2的下载模块根据保存模块内该用户的第三方注册信息从数据备份实体,如HSS中下载相应的动态数据,并由S-CSCF 2据此处理所接收到的SIP请求。When S-
需要说明的是,上述请求模块、保存模块、备份模块、查询模块以及下载模块可以位于在S-CSCF内添置的AS中,并且,使该AS支持ISC接口以及Sh接口,使得请求模块以及保存模块可以通过AS的ISC接口发起或接收通过第三方注册方式发起的保存用户相关信息的请求,备份模块可以通过AS的Sh接口将处理用户SIP请求所需的动态数据备份到HSS中,下载模块可It should be noted that the above-mentioned request module, save module, backup module, query module and download module can be located in the AS added in the S-CSCF, and make the AS support the ISC interface and the Sh interface, so that the request module and the save module The request for saving user-related information initiated by the third-party registration method can be initiated or received through the ISC interface of the AS. The backup module can back up the dynamic data required for processing the user's SIP request to the HSS through the Sh interface of the AS. The download module can
以通过AS的Sh接口从HSS中下载相应的动态数据及签约信息。Download the corresponding dynamic data and subscription information from the HSS through the Sh interface of the AS.
以上对本发明的系统结构进行了说明,下面对本发明的第一实施方式进行说明。本发明的第一实施方式基于上述系统中,在本实施方式中,主要阐明的是用户注册成功时S-CSCF通过第三方注册方式发起的保存用户相关信息的请求,并且,数据备份实体为HSS。The system configuration of the present invention has been described above, and the first embodiment of the present invention will be described below. The first embodiment of the present invention is based on the above-mentioned system. In this embodiment, it is mainly clarified that when the user registration is successful, the S-CSCF initiates a request to save user-related information through a third-party registration method, and the data backup entity is HSS .
如图2所示,在步骤201中,用户发起注册请求。As shown in FIG. 2, in
在步骤202中,P-CSCF接收到用户的注册请求时,对该注册请求中的归属网络地址使用域名服务系统(DOMAIN NAME SYSTEM,简称“DNS”,)协议进行解析,从而获得该用户的归属网络I-CSCF的地址。In
接着,在步骤203中,P-CSCF将所接收到的用户注册请求转发到在步骤202中所获取的I-CSCF。Next, in
在步骤204中,I-CSCF接收到P-CSCF所转发的用户注册请求后,通过Cx向HSS查询该用户的注册状态。In
接着,进入步骤205,I-CSCF根据在步骤204中HSS返回的信息,获取指派给用户的S-CSCF。在本实施方式中,指派给用户的S-CSCF为S-CSCF 1。并将从P-CSCF处接收到的用户注册请求发送到所获取的指派给该用户的S-CSCF,即S-CSCF 1。Next, enter
接着,进入步骤206,S-CSCF 1接收到用户从注册请求后,通过Cx接口向HSS查询该用户的用户数据并检查该用户提供的注册信息。如果该用户在S-CSCF 1中注册成功,则该S-CSCF 1从HSS中下载该用户的签约数据。Then, enter
接着,进入步骤207,S-CSCF 1通过第三方注册方式向与该S-CSCF 1共同分担负荷的另一个S-CSCF,即S-CSCF 2发起保存该用户相关信息的请求。具体地说,在S-CSCF 1以及S-CSCF 2中分别置有支持ISC接口以及Sh接口的AS,当用户在S-CSCF 1中注册成功时,S-CSCF 1中的AS以第三方注册方式通过ISC接口向S-CSCF 2中的AS发送该用户的相关信息。其中,该用户的相关信息可以仅包含该用户所在的用户标识。Then, enter
接着,进入步骤208,S-CSCF 2将所接收到的用户的相关信息作为该用户的第三方注册信息进行保存。具体地说,S-CSCF 2中的AS通过ISC接口接收到S-CSCF 1中的AS通过ISC接口所发送用户的相关信息后,将该信息作为该用户的第三方注册信息保存在本S-CSCF 2的AS中,完成该用户的第三方注册。Then, enter
接着,进入步骤209,S-CSCF 2向S-CSCF 1发送确认消息,以应答S-CSCF 2所发起的保存用户相关信息的请求。Next, enter
接着,进入步骤210,S-CSCF 1保存用户注册数据。然后,进入步骤211。Next, enter
在步骤211中,S-CSCF 1将处理用户SIP请求所需的动态数据作为透明数据保存到HSS中。具体地说,S-CSCF 1中的AS通过Sh接口将处理用户SIP请求所需的动态数据作为透明数据保存到HSS中。其中,动态数据除了至少包含的注册消息中用于查找到用户所在的终端以及用户终端具体地址的“path”头域和“Contact”头域外,还可以根据SIP请求的不同,包含或部分包含注册数据、订阅数据以及会话数据。其中,注册数据包括注册消息中携带的注册定时器时长、IMPI标识等信息。订阅数据包括订阅数据包括用户订阅注册事件的订阅请求中所携带的CallID、From tag、To tag、定时器时长、Request-URI、Record-Route等信息。以便网络能够根据这些信息通知用户注册状态。对话数据指用户已建立的对话数据,包含对话控制数据、对话呼叫状态、计费数据等。以便网络能够根据这些信息继续控制这些对话,并且能够对对话进行计费。In
接着,在步骤212中,HSS向S-CSCF 1发送更新响应通知消息。然后,通过步骤213中的S-CSCF 1向I-CSCF发送注册成功确认消息,步骤214中的I-CSCF向P-CSCF发送注册成功确认消息以及步骤215中的P-CSCF向用户所在的用户设备发送成功确认消息,最终将用户的注册成功确认消息返回到用户。Next, in
在本实施方式中,SIP请求可以是注册请求、对话请求、独立的事务请求,或其任意的组合。In this embodiment, the SIP request may be a registration request, a session request, an independent transaction request, or any combination thereof.
本发明的第二实施方式基于第一实施方式基础之上,在本实施方式中,发起SIP请求的主叫侧用户为属于S-CSCF2的第三方注册的用户。The second embodiment of the present invention is based on the first embodiment. In this embodiment, the calling side user who initiates the SIP request is a third-party registered user belonging to S-CSCF2.
如图3所示,在步骤301中,用户向其归属网络的P-CSCF发起SIP请求。As shown in Fig. 3, in step 301, a user initiates a SIP request to the P-CSCF of its home network.
接着,在步骤302中,P-CSCF接收到用户发起的SIP请求后,对该用户在注册过程中所保存的S-CSCF域名使用DNS协议进行解析,从而获得该用户的归属网络S-CSCF的地址,在本实施方式中,即为S-CSCF 1的地址。Next, in step 302, after receiving the SIP request initiated by the user, the P-CSCF uses the DNS protocol to resolve the S-CSCF domain name saved by the user during the registration process, thereby obtaining the S-CSCF domain name of the user's home network. The address, in this embodiment, is the address of S-
接着,在步骤303中,P-CSCF将用户的SIP请求转发到在步骤302中所获取的该用户的归属网络S-CSCF 1的地址。Next, in step 303, the P-CSCF forwards the user's SIP request to the address of the user's home network S-
接着,在步骤304中,S-CSCF 1由于发生了故障,无法应答P-CSCF所转发的SIP请求。Then, in step 304, S-
然后,进入步骤305,P-CSCF在定时器超时后,判断S-CSCF 1不可用,通过DNS解析S-CSCF 1的域名获得另一个可以转发SIP请求的S-CSCF地址。具体地说,以负荷分担方式工作的S-CSCF 1与S-CSCF 2,由于它们的IP地址在DNS服务器上对应的是同一个域名,因此,当一个地址不可用时,P-CSCF可以根据DNS查询结果,从域名对应的地址中选择其他可用的地址。因此,P-CSCF选择了S-CSCF 2的地址。Then, enter step 305, after the timer expires, the P-CSCF judges that the S-
接着,在步骤306中,P-CSCF将SIP请求转发给S-CSCF 2。Then, in step 306, the P-CSCF forwards the SIP request to the S-
接着,在步骤307中,S-CSCF 2查询接收到的SIP请求是否属于第三方注册的用户。具体地说,当S-CSCF 2接收到一个SIP请求时,如果发起该请求的用户没有注册,但是该S-CSCF 2通过查询获知其内置的AS已经保存该用户作为第三方注册信息所保存的相关信息,则该S-CSCF 2认为服务该用户的S-CSCF已经故障,该用户需要迁移到本S-CSCF中。Next, in step 307, S-
接着,进入步骤308,S-CSCF 2向HSS请求下载透明数据。具体地说,S-CSCF 2内的AS根据所保存的该用户相关信息通过Sh接口向HSS请求下载该用户的作为透明数据所保存的动态数据。Next, enter step 308, the S-
接着,在步骤309中,HSS响应S-CSCF 2的透明数据下载请求,向S-CSCF2返回该用户的透明数据。Next, in step 309, the HSS responds to the transparent data download request of the S-
接着,在步骤310中,S-CSCF 2向HSS请求下载签约信息。具体地说,S-CSCF2根据透明数据中的用户注册信息,通过Cx接口向HSS查询获得的该用户的签约信息。Next, in step 310, the S-
接着,在步骤311中,HSS响应S-CSCF 2的下载请求,向S-CSCF 2返回该用户的签约信息。Then, in step 311, the HSS responds to the download request of the S-
接着,在步骤312中,S-CSCF 2根据所下载的用户的动态数据及签约信息处理该用户的SIP请求。Next, in step 312, S-
具体地说,如果S-CSCF 2接收到的是属于第三方注册用户的注册请求消息,则该S-CSCF 2将通过内置AS的Sh接口向HSS请求下载该用户的透明数据。如果需要对用户进行鉴权,则根据下载的透明数据,通过Cx接口从HSS下载该用户的鉴权数据,然后根据鉴权数据对用户发起重鉴权。鉴权通过后,再从HSS下载签约信息,并根据签约信息处理该注册请求。用户注册成功后,根据用户注册请求的数据刷新下载的透明数据中的注册数据。Specifically, if the S-
如果S-CSCF 2接收到的是属于第三方注册用户的订阅请求消息,则S-CSCF 2将通过内置AS的Sh接口向HSS请求下载该用户的透明数据,再根据下载的透明数据,通过Cx接口从HSS下载用户的签约信息,然后根据签约信息处理该订阅请求。订阅请求处理成功后,根据用户订阅请求的数据刷新下载的透明数据中的订阅数据。If S-
如果S-CSCF 2接收到的是属于第三方注册用户的其他对话请求消息或者事务请求消息,则S-CSCF 2将通过内置AS的Sh接口向HSS请求下载该用户的透明数据,再根据下载的透明数据,通过Cx接口从HSS下载该用户的签约信息,然后根据签约信息处理请求。If S-
需要说明的是,如果S-CSCF 2下载的透明数据中包含对话数据,则S-CSCF 2根据这些数据恢复对话,并处理对话后续的消息。It should be noted that, if the transparent data downloaded by S-
接着,在步骤313中,S-CSCF 2将处理后的该用户的SIP请求转发到被叫侧网络。Then, in step 313, S-
在本实施方式中,由于共同分担负荷的S-CSCF 2能够为故障的S-CSCF1内的注册用户继续提供服务。从而保障了故障S-CSCF 1内注册用户的服务连续性,实现了S-CSCF设备的异地容灾能力,改善了用户体验,提高了IMS服务质量。In this embodiment, because the S-
本发明的第三实施方式与第二实施方式大致相同,其区别仅在于,在第二实施方式中,S-CSCF 2内属于第三方注册的用户为主叫侧用户,而在本实施方式中,S-CSCF 2内属于第三方注册的用户为被叫侧用户。The third embodiment of the present invention is roughly the same as the second embodiment, the only difference is that in the second embodiment, the user belonging to the third party registration in S-
如图4所示,在步骤401中,被叫侧用户的归属I-CSCF接收到了主叫侧的SIP请求。As shown in Fig. 4, in
接着,进入步骤402,I-CSCF接收到主叫侧的SIP请求后,对该被叫用户在注册过程中所保存的S-CSCF域名使用DNS协议进行解析,从而获得该用户的归属网络S-CSCF的地址,在本实施方式中,即为S-CSCF 1的地址。Next, enter step 402. After receiving the SIP request from the calling side, the I-CSCF uses the DNS protocol to resolve the S-CSCF domain name saved by the called user during the registration process, thereby obtaining the user's home network S- The address of the CSCF is, in this embodiment, the address of the S-
接着,在步骤403中,I-CSCF将用户的SIP请求转发到在步骤402中所获取的该用户的归属网络S-CSCF 1的地址。Next, in
接着,在步骤404中,S-CSCF 1由于发生了故障,无法应答I-CSCF所转发的会话请求。Then, in
接着,在步骤405中,I-CSCF在定时器超时后,判断S-CSCF 1不可用,通过DNS解析S-CSCF 1的域名获得另一个可以转发会话请求的S-CSCF地址。具体地说,以负荷分担方式工作的S-CSCF 1与S-CSCF 2,由于它们的IP地址在DNS服务器上对应的是同一个域名,因此,当一个地址不可用时,I-CSCF可以根据DNS查询结果,从域名对应的地址中选择其他可用的地址。因此,I-CSCF选择了S-CSCF 2的地址。Then, in
然后,在步骤406中,I-CSCF将SIP请求转发给S-CSCF 2。Then, in
接着,在步骤407至步骤412中,S-CSCF 2查询接收到的SIP请求是否属于第三方注册的用户。如果是的话,则向HSS下载该用户作为透明数据保存的动态数据以及该用户的签约信息,并据此处理该用户的SIP请求。步骤407至步骤412对应于步骤307至步骤312,在此不再赘述。Next, in
在步骤413中,S-CSCF 2将处理后的该用户的SIP请求根据透明数据中的“path”头域和“Contact”头域转发到该用户的归属P-CSCF中。In
由此可见,即使发生故障的S-CSCF 1内的注册用户为被叫侧用户,与该故障S-CSCF 1共同分担负荷的S-CSCF 2也能够保障该用户的服务连续性,实现了S-CSCF设备的异地容灾能力,改善了用户体验,提高了IMS服务质量。It can be seen that even if the registered user in the faulty S-
虽然通过参照本发明的某些优选实施方式,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the present invention. The spirit and scope of the invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100248661A CN100391167C (en) | 2006-03-20 | 2006-03-20 | Service call session control function entity backup method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100248661A CN100391167C (en) | 2006-03-20 | 2006-03-20 | Service call session control function entity backup method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1878087A CN1878087A (en) | 2006-12-13 |
CN100391167C true CN100391167C (en) | 2008-05-28 |
Family
ID=37510396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100248661A Expired - Fee Related CN100391167C (en) | 2006-03-20 | 2006-03-20 | Service call session control function entity backup method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100391167C (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008083587A1 (en) * | 2006-12-29 | 2008-07-17 | Huawei Technologies Co., Ltd. | Method and system and network element for service processing after network element data invalidated and occurring fault |
CN101141464B (en) * | 2007-10-11 | 2012-06-06 | 中兴通讯股份有限公司 | Inceptive filtering regulation processing method |
CN101217407B (en) * | 2008-01-04 | 2012-12-19 | 中兴通讯股份有限公司 | A processing method on functional failure on calling conversation control agent |
CN101489215A (en) * | 2008-01-18 | 2009-07-22 | 华为技术有限公司 | Method and device for providing service to user |
CN101489174B (en) * | 2008-01-18 | 2011-04-20 | 华为技术有限公司 | A method and device for providing services to users |
CN101448319B (en) * | 2008-04-11 | 2012-02-29 | 中兴通讯股份有限公司 | Method for processing S-CSCF failure recovery |
CN101621501B (en) * | 2008-07-01 | 2012-06-27 | 中国移动通信集团公司 | User registration control method and session functional control entity of communication system |
CN101478737B (en) * | 2008-12-30 | 2010-10-27 | 华为技术有限公司 | Method, device and system for service migration |
US8499336B2 (en) * | 2010-11-23 | 2013-07-30 | Cisco Technology, Inc. | Session redundancy among a server cluster |
CN113115481A (en) * | 2012-12-17 | 2021-07-13 | 皇家Kpn公司 | Method, telecommunications node and telecommunications terminal |
CN105049230B (en) * | 2015-06-15 | 2019-01-29 | 中兴国通通讯装备技术(北京)有限公司 | A kind of the vehicle disaster recovery method and its vehicle disaster tolerance system of the distributed multimedia subsystem based on domain name system |
CN111600830B (en) * | 2019-02-20 | 2024-01-02 | 浙江宇视科技有限公司 | SIP disaster recovery method, device, equipment and readable storage medium |
CN115866538B (en) * | 2022-11-29 | 2024-07-30 | 中国联合网络通信集团有限公司 | Short message processing method, equipment, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5754848A (en) * | 1996-09-11 | 1998-05-19 | Hewlett-Packard Co. | Apparatus and method for disaster recovery of an operating system utilizing long file and directory names |
US6266784B1 (en) * | 1998-09-15 | 2001-07-24 | International Business Machines Corporation | Direct storage of recovery plan file on remote server for disaster recovery and storage management thereof |
US6701450B1 (en) * | 1998-08-07 | 2004-03-02 | Stephen Gold | System backup and recovery |
CN1545338A (en) * | 2003-11-27 | 2004-11-10 | 中兴通讯股份有限公司 | Method and system for improving reliability of soft switch using off-site backup |
CN1747433A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | Method and system for realizing remote disaster recovery, AAA agent module and server |
-
2006
- 2006-03-20 CN CNB2006100248661A patent/CN100391167C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5754848A (en) * | 1996-09-11 | 1998-05-19 | Hewlett-Packard Co. | Apparatus and method for disaster recovery of an operating system utilizing long file and directory names |
US6701450B1 (en) * | 1998-08-07 | 2004-03-02 | Stephen Gold | System backup and recovery |
US6266784B1 (en) * | 1998-09-15 | 2001-07-24 | International Business Machines Corporation | Direct storage of recovery plan file on remote server for disaster recovery and storage management thereof |
CN1545338A (en) * | 2003-11-27 | 2004-11-10 | 中兴通讯股份有限公司 | Method and system for improving reliability of soft switch using off-site backup |
CN1747433A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | Method and system for realizing remote disaster recovery, AAA agent module and server |
Also Published As
Publication number | Publication date |
---|---|
CN1878087A (en) | 2006-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100391167C (en) | Service call session control function entity backup method and system | |
KR101503569B1 (en) | Creating a globally unique identifier of a subscriber device | |
CA2552531C (en) | A method for reducing interface load of home subscriber server | |
CN101170553B (en) | Method and device for realizing Internet protocol multi-media sub-system disaster tolerance | |
JP4700105B2 (en) | Call forwarding in IP Multimedia Subsystem (IMS) | |
EP2192742B1 (en) | Local session controller, ip multimedia subsystem and session registration method | |
US20100217875A1 (en) | Method and apparatus for use in a communications network | |
CN101106795B (en) | A Method for IMS Domain Implicit Registration | |
WO2006099815A1 (en) | A method for implementing the user registering in the ip multimedia subsystem and the system thereof | |
JP2011508490A (en) | Method and apparatus for use in a communication network | |
CN1299533C (en) | Method for user to register on belonging signatory user's service device | |
EP1914973B1 (en) | System and method to provide combinational services to anonymous callers | |
CN100388864C (en) | A method for ensuring consistent information after a call session control function module is restarted | |
CN100544371C (en) | The Method of Realizing Capability Negotiation in Integrated Services | |
JP2010525623A (en) | Method and apparatus for use in a communication network | |
CN100452738C (en) | Method for processing IMS session and module with query calling session controlling function | |
CN1997024A (en) | A method for load alleviation of the server interface of the homing subscribed user | |
CN100370870C (en) | A method and system for obtaining information in different public land mobile networks | |
CN101009664B (en) | A method for processing the content in the initial session protocol message and network entity | |
CN118802863A (en) | Information transmission method, device and equipment | |
CN101179388A (en) | A method and system for actively sending application configuration data | |
CN105049230A (en) | Vehicle disaster recovery method for distributed multimedia sub-system based on domain name system and vehicle disaster recovery system thereof | |
CN101291448A (en) | Method, system and device for called routing | |
WO2008083060A2 (en) | System and method to provide combinational services to anonymous callers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080528 |