+

WO2006060965A1 - A method and system for determining the time when the cancellation flow is initiated - Google Patents

A method and system for determining the time when the cancellation flow is initiated Download PDF

Info

Publication number
WO2006060965A1
WO2006060965A1 PCT/CN2005/002142 CN2005002142W WO2006060965A1 WO 2006060965 A1 WO2006060965 A1 WO 2006060965A1 CN 2005002142 W CN2005002142 W CN 2005002142W WO 2006060965 A1 WO2006060965 A1 WO 2006060965A1
Authority
WO
WIPO (PCT)
Prior art keywords
cscf
user
hss
logout
name
Prior art date
Application number
PCT/CN2005/002142
Other languages
French (fr)
Chinese (zh)
Inventor
Yajuan Wu
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.
Publication of WO2006060965A1 publication Critical patent/WO2006060965A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular to a method and system for determining the timing of initiating a logout process. Background of the invention
  • mobile communications will not only be limited to traditional voice communications, but also through data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing.
  • data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing.
  • PUSH push service
  • file sharing The combination of mobile communication enables a variety of media types, such as audio, video, pictures and text, to meet the diverse needs of users.
  • IP-based Multimedia Subsystem IMS
  • 3GPP 3rd Generation Mobile Communications Standardization Partnership Project
  • 3GPP2 3rd Generation Mobile Communications Standardization Partnership Project 2
  • IMS IP-based Multimedia Subsystem
  • the IMS architecture is superimposed on the packet domain network and consists of functional entities such as a Call State Control Function (CSCF) entity, a Media Gateway Control Function (MGCF) entity, a Media Resource Function (MRF) entity, and a User Home Network Server (HSS).
  • CSCF Call State Control Function
  • MRF Media Resource Function
  • HSS User Home Network Server
  • the MGCF is used to implement interworking between the IMS network and other networks;
  • the MRP is used to provide media resources, such as audio and video, codec and multimedia conference bridges;
  • the HSS stores all information related to the subscription, and is used to support the call of each network entity.
  • a home network may have one or more HSSs,
  • the specific number depends on the number of mobile subscription users, the capacity of network devices, and the specific networking conditions.
  • the CSCF can be further divided into three logical entities: a service CSCF (S-CSCF), a proxy CSCF (P-CSCF), and a query CSCF (I-CSCF).
  • S-CSCF service CSCF
  • P-CSCF proxy CSCF
  • I-CSCF query CSCF
  • the three logical entities may be different physical devices or may be the same physical entity. Different functional modules in the device.
  • the S-CSCF is a service control center of the IMS, which is used to perform session control, maintain session state, manage user information, and generate charging information.
  • the P-CSCF is an access point for the terminal user to access the IMS, and is used to complete user registration. Quality of Service (QoS) control and security management;
  • QoS Quality of Service
  • the I-CSCF is responsible for interworking between IMS domains, managing the allocation of S-CSCFs, hiding network topology and configuration information, and generating billing data.
  • the 3GPP defined IMS network can also be applied to other packet networks other than the 3GPP defined packet domain network, so the IMS is not limited to the 3GPP related network and In application, other types of access networks and bearer network services and applications can also be implemented by using the IMS architecture.
  • Each user who has signed the IMS service is assigned one or more private user IDs by the home network operator for use in the registration, authorization, management, and accounting process, and the identifier uses the network access identifier (NAI). , Network Access Identifier ) format; each IMS user has one or more public user IDs that are used to identify themselves and find each other when communicating with other users.
  • NAI Network Access Identifier
  • Private user IDs are generally not publicly available, and public user IDs are publicly available and are used during conversations using various types of services.
  • the registration status of the user can be divided into a registration status, a logout status and an unregistered status.
  • the registration status refers to a public user identification completed registration (REGISTER) process, and the S-CSCF to which the service is assigned,
  • the logout status refers to a public user ID that has not initiated the REGISTER process at all.
  • the unregistered state refers to a public user ID that does not initiate the REGISTER process, but it is the S-CSCF to which the called service is assigned or has an S-CSCF.
  • the description information of the user corresponding to the public user identifier is saved.
  • the HSS After the HSS receives the query information from the I-CSCF, if the query information explicitly indicates that the S-CSCF needs to be reselected, the HSS considers that the I-CSCF needs to reselect the S-CSCF, and The S-CSCF capability information that satisfies the user's most stringent service subscription requirements is returned to the I-CSCF for the I-CSCF to reselect the S-CSCF.
  • the HSS determines whether the I-CSCF needs to reselect the S-CSCF according to the user subscription information saved by itself.
  • the HSS considers that the S-CSCF currently serving the user can meet the needs of the user, only the response information including the name of an S-CSCF is returned, and the I-CSCF continues to interact with the S-CSCF; If the S-CSCF has not been assigned to any of the users in the HSS, only the S-CSCF capability information that meets the most stringent service subscription requirements of the user is returned, and the I-CSCF selects an S-CSCF according to the capability information, and Interaction, there is no problem that the I-CSCF reselects a different S-CSCF; if the HSS believes that the S-CSCF currently serving the user may not be able to meet the needs of the user, it also returns the name of an S-CSCF.
  • the I-CSCF decides whether to re-select the S-CSCF, that is, there may be a problem that the I-CSCF reselects the S-CSCF at this time.
  • the I-CSCF reselects the S-CSCF, after the new S-CSCF receives the REGISTER or INVITE forwarded by the I-CSCF, it requests the user profile from the HSS according to the normal IMS session processing process, and according to the existing The process continues with subsequent processing.
  • a premise is also determined that only one S-CSCF can serve a user at a time. This means that after the S-CSCF reselection, all services of the user are processed by the new S-CSCF. To this end, the HSS is required to notify the old S-CSCF to initiate the logout process, which is performed by the old S-CSCF. Log out the operation of the business related to the user, update the local information, and decide whether to notify the user according to the reason for the cancellation, to avoid using The user continues to apply the original S-CSCF to ensure that only one S-CSCF currently provides services for the user.
  • the new S-CSCF After the I-CSCF reselects the S-CSCF, after receiving the REGISTER or INVITE forwarded by the I-CSCF, the new S-CSCF requests the user profile from the HSS according to the normal IMS session processing process, and the HSS will immediately Overwrite the locally saved name of the old S-CSCF that served the user with the name of the new S-CSCF and continue the subsequent operations in accordance with the normal flow.
  • the HSS since the HSS has no association information between the user and the old S-CSCF, the HSS cannot notify the old S-CSCF to initiate the logout at all, and the HSS and the old S-CSCF will continue to process a large amount of information. Redundant information. More seriously, users are likely to continue to use the old S-CSCF, resulting in business errors and reduced user satisfaction with the system. Summary of the invention
  • the object of the present invention is to provide two methods for determining the timing of initiating the logout process, which is used to prevent the HSS from notifying the old S-CSCF to initiate the logout process, overwriting the locally saved former with the name of the new S-CSCF.
  • the user provides the name of the service's old S-CSCF and resolves the resulting issue.
  • the present invention also provides two systems for determining the timing of initiating the logout process to implement the above method.
  • a method for determining an opportunity to initiate a logout process comprising the steps of: determining, at a user home network server, that a call state control function entity needs to be queried I-CSCF reselects the service call state control function entity that provides service to a user
  • an identifier indicating that the S-CSCF may be modified is set for the locally saved S-CSCF that has served the user;
  • the HSS checks whether the S-CSCF has been updated, and whether the locally saved S-CSCF serving the user has been identified as likely to be modified if the S-CSCF has been updated and the locally saved S-CSCF serving the user It has been identified that it may be modified, and the HSS clears the set identifier to notify the locally saved S-CSCF serving the user to initiate the logout process.
  • the HSS checks whether the S-CSCF has been updated by:
  • the HSS When the HSS receives a message requesting user description information from the S-CSCF, it is determined whether the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and if the names are different, then S -CSCF has been updated, if the same, the S-CSCF is not updated.
  • the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S- serving the user.
  • the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S- serving the user.
  • the CSCF has been identified as likely to be modified, then the set identifier is cleared and the subsequent processing continues in accordance with the existing normal flow.
  • the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is different from the locally saved name of the S-CSCF serving the user, and the locally saved S- serving the user If the CSCF is not identified as likely to be modified, the HSS reports an error and then continues the subsequent processing in accordance with the existing error procedure.
  • the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S- serving the user If the CSCF is not identified as likely to be modified, subsequent processing continues in accordance with the existing normal process.
  • the HSS first determines the name of the S-CSCF requesting the user description information. Whether the name of the locally saved S-CSCF serving the user is the same, and determining whether the locally saved S-CSCF serving the user has been identified as being likely to be modified, or
  • the HSS first determines whether the locally saved S-CSCF serving the user has been identified as being likely to be changed, and then determines the name of the S-CSCF requesting the user description information and the locally saved S-CSCF serving the user. Is the name the same?
  • the method for the HSS to check whether the S-CSCF has been updated is: the HSS checks whether a notification of the updated S-CSCF from the I-CSCF is received, and if the notification is received, the S-CSCF is updated, otherwise S- CSCF is not updated.
  • the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or the HSS determines the I according to the change of the user subscription information saved by the HSS. -CSCF needs to reselect S-CSCF.
  • the information indicating that the locally saved S-CSCF serving the user initiates the logout process includes a logout reason
  • the method further includes: locally storing the S-CSCF serving the user, performing the service control related to the logout according to the reason for the logout in the logout notification, updating the local information, and then returning the logout response to the HSS;
  • the HSS After receiving the logout response, the HSS overwrites the locally saved S-CSCF name for the user with the name of the S-CSCF requesting the user description information, and then continues the subsequent processing according to the existing normal procedure.
  • the reason for the cancellation is that a new server NEW_SERVER_ASSSIGNED is assigned, or the server is changed to SERVER_CHANGE.
  • the HSS After receiving the user registration status query message (Cx-Query or Cx-Select-Pull) from the I-CSCF, or the user location query message (Cx-Location-Quer), the HSS performs a judgment to determine whether an I is needed. -CSCF reselects the operation of the S-CSCF.
  • the method further comprises: after the HSS has set the identifier that may be modified for the S-CSCF, and clears the identifier that may be modified, if an I-CSCF receives the location
  • the HSS temporarily suspends the query request when an I-CSCF that processes the call request queries the HSS for the S-CSCF that is currently the user's monthly service. Until the S-CSCF currently serving the user is determined, the S-CSCF currently serving the user is directly returned.
  • the certain I-CSCF that processes the call request is the same I-CSCF or a different I-CSCF than the I-CSCF that needs to perform the reselection of the S-CSCF operation.
  • the HSS receives the CX-Put or CX-Pull message from the S-CSCF, it determines that the S-CSCF is the S-CSCF currently serving the user.
  • the method further includes: presetting a timer for the called to be suspended, starting the timer after the query request is suspended, and if the preset timing time is reached, the query request is still hanging From the state, the query request is forcibly broken.
  • the identifier indicating that the S-CSCF may be modified is a flag bit.
  • a method for determining an opportunity to initiate a logout process comprising the steps of: after the HSS determines that the I-CSCF needs to reselect the S-CSCF, notifying the locally saved S-CSCF serving the user to initiate a logout procedure.
  • the information indicating that the locally saved S-CSCF serving the user initiates the logout process includes a logout reason
  • the method further includes: locally storing the S-CSCF serving the user, performing the service control related to the logout according to the reason for the logout in the logout notification, updating the local information, and then returning the logout response to the HSS;
  • the HSS clears the locally saved S-CSCF name, and then returns the S-CSCF capability information that meets the strictest service subscription requirement of the user to the I-CSCF, and then processes the S-CSCF name locally.
  • the reason for the logout is that a new server is allocated.
  • the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or the HSS determines the I according to the change of the user subscription information saved by the HSS. -CSCF needs to reselect S-CSCF.
  • the HSS After receiving the user registration status query message (Cx-Query or Cx-Select-Pull) from the I-CSCF, or the user location query message (Cx-Location-Query), the HSS performs a judgment to determine whether an I is needed. -CSCF reselects the operation of the S-CSCF.
  • a system for determining an opportunity to initiate a logout process comprising at least a user home network server HSS, an inquiry call state control function entity I-CSCF and a service call state control function entity S-CSCF, and the HSS is included for execution
  • the logout module of the logout process characterized in that the system further comprises an identifier setting module for setting an identifier that may be modified for the S-CSCF,
  • the identifier setting module is triggered, and the identifier setting module is locally saved.
  • the S-CSCF setting of the user-provided service indicates an identifier that the S-CSCF may be modified;
  • the HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, and the HSS triggers the identifier setting module again, and the identifier setting module clears the set identifier.
  • the logout module in the HSS is notified, and the logout module initiates a logout process to the locally saved S-CSCF serving the user.
  • the HSS detects that the S-CSCF is not updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, the HSS triggers the identity setting module again, and the identity setting module is Clear the set ID.
  • the HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user is not identified as likely to be modified, the HSS triggers an existing error reporting module in the The error module performs the processing flow of the error.
  • a system for determining an opportunity to initiate a logout process including at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity S-CSCF, and the HSS includes The logout module that performs the logout process,
  • the HSS After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the logout module that the logout module initiates a logout process for the locally saved S-CSCF serving the user.
  • the HSS determines that the I-CSCF needs to reselect the S-CSCF, it sets an identifier indicating that the S-CSCF may be modified for the locally saved S-CSCF that has served the user; HSS checks S- Whether the CSCF has been updated, and whether the locally saved S-CSCF serving the user has been identified as likely to be modified, if the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as The HSS may be modified, and the HSS clears the set identifier, and notifies the locally saved S-CSCF that serves the user to initiate the logout process; or, after the HSS determines that the I-CSCF needs to reselect the S-CSCF, directly notify the local The saved S-CSCF for the user service initiates the logout process, and then completes the subsequent operations according to the process of not saving the S-CSCF name.
  • the present invention clearly shows that when the I-CSCF reselects the S-CSCF, the HSS notifies the old S-CSCF that has served the user to initiate the logout process, ensuring that the I-CSCF initiates the S-CSCF reselection.
  • the HSS can first notify the old S-CSCF to initiate the logout process, and then overwrite the locally saved name of the old S-CSCF that served the user with the name of the new S-CSCF, thereby ensuring the correct execution of the service.
  • the process improves user satisfaction, improves the efficiency and reliability of the carrier network, and is compatible with the existing technology.
  • FIG. 3 is a flow chart showing the application of the third embodiment of the present invention. Mode for carrying out the invention
  • FIG. 1 is a flow chart showing the application of the first embodiment of the present invention.
  • the user performs a registration operation, and records the old S-CSCF that originally provided the service for the user as S-CSCFo, and the new S-CSCF that is reselected by the I-CSCF as S-CSCFn.
  • Step 101 to step 102 the user initiates registration, and the registration request (REGISTER) is forwarded to the I-CSCF by the user agent device (UA, user agent) and the P-CSCF.
  • the registration request REGISTER
  • Step 103 The 1-CSCF sends a UAR (User-Authorization-Request) message to the HSS.
  • UAR User-Authorization-Request
  • the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or a Cx-Select-Pull message.
  • Step 104 The HSS returns a UAA (User-Authorization-Answer) message to the I-CSCF.
  • UAA User-Authorization-Answer
  • the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query Resp or a Cx-Select-Pull Resp message.
  • the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the change of the user subscription information saved by itself, the HSS includes the locally saved in the Cx-Query Resp or Cx-Select-Pull Resp message.
  • the HSS sets the S-CSCF that is returned to the I-CSCF, that is, the S-CSCFo indicates that the S-CSCF may be Modified logo.
  • the HSS includes the S-CSCF capability information that meets the most stringent service subscription requirements of the user in the Cx-Query Resp or Cx-Select-Pull Resp message, and then the HSS is a locally saved S-CSCF that has served the user. Set an identifier indicating that the S-CSCF may be modified.
  • the foregoing identifier may be a flag or other representation, as long as the meaning of the S-CSCF may be modified, and the specific implementation manner is not limited.
  • Step 105 The I-CSCF determines whether the name of the S-CSCF returned by the HSS can meet the current needs of the user. If yes, the I-CSCF continues to interact with the S-CSCF returned by the HSS. In this embodiment, assume I - The CSCF determines that the name of the S-CSCF returned by the HSS cannot meet the current needs of the user, and the I-CSCF reselects an S-CSCF from the S-CSCF capability information that satisfies the strictest service subscription requirement of the user, and acquires the new one.
  • the S-CSCF is the address of the S-CSCFn.
  • Step 106 The I-CSCF sends a Register message to the S-CSCFn, that is, the newly selected
  • Step song 107 S-CSCFn sends a MAR (Multimedia-Authentication-Request) message to the HSS, requesting user description information for authentication.
  • MAR Multimedia-Authentication-Request
  • the message on the Cx interface between the S-CSCFn and the HSS is Cx-AuthDataReq. .
  • Step 108 After receiving the foregoing information, the HSS determines whether the name of the S-CSCFn requesting the user description information is the same as the name of the S-CSCFo stored locally for the user, and determines the locally saved S-served for the user.
  • the S-CSCFn ⁇ name and S -
  • the name of CSCFo is definitely different, so the HSS determines that the name of S-CSCFn is different from the name of S-CSCFo, and that S-CSCFo has been identified as likely to be modified, HSS is cleared to S-CSCFo and may have been set.
  • Modified identifier send RTR to S-CSCFo (Registration-Termination-Request) message, specifically, the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deegister, to notify the S-CSCFo to initiate the logout process, and the reason for the logout is included in the logout notification.
  • the reason for the logout is that a new server (NEW_SERVER_ASSSIGNED) or a server change (SERVER_CHANGE) is assigned, or other logout reasons may be used.
  • the S-CSCFo is notified to clear the currently existing service information, which is not limited. The specific reason for cancellation.
  • Step 109 After receiving the foregoing message, the S-CSCFo performs service control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
  • Step 1 10 The S-CSCFo returns an RTA (Registration-Termination- Answer) message to the HSS. Specifically, the message on the Cx interface between the S-CSCFo and the HSS is Cx-Deregister Resp, and the HSS returns a logout response, ending. The cancellation process.
  • RTA Registration-Termination- Answer
  • Steps 111 to 112 the HSS overwrites the name of the S-CSCFo with the name of the S-CSCFn, and simultaneously queries the user description information required by the S-CSCFn according to the user identifier, and returns a MAA (Multimedia-Authentication- Answer) message to the S-CSCFn.
  • the message on the Cx interface between HSS and S-CSCFn is Cx-AuthDataResp.
  • the S-CSCFn After receiving the above message, the S-CSCFn sends an Unauthorised message to the user to notify the user to re-register.
  • the message includes information such as authentication vector information, and the message is sent to the I-CSCF and the P-CSCF. The forwarding arrives at the user.
  • Step 116 to step 117 the user re-initiates the registration request, and the P-CSCF will
  • the REGISTER message is forwarded to the I-CSCF.
  • Step 1 18 to step 119 the I-CSCF sends a UAR message to the HSS.
  • the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or Cx-Select-Pull message; the HSS gives the I-CSCF Return the UAA message.
  • the message on the Cx interface between the I-CSCF and the HSS is Cx-Query Resp or Cx-Select-Pull. Resp message.
  • the message returned by the HSS to the I-CSCF includes only the name of the S-CSCFn.
  • Step 120 The I-CSCF sends a Register message to the S-CSCFn.
  • Steps 121 to 122 the S-CSCFn performs an Authentication operation, and then sends a SAR (Server-Assignment-Request) message to the HSS.
  • SAR Server-Assignment-Request
  • the message on the Cx interface between the S-CSCFn and the HSS is Cx. -Put or Cx-Pull to request user description information.
  • Step 123 The HSS returns a SAA (Server-Assignment- Answer) message to the S-CSCFn.
  • SAA Server-Assignment- Answer
  • the message on the Cx interface between the HSS and the S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
  • Steps 124 to 126 the S-CSCFn returns a message of successful registration to the UA, and the message is forwarded to the UA via the I-CSCF and the P-CSCF.
  • the old S-CSCF that has not yet notified the locally saved service that has served the user is prevented from initiating the logout process, and the old S is overwritten with the name of the new S-CSCF.
  • the name of the CSCF and solve the corresponding problems, such as the network side continues to deal with a large amount of redundant information, or business errors.
  • FIG. 2 is a flow chart showing the application of the second embodiment of the present invention.
  • the user is not registered but has contracted a service related to the unregistered state and is called as a called party.
  • the old S-CSCF that originally provided the service for the user is referred to as S-CSCFo
  • the new S-CSCF that is reselected by the I-CSCF is referred to as S-CSCFn.
  • Step 201 The I-CSCF in the called home network receives the INVITE request.
  • Step 202 The I-CSCF sends an LIR (Location-Info-Request) message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx-Location-Query.
  • LIR Location-Info-Request
  • Step 203 The HSS returns LIA (Location-Info-Answer) to the I-CSCF. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx-Location-Query Resp.
  • the Cx-Location-Query Resp message includes the locally saved service that has been served by the user.
  • the HSS sets an identifier indicating that the S-CSCF may be modified for the S-CSCF that is returned to the I-CSCF, that is, the S-CSCFo.
  • the C-Query Resp or Cx-Select-Pull Resp message includes the S-CSCF capability information that meets the most stringent service subscription requirements of the user, and then The HSS sets a flag for the locally saved S-CSCF that has served the user indicating that the S-CSCF may be modified.
  • the foregoing identifier may be a flag or other representation, as long as the meaning of the S-CSCF may be modified, and the specific implementation manner is not limited.
  • Step 204 Determine, by the I-CSCF, whether the name of the S-CSCF returned by the HSS can meet the current needs of the user. If yes, the B-J I-CSCF continues to interact with the S-CSCF returned by the HSS. In this embodiment, ⁇ The name of the S-CSCF returned by the HSS cannot meet the current needs of the user.
  • the I-CSCF reselects an S-CSCF from the S-CSCF capability information that meets the most stringent service subscription requirements of the user, and obtains the new S- CSCF is the IP address of S-CSCFn.
  • Step 205 The I-CSCF sends an INVITE message to the S-CSCFn, that is, the newly selected
  • Step 206 The S-CSCFn sends a SAR (Server-Assignment-Request) message to the HSS.
  • SAR Server-Assignment-Request
  • the message on the Cx interface between the S-CSCFn and the HSS is Cx-Put or Cx-Pull, to request user description information. .
  • Step 207 After receiving the foregoing information, the HSS determines that the user description information is requested. Whether the name of the S-CSCFn is the same as the name of the S-CSCFo stored locally for the user, and it is determined whether the locally saved S-CSCFo serving the user has been identified as being possible to be modified, in this embodiment. Since the S-CSCFo has been identified as likely to be modified, and the I-CSCF has reselected the S-CSCF, the name of the S-CSCFn and the name of the S-CSCFo are definitely different, so the HSS determines the S-CSCFn. The name of the name S-CSCFo is different, and the S-CSCFo has been identified as possibly modified.
  • the HSS clears the identifier that may have been modified for the S-CSCFo, and sends an RTR (Registration-Termination-Request) message to the S- CSCFo, specifically, the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deregister, to notify the S-CSCFo to initiate the logout process, and the reason for the logout is included in the logout notification, and the reason for the logout may be a new assignment
  • the server (NEW-SERVER-ASSIGNED) can also be a server change (SERVER-CHANGE), or other reasons for logout. In short, the specific reason for logout is not limited.
  • Step 208 After receiving the foregoing message, the S-CSCFo performs the business control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
  • Step 209 S-CSCFo returns RTA to HSS
  • Step 210 The HSS overwrites the name of the S-CSCFo with the name of the S-CSCFn, and simultaneously queries the user description information required by the S-CSCFn according to the user identifier, and returns a SAA (Server-Assignment-Answer) message to the S-CSCFn.
  • SAA Server-Assignment-Answer
  • the message on the Cx interface between HSS and S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
  • Step 21 The S-CSCFn sends the registration information to the relevant information according to the received information.
  • the business control platform performs the appropriate business control process.
  • Step 212 The S-CSCFn continues to perform subsequent operations according to the service requirement.
  • the HSS has not notified the locally saved old S-CSCF that has served the user to initiate the logout process, and overwrites the old S- with the new S-CSCF name.
  • the name of the CSCF and solve the corresponding problems, such as the network side continues to deal with a lot of redundant information, or business errors.
  • the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S-CSCF serving the user has been If it is identified as likely to be modified, the set identifier is cleared, and then the subsequent processing is continued according to the existing normal process; if the HS S determines the name of the S-CSCF requesting the user description information and the locally saved service for the user If the name of the S-CSCF is different, and the locally saved S-CSCF serving the user is not identified as likely to be modified, the HSS reports an error and then continues the subsequent processing according to the existing error procedure; if the HSS determines the requesting user description The name of the S-CSCF of the information is the same as the name of the S-CSCF that is locally saved for the user service, and the locally saved S-CSCF serving the user is not identified as likely to be modified, according to the existing normal process. Continue to follow up.
  • the HSS may first determine whether the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and then determine whether the locally saved S-CSCF serving the user has been It is identified as being possible to be modified; it may also be first determined whether the locally saved S-CSCF serving the user has been identified as likely to be modified, and then the name of the S-CSCF requesting the user description information is locally saved as Whether the name of the S-CSCF of the user service is the same.
  • the HSS is based on the received message requesting user description information from the S-CSCF, and determines the name and the name of the S-CSCF requesting the user description information.
  • the name of the S-CSCF that is saved for the user is the same, to determine whether the S-CSCF has been updated.
  • other methods can be used to determine whether the S-CSCF has been updated. For example, the HSS passes the check.
  • the notification of the update S-CSCF from the I-CSCF is received to determine whether the S-CSCF has been updated, that is, if the HSS receives the notification of the update S-CSCF from the I-CSCF, it is confirmed that the S-CSCF has been updated, otherwise HSS believes that the S-CSCF has not been updated.
  • the S-CSCF that avoids the I-CSCF reselection causes the same interaction process as the original S-CSCF saved.
  • the S-CSCF that may be updated is set with an identifier that may be modified, it is possible to The S-CSCF is differentiated from the error conditions that may occur in the processing.
  • an I-CSCF receives a certain user as the called party.
  • Call request and the user who is called is served by the S-CSCFo
  • the HSS may decide to temporarily suspend the query request according to the set identifier that may be modified until the CX-Put or CX-Pull message from an S-CSCF determines the S-CSCFn, and directly returns the current service to the user.
  • the S-CSCFn this process may make the delay slightly larger, but it is still within acceptable limits. Moreover, this can further ensure that the user operates normally as a called party in the alternating phase of the old and new S-CSCF.
  • the I-CSCF that processes the call request and the I-CSCF that needs to perform the reselection S-CSCF operation in the foregoing various embodiments may be the same I-CSCF or different I-CSCFs.
  • the S-CSCFo and S-CSCFn in the above processing may be the same S-CSCF or different S-CSCFs.
  • a timer for the suspended call may be further set, and the timer is started immediately when the query request is suspended, and if the preset timing time is reached, the query request is still in a suspended state.
  • the query request is forcibly disconnected to avoid problems such as a decrease in user satisfaction and a waste of system resources due to the query request being suspended for a long time.
  • the HSS receives the query information from the I-CSCF, it is determined that the I-CSCF needs to reselect the S-CSCF, and directly notifies the locally saved S-CSCF that serves the user to initiate the logout process, and then presses no.
  • the process of saving the S-CSCF name is completed to complete the subsequent operations. This may add some extra processes, but it requires little change to existing systems and is more compatible with existing systems.
  • Fig. 3 is a flow chart showing the third embodiment to which the present invention is applied.
  • the user performs a registration operation
  • the old S-CSCF that originally provided the service for the user is referred to as S-CSCFo
  • the new S-CSCF that is reselected by the I-CSCF is referred to as S-CSCFn.
  • Step 301 to step 302 the user initiates registration, and the registration request (REGISTER) is forwarded to the I-CSCF by the user agent device (UA, user agent) and the P-CSCF.
  • the registration request REGISTER
  • Step 303 The 1-CSCF sends a UAR (User-Authorization-Request) message to the HSS.
  • UAR User-Authorization-Request
  • the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or a Cx-Select-Pull message.
  • Step 304 After determining that the I-CSCF needs to reselect the S-CSCF, the HSS sends an RTR (Registration-Termination-Request) message to the S-CSCFo.
  • RTR Registration-Termination-Request
  • the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deregister, to notify S-CSCFo to initiate the logout process, including the reason for the logout in the logout notification, which may be assigned a new server (NEW_SERVER_ASSIGNED) or a server change (SERVER_CHANGE), It can be other reasons for cancellation. In short, the specific reason for cancellation is not limited.
  • the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or determines that the I-CSCF needs to be reselected according to the change of the user subscription information saved by itself. S-CSCF.
  • Step 305 After receiving the foregoing information, the S-CSCFo performs service control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
  • Step 306 S-CSCFo returns RTA to HSS
  • Step 307 The HSS clears the name of the locally saved S-CSCFo, and the HSS returns a UAA (User-Authorization-Answer) message to the I-CSCF.
  • UAA User-Authorization-Answer
  • the message on the Cx interface between the I-CSCF and the HSS is Cx- Query Resp or Cx-Select-Pull Resp message, which contains S-CSCF capability information that meets the most stringent service subscription requirements of the user.
  • Step 308 The I-CSCF reselects an S-CSCF from the S-CSCF capability information that meets the strictest service subscription requirement of the user, and obtains the address of the new S-CSCF, that is, the S-CSCFn.
  • Step 309 the I-CSCF sends a Register message to the S-CSCFn, that is, the newly selected S-CSCF.
  • Step 310 The S-CSCFn sends a MAR (Multimedia-Authentication-Request) message to the HSS, requesting the user to describe the information for authentication.
  • MAR Multimedia-Authentication-Request
  • the message on the Cx interface between the S-CSCFn and the HSS is Cx-AuthDataReq.
  • Step 311 Query, according to the user identifier, user description information required by the S-CSCFn.
  • the HSS sends a MAA (Multimedia-Authentication-Answer)
  • the message is sent to the S-CSCFn.
  • the message on the Cx interface between the HSS and the S-CSCFn is Cx-AuthDataResp.
  • Step 313 to step 315 after receiving the message, the S-CSCFn sends an Unauthorised message to the user, and notifies the user to re-register, the message includes information such as authentication vector information, and the message is forwarded by the I-CSCF and the P-CSCF. Reach the user.
  • Step 316 to step 317 the user re-initiates the registration request, and the P-CSCF forwards the REGISTER message to the I-CSCF.
  • Step 318 to step 319 the I-CSCF sends a UAR message to the HSS.
  • the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or Cx-Select-Pull message; the HSS returns to the I-CSCF.
  • the UAA message specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query Resp or Cx-Select-Pull Resp message.
  • the message returned by the HSS to the I-CSCF includes only the name of the S-CSCFn.
  • Step 320 The I-CSCF sends a Register message to the S-CSCFn.
  • Steps 321 to 322 the S-CSCFn performs an Authentication operation, and then sends a SAR (Server-Assignment-Request) message to the HSS.
  • SAR Server-Assignment-Request
  • the message on the Cx interface between the S-CSCFn and the HSS is Cx. -Put or Cx-Pull to request user description information.
  • Step 323 The HSS returns a SAA (Server- Assignment- Answer) message to the S-CSCFn.
  • SAA Server- Assignment- Answer
  • the message on the Cx interface between the HSS and the S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
  • the processing procedure is similar to the above, that is, the HSS determines that After the S-CSCF is re-selected by the I-CSCF, the RTR (Registration-Termination-Request) message is sent to the S-CSCFo to notify the S-CSCFo to perform the logout process.
  • the subsequent processing is the same as the prior art, and is not repeated here. Description.
  • the present invention also provides two timing systems for determining the initiation of the logout process.
  • the system includes at least a user home network server HSS, an inquiry call state control function entity I-CSCF and a service call state control function entity S-CSCF, and the HSS includes a logout module for executing a logout process, and the system also includes an identity setting module for setting an identifier that may be modified for the S-CSCF,
  • the identifier setting module is triggered, and the identifier setting module is locally saved.
  • the S-CSCF setting of the user-provided service indicates an identifier that the S-CSCF may be modified;
  • the HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as being likely to be modified, and the HSS triggers the identifier setting module again, and the identifier setting module clears the set
  • the HSS If the HSS checks that the S-CSCF is not updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, the HSS triggers the identity setting module again, and the identity setting module clears the set Logo.
  • the HSS checks that the S-CSCF has been updated, and the locally saved is the user service
  • the S-CSCF of the service is not identified as being likely to be modified, and the HSS triggers an error module that already exists in itself, and the error module performs an error processing flow.
  • the HSS detects that the S-CSCF is not updated, and the locally saved S-CSCF serving the user is not identified as likely to be modified, then the situation at this time is exactly the same as the existing implementation, that is, completely Existing methods are processed.
  • the system includes at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity S-CSCF, and the HSS includes a logout module for performing a logout process.
  • the HSS After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the logout module that the logout module initiates a logout process for the locally saved S-CSCF serving the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and system for determining the time when the cancellation flow is initiated are characterized by that the time when HSS notifies the old S-CSCF which provides the service to the user to initiate the cancellation flow after I-CSCF re-selects S-CSCF is present definitely, which ensures that the HSS can notify the old S-CSCF to initiate the cancellation flow at first and then use the name of the new S-CSCF to cover the locally stored name of the old S-CSCF which provides the service to the user when I-CSCF initiates the re-selection of S-CSCF. The above solution ensures the service flow can be performed correctly, improves the satisfaction of the user, improves the efficiency and reliability of the operator’s network and is well compatible with the prior art.

