WO2013185479A1 - 一种对Diameter消息进行处理的方法、装置及*** - Google Patents

一种对Diameter消息进行处理的方法、装置及*** Download PDF

Info

Publication number
WO2013185479A1
WO2013185479A1 PCT/CN2013/070048 CN2013070048W WO2013185479A1 WO 2013185479 A1 WO2013185479 A1 WO 2013185479A1 CN 2013070048 W CN2013070048 W CN 2013070048W WO 2013185479 A1 WO2013185479 A1 WO 2013185479A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
diameter
control function
function entity
call session
Prior art date
Application number
PCT/CN2013/070048
Other languages
English (en)
French (fr)
Inventor
徐日东
张文革
黄泽旭
何跃军
罗伯强
侯前进
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2013185479A1 publication Critical patent/WO2013185479A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for processing a Diameter message.
  • a Home Subscriber Server HSS
  • CSCF Call Session Control Function
  • the HSS can determine whether the currently received Diameter message is the Diameter first message of the current service flow by using the session identifier carried in the Diamter message.
  • the CSCF sends a Diameter message carrying the session identifier to the HSS, and all the Diameter messages in the same service flow carry the same session identifier.
  • the HSS determines whether the session identifier carried in the Diameter message has been saved. Then, the HSS determines that the currently received Diameter message is not the Diameter first message of the current service flow; otherwise, the HSS determines that the currently received Diameter message is the Diameter first message of the current service flow, and saves the session identifier.
  • the HSS in the prior art needs to save the session identifier corresponding to the service flow, and when the overload processing is needed, to identify whether the currently received Diameter message is For the Diameter first message of the current service process, the HSS needs to determine whether the session identifier carried in the currently received Diameter message has been saved, thereby increasing the processing load of the HSS for overload processing.
  • an object of embodiments of the present invention is to provide a method, apparatus, and system for processing a Diameter message, so that when the HSS needs to perform overload processing, the processing load of the HSS for overload processing can be reduced.
  • the embodiment of the present invention provides a method for processing a Diameter message, including: a call session control function entity determining whether a Diameter message to be sent to a home subscriber server is a Diameter first message;
  • the call session control function entity sends a Diameter message carrying the first message identifier to the home subscriber server.
  • an embodiment of the present invention provides a method for processing a Diameter message, including: a home subscriber server receives a Diameter message sent by a call session control function entity; and the home subscriber server determines whether the first message is carried in the Diameter message. Identifying, if the Diameter message carries the first message identifier, the home subscriber server is configured to
  • the Diameter message is overloaded.
  • an embodiment of the present invention provides a call session control function entity, including a determining unit and a sending unit, where
  • the determining unit is configured to determine that the sending unit is to be sent to the home subscriber server
  • Diameter message is the first message of the Diameter
  • the sending unit is configured to: when the determining unit determines that the Diameter message to be sent to the home subscriber server is a Diameter first message, send a bearer to the home subscriber server Diameter message for the identity identifier.
  • an embodiment of the present invention provides a home subscriber server, including:
  • a receiving unit configured to receive a Diameter message sent by the call session control function entity, and a determining unit, configured to determine whether the Diameter message received by the receiving unit carries the first message identifier;
  • the overload processing unit is configured to perform overload processing on the Diameter message received by the receiving unit when the determining unit determines that the Diameter message received by the receiving unit carries the first message identifier.
  • an embodiment of the present invention provides a system for processing a Diameter message, including a call session control function entity and a home subscriber server, where:
  • the call session control function entity is configured to determine whether a Diameter message to be sent to the home subscriber server is a Diameter first message, and if yes, send a Diameter message carrying a first message identifier to the home subscriber server;
  • the home subscriber server is configured to receive a Diameter message sent by the call session control function entity, and determine whether the received Diameter message carries the first message identifier, and if yes, perform overload processing on the Diameter message.
  • the method, the device and the system for processing the Diameter message are provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter
  • the Diameter message carrying the first message identifier is sent to the HSS, so that the HSS
  • the overload processing it is possible to directly identify whether the received Diameter is a Diameter first message, thereby reducing the processing load of the HSS for overload processing.
  • FIG. 1 is a schematic diagram of a method for processing a Diameter message according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of another method for processing a Diameter message according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a system for processing a Diameter message according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a call session control function entity according to an embodiment of the present invention
  • FIG. 11 is a schematic structural diagram of a home subscriber server according to an embodiment of the present invention.
  • a schematic diagram of a method for processing a Diameter message includes: S101: The CSCF determines whether the Diameter message to be sent to the HSS is a Diameter first cancellation.
  • the IMS network adopts a home service control model, and the HSS and the entity accessing the HSS are located in the home network to which the user equipment belongs.
  • the HSS and the Interrogating-Call Session Control Function (I-CSCF) and the monthly service-call session control function entity (Serving- Call Session Control Function, the cylinder name: S-CSCF is located in the home network to which the user equipment belongs;
  • the CSCF and the HSS perform a Diameter message exchange through a Cx interface, where the Diameter message specifically refers to a message that is communicated by using a Diameter protocol; the Diameter first message specifically refers to the The first Diameter message of the current service flow received by the HSS through the Cx interface.
  • the first user authorization request message received by the HSS is the Diameter first message;
  • the CSCF may determine whether the Diameter message to be sent to the HSS is a Diameter first message in any of the following manners:
  • Manner 1 The CSCF receives a SIP (Session Initiation Protocol) message
  • the CSCF is an I-CSCF, when the I-CSCF initiates a logout process
  • the I-CSCF directly determines that a server allocation request (Server Assignment Request, SAR) message to be sent to the HSS is a Diameter first message;
  • the CSCF may receive the SIP message in any of the following manners before the CSCF determines, by using the received SIP message, whether the Diameter message to be sent to the HSS is a Diameter first message: Manner 1: The CSCF is an I-CSCF, and the I-CSCF receives a Register message sent by a Proxy-Call Session Control Function (P-CSCF);
  • P-CSCF Proxy-Call Session Control Function
  • the I-CSCF determines that a User Authorization Request (UAR) message to be sent to the HSS is a Diameter first message; if the registration message carries a response value, and the registration message carries an expired parameter If the value is not 0, the I-CSCF determines that the user authorization request message to be sent to the HSS is not a Diameter first message;
  • UAR User Authorization Request
  • the CSCF is an S-CSCF, and the S-CSCF receives a registration allowance sent by the I-CSCF, and the S-CSCF directly determines a multimedia authentication request to be sent to the HSS (Multimedia Authentication Request, The cartridge is called: MAR)
  • the message or server assignment request (Server Assignment Request, SAR) message is not the first message of Diameter;
  • the CSCF is an I-CSCF, and the I-CSCF receives a session invitation (Invite) message sent by the calling user equipment.
  • a session invitation Invite
  • the I-CSCF directly determines that a Location Information Request (LIR) message to be sent to the HSS is a Diameter first message;
  • LIR Location Information Request
  • the CSCF identifies, according to the currently executed service flow, whether the Diameter message to be sent to the HSS is a Diameter first message
  • the first message identifier is used to indicate that the Diameter message is the first Diameter message of the current service flow
  • the Diameter message sent by the HSS is determined to be a Diameter. After the first message, and sending the Diameter message carrying the first message identifier to the HSS, the HSS can directly identify the received Diameter first message, so that the HSS can reduce the processing load of the HSS when performing overload processing;
  • the CSCF may send a Diameter that carries an intermediate message identifier to the HSS, where the intermediate message is required to be described. Determining a Diameter intermediate message indicating that the Diameter message is a current service flow; wherein, if a Diameter message is not a Diameter first message, the Diameter message is a Diameter intermediate message;
  • the CSCF may construct the header or the attribute value pair in the Diameter message.
  • the CSCF may carry the first message identifier or the intermediate message identifier in the End-to-End Identifier parameter of the Diameter message header, or create a new attribute value pair in the Diameter message.
  • the Attribute Value Pair (AVP) carries the first message identifier or the intermediate message identifier in the created AVP.
  • the HSS may perform overload processing on the Diameter message in the following manner: The HSS directly discards the Diameter message.
  • a method for processing a Diameter message is provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the CSCF sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is overloaded.
  • the received Diameter is directly the Diameter first message, thereby reducing the processing load of the HSS for overload processing; in addition, the CSCF may determine that the HSS is to be sent according to the received SIP message. Whether the sent Diameter message is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • the HSS does not need to save the session identifier corresponding to the current business process, thereby saving storage resources.
  • the resource consumption of the first message of the Diameter is reduced by the HSS.
  • the CSCF can directly determine that the SAR message to be sent to the HSS is a Diameter first message, so that the CSCF can be based on the currently executed business process.
  • the Diameter first message is identified.
  • the HSS does not need to save the session identifier corresponding to the current service flow, thereby saving storage resources and reducing resource consumption of the HSS identifying Diameter first message. Again, the Diameter message to be sent in the CSCF.
  • a schematic diagram of a method for processing a Diameter message includes:
  • the HSS receives a Diameter message sent by the CSCF.
  • the HSS may receive the Diameter message sent by the CSCF in the following manner: In the first mode, the CSCF is an I-CSCF: the HSS receives a Diameter message sent by the I-CSCF;
  • the CSCF is an S-CSCF: the HSS receives a Diameter message sent by the S-CSCF;
  • the HSS passes between the I-CSCF or the S-CSCF.
  • the Cx interface performs Diameter message interaction
  • S202 The HSS determines whether the first message identifier is carried in the Diameter message.
  • the HSS may perform overload processing on the Diameter message in the following manner: The HSS discards the Diameter message, that is, the HSS does not have the Diameter message. Do any treatment;
  • the HSS may further send an overload response message to the CSCF, so that the CSCF learns that the Diameter message it sends has been discarded by the HSS;
  • the SCSF may forward the overload response message to the user equipment, so that the user can know that the system is currently in an overload state;
  • the HSS performs normal processing on the Diameter message; for example, by way of example and not limitation, if the HSS receives I- When the UAR message does not carry the first message identifier, the HSS processes the received UAR message and then sends the message to the I-CSCF. Send a User Authorization Answer (UAA) message.
  • UAA User Authorization Answer
  • FIG. 3 is a schematic diagram of a method for processing a Diameter message according to an embodiment of the present invention. The method is applied to a scenario where a user registers, and the method includes:
  • the user equipment (User Equipment, UE) sends a first registration (Register) message to the P-CSCF, where the value of the expired parameter (expired) carried by the first registration message is not 0;
  • the P-CSCF may be located in the home network to which the UE belongs, or may be located in the visited network to which the UE belongs.
  • the I-CSCF receives the first registration message sent by the P-CSCF.
  • the I-CSCF determines, according to the first registration message, that the information is to be sent to the HSS. Whether the Diameter message is a Diameter first message, if yes, step S304 is performed, otherwise, the I-CSCF directly sends the Diameter message to the HSS; in this step, the I-CSCF sends a Diameter to the HSS.
  • the message is a first UAR message;
  • the I-CSCF may determine whether the Diameter message to be sent to the HSS is a Diameter first message in the following manner:
  • the I-CSCF determines that the UAR message to be sent to the HSS is a Diameter first message; if the registration message received by the I-CSCF carries a response value, and the value of the expired parameter carried by the registration message is not 0. And the I-CSCF determines that the UAR message to be sent to the HSS is not a Diameter first message;
  • the I-CSCF determines that the first UAR message to be sent to the HSS is a Diameter first message; if the first registration message carries a response value, and the If the value of the expiration parameter carried in a registration message is not 0, the I-CSCF determines that the first UAR message to be sent to the HSS is not the first message;
  • the I-CSCF determines that the I-CSCF determines
  • the first UAR message sent to the HSS is a Diameter first message, and the I-CSCF will perform step S304;
  • the I-CSCF sends a first UAR message to the HSS, where the first UAR message carries a first message identifier.
  • step S305 If the HSS needs to perform overload processing, step S306 is performed, otherwise, step S308 is performed; S306: The HSS determines whether the first UAR message carries the first message identifier, and if yes, step S307 is performed, otherwise, step S308 is performed;
  • the HSS will perform step S307 because the first UAR message carries the first message identifier.
  • S307 The HSS performs overload processing on the received first UAR message.
  • the HSS may perform overload processing on the received first UAR message in the following manner:
  • the HSS discards the first UAR message
  • the HSS may further send an overload response message to the I-CSCF, so that the I-CSCF learns that the first UAR message it sends has been used by the HSS. throw away;
  • the I-CSCF may forward the overload response message to the UE, so that the UE learns that the system is currently in an overload state, and the registration process ends. ;
  • the HSS sends a first user authorization response (User Authorization Answer, UAA) message to the I-CSCF.
  • UAA User Authorization Answer
  • the I-CSCF selects an S-CSCF.
  • S310 The S-CSCF selected by the I-CSCF receives the first registration message sent by the I-CSCF.
  • the S-CSCF determines that the Diameter message to be sent to the HSS is not a Diameter first message. In this step, the Diameter message that the S-CSCF sends to the HSS is a MAR message.
  • the S-CSCF may directly determine that the MAR message to be sent to the HSS is not a Diameter first cancellation.
  • S312 The S-CSCF sends a MAR message to the HSS.
  • the MAR message does not carry the first message identifier
  • the MAR message may carry an intermediate message identifier.
  • step S313 When the overload processing is required, the HSS determines whether the MAR message carries the first message identifier, and if yes, the HSS performs overload processing on the MAR message, otherwise, step S314 is performed;
  • the HSS will perform step S314;
  • the HSS performs an authentication vector selection.
  • S315 The HSS sends a multimedia authorization response to the S-CSCF (Multimedia
  • S316 The S-CSCF sends a 401 unauthorized response to the I-CSCF.
  • the I-CSCF sends the 401 unauthorized response to the P-CSCF.
  • the P-CSCF sends the 401 unauthorized response to the UE.
  • S319 The UE sends a second registration (Register) message to the P-CSCF, where the second registration message carries a response value, and the value of the expired parameter (expired) carried by the second registration message is not Is 0;
  • the second registration message carries a response value, and the value of the expired parameter (expired) carried by the second registration message is not Is 0;
  • S320 The I-CSCF receives the second registration message sent by the P-CSCF.
  • the I-CSCF determines, according to the second registration message, whether a Diameter message to be sent to the HSS is a Diameter first message, and if yes, the I-CSCF sends a Diameter carrying a first message identifier to the HSS. a message, otherwise, step S322 is performed; in this step, the Diameter message that the I-CSCF sends to the HSS is a second UAR message;
  • the I-CSCF may determine whether the Diameter message to be sent to the HSS is a Diameter first message in the following manner:
  • the I-CSCF determines that the UAR message to be sent to the HSS is a Diameter first message; if the I-CSCF receives The registration message carries a response value, and the value of the expiration parameter carried in the registration message is not 0, and the I-CSCF determines that the UAR message to be sent to the HSS is not a Diameter first message; specifically, the I-CSCF After receiving the second registration message, if the value of the expiration parameter carried in the second registration message is 0, or the value of the expiration parameter carried in the second registration message is not 0, and the second registration message is not Carrying the response value, the I-CSCF determines that the second UAR message to be sent to the HSS is a Diameter first message; if the second registration message carries a response value, and the expiration parameter carried by the second registration message
  • the I-CSCF determines that the I-CSCF is to be The second UAR message sent by the HSS is not a Diameter first message, and the I-CSCF will perform step S322;
  • the I-CSCF sends a second UAR message to the HSS.
  • the second UAR message does not carry the first message identifier
  • the second UAR message may carry an intermediate message identifier.
  • step S323 The HSS determines whether the second UAR message carries the first message identifier, and if so, performs overload processing on the second UAR message, otherwise, step S324 is performed;
  • the HSS will perform step S324 because the second UAR message does not carry the first message identifier.
  • S324 The HSS sends a second UAA message to the I-CSCF.
  • the S-CSCF receives the second registration message sent by the I-CSCF.
  • Step S326 The S-CSCF authenticates the registration information of the UE, and performs the step after the authentication is passed. Step S327;
  • the S-CSCF determines that the Diameter message to be sent to the HSS is not a Diameter first message. In this step, the Diameter message that the S-CSCF sends to the HSS is a SAR message.
  • the S-CSCF after receiving the second registration message sent by the I-CSCF, the S-CSCF directly determines that the SAR message to be sent to the HSS is not a Diameter first message; S328: the S- The CSCF sends a SAR message to the HSS;
  • the SAR message does not carry the first message identifier
  • the SAR message may carry an intermediate message identifier.
  • step S329 When the overload processing is required, the HSS determines whether the SAR message carries the first message identifier, and if yes, the HSS performs overload processing on the SAR message, otherwise, step S330 is performed;
  • S330 The HSS sends a Server Assignment Answer (SAA) message to the S-CSCF.
  • SAAA Server Assignment Answer
  • S331 The S-CSCF sends a 200 acknowledgement response (OK) to the I-CSCF;
  • S332 The I-CSCF sends the 200 acknowledgement response to the P-CSCF.
  • the P-CSCF sends the 200 acknowledgement response to the UE.
  • the embodiment of the present invention is also applicable to a scenario in which the user re-registers the authentication.
  • the process of the user re-registration authentication is similar to the process of the user registration, and details are not described herein again.
  • a method for processing a Diameter message is provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the CSCF sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is overloaded.
  • the received Diameter is directly identified as the Diameter first message, thereby reducing the overload processing of the HSS.
  • the processing load in addition, the CSCF may determine, according to the received SIP message, whether the Diameter message to be sent to the HSS is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed service flow, compared to the prior art.
  • FIG. 4 is a schematic diagram of a method for processing a Diameter message according to an embodiment of the present invention. The method is applied to a scenario in which a user equipment initiates a logout. The method includes:
  • S401 The UE sends a registration (Register) message to the P-CSCF, where the value of the expired parameter carried by the registration message is 0;
  • the I-CSCF receives the registration message sent by the P-CSCF.
  • the I-CSCF determines, according to the registration message, whether the Diameter message to be sent to the HSS is a Diameter first message, and if yes, performs step S404, otherwise, the I-CSCF sends an intermediate message identifier to the HSS.
  • a Diameter message in this embodiment, the Diameter message that the I-CSCF sends to the HSS is a UAR message;
  • the I-CSCF may determine whether the Diameter message to be sent to the HSS is a Diameter first message in the following manner:
  • the I-CSCF Determining that the UAR message to be sent to the HSS is a Diameter first message; if the registration message received by the I-CSCF carries a response value, and the value of the expiration parameter carried in the registration message is not 0, the I- The CSCF determines that the UAR message to be sent to the HSS is not a Diameter first message; wherein, since the value of the expiration parameter carried by the registration message is 0, the I-CSCF determines that the HSS is to be sent to the HSS.
  • the first UAR message sent is the first message of Diameter.
  • the I-CSCF will perform step S404;
  • the I-CSCF sends a UAR message to the HSS, where the UAR message carries a first message identifier.
  • step S406 If the HSS needs to perform overload processing, step S406 is performed, otherwise, step S408 is performed;
  • step S406 The HSS determines whether the first message identifier is carried in the UAR message, and if yes, step S407 is performed, otherwise, step S408 is performed;
  • the HSS will perform step S407 because the UAR message carries the first message identifier.
  • the HSS performs overload processing on the received UAR message.
  • the HSS may perform overload processing on the received UAR message in the following manner: the HSS discards the UAR message;
  • the HSS may further send an overload response message to the I-CSCF, so that the I-CSCF learns that the UAR message it sends has been discarded by the HSS.
  • the I-CSCF may forward the overload response message to the UE, so that the UE learns that the system is currently in an overload state, and the logout process ends. ;
  • the HSS sends a UAA message to the I-CSCF.
  • the I-CSCF selects an S-CSCF.
  • S410 The S-CSCF selected by the I-CSCF receives the registration message sent by the I-CSCF.
  • S411 The S-CSCF determines that the Diameter message to be sent to the HSS is not
  • the first message of the Diameter in this embodiment, the Diameter message that the S-CSCF sends to the HSS is a SAR message;
  • the S-CSCF receives the registration cancellation sent by the I-CSCF. After the information, it may be directly determined that the S AR message to be sent to the HSS is not a Diameter first message; S412: the S-CSCF sends a SAR message to the HSS;
  • the SAR message does not carry the first message identifier
  • the SAR message may carry an intermediate message identifier.
  • step S413 When the overload processing is required, the HSS determines whether the SAR message carries the first message identifier, and if yes, the HSS performs overload processing on the SAR message, otherwise, step S414 is performed;
  • S414 The HSS sends an SAA message to the S-CSCF.
  • S415 The S-CSCF sends a 200 acknowledgment response (OK) to the I-CSCF;
  • S416 The I-CSCF sends the 200 acknowledgement response to the P-CSCF.
  • the P-CSCF sends the 200 acknowledgement response to the UE.
  • a method for processing a Diameter message is provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the CSCF sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is overloaded.
  • the processing load of the HSS for overload processing is reduced.
  • the CSCF may determine, according to the received SIP message, whether the Diameter message to be sent to the HSS is sent. It is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • the HSS does not need to save the session identifier corresponding to the current business process, thereby saving storage resources and reducing the HSS identification Diameter.
  • the resource consumption of the first message secondly, when the Diameter message to be sent by the CSCF is not the first message of the Diameter, the CSCF sends a Diameter message carrying the intermediate message identifier to the HSS, so that the HSS can explicitly know that the currently received Diamider message is not a Diameter.
  • First news As shown in FIG. 5, a method for processing a Diameter message according to an embodiment of the present invention is provided. The method is applied to a scenario in which the S-CSCF initiates logout, and the method includes:
  • the S-CSCF determines that the Diameter message to be sent to the HSS is a Diameter first message.
  • the Diameter message is a SAR message
  • the S-CSCF sends a SAR message to the HSS, where the SAR message carries a first message identifier.
  • the SAR message further carries a logout reason value, so that the HSS learns that the S-CSCF has initiated the logout process;
  • step S503 If the HSS needs to perform overload processing, step S504 is performed, otherwise, step S506 is performed;
  • step S504 The HSS determines whether the first message identifier is carried in the SAR message, if yes, step S505 is performed, otherwise, step S506 is performed;
  • S505 The HSS performs overload processing on the received SAR message.
  • the HSS may perform overload processing on the received SAR message in the following manner: the HSS discards the SAR message;
  • the HSS may further send an overload response message to the S-CSCF, so that the S-CSCF learns that the SAR message it sends has been discarded by the HSS.
  • the S-CSCF may forward the overload response message to the UE, so that the UE learns that the system is currently in an overload state, and the logout process ends. ;
  • the HSS sends an SAA message to the S-CSCF.
  • a method for processing a Diameter message when S-CSCF;
  • the S-CSCF determines that the SAR message to be sent to the HSS is the Diameter first message, and sends a SAR message carrying the first message identifier to the HSS, so that the HSS can directly recognize the received when performing overload processing.
  • the S-CSCF can directly determine that the SAR message to be sent to the HSS is the first of the Diameter message, so that the S-CSCF may process the first message according to the service currently executing a Diameter identified, with respect to the prior art, HSS does not need to save the current session identifier corresponding to the business process, thereby saving storage resources, reducing the HSS identifying another 1
  • the resource consumption of the first message of J Diameter As shown in FIG. 6 , a method for processing a Diameter message is provided in the embodiment of the present invention. The method is applied to a scenario in which a user re-registers without authentication. The method includes:
  • S601 The UE sends a registration (Register) message to the P-CSCF, where the value of the expired parameter carried in the registration message is not 0;
  • the I-CSCF receives the registration message sent by the P-CSCF.
  • the I-CSCF determines, according to the registration message, whether the Diameter message to be sent to the HSS is a Diameter first message, and if yes, performs step S604, otherwise, the I-CSCF sends an intermediate message identifier to the HSS.
  • a Diameter message in this embodiment, the Diameter message that the I-CSCF sends to the HSS is a UAR message;
  • the I-CSCF may determine whether the Diameter message to be sent to the HSS is a Diameter first message in the following manner:
  • the I-CSCF Determining that the UAR message to be sent to the HSS is a Diameter first message; if the registration message received by the I-CSCF carries a response value, and the value of the expiration parameter carried in the registration message is not 0, the I- The CSCF determines that the UAR message to be sent to the HSS is not a Diameter first message; wherein, the expiration parameter carried by the registration message received by the I-CSCF is required to be described. The value of the value is not 0, and the registration message does not carry a response value, therefore, the I-CSCF determines that the UAR message to be sent to the HSS is a Diameter first message, and the I-CSCF will perform step S604;
  • the I-CSCF sends a UAR message to the HSS, where the UAR message carries a first message identifier.
  • step S605 If the HSS needs to perform overload processing, step S606 is performed, otherwise, step S608 is performed;
  • step S606 The HSS determines whether the first message identifier is carried in the UAR message, if yes, step S607 is performed, otherwise, step S608 is performed;
  • the HSS will perform step S607 because the UAR message carries the first message identifier.
  • the HSS performs overload processing on the received UAR message.
  • the HSS may perform overload processing on the received UAR message in the following manner: the HSS discards the UAR message;
  • the HSS may further send an overload response message to the I-CSCF, so that the I-CSCF learns that the UAR message it sends has been discarded by the HSS.
  • the I-CSCF may forward the overload response message to the UE, so that the UE learns that the system is currently in an overload state, and the re-registration process End;
  • the HSS sends a UAA message to the I-CSCF.
  • the I-CSCF selects an S-CSCF.
  • S610 The S-CSCF selected by the I-CSCF receives the registration message sent by the I-CSCF.
  • S611 The S-CSCF determines that the Diameter message to be sent to the HSS is not
  • the first message of the Diameter in this embodiment, the Diameter message that the S-CSCF sends to the HSS is a SAR message; It should be noted that, after receiving the registration message sent by the I-CSCF, the S-CSCF may directly determine that the S AR message to be sent to the HSS is not a Diameter first message;
  • S612 The S-CSCF sends a SAR message to the HSS.
  • the SAR message does not carry the first message identifier
  • the SAR message may carry an intermediate message identifier.
  • step S613 When the overload processing is required, the HSS determines whether the SAR message carries the first message identifier, and if yes, the HSS performs overload processing on the SAR message, otherwise, step S614 is performed;
  • S614 The HSS sends an SAA message to the S-CSCF.
  • S615 The S-CSCF sends a 200 acknowledgment response message to the I-CSCF.
  • S616 The I-CSCF sends the 200 acknowledgement response message to the P-CSCF.
  • the P-CSCF sends a 200 acknowledgment response message to the UE.
  • a method for processing a Diameter message is provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the CSCF sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is overloaded.
  • the processing load of the HSS for overload processing is reduced.
  • the CSCF may determine, according to the received SIP message, whether the Diameter message to be sent to the HSS is sent. It is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • FIG. 7 is a schematic diagram of a method for processing a Diameter message according to an embodiment of the present invention. The method is applied to a session establishment scenario, and the method includes:
  • S701 The I-CSCF receives the session invitation (Invite) message sent by the calling user equipment; wherein, the I-CSCF is located in the home network to which the called user belongs; S702: the I-CSCF determines that the I-CSCF is to be
  • the Diameter message sent by the HSS is the first message of the Diameter.
  • the Diameter message is an LIR message.
  • the I-CSCF may directly determine that the LIR message to be sent to the HSS is a Diameter first message
  • the I-CSCF sends an LIR message to the HSS, where the LIR message carries a first message identifier.
  • step S704 If the HSS needs to perform overload processing, step S705 is performed, otherwise, step S707 is performed;
  • step S705 The HSS determines whether the LIR message carries the first message identifier, and if yes, step S706 is performed, otherwise, step S707 is performed;
  • the HSS will perform step S706 because the LIR message carries the first message identifier.
  • the HSS performs overload processing on the received LIR line.
  • the HSS may perform overload processing on the received LIR line in the following manner: the HSS discards the LIR message;
  • the HSS may further send an overload response message to the I-CSCF, so that the I-CSCF learns that the LIR message it sends has been discarded by the HSS;
  • the I-CSCF may forward the overload response message to the called user equipment, so that the called user equipment knows that the system is currently in an overload state.
  • the conversation process ends; S707: The HSS sends a location information answer (Location Information Answer: LIA) message to the I-CSCF.
  • LIA Location Information Answer
  • the I-CSCF sends the Invite message to the S-CSCF.
  • the S-CSCF is located in a home network of the called user.
  • S709 The S-CSCF sends the Invite message to the called user equipment.
  • a method for processing a Diameter message is provided by the embodiment of the present invention.
  • the I-CSCF determines that the LIR message to be sent to the HSS is a Diameter first message, and sends the bearer message to the HSS.
  • the LIR message identified by the first message enables the HSS to directly identify whether the received LIR message is a Diameter first message when performing overload processing, thereby reducing the processing load of the HSS for overload processing; in addition, the I-CSCF can And determining, according to the received Invite message, whether the LIR message to be sent to the HSS is a Diameter first message, so that the I-CSCF can identify the Diameter first message according to the currently executed service flow, and the HSS does not need to save compared to the prior art. current business process identifier corresponding to the session, thereby saving storage resources, reducing the HSS identifying another first message 1 J Diameter resource consumption.
  • FIG. 8 is a schematic diagram of a system for processing a Diameter message according to an embodiment of the present invention, where the system includes a CSCF 801 and an HSS 802, where
  • the CSCF 801 is configured to determine whether a Diameter message to be sent to the HSS 802 is a Diameter first message, and if yes, send a Diameter message carrying the first message identifier to the HSS 802;
  • the HSS 802 is configured to receive a Diameter message sent by the CSCF 801, determine whether the received Diameter message carries a first message identifier, and if yes, perform an overload processing on the Diameter message.
  • FIG. 9 is a schematic structural diagram of a CSCF according to an embodiment of the present invention.
  • the CSCF may be applied to a system as shown in FIG. 8.
  • the CSCF includes a determining unit 901 and a sending unit 902, where
  • the determining unit 901 is configured to determine whether the Diameter message to be sent by the sending unit 902 to the HSS is a Diameter first message
  • the sending unit 902 is configured to: when the determining unit 901 determines that the Diameter message to be sent to the HSS is a Diameter first message, send a Diameter message carrying the first message identifier to the HSS.
  • the CSCF may further include:
  • a receiving unit configured to receive a session initialization protocol message
  • the determining unit 901 may be specifically configured to determine, according to the session initialization protocol message received by the receiving unit, whether the Diameter message to be sent by the sending unit 902 to the HSS is a Diameter first message.
  • the CSCF may be an I-CSCF.
  • the determining unit 901 may be specifically configured to directly determine a server allocation request that the sending unit 902 is to send to the home subscriber server.
  • the message is the first message of Diameter.
  • the sending unit may be further configured to send, to the HSS, a Diameter message carrying an intermediate message identifier, when the determining unit 901 determines that the Diameter message to be sent by the sending unit 902 to the HSS is not a Diameter first message.
  • the CSCF may further include:
  • a constructing unit configured to construct the first message in a header or an attribute value pair of the Diameter message when the determining unit 901 determines that the Diameter message to be sent by the sending unit 902 to the HSS is a Diameter first message Identification; or, When the determining unit 901 determines that the Diameter message to be sent by the sending unit 902 to the home subscriber server is not a Diameter first message, constructing the intermediate message identifier in a header or an attribute value pair of the Diameter message. .
  • the sending unit when the determining unit determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the sending unit sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is performing overload processing. It is possible to directly identify whether the received Diameter is a Diameter first message, thereby reducing the processing load of the HSS for overload processing; in addition, the determining unit may determine, according to the SIP message received by the receiving unit, whether the Diameter message to be sent to the HSS is It is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • the HSS does not need to save the session identifier corresponding to the current business process, thereby saving storage resources.
  • the CSCF initiates During the logout process, the judging unit can directly determine that the SAR message to be sent to the HSS is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed service flow. Compared with the prior art, the HSS does not need to save the current business process.
  • FIG. 10 is a schematic structural diagram of another CSCF according to an embodiment of the present invention.
  • the CSCF may be applied to a system as shown in FIG. 8.
  • the CSCF includes a receiving unit 1001, a determining unit 1002, and a sending unit 1003. among them,
  • the receiving unit 1001 is configured to receive a session initiation protocol message.
  • the determining unit 1002 is configured to determine, according to the session initiation protocol message received by the receiving unit 1001, whether the Diameter message to be sent by the sending unit 1003 to the HSS is a Diameter first message;
  • the sending unit 1003 is configured to: when the determining unit 1002 determines that the Diameter message to be sent to the HSS is a Diameter first message, send a Diameter message carrying the first message identifier to the HSS.
  • the CSCF may be an I-CSCF, and the receiving unit 1001 may be specifically configured to receive a registration message sent by the P-CSCF.
  • the device sends the The UAR message is the first message of Diameter
  • the determining unit 1002 may be specifically configured to determine that the sending unit 1003 is to be The UAR message sent by the HSS is not the first message of the Diameter.
  • the CSCF may be an S-CSCF, and the receiving unit 1001 may be specifically configured to receive a registration message sent by the I-CSCF.
  • the determining unit 1002 may be specifically configured to: after the receiving unit 1001 receives the registration message sent by the I-CSCF, determine that the MAR message or the SAR message that the sending unit 1003 is to send to the HSS is not a Diameter first message. .
  • the CSCF may be an I-CSCF, and the receiving unit 1001 may be specifically configured to receive a session invitation message sent by the calling user equipment.
  • the determining unit 1002 may be specifically configured to: after the receiving unit 1001 receives the session invitation message, determine that the LIR message that the sending unit 1003 is to send to the home subscriber server is a Diameter first message.
  • the sending unit 1003 may be further configured to send the intermediate message identifier to the HSS. Diameter message.
  • the CSCF may further include:
  • a constructing unit configured to construct the first message in a header or an attribute value pair of the Diameter message when the determining unit 1002 determines that the Diameter message to be sent by the sending unit 1003 to the HSS is a Diameter first message Identification; or,
  • the intermediate message identifier is constructed in the header or attribute value pair of the Diameter message.
  • the sending unit when the determining unit determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the sending unit sends a Diameter message carrying the first message identifier to the HSS, so that the HSS is performing overload processing. It is possible to directly identify whether the received Diameter is a Diameter first message, thereby reducing the processing load of the HSS for overload processing; in addition, the determining unit may determine, according to the SIP message received by the receiving unit, whether the Diameter message to be sent to the HSS is It is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • FIG. 11 is a schematic structural diagram of an HSS according to an embodiment of the present invention.
  • the HSS can be applied to the system shown in FIG. 8.
  • the HSS includes:
  • the receiving unit 1101 is configured to receive a Diameter message sent by the CSCF.
  • the determining unit 1102 is configured to determine whether the Diameter message received by the receiving unit 1101 carries the first message identifier
  • the overload processing unit 1103 is configured to: when the determining unit 1102 determines that the Diameter message received by the receiving unit 1101 carries the first message identifier, the receiving unit 1101 receives The Diameter message is overloaded.
  • the overload processing unit 1103 may be specifically configured to discard the Diameter message received by the receiving unit 1101.
  • the HSS may further include:
  • a sending unit configured to send an overload response message to the CSCF after the overload processing unit 1103 discards the Diameter message received by the receiving unit 1101.
  • the method, the device and the system for processing the Diameter message are provided by the embodiment of the present invention.
  • the CSCF determines that the Diameter message to be sent to the HSS is the first message of the Diameter, the Diameter message carrying the first message identifier is sent to the HSS, so that the HSS
  • the CSCF may determine that the HSS is to be sent according to the received SIP message. Whether the Diameter message is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process.
  • the HSS does not need to save the session identifier corresponding to the current business process, thereby saving storage resources;
  • the CSCF can directly determine that the SAR message to be sent to the HSS is a Diameter first message, so that the CSCF can identify the Diameter first message according to the currently executed business process, compared to the prior art, the HSS No need to save when The session identifier corresponding to the service flow, thereby saving the storage resource and reducing the resource consumption of the HSS identifying the Diameter first message; again, when the Diameter message to be sent by the CSCF is not the Diameter first message, the CSCF may send the intermediate message identifier to the HSS.
  • the Diameter message enables the HSS to explicitly know that the currently received Diameter message is not a Diameter first message.

Landscapes

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

Abstract

本发明涉及通信技术领域,尤其涉及对Diameter消息进行处理的方法、装置及***。本发明实施例提供一种对Diameter消息进行处理的方法,CSCF判断将要向HSS发送的Diameter消息是否是Diameter首消息,若是,则所述CSCF向所述HSS发送携带首消息标识的Diameter消息。通过本发明实施例提供的方法,使得HSS在进行过载处理时,可以直接识别所接收到的Diameter消息是否是Diameter首消息,从而降低了HSS进行过载处理的处理负荷。

Description

一种对 Diameter消息进行处理的方法、 装置及*** 本申请要求于 2012 年 6 月 15 日提交中国专利局、 申请号为 201210197730.6、 发明名称为"一种对 Diameter 消息进行处理的方法、 装置及 ***"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 尤其涉及一种对 Diameter 消息进行处理的方 法、 装置及***。
背景技术
在 IMS ( IP Multimedia Subsystem, IP多媒体子***) 网络的一个业务流 程中, 归属用户服务器(Home Subscriber Server, 筒称: HSS )与呼叫会话控 制功能实体(Call Session Control Function, 筒称: CSCF )之间可能存在多次 Diameter消息的交互。 由于 HSS并不知道当前接收的 Diameter消息是否为当 前业务流程的 Diameter首消息, 使得 HSS在进行过载处理时, 丢弃的有可能 不是当前业务流程的 Diameter首消息, 从而导致了***资源的浪费。
为了使得 HSS在进行过载处理时, 仅丢弃当前业务流程的 Diameter首消 息, HSS 可以通过在 Diamter 消息中携带的会话标识, 确定当前接收到的 Diameter消息是否为当前业务流程的 Diameter首消息。
具体地, CSCF向 HSS发送携带会话标识的 Diameter消息, 同一业务流程 中所有的 Diameter消息携带相同的会话标识; HSS接收到 Diameter消息后, 判断 Diameter消息中携带的会话标识是否已经保存, 若已保存, 则 HSS确定 当前接收到的 Diameter消息不是当前业务流程的 Diameter首消息; 否则, HSS 确定当前接收到的 Diameter消息是当前业务流程的 Diameter首消息, 并保存 该会话标识。 通过对现有技术的分析, 发明人认为现有技术至少存在以下问题: 现有技术中的 HSS需要保存业务流程对应的会话标识,当需要进行过载处 理时, 为识别当前接收到的 Diameter消息是否为当前业务流程的 Diameter首 消息, HSS需要判断是否已经保存当前接收到的 Diameter消息中携带的会话标 识, 从而增加了 HSS进行过载处理的处理负荷。
发明内容
为克服现有技术的缺陷, 本发明实施例的目的在于提供一种对 Diameter 消息进行处理的方法、 装置及***, 以便当 HSS需要进行过载处理时, 能够降 低该 HSS进行过载处理的处理负荷。
一方面, 本发明实施例提供一种对 Diameter消息进行处理的方法, 包括: 呼叫会话控制功能实体判断将要向归属用户服务器发送的 Diameter 消息 是否是 Diameter首消息;
若是, 则所述呼叫会话控制功能实体向所述归属用户服务器发送携带首消 息标识的 Diameter消息。
另一方面,本发明实施例提供一种对 Diameter消息进行处理的方法,包括: 归属用户服务器接收呼叫会话控制功能实体发送的 Diameter消息; 所述归属用户服务器判断所述 Diameter消息中是否携带首消息标识; 若所述 Diameter消息携带所述首消息标识,则所述归属用户服务器对所述
Diameter消息进行过载处理。
一方面, 本发明实施例提供一种呼叫会话控制功能实体, 包括判断单元以 及发送单元, 其中,
所述判断单元, 用于判断所述发送单元将要向归属用户服务器发送的
Diameter消息是否是 Diameter首消息;
所述发送单元, 用于在所述判断单元确定将要向所述归属用户服务器发送 的 Diameter消息是 Diameter首消息时, 向所述归属用户服务器发送携带首消 息标识的 Diameter消息。
另一方面, 本发明实施例提供一种归属用户服务器, 包括:
接收单元, 用于接收呼叫会话控制功能实体发送的 Diameter消息; 判断单元,用于判断所述接收单元接收到的 Diameter消息是否携带首消息 标识;
过载处理单元, 用于在所述判断单元判断所述接收单元接收的 Diameter 消息携带所述首消息标识时,对所述接收单元接收到的 Diameter消息进行过载 处理。
又一方面, 本发明实施例提供一种对 Diameter消息进行处理的***, 包括 呼叫会话控制功能实体以及归属用户服务器, 其中:
所述呼叫会话控制功能实体, 用于判断将要向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 若是, 则向所述归属用户服务器发送携 带首消息标识的 Diameter消息;
所述归属用户服务器, 用于接收所述呼叫会话控制功能实体发送的 Diameter消息, 判断接收到的 Diameter消息是否携带首消息标识, 若是, 则对 所述 Diameter消息进行过载处理。
本发明实施例提供的一种对 Diameter消息进行处理的方法、 装置及***, CSCF确定将要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS 发送携带首消息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以 直接识别所接收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进 行过载处理的处理负荷。
附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现有技术 描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种对 Diameter消息进行处理的方法示意图; 图 2为本发明实施例提供的另一种对 Diameter消息进行处理的方法示意 图;
图 3 为本发明实施例提供的又一种对 Diameter消息进行处理的方法示意 图;
图 4为本发明实施例提供的再一种对 Diameter消息进行处理的方法示意 图;
图 5 为本发明实施例提供的再一种对 Diameter消息进行处理的方法示意 图;
图 6为本发明实施例提供的再一种对 Diameter消息进行处理的方法示意 图;
图 7为本发明实施例提供的再一种对 Diameter消息进行处理的方法示意 图;
图 8为本发明实施例提供的一种对 Diameter消息进行处理的***示意图; 图 9为本发明实施例提供的一种呼叫会话控制功能实体的结构示意图; 图 10为本发明实施例提供的另一种呼叫会话控制功能实体的结构示意图; 图 11为本发明实施例提供的一种归属用户服务器的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下获得的所有其他实施例, 都属于本发明保护的范围。
如图 1所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 包括: S101 : CSCF判断将要向 HSS发送的 Diameter消息是否是 Diameter首消 其中, 需要说明的是, IMS 网络采用归属服务控制模型, HSS 以及访问 HSS的实***于用户设备所属的归属网络; 具体地, 在所述归属服务控制模型 中, HSS以及与该 HSS交互的问询-呼叫会话控制功能实体( Interrogating-Call Session Control Function , 筒称: I-CSCF ) 和月良务-呼叫会话控制功能实体 ( Serving- Call Session Control Function, 筒称: S-CSCF )均位于用户设备所属 的归属网络;
其中, 需要说明的是, 所述 CSCF 与所述 HSS 之间通过 Cx接口进行 Diameter消息的交互,所述 Diameter消息具体是指采用 Diameter协议进行通讯 的消息;所述 Diameter首消息具体是指所述 HSS通过 Cx接口接收的当前业务 流程的第一个 Diameter消息, 例如, 在用户注册的场景下, HSS接收到的第一 个用户授权请求消息为 Diameter首消息;
其中, 所述 CSCF可以采用以下任一方式, 判断将要向所述 HSS发送的 Diameter消息是否是 Diameter首消息:
方式一:所述 CSCF接收 SIP ( Session Initiation Protocol,会话初始化协议 ) 消息;
所述 CSCF根据所述 SIP消息, 判断将要向所述 HSS发送的 Diameter消 息是否是 Diameter首消息;
方式二: 所述 CSCF为 I-CSCF, 当所述 I-CSCF发起注销流程时, 所述
I-CSCF直接确定将要向所述 HSS发送的服务器分配请求(Server Assignment Request, 筒称: SAR ) 消息是 Diameter首消息;
其中, 当所述 CSCF通过接收到的 SIP消息, 判断将要向所述 HSS发送的 Diameter消息是否是 Diameter首消息之前,所述 CSCF可以采用以下任一方式 接收 SIP消息: 方式一: 所述 CSCF为 I-CSCF, 所述 I-CSCF接收代理 -呼叫会话控制功能 实体( Proxy- Call Session Control Function,筒称: P-CSCF )发送的注册 ( Register ) 消息;
贝 |J , 若所述注册消息携带的过期参数(expire )的值为 0, 或者所述注册消 息携带的过期参数的值不为 0且所述注册消息未携带响应值(response ) , 则 所述 I-CSCF确定将要向所述 HSS发送的用户授权请求(User Authorization Request, 筒称: UAR ) 消息是 Diameter首消息; 若所述注册消息携带响应值, 且所述注册消息携带的过期参数的值不为 0, 则所述 I-CSCF确定将要向所述 HSS发送的用户授权请求消息不是 Diameter首消息;
方式二: 所述 CSCF为 S-CSCF, 所述 S-CSCF接收 I-CSCF发送的注册消 贝 |J , 所述 S-CSCF 直接确定将要向所述 HSS 发送的多媒体授权请求 ( Multimedia Authentication Request, 筒称: MAR ) 消息或月良务器分配请求 ( Server Assignment Request , 筒称: SAR ) 消息不是 Diameter首消息;
方式三: 所述 CSCF为 I-CSCF, 所述 I-CSCF接收主叫用户设备发送的会 话邀请 ( Invite ) 消息;
则,所述 I-CSCF直接确定将要向所述 HSS发送的位置信息请求( Location Information Request , 筒称: LIR ) 消息是 Diameter首消息;
其中, 需要说明的是, 所述 CSCF根据当前所执行的业务流程, 识别将要 向所述 HSS发送的 Diameter消息是否是 Diameter首消息;
S102: 若是, 则所述 CSCF向所述 HSS发送携带首消息标识的 Diameter 消息;
其中, 需要说明的是, 所述首消息标识用于指示所述 Diameter消息是当前 业务流程的第一个 Diameter消息;
其中, 需要说明的是, 在所述 HSS判断发送的 Diameter消息为 Diameter 首消息, 并向所述 HSS发送携带首消息标识的 Diameter消息之后, HSS可以 直接识别所接收到的 Diameter首消息, 从而使得所述 HSS在进行过载处理时, 能够降低 HSS的处理负荷;
可选地,若所述 CSCF将要向所述 HSS发送的 Diameter消息不是 Diameter 首消息, 则所述 CSCF可以向所述 HSS发送携带中间消息标识的 Diameter消 其中, 需要说明的是, 所述中间消息标识用于指示所述 Diameter消息是当 前业务流程的 Diameter中间消息; 其中, 若一个 Diameter消息不是 Diameter 首消息, 则该 Diameter消息即为 Diameter中间消息;
其中, 在所述 CSCF发送 Diameter消息之前, 若所述 CSCF将要向所述 HSS 发送的 Diameter 消息是 Diameter 首消息, 则所述 CSCF 可以在所述 Diameter消息的头部或属性值对中构造所述首消息标识; 或者, 若所述 CSCF 将要向所述 HSS发送的 Diameter消息不是 Diameter首消息, 则所述 CSCF可 以在所述 Diameter消息的头部或属性值对中构造所述中间消息标识;
其中, 作为示例而非限定, 所述 CSCF 可以在 Diameter 消息头部的 End-to-End Identifier参数中携带所述首消息标识或中间消息标识, 也可以在 Diameter消息中创建一个新的属性值对( Attribute Value Pair, 筒称: AVP ) , 在创建的 AVP中携带所述首消息标识或中间消息标识
其中, 所述 HSS可以采用以下方式对所述 Diameter消息进行过载处理: 所述 HSS直接将所述 Diameter消息丢弃。
本发明实施例提供的一种对 Diameter消息进行处理的方法, CSCF确定将 要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS发送携带首消 息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接 收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的 处理负荷; 另外, 该 CSCF可以根据接收到的 SIP消息, 判断将要向该 HSS发 送的 Diameter消息是否是 Diameter首消息,使得该 CSCF可以根据当前所执行 的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流 程对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首消息 的资源消耗; 其次, 在该 CSCF发起注销流程时, 该 CSCF可以直接确定将要 向该 HSS发送的 SAR消息是 Diameter首消息, 使得该 CSCF可以根据当前所 执行的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业 务流程对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首 消息的资源消耗; 再次, 在该 CSCF将要发送的 Diameter消息不是 Diameter 首消息时, 该 CSCF可以向 HSS发送携带中间消息标识的 Diameter消息, 使 得该 HSS能够显式地获知当前接收的 Diamiter消息不是 Diameter首消息。 如图 2所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 包括:
S201: HSS接收 CSCF发送的 Diameter消息;
其中, 所述 HSS可以采用以下方式接收所述 CSCF发送的 Diameter消息: 方式一, 所述 CSCF为 I-CSCF: 所述 HSS接收 I-CSCF发送的 Diameter 消息;
方式二, 所述 CSCF为 S-CSCF: 所述 HSS接收 S-CSCF发送的 Diameter 消息;
其中, 需要说明的是, 所述 HSS与所述 I-CSCF或所述 S-CSCF之间通过
Cx接口进行 Diameter消息的交互;
S202: 所述 HSS判断所述 Diameter消息中是否携带首消息标识;
S203: 若所述 Diameter 消息携带所述首消息标识, 则所述 HSS 对所述
Diameter消息进行过载处理;
其中, 所述 HSS可以采用以下方式对所述 Diameter消息进行过载处理: 所述 HSS将所述 Diameter消息丢弃, 即所述 HSS不对所述 Diameter消息 作任何处理;
其中, 所述 HSS将所述 Diameter消息丢弃之后, 所述 HSS还可以向所述 CSCF发送过载响应消息, 以便所述 CSCF获知其发送的 Diameter消息已被所 述 HSS丢弃; 其中, 作为示例而非限定, 所述 SCSF接收到过载响应消息后, 可以向用户设备转发所述过载响应消息, 以使得用户可以获知***当前处于过 载状态;
其中, 需要说明的是, 若所述 Diameter消息未携带所述首消息标识, 则所 述 HSS对所述 Diameter消息进行正常的处理; 例如, 作为示例而非限定, 若 所述 HSS接收到 I-CSCF发送的用户授权请求( User Authorization Request, 筒 称: UAR )消息时, 若所述 UAR消息未携带首消息标识, 则所述 HSS对接收 到的 UAR 消息进行处理后, 向所述 I-CSCF 发送用户授权应答 (User Authorization Answer, 筒称: UAA ) 消息。
本发明实施例提供的一种对 Diameter消息进行处理的方法, HSS在接收到 的 Diameter消息携带首消息标识时, 直接对接收到的 Diameter消息进行过载 处理, 从而降低了该 HSS进行过载处理的处理负荷; 另外, 该 HSS在对 CSCF 发送的 Diameter消息进行过载处理之后,还可以向该 CSCF发送过载响应消息, 使得该 CSCF可以显式地获知 HSS处于过载状态。 如图 3所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 该方法应用于用户注册的场景, 该方法包括:
S301: 用户设备(User Equipment, 筒称: UE ) 向 P-CSCF发送第一注册 ( Register ) 消息, 所述第一注册消息携带的过期参数( expire ) 的值不为 0; 其中, 需要说明的是, 所述 P-CSCF可以位于所述 UE所属的归属网络, 也可以位于所述 UE所属的拜访网络;
S302: I-CSCF接收所述 P-CSCF发送的所述第一注册消息;
S303: 所述 I-CSCF根据所述第一注册消息, 判断将要向 HSS 发送的 Diameter消息是否是 Diameter首消息, 若是, 则执行步骤 S304, 否则, 所述 I-CSCF直接向所述 HSS发送所述 Diameter消息; 本步骤中, 所述 I-CSCF将 要向所述 HSS发送的 Diameter消息为第一 UAR消息;
其中,所述 I-CSCF可以采用以下方式判断将要向所述 HSS发送的 Diameter 消息是否是 Diameter首消息:
若所述 I-CSCF接收到的注册消息携带的过期参数(expire ) 的值为 0, 或 者所述注册消息携带的过期参数的值不为 0 且所述注册消息未携带响应值 ( response ) ,则所述 I-CSCF确定将要向所述 HSS发送的 UAR消息是 Diameter 首消息; 若所述 I-CSCF接收到的注册消息携带响应值, 且所述注册消息携带 的过期参数的值不为 0,则所述 I-CSCF确定将要向所述 HSS发送的 UAR消息 不是 Diameter首消息;
具体地, 所述 I-CSCF接收到所述第一注册消息后, 若所述第一注册消息 携带的过期参数的值为 0, 或者所述第一注册消息携带的过期参数的值不为 0 且所述第一注册消息未携带响应值, 则所述 I-CSCF确定将要向所述 HSS发送 的第一 UAR消息是 Diameter首消息; 若所述第一注册消息携带响应值, 且所 述第一注册消息携带的过期参数的值不为 0, 则所述 I-CSCF确定将要向所述 HSS发送的第一 UAR消息不是首消息;
其中, 需要说明的是, 由于所述 I-CSCF接收的第一注册消息携带的过期 参数的值不为零, 且所述第一注册消息未携带响应值, 因此, 所述 I-CSCF确 定将要向所述 HSS发送的第一 UAR消息是 Diameter首消息, 所述 I-CSCF将 执行步骤 S304;
S304: 所述 I-CSCF向所述 HSS发送第一 UAR消息, 所述第一 UAR消息 携带首消息标识;
S305: 若所述 HSS需要进行过载处理, 则执行步骤 S306, 否则, 执行步 骤 S308; S306: 所述 HSS判断所述第一 UAR消息中是否携带首消息标识, 若是, 则执行步骤 S307, 否则, 执行步骤 S308;
其中, 需要说明的是, 由于所述第一 UAR消息携带首消息标识, 因此, 所述 HSS将执行步骤 S307;
S307: 所述 HSS对接收到的第一 UAR消息进行过载处理;
其中, 所述 HSS可以采用以下方式对接收到的第一 UAR消息进行过载处 理:
所述 HSS将所述第一 UAR消息丢弃;
其中, 所述 HSS将所述第一 UAR消息丢弃之后, 所述 HSS还可以向所述 I-CSCF发送过载响应消息, 以便所述 I-CSCF获知其发送的第一 UAR消息已 被所述 HSS丢弃;
其中,需要说明的是,所述 I-CSCF接收到过载响应消息之后,所述 I-CSCF 可以向所述 UE转发所述过载响应消息, 以便所述 UE获知***当前处于过载 状态, 注册流程结束;
S308:所述 HSS向所述 I-CSCF发送第一用户授权应答( User Authorization Answer, 筒称: UAA ) 消息;
S309: 所述 I-CSCF选择 S-CSCF;
S310: 所述 I-CSCF选择的 S-CSCF接收所述 I-CSCF发送的所述第一注册 消息;
S311 : 所述 S-CSCF 确定将要向所述 HSS 发送的 Diameter 消息不是 Diameter首消息, 本步骤中, 所述 S-CSCF将要向所述 HSS发送的 Diameter 消息为 MAR消息;
其中, 需要说明的是, 所述 S-CSCF在接收到所述 I-CSCF发送的第一注 册消息之后,可以直接确定将向所述 HSS发送的 MAR消息不是 Diameter首消 S312: 所述 S-CSCF向所述 HSS发送 MAR消息;
其中, 需要说明的是, 所述 MAR消息未携带首消息标识;
其中, 所述 MAR消息可以携带中间消息标识;
S313: 当需要进行过载处理时, 所述 HSS判断所述 MAR消息是否携带首 消息标识, 若是, 则所述 HSS对所述 MAR消息进行过载处理, 否则, 执行步 骤 S314;
其中, 需要说明的是, 由于所述 MAR消息未携带首消息标识, 因此, 所 述 HSS将执行步骤 S314;
S314: 所述 HSS进行鉴权矢量选择;
S315 : 所述 HSS 向所述 S-CSCF 发送多媒体授权应答 (Multimedia
Authentication Answer, 筒称: MAA ) 消息;
S316: 所述 S-CSCF向所述 I-CSCF发送 401未授权响应;
S317: 所述 I-CSCF向所述 P-CSCF发送所述 401未授权响应;
S318: 所述 P-CSCF向所述 UE发送所述 401未授权响应;
S319: 所述 UE向所述 P-CSCF发送第二注册(Register )消息, 所述第二 注册消息携带响应值( response ) ,且所述第二注册消息携带的过期参数( expire ) 的值不为 0;
S320: 所述 I-CSCF接收所述 P-CSCF发送的所述第二注册消息;
S321: 所述 I-CSCF根据所述第二注册消息, 判断将要向所述 HSS发送的 Diameter消息是否是 Diameter首消息, 若是, 则所述 I-CSCF向所述 HSS发送 携带首消息标识的 Diameter消息,否则,执行步骤 S322;本步骤中,所述 I-CSCF 将要向所述 HSS发送的 Diameter消息为第二 UAR消息;
其中,所述 I-CSCF可以采用以下方式判断将要向所述 HSS发送的 Diameter 消息是否是 Diameter首消息:
若所述 I-CSCF接收到的注册消息携带的过期参数的值为 0,或者所述注册 消息携带的过期参数的值不为 0且所述注册消息未携带响应值,则所述 I-CSCF 确定将要向所述 HSS发送的 UAR消息是 Diameter首消息; 若所述 I-CSCF接 收到的注册消息携带响应值, 且所述注册消息携带的过期参数的值不为 0, 则 所述 I-CSCF确定将要向所述 HSS发送的 UAR消息不是 Diameter首消息; 具体地, 所述 I-CSCF接收到所述第二注册消息后, 若所述第二注册消息 携带的过期参数的值为 0, 或者所述第二注册消息携带的过期参数的值不为 0 且所述第二注册消息未携带响应值, 则所述 I-CSCF确定将要向所述 HSS发送 的第二 UAR消息是 Diameter首消息; 若所述第二注册消息携带响应值, 且所 述第二注册消息携带的过期参数的值不为 0, 则所述 I-CSCF确定将要向所述 HSS发送的第二 UAR消息不是首消息;
其中, 需要说明的是, 由于所述 I-CSCF接收的第二注册消息携带响应值, 且所述第二注册消息携带的过期参数的值不为 0, 因此,所述 I-CSCF确定将要 向所述 HSS发送的第二 UAR消息不是 Diameter首消息, 所述 I-CSCF将执行 步骤 S322;
S322: 所述 I-CSCF向所述 HSS发送第二 UAR消息;
其中, 需要说明的是, 所述第二 UAR消息未携带首消息标识;
其中, 所述第二 UAR消息可以携带中间消息标识;
S323: 当需要进行过载处理时, 所述 HSS判断所述第二 UAR消息是否携 带首消息标识, 若是, 则对所述第二 UAR消息进行过载处理, 否则, 执行步 骤 S324;
其中, 需要说明的是, 由于所述第二 UAR消息未携带首消息标识, 因此, 所述 HSS将执行步骤 S324;
S324: 所述 HSS向所述 I-CSCF发送第二 UAA消息;
S325: 所述 S-CSCF接收所述 I-CSCF发送的所述第二注册消息;
S326: 所述 S-CSCF对所述 UE的注册信息进行鉴权, 鉴权通过后执行步 骤 S327;
S327: 所述 S-CSCF 确定将要向所述 HSS 发送的 Diameter 消息不是 Diameter首消息, 本步骤中, 所述 S-CSCF将要向所述 HSS发送的 Diameter 消息为 SAR消息;
其中, 需要说明的是, 所述 S-CSCF在接收到所述 I-CSCF发送的第二注 册消息之后,直接确定将要向所述 HSS发送的 SAR消息不是 Diameter首消息; S328: 所述 S-CSCF向所述 HSS发送 SAR消息;
其中, 需要说明的是, 所述 SAR消息未携带首消息标识;
其中, 所述 SAR消息可以携带中间消息标识;
S329: 当需要进行过载处理时, 所述 HSS判断所述 SAR消息是否携带首 消息标识, 若是, 则所述 HSS对所述 SAR消息进行过载处理, 否则, 执行步 骤 S330;
其中, 需要说明的是, 由于所述 SAR 消息未携带首消息标识, 因此, 所 述 HSS将执行步骤 S330;
S330: 所述 HSS向所述 S-CSCF发送服务器分配应答( Server Assignment Answer, 筒称: SAA ) 消息;
S331: 所述 S-CSCF向所述 I-CSCF发送 200确认响应 (OK ) ;
S332: 所述 I-CSCF向所述 P-CSCF发送所述 200确认响应;
S333: 所述 P-CSCF向所述 UE发送所述 200确认响应。
其中, 需要说明的是, 本发明实施例还适用于用户重注册鉴权的场景, 用 户重注册鉴权时的流程与用户注册的流程类似, 在此不再赘述。
本发明实施例提供的一种对 Diameter消息进行处理的方法, CSCF确定将 要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS发送携带首消 息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接 收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的 处理负荷; 另外, CSCF可以根据接收到的 SIP消息, 判断将要向该 HSS发送 的 Diameter消息是否是 Diameter首消息,使得该 CSCF可以根据当前所执行的 业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流程 对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首消息的 资源消耗;其次,在该 CSCF将要发送的 Diameter消息不是 Diameter首消息时, 该 CSCF可以向 HSS发送携带中间消息标识的 Diameter消息, 使得该 HSS能 够显式地获知当前接收的 Diamiter消息不是 Diameter首消息。 如图 4所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 该方法应用于用户设备发起注销的场景, 该方法包括:
S401: UE向 P-CSCF发送注册(Register ) 消息, 所述注册消息携带的过 期参数的值为 0;
S402: I-CSCF接收所述 P-CSCF发送的所述注册消息;
S403: 所述 I-CSCF根据所述注册消息, 判断将要向 HSS发送的 Diameter 消息是否是 Diameter首消息, 若是, 则执行步骤 S404, 否则, 所述 I-CSCF向 所述 HSS发送携带中间消息标识的 Diameter消息; 本实施例中, 所述 I-CSCF 将要向所述 HSS发送的 Diameter消息为 UAR消息;
其中,所述 I-CSCF可以采用以下方式判断将要向所述 HSS发送的 Diameter 消息是否是 Diameter首消息:
若所述 I-CSCF接收到的注册消息携带的过期参数的值为 0,或者所述注册 消息携带的过期参数的值不为 0且所述注册消息未携带响应值,则所述 I-CSCF 确定将要向所述 HSS发送的 UAR消息是 Diameter首消息; 若所述 I-CSCF接 收到的注册消息携带响应值, 且所述注册消息携带的过期参数的值不为 0, 则 所述 I-CSCF确定将要向所述 HSS发送的 UAR消息不是 Diameter首消息; 其中, 需要说明的是, 由于所述注册消息携带的过期参数的值为 0, 因此, 所述 I-CSCF确定将要向所述 HSS发送的第一 UAR消息是 Diameter首消息, 所述 I-CSCF将执行步骤 S404;
S404: 所述 I-CSCF向所述 HSS发送 UAR消息, 所述 UAR消息携带首消 息标识;
S405: 若所述 HSS需要进行过载处理, 则执行步骤 S406, 否则, 执行步 骤 S408;
S406: 所述 HSS判断所述 UAR消息中是否携带首消息标识, 若是, 则执 行步骤 S407, 否则, 执行步骤 S408;
其中, 需要说明的是, 由于所述 UAR消息携带首消息标识, 因此, 所述 HSS将执行步骤 S407;
S407: 所述 HSS对接收到的 UAR消息进行过载处理;
其中, 所述 HSS可以采用以下方式对接收到的 UAR消息进行过载处理: 所述 HSS将所述 UAR消息丢弃;
其中,所述 HSS将所述 UAR消息丢弃之后,所述 HSS还可以向所述 I-CSCF 发送过载响应消息, 以便所述 I-CSCF获知其发送的 UAR消息已被所述 HSS 丢弃;
其中,需要说明的是,所述 I-CSCF接收到过载响应消息之后,所述 I-CSCF 可以向所述 UE转发所述过载响应消息, 以便所述 UE获知***当前处于过载 状态, 注销流程结束;
S408: 所述 HSS向所述 I-CSCF发送 UAA消息;
S409: 所述 I-CSCF选择 S-CSCF;
S410:所述 I-CSCF选择的 S-CSCF接收所述 I-CSCF发送的所述注册消息; S411 : 所述 S-CSCF 确定将要向所述 HSS 发送的 Diameter 消息不是
Diameter首消息, 本实施例中, 所述 S-CSCF将要向所述 HSS发送的 Diameter 消息为 SAR消息;
其中, 需要说明的是, 所述 S-CSCF在接收到所述 I-CSCF发送的注册消 息之后,可以直接确定将要向所述 HSS发送的 S AR消息不是 Diameter首消息; S412: 所述 S-CSCF向所述 HSS发送 SAR消息;
其中, 需要说明的是, 所述 SAR消息未携带首消息标识;
其中, 所述 SAR消息可以携带中间消息标识;
S413: 当需要进行过载处理时, 所述 HSS判断所述 SAR消息是否携带首 消息标识, 若是, 则所述 HSS对所述 SAR消息进行过载处理, 否则, 执行步 骤 S414;
其中, 需要说明的是, 由于所述 SAR 消息未携带首消息标识, 因此, 所 述 HSS将执行步骤 S414;
S414: 所述 HSS向所述 S-CSCF发送 SAA消息;
S415: 所述 S-CSCF向所述 I-CSCF发送 200确认响应 (OK ) ;
S416: 所述 I-CSCF向所述 P-CSCF发送所述 200确认响应;
S417: 所述 P-CSCF向所述 UE发送所述 200确认响应。
本发明实施例提供的一种对 Diameter消息进行处理的方法, CSCF确定将 要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS发送携带首消 息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接 收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的 处理负荷; 另外, 该 CSCF可以根据接收到的 SIP消息, 判断将要向该 HSS发 送的 Diameter消息是否是 Diameter首消息,使得该 CSCF可以根据当前所执行 的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流 程对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首消息 的资源消耗;其次,在该 CSCF将要发送的 Diameter消息不是 Diameter首消息 时, 该 CSCF向 HSS发送携带中间消息标识的 Diameter消息, 使得该 HSS能 够显式地获知当前接收的 Diamiter消息不是 Diameter首消息。 如图 5所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 该方法应用于 S-CSCF发起注销的场景, 该方法包括:
S501: 当 S-CSCF要发起注销流程时, 所述 S-CSCF确定将要向 HSS发送 的 Diameter消息是 Diameter首消息, 本实施例中, 所述 Diameter消息为 SAR 消息;
S502: 所述 S-CSCF向所述 HSS发送 SAR消息, 所述 SAR消息携带首消 息标识;
其中, 需要说明的是, 所述 SAR消息还携带注销原因值, 以便所述 HSS 获知 S-CSCF已发起注销流程;
S503: 若所述 HSS需要进行过载处理, 则执行步骤 S504, 否则, 执行步 骤 S506;
S504: 所述 HSS判断所述 SAR消息中是否携带首消息标识, 若是, 则执 行步骤 S505, 否则, 执行步骤 S506;
其中, 需要说明的是, 由于所述 SAR 消息携带首消息标识, 因此, 所述 HSS将执行步骤 S505;
S505: 所述 HSS对接收到的 SAR消息进行过载处理;
其中, 所述 HSS可以采用以下方式对接收到的 SAR消息进行过载处理: 所述 HSS将所述 SAR消息丢弃;
其中,所述 HSS将所述 S AR消息丢弃之后,所述 HSS还可以向所述 S-CSCF 发送过载响应消息, 以便所述 S-CSCF获知其发送的 SAR消息已被所述 HSS 丢弃;
其中,需要说明的是,所述 S-CSCF接收到过载响应消息之后,所述 S-CSCF 可以向所述 UE转发所述过载响应消息, 以便所述 UE获知***当前处于过载 状态, 注销流程结束;
S506: 所述 HSS向所述 S-CSCF发送 SAA消息。
本发明实施例提供的一种对 Diameter消息进行处理的方法, 当 S-CSCF ;^ 起注销流程时, S-CSCF确定将要向 HSS发送的 SAR消息是 Diameter首消息, 并向该 HSS发送携带首消息标识的 SAR消息,使得该 HSS在进行过载处理时, 可以直接识别所接收到的 SAR消息是否是 Diameter首消息,从而降低了该 HSS 进行过载处理的处理负荷; 其次, 在该 S-CSCF发起注销流程时, 该 S-CSCF 可以直接确定将要向该 HSS 发送的 SAR 消息是 Diameter首消息, 使得该 S-CSCF可以根据当前所执行的业务流程识别 Diameter首消息, 相对于现有技 术, HSS不需保存当前业务流程对应的会话标识, 从而节省了存储资源, 减少 了 HSS识另1 J Diameter首消息的资源消耗。 如图 6所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法, 该方法应用于用户重注册不鉴权的场景, 该方法包括:
S601: UE向 P-CSCF发送注册(Register ) 消息, 所述注册消息携带的过 期参数的值不为 0;
S602: I-CSCF接收所述 P-CSCF发送的所述注册消息;
S603: 所述 I-CSCF根据所述注册消息, 判断将要向 HSS发送的 Diameter 消息是否是 Diameter首消息, 若是, 则执行步骤 S604, 否则, 所述 I-CSCF向 所述 HSS发送携带中间消息标识的 Diameter消息; 本实施例中, 所述 I-CSCF 将要向所述 HSS发送的 Diameter消息为 UAR消息;
其中,所述 I-CSCF可以采用以下方式判断将要向所述 HSS发送的 Diameter 消息是否是 Diameter首消息:
若所述 I-CSCF接收到的注册消息携带的过期参数的值为 0,或者所述注册 消息携带的过期参数的值不为 0且所述注册消息未携带响应值,则所述 I-CSCF 确定将要向所述 HSS发送的 UAR消息是 Diameter首消息; 若所述 I-CSCF接 收到的注册消息携带响应值, 且所述注册消息携带的过期参数的值不为 0, 则 所述 I-CSCF确定将要向所述 HSS发送的 UAR消息不是 Diameter首消息; 其中, 需要说明的是, 由于所述 I-CSCF接收的注册消息携带的过期参数 的值不为 0, 且所述注册消息未携带响应值, 因此, 所述 I-CSCF确定将要向所 述 HSS发送的 UAR消息是 Diameter首消息, 所述 I-CSCF将执行步骤 S604;
S604: 所述 I-CSCF向所述 HSS发送 UAR消息, 所述 UAR消息携带首消 息标识;
S605: 若所述 HSS需要进行过载处理, 则执行步骤 S606, 否则, 执行步 骤 S608;
S606: 所述 HSS判断所述 UAR消息中是否携带首消息标识, 若是, 则执 行步骤 S607, 否则, 执行步骤 S608;
其中, 需要说明的是, 由于所述 UAR消息携带首消息标识, 因此, 所述 HSS将执行步骤 S607;
S607: 所述 HSS对接收到的 UAR消息进行过载处理;
其中, 所述 HSS可以采用以下方式对接收到的 UAR消息进行过载处理: 所述 HSS将所述 UAR消息丢弃;
其中,所述 HSS将所述 UAR消息丢弃之后,所述 HSS还可以向所述 I-CSCF 发送过载响应消息, 以便所述 I-CSCF获知其发送的 UAR消息已被所述 HSS 丢弃;
其中,需要说明的是,所述 I-CSCF接收到过载响应消息之后,所述 I-CSCF 可以向所述 UE转发所述过载响应消息, 以便所述 UE获知***当前处于过载 状态, 重注册流程结束;
S608: 所述 HSS向所述 I-CSCF发送 UAA消息;
S609: 所述 I-CSCF选择 S-CSCF;
S610:所述 I-CSCF选择的 S-CSCF接收所述 I-CSCF发送的所述注册消息; S611 : 所述 S-CSCF 确定将要向所述 HSS 发送的 Diameter 消息不是
Diameter首消息, 本实施例中, 所述 S-CSCF将要向所述 HSS发送的 Diameter 消息为 SAR消息; 其中, 需要说明的是, 所述 S-CSCF在接收到所述 I-CSCF发送的注册消 息之后,可以直接确定将要向所述 HSS发送的 S AR消息不是 Diameter首消息;
S612: 所述 S-CSCF向所述 HSS发送 SAR消息;
其中, 需要说明的是, 所述 SAR消息未携带首消息标识;
其中, 所述 SAR消息可以携带中间消息标识;
S613: 当需要进行过载处理时, 所述 HSS判断所述 SAR消息是否携带首 消息标识, 若是, 则所述 HSS对所述 SAR消息进行过载处理, 否则, 执行步 骤 S614;
其中, 需要说明的是, 由于所述 SAR 消息未携带首消息标识, 因此, 所 述 HSS将执行步骤 S614;
S614: 所述 HSS向所述 S-CSCF发送 SAA消息;
S615: 所述 S-CSCF向所述 I-CSCF发送 200确认响应消息;
S616: 所述 I-CSCF向所述 P-CSCF发送所述 200确认响应消息;
S617: 所述 P-CSCF向所述 UE发送 200确认响应消息。
本发明实施例提供的一种对 Diameter消息进行处理的方法, CSCF确定将 要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS发送携带首消 息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接 收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的 处理负荷; 另外, 该 CSCF可以根据接收到的 SIP消息, 判断将要向该 HSS发 送的 Diameter消息是否是 Diameter首消息,使得该 CSCF可以根据当前所执行 的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流 程对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首消息 的资源消耗;再次,在该 CSCF将要发送的 Diameter消息不是 Diameter首消息 时, 该 CSCF向 HSS发送携带中间消息标识的 Diameter消息, 使得该 HSS能 够显式地获知当前接收的 Diamiter消息不是 Diameter首消息。 如图 7所示,为本发明实施例提供的一种对 Diameter消息进行处理的方法 示意图, 该方法应用于会话建立的场景, 该方法包括:
S701: I-CSCF接收主叫用户设备发送的会话邀请 ( Invite ) 消息; 其中, 需要说明的是, 所述 I-CSCF位于被叫用户所属的归属网络; S702: 所述 I-CSCF确定将要向 HSS发送的 Diameter消息是 Diameter首 消息, 本实施例中, 所述 Diameter消息为 LIR消息;
其中, 需要说明的是, 所述 I-CSCF在接收到 Invite消息之后, 可以直接 确定将要向所述 HSS发送的 LIR消息是 Diameter首消息;
S703: 所述 I-CSCF向所述 HSS发送 LIR消息, 所述 LIR消息携带首消息 标识;
S704: 若所述 HSS需要进行过载处理, 则执行步骤 S705, 否则, 执行步 骤 S707;
S705: 所述 HSS判断所述 LIR消息是否携带首消息标识, 若是, 则执行 步骤 S706, 否则, 执行步骤 S707;
其中, 需要说明的是, 由于所述 LIR 消息携带首消息标识, 因此, 所述 HSS将执行步骤 S706;
S706: 所述 HSS对接收到的 LIR行过载处理;
其中, 所述 HSS可以采用以下方式对接收到的 LIR行过载处理: 所述 HSS将所述 LIR消息丢弃;
其中,所述 HSS将所述 LIR消息丢弃之后,所述 HSS还可以向所述 I-CSCF 发送过载响应消息, 以便所述 I-CSCF获知其发送的 LIR消息已被所述 HSS丢 弃;
其中, 需要说明的是, 所述 I-CSCF在接收到过载响应消息之后, 所述 I-CSCF可以向被叫用户设备转发所述过载响应消息,以便被叫用户设备获知系 统当前处于过载状态, 会话流程结束; S707: 所述 HSS向所述 I-CSCF发送位置信息应答(Location Information Answer, 筒称: LIA ) 消息;
S708: 所述 I-CSCF向 S-CSCF发送所述 Invite消息;
其中, 需要说明的是, 所述 S-CSCF位于被叫用户的归属网络;
S709: 所述 S-CSCF向被叫用户设备发送所述 Invite消息。
本发明实施例提供的一种对 Diameter消息进行处理的方法, 当 I-CSCF接 收到会话邀请消息时, 该 I-CSCF确定将要向 HSS发送的 LIR消息是 Diameter 首消息, 并向该 HSS发送携带首消息标识的 LIR消息, 使得该 HSS在进行过 载处理时, 可以直接识别所接收到的 LIR消息是否是 Diameter首消息,从而降 低了该 HSS进行过载处理的处理负荷;另外,该 I-CSCF可以根据接收到的 Invite 消息, 判断将要向该 HSS发送的 LIR消息是否是 Diameter首消息, 使得该 I-CSCF可以根据当前所执行的业务流程识别 Diameter首消息, 相对于现有技 术, HSS不需保存当前业务流程对应的会话标识, 从而节省了存储资源, 减少 了 HSS识另1 J Diameter首消息的资源消耗。 如图 8所示,为本发明实施例提供的一种对 Diameter消息进行处理的*** 示意图, 该***包括 CSCF 801以及 HSS 802, 其中,
所述 CSCF 801 , 用于判断将要向所述 HSS 802发送的 Diameter消息是否 是 Diameter首消息, 若是, 则向所述 HSS 802发送携带首消息标识的 Diameter 消息;
所述 HSS 802, 用于接收所述 CSCF 801发送的 Diameter消息, 判断接收 到的 Diameter消息是否携带首消息标识, 若是, 则对所述 Diameter消息进行 过载处理。
本发明实施例提供的一种对 Diameter消息进行处理的***, CSCF确定将 要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS发送携带首消 息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接 收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的 处理负荷。 如图 9所示, 为本发明实施例提供的一种 CSCF的结构示意图, 该 CSCF 可以应用于如图 8所示的***中,该 CSCF包括判断单元 901以及发送单元 902, 其中,
所述判断单元 901 ,用于判断所述发送单元 902将要向 HSS发送的 Diameter 消息是否是 Diameter首消息;
所述发送单元 902, 用于在所述判断单元 901确定将要向所述 HSS发送的 Diameter 消息是 Diameter 首消息时, 向所述 HSS 发送携带首消息标识的 Diameter消息。
其中, 所述 CSCF还可以包括:
接收单元, 用于接收会话初始化协议消息;
则, 所述判断单元 901可以具体用于根据所述接收单元接收到的会话初始 化协议消息, 判断所述发送单元 902将要向所述 HSS发送的 Diameter消息是 否是 Diameter首消息。
其中, 所述 CSCF可以为 I-CSCF, 当所述 I-CSCF发起注销流程时, 所述 判断单元 901可以具体用于直接确定所述发送单元 902将要向所述归属用户服 务器发送的服务器分配请求消息是 Diameter首消息。
其中,在所述判断单元 901确定所述发送单元 902将要向所述 HSS发送的 Diameter消息不是 Diameter首消息时, 所述发送单元还可以用于向所述 HSS 发送携带中间消息标识的 Diameter消息。
其中, 所述 CSCF还可以包括:
构造单元, 用于在所述判断单元 901 确定所述发送单元 902将要向所述 HSS发送的 Diameter消息是 Diameter首消息时, 在所述 Diameter消息的头部 或属性值对中构造所述首消息标识; 或者, 用于在所述判断单元 901确定所述发送单元 902将要向所述归属用户服务 器发送的 Diameter消息不是 Diameter首消息时, 在所述 Diameter消息的头部 或属性值对中构造所述中间消息标识。
本发明实施例提供的一种 CSCF, 在判断单元确定将要向 HSS 发送的 Diameter消息是 Diameter首消息时, 发送单元向该 HSS发送携带首消息标识 的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的处理负 荷; 另外, 判断单元可以根据接收单元接收到的 SIP消息, 判断将要向该 HSS 发送的 Diameter消息是否是 Diameter首消息,使得 CSCF可以根据当前所执行 的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流 程对应的会话标识,从而节省了存储资源; 其次,在该 CSCF发起注销流程时, 判断单元可以直接确定将要向该 HSS发送的 SAR消息是 Diameter首消息, 使 得 CSCF可以根据当前所执行的业务流程识别 Diameter首消息,相对于现有技 术, HSS不需保存当前业务流程对应的会话标识, 从而节省了存储资源, 减少 了 HSS识别 Diameter首消息的资源消耗; 再次, 在判断单元确定将要发送的 Diameter消息不是 Diameter首消息时, 发送单元可以向 HSS发送携带中间消 息标识的 Diameter消息, 使得该 HSS能够显式地获知当前接收的 Diamiter消 息不是 Diameter首消息。 如图 10所示,为本发明实施例提供的另一种 CSCF的结构示意图,该 CSCF 可以应用于如图 8所示的***中,该 CSCF包括接收单元 1001 ,判断单元 1002 以及发送单元 1003 , 其中,
所述接收单元 1001 , 用于接收会话初始化协议消息;
所述判断单元 1002, 用于根据所述接收单元 1001接收到的会话初始化协 议消息, 判断所述发送单元 1003 将要向 HSS 发送的 Diameter 消息是否是 Diameter首消息; 所述发送单元 1003, 用于在所述判断单元 1002确定将要向所述 HSS发送 的 Diameter消息是 Diameter首消息时, 向所述 HSS发送携带首消息标识的 Diameter消息。
其中, 所述 CSCF可以为 I-CSCF, 所述接收单元 1001可以具体用于接收 P-CSCF发送的注册消息;
在所述接收单元 1001接收到的注册消息携带的过期参数的值为 0,或者所 述注册消息携带的过期参数的值不为 0且所述注册消息未携带响应值时, 所述 器发送的 UAR消息是 Diameter首消息;
在所述接收单元 1001接收到的注册消息携带响应值, 且所述注册消息携 带的过期参数的值不为零时, 所述判断单元 1002可以具体用于确定所述发送 单元 1003将要向所述 HSS发送的 UAR消息不是 Diameter首消息。
其中, 所述 CSCF可以为 S-CSCF, 所述接收单元 1001可以具体用于接收 I-CSCF发送的注册消息;
所述判断单元 1002可以具体用于在所述接收单元 1001接收到所述 I-CSCF 发送的注册消息之后, 确定所述发送单元 1003将要向所述 HSS发送的 MAR 消息或 SAR消息不是 Diameter首消息。
其中, 所述 CSCF可以为 I-CSCF, 所述接收单元 1001可以具体用于接收 主叫用户设备发送的会话邀请消息;
所述判断单元 1002可以具体用于在所述接收单元 1001接收到会话邀请消 息之后, 确定所述发送单元 1003将要向所述归属用户服务器发送的 LIR消息 是 Diameter首消息。
其中, 在所述判断单元 1002确定所述发送单元 1003将要向所述归属用户 服务器发送的 Diameter消息不是 Diameter首消息时, 所述发送单元 1003还可 以用于向所述 HSS发送携带中间消息标识的 Diameter消息。 其中, 所述 CSCF还可以包括:
构造单元, 用于在所述判断单元 1002确定所述发送单元 1003将要向所述 HSS发送的 Diameter消息是 Diameter首消息时, 在所述 Diameter消息的头部 或属性值对中构造所述首消息标识; 或者,
Diameter消息不是 Diameter首消息时,在所述 Diameter消息的头部或属性值对 中构造所述中间消息标识。
本发明实施例提供的一种 CSCF, 在判断单元确定将要向 HSS 发送的 Diameter消息是 Diameter首消息时, 发送单元向该 HSS发送携带首消息标识 的 Diameter消息, 使得该 HSS在进行过载处理时, 可以直接识别所接收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进行过载处理的处理负 荷; 另外, 判断单元可以根据接收单元接收到的 SIP消息, 判断将要向该 HSS 发送的 Diameter消息是否是 Diameter首消息,使得 CSCF可以根据当前所执行 的业务流程识别 Diameter首消息,相对于现有技术, HSS不需保存当前业务流 程对应的会话标识, 从而节省了存储资源, 减少了 HSS识别 Diameter首消息 的资源消耗; 其次, 在判断单元确定将要发送的 Diameter 消息不是 Diameter 首消息时, 发送单元可以向 HSS发送携带中间消息标识的 Diameter消息, 使 得该 HSS能够显式地获知当前接收的 Diamiter消息不是 Diameter首消息。 如图 11所示, 为本发明实施例提供的一种 HSS的结构示意图, 该 HSS可 以应用于如图 8所示的***中, 该 HSS包括:
接收单元 1101 , 用于接收 CSCF发送的 Diameter消息;
判断单元 1102, 用于判断所述接收单元 1101接收到的 Diameter消息是否 携带首消息标识;
过载处理单元 1103 ,用于在所述判断单元 1102判断所述接收单元 1101接 收的 Diameter 消息携带所述首消息标识时, 对所述接收单元 1101 接收到的 Diameter消息进行过载处理。
其中, 所述过载处理单元 1103可以具体用于将所述接收单元 1101接收到 的 Diameter消息丢弃。
其中, 所述 HSS还可以包括:
发送单元, 用于在所述过载处理单元 1103将所述接收单元 1101接收到的 Diameter消息丢弃之后, 向所述 CSCF发送过载响应消息。
本发明实施例提供的一种对 Diameter消息进行处理的方法、 装置及***, CSCF确定将要向 HSS发送的 Diameter消息是 Diameter首消息时, 向该 HSS 发送携带首消息标识的 Diameter消息, 使得该 HSS在进行过载处理时, 可以 直接识别所接收到的 Diameter是否是 Diameter首消息, 从而降低了该 HSS进 行过载处理的处理负荷; 另外, 该 CSCF可以根据接收到的 SIP消息, 判断将 要向该 HSS发送的 Diameter消息是否是 Diameter首消息, 使得该 CSCF可以 根据当前所执行的业务流程识别 Diameter首消息,相对于现有技术, HSS不需 保存当前业务流程对应的会话标识, 从而节省了存储资源; 其次, 在该 CSCF 发起注销流程时, 该 CSCF可以直接确定将要向该 HSS发送的 SAR消息是 Diameter首消息, 使得该 CSCF可以根据当前所执行的业务流程识别 Diameter 首消息, 相对于现有技术, HSS不需保存当前业务流程对应的会话标识, 从而 节省了存储资源, 减少了 HSS识别 Diameter首消息的资源消耗; 再次, 在该 CSCF将要发送的 Diameter消息不是 Diameter首消息时,该 CSCF可以向 HSS 发送携带中间消息标识的 Diameter消息, 使得该 HSS能够显式地获知当前接 收的 Diamiter消息不是 Diameter首消息。
通过以上的实施方式的描述可知, 本领域的技术人员可以清楚地了解到上 述实施例方法中的全部或部分步骤可借助软件加必需的通用硬件平台的方式 来实现。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡 献的部分可以以软件产品的形式体现出来, 该计算机软件产品可以存储在存储 介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机设 备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例或 者实施例的某些部分所述的方法。
需要说明的是, 本说明书中的各个实施例均采用递进的方式描述, 各个实 施例之间相同相似的部分互相参见即可, 每个实施例重点说明的都是与其他实 施例的不同之处。尤其,对于装置实施例而言, 由于其基本相似于方法实施例, 所以描述得比较筒单, 各单元具体功能的执行过程参见方法实施例的部分说明 即可。 以上所描述的装置实施例仅仅是示意性的, 其中作为分离部件说明的单 元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可 以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目 的。 本领域普通技术人员在不付出创造性劳动的情况下, 即可以理解并实施。
总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定本 发明的保护范围。凡在本发明的精神和原则之内, 所作的任何修改、等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种对 Diameter消息进行处理的方法, 其特征在于, 包括:
呼叫会话控制功能实体判断将要向归属用户服务器发送的 Diameter 消息 是否是 Diameter首消息;
若是, 则所述呼叫会话控制功能实体向所述归属用户服务器发送携带首消 息标识的 Diameter消息。
2、 如权利要求 1 所述的方法, 其特征在于, 所述呼叫会话控制功能实体 判断将要向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 包括:
所述呼叫会话控制功能实体接收会话初始化协议消息;
所述呼叫会话控制功能实体根据所述会话初始化协议消息, 判断将要向所 述归属用户服务器发送的 Diameter消息是否是 Diameter首消息。
3、 如权利权要 2所述的方法, 其特征在于, 所述呼叫会话控制功能实体 接收会话初始化协议消息, 包括:
问询-呼叫会话控制功能实体接收代理-呼叫会话控制功能实体发送的注册 消息;
贝 |J , 所述呼叫会话控制功能实体根据所述会话初始化协议消息, 判断将要 向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 包括: 若所述注册消息携带的过期参数的值为零, 或者所述注册消息携带的过期 参数的值不为零且所述注册消息未携带响应值,则所述问询 -呼叫会话控制功能 实体确定将要向所述归属用户服务器发送的用户授权请求消息是 Diameter首 消息;
若所述注册消息携带响应值, 且所述注册消息携带的过期参数的值不为 零,则所述问询 -呼叫会话控制功能实体确定将要向所述归属用户服务器发送的 用户授权请求消息不是 Diameter首消息。
4、 如权利权要 2所述的方法, 其特征在于, 所述呼叫会话控制功能实体 接收会话初始化协议消息, 包括:
服务-呼叫会话控制功能实体接收问询 -呼叫会话控制功能实体发送的注册 消息;
贝 |J , 所述呼叫会话控制功能实体根据所述会话初始化协议消息, 判断将要 向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 包括: 所述服务-呼叫会话控制功能实体确定将要向所述归属用户服务器发送的 多媒体授权请求消息或服务器分配请求消息不是 Diameter首消息。
5、 如权利要求 2所述的方法, 所述呼叫会话控制功能实体接收会话初始 化协议消息, 包括:
问询 -呼叫会话控制功能实体接收主叫用户设备发送的会话邀请消息; 贝 |J , 所述呼叫会话控制功能实体根据所述会话初始化协议消息, 判断将要 向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 包括: 所述问询 -呼叫会话控制功能实体确定将要向所述归属用户服务器发送的 位置信息请求消息是 Diameter首消息。
6、 如权利要求 1 所述的方法, 其特征在于, 所述呼叫会话控制功能实体 为问询 -呼叫会话控制功能实体,则所述呼叫会话控制功能实体判断将要向所述 归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 包括:
当所述问询-呼叫会话控制功能实体发起注销流程时, 所述问询 -呼叫会话 控制功能实体确定将要向所述归属用户服务器发送的服务器分配请求消息是 Diameter首消息。
7、 如权利要求 1-6中任一所述的方法, 其特征在于, 所述方法还包括: 若所述呼叫会话控制功能实体将要向所述归属用户服务器发送的 Diameter 消息不是 Diameter首消息,则所述呼叫会话控制功能实体向所述归属用户服务 器发送携带中间消息标识的 Diameter消息。
8、 如权利要求 7所述的方法, 其特征在于, 所述呼叫会话控制功能实体 发送所述 Diameter消息之前, 所述方法还包括:
若所述呼叫会话控制功能实体将要向所述归属用户服务器发送的 Diameter 消息是 Diameter首消息, 则所述呼叫会话控制功能实体在所述 Diameter消息 的头部或属性值对中构造所述首消息标识; 或者,
若所述呼叫会话控制功能实体将要向所述归属用户服务器发送的 Diameter 消息不是 Diameter首消息, 则所述呼叫会话控制功能实体在所述 Diameter消 息的头部或属性值对中构造所述中间消息标识。
9、 一种对 Diameter消息进行处理的方法, 其特征在于, 包括:
归属用户服务器接收呼叫会话控制功能实体发送的 Diameter消息; 所述归属用户服务器判断所述 Diameter消息中是否携带首消息标识; 若所述 Diameter消息携带所述首消息标识,则所述归属用户服务器对所述 Diameter消息进行过载处理。
10、 如权利要求 9所述的方法, 其特征在于, 所述归属用户服务器对所述 Diameter消息进行过载处理, 包括:
所述归属用户服务器将所述 Diameter消息丢弃。
11、 如权利要求 10所述的方法, 其特征在于, 所述归属用户服务器将所 述 Diameter消息丢弃之后, 所述方法还包括:
所述归属用户服务器向所述呼叫会话控制功能实体发送过载响应消息。
12、 一种呼叫会话控制功能实体, 其特征在于, 包括判断单元以及发送单 元, 其中,
所述判断单元, 用于判断所述发送单元将要向归属用户服务器发送的 Diameter消息是否是 Diameter首消息;
所述发送单元, 用于在所述判断单元确定将要向所述归属用户服务器发送 的 Diameter消息是 Diameter首消息时, 向所述归属用户服务器发送携带首消 息标识的 Diameter消息。
13、 如权利要求 12所述的呼叫会话控制功能实体, 其特征在于, 还包括: 接收单元, 用于接收会话初始化协议消息;
则, 所述判断单元具体用于根据所述接收单元接收到的会话初始化协议消 息,判断所述发送单元将要向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息。
14、 如权利要求 13所述的呼叫会话控制功能实体, 其特征在于, 所述呼 叫会话控制功能实体为问询 -呼叫会话控制功能实体,所述接收单元具体用于接 收代理 -呼叫会话控制功能实体发送的注册消息;
在所述接收单元接收到的注册消息携带的过期参数的值为零, 或者所述注 册消息携带的过期参数的值不为零且所述注册消息未携带响应值时, 所述判断 单元具体用于确定所述发送单元将要向所述归属用户服务器发送的用户授权 请求消息是 Diameter首消息;
在所述接收单元接收到的注册消息携带响应值, 且所述注册消息携带的过 期参数的值不为零时, 所述判断单元具体用于确定所述发送单元将要向所述归 属用户服务器发送的用户授权请求消息不是 Diameter首消息。
15、 如权利要求 13所述的呼叫会话控制功能实体, 其特征在于, 所述呼 叫会话控制功能实体为服务 -呼叫会话控制功能实体,所述接收单元具体用于接 收问询 -呼叫会话控制功能实体发送的注册消息;
所述判断单元具体用于在所述接收单元接收到所述问询 -呼叫会话控制功 能实体发送的注册消息之后, 确定所所述发送单元将要向所述归属用户服务器 发送的多媒体授权请求消息或服务器分配请求消息不是 Diameter首消息。
16、 如权利要求 13所述的呼叫会话控制功能实体, 其特征在于, 所述呼 叫会话控制功能实体为问询 -呼叫会话控制功能实体,所述接收单元具体用于接 收主叫用户设备发送的会话邀请消息; 所述判断单元具体用于在所述接收单元接收到会话邀请消息之后, 确定所 述发送单元将要向所述归属用户服务器发送的位置信息请求消息是 Diameter 首消息。
17、 如权利要求 12所述的呼叫会话控制功能实体, 其特征在于, 所述呼 叫会话控制功能实体为问询 -呼叫会话控制功能实体, 当所述问询 -呼叫会话控 制功能实体发起注销流程时, 所述判断单元具体用于确定所述发送单元将要向 所述归属用户服务器发送的服务器分配请求消息是 Diameter首消息。
18、如权利要求 12-17中任一所述的呼叫会话控制功能实体,其特征在于, 在所述判断单元确定所述发送单元将要向所述归属用户服务器发送的 Diameter 消息不是 Diameter首消息时,所述发送单元还用于向所述归属用户服务器发送 携带中间消息标识的 Diameter消息。
19、 如权利要求 18所述的呼叫会话控制功能实体, 其特征在于, 还包括: 构造单元, 用于在所述判断单元确定所述发送单元将要向所述归属用户服 务器发送的 Diameter消息是 Diameter首消息时, 在所述 Diameter消息的头部 或属性值对中构造所述首消息标识; 或者,
用于在所述判断单元确定所述发送单元将要向所述归属用户服务器发送 的 Diameter消息不是 Diameter首消息时, 在所述 Diameter消息的头部或属性 值对中构造所述中间消息标识。
20、 一种归属用户服务器, 其特征在于, 包括:
接收单元, 用于接收呼叫会话控制功能实体发送的 Diameter消息; 判断单元,用于判断所述接收单元接收到的 Diameter消息是否携带首消息 标识;
过载处理单元, 用于在所述判断单元判断所述接收单元接收的 Diameter 消息携带所述首消息标识时,对所述接收单元接收到的 Diameter消息进行过载 处理。
21、 如权利要求 20所述的归属用户服务器, 其特征在于, 所述过载处理 单元具体用于将所述接收单元接收到的 Diameter消息丢弃。
22、 如权利要求 20所述的归属用户服务器, 其特征在于, 还包括: 发送单元, 用于在所述过载处理单元将所述接收单元接收到的 Diameter 消息丢弃之后, 向所述呼叫会话控制功能实体发送过载响应消息。
23、 一种对 Diameter消息进行处理的***, 其特征在于, 包括呼叫会话控 制功能实体以及归属用户服务器, 其中:
所述呼叫会话控制功能实体, 用于判断将要向所述归属用户服务器发送的 Diameter消息是否是 Diameter首消息, 若是, 则向所述归属用户服务器发送携 带首消息标识的 Diameter消息;
所述归属用户服务器, 用于接收所述呼叫会话控制功能实体发送的 Diameter消息, 判断接收到的 Diameter消息是否携带首消息标识, 若是, 则对 所述 Diameter消息进行过载处理。
PCT/CN2013/070048 2012-06-15 2013-01-05 一种对Diameter消息进行处理的方法、装置及*** WO2013185479A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210197730.6A CN102740269B (zh) 2012-06-15 2012-06-15 一种对Diameter消息进行处理的方法、装置及***
CN201210197730.6 2012-06-15

Publications (1)

Publication Number Publication Date
WO2013185479A1 true WO2013185479A1 (zh) 2013-12-19

Family

ID=46994878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/070048 WO2013185479A1 (zh) 2012-06-15 2013-01-05 一种对Diameter消息进行处理的方法、装置及***

Country Status (2)

Country Link
CN (1) CN102740269B (zh)
WO (1) WO2013185479A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243291A (zh) * 2019-07-16 2021-01-19 ***通信集团有限公司 通信业务处理方法、***、业务单元、终端和存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740269B (zh) * 2012-06-15 2015-03-11 华为技术有限公司 一种对Diameter消息进行处理的方法、装置及***

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079742A (zh) * 2007-07-03 2007-11-28 中兴通讯股份有限公司 容灾归属用户服务器间的数据同步方法及***
CN101102185A (zh) * 2006-07-06 2008-01-09 朗迅科技公司 Ims会话的媒体安全
CN101127771A (zh) * 2007-09-28 2008-02-20 中兴通讯股份有限公司 用于ip多媒体子***的用户公共标识的显示名称实现方法
WO2011047382A2 (en) * 2009-10-16 2011-04-21 Tekelec Methods, systems, and computer readable media for providing diameter signaling router with integrated monitoring and/or firewall functionality
CN102740269A (zh) * 2012-06-15 2012-10-17 华为技术有限公司 一种对Diameter消息进行处理的方法、装置及***

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299714A (zh) * 2008-05-19 2008-11-05 华为技术有限公司 流控的方法、装置和***
CN102143040A (zh) * 2010-06-30 2011-08-03 华为技术有限公司 流量控制的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102185A (zh) * 2006-07-06 2008-01-09 朗迅科技公司 Ims会话的媒体安全
CN101079742A (zh) * 2007-07-03 2007-11-28 中兴通讯股份有限公司 容灾归属用户服务器间的数据同步方法及***
CN101127771A (zh) * 2007-09-28 2008-02-20 中兴通讯股份有限公司 用于ip多媒体子***的用户公共标识的显示名称实现方法
WO2011047382A2 (en) * 2009-10-16 2011-04-21 Tekelec Methods, systems, and computer readable media for providing diameter signaling router with integrated monitoring and/or firewall functionality
CN102740269A (zh) * 2012-06-15 2012-10-17 华为技术有限公司 一种对Diameter消息进行处理的方法、装置及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243291A (zh) * 2019-07-16 2021-01-19 ***通信集团有限公司 通信业务处理方法、***、业务单元、终端和存储介质
CN112243291B (zh) * 2019-07-16 2024-02-23 ***通信集团有限公司 通信业务处理方法、***、业务单元、终端和存储介质

Also Published As

Publication number Publication date
CN102740269A (zh) 2012-10-17
CN102740269B (zh) 2015-03-11

Similar Documents

Publication Publication Date Title
EP2658202B1 (en) Identification of an ip-can session in a policy and charging control apparatus
US7583963B2 (en) User registration in a communication system
US8036659B2 (en) Method for requesting an unregistered UE to perform registration in the IMS
CN102098652B (zh) 一种为用户提供业务的方法、***和装置
US20160205200A1 (en) Method and system for providing ims session continuity to a user equipment across a plurality of communication networks
US20140228019A1 (en) System and method for terminating communication sessions with roaming mobile devices
EP2737678A1 (en) Methods and apparatus for supporting the implementation of ims service continuity
CN1885787A (zh) 一种在用户注册过程中注册异常的处理方法
WO2017116896A1 (en) Method and apparatus for binding of a user-based public identity to a shared device in an internet protocol multimedia subsystem (ims)-based communication system
WO2017092229A1 (zh) 基于多业务的ims注册方法和ims注册***
CN102984164B (zh) 一种ims注册方法及装置
WO2014094435A1 (zh) 一种基于号码携带业务的在线计费方法、装置及***
US9538360B2 (en) Apparatus, method and computer-readable storage medium for registering user identities
WO2007095796A1 (fr) Procédé et système de mise en oeuvre de service d'appel
WO2009059503A1 (fr) Procédé de traitement de reddition de comptes, système de réseau, système de reddition de compte et serveur commercial
WO2013185479A1 (zh) 一种对Diameter消息进行处理的方法、装置及***
WO2012138178A2 (ko) 무선 통신 시스템에서 iut 방법 및 장치
CN102752879A (zh) 会话接入方法及装置
EP2775689A1 (en) Method and apparatus for iut in a wireless communication system
CN103905405A (zh) 一种ims的用户注册方法、装置及相关设备
WO2022166742A1 (zh) 网络注册方法、装置和用户设备
WO2016165672A1 (zh) 语音业务注册方法及装置
KR101173836B1 (ko) Ims망에서 s-cscf 장애 복구 후 착신 및 발신 호 처리 방법 및 그 시스템
WO2011029342A1 (zh) 一种识别pui类型的方法、设备及***
CN108235428B (zh) 实现ue注册p-cscf的方法、mme设备及pgw设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13805018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13805018

Country of ref document: EP

Kind code of ref document: A1