CN1852143A - Method for processing user's registering/log-out request message - Google Patents

Method for processing user's registering/log-out request message Download PDF

Info

Publication number
CN1852143A
CN1852143A CN 200510098210 CN200510098210A CN1852143A CN 1852143 A CN1852143 A CN 1852143A CN 200510098210 CN200510098210 CN 200510098210 CN 200510098210 A CN200510098210 A CN 200510098210A CN 1852143 A CN1852143 A CN 1852143A
Authority
CN
China
Prior art keywords
user
type
action type
hss
login state
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
Application number
CN 200510098210
Other languages
Chinese (zh)
Other versions
CN100499493C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200510098210XA priority Critical patent/CN100499493C/en
Publication of CN1852143A publication Critical patent/CN1852143A/en
Application granted granted Critical
Publication of CN100499493C publication Critical patent/CN100499493C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

In IMS network, after receiving SAR message sent from S-CSCF, HSS obtains type of operation from parameter of Server-Assignment-Type carried by SAR message. Base on own stored current registration state of the user, HSS determines whether the type of operation is legal; if yes, carrying out service treatment based on type of operation; otherwise, refusing the requested operation. That is to say it is needed for HSS to check up whether there is conflict between the stored current registration state of the user and type of operation requested before carrying out service treatment. The invention discloses treatment mechanism of checking conflict in order to guarantee consistency and categoricalness for treating log in/log out user among entities of IMS network. The invention improves flow of user's logging in/logging out in IMS network.

Description

A kind of method that the user registration/cancel request message is handled
Technical field
The present invention relates to IP multimedia subsystem, IMS (IMS) field, be meant a kind of especially user registration/cancel request (SAR, Server-Assignment-Request) method handled of message based on Internet protocol (IP).
Background technology
When the user registers in the IMS network, service call session control function entity (S-CSCF) can send SAR message to HSS by the interface (Cx interface) between call conversation control function entity (CSCF) and the home signature user server (HSS), carry server assignment type (Server-Assignment-Type) parameter in this SAR message, the Server-Assignment-Type parameter has 12 kinds of values, every kind of action type that value is corresponding different, each action type has corresponding implication, and particular content is referring to table one; After HSS receives SAR message, at first obtain action type, carry out corresponding operating then according to the value of the Server-Assignment-Type parameter of carrying in the SAR message.
Action type Implication
NO_ASSIGNMENT Fetch data
REGISTRATION Registration
RE_REGISTRATION Heavily registration
UNREGISTERED_USER Take family unregistered state business
TIMEOUT_DEREGISTRATION Overtime cancellation
USER_DEREGISTRATION User log off
TIMEOUT_DEREGISTRATION_STORE_SER VER_NAME Nullify overtime and the preservation server address
USER_DEREGISTRATION_STORE_SERVER NAME User log off is also preserved server address
ADMINISTRATIVE_DEREGISTRATION The operator nullifies
AUTHENTICATION_FAILURE Failed authentication
AUTHENTICATION_TIMEOUT Authentication is overtime
DEREGISTRATION_TOO_MUCH DATA Overabundance of data is nullified
The value of table one Server-Assignment-Type parameter and implication corresponding relation
Store user's current login state among the HSS.User's login state comprises three kinds: unregistered (Not Registered), registration (Registered) and called unregistered (Unregistered), and wherein, Not Registered is meant that the user is unregistered and is not assigned with service S-CSCF; Registered is meant that the user has registered and be assigned with service S-CSCF; The unregistered service S-CSCF that has been assigned with provides the unregistered state business for it but Unregistered is meant the user.According to the regulation of agreement 3GPPTS29.228 and 3GPP TS29.229, when S-CSCF changes in User Status, can be by SAR message request notice HSS, correspondingly, HSS need preserve its current login state in the IMS network for the user.
By table one as seen, HSS receives SAR message, obtain action type according to the value of Server-Assignment-Type parameter after, as follows according to the corresponding operating that action type is carried out:
When action type is NO_ASSIGNMENT, HSS by user registration/cancel response (SAA, Server-Assignment-Answer) message is returned the data that read to S-CSCF, does not change this user's current login state;
When action type was REGISTRATION, HSS changed to Registered with user's current login state, and returns SAA message to S-CSCF;
When action type was RE_REGISTRATION, HSS heavily registered the user, and the current login state of recording user is Registered, and returned SAA message to S-CSCF;
When action type was UNREGISTERED_USER, HSS changed user's current login state into Unregistered, by SAA message to S-CSCF return ask the business datum that reads;
When action type was TIMEOUT_DEREGISTRATION, USER_DEREGISTRATION or ADMINISTRATIVE_DEREGISTRATION, HSS changed to Not Registered with user's current login state, and returns SAA message to S-CSCF;
When action type is TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME or USER_DEREGISTRATION_STORE_SERVER_NAME, HSS changes to Unregistered with user's current login state, and in HSS, store S-CSCF name (ServerName), and return SAA message to S-CSCF;
When action type is AUTHENTICATION_FAILURE or AUTHENTICATION_TIMEOUT, HSS will remove user's the unsettled sign of authentication (Pending Flag), user's current login state is changed to Not Registered, and return SAA message to S-CSCF;
When action type was DEREGISTRATION_TOO_MUCH_DATA, HSS changed to Not Registered with user's current login state, and returns SAA message to S-CSCF.
According to above description as seen, in the value of Server-Assignment-Type parameter not simultaneously, the action type difference that it is corresponding, the implication that each action type is represented is also inequality, be that SAR message institute requested operation type is also inequality, but, there is incorrect situation in the action type of obtaining according to the value of the Server-Assignment-Type parameter of carrying in the SAR message, for example, the Server-Assignment-Type parameter value that carries in the SAR message of HSS according to the S-CSCF transmission, the action type that gets access to is UNREGISTERED_USER, if the current login state of the user who stores among the HSS is Registered, for the user who has registered, unregistered state business to HSS request user obviously is inappropriate again, like this, the incorrect HSS that will cause of Server-Assignment-Type parameter value carries out wrong operation, make HSS correctly to handle, can't guarantee between the IMS network entity user registration/cancel uniformity of treatment and completeness to SAR message.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method that the user registration/cancel request message is handled, make HSS correctly to handle, thereby guarantee between the IMS network entity user registration/cancel uniformity of treatment and completeness to SAR message.
In order to achieve the above object, the invention provides a kind of method that the user registration/cancel request message is handled, store user's current login state in home signature user server HSS, the method includes the steps of:
After A, HSS receive the user registration/cancel request SAR message of service call session control function entity S-CSCF transmission, the server assignment type Server-Assignment-Type parameter acquiring action type of from SAR message, carrying;
B, HSS judge according to the current login state of self storing of user whether described action type is legal, if, then carry out Business Processing according to the requested operation type, otherwise, the refusal requested operation.
Whether described decision operation type is legal, for: if action type is NO_ASSIGNMENT or TIMEOUT_DEREGISTRATION or USER_DEREGISTRATION or TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME or USER_DEREGISTRATION_STORE_SERVER_NAME or ADMINISTRATIVE_DEREGISTRATION or DEREGISTRATION_TOO_MUCH_DATA, when then user's current login state was for registration Registered or called unregistered Unregistered, this action type was legal; When user's current login state was unregistered Not Registered, this action type was illegal.
Whether described decision operation type is legal, for: if action type is REGISTRATION or AUTHENTICATION_FAILURE or AUTHENTICATION_TIMEOUT, when then user's current login state was Registered or Unregistered or Not Registered, this action type was all legal.
Whether described decision operation type is legal, for: if action type is RE_REGISTRATION, when then user's current login state was Registered, this action type was legal; When user's current login state was Unregistered or Not Registered, this action type was illegal.
Whether described decision operation type is legal, for: if action type is UNREGISTERED_USER, when user's current login state was Unregistered or NotRegistered, this action type was legal; When user's current login state was Registered, this action type was illegal.
Carry out further comprising after the Business Processing according to the requested operation type described in the step B: the user registration/cancel response SAA message that HSS returns success to S-CSCF.
Carry operating result in the described SAA message.
After the requested operation of refusal described in the step B, further comprise: HSS returns the SAA message of failure to S-CSCF.
Carry error code in the described SAA message.
The value of described error code is: parameter action type value mistake DIAMETER_ERROR_IN_ASSIGNMENT_TYPE.
According to the proposed method, after HSS receives the SAR message of S-CSCF transmission, according to the Server-Assignment-Type parameter acquiring action type of carrying in the SAR message, then according to the current login state of self storing of user, whether the decision operation type is legal, if, then carry out the corresponding service logical process according to the requested operation type, otherwise, refusal requested operation type makes HSS can determine the legitimacy of the value of parameter action type, avoids the generation of faulty operation, thereby to user registration/cancel uniformity of treatment and completeness, improve user registration/cancel flow process in the IMS network between assurance IMS network entity.
Description of drawings
Fig. 1 shows HSS treatment S AR message flow chart among the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Among the present invention, the user is in the IMS network during registration/cancellation, and action type that HSS need carry out the user the request expectation and IMS network are the current login state conflict property inspection of this user's preservation.In the IMS network, store among the HSS user in the IMS network current login state and currently provide the S-CSCF name of service for it.When the user registers, nullifies, gets operation such as unregistered state business datum in the IMS network, all can carry out interacting message between two network elements of S-CSCF and HSS by SAR/SAA message.S-CSCF mails in the message of HSS and carries mandatory parameter Server-Assignment-Type, the action type that S-CSCF is undertaken by this parameter indicating expectation, and HSS finishes corresponding service processing according to the requested operation type.Carry out in the corresponding processing procedure according to the action type of SAR message request at HSS, whether the current login state of user and the requested operation type that need to check storage conflict, if conflict is arranged, then refuse this business operation, otherwise, carry out respective handling.Purpose of the present invention is exactly to describe the conflict inspection treatment mechanism of user in the user registration/cancel process, guarantees between the IMS network entity user registration/cancel uniformity of treatment and completeness.
Fig. 1 shows HSS treatment S AR message flow chart among the present invention, and as shown in Figure 1, the process that HSS handles SAR message may further comprise the steps:
After step 101~step 102:HSS receives the SAR message of S-CSCF transmission, the Server-Assignment-Type parameter acquiring action type of from SAR message, carrying.
Step 103:HSS judges according to the current login state of user of storage whether the action type obtain is legal, if, execution in step 104~step 105 then; Otherwise, execution in step 106~step 107.
If action type is NO_ASSIGNMENT or TIMEOUT_DEREGISTRATION or USER_DEREGISTRATION or TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME or USER_DEREGISTRATION_STORE_SERVER_NAME or ADMINISTRATIVE_DEREGISTRATION or DEREGISTRATION_TOO_MUCH_DATA, when then user's current login state is Registered or Unregistered, action type is legal, when user's current login state was NotRegistered, action type was illegal;
If action type is REGISTRATION or AUTHENTICATION_FAILURE or AUTHENTICATION_TIMEOUT, then no matter user's current login state is Registered or Unregistered, still Not Registered, and action type is all legal;
If action type is RE_REGISTRATION, when then user's current login state was Registered, action type was legal, and when user's current login state was Unregistered or NotRegistered, action type was illegal;
If action type is UNREGISTERED_USER, when then user's current login state was Unregistered or Not Registered, action type was legal, and when user's current login state was Registered, action type was illegal.
Above said content can embody by table two, is about to above said content and is summarized as content shown in the table two kind.
The corresponding relation of table two action type and the current login state of user
Annotate: √ represents that a certain action type is legal under the relative users login state; The a certain action type of * expression is illegal under the relative users login state
Step 104~step 105:HSS carries out the corresponding service logical process according to the requested operation type, the SAA message that can further return success then to S-CSCF, and portability has the corresponding operating result in this SAA message, finishes current flow process.
Step 106~step 107:HSS refuses requested operation, can further return the SAA message of failure then to S-CSCF, for example, carry the SAA message of error code (Experimental-Result-Code), the value of error code can be parameter action type value mistake (DIAMETER_ERROR_IN_ASSIGNMENT_TYPE).
According to above description as seen, carry out in the corresponding processing procedure according to the action type of SAR message request at HSS, whether the current login state of user and the requested operation type that need to check storage conflict, if conflict is arranged, then refuse this business operation; Otherwise, carry out respective handling.
For example, it is RE_REGISTRATION that the value of the Server-Assignment-Type parameter that HSS carries from SAR message is obtained action type, according to the current login state of self storing of user is Not Registered, determine that action type is illegal, then the current login state with the user of HSS refusal request changes to Registered, returns the SAA message of failure then to S-CSCF.And for example, it is USER_DEREGISTRATION that the value of the Server-Assignment-Type parameter that HSS carries from SAR message is obtained action type, according to the current login state of self storing of user is Registered, determine that action type is legal, then HSS changes to NotRegistered with user's current login state, and the SAA message that returns success to S-CSCF.
HSS described in the present invention can compatible attaching position register (HLR), and promptly HSS can realize the function that all HLR can realize.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1, a kind of method that the user registration/cancel request message is handled stores user's current login state in home signature user server HSS, it is characterized in that the method includes the steps of:
After A, HSS receive the user registration/cancel request SAR message of service call session control function entity S-CSCF transmission, the server assignment type Server-Assignment-Type parameter acquiring action type of from SAR message, carrying;
B, HSS judge according to the current login state of self storing of user whether described action type is legal, if, then carry out Business Processing according to the requested operation type, otherwise, the refusal requested operation.
2, method according to claim 1, it is characterized in that, whether described decision operation type is legal, for: if action type is NO_ASSIGNMENT, or TIMEOUT_DEREGISTRATION, or USER_DEREGISTRATION, or TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME, or USER_DEREGISTRATION_STORE_SERVER_NAME, or ADMINISTRATIVE_DEREGISTRATION, or DEREGISTRATION_TOO_MUCH_DATA, when then user's current login state was for registration Registered or called unregistered Unregistered, this action type was legal; When user's current login state was unregistered Not Registered, this action type was illegal.
3, method according to claim 1, it is characterized in that, whether described decision operation type is legal, for: if action type is REGISTRATION or AUTHENTICATION_FAILURE or AUTHENTICATION_TIMEOUT, when then user's current login state was Registered or Unregistered or Not Registered, this action type was all legal.
4, method according to claim 1 is characterized in that, whether described decision operation type is legal, for: if action type is RE_REGISTRATION, when then user's current login state was Registered, this action type was legal; When user's current login state was Unregistered or Not Registered, this action type was illegal.
5, method according to claim 1, it is characterized in that whether described decision operation type is legal, for: if action type is UNREGISTERED_USER, when user's current login state was Unregistered or Not Registered, this action type was legal; When user's current login state was Registered, this action type was illegal.
6, method according to claim 1 is characterized in that, carries out further comprising after the Business Processing according to the requested operation type described in the step B: the user registration/cancel response SAA message that HSS returns success to S-CSCF.
7, method according to claim 6 is characterized in that, carries operating result in the described SAA message.
8, method according to claim 1 is characterized in that, after the requested operation of refusal described in the step B, further comprise: HSS returns the SAA message of failure to S-CSCF.
9, method according to claim 8 is characterized in that, carries error code in the described SAA message.
10, method according to claim 9 is characterized in that, the value of described error code is: parameter action type value mistake DIAMETER_ERROR_IN_ASSIGNMENT_TYPE.
CNB200510098210XA 2005-09-01 2005-09-01 Method for processing user's registering/log-out request message Expired - Fee Related CN100499493C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510098210XA CN100499493C (en) 2005-09-01 2005-09-01 Method for processing user's registering/log-out request message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510098210XA CN100499493C (en) 2005-09-01 2005-09-01 Method for processing user's registering/log-out request message

