CN101198166B - Processing method when P-CSCF actively deletes user data - Google Patents

Processing method when P-CSCF actively deletes user data Download PDF

Info

Publication number
CN101198166B
CN101198166B CN2007101633463A CN200710163346A CN101198166B CN 101198166 B CN101198166 B CN 101198166B CN 2007101633463 A CN2007101633463 A CN 2007101633463A CN 200710163346 A CN200710163346 A CN 200710163346A CN 101198166 B CN101198166 B CN 101198166B
Authority
CN
China
Prior art keywords
cscf
user data
subscription request
user
request message
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
Application number
CN2007101633463A
Other languages
Chinese (zh)
Other versions
CN101198166A (en
Inventor
黄晓晴
缪永生
郝振武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101633463A priority Critical patent/CN101198166B/en
Publication of CN101198166A publication Critical patent/CN101198166A/en
Application granted granted Critical
Publication of CN101198166B publication Critical patent/CN101198166B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a processing method when P-CSCF deletes user data actively, which includes the following processing: P-CSCF deletes the local user data actively; P-CSCF creates and sends a subscription request to S-CSCF via I-CSCF, wherein an identification with P-CSCF actively deleting user data is carried in the subscription request, which is used to indicate that the subscription request is produced because P-CSCF deletes the user data actively, and indicate S-CSCF to execute user logoff operation; S-CSCF detects the identification that P-CSCF actively deletes user data after receiving the subscription request and executes logoff operation; S-CSCF construction subscription is responded successfully and the successful respond is sent to P-CSCF via I-CSCF.

Description

Processing method when P-CSCF initiatively deletes user data
Technical field
The present invention relates to the communications field, particularly, relate to a kind of P-CSCF (Proxy CallSession Control Function, processing method when Proxy Call Session Control Function) initiatively deleting user data, this method is particularly useful for IP Multimedia System, is used to secure whole network data consistency.
Background technology
IP (Internet Protocol, network interconnection agreement) IP multimedia subsystem, IMS (IPMultimedia Core Network Subsystem is called for short IMS) is based on Session Initiation Protocol (a kind of application layer protocol of the session of creating two sides or in many ways, revise, terminate).(Call Session Control Function CSCF) finishes the irrelevant function of registration, session and session to conversation control function entity.
Fig. 1 is existing IMS network architecture schematic diagram, and relating generally to following network element and equipment: UE (User Equipment) is subscriber equipment; P-CSCF (Proxy Call SessionControl Function, Proxy Call Session Control Function) is used to carry out Proxy Call Session Control Function; I-CSCF (Interrogating Call Session Control Function, query call conversation control function) carries out the query call conversation control function; S-CSCF (ServingCall Session Control Function, service call conversation control function) carries out service call conversation control function; HSS (Home Subscriber Server) is a home subscriber server; AS (Application Server) is an application server.
P-CSCF is the access point of terminal user access to IMS, is used to finish user's registration, service quality control and safety management, preserves user profile.I-CSCF is responsible for the intercommunication between the IMS territory, the distribution of management S-CSCF etc.S-CSCF is the service switching center of IMS, and user contracting data when being used for preserving registration is carried out session control, peace preservation association's speech phase, managing user information.HSS is a customer data base, supports the processing of each network entity to calling and session.AS can be the miscellaneous service server, as presence server etc.
IMS user need at first register if carry out session, and the process of registration is exactly that the position of oneself is registered on network, and successfully after the registration, P-CSCF goes up with S-CSCF can preserve relevant user data, so that the session use.
(Notify) mechanism of subscribing to (Subscribe)/notify makes network entity can subscribe to certain resource information, when resource information changes, is responsible for the network entity of resource and can notifies the subscriber.After succeeding in registration, P-CSCF can set up the subscription of user registration state to S-CSCF, and after user registration state changed like this, S-CSCF can guarantee the consistency of whole network data by the Notify message informing to P-CSCF.
Fig. 2 shows in the current techniques register flow path and P-CSCF to the subscription flow process of user registration state, as shown in Figure 2, may further comprise the steps:
201, UE sends register requirement to P-CSCF, has public subscriber identification in the request;
202, when P-CSCF receives register requirement, find I-CSCF by DNS (Domain NameSystem, domain name system) inquiry or other method, and register requirement is forwarded to I-CSCF;
203, I-CSCF sends the S-CSCF request for allocation to HSS, requires to distribute S-CSCF;
204, HSS returns the S-CSCF assignment response to I-CSCF, comprises S-CSCF address/name or capabilities list that promising this user distributes in this response message;
205, I-CSCF sends to selected S-CSCF with login request message;
206~216, if S-CSCF need carry out authentication to the user, need so to obtain the authentification of user vector to HSS, and according to the Ciphering Key that returns in 207 message, structure challenge request (401 Unauthorized message) is after this challenge request is forwarded to UE, UE constructs challenge responses, after S-CSCF receives 215 challenge responses message, judge user's legitimacy, finish authentication, authentication the user; If do not need authentication, can directly carry out 217;
217, S-CSCF sends user's configuring request to HSS;
218, HSS stores S-CSCF information, and user's subscription data, charging address information are returned S-CSCF;
219~221, S-CSCF constructs the response (200OK message) of succeeding in registration, and it is transmitted to UE by I-CSCF and P-CSCF;
222, if initial registration, P-CSCF constructs the initial subscribe request of login state to public subscriber identification, and initial subscription request message is sent on the I-CSCF;
223, I-CSCF obtains the S-CSCF address by inquiry HSS;
224, I-CSCF sends to initial subscribe request on the S-CSCF;
225-226, S-CSCF construct the success response of initial subscribe request, and response is transparent to P-CSCF;
227, when the public subscriber identification login state changes, S-CSCF can send the Notify notification message to P-CSCF;
228, the notified message of P-CSCF after correct the processing, sends the success response of notice.
More than finished user's initial registration and P-CSCF initial subscription to user registration state.After process P-CSCF, I-CSCF, S-CSCF succeed in registration, user data can be preserved on P-CSCF and the S-CSCF, also login state can be noted down on the HSS.If the user initiates to nullify, logout flow path and register flow path are in full accord, nullify the user data of preserving when back P-CSCF and S-CSCF can delete registration, can notify HSS to nullify this user simultaneously.
The subscribing relation of setting up between P-CSCF and the S-CSCF, when user's login state changed, S-CSCF can initiatively send the Notify notification message, notice P-CSCF.Furtherly, when causing S-CSCF initiatively to delete user data owing to certain reason (initiatively deleting the user or operation maintenance needs etc.) occurring as HSS, S-CSCF can be based on subscribing mechanism, send the Notify notification message to P-CSCF, notice P-CSCF nullifies this user, thereby guarantees the unanimity of the whole network data of P-CSCF, I-CSCF, S-CSCF, HSS.
But ought be for some reason, whether detect UE as present P-CSCF by OPTIONS (detect-message) mechanism available, when detecting UE when unavailable, P-CSCF initiatively deletes local user data according to local policy configuration, or according to the operation maintenance needs, P-CSCF initiatively deletes local user data.The existing protocol standard not to the effective solution of this unusual proposition, does not have approaches and methods to make P-CSCF can notify S-CSCF deletion user data.Will certainly cause the last free of data of P-CSCF like this, and last this user of S-CSCF and HSS is a login state, and user data is arranged, thereby causes P-CSCF, S-CSCF and HSS to go up the inconsistent of data.
Summary of the invention
Consider the inconsistent problem of whole network data when P-CSCF initiatively deletes user data that exists in the correlation technique and propose the present invention.For this reason, the data processing method when the present invention aims to provide a kind of P-CSCF and initiatively deletes user data goes up the consistency of data to keep P-CSCF, S-CSCF and HSS.
Processing method when initiatively deleting user data according to P-CSCF of the present invention is used to comprise the IP Multimedia System of proxy call conversation control function entity (P-CSCF), service call session control function entity (S-CSCF), query call conversation control function entity (I-CSCF) and home subscriber server (HSS).
Particularly, this method comprises that following processing: P-CSCF initiatively deletes local user data; P-CSCF constructs subscription request message, and subscription request message is sent to S-CSCF via I-CSCF, wherein, in subscription request message, carry P-CSCF and initiatively delete the user data sign, P-CSCF initiatively deletes the user data sign and is used to indicate subscription request message to produce owing to P-CSCF initiatively deletes user data, and indication S-CSCF carries out the user log off operation; After S-CSCF receives subscription request message, detect P-CSCF and initiatively delete the user data sign, carry out and nullify operation; S-CSCF structure is subscribed to success response, and will subscribe to success response via I-CSCF and send to P-CSCF.
In above-mentioned processing, the situation that P-CSCF initiatively deletes user data comprises: P-CSCF detects the subscriber equipment machine of delaying, P-CSCF internal logic problem, the needs of management.
About subscription request message, P-CSCF can construct according to the user data that preserve this locality, and subscription request message is consistent with the login state subscription request message to the user that P-CSCF initiates, and the subscription duration is 0 in the subscription request message.
Wherein, by expansion sip message head field in subscription request message or in existing sip message head field spreading parameter carry P-CSCF and initiatively delete user data sign.In addition, during P-CSCF structure subscription request message, also by expansion sip message head field in subscription request message or in existing sip message head field spreading parameter carry IP multimedia private identity.
The cancellation operation that above-mentioned S-CSCF carries out comprises: S-CSCF notice HSS logging off users; S-CSCF deletes local user data.This cancellation operation may further include: the S-CSCF name that the HSS deletion is preserved changes user registration state, and sends response message to S-CSCF.
In addition, said method may further include: if the user is signatory third party, then S-CSCF carries out third party's cancellation.Particularly, S-CSCF judges whether signatory third party nullifies the user, if then trigger third party's cancellation according to the subscription data of this preservation.
By the present invention, by P-CSCF structure subscribe message, in this subscribe message, carry P-CSCF and initiatively delete the user data sign, and notice S-CSCF, make S-CSCF carry out respective handling, thereby solved P-CSCF and initiatively deleted the problem that user data brings, guaranteed the consistency of whole network data.
Other features and advantages of the present invention will be deleted in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the IMS network architecture schematic diagram according to correlation technique;
Fig. 2 is according to IMS user's initial registration of correlation technique and the P-CSCF subscription flow chart to user registration state;
Fig. 3 is the flow chart of the processing method of the P-CSCF according to the embodiment of the invention when initiatively deleting user data;
Fig. 4 is the detailed process flow chart of the processing method of the P-CSCF according to the embodiment of the invention when initiatively deleting user data.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
According to the embodiment of the invention, the data processing method when providing a kind of P-CSCF initiatively to delete user data, this method is particularly useful for IMS, for example, can implement the present invention under IMS environment shown in Figure 1.
As mentioned above, in correlation technique, whether (it is available to detect UE as present P-CSCF by OPTIONS mechanism when P-CSCF initiatively deletes local user data, when detecting UE when unavailable, P-CSCF initiatively deletes local user data according to local policy configuration, also or situation such as O﹠M needs), can't notify S-CSCF and HSS and AS, thereby cause user data and user registration state inconsistent.At this problem, according to the embodiment of the invention, when P-CSCF initiatively deletes user data, a kind of processing method is provided, make the P-CSCF can vaild notice S-CSCF, after S-CSCF receives this message, carry out corresponding operating, comprise deletion local user data and notice HSS logging off users etc., thereby guarantee the unanimity of whole network data.
Particularly, as shown in Figure 3, comprise following processing (step S302-step S308) according to the method for the embodiment of the invention:
Step S302:P-CSCF initiatively deletes local user data; For example, the situation of deletion includes but not limited to that P-CSCF detects subscriber equipment and delays needing etc. of machine, P-CSCF internal logic problem, management;
Step S304:P-CSCF constructs subscribe request, and subscribe request is sent to S-CSCF via I-CSCF, wherein, in subscribe request, carry P-CSCF and initiatively delete the user data sign, this P-CSCF initiatively deletes the user data sign and is used to indicate subscribe request to produce owing to P-CSCF initiatively deletes user data, and indication S-CSCF carries out user log off operation (that is, nullifying logic);
After step S306:S-CSCF receives subscribe request, detect P-CSCF and initiatively delete the user data sign, carry out and nullify operation;
Step S308:S-CSCF structure is subscribed to success response, and will subscribe to success response via I-CSCF and send to P-CSCF.
At first, about subscribe message, P-CSCF can construct (Subscribe method) according to the user data that preserve this locality, and subscription request message is consistent with the login state subscription message to the user that P-CSCF initiates, and the subscription duration is 0 (expires=0) in the subscription request message.
Wherein, can by expansion (increases) sip message head field in subscribe message or in existing sip message head field expansion (increase) parameter (comprising parameter value and parameter name) carry P-CSCF and initiatively delete user data and identify.In addition, during P-CSCF structure subscribe request, also by in subscribe message, expanding (increase) sip message head field or in existing sip message head field, expanding (increase) parameter (comprising parameter value and parameter name) and carry IP multimedia private identity (Private Identity abbreviates PVI as).
Secondly, the cancellation operation about above-mentioned S-CSCF carries out comprises:
(1) S-CSCF notice HSS logging off users;
(2) S-CSCF deletion local user data.
Preferably, above-mentioned cancellation operation may further include: the S-CSCF name that the HSS deletion is preserved changes user registration state, and sends response message to S-CSCF.
In addition, this method according to the embodiment of the invention may further include: if the user is signatory third party, then S-CSCF carries out third party's cancellation.Particularly, S-CSCF judges whether signatory third party nullifies the user, if then trigger third party's cancellation according to the subscription data of this preservation.
Below will be by further describing details of the present invention in conjunction with the detail flowchart shown in Fig. 4.Data processing method when as shown in Figure 4, initiatively deleting user data according to the P-CSCF of the embodiment of the invention can comprise:
(whether P-CSCF detects UE by OPTIONS mechanism available for a certain reason for 401:P-CSCF, when detecting UE when unavailable, P-CSCF initiatively deletes local user data according to local policy configuration, or operation maintenance needs etc.) initiatively delete local user data;
The user data structure subscribe message that 402:P-CSCF preserves according to this locality, adopt the Subscribe method, content in the message is consistent with the subscription request message of login state, wherein registration time length is 0 (expires=0), in addition, and by the spreading parameter of an existing field, perhaps expand a field, be with sign (that is, P-CSCF initiatively deletes user data sign), indicating this message is that P-CSCF initiatively deletes user data and the message of constructing; Simultaneously in subscribe message by IP multimedia private identity information (PVI) on the extended field band;
403-404:I-CSCF sends the S-CSCF request for allocation to HSS, and obtains the response message of S-CSCF;
405:I-CSCF sends subscribe request to S-CSCF;
406:S-CSCF receives subscribe request, and according to the sign in the message, judging is that P-CSCF initiatively deletes the subscribe request that user data is initiated, and needs to carry out the cancellation logic;
407:S-CSCF utilizes information in the subscription request message (comprising user's public identify, PVI etc.) to send configuring request (Server-Assignment-Request is called for short SAR) to HSS, and indication HSS nullifies this user under this situation;
The S-CSCF name that the 408:HSS deletion is preserved, and change user registration state, send configuration response message (Server-Assignment-Answer is called for short SAA) and give S-CSCF;
The 409:S-CSCF structure is subscribed to success response message (200 OK);
410:I-CSCF will subscribe to success response message and pass through P-CSCF, after P-CSCF receives message, and process ends;
The subscription data that 411:S-CSCF preserves according to this locality, whether decision triggers third party's cancellation, nullifies if desired, then sends third party's logout message to AS;
After 412:AS carries out and nullifies logic, reply and nullify success response.
As mentioned above, by means of the present invention,, construct subscribe request by P-CSCF for the situation that IP Multimedia System P-CSCF initiatively deletes the user, and with going up the sign that P-CSCF initiatively deletes user data, after subscribe message sent to S-CSCF, S-CSCF carried out and nullifies logic, and notice HSS nullifies, simultaneously according to signatory, decision triggers the third party and nullifies, and initiatively deletes the problem that user data brings thereby solved P-CSCF, has guaranteed the consistency of whole network data.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the processing method a when P-CSCF initiatively deletes user data, be used to comprise that proxy call conversation control function entity is that P-CSCF, service call session control function entity are that S-CSCF, query call conversation control function entity are the IP Multimedia System of I-CSCF and home subscriber server, it is characterized in that described method comprises:
P-CSCF initiatively deletes local user data;
Described P-CSCF structure subscription request message, and described subscription request message is sent to S-CSCF via I-CSCF, wherein, in described subscription request message, carry P-CSCF and initiatively delete the user data sign, described P-CSCF initiatively deletes the user data sign and is used to indicate described subscription request message to produce owing to described P-CSCF initiatively deletes user data, and indicates described S-CSCF to carry out the user log off operation;
After described S-CSCF receives subscription request message, detect described P-CSCF and initiatively delete the user data sign, carry out and nullify operation;
Described S-CSCF structure is subscribed to success response, and via described I-CSCF described subscription success response is sent to described P-CSCF.
2. method according to claim 1 is characterized in that, the situation that described P-CSCF initiatively deletes described user data comprises: described P-CSCF detects the subscriber equipment machine of delaying, described P-CSCF internal logic problem, the needs of management.
3. method according to claim 1 is characterized in that, described P-CSCF constructs described subscription request message according to the user data that preserve this locality.
4. method according to claim 3 is characterized in that, described subscription request message is consistent with the login state subscription request message to the user that described P-CSCF initiates, and the subscription duration is 0 in the described subscription request message.
5. method according to claim 1 is characterized in that, by expansion sip message head field in described subscription request message or in existing sip message head field spreading parameter carry described P-CSCF and initiatively delete user data sign.
6. method according to claim 1, it is characterized in that, when described P-CSCF constructs described subscription request message, also by expansion sip message head field in described subscription request message or in existing sip message head field spreading parameter carry IP multimedia private identity.
7. method according to claim 1 is characterized in that, the cancellation operation that described S-CSCF carries out comprises:
Described S-CSCF notifying home user server logging off users;
Described S-CSCF deletion local user data.
8. method according to claim 7 is characterized in that, further comprises:
The S-CSCF name that described home subscriber server deletion is preserved changes user registration state, and sends response message to described S-CSCF.
9. according to each described method in the claim 1 to 8, it is characterized in that, further comprise:
The third party if the user contracts, then described S-CSCF carries out the third party and nullifies.
10. method according to claim 9 is characterized in that, the operation that described third party nullifies is specially:
Described S-CSCF judges whether signatory third party nullifies the user, if then trigger third party's cancellation according to the subscription data of this preservation.
CN2007101633463A 2007-10-19 2007-10-19 Processing method when P-CSCF actively deletes user data Expired - Fee Related CN101198166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101633463A CN101198166B (en) 2007-10-19 2007-10-19 Processing method when P-CSCF actively deletes user data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101633463A CN101198166B (en) 2007-10-19 2007-10-19 Processing method when P-CSCF actively deletes user data

Publications (2)

Publication Number Publication Date
CN101198166A CN101198166A (en) 2008-06-11
CN101198166B true CN101198166B (en) 2011-06-22

Family

ID=39548247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101633463A Expired - Fee Related CN101198166B (en) 2007-10-19 2007-10-19 Processing method when P-CSCF actively deletes user data

Country Status (1)

Country Link
CN (1) CN101198166B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820674A (en) * 2010-05-10 2010-09-01 中兴通讯股份有限公司 Method and system for logging off users

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773934A (en) * 2004-11-12 2006-05-17 华为技术有限公司 Method for processing fault of multimedia sub-system equipment
CN1870522A (en) * 2005-12-08 2006-11-29 华为技术有限公司 Processing method for exception in course of P-CSCF and UE log-on

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773934A (en) * 2004-11-12 2006-05-17 华为技术有限公司 Method for processing fault of multimedia sub-system equipment
CN1870522A (en) * 2005-12-08 2006-11-29 华为技术有限公司 Processing method for exception in course of P-CSCF and UE log-on

Also Published As

Publication number Publication date
CN101198166A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
CA2552531C (en) A method for reducing interface load of home subscriber server
CN100379315C (en) Method for carrying out authentication on user terminal
CN101573934B (en) Discriminating in a communication network
CN100382503C (en) Registration abnormity handling method in user registration course
US8417240B2 (en) Method, system and apparatus for using IMS communication service identifier
CN104219705B (en) VoLTE terminal re-registration method and device
US8265622B2 (en) Method and saving entity for setting service
WO2017092229A1 (en) Multiservice-based ims registration method and ims registration system
CN100493227C (en) Method for treating user of updating IP address at network side
US9509730B2 (en) Method and apparatus for identifying a subscriber home domain in a communication network
EP2569998B1 (en) Enabling set up of a connection from a non-registered UE in IMS
CN101997828A (en) Method, device and network for network re-registration of Internet protocol multimedia subsystem (IMS)
CN106790055B (en) Registration method and device of IMS (IP multimedia subsystem)
CN101784032A (en) User registration method and system
CN101198166B (en) Processing method when P-CSCF actively deletes user data
CN101141691B (en) Method and system for P-CSCF to identify forbidden calling subscriber
CN100527876C (en) Method and device for updating user signing data
CN101106573B (en) Method for securing whole network data consistency
CN100499670C (en) Method of ascertaining service call control function in registration process
CN110324819A (en) The management method and management server of vice card terminal
CN113453174B (en) Roaming place service providing method, IP multimedia system and storage medium
CN101132645A (en) Method for changing control function of processing proxy call conversation by IP multimedia subsystem
CN100461953C (en) Method and system for confirming starting logout flow path occasion
CN100388662C (en) Method for preventing user with 3G ability from using transition right-identification mode
CN105635098B (en) The register method and system of IMS network

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

Termination date: 20191019