Description

确定发起注销流程的时机的方法及系统 技术领域  Method and system for determining the timing of initiating a logout process
本发明涉及移动通信技术领域, 特别是指确定发起注销流程的时机 的方法及系统。 发明背景  The present invention relates to the field of mobile communication technologies, and in particular to a method and system for determining the timing of initiating a logout process. Background of the invention
随着宽带网络的发展, 移动通信将不仅仅局限于传统的话音通信, 通过与呈现业务(presence ), 短消息、 网页 ( WEB )浏览、 定位信息、 推送业务 ( PUSH ) 以及文件共享等数据业务的结合, 移动通信能够实 现音频、 视频、 图片和文本等多种媒体类型的业务, 以满足用户的多种 需求。  With the development of broadband networks, mobile communications will not only be limited to traditional voice communications, but also through data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing. The combination of mobile communication enables a variety of media types, such as audio, video, pictures and text, to meet the diverse needs of users.
第三代移动通信标准化伙伴项目 (3GPP )以及第三代移动通信标准 化伙伴项目 2 ( 3GPP2 )等组织都先后推出了基于 IP 的多媒体子系统 ( IMS ) 架构, 其目的是在移动网络中使用一种标准化的开放结构来实 现多种多样的多媒体应用, 以给用户提供更多的选择和更丰富的感受。  Organizations such as the 3rd Generation Mobile Communications Standardization Partnership Project (3GPP) and the 3rd Generation Mobile Communications Standardization Partnership Project 2 (3GPP2) have launched IP-based Multimedia Subsystem (IMS) architectures, which are designed to use one in mobile networks. A standardized open structure to implement a wide variety of multimedia applications to provide users with more choices and richer feelings.
IMS架构叠加在分组域网络之上, 由呼叫状态控制功能(CSCF )实 体、 媒体网关控制功能 (MGCF ) 实体、 媒体资源功能(MRF ) 实体和 用户归属网络服务器(HSS )等功能实体组成。 MGCF用于实现 IMS 络和其它网络的互通; MRP用于提供媒体资源, 如收放音, 编解码和多 媒体会议桥等; HSS保存着所有和签约相关的信息, 用于支持各个网络 实体对呼叫和会话的处理, 具体包括: 用户的标识、 编号以及寻址信息; 用户的安全信息; 用户的位置信息以及用户的描述信息 (user profile information ) 等, 一个归属网络可以有一个或者多个 HSS, 具体个数取 决于移动签约用户的数量, 网络设备的容量以及具体的组网情况。 CSCF又可以分成服务 CSCF ( S-CSCF )、 代理 CSCF ( P-CSCF )和 查询 CSCF ( I-CSCF )三个逻辑实体, 该三个逻辑实体可能是不同的物 理设备, 也可能是同一个物理设备中不同的功能模块。 S-CSCF是 IMS 的业务控制中心, 用于执行会话控制, 维持会话状态, 管理用户信息, 产生计费信息等; P-CSCF是终端用户接入 IMS的接入点, 用于完成用 户注册, 服务质量( QoS )控制和安全管理等; I-CSCF负责 IMS域之间 的互通, 管理 S-CSCF的分配, 对外隐藏网絡拓朴结构和配置信息, 并 产生计费数据等。 The IMS architecture is superimposed on the packet domain network and consists of functional entities such as a Call State Control Function (CSCF) entity, a Media Gateway Control Function (MGCF) entity, a Media Resource Function (MRF) entity, and a User Home Network Server (HSS). The MGCF is used to implement interworking between the IMS network and other networks; the MRP is used to provide media resources, such as audio and video, codec and multimedia conference bridges; the HSS stores all information related to the subscription, and is used to support the call of each network entity. And the processing of the session specifically includes: the user's identification, number, and addressing information; the user's security information; the user's location information and the user's profile information, etc., a home network may have one or more HSSs, The specific number depends on the number of mobile subscription users, the capacity of network devices, and the specific networking conditions. The CSCF can be further divided into three logical entities: a service CSCF (S-CSCF), a proxy CSCF (P-CSCF), and a query CSCF (I-CSCF). The three logical entities may be different physical devices or may be the same physical entity. Different functional modules in the device. The S-CSCF is a service control center of the IMS, which is used to perform session control, maintain session state, manage user information, and generate charging information. The P-CSCF is an access point for the terminal user to access the IMS, and is used to complete user registration. Quality of Service (QoS) control and security management; The I-CSCF is responsible for interworking between IMS domains, managing the allocation of S-CSCFs, hiding network topology and configuration information, and generating billing data.
因为 IMS网络结构做到了和底层承载网络无关, 因此 3GPP定义的 IMS 网络也可以应用在 3GPP 定义的分组域网络之外的其他分组网络 上, 因此在这里不限制 IMS只应用在 3GPP相关的网絡和应用上, 其他 类型的接入网络和承载网络的业务和应用也可以用 IMS架构来实现。  Since the IMS network structure is independent of the underlying bearer network, the 3GPP defined IMS network can also be applied to other packet networks other than the 3GPP defined packet domain network, so the IMS is not limited to the 3GPP related network and In application, other types of access networks and bearer network services and applications can also be implemented by using the IMS architecture.
每个签署了 IMS业务的用户都由归属网络运营商为其分配了一个或 一个以上私有用户标识, 用于在注册、 授权、 管理和计费过程中使用, 该标识使用网络接入标识 ( NAI, Network Access Identifier )的格式; 每 个 IMS用户还有一个或一个以上公共用户标识,用于和其他用户通信时 标识自己, 找到对方。 私有用户标识一般不对外公开, 而公共用户标识 是对外公开的, 在使用各类业务的会话过程中使用。  Each user who has signed the IMS service is assigned one or more private user IDs by the home network operator for use in the registration, authorization, management, and accounting process, and the identifier uses the network access identifier (NAI). , Network Access Identifier ) format; each IMS user has one or more public user IDs that are used to identify themselves and find each other when communicating with other users. Private user IDs are generally not publicly available, and public user IDs are publicly available and are used during conversations using various types of services.
根据用户是否发起注册过程可以将用户的注册状态分为注册状态, 注销状态和未注册状态, 注册状态指的是一个公共用户标识完成了注册 ( REGISTER )过程, 被分配了服务的 S-CSCF, 注销状态指的是一个公 共用户标识根本没有发起过 REGISTER过程,未注册状态指的是一个公 共用户标识没有发起 REGISTER过程,但是其作为被叫被分配了服务的 S-CSCF或者有一个 S-CSCF保存了该公共用户标识对应的用户的描述 信息。 根据现有的 IMS规范可以知道: HSS接收到来自 I-CSCF的查询信 息后, 如果该查询信息中已明确指示需要重新选择 S-CSCF, 则 HSS认 为 I-CSCF需要重新选择 S-CSCF, 并给 I-CSCF返回满足用户最严格业 务签约要求的 S-CSCF能力信息, 以供 I-CSCF重新选择 S-CSCF。 According to whether the user initiates the registration process, the registration status of the user can be divided into a registration status, a logout status and an unregistered status. The registration status refers to a public user identification completed registration (REGISTER) process, and the S-CSCF to which the service is assigned, The logout status refers to a public user ID that has not initiated the REGISTER process at all. The unregistered state refers to a public user ID that does not initiate the REGISTER process, but it is the S-CSCF to which the called service is assigned or has an S-CSCF. The description information of the user corresponding to the public user identifier is saved. According to the existing IMS specification, after the HSS receives the query information from the I-CSCF, if the query information explicitly indicates that the S-CSCF needs to be reselected, the HSS considers that the I-CSCF needs to reselect the S-CSCF, and The S-CSCF capability information that satisfies the user's most stringent service subscription requirements is returned to the I-CSCF for the I-CSCF to reselect the S-CSCF.
如果该查询信息中没有明确指示出是否需要重新选择 S-CSCF, 则 HSS 根据自身保存的用户签约信息, 判断是否需要 I-CSCF 重新选择 S-CSCF。  If the query information does not explicitly indicate whether the S-CSCF needs to be reselected, the HSS determines whether the I-CSCF needs to reselect the S-CSCF according to the user subscription information saved by itself.
如果 HSS认为当前为该用户服务的 S-CSCF 能够满足该用户的需 要, 则只返回包含某个 S-CSCF的名称的应答信息, 此时, I-CSCF会继 续与该 S-CSCF进行交互; 如果 HSS中还没有为该用户任何一个标识分 配过 S-CSCF,则只返回满足用户最严格业务签约要求的 S-CSCF能力信 息, 由 I-CSCF根据该能力信息选择一个 S-CSCF, 并与其交互, 也不存 在 I-CSCF重新选择一个不同的 S-CSCF的问题; 如果 HSS认为当前为 该用户服务的 S-CSCF可能不能够满足该用户的需要, 则同时返回某个 S-CSCF 的名称和满足用户最严格业务签约要求的 S-CSCF 能力, 由 I-CSCF决定是否重新选择 S-CSCF, 也就是说此时可能存在 I-CSCF重 新选择 S-CSCF的问题。  If the HSS considers that the S-CSCF currently serving the user can meet the needs of the user, only the response information including the name of an S-CSCF is returned, and the I-CSCF continues to interact with the S-CSCF; If the S-CSCF has not been assigned to any of the users in the HSS, only the S-CSCF capability information that meets the most stringent service subscription requirements of the user is returned, and the I-CSCF selects an S-CSCF according to the capability information, and Interaction, there is no problem that the I-CSCF reselects a different S-CSCF; if the HSS believes that the S-CSCF currently serving the user may not be able to meet the needs of the user, it also returns the name of an S-CSCF. And the S-CSCF capability that satisfies the user's most stringent service contracting requirements, the I-CSCF decides whether to re-select the S-CSCF, that is, there may be a problem that the I-CSCF reselects the S-CSCF at this time.
一旦 I-CSCF重新选择了 S-CSCF,在该新的 S-CSCF接收到 I-CSCF 转发的 REGISTER或 INVITE后,会按照正常的 IMS会话的处理过程向 HSS请求用户描述文件, 并按照现有流程继续后续处理。  Once the I-CSCF reselects the S-CSCF, after the new S-CSCF receives the REGISTER or INVITE forwarded by the I-CSCF, it requests the user profile from the HSS according to the normal IMS session processing process, and according to the existing The process continues with subsequent processing.
在 IMS的规范中, 还确定了一个前提, 即同一时间对于一个用户只 能有一个 S-CSCF为其服务。 这就意味着当发生 S-CSCF重选之后, 该 用户的所有业务都要由新的 S-CSCF处理, 为此, 需要 HSS通知旧的 S-CSCF发起注销流程,由旧的 S-CSCF执行注销与该用户相关的业务的 操作, 更新本地的信息, 并根据注销原因决定是否通知用户, 以避免用 户继续应用原有的 S-CSCF ,从而保证当前只有一个 S-CSCF为该用户提 供服务。 In the specification of IMS, a premise is also determined that only one S-CSCF can serve a user at a time. This means that after the S-CSCF reselection, all services of the user are processed by the new S-CSCF. To this end, the HSS is required to notify the old S-CSCF to initiate the logout process, which is performed by the old S-CSCF. Log out the operation of the business related to the user, update the local information, and decide whether to notify the user according to the reason for the cancellation, to avoid using The user continues to apply the original S-CSCF to ensure that only one S-CSCF currently provides services for the user.
但是, 在现有的 IMS规范中, 没有明确指明当 I-CSCF 重新选择 S-CSCF后, HSS何时发起注销流程, 因此, 在现有的实现过程中存在 以下问题:  However, in the existing IMS specification, it is not explicitly indicated when the HSS initiates the logout process after the I-CSCF reselects the S-CSCF. Therefore, the following problems exist in the existing implementation process:
当 I-CSCF重新选择 S-CSCF后, 该新的 S-CSCF接收到 I-CSCF转 发的 REGISTER或 INVITE后, 会按照正常的 IMS会话的处理过程向 HSS请求用户描述文件,此时 HSS将立即用这个新的 S-CSCF的名称覆 盖本地保存的曾为该用户提供服务的旧的 S-CSCF的名称, 并按照正常 的流程继续执行后续操作。这样, 由于 HSS中已经没有了该用户与旧的 S-CSCF之间的关联信息, 导致 HSS根本无法通知旧的 S-CSCF发起注 销, 而且 HSS和旧的 S-CSCF之间还会继续处理大量冗余信息。 更严重 的是, 用户很可能还继续使用旧的 S-CSCF, 从而造成业务出错, 降低 了用户对系统的满意度。 发明内容  After the I-CSCF reselects the S-CSCF, after receiving the REGISTER or INVITE forwarded by the I-CSCF, the new S-CSCF requests the user profile from the HSS according to the normal IMS session processing process, and the HSS will immediately Overwrite the locally saved name of the old S-CSCF that served the user with the name of the new S-CSCF and continue the subsequent operations in accordance with the normal flow. In this way, since the HSS has no association information between the user and the old S-CSCF, the HSS cannot notify the old S-CSCF to initiate the logout at all, and the HSS and the old S-CSCF will continue to process a large amount of information. Redundant information. More seriously, users are likely to continue to use the old S-CSCF, resulting in business errors and reduced user satisfaction with the system. Summary of the invention
有鉴于此, 本发明的目的在于提供两种确定发起注销流程的时机的 方法, 用于避免 HSS 通知旧的 S-CSCF 发起注销流程之前, 用新的 S-CSCF的名称覆盖本地保存的曾为该用户提供服务的旧的 S-CSCF的 名称, 并解决由此带来的问题。  In view of the above, the object of the present invention is to provide two methods for determining the timing of initiating the logout process, which is used to prevent the HSS from notifying the old S-CSCF to initiate the logout process, overwriting the locally saved former with the name of the new S-CSCF. The user provides the name of the service's old S-CSCF and resolves the resulting issue.
同时本发明还提供了两种用于确定发起注销流程的时机的系统, 以 实现上述方法。  At the same time, the present invention also provides two systems for determining the timing of initiating the logout process to implement the above method.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种确定发起注销流程的时机的方法, 该方法包括以下步骤: 在用户归属网络^ 务器 HSS判断出需要查询呼叫状态控制功能实体 I-CSCF 重新选择为某个用户提供服务的服务呼叫状态控制功能实体A method for determining an opportunity to initiate a logout process, the method comprising the steps of: determining, at a user home network server, that a call state control function entity needs to be queried I-CSCF reselects the service call state control function entity that provides service to a user
S-CSCF后, 为本地保存的已为该用户提供服务的 S-CSCF设置表明该 S-CSCF可能会被修改的标识; After the S-CSCF, an identifier indicating that the S-CSCF may be modified is set for the locally saved S-CSCF that has served the user;
HSS 检查 S-CSCF是否已更新, 且本地保存的为该用户服务的 S-CSCF是否已被标识为可能会被修改,如果 S-CSCF已更新,且本地保 存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则 HSS清除该 已设置的标识,通知本地保存的为该用户服务的 S-CSCF发起注销流程。  The HSS checks whether the S-CSCF has been updated, and whether the locally saved S-CSCF serving the user has been identified as likely to be modified if the S-CSCF has been updated and the locally saved S-CSCF serving the user It has been identified that it may be modified, and the HSS clears the set identifier to notify the locally saved S-CSCF serving the user to initiate the logout process.
较佳地, 所述 HSS检查 S-CSCF是否已更新的方法为:  Preferably, the HSS checks whether the S-CSCF has been updated by:
当 HSS接收到来自 S-CSCF的请求用户描述信息的消息, 判断请求 用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF 的名称是否相同,如果名称不同,则 S-CSCF已更新,如果相同则 S-CSCF 未更新。  When the HSS receives a message requesting user description information from the S-CSCF, it is determined whether the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and if the names are different, then S -CSCF has been updated, if the same, the S-CSCF is not updated.
较佳地, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF的名称相同,且本 地保存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则清除该 已设置的标识, 然后按照现有正常流程继续后续处理。  Preferably, the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S- serving the user The CSCF has been identified as likely to be modified, then the set identifier is cleared and the subsequent processing continues in accordance with the existing normal flow.
较佳地, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF的名称不同,且本 地保存的为该用户服务的 S-CSCF未被标识为可能会被修改, 则 HSS报 错, 然后按照现有的出错流程继续后续处理。  Preferably, the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is different from the locally saved name of the S-CSCF serving the user, and the locally saved S- serving the user If the CSCF is not identified as likely to be modified, the HSS reports an error and then continues the subsequent processing in accordance with the existing error procedure.
较佳地, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF的名称相同,且本 地保存的为该用户服务的 S-CSCF未被标识为可能会被修改, 则按照现 有正常流程继续后续处理。  Preferably, the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S- serving the user If the CSCF is not identified as likely to be modified, subsequent processing continues in accordance with the existing normal process.
较佳地, 所述 HSS首先判断请求用户描述信息的 S-CSCF的名称与 本地保存的为该用户服务的 S-CSCF的名称是否相同, 再判断本地保存 的为该用户服务的 S-CSCF是否已被标识为可能会被修改, 或者, Preferably, the HSS first determines the name of the S-CSCF requesting the user description information. Whether the name of the locally saved S-CSCF serving the user is the same, and determining whether the locally saved S-CSCF serving the user has been identified as being likely to be modified, or
所述 HSS首先判断本地保存的为该用户服务的 S-CSCF是否已被标 识为可能会被 改, 再判断请求用户描述信息的 S-CSCF的名称与本地 保存的为该用户服务的 S-CSCF的名称是否相同。  The HSS first determines whether the locally saved S-CSCF serving the user has been identified as being likely to be changed, and then determines the name of the S-CSCF requesting the user description information and the locally saved S-CSCF serving the user. Is the name the same?
较佳地, 所述 HSS检查 S-CSCF是否已更新的方法为: HSS检查是 否接收到来自 I-CSCF 的更新 S-CSCF 的通知, 如果接收到该通知则 S-CSCF已更新, 否则 S-CSCF未更新。  Preferably, the method for the HSS to check whether the S-CSCF has been updated is: the HSS checks whether a notification of the updated S-CSCF from the I-CSCF is received, and if the notification is received, the S-CSCF is updated, otherwise S- CSCF is not updated.
较佳地, HSS根据来自 I-CSCF的查询信息中指示重新选择 S-CSCF 的信息判断出 I-CSCF需要重新选择 S-CSCF, 或者, HSS根据自身保存 的用户签约信息的变化, 判断出 I-CSCF需要重新选择 S-CSCF。  Preferably, the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or the HSS determines the I according to the change of the user subscription information saved by the HSS. -CSCF needs to reselect S-CSCF.
较佳地, 所述通知本地保存的为该用户服务的 S-CSCF发起注销流 程的信息中包含注销原因;  Preferably, the information indicating that the locally saved S-CSCF serving the user initiates the logout process includes a logout reason;
该方法进一步包括: 本地保存的为该用户服务的 S-CSCF根据接收 到注销通知中的注销原因,执行与注销相关的业务控制, 更新本地信息, 之后给 HSS返回注销响应;  The method further includes: locally storing the S-CSCF serving the user, performing the service control related to the logout according to the reason for the logout in the logout notification, updating the local information, and then returning the logout response to the HSS;
所述 HSS接收到注销响应后, 用请求用户描述信息的 S-CSCF的名 称覆盖本地保存的为该用户服务的 S-CSCF的名称, 然后按照现有正常 流程继续后续处理。  After receiving the logout response, the HSS overwrites the locally saved S-CSCF name for the user with the name of the S-CSCF requesting the user description information, and then continues the subsequent processing according to the existing normal procedure.
较 佳 地 , 所 述 注 销 原 因 为 分 配 了 新 的 服 务 器 NEW— SERVER— ASSIGNED, 或设为服务器改变 SERVER— CHANGE。  Preferably, the reason for the cancellation is that a new server NEW_SERVER_ASSSIGNED is assigned, or the server is changed to SERVER_CHANGE.
较佳地, 所述 HSS接收到来自 I-CSCF 的用户注册状态查询消息 ( Cx-Query 或 Cx- Select-Pull ) , 或 用 户 位 置 查 询 消 息 ( Cx-Location-Quer )后, 执行判断是否需要 I-CSCF重新选择 S-CSCF 的操作。 较佳地, 该方法进一步包括: 在 HSS已经为某个 S-CSCF设置了可 能被修改的标识之后, 清除该可能被修改的标识之前这段时间内, 如果 某个 I-CSCF收到由所述 S-CSCF提供服务的用户作为被叫的呼叫请求, 则当处理该呼叫请求的某个 I-CSCF 向 HSS 查询当前为该用户月良务的 S-CSCF时, HSS暂时挂起该查询请求直到确定当前为该用户提供服务 的 S-CSCF后, 直接返回当前为该用户服务的 S-CSCF。 Preferably, after receiving the user registration status query message (Cx-Query or Cx-Select-Pull) from the I-CSCF, or the user location query message (Cx-Location-Quer), the HSS performs a judgment to determine whether an I is needed. -CSCF reselects the operation of the S-CSCF. Preferably, the method further comprises: after the HSS has set the identifier that may be modified for the S-CSCF, and clears the identifier that may be modified, if an I-CSCF receives the location When the user who provides the service by the S-CSCF acts as the called call request, the HSS temporarily suspends the query request when an I-CSCF that processes the call request queries the HSS for the S-CSCF that is currently the user's monthly service. Until the S-CSCF currently serving the user is determined, the S-CSCF currently serving the user is directly returned.
较佳地, 所述处理该呼叫请求的某个 I-CSCF 与需要执行重新选择 S-CSCF操作的 I-CSCF是同一个 I-CSCF或不同的 I-CSCF。  Preferably, the certain I-CSCF that processes the call request is the same I-CSCF or a different I-CSCF than the I-CSCF that needs to perform the reselection of the S-CSCF operation.
较佳地, 当 HSS接收到来自 S-CSCF的 CX-Put或 CX-Pull消息后, 确定该 S-CSCF即为当前为该用户提供服务的 S-CSCF。  Preferably, after the HSS receives the CX-Put or CX-Pull message from the S-CSCF, it determines that the S-CSCF is the S-CSCF currently serving the user.
较佳地, 该方法进一步包括: 预设用于被叫挂起的定时器, 当所述 查询请求被挂起后启动该定时器, 如果到达预设的定时时间后, 该查询 请求仍然处于挂起状态, 则强行拆断该查询请求。  Preferably, the method further includes: presetting a timer for the called to be suspended, starting the timer after the query request is suspended, and if the preset timing time is reached, the query request is still hanging From the state, the query request is forcibly broken.
较佳地, 所述表明 S-CSCF可能会被修改的标识为标志位。  Preferably, the identifier indicating that the S-CSCF may be modified is a flag bit.
一种确定发起注销流程的时机的方法, 该方法包括以下步骤: 在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 通知本地保存的 为该用户服务的 S-CSCF发起注销流程。  A method for determining an opportunity to initiate a logout process, the method comprising the steps of: after the HSS determines that the I-CSCF needs to reselect the S-CSCF, notifying the locally saved S-CSCF serving the user to initiate a logout procedure.
较佳地, 所述通知本地保存的为该用户服务的 S-CSCF发起注销流 程的信息中包含注销原因;  Preferably, the information indicating that the locally saved S-CSCF serving the user initiates the logout process includes a logout reason;
该方法进一步包括: 本地保存的为该用户服务的 S-CSCF根据接收 到注销通知中的注销原因,执行与注销相关的业务控制,更新本地信息, 之后给 HSS返回注销响应;  The method further includes: locally storing the S-CSCF serving the user, performing the service control related to the logout according to the reason for the logout in the logout notification, updating the local information, and then returning the logout response to the HSS;
所述 HSS接收到注销响应后, 清除本地保存的 S-CSCF名称, 然后 给 I-CSCF返回满足用户最严格业务签约要求的 S-CSCF能力信息,再按 照本地没有保存 S-CSCF名称的处理流程继续后续操作。 较 佳 地 , 所 述 注 销 原 因 为 分 配 了 新 的 服 务 器After receiving the logout response, the HSS clears the locally saved S-CSCF name, and then returns the S-CSCF capability information that meets the strictest service subscription requirement of the user to the I-CSCF, and then processes the S-CSCF name locally. Continue to follow up. Preferably, the reason for the logout is that a new server is allocated.
NEW— SERVER—ASSIGNED, 或设为服务器改变 SERVER— CHANGE。 NEW—SERVER—ASSIGNED, or set to server to change SERVER—CHANGE.
较佳地, HSS根据来自 I-CSCF的查询信息中指示重新选择 S-CSCF 的信息判断出 I-CSCF需要重新选择 S-CSCF, 或者, HSS根据自身保存 的用户签约信息的变化, 判断出 I-CSCF需要重新选择 S-CSCF。  Preferably, the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or the HSS determines the I according to the change of the user subscription information saved by the HSS. -CSCF needs to reselect S-CSCF.
较佳地, 所述 HSS接收到来自 I-CSCF 的用户注册状态查询消息 ( Cx-Query 或 Cx- Select-Pull ) , 或 用 户 位 置 查 询 消 息 ( Cx-Location-Query )后, 执行判断是否需要 I-CSCF重新选择 S-CSCF 的操作。  Preferably, after receiving the user registration status query message (Cx-Query or Cx-Select-Pull) from the I-CSCF, or the user location query message (Cx-Location-Query), the HSS performs a judgment to determine whether an I is needed. -CSCF reselects the operation of the S-CSCF.
一种用于确定发起注销流程的时机的系统, 至少包括用户归属网络 服务器 HSS, 查询呼叫状态控制功能实体 I-CSCF和服务呼叫状态控制 功能实体 S-CSCF, 且所述 HSS内包括用于执行注销流程的注销模块, 其特征在于, 该系统还包括用于为 S-CSCF设置可能被修改标识的标识 设置模块,  A system for determining an opportunity to initiate a logout process, comprising at least a user home network server HSS, an inquiry call state control function entity I-CSCF and a service call state control function entity S-CSCF, and the HSS is included for execution The logout module of the logout process, characterized in that the system further comprises an identifier setting module for setting an identifier that may be modified for the S-CSCF,
在 HSS判断出需要查询呼叫状态控制功能实体 I-CSCF重新选择为 某个用户提供服务的服务呼叫状态控制功能实体 S-CSCF后, 触发标识 设置模块, 由该标识设置模块为本地保存的已为该用户提供服务的 S-CSCF设置表明该 S-CSCF可能会被修改的标识;  After the HSS determines that the call state control function entity I-CSCF needs to reselect the service call state control function entity S-CSCF that provides service for a certain user, the identifier setting module is triggered, and the identifier setting module is locally saved. The S-CSCF setting of the user-provided service indicates an identifier that the S-CSCF may be modified;
HSS检查到 S-CSCF已更新,且本地保存的为该用户服务的 S-CSCF 已被标识为可能会被修改, 则 HSS再次触发标识设置模块, 由该标识设 置模块清除该已设置的标识,通知 HSS内的注销模块, 由注销模块对本 地保存的为该用户服务的 S-CSCF发起注销流程。  The HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, and the HSS triggers the identifier setting module again, and the identifier setting module clears the set identifier. The logout module in the HSS is notified, and the logout module initiates a logout process to the locally saved S-CSCF serving the user.
较佳地, 如果 HSS检查到所述 S-CSCF未更新, 且本地保存的为该 用户服务的 S-CSCF已被标识为可能会被修改, 则 HSS再次触发标识设 置模块, 由该标识设置模块清除该已设置的标识。 较佳地, 如果 HSS检查到所述 S-CSCF已更新, 且本地保存的为该 用户服务的 S-CSCF未被标识为可能会被修改, 则 HSS触发自身中已存 在的报错模块, 由该报错模块执行出错的处理流程。 Preferably, if the HSS detects that the S-CSCF is not updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, the HSS triggers the identity setting module again, and the identity setting module is Clear the set ID. Preferably, if the HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user is not identified as likely to be modified, the HSS triggers an existing error reporting module in the The error module performs the processing flow of the error.
一种用于确定发起注销流程的时机的系统, 该系统至少包括用户归 属网络服务器 HSS , 查询呼叫状态控制功能实体 I-CSCF和服务呼叫状 态控制功能实体 S-CSCF, 且所述 HSS内包括用于执行注销流程的注销 模块,  A system for determining an opportunity to initiate a logout process, the system including at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity S-CSCF, and the HSS includes The logout module that performs the logout process,
在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 通知注销模块, 由注销模块对本地保存的为该用户服务的 S-CSCF发起注销流程。  After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the logout module that the logout module initiates a logout process for the locally saved S-CSCF serving the user.
应用本发明, 在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 为 本地保存的已为该用户提供服务的 S-CSCF设置表明该 S-CSCF可能会 被修改的标识; HSS检查 S-CSCF是否已更新, 且本地保存的为该用户 服务的 S-CSCF是否已被标识为可能会被修改, 如果 S-CSCF已更新, 且本地保存的为该用户服务的 S-CSCF 已被标识为可能会被修改, 则 HSS清除该已设置的标识, 通知本地保存的为该用户服务的 S-CSCF发 起注销流程; 或者, 在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 直接通知本地保存的为该用户服务的 S-CSCF发起注销流程, 然后再按 照没有保存 S-CSCF名称的处理来完成后续操作。  Applying the present invention, after the HSS determines that the I-CSCF needs to reselect the S-CSCF, it sets an identifier indicating that the S-CSCF may be modified for the locally saved S-CSCF that has served the user; HSS checks S- Whether the CSCF has been updated, and whether the locally saved S-CSCF serving the user has been identified as likely to be modified, if the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as The HSS may be modified, and the HSS clears the set identifier, and notifies the locally saved S-CSCF that serves the user to initiate the logout process; or, after the HSS determines that the I-CSCF needs to reselect the S-CSCF, directly notify the local The saved S-CSCF for the user service initiates the logout process, and then completes the subsequent operations according to the process of not saving the S-CSCF name.
本发明明确给出了当 I-CSCF重选 S-CSCF后, HSS通知曾为该用户 提供服务的旧的 S-CSCF发起注销流程的时机, 确保了 I-CSCF在发起 S-CSCF重选的时候, HSS能够先通知旧的 S-CSCF发起注销流程, 再 用新的 S-CSCF 的名称覆盖本地保存的曾为该用户提供服务的旧的 S-CSCF 的名称, 从而保证了正确地执行业务流程, 提升了用户的满意 度, 也提高了运营商网络的效率和可靠性, 而且与现有技术有很好地兼 容性。 附图简要说明 The present invention clearly shows that when the I-CSCF reselects the S-CSCF, the HSS notifies the old S-CSCF that has served the user to initiate the logout process, ensuring that the I-CSCF initiates the S-CSCF reselection. At the same time, the HSS can first notify the old S-CSCF to initiate the logout process, and then overwrite the locally saved name of the old S-CSCF that served the user with the name of the new S-CSCF, thereby ensuring the correct execution of the service. The process improves user satisfaction, improves the efficiency and reliability of the carrier network, and is compatible with the existing technology. BRIEF DESCRIPTION OF THE DRAWINGS
图 1所示为应用本发明实施例一的流程图;  1 is a flow chart showing the application of the first embodiment of the present invention;
图 2所示为应用本发明实施例二的流程图;  2 is a flow chart showing the application of the second embodiment of the present invention;
图 3所示为应用本发明实施例三的流程图。 实施本发明的方式  FIG. 3 is a flow chart showing the application of the third embodiment of the present invention. Mode for carrying out the invention
下面结合附图及具体实施例, 进一步对本发明做详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
图 1所示为应用本发明实施例一的流程图。 在本实施例中, 用户 执行注册操作,将原有为该用户提供服务的旧 S-CSCF记作 S-CSCFo, 将 I-CSCF重新选择后的新 S-CSCF记作 S-CSCFn。  FIG. 1 is a flow chart showing the application of the first embodiment of the present invention. In this embodiment, the user performs a registration operation, and records the old S-CSCF that originally provided the service for the user as S-CSCFo, and the new S-CSCF that is reselected by the I-CSCF as S-CSCFn.
步驟 101〜步驟 102, 用户发起注册, 该注册请求 (REGISTER ) 经用户代理设备( UA, user agent ) 及 P-CSCF转发至 I-CSCF。  Step 101 to step 102, the user initiates registration, and the registration request (REGISTER) is forwarded to the I-CSCF by the user agent device (UA, user agent) and the P-CSCF.
步骤 103 , 1-CSCF向 HSS发送 UAR( User-Authorization-Request ) 消息,具体的,在 I-CSCF和 HSS之间的 Cx接口上的消息为 Cx-Query 或 Cx-Select-Pull消息。  Step 103: The 1-CSCF sends a UAR (User-Authorization-Request) message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or a Cx-Select-Pull message.
步骤 104, HSS给 I-CSCF返回 UAA( User-Authorization-Answer ) 消息,具体的,在 I-CSCF和 HSS之间的 Cx接口上的消息为 Cx-Query Resp或 Cx-Select-Pull Resp消息。  Step 104: The HSS returns a UAA (User-Authorization-Answer) message to the I-CSCF. Specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query Resp or a Cx-Select-Pull Resp message.
在本实施例中, 如果 HSS根据自身保存的用户签约信息的变化, 判断出需要 I-CSCF 重新选择 S-CSCF 后, 在 Cx-Query Resp 或 Cx-Select-Pull Resp 消息中包含本地保存的已服务于该用户的 S-CSCF的名称和满足用户最严格业务签约要求的 S-CSCF能力信息, HSS为该返回给 I-CSCF的 S-CSCF即 S-CSCFo设置表明该 S-CSCF 可能会被修改的标识。  In this embodiment, if the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the change of the user subscription information saved by itself, the HSS includes the locally saved in the Cx-Query Resp or Cx-Select-Pull Resp message. The name of the S-CSCF serving the user and the S-CSCF capability information satisfying the most stringent service subscription requirements of the user. The HSS sets the S-CSCF that is returned to the I-CSCF, that is, the S-CSCFo indicates that the S-CSCF may be Modified logo.
如果 HSS 接收到的查询信息中已明确指示出需要重新选择 S-CSCF,则 HSS在 Cx-Query Resp或 Cx-Select-Pull Resp消息中包含 满足用户最严格业务签约要求的 S-CSCF能力信息,然后 HSS为本地 保存的已服务于该用户的 S-CSCF设置表明该 S-CSCF可能会被修改 的标识。 If the query information received by the HSS clearly indicates that it needs to be reselected In the S-CSCF, the HSS includes the S-CSCF capability information that meets the most stringent service subscription requirements of the user in the Cx-Query Resp or Cx-Select-Pull Resp message, and then the HSS is a locally saved S-CSCF that has served the user. Set an identifier indicating that the S-CSCF may be modified.
上述标识可以是一个标志位, 也可以是其他的表示方法, 只要能够 标识出该 S-CSCF可能会被修改的意思即可, 具体实施方式不做限定。  The foregoing identifier may be a flag or other representation, as long as the meaning of the S-CSCF may be modified, and the specific implementation manner is not limited.
步骤 105 , 由 I-CSCF确定 HSS返回的 S-CSCF的名称能否满足 用户当前的需要, 如果可以, 则 I-CSCF与该 HSS返回的 S-CSCF继 续交互, 在本实施例中, 假设 I-CSCF确定 HSS返回的 S-CSCF的名 称不能满足用户当前的需要, 则 I-CSCF从满足用户最严格业务签约 要求的 S-CSCF 能力信息中重新选择一个 S-CSCF , 并获取该新的 Step 105: The I-CSCF determines whether the name of the S-CSCF returned by the HSS can meet the current needs of the user. If yes, the I-CSCF continues to interact with the S-CSCF returned by the HSS. In this embodiment, assume I - The CSCF determines that the name of the S-CSCF returned by the HSS cannot meet the current needs of the user, and the I-CSCF reselects an S-CSCF from the S-CSCF capability information that satisfies the strictest service subscription requirement of the user, and acquires the new one.
S-CSCF即 S-CSCFn的地址。 The S-CSCF is the address of the S-CSCFn.
步骤 106, I-CSCF将 Register消息发送给 S-CSCFn, 即新选择的 Step 106: The I-CSCF sends a Register message to the S-CSCFn, that is, the newly selected
S- CSCF。 S-CSCF.
步歌 107, S-CSCFn发送 MAR ( Multimedia- Authentication-Request ) 消息给 HSS,请求用户描述信息以进行鉴权,具体的,在 S-CSCFn和 HSS 之间的 Cx接口上的消息为 Cx-AuthDataReq。  Step song 107, S-CSCFn sends a MAR (Multimedia-Authentication-Request) message to the HSS, requesting user description information for authentication. Specifically, the message on the Cx interface between the S-CSCFn and the HSS is Cx-AuthDataReq. .
步骤 108 , HSS 接收到上述信息后, 判断请求用户描述信息的 S-CSCFn的名称与本地保存的为该用户服务的 S-CSCFo的名称是否 相同, 同时判断本地保存的为该用户服务的 S-CSCFo是否已被标识 为可能会被修改, 在本实施例中, 由于 S-CSCFo 已被标识为可能会 被修改, 且 I-CSCF已经重新选择了 S-CSCF, 所以 S-CSCFn ό 名称 和 S-CSCFo的名称肯定不同, 因此在 HSS判断出 S-CSCFn的名称和 S-CSCFo的名称不同,且 S-CSCFo已被标识为可能会被修改后, HSS 清除为 S-CSCFo已设置的可能被修改的标识, 向 S-CSCFo发送 RTR ( Registration-Termination-Request )消息 ,具体的,在 HSS和 S-CSCFo 之间的 Cx接口上的消息为 Cx-De egister, 以通知 S-CSCFo发起注销 流程, 在该注销通知中包括注销原因, 该注销原因是分配了新的服务 器 ( NEW_SERVER— ASSIGNED ) , 或 是 服 务 器 改 变 ( SERVER— CHANGE ) , 也可以是其他的注销原因, 总之, 是通知 S-CSCFo清除当前存在的业务信息, 并不限定具体的注销原因。 Step 108: After receiving the foregoing information, the HSS determines whether the name of the S-CSCFn requesting the user description information is the same as the name of the S-CSCFo stored locally for the user, and determines the locally saved S-served for the user. Whether the CSCFo has been identified as likely to be modified, in this embodiment, since the S-CSCFo has been identified as likely to be modified, and the I-CSCF has reselected the S-CSCF, the S-CSCFn ό name and S - The name of CSCFo is definitely different, so the HSS determines that the name of S-CSCFn is different from the name of S-CSCFo, and that S-CSCFo has been identified as likely to be modified, HSS is cleared to S-CSCFo and may have been set. Modified identifier, send RTR to S-CSCFo (Registration-Termination-Request) message, specifically, the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deegister, to notify the S-CSCFo to initiate the logout process, and the reason for the logout is included in the logout notification. The reason for the logout is that a new server (NEW_SERVER_ASSSIGNED) or a server change (SERVER_CHANGE) is assigned, or other logout reasons may be used. In short, the S-CSCFo is notified to clear the currently existing service information, which is not limited. The specific reason for cancellation.
步骤 109, S-CSCFo接收到上述消息后,执行与注销相关的业务控制, 更新本地信息, 同时, 该 S-CSCFo触发与该用户的后续业务终止的操作。  Step 109: After receiving the foregoing message, the S-CSCFo performs service control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
步 骤 1 10 , S-CSCFo 给 HSS 返 回 RTA ( Registration-Termination- Answer ) 消息, 具体的, 在 S-CSCFo 和 HSS之间的 Cx接口上的消息为 Cx-Deregister Resp, 给 HSS返回注 销响应, 结束此次注销流程。  Step 1 10: The S-CSCFo returns an RTA (Registration-Termination- Answer) message to the HSS. Specifically, the message on the Cx interface between the S-CSCFo and the HSS is Cx-Deregister Resp, and the HSS returns a logout response, ending. The cancellation process.
步骤 111〜步驟 112, HSS用 S-CSCFn的名称覆盖 S-CSCFo的名 称, 同时根据用户标识查询 S-CSCFn 需要的用户描述信息, 给 S-CSCFn返回 MAA ( Multimedia- Authentication- Answer )消息, 具体 的,在 HSS和 S-CSCFn之间的 Cx接口上的消息为 Cx-AuthDataResp。  Steps 111 to 112, the HSS overwrites the name of the S-CSCFo with the name of the S-CSCFn, and simultaneously queries the user description information required by the S-CSCFn according to the user identifier, and returns a MAA (Multimedia-Authentication- Answer) message to the S-CSCFn. The message on the Cx interface between HSS and S-CSCFn is Cx-AuthDataResp.
步骤 1 13〜步骤 1 15, S-CSCFn接收到上述消息后, 给用户发送 Unauthorised消息, 通知用户重新进行注册, 该消息中包含鉴权矢量 信息等信息, 该消息经 I-CSCF和 P-CSCF的转发到达用户。  After receiving the above message, the S-CSCFn sends an Unauthorised message to the user to notify the user to re-register. The message includes information such as authentication vector information, and the message is sent to the I-CSCF and the P-CSCF. The forwarding arrives at the user.
步骤 116〜步驟 117 , 用户重新发起注册请求, P-CSCF 将该 Step 116 to step 117, the user re-initiates the registration request, and the P-CSCF will
REGISTER消息转发给 I-CSCF。 The REGISTER message is forwarded to the I-CSCF.
步骤 1 18〜步驟 119, I-CSCF向 HSS发送 UAR消息, 具体的, 在 I-CSCF 和 HSS 之间的 Cx 接口上的消息为 Cx-Query 或 Cx-Select-Pull消息; HSS给 I-CSCF返回 UAA消息,具体的,在 I-CSCF 和 HSS之间的 Cx接口上的消息为 Cx-Query Resp或 Cx-Select-Pull Resp消息。 此时, 由于之前已经确定由 S-CSCFn为该用户提供服务, 因此, HSS向 I-CSCF返回的消息中只包含 S-CSCFn的名称。 Step 1 18 to step 119, the I-CSCF sends a UAR message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or Cx-Select-Pull message; the HSS gives the I-CSCF Return the UAA message. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx-Query Resp or Cx-Select-Pull. Resp message. At this time, since it has been determined that the S-CSCFn is serving the user, the message returned by the HSS to the I-CSCF includes only the name of the S-CSCFn.
步骤 120, I-CSCF将 Register消息发送给 S-CSCFn。  Step 120: The I-CSCF sends a Register message to the S-CSCFn.
步骤 121〜步骤 122, S-CSCFn执行授权 ( Authentication )操作, 之后, 向 HSS发送 SAR ( Server-Assignment-Request )消息, 具体的, 在 S-CSCFn和 HSS之间的 Cx接口上的消息为 Cx-Put 或 Cx-Pull, 以请求用户描述信息。  Steps 121 to 122, the S-CSCFn performs an Authentication operation, and then sends a SAR (Server-Assignment-Request) message to the HSS. Specifically, the message on the Cx interface between the S-CSCFn and the HSS is Cx. -Put or Cx-Pull to request user description information.
步骤 123 , HSS 返回 SAA ( Server-Assignment- Answer ) 消息给 S-CSCFn, 具体的, 在 HSS和 S-CSCFn之间的 Cx接口上的消息为 Cx-Put Resp 或 Cx-Pull Resp。  Step 123: The HSS returns a SAA (Server-Assignment- Answer) message to the S-CSCFn. Specifically, the message on the Cx interface between the HSS and the S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
步骤 124〜步骤 126, S-CSCFn给 UA返回注册成功的消息, 该消 息经 I-CSCF和 P-CSCF转发至 UA。  Steps 124 to 126, the S-CSCFn returns a message of successful registration to the UA, and the message is forwarded to the UA via the I-CSCF and the P-CSCF.
至此,在 S-CSCF更新的情况下,避免了 HSS还未通知本地保存 的曾为该用户提供服务的旧的 S-CSCF 发起注销流程, 就用新的 S-CSCF的名称覆盖了旧的 S-CSCF的名称, 并解决了由此带来的相 应问题, 如网络侧继续处理大量冗余信息, 或业务出错等问题。  At this point, in the case of the S-CSCF update, the old S-CSCF that has not yet notified the locally saved service that has served the user is prevented from initiating the logout process, and the old S is overwritten with the name of the new S-CSCF. - The name of the CSCF, and solve the corresponding problems, such as the network side continues to deal with a large amount of redundant information, or business errors.
图 2所示为应用本发明实施例二的流程图。 在本实施例中, 用户 未注册但签约了与未注册状态相关的业务, 且作为被叫。 同时, 本实 施例中将原有为该用户提供服务的旧 S-CSCF 记作 S-CSCFo , 将 I-CSCF重新选择后的新 S-CSCF记作 S-CSCFn。  FIG. 2 is a flow chart showing the application of the second embodiment of the present invention. In this embodiment, the user is not registered but has contracted a service related to the unregistered state and is called as a called party. In the embodiment, the old S-CSCF that originally provided the service for the user is referred to as S-CSCFo, and the new S-CSCF that is reselected by the I-CSCF is referred to as S-CSCFn.
步骤 201 , 被叫归属网络中的 I-CSCF接收到 INVITE请求。  Step 201: The I-CSCF in the called home network receives the INVITE request.
步骤 202, I-CSCF向 HSS发送 LIR ( Location-Info-Request ) 消 息, 具体的, 在 I-CSCF 和 HSS 之间的 Cx 接口上的消息为 Cx-Location-Query。  Step 202: The I-CSCF sends an LIR (Location-Info-Request) message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx-Location-Query.
步驟 203 , HSS给 I-CSCF返回 LIA ( Location-Info-Answer ) 消 息, 具体的, 在 I-CSCF 和 HSS 之间的 Cx 接口上的消息为 Cx-Location-Query Resp。 Step 203: The HSS returns LIA (Location-Info-Answer) to the I-CSCF. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx-Location-Query Resp.
在本实施例中, 如果 HSS根据自身保存的用户签约信息的变化, 判断出需要 I-CSCF重新选择 S-CSCF后, 在 Cx-Location-Query Resp 消息中包含本地保存的已服务于该用户的 S-CSCF的名称和满足用户 最严格业务签约要求的 S-CSCF能力信息, HSS为该返回给 I-CSCF 的 S-CSCF即 S-CSCFo设置表明该 S-CSCF可能会被修改的标识。  In this embodiment, if the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the change of the user subscription information saved by itself, the Cx-Location-Query Resp message includes the locally saved service that has been served by the user. The name of the S-CSCF and the S-CSCF capability information that satisfies the user's most stringent service subscription requirements. The HSS sets an identifier indicating that the S-CSCF may be modified for the S-CSCF that is returned to the I-CSCF, that is, the S-CSCFo.
如果 HSS 接收到的查询信息中已明确指示出需要重新选择 S-CSCF, 则在 Cx-Query Resp或 Cx-Select-Pull Resp消息中包含满足用 户最严格业务签约要求的 S-CSCF能力信息, 然后 HSS为本地保存的已 服务于该用户的 S-CSCF设置表明该 S-CSCF可能会被修改的标识。  If the S-CSCF needs to be re-selected in the query information received by the HSS, the C-Query Resp or Cx-Select-Pull Resp message includes the S-CSCF capability information that meets the most stringent service subscription requirements of the user, and then The HSS sets a flag for the locally saved S-CSCF that has served the user indicating that the S-CSCF may be modified.
上述标识可以是一个标志位, 也可以是其他的表示方法, 只要能够 标识出该 S-CSCF可能会被修改的意思即可, 具体实施方式不做限定。  The foregoing identifier may be a flag or other representation, as long as the meaning of the S-CSCF may be modified, and the specific implementation manner is not limited.
步骤 204, 由 I-CSCF确定 HSS返回的 S-CSCF的名称能否满足 用户当前的需要, 如果可以, 贝' J I-CSCF与该 HSS返回的 S-CSCF继 续交互, 在本实施例中, ^^ HSS返回的 S-CSCF的名称不能满足用 户当前的需要,则 I-CSCF从满足用户最严格业务签约要求的 S-CSCF 能力信息中重新选择一个 S-CSCF,并获取该新的 S-CSCF即 S-CSCFn 的 IP地址。  Step 204: Determine, by the I-CSCF, whether the name of the S-CSCF returned by the HSS can meet the current needs of the user. If yes, the B-J I-CSCF continues to interact with the S-CSCF returned by the HSS. In this embodiment, ^^ The name of the S-CSCF returned by the HSS cannot meet the current needs of the user. The I-CSCF reselects an S-CSCF from the S-CSCF capability information that meets the most stringent service subscription requirements of the user, and obtains the new S- CSCF is the IP address of S-CSCFn.
步骤 205 , I-CSCF将 INVITE消息发送给 S-CSCFn, 即新选择的 Step 205: The I-CSCF sends an INVITE message to the S-CSCFn, that is, the newly selected
S-CSCF。 S-CSCF.
步骤 206, S-CSCFn向 HSS发送 SAR( Server-Assignment-Request ) 消息,具体的,在 S-CSCFn和 HSS之间的 Cx接口上的消息为 Cx-Put 或 Cx-Pull, 以请求用户描述信息。  Step 206: The S-CSCFn sends a SAR (Server-Assignment-Request) message to the HSS. Specifically, the message on the Cx interface between the S-CSCFn and the HSS is Cx-Put or Cx-Pull, to request user description information. .
步骤 207, HSS 接收到上述信息后, 判断请求用户描述信息的 S-CSCFn的名称与本地保存的为该用户服务的 S-CSCFo的名称是否 相同, 同时判断本地保存的为该用户服务的 S-CSCFo是否已被标识 为可能会被修改, 在本实施例中, 由于 S-CSCFo 已被标识为可能会 被修改, 且 I-CSCF已经重新选择了 S-CSCF, 所以 S-CSCFn的名称 和 S-CSCFo的名称肯定不同, 因此在 HSS判断出 S-CSCFn的名称 S-CSCFo的名称不同,且 S-CSCFo已被标识为可能会被修改后, HSS 清除为 S-CSCFo 已设置的可能被修改的标识, 发送 RTR ( Registration-Termination-Request ) 消息给 S-CSCFo , 具体的, 在 HSS和 S-CSCFo之间的 Cx接口上的消息为 Cx-Deregister, 以通知 S-CSCFo发起注销流程, 在该注销通知中包括注销原因, 该注销原因 可以是分配了新的服务器( NEW—SERVER— ASSIGNED ) , 也可以是 服务器改变 ( SERVER—CHANGE ) , 也可以是其他的注销原因, 总 之, 并不限定具体的注销原因。 Step 207: After receiving the foregoing information, the HSS determines that the user description information is requested. Whether the name of the S-CSCFn is the same as the name of the S-CSCFo stored locally for the user, and it is determined whether the locally saved S-CSCFo serving the user has been identified as being possible to be modified, in this embodiment. Since the S-CSCFo has been identified as likely to be modified, and the I-CSCF has reselected the S-CSCF, the name of the S-CSCFn and the name of the S-CSCFo are definitely different, so the HSS determines the S-CSCFn. The name of the name S-CSCFo is different, and the S-CSCFo has been identified as possibly modified. The HSS clears the identifier that may have been modified for the S-CSCFo, and sends an RTR (Registration-Termination-Request) message to the S- CSCFo, specifically, the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deregister, to notify the S-CSCFo to initiate the logout process, and the reason for the logout is included in the logout notification, and the reason for the logout may be a new assignment The server (NEW-SERVER-ASSIGNED) can also be a server change (SERVER-CHANGE), or other reasons for logout. In short, the specific reason for logout is not limited.
步骤 208 , S-CSCFo接收到上述消息后, 执行与注销相关的业 务控制, 更新本地信息, 同时, 该 S-CSCFo触发与该用户的后续业 务终止的操作。  Step 208: After receiving the foregoing message, the S-CSCFo performs the business control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
步 骤 209 , S-CSCFo 给 HSS 返 回 RTA Step 209, S-CSCFo returns RTA to HSS
( Registration-Termination- Answer ) 消息, 具体的, 在 S-CSCFo 和 HSS之间的 Cx接口上的消息为 Cx-Deregister Resp, 给 HSS返回注 销响应, 结束此次注销流程。 (Registration-Termination- Answer) message, specifically, the message on the Cx interface between the S-CSCFo and the HSS is Cx-Deregister Resp, which returns a logout response to the HSS, and ends the logout process.
步骤 210, HSS用 S-CSCFn的名称覆盖 S-CSCFo的名称, 同时 根据用户标识查询 S-CSCFn需要的用户描述信息, 给 S-CSCFn返回 SAA ( Server-Assignment-Answer )消息, 具体的, 在 HSS和 S-CSCFn 之间的 Cx接口上的消息为 Cx-Put Resp或 Cx-Pull Resp。  Step 210: The HSS overwrites the name of the S-CSCFo with the name of the S-CSCFn, and simultaneously queries the user description information required by the S-CSCFn according to the user identifier, and returns a SAA (Server-Assignment-Answer) message to the S-CSCFn. Specifically, The message on the Cx interface between HSS and S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
步骤 21 1 , S-CSCFn根据接收到的信息将注册信息发送到相关的 业务控制平台执行适当的业务控制过程。 Step 21: The S-CSCFn sends the registration information to the relevant information according to the received information. The business control platform performs the appropriate business control process.
步骤 212 , S-CSCFn根据业务要求继续执行后续操作。  Step 212: The S-CSCFn continues to perform subsequent operations according to the service requirement.
至此,在 S-CSCF更新的情况下,避免了 HSS还未通知本地保存 的曾为该用户提供服务的旧的 S-CSCF 发起注销流程, 就用新的 S-CSCF名称覆盖了旧的 S-CSCF的名称, 并解决了由此带来的相应 问题, 如网络侧继续处理大量冗余信息, 或业务出错等问题。  So far, in the case of the S-CSCF update, it is avoided that the HSS has not notified the locally saved old S-CSCF that has served the user to initiate the logout process, and overwrites the old S- with the new S-CSCF name. The name of the CSCF, and solve the corresponding problems, such as the network side continues to deal with a lot of redundant information, or business errors.
针对以上两个实施例, 如果 HSS 判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF的名称相同, 且本地保存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则 清除该已设置的标识, 然后按照现有正常流程继续后续处理; 如果 HS S判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该用 户服务的 S-CSCF的名称不同,且本地保存的为该用户服务的 S-CSCF 未被标识为可能会被修改, 则 HSS 报错, 然后按照现有的出错流程 继续后续处理;如果 HSS判断出请求用户描述信息的 S-CSCF的名称 与本地保存的为该用户服务的 S-CSCF的名称相同, 且本地保存的为 该用户服务的 S-CSCF未被标识为可能会被修改, 则按照现有正常流 程继续后续处理。  For the above two embodiments, if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and the locally saved S-CSCF serving the user has been If it is identified as likely to be modified, the set identifier is cleared, and then the subsequent processing is continued according to the existing normal process; if the HS S determines the name of the S-CSCF requesting the user description information and the locally saved service for the user If the name of the S-CSCF is different, and the locally saved S-CSCF serving the user is not identified as likely to be modified, the HSS reports an error and then continues the subsequent processing according to the existing error procedure; if the HSS determines the requesting user description The name of the S-CSCF of the information is the same as the name of the S-CSCF that is locally saved for the user service, and the locally saved S-CSCF serving the user is not identified as likely to be modified, according to the existing normal process. Continue to follow up.
对于上述判断, HSS可以首先判断请求用户描述信息的 S-CSCF 的名称与本地保存的为该用户服务的 S-CSCF的名称是否相同, 再判 断本地保存的为该用户服务的 S-CSCF 是否已被标识为可能会被修 改; 也可以首先判断本地保存的为该用户服务的 S-CSCF是否已被标 识为可能会被修改, 再判断请求用户描述信息的 S-CSCF的名称与本 地保存的为该用户服务的 S-CSCF的名称是否相同。  For the above judgment, the HSS may first determine whether the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and then determine whether the locally saved S-CSCF serving the user has been It is identified as being possible to be modified; it may also be first determined whether the locally saved S-CSCF serving the user has been identified as likely to be modified, and then the name of the S-CSCF requesting the user description information is locally saved as Whether the name of the S-CSCF of the user service is the same.
在以上所述实施例中, HSS是根据接收到的来自 S-CSCF的请求 用户描述信息的消息, 判断请求用户描述信息的 S-CSCF的名称与本 地保存的为该用户服务的 S-CSCF的名称是否相同, 来判断 S-CSCF 是否已更新, 在具体实现时, 也可以采用其他的方式来判断 S-CSCF 是否已更新, 比如, HSS 通过检查是否接收到来自 I-CSCF 的更新 S-CSCF的通知, 来判断 S-CSCF是否已更新, 即如果 HSS接收到来 自 I-CSCF的更新 S-CSCF的通知,则确认 S-CSCF已更新,否则 HSS 认为 S-CSCF未更新。 以避免 I-CSCF重新选择的 S-CSCF和原来保存的旧 S-CSCF一样而 造成额外的交互过程, 同时, 由于为可能被更新的 S-CSCF设置了可 能会被修改的标识, 因而能够将 S-CSCF的更新和处理中可能出现的 错误情况加以区分。 In the above-mentioned embodiment, the HSS is based on the received message requesting user description information from the S-CSCF, and determines the name and the name of the S-CSCF requesting the user description information. The name of the S-CSCF that is saved for the user is the same, to determine whether the S-CSCF has been updated. In the specific implementation, other methods can be used to determine whether the S-CSCF has been updated. For example, the HSS passes the check. Whether the notification of the update S-CSCF from the I-CSCF is received to determine whether the S-CSCF has been updated, that is, if the HSS receives the notification of the update S-CSCF from the I-CSCF, it is confirmed that the S-CSCF has been updated, otherwise HSS believes that the S-CSCF has not been updated. The S-CSCF that avoids the I-CSCF reselection causes the same interaction process as the original S-CSCF saved. At the same time, since the S-CSCF that may be updated is set with an identifier that may be modified, it is possible to The S-CSCF is differentiated from the error conditions that may occur in the processing.
针对上述所有实施例, 如果 HSS已经为某个 S-CSCFo设置了可 能被修改的标识, 且在清除该可能被修改的标识之前这段时间内, 某 个 I-CSCF收到某用户作为被叫的呼叫请求, 且该作为被叫的用户是 由所述 S-CSCFo为其服务的, 则当处理该'呼叫请求的某个 I-CSCF向 HSS查询当前为该用户服务的 S-CSCF时, HSS可以根据已设置的可 能被修改的标识, 决定暂时挂起这个查询请求直到从某个 S-CSCF来 的 CX-Put或 CX-Pull消息即确定 S-CSCFn后, 直接返回当前为该用 户服务的 S-CSCFn, 这个过程可能使时延稍大一点点, 但其还是在可 以接受的范围内。 而且, 这样可以进一步保证在新旧 S-CSCF交替阶 段内, 用户作为被叫的正常操作。  For all of the above embodiments, if the HSS has set an identifier that may be modified for a certain S-CSCFo, and before the clearing of the possibly modified identifier, an I-CSCF receives a certain user as the called party. Call request, and the user who is called is served by the S-CSCFo, when an I-CSCF that processes the 'call request queries the HSS for the S-CSCF currently serving the user, The HSS may decide to temporarily suspend the query request according to the set identifier that may be modified until the CX-Put or CX-Pull message from an S-CSCF determines the S-CSCFn, and directly returns the current service to the user. The S-CSCFn, this process may make the delay slightly larger, but it is still within acceptable limits. Moreover, this can further ensure that the user operates normally as a called party in the alternating phase of the old and new S-CSCF.
上述处理该呼叫请求的 I-CSCF与前述各个实施例中需要执行重 新选择 S-CSCF操作的 I-CSCF可以是同一个 I-CSCF, 也可以是不同 的 I-CSCF。 上述处理中的 S-CSCFo 和 S-CSCFn 可能是同一个 S-CSCF, 也可能是不同的 S-CSCF。 进一步地, 可再设置一用于被叫挂起的定时器, 当所述查询请求 被挂起时立即启动该定时器, 如果到达预设的定时时间后, 该查询请 求仍然处于挂起状态, 就强行拆断该查询请求, 以避免由于该查询请 求长时间处于被挂起的状态而导致的用户满意度下降, 系统资源浪费 等问题。 The I-CSCF that processes the call request and the I-CSCF that needs to perform the reselection S-CSCF operation in the foregoing various embodiments may be the same I-CSCF or different I-CSCFs. The S-CSCFo and S-CSCFn in the above processing may be the same S-CSCF or different S-CSCFs. Further, a timer for the suspended call may be further set, and the timer is started immediately when the query request is suspended, and if the preset timing time is reached, the query request is still in a suspended state. The query request is forcibly disconnected to avoid problems such as a decrease in user satisfaction and a waste of system resources due to the query request being suspended for a long time.
另外, 也可以在 HSS接收到来自 I-CSCF的查询信息, 判断出需 要 I-CSCF重新选择 S-CSCF后, 直接通知本地保存的为该用户服务 的 S-CSCF发起注销流程, 然后再按照没有保存 S-CSCF名称的处理 来完成后续操作。 这样虽然可能会增加一些额外流程, 但对现有系统 几乎不需要改动, 与现有系统的兼容性更好。  In addition, after the HSS receives the query information from the I-CSCF, it is determined that the I-CSCF needs to reselect the S-CSCF, and directly notifies the locally saved S-CSCF that serves the user to initiate the logout process, and then presses no. The process of saving the S-CSCF name is completed to complete the subsequent operations. This may add some extra processes, but it requires little change to existing systems and is more compatible with existing systems.
图 3所示为应用本发明的实施例三的流程图。 在本实施例中, 用 户执行注册操作, 将原有为该用户提供服务的旧 S-CSCF 记作 S-CSCFo, 将 I-CSCF重新选择后的新 S-CSCF记作 S-CSCFn。  Fig. 3 is a flow chart showing the third embodiment to which the present invention is applied. In this embodiment, the user performs a registration operation, and the old S-CSCF that originally provided the service for the user is referred to as S-CSCFo, and the new S-CSCF that is reselected by the I-CSCF is referred to as S-CSCFn.
步骤 301〜步骤 302, 用户发起注册, 该注册请求 (REGISTER ) 经用户代理设备( UA, user agent ) 及 P-CSCF转发至 I-CSCF。  Step 301 to step 302, the user initiates registration, and the registration request (REGISTER) is forwarded to the I-CSCF by the user agent device (UA, user agent) and the P-CSCF.
步骤 303 , 1-CSCF向 HSS发送 UAR( User-Authorization-Request ) 消息,具体的,在 I-CSCF和 HSS之间的 Cx接口上的消息为 Cx-Query 或 Cx-Select-Pull消息。  Step 303: The 1-CSCF sends a UAR (User-Authorization-Request) message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or a Cx-Select-Pull message.
步骤 304, HSS判断出需要 I-CSCF重新选择 S-CSCF后, 发送 RTR ( Registration-Termination-Request ) 消息给 S-CSCFo, 具体的, 在 HSS和 S-CSCFo之间的 Cx接口上的消息为 Cx-Deregister, 以通 知 S-CSCFo发起注销流程, 在该注销通知中包括注销原因, 该注销 原因可以是分配了新的服务器( NEW—SERVER—ASSIGNED ) , 也可 以是服务器改变( SERVER_CHANGE ) , 也可以是其他的注销原因, 总之, 并不限定具体的注销原因。 HSS根据来自 I-CSCF的查询信息中指示重新选择 S-CSCF的信 息判断出需要 I-CSCF重新选择 S-CSCF,或者,根据自身保存的用户 签约信息的变化, 判断出需要 I-CSCF重新选择 S-CSCF。 Step 304: After determining that the I-CSCF needs to reselect the S-CSCF, the HSS sends an RTR (Registration-Termination-Request) message to the S-CSCFo. Specifically, the message on the Cx interface between the HSS and the S-CSCFo is Cx-Deregister, to notify S-CSCFo to initiate the logout process, including the reason for the logout in the logout notification, which may be assigned a new server (NEW_SERVER_ASSIGNED) or a server change (SERVER_CHANGE), It can be other reasons for cancellation. In short, the specific reason for cancellation is not limited. The HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or determines that the I-CSCF needs to be reselected according to the change of the user subscription information saved by itself. S-CSCF.
步骤 305 , S-CSCFo接收到上述信息后, 执行与注销相关的业务 控制, 更新本地信息, 同时, 该 S-CSCFo触发与该用户的后续业务 终止的操作。  Step 305: After receiving the foregoing information, the S-CSCFo performs service control related to the logout, and updates the local information. At the same time, the S-CSCFo triggers the operation of terminating the subsequent service with the user.
步 骤 306 , S-CSCFo 给 HSS 返 回 RTA Step 306, S-CSCFo returns RTA to HSS
( Registration-Termination- Answer ) 消息, 具体的, 在 S-CSCFo 和 HSS之间的 Cx接口上的消息为 Cx-Deregister Resp, 给 HSS返回注 销响应, 结束此次注销流程。 (Registration-Termination- Answer) message, specifically, the message on the Cx interface between the S-CSCFo and the HSS is Cx-Deregister Resp, which returns a logout response to the HSS, and ends the logout process.
步骤 307, HSS清除本地保存的 S-CSCFo的名称, HSS给 I-CSCF 返回 UAA ( User-Authorization- Answer ) 消息, 具体的, 在 I-CSCF 和 HSS之间的 Cx接口上的消息为 Cx-Query Resp或 Cx-Select-Pull Resp消息,该消息中包含满足用户最严格业务签约要求的 S-CSCF能 力信息。  Step 307: The HSS clears the name of the locally saved S-CSCFo, and the HSS returns a UAA (User-Authorization-Answer) message to the I-CSCF. Specifically, the message on the Cx interface between the I-CSCF and the HSS is Cx- Query Resp or Cx-Select-Pull Resp message, which contains S-CSCF capability information that meets the most stringent service subscription requirements of the user.
步骤 308, I-CSCF从满足用户最严格业务签约要求的 S-CSCF能 力信息中重新选择一个 S-CSCF, 并获取该新的 S-CSCF即 S-CSCFn 的地址。  Step 308: The I-CSCF reselects an S-CSCF from the S-CSCF capability information that meets the strictest service subscription requirement of the user, and obtains the address of the new S-CSCF, that is, the S-CSCFn.
步骤 309, I-CSCF将 Register消息发送给 S-CSCFn, 即新选择的 S-CSCF。  Step 309, the I-CSCF sends a Register message to the S-CSCFn, that is, the newly selected S-CSCF.
步骤 310, S-CSCFn发送 MAR ( Multimedia- Authentication-Request ) 消息给 HSS,请求用户描述信息以进行鉴权,具体的,在 S-CSCFn和 HSS 之间的 Cx接口上的消息为 Cx-AuthDataReq。  Step 310: The S-CSCFn sends a MAR (Multimedia-Authentication-Request) message to the HSS, requesting the user to describe the information for authentication. Specifically, the message on the Cx interface between the S-CSCFn and the HSS is Cx-AuthDataReq.
步驟 311 , 根据用户标识查询 S-CSCFn需要的用户描述信息。 步骤 312, HSS发送 MAA ( Multimedia-Authentication-Answer ) 消息给 S-CSCFn, 具体的, 在 HSS和 S-CSCFn之间的 Cx接口上的 消息为 Cx-AuthDataResp。 Step 311: Query, according to the user identifier, user description information required by the S-CSCFn. Step 312, the HSS sends a MAA (Multimedia-Authentication-Answer) The message is sent to the S-CSCFn. Specifically, the message on the Cx interface between the HSS and the S-CSCFn is Cx-AuthDataResp.
步骤 313〜步驟 315 , S-CSCFn接收到上述消息后, 给用户发送 Unauthorised消息, 通知用户重新进行注册, 该消息中包含鉴权矢量 信息等信息, 该消息经 I-CSCF和 P-CSCF的转发到达用户。  Step 313 to step 315, after receiving the message, the S-CSCFn sends an Unauthorised message to the user, and notifies the user to re-register, the message includes information such as authentication vector information, and the message is forwarded by the I-CSCF and the P-CSCF. Reach the user.
步骤 316〜步驟 317, 用户重新发起注册请求, P-CSCF 将该 REGISTER消息转发给 I-CSCF。  Step 316 to step 317, the user re-initiates the registration request, and the P-CSCF forwards the REGISTER message to the I-CSCF.
步骤 318〜步骤 319 , I-CSCF向 HSS发送 UAR消息, 具体的, 在 I-CSCF 和 HSS 之间的 Cx 接口上的消息为 Cx-Query 或 Cx-Select-Pull消息; HSS给 I-CSCF返回 UAA消息,具体的,在 I-CSCF 和 HSS之间的 Cx接口上的消息为 Cx-Query Resp或 Cx-Select-Pull Resp消息。 此时, 由于之前已经确定由 S-CSCFn为该用户提供服务, 因此, HSS向 I-CSCF返回的消息中只包含 S-CSCFn的名称。  Step 318 to step 319, the I-CSCF sends a UAR message to the HSS. Specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query or Cx-Select-Pull message; the HSS returns to the I-CSCF. The UAA message, specifically, the message on the Cx interface between the I-CSCF and the HSS is a Cx-Query Resp or Cx-Select-Pull Resp message. At this time, since it has been determined that the S-CSCFn is serving the user, the message returned by the HSS to the I-CSCF includes only the name of the S-CSCFn.
步骤 320, I-CSCF将 Register消息发送给 S-CSCFn。  Step 320: The I-CSCF sends a Register message to the S-CSCFn.
步骤 321〜步驟 322, S-CSCFn执行授权( Authentication ) 操作, 之后, 向 HSS发送 SAR ( Server-Assignment-Request )消息 , 具体的, 在 S-CSCFn和 HSS之间的 Cx接口上的消息为 Cx-Put 或 Cx-Pull, 以请求用户描述信息。  Steps 321 to 322, the S-CSCFn performs an Authentication operation, and then sends a SAR (Server-Assignment-Request) message to the HSS. Specifically, the message on the Cx interface between the S-CSCFn and the HSS is Cx. -Put or Cx-Pull to request user description information.
步骤 323 , HSS 返回 SAA ( Server- Assignment- Answer ) 消息给 S-CSCFn, 具体的, 在 HSS和 S-CSCFn之间的 Cx接口上的消息为 Cx-Put Resp 或 Cx-Pull Resp。  Step 323: The HSS returns a SAA (Server- Assignment- Answer) message to the S-CSCFn. Specifically, the message on the Cx interface between the HSS and the S-CSCFn is Cx-Put Resp or Cx-Pull Resp.
步骤 324~步骤 326, S-CSCFn给 UA返回注册成功的消息, 该消 息经 I-CSCF和 P-CSCF转发至 UA。  Step 324~ Step 326, the S-CSCFn returns a message of successful registration to the UA, and the message is forwarded to the UA via the I-CSCF and the P-CSCF.
至此, 避免了 HSS 还未通知本地保存的曾为该用户提供服务的 旧的 S-CSCF 发起注销流程, 就用新的 S-CSCF 名称覆盖了旧的 S-CSCF的名称, 并解决了由此带来的相应问题, 如网络侧继续处理 大量冗余信息, 或业务出错等问题。 At this point, it avoids that the old S-CSCF that has not yet notified the locally saved service that has served the user initiates the logout process, and overwrites the old one with the new S-CSCF name. The name of the S-CSCF, and solves the corresponding problems caused by it, such as the network side continues to process a large amount of redundant information, or business errors.
当然, 如果用户未注册但签约了与未注册状态相关的业务, 且作 为被叫, 则当被叫归属网络中的 I-CSCF接收到 INVITE请求后, 其 处理过程与上述类似, 即 HSS判断出需要 I-CSCF重新选择 S-CSCF 后 , 直接发送 RTR ( Registration-Termination-Request ) 消息给 S-CSCFo,通知 S-CSCFo执行注销流程,之后的处理方式与现有技术 相同, 在此不再重复说明。  Of course, if the user does not register but subscribes to the service related to the unregistered state, and as the called party, when the I-CSCF in the called home network receives the INVITE request, the processing procedure is similar to the above, that is, the HSS determines that After the S-CSCF is re-selected by the I-CSCF, the RTR (Registration-Termination-Request) message is sent to the S-CSCFo to notify the S-CSCFo to perform the logout process. The subsequent processing is the same as the prior art, and is not repeated here. Description.
本发明还提供了两种用于确定发起注销流程的时机系统。  The present invention also provides two timing systems for determining the initiation of the logout process.
一种是, 所述系统至少包括用户归属网络服务器 HSS, 查询呼叫 状态控制功能实体 I-CSCF和服务呼叫状态控制功能实体 S-CSCF ,且 所述 HSS 内包括用于执行注销流程的注销模块, 该系统还包括用于 为 S-CSCF设置可能被修改标识的标识设置模块,  For example, the system includes at least a user home network server HSS, an inquiry call state control function entity I-CSCF and a service call state control function entity S-CSCF, and the HSS includes a logout module for executing a logout process, The system also includes an identity setting module for setting an identifier that may be modified for the S-CSCF,
在 HSS判断出需要查询呼叫状态控制功能实体 I-CSCF重新选择 为某个用户提供服务的服务呼叫状态控制功能实体 S-CSCF后, 触发 标识设置模块, 由该标识设置模块为本地保存的已为该用户提供服务 的 S-CSCF设置表明该 S-CSCF可能会被修改的标识;  After the HSS determines that the call state control function entity I-CSCF needs to reselect the service call state control function entity S-CSCF that provides service for a certain user, the identifier setting module is triggered, and the identifier setting module is locally saved. The S-CSCF setting of the user-provided service indicates an identifier that the S-CSCF may be modified;
HSS检查到所述 S-CSCF已更新, 且本地保存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则 HSS再次触发标识设置模块, 由该标识设置模块清除该已设置的标识, 通知 HSS 内的注销模块, 由注销模块对本地保存的为该用户服务的 S-CSCF发起注销流程。  The HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as being likely to be modified, and the HSS triggers the identifier setting module again, and the identifier setting module clears the set The identification, notifying the logout module in the HSS, the logout module initiates a logout process to the locally saved S-CSCF serving the user.
如果 HSS检查到所述 S-CSCF未更新,且本地保存的为该用户服 务的 S-CSCF已被标识为可能会被修改,则 HSS再次触发标识设置模 块, 由该标识设置模块清除该已设置的标识。  If the HSS checks that the S-CSCF is not updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, the HSS triggers the identity setting module again, and the identity setting module clears the set Logo.
如果 HSS检查到所述 S-CSCF已更新,且本地保存的为该用户服 务的 S-CSCF未被标识为可能会被修改,则 HSS触发自身中已存在的 报错模块, 由该报错模块执行出错的处理流程。 If the HSS checks that the S-CSCF has been updated, and the locally saved is the user service The S-CSCF of the service is not identified as being likely to be modified, and the HSS triggers an error module that already exists in itself, and the error module performs an error processing flow.
如果 HSS检查到所述 S-CSCF未更新,且本地保存的为该用户服 务的 S-CSCF未被标识为可能会被修改, 则此时的情况与现有实现方 式完全相同, 也即完全按照现有方式进行处理。  If the HSS detects that the S-CSCF is not updated, and the locally saved S-CSCF serving the user is not identified as likely to be modified, then the situation at this time is exactly the same as the existing implementation, that is, completely Existing methods are processed.
另一种是, 所述系统至少包括用户归属网络服务器 HSS , 查询呼 叫状态控制功能实体 I-CSCF和服务呼叫状态控制功能实体 S-CSCF, 且所述 HSS内包括用于执行注销流程的注销模块,  In another example, the system includes at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity S-CSCF, and the HSS includes a logout module for performing a logout process. ,
在 HSS判断出需要 I-CSCF重新选择 S-CSCF后,通知注销模块, 由注销模块对本地保存的为该用户服务的 S-CSCF发起注销流程。  After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the logout module that the logout module initiates a logout process for the locally saved S-CSCF serving the user.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are included in the spirit and scope of the present invention, should be included in the present invention. Within the scope of protection.

Claims

权利要求书 Claim
1、 一种确定发起注销流程的时机的方法 , 其特征在于, 该方法包 括以下步骤: A method for determining an opportunity to initiate a logout process, the method comprising the steps of:
在用户归属网络服务器 HSS 判断出需要查询呼叫状态控制功能实 体 I-CSCF重新选择为某个用户提供服务的服务呼叫状态控制功能实体 S-CSCF后, 为本地保存的已为该用户提供服务的 S-CSCF设置表明该 S-CSCF可能会被修改的标识;  After the user home network server HSS determines that the call state control function entity I-CSCF needs to reselect the service call state control function entity S-CSCF that provides service for a certain user, the locally saved S that has served the user - the CSCF setting indicates the identity that the S-CSCF may be modified;
HSS检查所述 S-CSCF是否已更新, 且本地保存的为该用户服务的 S-CSCF是否已被标识为可能会被修改,如果 S-CSCF已更新,且本地保 存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则 HSS清除该 已设置的标识,通知本地保存的为该用户服务的 S-CSCF发起注销流程。  The HSS checks whether the S-CSCF has been updated, and whether the locally saved S-CSCF serving the user has been identified as likely to be modified if the S-CSCF has been updated and the locally saved S serviced for the user - The CSCF has been identified as likely to be modified, and the HSS clears the set identity and notifies the locally saved S-CSCF serving the user to initiate the logout process.
2、根据权利要求 1所述的方法,其特征在于,所述 HSS检查 S-CSCF 是否已更新的方法为:  The method according to claim 1, wherein the method for checking whether the S-CSCF has been updated by the HSS is:
当 HSS接收到来自 S-CSCF的请求用户描述信息的消息,判断请求 用户描述信息的 S-CSCF的名称与本地保存的为该用户服务的 S-CSCF 的名称是否相同,如果名称不同,则 S-CSCF已更新,如果相同则 S-CSCF 未更新。  When the HSS receives a message requesting user description information from the S-CSCF, it is determined whether the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, and if the names are different, then S -CSCF has been updated, if the same, the S-CSCF is not updated.
3、 根据权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该 用户服务的 S-CSCF的名称相同,且本地保存的为该用户服务的 S-CSCF 已被标识为可能会被修改, 则清除该已设置的标识, 然后按照现有正常 流程继续后续处理。  3. The method according to claim 2, wherein the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, And the locally saved S-CSCF serving the user has been identified as likely to be modified, then the set identifier is cleared, and then the subsequent processing is continued according to the existing normal process.
4、 根据权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该 用户服务的 S-CSCF的名称不同,且本地保存的为该用户服务的 S-CSCF 未被标识为可能会被修改, 则 HSS报错, 然后按照现有的出错流程继续 后续处理。 The method according to claim 2, wherein the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is locally saved as the The name of the S-CSCF of the user service is different, and the locally saved S-CSCF serving the user is not identified as being likely to be modified, the HSS reports an error, and then the subsequent processing is continued according to the existing error procedure.
5、 据权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 如果 HSS判断出请求用户描述信息的 S-CSCF的名称与本地保存的为该 用户服务的 S-CSCF的名称相同,且本地保存的为该用户服务的 S-CSCF 未被标识为可能会被修改, 则按照现有正常流程继续后续处理。  5. The method of claim 2, wherein the method further comprises: if the HSS determines that the name of the S-CSCF requesting the user description information is the same as the name of the locally saved S-CSCF serving the user, If the locally saved S-CSCF serving the user is not identified as likely to be modified, the subsequent processing is continued according to the existing normal process.
6、 根据权利要求 2、 3、 4或 5所述的方法, 其特征在于, 所述 HSS 首先判断请求用户描述信息的 S-CSCF的名称与本地保存的为该用户服 务的 S-CSCF 的名称是否相同, 再判断本地保存的为该用户服务的 S-CSCF是否已被标识为可能会被修改, 或者,  6. The method according to claim 2, 3, 4 or 5, wherein the HSS first determines the name of the S-CSCF requesting the user description information and the name of the S-CSCF locally saved for the user service. Whether it is the same, and then determine whether the locally saved S-CSCF serving the user has been identified as likely to be modified, or
所述 HSS首先判断本地保存的为该用户服务的 S-CSCF是否已被标 识为可能会被修改, 再判断请求用户描述信息的 S-CSCF的名称与本地 保存的为该用户服务的 S-CSCF的名称是否相同。  The HSS first determines whether the locally saved S-CSCF serving the user has been identified as likely to be modified, and then determines the name of the S-CSCF requesting the user description information and the locally saved S-CSCF serving the user. Is the name the same?
7、根据权利要求 1 所述的方法,其特征在于,所述 HSS检查 S-CSCF 是否已更新的方法为: HSS检查是否接收到来自 I-CSCF的更新 S-CSCF 的通知, 如果接收到该通知则 S-CSCF已更新, 否则 S-CSCF未更新。  The method according to claim 1, wherein the method for the HSS to check whether the S-CSCF has been updated is: the HSS checks whether a notification of the updated S-CSCF from the I-CSCF is received, if the The notification is updated by the S-CSCF, otherwise the S-CSCF is not updated.
8、 根据权利要求 1所述的方法, 其特征在于, 该方法进一步包括: 在 HSS已经为某个 S-CSCF设置了可能被修改的标识之后, 清除该可能 被修改的标识之前这段时间内, 如果某个 I-CSCF 收到由所述 S-CSCF 提供服务的用户作为被叫的呼叫请求, 则当处理该呼叫请求的某个 I-CSCF向 HSS查询当前为该用户服务的 S-CSCF时, HSS暂时挂起该 查询请求直到确定当前为该用户提供服务的 S-CSCF后, 直接返回当前 为该用户服务的 S-CSCF。  8. The method according to claim 1, wherein the method further comprises: after the HSS has set an identifier that may be modified for an S-CSCF, before the identifier that may be modified is cleared. If an I-CSCF receives a call request from a user served by the S-CSCF as a called party, when an I-CSCF that processes the call request queries the HSS for an S-CSCF currently serving the user When the HSS temporarily suspends the query request until it determines the S-CSCF currently serving the user, it directly returns the S-CSCF currently serving the user.
9、 根据权利要求 8 所述的方法, 其特征在于, 所述处理该呼叫请 求的某个 I-CSCF与需要执行重新选择 S-CSCF操作的 I-CSCF是同一个 I-CSCF或不同的 I-CSCF。 9. The method according to claim 8, wherein the processing the call please A certain I-CSCF is the same I-CSCF or a different I-CSCF than the I-CSCF that needs to perform the reselection of the S-CSCF operation.
10、 居权利要求 8所述的方法, 其特征在于, 当 HSS接收到来自 S-CSCF的 CX-Put或 CX-Pull消息后, 确定该 S-CSCF即为当前为该用 户提供服务的 S-CSCF。  10. The method of claim 8, wherein after the HSS receives the CX-Put or CX-Pull message from the S-CSCF, determining that the S-CSCF is the S- currently serving the user. CSCF.
11、 居权利要求 8所述的方法,其特征在于, 该方法进一步包括: 预设用于被叫挂起的定时器, 当所述查询请求被挂起后启动该定时器, 如果到达预设的定时时间后, 该查询请求仍然处于挂起状态 , 则强行拆 断该查询请求。  11. The method of claim 8, wherein the method further comprises: presetting a timer for the suspended call, starting the timer when the query request is suspended, if the preset is reached After the timed time, the query request is still in a suspended state, and the query request is forcibly broken.
12、 居权利要求 1所述的方法, 其特征在于, 所述表明 S-CSCF 可能会被修改的标识为标志位。  12. The method of claim 1, wherein the identifier indicating that the S-CSCF may be modified is a flag bit.
13、 根据权利要求 1所述的方法, 其特征在于,  13. The method of claim 1 wherein:
所述通知本地保存的为该用户服务的 S-CSCF发起注销流程的信息 中包含注销原因;  The information that the locally saved S-CSCF that initiates the logout process for the user initiates the logout process includes a logout reason;
该方法进一步包括: 本地保存的为该用户服务 S-CSCF根据接收到 注销通知中的注销原因, 执行与注销相关的业务控制, 更新本地信息, 之后给 HSS返回注销响应;  The method further includes: locally saving the user service. The S-CSCF performs service control related to the logout according to the logout reason in the received logout notification, updates the local information, and then returns a logout response to the HSS;
所述 HSS接收到注销响应后, 用请求用户描述信息的 S-CSCF的名 称覆盖本地保存的为该用户服务的 S-CSCF的名称, 然后按照现有正常 流程继续后续处理。  After receiving the logout response, the HSS overwrites the locally saved S-CSCF name for the user with the name of the S-CSCF requesting the user description information, and then continues the subsequent processing according to the existing normal procedure.
14、根据权利要求 1所述的方法,其特征在于, HSS根据来自 I-CSCF 的查询信息中指示重新选择 S-CSCF的信息判断出 I-CSCF需要重新选择 S-CSCF, 或者, HSS根据自身保存的用户签约信息的变化, 判断出需要 I-CSCF重新选择 S-CSCF。  The method according to claim 1, wherein the HSS determines that the I-CSCF needs to reselect the S-CSCF according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, or the HSS according to itself The change of the saved user subscription information determines that the I-CSCF needs to reselect the S-CSCF.
15、 4艮据权利要求 1所述的方法, 其特征在于, 所述注销原因为分 配了新的服务器 NEW— SERVER— ASSIGNED , 或设为服务器改变 SERVER— CHANGE。 15. The method according to claim 1, wherein the reason for the cancellation is Equipped with a new server NEW_SERVER_ASSSIGNED, or set to server to change SERVER_CHANGE.
16、 根据权利要求 1所述的方法, 其特征在于, 所述 HSS接收到来 自 I-CSCF的用户注册状态查询消息 (Cx-Query或 Cx-Select-Pull ), 或 用户位置查询消息( Cx-Location-Query )后, 执行判断是否需要 I-CSCF 重新选择 S-CSCF的操作。  16. The method according to claim 1, wherein the HSS receives a user registration status query message (Cx-Query or Cx-Select-Pull) from the I-CSCF, or a user location query message (Cx- After Location-Query, it performs an operation to determine whether the I-CSCF needs to reselect the S-CSCF.
17、 一种确定发起注销流程的时机的方法, 其特征在于, 该方法包 括以下步骤:  17. A method of determining an opportunity to initiate a logout process, the method comprising the steps of:
在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 通知本地保存的 为该用户服务的 S-CSCF发起注销流程。  After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the locally saved S-CSCF serving the user to initiate the logout process.
18、根据权利要求 17所述的方法,其特征在于, HSS根据来自 I-CSCF 的查询信息中指示重新选择 S-CSCF的信息判断出 I-CSCF需要重新选择 S-CSCF, 或者, HSS 自身保存的用户签约信息的变化, 判断出需要 I-CSCF重新选择 S-CSCF。  The method according to claim 17, wherein the HSS determines, according to the information indicating the reselection of the S-CSCF in the query information from the I-CSCF, that the I-CSCF needs to reselect the S-CSCF, or the HSS saves itself. The change of the user subscription information determines that the I-CSCF needs to reselect the S-CSCF.
19、 根据权利要求 17所述的方法, 其特征在于,  19. The method of claim 17 wherein:
所述通知本地保存的为该用户服务的 S-CSCF发起注销流程的信息 中包含注销原因;  The information that the locally saved S-CSCF that initiates the logout process for the user initiates the logout process includes a logout reason;
该方法进一步包括: 本地保存的为该用户服务 S-CSCF根据接收到 注销通知中的注销原因, 执行与注销相关的业务控制, 更新本地信息, 之后给 HSS返回注销响应;  The method further includes: locally saving the user service. The S-CSCF performs service control related to the logout according to the logout reason in the received logout notification, updates the local information, and then returns a logout response to the HSS;
所述 HSS接收到注销响应后, 清除本地保存的 S-CSCF名称, 然后 给 I-CSCF返回满足用户最严格业务签约要求的 S-CSCF能力信息,再按 照本地没有保存 S-CSCF名称的处理流程继续后续操作。  After receiving the logout response, the HSS clears the locally saved S-CSCF name, and then returns the S-CSCF capability information that meets the strictest service subscription requirement of the user to the I-CSCF, and then processes the S-CSCF name locally. Continue to follow up.
20、 根据权利要求 17 所述的方法, 其特征在于, 所述注销原因为 分配了新的服务器 NEW— SERVER— ASSIGNED , 或设为服务器改变 SERVER_CHANGE。 20. The method according to claim 17, wherein the reason for the logout is that a new server NEW_SERVER_ASSIGNED is assigned, or is set to be changed by the server. SERVER_CHANGE.
21、 根据权利要求 17所述的方法, 其特征在于, 所述 HSS接收到 来自 I-CSCF的用户注册状态查询消息 (Cx-Query或 Cx- S elect-Pull ), 或用户位置查询消息( Cx-Location-Query )后,执行判断是否需要 I-CSCF 重新选择 S-CSCF的操作。  21. The method according to claim 17, wherein the HSS receives a user registration status query message (Cx-Query or Cx-S elect-Pull) from the I-CSCF, or a user location query message (Cx) After -Location-Query, it performs an operation to determine whether the I-CSCF needs to reselect the S-CSCF.
22、 一种用于实现权 1所述方法的系统, 用于确定发起注销流程的 时机, 至少包括用户归属网络服务器 HSS, 查询呼叫状态控制功能实体 I-CSCF和服务呼叫状态控制功能实体 S-CSCF,且所述 HSS内包括用于 执行注销流程的注销模块, 其特征在于, 该系统还包括用于为 S-CSCF 设置可能被修改标识的标识设置模块 ,  22. A system for implementing the method of claim 1, configured to determine an opportunity to initiate a logout process, comprising at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity S- a CSCF, and the logout module for performing a logout process is included in the HSS, wherein the system further includes an identifier setting module for setting an identifier that may be modified for the S-CSCF,
在 HSS判断出需要查询呼叫状态控制功能实体 I-CSCF重新选择为 某个用户提供服务的服务呼叫状态控制功能实体 S-CSCF后, 触发标识 设置模块, 由该标识设置模块为本地保存的已为该用户提供服务的 S-CSCF设置表明该 S-CSCF可能会被修改的标识;  After the HSS determines that the call state control function entity I-CSCF needs to reselect the service call state control function entity S-CSCF that provides service for a certain user, the identifier setting module is triggered, and the identifier setting module is locally saved. The S-CSCF setting of the user-provided service indicates an identifier that the S-CSCF may be modified;
HSS 检查到所述 S-CSCF 已更新, 且本地保存的为该用户服务的 S-CSCF已被标识为可能会被修改, 则 HSS再次触发标识设置模块, 由 该标识设置模块清除该已设置的标识, 通知 HSS内的注销模块, 由注销 模块对本地保存的为该用户服务的 S-CSCF发起注销流程。  The HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, and the HSS triggers the identity setting module again, and the identity setting module clears the set The identification, notifying the logout module in the HSS, the logout module initiates a logout process to the locally saved S-CSCF serving the user.
23、 根据权利要求 22所述的系统, 其特征在于, 如果 HSS检查到 所述 S-CSCF未更新, 且本地保存的为该用户服务的 S-CSCF已被标识 为可能会被修改, 则 HSS再次触发标识设置模块, 由该标识设置模块清 除该已设置的标识。  23. The system according to claim 22, wherein if the HSS checks that the S-CSCF is not updated, and the locally saved S-CSCF serving the user has been identified as likely to be modified, the HSS The identification setting module is triggered again, and the identified setting is cleared by the identification setting module.
24、 根据权利要求 23所述的系统, 其特征在于, 如果 HSS检查到 所述 S-CSCF已更新, 且本地保存的为该用户服务的 S-CSCF未被标识 为可能会被修改, 则 HSS触发自身中已存在的 4艮错模块, 由该 4艮错模块 执行出错的处理流程。 24. The system according to claim 23, wherein if the HSS checks that the S-CSCF has been updated, and the locally saved S-CSCF serving the user is not identified as likely to be modified, the HSS Triggering the existing 4 error module in the self, and the 4 error module The processing flow for executing an error.
25、 一种用于实现权 17 所述方法的系统, 用于确定发起注销流程 的时机, 该系统至少包括用户归属网络服务器 HSS, 查询呼叫状态控制 功能实体 I-CSCF和服务呼叫状态控制功能实体 S-CSCF, 且所述 HSS 内包括用于执行注销流程的注销模块, 其特征在于, 25. A system for implementing the method of claim 17, for determining a timing of initiating a logout process, the system comprising at least a user home network server HSS, an inquiry call state control function entity I-CSCF, and a service call state control function entity An S-CSCF, and the logout module for performing a logout process is included in the HSS, wherein
在 HSS判断出需要 I-CSCF重新选择 S-CSCF后, 通知注销模块, 由注销模块对本地保存的为该用户服务的 S-CSCF发起注销流程。  After the HSS determines that the I-CSCF needs to reselect the S-CSCF, it notifies the logout module that the logout module initiates a logout process for the locally saved S-CSCF serving the user.
PCT/CN2005/002142 2004-12-10 2005-12-09 A method and system for determining the time when the cancellation flow is initiated WO2006060965A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410098094 2004-12-10
CN200410098094.7 2004-12-10

Publications (1)

Publication Number Publication Date
WO2006060965A1 true WO2006060965A1 (en) 2006-06-15

Family

ID=36577670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/002142 WO2006060965A1 (en) 2004-12-10 2005-12-09 A method and system for determining the time when the cancellation flow is initiated

Country Status (1)

Country Link
WO (1) WO2006060965A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998011754A1 (en) * 1996-09-16 1998-03-19 Ericsson Inc. Using number portability database to solve call tromboning
WO2002073859A2 (en) * 2001-03-12 2002-09-19 Nokia Corporation Recovery techniques in mobile networks
WO2004036854A1 (en) * 2002-09-30 2004-04-29 Huawei Technologies Co., Ltd. The process method about the radio local area network user initiatively off-line when the radio local area network and the mobile communication system are communicating each other
WO2004086717A1 (en) * 2003-03-26 2004-10-07 Siemens Aktiengesellschaft Method for transmitting data in a data network comprising a plurality of computers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998011754A1 (en) * 1996-09-16 1998-03-19 Ericsson Inc. Using number portability database to solve call tromboning
WO2002073859A2 (en) * 2001-03-12 2002-09-19 Nokia Corporation Recovery techniques in mobile networks
WO2004036854A1 (en) * 2002-09-30 2004-04-29 Huawei Technologies Co., Ltd. The process method about the radio local area network user initiatively off-line when the radio local area network and the mobile communication system are communicating each other
WO2004086717A1 (en) * 2003-03-26 2004-10-07 Siemens Aktiengesellschaft Method for transmitting data in a data network comprising a plurality of computers

Similar Documents

Publication Publication Date Title
CA2552531C (en) A method for reducing interface load of home subscriber server
CN101971592B (en) Local session controller, ip multimedia subsystem and session registration method
US20070113086A1 (en) Method for selecting the authentication manner at the network side
WO2006136106A1 (en) A method and system for authenticating user terminal
WO2006010312A1 (en) A method of informing the capability change of the terminal to the network
WO2008052464A1 (en) A method and apparatus for implementing the disaster recovery of ip ims
WO2006136097A1 (en) A method for processing the register abnormality during the user register procedure
WO2006099815A1 (en) A method for implementing the user registering in the ip multimedia subsystem and the system thereof
WO2009036629A1 (en) Processing method after core network element restarting or recovering form failure
WO2008098459A1 (en) Method, system and means for applying ims communication service identifiers in a communication system
WO2007079688A9 (en) Method, apparatus and system for connecting the called user
CN100493227C (en) A method for processing users who update IP addresses on the network side
CN101563903A (en) Service Adaptation in IP Multimedia Subsystem Networks
CN105429988A (en) IMS registration method and IMS registration system based on multi-service
CN101489266B (en) IMS user stage controlling method and system based on signature data
WO2008116373A1 (en) A method for processing emergency service
CN101052054B (en) Method for keeping PS domain and IMS domain IP address cancel consistency
WO2006053502A1 (en) A method for ensuring the information consistency between the network nodes
WO2007041957A1 (en) Method and system for checking the name consistency of the serving call state control functions
WO2007090348A1 (en) A method, apparatus and system for checking the validity for globally routable user agent uri
WO2007045137A1 (en) A method of qos authorization
KR100703426B1 (en) Method and apparatus for enabling subscriber originating originating and incoming call in IP based multimedia subsystem
CN100562019C (en) Operation Processing Method and Home Subscriber Server in IP Multimedia Subsystem
CN100461953C (en) Method and system for determining when to initiate a deregistration process
WO2006133624A1 (en) A method for registering at the internet protocol multimedia subsystem

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05818806

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载