Publications (2)

Publication Number Publication Date
CN1852143A true CN1852143A (en) 2006-10-25
CN100499493C CN100499493C (en) 2009-06-10

Family

ID=37133613

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510098210XA Expired - Fee Related CN100499493C (en) 2005-09-01 2005-09-01 Method for processing user's registering/log-out request message

Country Status (1)

Country Link
CN (1) CN100499493C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026648B (en) * 2007-04-05 2010-07-21 华为技术有限公司 Communication business management method, tool and device
CN101548522B (en) * 2006-12-08 2012-11-28 Lm爱立信电话有限公司 Methods and apparatuses for terminating an ip multimedia subsystem service when ip address is no longer allocated to the user
US8359027B2 (en) 2008-02-04 2013-01-22 Huawei Technologies Co., Ltd. Mobility management entity information deleting method and device
CN107230064A (en) * 2017-05-16 2017-10-03 北京小米移动软件有限公司 The multiplexing method and device of virtual card
CN110351110A (en) * 2018-04-04 2019-10-18 华为技术有限公司 A kind of method, equipment and the system of configurating terminal parameter

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101548522B (en) * 2006-12-08 2012-11-28 Lm爱立信电话有限公司 Methods and apparatuses for terminating an ip multimedia subsystem service when ip address is no longer allocated to the user
CN101026648B (en) * 2007-04-05 2010-07-21 华为技术有限公司 Communication business management method, tool and device
US8359027B2 (en) 2008-02-04 2013-01-22 Huawei Technologies Co., Ltd. Mobility management entity information deleting method and device
US8369851B2 (en) 2008-02-04 2013-02-05 Huawei Technologies Co., Ltd. Mobility management entity information deleting method and device
CN107230064A (en) * 2017-05-16 2017-10-03 北京小米移动软件有限公司 The multiplexing method and device of virtual card
CN107230064B (en) * 2017-05-16 2020-11-13 北京小米移动软件有限公司 Virtual card multiplexing method and device
CN110351110A (en) * 2018-04-04 2019-10-18 华为技术有限公司 A kind of method, equipment and the system of configurating terminal parameter

Also Published As

Publication number Publication date
CN100499493C (en) 2009-06-10

Similar Documents

Publication Publication Date Title
EP1905209B1 (en) Method and apparatus for allocating a server in an ims network
US8059633B2 (en) Call forwarding in an IP multimedia subsystem (IMS)
DK2461617T3 (en) Method, system and apparatus for communication
DK2205020T3 (en) Capacity service in a communication system
US10313873B2 (en) Method and network entity for S-CSCF server allocation in an IMS based multimedia over IP network
CN1852143A (en) Method for processing user's registering/log-out request message
US20070115934A1 (en) Method and system for locating subscriber data in an IP multimedia subsystem
US20100246444A1 (en) Method for registering in an ims domain a non-ims user device
US20080232352A1 (en) Method and Apparatus for Distributing Application Server Addresses in an Ims
CN1615630A (en) Method and system for changing subscription
EP1879337A1 (en) A method for processing the register message in the ims network according to the initial filtering rules
CN1885787A (en) Registration abnormity handling method in user registration course
US7899036B2 (en) Assignment of a serving entity in a communication system
US8559419B2 (en) Handling of terminating calls for a shared public user identity in an IP multimedia subsystem
CN1870522A (en) Processing method for exception in course of P-CSCF and UE log-on
CN1929457A (en) Method for message intercommunication of IMS domain and CS domain
CN1507762A (en) Method for indicating a user that it must register
US8600031B2 (en) Method for connecting calls between an IP multimedia subsystem (IMS) domain and a circuit switched (CS) domain
CN1762139A (en) Request redirection handling in IMC
CN101079818A (en) Message forwarding method and network device
US8345541B2 (en) Providing services in case of call diversion in a communication system
EP1988662A1 (en) A method for realizing called service and a system thereof
CN101043396A (en) Method for establishing subscribe communication and method for subscribing user events
CN1852308A (en) User registration/cancel service CSCF name consistency checking method
US7949767B2 (en) System and method for multiple address of record registration using a single explicit SIP request

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