CN110719585A - User information synchronization method of application server of S-CSCF - Google Patents
User information synchronization method of application server of S-CSCF Download PDFInfo
- Publication number
- CN110719585A CN110719585A CN201910987875.8A CN201910987875A CN110719585A CN 110719585 A CN110719585 A CN 110719585A CN 201910987875 A CN201910987875 A CN 201910987875A CN 110719585 A CN110719585 A CN 110719585A
- Authority
- CN
- China
- Prior art keywords
- cscf
- application server
- registration
- user
- restart
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a user information synchronization method of an application server of an S-CSCF, wherein the S-CSCF periodically detects the restart state of an AS, receives the restart times returned by the AS, compares the restart times with the recorded AS restart times, and judges whether the AS is restarted. If the AS restarts, the S-CSCF synchronizes the user information previously registered in the AS to the AS for a full registration. The invention does not need the manual re-registration of the user, and simultaneously can continuously refresh the registration period of the user on the AS by refreshing the support of the registration triggering of the third party, thereby achieving the effect of lasting maintenance of the registration state of the user and ensuring the integrity of the user service.
Description
Technical Field
The invention relates to the field of communication, in particular to a user information synchronization method of an application server of an S-CSCF.
Background
Ims (IP Multimedia subsystem) is an IP Multimedia subsystem for short, and is formally proposed in the 3gpp (the 3rd generation Partnership Project) in the umts (universal Mobile telecommunications system) R5 standard edition, which aims to unify the core network to the network structure of the full IP and to realize the fusion of the fixed network and the Mobile communication network, and is the development direction of the next generation network.
The session control of the S-CSCF in the whole IMS core network is in the control position of the core, receives the registration request forwarded by the P-CSCF from the visit network IMS user, executes the basic session routing function aiming at the calling end and the called end IMS user, and forwards the value-added service routing to the SIP AS/IM-SSF/OSA SCS when the condition is met. The P-CSCF, the Proxy Call Session Control function (Proxy-Call Session Control function), is the first entity contacted by the user in the IMS system.
The AS (application Server) provides value-added services for IMS users, can provide services such AS online services, messages, conferences and the like, and comprises three types of SIP AS, OSA AS and IM-SSF. The ISC interface between S-CSCF and AS is used to control the service of AS.
The user UE performs identity authentication through an HSS (Home Subscriber Server, short for HSS Server) network element which is initialized and registered to access a Home core network, a service signed by the UE is recorded in the HSS, the S-CSCF network element downloads the service signed by the UE and recorded in the HSS, and the information of the UE is sent to an application Server AS to perform third-party service registration. After the registration is successful, the UE enjoys the third party service provided by the AS.
When the user UE is unregistered, a deregistration request is sent to the HSS, and the HSS receives the deregistration request and informs the S-CSCF to deregister the service registered on the AS by the user. And the S-CSCF forwards the de-registration request to the AS, and the AS logs off the third-party service of the user according to the sent de-registration request and the user information. At the same time, the HSS modifies the registration state of the user, and the S-CSCF also renews the user information from the HSS.
When user UE initializes register, S-CSCF network element transmits register request of user to AS through ISC interface, and tells AS the session controller of UE and register state of user. At present, the conditions for triggering the third party registration include initialization registration and de-registration, and the user information cannot be updated to the AS by refreshing the registration, which has a defect. In some cases, the AS may restart, the user information registered on the AS may be lost, and it is difficult for the user to find that the AS has restarted, and the AS may not normally provide service for the user. The AS which is particularly sensitive to the user state can be greatly influenced and cannot normally provide service, and the user needs to discover that the AS cannot provide service for the user himself, so that the registration request is initiated again to trigger the third party registration on the AS again, and the AS can provide service for the user again after the registration is successful.
Disclosure of Invention
In view of this, in order to solve the problems in the prior art, the present invention provides a method for synchronizing user information of an application server of an S-CSCF, which can ensure the integrity of user information without requiring manual re-registration of a user.
The technical scheme of the invention is as follows:
a user information synchronization method of an application server of an S-CSCF comprises the following steps:
step S101, the S-CSCF sends a detection request to an application server;
step S102, the application server returns the restart times to the S-CSCF;
s103, the S-CSCF acquires the restart times returned by the application server, compares the restart times with the restart times recorded by the S-CSCF and judges whether the application server is restarted again; if not, returning to the step S101, and if so, going to the step S104;
and step S104, the S-CSCF records the restart times returned by the application server, synchronizes all the user information stored in the application server and registered with the third-party service to the application server for re-registration, and returns to step S101 after the registration is finished, so that the restart state of the application server is periodically and repeatedly detected.
Preferably, the S-CSCF actively stores the user information when the user initiates registration and deregistration, without downloading from the HSS.
Preferably, the number of restarts recorded on the application server is increased by one every time the application server is restarted.
Preferably, the manner of determining whether the application server is restarted again is as follows: if the restart times recorded by the S-CSCF are the same as the restart times returned by the application server, judging that the application server is not restarted again; and if not, judging that the application server is restarted again.
Preferably, the restart times recorded by the application server are inserted into the header of the 200OK message and returned to the S-CSCF via the 200OK message.
Preferably, the S-CSCF and the application server record the number of restarts, stored in digital form.
The invention has the beneficial effects that:
the user does not need to manually re-register, and meanwhile, the registration period of the user on the AS can be continuously refreshed by refreshing the support of the registration of the third party triggered by the registration, so that the effect of permanently keeping the registration state of the user is achieved, and the integrity of user service is ensured.
Drawings
FIG. 1 is a schematic diagram illustrating a refresh registration process after initialization registration, refresh registration, AS restart, and restart in the prior art;
FIG. 2 is a schematic diagram of the user status information synchronization of the present invention;
FIG. 3 is a detection and synchronization flow diagram of the present invention;
FIG. 4 is a diagram of the cycle detection and synchronization state of the present invention.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Example one
In the method, the S-CSCF periodically detects the restart state of the AS, receives the restart times returned by the AS, compares the restart times with the recorded AS restart times, and judges whether the AS is restarted. If the AS is restarted, the S-CSCF synchronizes the user information which is registered in the AS before to the AS for one-time full registration, thereby ensuring the integrity of the user registration information on the AS and solving the problem that the user service can not be normally provided due to the AS restart. The method does not need manual re-registration of the user, and simultaneously can continuously refresh the registration period of the user on the AS by refreshing the support of the registration triggering third party registration, thereby achieving the effect of lasting maintenance of the registration state of the user and ensuring the integrity of the user service.
The method steps of the present invention are described in detail below with reference to fig. 2:
the invention discloses a user information synchronization method of an application server, which comprises the following steps:
step S101, the S-CSCF sends a detection request to the AS;
in the method of the invention, the synchronous user information on the S-CSCF is selected to be sent to the AS. The S-CSCF stores the user information when the user initializes registration, and does not need to download from the HSS. The ISC interface between the S-CSCF and the AS is very convenient for the S-CSCF to send user information and trigger third-party service registration on the AS. When initializing registration, the S-CSCF obtains user information (authentication data and signing data) from the HSS, and when the user registers, after the S-CSCF successfully authenticates, the S-CSCF decides to which AS (application server) to initiate a third party registration request according to the signing data of the user. And after the registration is successful, the AS stores the registration state of the user. And the S-CSCF periodically informs the AS to refresh and register, and the AS refreshes the registration state of the user in the AS according to the stored user information, thereby ensuring the persistence of the registration state of the user on the AS.
Similarly, after the user terminal initiates a request for deregistration, the request is forwarded to HSS through P-CSCF, I-CSCF and S-CSCF, and HSS processes the request for deregistration of the user and deregisters the user; the S-CSCF forwards the deregistration request of the user to the AS to deregister the third party service, and downloads the updated user information from the HSS.
And step S102, the AS returns the restart times to the S-CSCF.
And adding one to the restart times recorded on the AS every time the AS restarts. And returning the recorded restart times to the S-CSCF according to the detection request of the S-CSCF.
S103, the S-CSCF acquires the restart times returned by the AS, compares the restart times with the restart times recorded by the S-CSCF and judges whether the AS is restarted again; if not, returning to the step S101, and if so, going to the step S104;
the judgment method comprises the following steps: if the restart times recorded by the S-CSCF are the same AS the restart times returned by the AS, judging that the AS is not restarted again; if not, the AS is judged to restart again.
And step S104, the S-CSCF records the restart times returned by the application server, synchronizes all the user information stored in the application server and registered with the third-party service to the application server for re-registration, and returns to step S101 after the registration is finished, so that the restart state of the application server is periodically and repeatedly detected.
In the method of the invention, the restart times of the AS are respectively recorded in the S-CSCF and the AS, and the recorded times of the AS are increased by one every time the AS is restarted. After the AS returns the restart times to the S-CSCF, the judgment on whether the AS is restarted or not is facilitated at the S-CSCF.
In the method of the invention, the S-CSCF periodically sends the restart detection request to the AS, and the AS replies to the S-CSCF. And the detection request is sent periodically, the AS can be found to restart at the first time, the user data is synchronized to the AS for third-party service registration, the third-party service provided by the AS for the user is recovered in the shortest time, and the integrity of the user service is ensured.
In the method, the information of all the users who register the third-party service on the AS is synchronized to the AS by adopting a full data synchronization mode, so that the missing of the information of individual users is avoided, and all the users who register the third-party service can continue to enjoy the third-party service provided by the AS.
Example two
In the method of the invention, the restart times returned by the AS to the S-CSCF are returned to the S-CSCF through the 200OK message, and the restart times recorded by the AS are inserted into the message header. And the S-CSCF analyzes the received 200OK message, acquires the restart times returned by the AS and compares the restart times with the restart times recorded by the S-CSCF.
The 200OK message is response information of the Http protocol, and 2xx indicates a process success response class message indicating that the action was successfully received, understood, and accepted.
The restart times recorded by the AS are inserted into the message header of the 200OK message returned by the AS to facilitate the transfer of the restart times to the S-CSCF when the AS and the S-CSCF perform information interaction. And after receiving the message, the S-CSCF can obtain the restart times recorded by the AS only by analyzing the message header of the 200OK message, and then restart judgment is carried out. Compared with the data transmission, the method is faster and simpler and has small data volume.
The restart times recorded by the S-CSCF and the AS are stored by text type numbers, so that the occupied space is small, and the message header returned by the AS is conveniently inserted for information interaction and comparison of the restart times by the S-CSCF.
The above description is for the purpose of illustrating embodiments of the invention and is not intended to limit the invention, and it will be apparent to those skilled in the art that any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the invention shall fall within the protection scope of the invention.
Claims (6)
1. A user information synchronization method of an application server of an S-CSCF is characterized in that: the method comprises the following steps:
step S101, the S-CSCF sends a detection request to an application server;
step S102, the application server returns the restart times to the S-CSCF;
s103, the S-CSCF acquires the restart times returned by the application server, compares the restart times with the restart times recorded by the S-CSCF and judges whether the application server is restarted again; if not, returning to the step S101, and if so, going to the step S104;
and step S104, the S-CSCF records the restart times returned by the application server, synchronizes all the user information stored in the application server and registered with the third-party service to the application server for re-registration, and returns to step S101 after the registration is finished, so that the restart state of the application server is periodically and repeatedly detected.
2. The method of claim 1, wherein the method comprises the steps of: the S-CSCF actively stores the user information when the user initializes registration and de-registration, and does not need to download from the HSS.
3. The method of claim 1, wherein the method comprises the steps of: and adding one to the restart times recorded on the application server every time the application server is restarted.
4. The method of claim 1, wherein the method comprises the steps of: the method for judging whether the application server is restarted again comprises the following steps: if the restart times recorded by the S-CSCF are the same as the restart times returned by the application server, judging that the application server is not restarted again; and if not, judging that the application server is restarted again.
5. The method of claim 4, wherein the method for synchronizing the user information of the application server of the S-CSCF comprises: and inserting the restart times recorded by the application server into a message header of the 200OK, and returning the restart times to the S-CSCF through a 200OK message.
6. The method of claim 5, wherein the method comprises the steps of: the S-CSCF and the application server record the number of restarts and are stored in digital form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910987875.8A CN110719585B (en) | 2019-10-17 | 2019-10-17 | User information synchronization method of application server of S-CSCF |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910987875.8A CN110719585B (en) | 2019-10-17 | 2019-10-17 | User information synchronization method of application server of S-CSCF |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110719585A true CN110719585A (en) | 2020-01-21 |
CN110719585B CN110719585B (en) | 2021-06-22 |
Family
ID=69212797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910987875.8A Active CN110719585B (en) | 2019-10-17 | 2019-10-17 | User information synchronization method of application server of S-CSCF |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110719585B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008119378A1 (en) * | 2007-03-29 | 2008-10-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for use in a communications network |
WO2008154955A1 (en) * | 2007-06-19 | 2008-12-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Ims recovery after hss failure |
WO2009006942A1 (en) * | 2007-07-10 | 2009-01-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, apparatuses and computer program for ims recovery upon restart of a s-cscf |
CN101577896A (en) * | 2008-10-08 | 2009-11-11 | 中兴通讯股份有限公司 | User registration method for IP multimedia subsystem network |
CN101577895A (en) * | 2008-08-06 | 2009-11-11 | 中兴通讯股份有限公司 | User registration method for IP multimedia subsystem network |
CN105429812A (en) * | 2014-09-12 | 2016-03-23 | 中兴通讯股份有限公司 | Node state detection method and device |
CN106714136A (en) * | 2015-08-12 | 2017-05-24 | 中国电信股份有限公司 | Data synchronization method, HLR, MMTEL AS and system thereof |
CN109951862A (en) * | 2019-03-18 | 2019-06-28 | 河北远东通信系统工程有限公司 | A kind of method of IMS network AS self- recoverage registration information |
-
2019
- 2019-10-17 CN CN201910987875.8A patent/CN110719585B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008119378A1 (en) * | 2007-03-29 | 2008-10-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for use in a communications network |
WO2008154955A1 (en) * | 2007-06-19 | 2008-12-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Ims recovery after hss failure |
WO2009006942A1 (en) * | 2007-07-10 | 2009-01-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, apparatuses and computer program for ims recovery upon restart of a s-cscf |
CN101577895A (en) * | 2008-08-06 | 2009-11-11 | 中兴通讯股份有限公司 | User registration method for IP multimedia subsystem network |
CN101577896A (en) * | 2008-10-08 | 2009-11-11 | 中兴通讯股份有限公司 | User registration method for IP multimedia subsystem network |
CN105429812A (en) * | 2014-09-12 | 2016-03-23 | 中兴通讯股份有限公司 | Node state detection method and device |
CN106714136A (en) * | 2015-08-12 | 2017-05-24 | 中国电信股份有限公司 | Data synchronization method, HLR, MMTEL AS and system thereof |
CN109951862A (en) * | 2019-03-18 | 2019-06-28 | 河北远东通信系统工程有限公司 | A kind of method of IMS network AS self- recoverage registration information |
Also Published As
Publication number | Publication date |
---|---|
CN110719585B (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8719617B2 (en) | Method and device for realizing IP multimedia subsystem disaster tolerance | |
JP5148757B2 (en) | IMS restore procedure for multiple contacts | |
US8311037B2 (en) | Method, apparatus and system for transmitting user equipment information in a multimedia subsystem | |
EP2277352B1 (en) | A mobile switching center platform having interfaces with functionalities defined by an architecture that provides packet-switched multimedia subscriber services | |
CA2605475C (en) | Session initiation from application servers in an ip multimedia subsystem | |
EP2096792B1 (en) | Method for configuring service and entity for storing service configuration | |
US20080004006A1 (en) | Method for notifying network application of client registration in a roaming network | |
US9578068B2 (en) | Methods and apparatus for processing an IMS session | |
CN103037501A (en) | Registration method, device and system of internet protocol multimedia subsystem terminal | |
CN110719585B (en) | User information synchronization method of application server of S-CSCF | |
CN104113557B (en) | User on-position management method and device based on IMS voice and video business | |
CN101635963A (en) | Multi-registration method, method for registering under condition of multi-registration and corresponding device | |
EP2135423B1 (en) | Method and apparatus for use in a communications network | |
CN101132407B (en) | Method for processing exception caused by re-selection service call conversation control function | |
KR102065019B1 (en) | Home subscriber server and method for managing subscriber in internet protocol multimedia subsystem network | |
CN113038456A (en) | User registration method, device, equipment and storage medium | |
EP1924054A1 (en) | Telecommunication system and method | |
US11115878B2 (en) | Method for changing mobile network | |
CN102420803A (en) | Method and system for accessing termination call through visited IMS (IP Multimedia System) access point | |
WO2021003737A1 (en) | Terminating a service to a client | |
CN102076080B (en) | User registering method in access gateway control function system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |