CN113038456A - User registration method, device, equipment and storage medium - Google Patents

User registration method, device, equipment and storage medium Download PDF

Info

Publication number
CN113038456A
CN113038456A CN201911351018.5A CN201911351018A CN113038456A CN 113038456 A CN113038456 A CN 113038456A CN 201911351018 A CN201911351018 A CN 201911351018A CN 113038456 A CN113038456 A CN 113038456A
Authority
CN
China
Prior art keywords
cscf
initial registration
response message
registration request
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911351018.5A
Other languages
Chinese (zh)
Inventor
魏正刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201911351018.5A priority Critical patent/CN113038456A/en
Publication of CN113038456A publication Critical patent/CN113038456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • H04W8/265Network addressing or numbering for mobility support for initial activation of new user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Landscapes

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

Abstract

The application provides a user registration method, a device, equipment and a storage medium, wherein the method is applied to a P-CSCF and comprises the following steps: receiving a first initial registration request sent by a user terminal, and forwarding the first initial registration request to an S-CSCF through an I-CSCF; receiving initial register response message returned by S-CSCF through I-CSCF; the initial registration response message carries an extended service routing field comprising the host name of the S-CSCF; storing the extended service routing field and sending an initial registration response message to the user terminal; receiving a second initial registration request sent by the user terminal; and updating the second initial registration request according to the stored extended service routing field and sending the second initial registration request to the S-CSCF so as to perform initial registration through the S-CSCF. The message sending path in the initial registration process of the IMS is changed, and the registration flow consumed by the IMS is effectively reduced.

Description

User registration method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a user registration method, apparatus, device, and storage medium.
Background
An IP Multimedia service Subsystem (IMS) is proposed by 3GPP, the purpose of IMS is to establish a converged core network that is independent of access and can be shared by a mobile network and a fixed network, and IMS is an open, access-independent, standardized session control architecture that supports Multimedia services. At present, with the rapid increase of the existing network IMS and VoLte users, the IMS system consumes more and more traffic, and in order to ensure the stable operation of the existing network IMS, reducing the traffic consumption of the existing network IMS in a reasonable manner to the maximum extent becomes an important problem to be solved urgently.
Disclosure of Invention
The application provides a user registration method, a device, equipment and a storage medium, which are used for changing a message sending path in an initial registration process of an IMS (IP multimedia subsystem) and effectively reducing registration flow consumed by the IMS.
The embodiment of the present application provides a user registration method, which is applied to a Proxy-Call Session Control Function (P-CSCF), and includes:
receiving a first initial registration request sent by a user terminal, and forwarding the first initial registration request to a Serving-Call Session Control Function (S-CSCF) through an Interrogating-Call Session Control Function (I-CSCF);
receiving initial register response message returned by S-CSCF through I-CSCF; the initial registration response message corresponds to the first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
storing the extended service routing field and sending an initial registration response message to the user terminal;
receiving a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and updating the second initial registration request according to the stored extended service routing field, and sending the updated second initial registration request to the S-CSCF so as to perform initial registration on the user terminal through the S-CSCF.
The embodiment of the application provides another user registration method, which is applied to an S-CSCF and comprises the following steps:
receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF, and sending an authentication request corresponding to the first initial registration request to a Home Subscriber Server (HSS);
receiving an authentication response message corresponding to the authentication request returned by the HSS;
constructing an initial registration response message according to the authentication response message, and forwarding the initial registration response message to the P-CSCF through the I-CSCF; the initial registration response message carries an extended service routing field comprising the host name of the S-CSCF;
receiving an updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
and performing initial registration on the user terminal according to the updated second initial registration request.
The embodiment of the application provides a user registration device, which is applied to a P-CSCF and comprises:
the forwarding module is used for receiving a first initial registration request sent by a user terminal and forwarding the first initial registration request to the S-CSCF through the I-CSCF;
the first receiving module is used for receiving an initial registration response message returned by the S-CSCF through the I-CSCF; the initial registration response message corresponds to the first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
the first sending module is used for storing the expanded service routing field and sending the initial registration response message to the user terminal;
a second receiving module, configured to receive a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and the second sending module is used for updating the second initial registration request according to the stored extended service routing field and sending the updated second initial registration request to the S-CSCF so as to carry out initial registration on the user terminal through the S-CSCF.
The embodiment of the present application provides another user registration apparatus, which is applied to an S-CSCF, and includes:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF and sending an authentication request corresponding to the first initial registration request to an HSS;
the first receiving module is used for receiving an authentication response message which is returned by the HSS and corresponds to the authentication request;
the forwarding module is used for constructing an initial registration response message according to the authentication response message and forwarding the initial registration response message to the P-CSCF through the I-CSCF; the initial registration response message carries an extended service routing field comprising the host name of the S-CSCF;
the second receiving module is used for receiving the updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
and the registration module is used for carrying out initial registration on the user terminal according to the updated second initial registration request.
An embodiment of the present application provides an apparatus, which includes:
one or more processors;
a storage device for storing one or more programs,
when executed by one or more processors, cause the one or more processors to implement a user registration method as in any of the embodiments of the present application.
An embodiment of the present application provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements any user registration method in the embodiment of the present application.
According to the user registration method, the device, the equipment and the storage medium provided by the embodiment of the application, the P-CSCF forwards the first initial registration message of the user terminal to the S-CSCF, and stores the extended service routing field which comprises the host name of the S-CSCF and is carried in the initial registration response message after receiving the initial registration response message returned by the I-CSCF, so that when the second initial registration request sent by the user terminal is received, the second initial registration request can be directly updated according to the stored host name of the S-CSCF and sent to the S-CSCF, the initial registration is carried out on the user terminal through the S-CSCF, the message sending path in the initial registration process of the IMS is changed, and the registration flow consumed by the IMS is effectively reduced.
Drawings
Fig. 1 is a schematic signaling interaction diagram of an IMS initial registration procedure in the prior art;
fig. 2 is a schematic signaling interaction diagram of an IMS refresh registration procedure in the prior art;
fig. 3 is a schematic flowchart of a user registration method according to an embodiment of the present application;
fig. 4 is another schematic flow chart of a user registration method according to an embodiment of the present application;
fig. 5 is a schematic signaling interaction diagram of a user registration method according to an embodiment of the present application;
fig. 6 is a schematic signaling interaction diagram of another user registration method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a user registration apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another user registration apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
For the convenience of solution understanding, a signaling interaction process of an IMS initial registration process, an updated registration process, and a deregistration process in the prior art is described first. Fig. 1 is a schematic signaling interaction diagram of an IMS initial registration procedure in the prior art, as shown in fig. 1, a signaling interaction process of the IMS initial registration procedure in the prior art is as follows:
(1) the User terminal sends an initial REGISTER request to the P-CSCF, and the REGISTER request REGISTER should include a Public User Identity (PUI), a Private User Identity (PVI) and an attribution domain name of the User.
(2) The P-CSCF determines an I-CSCF of a user home network by querying a Domain Name System (DNS) or static configuration according to the home Domain Name of the user, and sends a REGISTER request to the I-CSCF.
(3) The I-CSCF sends a UAR message to the HSS to inquire the host name or the capability of the S-CSCF subscribed by the user.
(4) HSS returns UAA message to I-CSCF, and UAA message includes S-CSCF host name or capability of user signing attribution.
(5) And the I-CSCF sends a REGISTER to the S-CSCF which belongs to according to the query result in the UAA message.
(6) And after receiving the REGISTER, the S-CSCF sends a MAR message to the HSS to download the user authentication information.
(7) And the HSS returns the MAA response message carrying the authentication vector to the S-CSCF.
(8) And the S-CSCF constructs a 401 response message according to the MAA response message and sends the 401 response message to the I-CSCF, and the 401 response message contains a WWW-authentication header for requiring the user to carry out authentication challenge.
(9) The I-CSCF forwards the received 401 response message to the P-CSCF.
(10) The P-CSCF sends the received 401 response message to the user terminal.
(11) After receiving 401 the response message, the user terminal sends a second REGISTER request to the P-CSCF, where the second REGISTER request includes an Authorization header with a reply, i.e., a user name and a password, calculated by the user terminal.
(12) And the P-CSCF determines the I-CSCF of the user home network by inquiring DNS or static configuration according to the user home domain name, and sends a second REGISTER request to the I-CSCF.
(13) The I-CSCF sends a UAR message to the HSS to inquire the host name or the capability of the S-CSCF subscribed by the user.
(14) HSS returns UAA message to I-CSCF, and UAA message includes S-CSCF host name or ability signed attribution by user.
(15) And the I-CSCF sends a second REGISTER request to the S-CSCF to which the I-CSCF belongs according to the query result in the UAA message.
(16) And the S-CSCF checks the Reverse carried by the second REGISTER request, sends an SAR request to the HSS after authentication, and informs the HSS of user registration and user data downloading.
(17) And the HSS returns a response message containing the user subscription information SAA to the S-CSCF.
(18) And the S-CSCF receives the successful SAA response message, locally updates and stores the user data, matches the iFC filtering rule to trigger third-party registration, and returns a 200OK response message of successful registration to the I-CSCF, wherein the response comprises a Service-Route field.
(19) The I-CSCF sends the received 200OK response message to the P-CSCF.
(20) And the P-CSCF sends the received 200OK response message to the user terminal to complete the initial registration of the user.
Fig. 2 is a schematic signaling interaction diagram of an IMS refresh registration procedure in the prior art, and as shown in fig. 2, a signaling interaction process of the IMS refresh registration procedure in the prior art is as follows:
(1) the user terminal sends a refreshed REGISTER request to the P-CSCF, and the REGISTER request comprises the PUI, PVI and the home domain name of the user.
(2) And the P-CSCF determines the I-CSCF of the user home network by inquiring DNS or static configuration according to the user home domain name, and sends the REGISTER request to the I-CSCF.
(3) The I-CSCF sends a UAR message to the HSS to inquire the host name or the capability of the S-CSCF subscribed by the user.
(4) HSS returns UAA message to I-CSCF, and UAA message includes S-CSCF host name of user subscription affiliation.
(5) And the I-CSCF sends a REGISTER request to the S-CSCF which belongs to according to the query result in the UAA message.
(6) And the S-CSCF sends the SAR request to the HSS after receiving the REGISTER request, and informs the HSS of the user to refresh the registration.
(7) And the HSS returns an SAA response message to the S-CSCF, and the SAA response message does not carry the user subscription information.
(8) And the S-CSCF receives the successful SAA response message, locally updates and stores the user data, matches the iFC filtering rule to trigger third-party registration, and returns a 200OK response message of successful registration to the I-CSCF, wherein the response comprises a Service-Route field.
(9) The I-CSCF sends a 200OK response message to the P-CSCF.
(10) And the P-CSCF sends a 200OK response message to the user terminal to complete the initial registration of the user.
In the IMS deregistration procedure in the prior art, a user sends a deregister request to an S-CSCF via a P-CSCF and an I-CSCF, and the rest of signaling interaction processes are the same as those of the update registration procedure.
In the existing IMS initial registration flow, updated registration flow, or deregistration flow, each time the P-CSCF forwards the REGISTER request to the S-CSCF, the P-CSCF needs to forward the REGISTER request to the I-CSCF first, and queries the HSS for the host name of the S-CSCF to which the user subscribes, through the I-CSCF, before the P-CSCF can forward the REGISTER request to the S-CSCF through the I-CSCF, which results in too many interactive messages in the IMS initial registration flow, updated registration flow, or deregistration flow, and large consumed registration flow.
The inventor creatively proposes to make the S-CSCF carry the host name of the S-CSCF in the returned registration response message, when the registration response message carrying the host name of the S-CSCF is forwarded to the P-CSCF, the P-CSCF stores the host name of the S-CSCF, so that when the user sends a REGISTER request, refreshes the REGISTER request or cancels the REGISTER request to the S-CSCF through the P-CSCF, the P-CSCF can directly update the REGISTER request, refreshes the REGISTER request or cancels the REGISTER request according to the stored host name of the S-CSCF, thereby directly sending the request to the S-CSCF without an I-CSCF to shorten the message transmission path, the flow consumption is reduced.
Fig. 3 is a flowchart illustrating a user registration method according to an embodiment of the present application, where the method may be applied to a case where an IMS initial registration is performed on a user. The method can be executed by the P-CSCF provided by the application and is matched with the S-CSCF for use. As shown in fig. 3, the method includes:
step 310, receiving a first initial registration request sent by the user terminal, and forwarding the first initial registration request to the S-CSCF via the I-CSCF.
It should be noted that the first initial registration request is a REGISTER request sent when the user terminal initiates Session Initiation Protocol (SIP) registration for the first time, specifically, the REGISTER request is sent to the P-CSCF by the user terminal for the first time and is used for initial registration. The P-CSCF is connected to the user terminal, is the first entity contacted by the user terminal in the IMS system, and is configured to forward SIP signaling received from the user terminal or forward SIP signaling sent to the user terminal by other nodes to the user terminal. The I-CSCF is the contact point inside an operator' S network, all user connections to the network operator go through the I-CSCF, which may allocate an S-CSCF to a user initiating a SIP register request and forward the register request of the user terminal to the S-CSCF. The S-CSCF may process a registration request from a user terminal.
In a specific implementation, in order to send a first initial registration request of a user terminal to an S-CSCF for processing, after the P-CSCF receives the first initial registration request from the user terminal, an I-CSCF of a user home network is determined according to a home domain name of a user included in the first initial registration request, and then the first initial registration request is sent to the I-CSCF, so as to query an S-CSCF host name signed by the user terminal through the I-CSCF, and further send the first initial registration request to the S-CSCF to which the user terminal belongs through the I-CSCF.
And step 320, receiving an initial registration response message returned by the S-CSCF through the I-CSCF.
It should be noted that the initial registration response message corresponds to the first initial registration request, and the initial registration response message carries an extended service routing field including the hostname of the S-CSCF.
In one example, the initial registration response message sent by the S-CSCF may be a 401 response message, where the 401 response message carries a SIP extension field, and the field may be named as a P-Service-Route, that is, an extended Service routing field, and the P-Service-Route field is used to identify a host name of the S-CSCF to which the user belongs. Of course, the embodiment may also use other SIP fields to carry the S-CSCF host name, and is not limited to use the Service-Route field to carry the S-CSCF host name.
Step 330, storing the extended service routing field and sending the initial registration response message to the user terminal.
In one example, in order to receive the initial registration request sent by the user terminal again, the request can be directly sent to the S-CSCF without the need of the I-CSCF and the HSS, so as to achieve the purposes of shortening the message transfer path and reducing traffic consumption, after receiving the 401 response message returned by the S-CSCF via the I-CSCF, the P-CSCF extracts the P-Service-Route field including the host name of the S-CSCF from the 401 response message, stores the P-Service-Route field, and sends the 401 response message to the user terminal.
Step 340, receiving a second initial registration request sent by the user terminal.
It should be noted that the second initial registration request is a REGISTER request sent by the user terminal to the P-CSCF for initial registration for the second time, and is constructed by the user terminal according to the initial registration response message, where the REGISTER request includes a user name and a password for network authentication calculated by the user terminal.
And step 350, updating the second initial registration request according to the stored extended service routing field, and sending the updated second initial registration request to the S-CSCF, so as to perform initial registration on the user equipment through the S-CSCF.
In one example, updating the second initial registration request according to the stored extended services routing field may include: the hostname in the REQUEST-URI header field in the second initial registration REQUEST is replaced with the S-CSCF hostname included in the extended service route field.
Wherein, the header field of the second initial registration REQUEST includes a REQUEST-URI header field for requesting a Uniform Resource Identifier (URI), the URI includes a host name of S-CSCF storing the Resource, and the P-CSCF replaces the host name in the REQUEST-URI header field according to the stored host name of S-CSCF, and can directly send the updated second initial registration REQUEST to S-CSCF.
In one example, after sending the updated second initial registration request to the S-CSCF, the method may further include: receiving a registration success response message sent by the S-CSCF, wherein the registration success response message comprises a Service-Route field; and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
It should be noted that, after the S-CSCF completes network authentication on the user equipment according to the second initial registration request and registers the user equipment, the P-CSCF receives a 200OK response message returned by the S-CSCF, where the 200OK response message carries a Service-Route field including a host name of the S-CSCF, and in order to ensure that the subsequent registration request of the user equipment can reach the same SCSCF, the host name of the S-CSCF in the extended Service routing field stored in the P-CSCF needs to be updated according to the host name of the S-CSCF included in the Service-Route field.
According to the user registration method, the device, the equipment and the storage medium provided by the embodiment of the application, the P-CSCF forwards the first initial registration message of the user terminal to the S-CSCF, and stores the extended service routing field which comprises the host name of the S-CSCF and is carried in the initial registration response message after receiving the initial registration response message returned by the I-CSCF, so that when the second initial registration request sent by the user terminal is received, the second initial registration request can be directly updated according to the stored host name of the S-CSCF and sent to the S-CSCF, the initial registration is carried out on the user terminal through the S-CSCF, the message sending path in the initial registration process of the IMS is changed, and the registration flow consumed by the IMS is effectively reduced.
On the basis of the above embodiment, the method is also applicable to the case of performing IMS refresh registration on the user.
In one example, after sending the updated second initial registration request to the S-CSCF, the method may further include: receiving a refreshing registration request sent by a user terminal; and updating the refresh registration request according to the stored extended service routing field, and sending the updated refresh registration request to the S-CSCF so as to refresh and register the user terminal through the S-CSCF.
In a specific implementation, after the P-CSCF sends the 200OK response message received from the S-CSCF to the user terminal, a refresh registration REQUEST sent by the user terminal may be received, and since the refresh registration REQUEST corresponds to the initial registration REQUEST by the same SCSCF, the P-CSCF may replace the host name in the REQUEST-URI header field in the refresh registration REQUEST with the S-CSCF host name included in the stored extended service route field, and then directly send the updated refresh registration REQUEST to the S-CSCF for refresh registration.
In one example, after sending the updated refresh registration request to the S-CSCF, the method may further include: receiving a registration success response message sent by the S-CSCF, wherein the registration success response message comprises a Service-Route field; and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
It should be noted that, after the S-CSCF performs refresh registration on the user equipment, the P-CSCF receives a 200OK response message returned by the S-CSCF and indicating that the refresh registration is successful, where the 200OK response message carries a Service-Route field including a host name of the S-CSCF, and in order to ensure that a subsequent registration request of the user equipment can reach the same SCSCF, the host name of the S-CSCF in the extended Service routing field stored in the P-CSCF needs to be updated according to the host name of the S-CSCF included in the Service-Route field.
On the basis of the above embodiments, the method may also be applied to the case of IMS deregistration to the user.
In an example, on the basis of the foregoing embodiment, after sending the updated second initial registration request to the S-CSCF, the method may further include: receiving a logout request sent by a user terminal; and updating the logout request according to the stored extended service routing field, and sending the updated logout request to the S-CSCF so as to logout the user terminal through the S-CSCF.
In one specific implementation, after the P-CSCF sends the 200OK response message received from the S-CSCF to the user terminal, a logout REQUEST sent by the user terminal may be received, and at this time, the P-CSCF may replace the host name in the REQUEST-URI header field in the logout REQUEST with the S-CSCF host name included in the stored extended service route field, and then directly send the updated logout REQUEST to the S-CSCF for logout.
In the embodiment, the P-CSCF can directly update the request according to the stored S-CSCF host name when the user terminal sends a second initial registration request, a refresh registration request or a logout request to the S-CSCF through the P-CSCF by storing the S-CSCF host name returned by the S-CSCF, so that the request can be directly sent to the S-CSCF without passing through the I-CSCF, and the purposes of shortening a message transmission path and reducing flow consumption are achieved.
Fig. 4 is another flowchart of a user registration method according to an embodiment of the present application, where the method may be applied to a case where an IMS initial registration is performed on a user. The method can be executed by the S-CSCF provided by the application and used together with the P-CSCF. As shown in fig. 4, the method includes:
step 410, receiving a first initial registration request sent by the user equipment via the P-CSCF and the I-CSCF, and sending an authentication request corresponding to the first initial registration request to the HSS.
It should be noted that the first initial registration request is a REGISTER request sent by the user terminal when the user terminal initiates SIP registration for the first time, specifically, the first initial registration request is a REGISTER request sent by the user terminal to the S-CSCF via the P-CSCF and the I-CSCF for the first time, and after receiving the first initial registration request, the S-CSCF sends a MAR message to the HSS to request to acquire an Authentication Vector (AV) corresponding to the first initial registration request, and notifies the HSS that the current S-CSCF serves the user terminal, so that it is ensured that the REGISTER request after the authentication challenge message 401 can reach the same scf.
Step 420, receiving an authentication response message corresponding to the authentication request returned by the HSS.
It should be noted that the authentication response message is an MAA response message carrying an authentication vector.
And step 430, constructing an initial registration response message according to the authentication response message, and forwarding the initial registration response message to the P-CSCF through the I-CSCF.
Wherein, the initial registration response message carries an extended service routing field including the host name of the S-CSCF.
In one example, the S-CSCF constructs and sends a 401 response message to the I-CSCF from the MAA response message to send the 401 response message to the P-CSCF through the I-CSCF. The 401 response message not only carries an extended service routing field including the host name of the S-CSCF, but also includes a WWW-authentication header for requesting the user terminal to perform an authentication challenge.
Step 440, receiving the updated second initial registration request sent by the P-CSCF.
Wherein the updated second initial registration request is updated by the P-CSCF according to the stored extended services routing field.
In one example, the updated second initial registration REQUEST may be the result of the P-CSCF replacing the hostname in the REQUEST-URI header field of the second initial registration REQUEST with the stored S-CSCF hostname.
And step 450, performing initial registration on the user terminal according to the updated second initial registration request.
In one example, the S-CSCF verifies a user name and a password carried in the updated second initial registration request, and if the verification is passed, that is, the authentication result of the user terminal is legal, sends an SAR request to the HSS to notify the HSS of the user terminal to register and download user data, after receiving an SAA response message including user terminal subscription information returned by the HSS, locally updates and stores the user data, and performs third party registration triggering by matching an iFC filter rule to complete the initial registration of the user terminal.
In one example, after the S-CSCF initially registers the ue, a 200OK response message indicating that the registration is successful is returned to the P-CSCF, and the response message carries a Service-Route field including a hostname of the S-CSCF.
According to the user registration method, the device, the equipment and the storage medium provided by the embodiment of the application, after receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF, an S-CSCF forwards an initial registration response message including an S-CSCF host name to the P-CSCF through the I-CSCF according to an acquired authentication response message, so that the P-CSCF can store the S-CSCF host name in the initial registration response message after the P-CSCF receives the initial registration response message, and further the S-CSCF can directly receive a second initial registration request updated according to the stored S-CSCF host name from the P-CSCF, thereby changing a message sending path in an initial registration process of IMS and effectively reducing registration flow consumed by the IMS.
On the basis of the above embodiment, the method is also applicable to the case of performing IMS refresh registration or deregistration on the user.
In an example, after performing initial registration on the ue, the S-CSCF may further receive an updated refresh registration request sent by the P-CSCF, and at this time, the S-CSCF needs to perform refresh registration on the ue according to the updated refresh registration request.
In an example, after the initial registration of the user terminal, the S-CSCF may also receive an updated deregistration request sent by the P-CSCF, and at this time, the S-CSCF needs to deregister the user terminal according to the updated deregistration request.
Fig. 5 is a schematic signaling interaction diagram of a user registration method according to an embodiment of the present application, and as shown in fig. 5, a signaling interaction process of an initial registration flow of the user registration method according to the present application is as follows:
(1) the user terminal sends a first initial registration request to the P-CSCF, wherein the first initial registration request comprises the PUI, PVI and home domain name of the user.
(2) And the P-CSCF determines the I-CSCF of the user home network by inquiring DNS or static configuration according to the user home domain name, and sends the request to the I-CSCF.
(3) The I-CSCF sends a UAR message to the HSS to inquire the host name or the capability of the S-CSCF subscribed by the user.
(4) HSS returns UAA message to I-CSCF, and UAA message includes S-CSCF host name or capability of user signing attribution.
(5) And the I-CSCF sends a first initial registration request to the S-CSCF to which the I-CSCF belongs according to the query result in the UAA message.
(6) And after receiving the first initial registration request, the S-CSCF sends a MAR message to the HSS to download the user authentication information.
(7) And the HSS returns the MAA response message carrying the authentication vector to the S-CSCF.
(8) The S-CSCF constructs a 401 response message according to the MAA response message and sends the 401 response message to the I-CSCF, the 401 response message comprises a WWW-authentication header and is used for requiring the user to carry out authentication challenge, and the 401 response message carries a field P-Service-Route of an SIP extension header, and the field is filled as host name information of the S-CSCF.
(9) The I-CSCF forwards the received 401 response message to the P-CSCF.
(10) The P-CSCF sends 401 a response message to the user terminal while caching the P-Service-Route field.
(11) The user terminal sends a second initial registration request to the P-CSCF, where the second initial registration request is constructed by the user terminal according to the initial registration response message, and includes a username and a password for network authentication, which are calculated by the user terminal.
(12) And the P-CSCF replaces the host name in the REQUEST-URI header field in the second initial registration REQUEST according to the cached S-CSCF host name in the P-Service-Route field, and directly sends the updated second initial registration REQUEST to the S-CSCF.
(13) And the S-CSCF checks the user name and the password carried in the updated second initial registration request, and sends an SAR request to the HSS after the verification is passed so as to inform the HSS of the user registration and the user data downloading.
(14) And the HSS returns a response message containing the user subscription information SAA to the S-CSCF.
(15) And the S-CSCF receives the successful SAA response message, locally updates and stores the user data, matches the iFC filtering rule to trigger third-party registration, and returns a 200OK response message with successful registration to the P-CSCF, wherein the 200OK response message contains a Service-Route field.
(16) And after the P-CSCF receives the 200OK response message, the S-CSCF host name is extracted from the Service-Route field to update the S-CSCF host name in the extended Service routing field stored by the P-CSCF, the updated S-CSCF host name is stored in the database, and the 200OK response message is sent to the user terminal to complete the initial registration of the user.
It should be noted that, in the technical solution of this embodiment, a message transmission path in an initial registration flow of an IMS current network is shortened, so that the number of registration messages in one registration flow is reduced from 20 to 16, and the number of messages is reduced by 20%.
Fig. 6 is another signaling interaction diagram of the user registration method according to the embodiment of the present application, and as shown in fig. 6, a signaling interaction process of a refresh registration flow of the user registration method according to the present application is as follows:
it should be noted that, in this scenario, the user terminal refreshes registration, and at this time, information such as user registration is already stored in the S-CSCF.
(1) The user terminal sends a refresh registration request to the P-CSCF, and the refresh registration request contains the PUI, PVI and home domain name of the user.
(2) And the P-CSCF replaces the host name in the REQUEST-URI header field in the refresh registration REQUEST according to the stored S-CSCF host name in the P-Service-Route field, and directly sends the updated refresh registration REQUEST to the S-CSCF.
(3) And after receiving the updated refresh registration request, the S-CSCF sends an SAR request to the HSS to inform the HSS of user registration.
(4) And the HSS returns an SAA response message to the S-CSCF, wherein the SAA response message does not carry the user subscription information.
(5) And the S-CSCF receives the successful SAA response message, locally updates and stores the user data, matches the iFC filtering rule to trigger third-party registration, and returns a 200OK response message with successful registration to the P-CSCF, wherein the 200OK response message contains a Service-Route field.
(6) And the P-CSCF updates the P-Service-Route field in the database according to the Service-Route field, and sends a 200OK response message to the user terminal to finish the refresh registration of the user.
In this embodiment, for the deregistration process, the rest signaling interaction processes are the same as the signaling interaction process of the IMS update registration process except that the user terminal sends the deregistration request to the S-CSCF via the P-CSCF.
It should be noted that, the technical solution of this embodiment shortens the message transmission path in the refresh registration flow/deregistration flow of the IMS existing network, so that the number of registration messages in one refresh registration flow/deregistration flow is reduced from the original 10 to 6, and the number of messages is reduced by 40%. In fact, the number of times of refreshing registration is generally at least 2 times of that of initial registration when the current network is busy, so the embodiment can greatly reduce the registration flow of the current IMS network and shorten the path of the message.
Fig. 7 is a schematic structural diagram of a user registration apparatus according to an embodiment of the present application, where the user registration apparatus is applied to a P-CSCF, and as shown in fig. 7, the user registration apparatus includes:
a forwarding module 710, configured to receive a first initial registration request sent by a user equipment, and forward the first initial registration request to an S-CSCF via an I-CSCF;
a first receiving module 720, configured to receive an initial registration response message returned by the S-CSCF via the I-CSCF; the initial registration response message corresponds to the first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
a first sending module 730, configured to store the extended service routing field and send the initial registration response message to the ue;
a second receiving module 740, configured to receive a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and a second sending module 750, configured to update the second initial registration request according to the stored extended service routing field, and send the updated second initial registration request to the S-CSCF, so as to perform initial registration on the user equipment through the S-CSCF.
The user registration apparatus provided in this embodiment is used to implement the user registration method applied to the P-CSCF of this application, and the implementation principle and technical effect of the user registration apparatus provided in this embodiment are similar to those of the user registration method applied to the P-CSCF of this application, and are not described here again.
In an example, the second sending module 750 is specifically configured to: the hostname in the REQUEST-URI header field in the second initial registration REQUEST is replaced with the S-CSCF hostname included in the extended service route field.
In one example, further comprising: the first updating module is used for receiving a registration success response message sent by the S-CSCF after sending the updated second initial registration request to the S-CSCF, wherein the registration success response message comprises a Service-Route field; and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
In one example, further comprising: the refresh registration module is used for receiving a refresh registration request sent by the user terminal after sending the updated second initial registration request to the S-CSCF; and updating the refresh registration request according to the stored extended service routing field, and sending the updated refresh registration request to the S-CSCF so as to refresh and register the user terminal through the S-CSCF.
In one example, further comprising: the second updating module is used for receiving a registration success response message sent by the S-CSCF after the updated refresh registration request is sent to the S-CSCF, wherein the registration success response message comprises a Service-Route field; and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
In one example, further comprising: the logout module is used for receiving a logout request sent by the user terminal after sending the updated second initial registration request to the S-CSCF; and updating the logout request according to the stored extended service routing field, and sending the updated logout request to the S-CSCF so as to logout the user terminal through the S-CSCF.
Fig. 8 is a schematic structural diagram of another user registration apparatus according to an embodiment of the present application, where the user registration apparatus is applied to an S-CSCF, and as shown in fig. 8, the user registration apparatus includes:
a sending module 810, configured to receive a first initial registration request sent by a user equipment via a P-CSCF and an I-CSCF, and send an authentication request corresponding to the first initial registration request to an HSS;
a first receiving module 820, configured to receive an authentication response message corresponding to the authentication request returned by the HSS;
a forwarding module 830, configured to construct an initial registration response message according to the authentication response message, and forward the initial registration response message to the P-CSCF via the I-CSCF; the initial registration response message carries an extended service routing field comprising the host name of the S-CSCF;
a second receiving module 840, configured to receive an updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
a registering module 850, configured to perform initial registration on the user terminal according to the updated second initial registration request.
The user registration apparatus provided in this embodiment is used to implement the user registration method applied to the S-CSCF of this application, and the implementation principle and technical effect of the user registration apparatus provided in this embodiment are similar to those of the user registration method applied to the S-CSCF of this application, and are not described here again.
Fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present application. The application provides a device comprising: one or more processors 41 and storage 42; the processor 41 of the device may be one or more, and one processor 41 is taken as an example in fig. 9; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, causing the one or more processors 41 to implement a user registration method as in an embodiment of the present invention.
The processor 41 and the storage device 42 in the apparatus may be connected by a bus or other means, and fig. 9 illustrates the connection by the bus as an example.
The storage device 42, which is a computer-readable storage medium, may be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the user registration method in the embodiment of the present application. The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
There is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements a user registration method according to any one of the embodiments of the present application.
The user registration method is applied to the P-CSCF and comprises the following steps:
receiving a first initial registration request sent by a user terminal, and forwarding the first initial registration request to an S-CSCF through an I-CSCF;
receiving initial register response message returned by S-CSCF through I-CSCF; the initial registration response message corresponds to the first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
storing the extended service routing field and sending an initial registration response message to the user terminal;
receiving a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and updating the second initial registration request according to the stored extended service routing field, and sending the updated second initial registration request to the S-CSCF so as to perform initial registration on the user terminal through the S-CSCF.
Or, a user registration method, applied to the S-CSCF, includes:
receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF, and sending an authentication request corresponding to the first initial registration request to a Home Subscriber Server (HSS);
receiving an authentication response message corresponding to the authentication request returned by the HSS;
constructing an initial registration response message according to the authentication response message, and forwarding the initial registration response message to the P-CSCF through the I-CSCF; the initial registration response message carries an extended service routing field comprising the host name of the S-CSCF;
receiving an updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
and performing initial registration on the user terminal according to the updated second initial registration request.
The above description is only exemplary embodiments of the present application, and is not intended to limit the scope of the present application.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The Memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the invention is to be determined according to the claims.

Claims (11)

1. A user registration method, applied to a proxy call session control function P-CSCF, includes:
receiving a first initial registration request sent by a user terminal, and forwarding the first initial registration request to a serving call session control function (S-CSCF) through an inquiry call session control function (I-CSCF);
receiving initial register response message returned by S-CSCF through I-CSCF; the initial registration response message corresponds to a first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
storing the extended service routing field and sending the initial registration response message to the user terminal;
receiving a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and updating the second initial registration request according to the stored extended service routing field, and sending the updated second initial registration request to the S-CSCF so as to perform initial registration on the user terminal through the S-CSCF.
2. The method of claim 1, wherein updating the second initial registration request based on the stored extended services routing field comprises:
replacing the hostname in the REQUEST-URI header field in the second initial registration REQUEST with the S-CSCF hostname included in the extended service routing field.
3. The method of claim 1, wherein after sending the updated second initial registration request to the S-CSCF, further comprising:
receiving a registration success response message sent by the S-CSCF, wherein the registration success response message comprises a Service-Route field;
and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
4. The method of claim 3, wherein after sending the updated second initial registration request to the S-CSCF, further comprising:
receiving a refreshing registration request sent by the user terminal;
and updating the refresh registration request according to the stored extended service routing field, and sending the updated refresh registration request to the S-CSCF so as to refresh and register the user terminal through the S-CSCF.
5. The method of claim 4, after sending the updated refresh registration request to the S-CSCF, further comprising:
receiving a registration success response message sent by the S-CSCF, wherein the registration success response message comprises a Service-Route field;
and updating the stored extended Service routing field according to the S-CSCF host name included in the Service-Route field.
6. The method of claim 4, wherein after sending the updated second initial registration request to the S-CSCF, further comprising:
receiving a logout request sent by the user terminal;
and updating the logout request according to the stored extended service routing field, and sending the updated logout request to the S-CSCF so as to logout the user terminal through the S-CSCF.
7. A user registration method is applied to S-CSCF, and comprises the following steps:
receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF, and sending an authentication request corresponding to the first initial registration request to a Home Subscriber Server (HSS);
receiving an authentication response message which is returned by the HSS and corresponds to the authentication request;
constructing an initial registration response message according to the authentication response message, and forwarding the initial registration response message to the P-CSCF through the I-CSCF; the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
receiving an updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
and performing initial registration on the user terminal according to the updated second initial registration request.
8. A user registration apparatus, applied to a P-CSCF, comprising:
the forwarding module is used for receiving a first initial registration request sent by a user terminal and forwarding the first initial registration request to the S-CSCF through the I-CSCF;
the first receiving module is used for receiving an initial registration response message returned by the S-CSCF through the I-CSCF; the initial registration response message corresponds to a first initial registration request, and the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
a first sending module, configured to store the extended service routing field and send the initial registration response message to the user terminal;
a second receiving module, configured to receive a second initial registration request sent by the user terminal; the second initial registration request is constructed by the user terminal according to the initial registration response message;
and the second sending module is used for updating the second initial registration request according to the stored extended service routing field and sending the updated second initial registration request to the S-CSCF so as to carry out initial registration on the user terminal through the S-CSCF.
9. A user registration apparatus, applied to an S-CSCF, comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for receiving a first initial registration request sent by a user terminal through a P-CSCF and an I-CSCF and sending an authentication request corresponding to the first initial registration request to an HSS;
the first receiving module is used for receiving an authentication response message which is returned by the HSS and corresponds to the authentication request;
a forwarding module, configured to construct an initial registration response message according to the authentication response message, and forward the initial registration response message to the P-CSCF via the I-CSCF; the initial registration response message carries an extended service routing field comprising an S-CSCF host name;
a second receiving module, configured to receive an updated second initial registration request sent by the P-CSCF; the updated second initial registration request is updated by the P-CSCF according to the stored extended service routing field;
and the registration module is used for carrying out initial registration on the user terminal according to the updated second initial registration request.
10. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the user registration method of any one of claims 1-6, or the user registration method of claim 7.
11. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the user registration method as claimed in any one of claims 1-6, or implements the user registration method as claimed in claim 7.
CN201911351018.5A 2019-12-24 2019-12-24 User registration method, device, equipment and storage medium Pending CN113038456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911351018.5A CN113038456A (en) 2019-12-24 2019-12-24 User registration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911351018.5A CN113038456A (en) 2019-12-24 2019-12-24 User registration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113038456A true CN113038456A (en) 2021-06-25

Family

ID=76452063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911351018.5A Pending CN113038456A (en) 2019-12-24 2019-12-24 User registration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113038456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992633A (en) * 2021-12-16 2022-01-28 中兴通讯股份有限公司 Request processing method, network node and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997828A (en) * 2009-08-28 2011-03-30 ***通信集团公司 Method, device and network for network re-registration of Internet protocol multimedia subsystem (IMS)
CN103002566A (en) * 2012-12-06 2013-03-27 大唐移动通信设备有限公司 Method and device for Ip multimedia subsystem (IMS) registering
US20160255490A1 (en) * 2015-02-26 2016-09-01 T-Mobile U.S.A., Inc. Realm translation in an ims network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997828A (en) * 2009-08-28 2011-03-30 ***通信集团公司 Method, device and network for network re-registration of Internet protocol multimedia subsystem (IMS)
CN103002566A (en) * 2012-12-06 2013-03-27 大唐移动通信设备有限公司 Method and device for Ip multimedia subsystem (IMS) registering
US20160255490A1 (en) * 2015-02-26 2016-09-01 T-Mobile U.S.A., Inc. Realm translation in an ims network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992633A (en) * 2021-12-16 2022-01-28 中兴通讯股份有限公司 Request processing method, network node and computer readable storage medium
WO2023109967A1 (en) * 2021-12-16 2023-06-22 中兴通讯股份有限公司 Request processing method, network node and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US11638230B2 (en) Method, apparatus and system for processing registration backup data
US7916685B2 (en) Methods, systems, and computer program products for supporting database access in an internet protocol multimedia subsystem (IMS) network environment
JP5148757B2 (en) IMS restore procedure for multiple contacts
US20120311064A1 (en) Methods, systems, and computer readable media for caching call session control function (cscf) data at a diameter signaling router (dsr)
US8600031B2 (en) Method for connecting calls between an IP multimedia subsystem (IMS) domain and a circuit switched (CS) domain
CN103037501A (en) Registration method, device and system of internet protocol multimedia subsystem terminal
US9060005B2 (en) Method, apparatus, system and related computer program product for handover management
EP3402169B1 (en) Data processing
CN110087229B (en) Wireless information subscription method, related device and system
US8416723B2 (en) Method, system, and device for establishing association-control relations
CN113038456A (en) User registration method, device, equipment and storage medium
KR20100102363A (en) Method and system for service registration at ip multimedia subsystem
US11736533B2 (en) Method and apparatus for implementing call service, electronic device and readable medium
CN101132407B (en) Method for processing exception caused by re-selection service call conversation control function
CN101106573B (en) Method for securing whole network data consistency
EP3864814B1 (en) Apparatus, method and computer program for call session control function restoration
KR101360151B1 (en) Method of sip message transmission between gruu users in ims network, and device of the same
CN102711085B (en) Method and device for realizing UE registration
WO2019170253A1 (en) Method and apparatus for triggering a terminal re-registration
KR20120097897A (en) 3rd party registration method of wildcarded public service user agent in ims network and device of the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination