CN104168275B - A kind of registration control method and device - Google Patents

A kind of registration control method and device Download PDF

Info

Publication number
CN104168275B
CN104168275B CN201410390200.2A CN201410390200A CN104168275B CN 104168275 B CN104168275 B CN 104168275B CN 201410390200 A CN201410390200 A CN 201410390200A CN 104168275 B CN104168275 B CN 104168275B
Authority
CN
China
Prior art keywords
cscf
registered
failure
request message
recovered
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.)
Active
Application number
CN201410390200.2A
Other languages
Chinese (zh)
Other versions
CN104168275A (en
Inventor
姜先贵
马瑞涛
符刚
李延斌
朱斌
马泽芳
吴琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410390200.2A priority Critical patent/CN104168275B/en
Publication of CN104168275A publication Critical patent/CN104168275A/en
Application granted granted Critical
Publication of CN104168275B publication Critical patent/CN104168275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of registration control method and device, it is related to the communications field, when P CSCF recover from failure, quickly to realize the load balancing of each P CSCF in system, to reduce some P CSCF because of long term overloading and caused by potential safety hazard probability.Method provided in an embodiment of the present invention includes:Whether detection P CSCF recover from failure;In the login request message that the first reception user equipment (UE) is sent;When detecting that the P CSCF recover from failure and first moment is in preset time period, the P CSCF to be registered of the UE are determined in the P CSCF groups comprising the P CSCF so that in the P CSCF groups each P CSCF load balancing;The UE is registered on the P CSCF to be registered according to the login request message.The embodiment of the present invention can apply in IMS.

Description

Registration control method and device
The present invention relates to the field of communications, and in particular, to a registration control method and apparatus.
Background
The IMS (IP Multimedia Subsystem) is a standard for the next generation network, has a communication and access independence, and can have various capabilities such as separation of a plurality of media service control functions from a bearer capability, separation of a call and a session, and separation of a service from a network. As shown in fig. 1, it is a schematic diagram of an IMS architecture, which includes: a UE (User Equipment), an SBC (Session Border Controller), a P-CSCF (Proxy call Session control entity), and the like, wherein the UE accesses the P-CSCF under the control of the SBC. The functions of the entity devices can be referred to IMS related standards.
In order to provide high-quality uninterrupted service for users, the network needs to provide a disaster recovery mechanism for the UE; when the P-CSCF1 fails, the SBC needs to switch the UE registered to the P-CSCF1 to another normally operating P-CSCF (e.g., P-CSCF2) to reduce the service loss of the user; when the P-CSCF1 recovers from the failure, it is necessary to migrate the user traffic back to the failed P-CSCF1 in time to avoid other devices being in a high load state for a long time.
Currently, in a disaster recovery mechanism adopting load sharing, after a P-CSCF1 fails, an SBC selects and registers a new P-CSCF (e.g., P-CSCF2), and a corresponding relationship between the UE and the P-CSCF2 address is stored in its registration data area. When the P-CSCF1 recovers from the failure and the UE re-registers, the SBC will still register the UE to the P-CSCF2 according to the information stored in the registration data area; the SBC may register the UE with the failure-resilient P-CSCF, i.e., P-CSCF1, only if the UE deregisters and re-registers initially.
Since the time for deregistration of a UE is typically long, especially for a fixed UE, it is not usually deregistered unless it is powered off or restarted manually, and the network includes a large number of UEs, which may cause a safety hazard due to long-term overload of the P-CSCF 2.
Disclosure of Invention
Embodiments of the present invention provide a registration control method and apparatus, so as to quickly implement load balancing of each P-CSCF in a system when a P-CSCF recovers from a failure, so as to reduce the probability of potential safety hazards caused by long-time overload of some P-CSCFs.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a registration control method is provided, including:
detecting whether a proxy call session control entity P-CSCF recovers from the failure;
receiving a registration request message sent by User Equipment (UE) at a first time;
when the P-CSCF is detected to be recovered from the fault and the first time is within a preset time period, determining the P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF so as to balance the load of each P-CSCF in the P-CSCF group;
and registering the UE to the P-CSCF to be registered according to the registration request message.
With reference to the first aspect, in a first possible implementation manner, after receiving, at the first time, a registration request message sent by a user equipment UE, the method further includes:
detecting whether the UE is executing a service;
when it is detected that the P-CSCF has recovered from the failure and the first time is within a preset time period, determining a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF includes:
and when the P-CSCF is detected to be recovered from the fault, the first time is within a preset time period, and the UE does not execute the service, determining the P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the detecting whether the UE is executing a service includes:
and detecting whether the calling data area contains the identity of the UE.
With reference to the first aspect, in a third possible implementation manner, the determining a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF includes:
sending a request message to an ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF;
and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered.
With reference to the first aspect, in a fourth possible implementation manner, the detecting whether the P-CSCF recovers from the failure includes:
sending a heartbeat detection message to a P-CSCF;
and determining whether the P-CSCF recovers from the failure according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received.
With reference to the first aspect and any one of the first possible implementation manner to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the preset time period is 2 to 3 re-registration periods starting from a second time, where the second time is a time when it is detected that the P-CSCF has recovered from a failure.
In a second aspect, a registration control apparatus is provided, including:
a first detecting unit, configured to detect whether a proxy call session control entity P-CSCF recovers from a failure;
a receiving unit, configured to receive, at a first time, a registration request message sent by a user equipment UE;
a determining unit, configured to determine, when the first detecting unit detects that the P-CSCF has recovered from the failure and the first time determined by the receiving unit is within a preset time period, a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF, so as to balance loads of the P-CSCFs in the P-CSCF group;
and the registration unit is used for registering the UE on the P-CSCF to be registered according to the registration request message.
With reference to the second aspect, in a first possible implementation manner, the apparatus further includes:
a second detecting unit, configured to detect whether the UE is performing a service;
the determining unit is specifically configured to determine a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF when the first detecting unit detects that the P-CSCF has recovered from the failure, the first time determined by the receiving unit is within a preset time period, and the second detecting unit detects that the UE does not execute a service.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the service is a call service, and the second detecting unit is specifically configured to: and detecting whether the calling data area contains the identity of the UE.
With reference to the second aspect, in a third possible implementation manner, the determining unit is specifically configured to:
sending a request message to an ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF;
and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered.
With reference to the second aspect, in a fourth possible implementation manner, the first detecting unit is specifically configured to:
sending a heartbeat detection message to a P-CSCF;
and determining whether the P-CSCF recovers from the failure according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received.
With reference to the second aspect and any one of the first possible implementation manner to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the preset time period is 2 to 3 re-registration periods from a second time, where the second time is a time when it is detected that the P-CSCF has recovered from a failure.
According to the registration control method and device provided by the embodiment of the invention, when the P-CSCF is detected to be recovered from the fault normally and the time for receiving the registration request message of the UE is within the preset time period, the P-CSCF to be registered is selected for the UE in the P-CSCF group containing the P-CSCF with the fault recovery, so that the load of each P-CSCF in the P-CSCF group is balanced. By using the scheme, if the UE which is re-registered to the P-CSCF2 due to the fault of the P-CSCF1 sends the re-registration request message within the preset time period after the fault of the P-CSCF1 is recovered, the UE can be registered to other P-CSCFs except the P-CSCF2, so that the load of the P-CSCF2 is reduced, the load balance of each P-CSCF in the system is quickly realized, and the probability of potential safety hazard caused by long-time overload of the P-CSCF2 is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an IMS architecture provided in the prior art;
fig. 2 is a schematic flowchart of a registration control method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another registration control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a registration control apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another registration control apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another registration control apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another registration control apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
As shown in fig. 2, a registration control method provided for an embodiment of the present invention includes:
201: it is detected whether the proxy call session control entity P-CSCF recovers from the failure.
The registration control method provided by the embodiment of the invention can be applied to the IMS, and particularly can be applied to the scene of recovery failure of one or more P-CSCFs in the IMS. The execution subject of the embodiment of the present invention may be an SBC.
The embodiment of the present invention does not limit the specific implementation method of step 201, and optionally includes: SBC sends heartbeat detection message to P-CSCF; and the SBC determines whether the P-CSCF recovers from the fault according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received or not. Specifically, the method comprises the following steps: if the response message is received, determining that the P-CSCF has recovered from the failure; and if the response message is not received, determining that the P-CSCF is not recovered from the failure.
202: and receiving a registration request message sent by User Equipment (UE) at a first moment.
The "registration request message" may be an initial registration request message or a re-registration request message. Generally, when a UE in a system initially registers, an initial registration request message is sent to an SBC; the registered UE sends a re-registration request message to the SBC once at the end of each re-registration period. When the "registration request message" is an initial registration request message, the "UE" may be any unregistered UE; when the registration request message is a re-registration request message, the UE may be any UE that has been registered, for example, a UE that was registered on the P-CSCF or other P-CSCFs before the failure of the P-CSCF in step 201.
203: and when the P-CSCF is detected to be recovered from the fault and the first time is within a preset time period, determining the P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF so as to balance the load of each P-CSCF in the P-CSCF group.
In a specific implementation, a timer may be set in the system, and a start trigger condition (for example, when the P-CSCF has recovered from the failure) and an end trigger condition (i.e., when the timer is started for a preset period of time) of the timer may be set. In this case, step 203 may be implemented as: when the timer is in an open state, if the SBC receives a registration request message sent by the UE, the SBC determines a P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF, so as to balance the load of each P-CSCF in the P-CSCF group. In addition, when the timer is in the closed state, the SBC determines the P-CSCF to be registered of the UE according to the method in the prior art. The timer may be set in the SBC or may be independent of the SBC.
Optionally, the preset time period is 2 to 3 re-registration periods from a second time, where the second time is a time when the P-CSCF is detected to recover from the failure. Of course, the preset time period may be other time periods.
In order to provide high quality uninterrupted service to the user, optionally, after step 202, the method may further include: detecting whether the UE is executing a service; in this case, step 203 may include: and when the P-CSCF is detected to be recovered from the fault, the first time is within a preset time period, and the UE does not execute the service, determining the P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF. The service may be any one or more services, and the embodiment of the present invention does not limit the specific type of the service. Further optionally, the service is a call service, and in this case, detecting whether the UE is executing the service may include: detecting whether a calling data area contains the identity of the UE; specifically, the SBC detects whether a local call data area includes the identifier of the UE.
Optionally, the SBC may determine the P-CSCF to be registered of the UE in the P-CSCF group including the P-CSCF in a dynamic query manner or a static query manner. Specifically, the method comprises the following steps: the dynamic query mode may include: SBC sends request message to ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF; and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered. The static query mode may include: and locally configuring a P-CSCF list consisting of a P-CSCF group containing the P-CSCF at the SBC, and determining the P-CSCF to be registered of the UE from the P-CSCF list according to a certain principle (such as a load balancing principle, a priority principle and the like).
204: and registering the UE to the P-CSCF to be registered according to the registration request message.
Wherein step 204 may be implemented as: sending the registration request message to the P-CSCF to be registered; the subsequent process can be referred to as a registration process in the prior art.
In the registration control method provided by the embodiment of the invention, when the P-CSCF is detected to be recovered from the fault and the time for receiving the registration request message of the UE is within the preset time period, the P-CSCF to be registered is selected for the UE in the P-CSCF group containing the P-CSCF which recovers the fault, so that the load of each P-CSCF in the P-CSCF group is balanced. By using the scheme, if the UE which is re-registered to the P-CSCF2 due to the fault of the P-CSCF1 sends the re-registration request message within the preset time period after the fault of the P-CSCF1 is recovered, the UE can be registered to other P-CSCFs except the P-CSCF2, so that the load of the P-CSCF2 is reduced, the load balance of each P-CSCF in the system is quickly realized, and the probability of potential safety hazards caused by long-time overload of the P-CSCF2 is reduced.
Example two
As shown in fig. 3, a registration control method provided for an embodiment of the present invention includes:
301: the SBC sends a heartbeat detection message to the P-CSCF.
In a specific implementation, the SBC may periodically send a heartbeat detection message to the P-CSCF until receiving a response message for the heartbeat detection message sent by the P-CSCF. Wherein, the heartbeat detection message may be SIP OPTIONS.
In step 301, the SBC knows that the "P-CSCF" is in a failure state, and step 301 and step 302 are executed to know whether the "P-CSCF" is in a recovery failure state.
302: the SBC determines whether a response message to the heartbeat detection message sent by the P-CSCF is received.
If yes, go to step 303; if not, go to step 301.
Specifically, the SBC determines whether a response message to the heartbeat detection message is received within a preset time period after performing step 301, and the response message may be a 200 OK message.
303: the SBC determines that the P-CSCF has recovered from the failure and starts a timer.
Before step 303 is executed, the timer is in an off state, and after the SBC starts the timer, the timer is changed from the off state to an on state. The timer automatically changes from the on state to the off state within a preset time period after being turned on.
304: the SBC receives a registration request message sent by the UE.
In a specific implementation, the SBC executes step 304 at a time that is independent of the time that is executed in steps 301 and 303, that is, the SBC receives the registration request message sent by the UE regardless of whether the P-CSCF recovers from the failure. If the P-CSCF is not recovered from the failure, the SBC determines the P-CSCF to be registered for the UE according to the method in the prior art.
305: the SBC determines whether the timer is in an on state.
If yes, go to step 306; if not, go to step 311.
306: the SBC determines whether the local call data area contains the identifier of the UE.
If not, it indicates that the UE is not executing the call service, i.e. is not in a call, then step 307 is executed; if yes, it indicates that the UE is talking, go to step 311.
The "call data area" may be located in a storage unit of the SBC, and is used for recording the identity of the UE in a call in the system.
307: the SBC determines the P-CSCF query mode.
If the P-CSCF query mode is the dynamic query mode, go to step 308; if the P-CSCF query mode is the static query mode, step 310 is executed.
Generally, each SBC may determine a P-CSCF to be registered in a static query manner, and an SBC having an ENUM/DNS function may determine a P-CSCF to be registered in a dynamic query manner.
308: SBC sends request message to ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine the P-CSCF to be registered of the UE in the P-CSCF group containing the P-CSCF.
The "ENUM/DNS server" is a network element that is functionally combined by an ENUM (Telephone Number mapping group) server and a DNS (Domain name system) server.
Specifically, the ENUM/DNS server may determine the P-CSCF to be registered for the UE in the P-CSCF group including the P-CSCF according to the load balancing principle.
309: the SBC receives a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered. The information of the P-CSCF to be registered may be: the address of the P-CSCF to be registered.
After step 309 is performed, step 312 is performed.
310: and the SBC determines the P-CSCF to be registered of the UE in the P-CSCF group containing the P-CSCF according to the principle of load balancing.
After step 310 is performed, step 312 is performed.
311: the SBC inquires the address of the P-CSCF corresponding to the identity of the UE in the registration data area, and takes the P-CSCF corresponding to the address as the P-CSCF to be registered.
Note that, this step 311 is a registration control method in the related art.
312: the SBC sends a registration request message to the P-CSCF to be registered to register the UE with the P-CSCF to be registered.
After step 312 is performed, it is ended.
In a specific implementation, after step 312, the method may further include: the P-CSCF to be registered performs information interaction with devices such as an I-CSCF (Interrogating-call session control entity), an S-CSCF (Serving-CSCF, Serving call session control entity), and an HSS (Home Subscriber Server) in the system to connect the UE to the network.
In the registration control method provided in the embodiment of the present invention, when an SBC receives a registration request message sent by a UE within a preset time period after detecting that a P-CSCF has recovered from a failure, if the UE is not in a call, a P-CSCF to be registered is selected for the UE in a P-CSCF group including the P-CSCF that has recovered from the failure, so as to balance the load of each P-CSCF in the P-CSCF group. By using the scheme, if the UE which is re-registered to the P-CSCF2 due to the fault of the P-CSCF1 sends the re-registration request message within the preset time period after the fault of the P-CSCF1 is recovered, the UE can be registered to other P-CSCFs except the P-CSCF2, so that the load of the P-CSCF2 is reduced, the load balance of each P-CSCF in the system is quickly realized, and the probability of potential safety hazards caused by long-time overload of the P-CSCF2 is reduced. In addition, the scheme does not reselect the P-CSCF of the UE in the conversation, so that high-quality uninterrupted service is provided for the UE in the conversation under the condition of quickly realizing the load balance of each P-CSCF in the P-CSCF group, and the user experience is improved.
EXAMPLE III
As shown in fig. 4, a registration control apparatus 4 according to an embodiment of the present invention is configured to execute the registration control method shown in fig. 2, where the registration control apparatus 4 includes:
a first detecting unit 41, configured to detect whether the proxy call session control entity P-CSCF recovers from the failure;
a receiving unit 42, configured to receive, at a first time, a registration request message sent by a user equipment UE;
a determining unit 43, configured to determine, when the first detecting unit 41 detects that the P-CSCF has recovered from the failure and the first time determined by the receiving unit 42 is within a preset time period, a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF, so as to balance loads of P-CSCFs in the P-CSCF group;
and a registering unit 44, configured to register the UE with the P-CSCF to be registered according to the registration request message.
Optionally, as shown in fig. 5, the apparatus 4 further includes:
a second detecting unit 45, configured to detect whether the UE is performing a service;
the determining unit 43 is specifically configured to determine a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF when the first detecting unit detects 41 that the P-CSCF has recovered from the failure, the first time determined by the receiving unit 42 is within a preset time period, and the second detecting unit 45 detects that the UE does not execute a service.
Optionally, the service is a call service, and the second detecting unit 45 is specifically configured to detect whether a call data area includes the identifier of the UE.
Optionally, the determining unit 43 is specifically configured to:
sending a request message to an ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF;
and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered.
Optionally, the first detecting unit 41 is specifically configured to:
sending a heartbeat detection message to a P-CSCF;
and determining whether the P-CSCF recovers from the failure according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received.
Optionally, the preset time period is 2 to 3 re-registration periods from a second time, where the second time is a time when the P-CSCF is detected to recover from the failure.
In the registration control apparatus provided in the embodiment of the present invention, when it is detected that the P-CSCF has recovered from the failure and a time of receiving a registration request message of a UE is within a preset time period, a P-CSCF to be registered is selected for the UE in a P-CSCF group including the P-CSCF that has recovered from the failure, so that loads of P-CSCFs in the P-CSCF group are balanced. By using the device, if the UE which is re-registered to the P-CSCF2 due to the fault of the P-CSCF1 sends a re-registration request message within a preset time period after the fault of the P-CSCF1 is recovered, the UE can be registered to other P-CSCFs except the P-CSCF2, so that the load of the P-CSCF2 is reduced, the load balance of each P-CSCF in the system is quickly realized, and the probability of potential safety hazards caused by long-time overload of the P-CSCF2 is reduced.
Example four
As shown in fig. 6, a registration control apparatus 6 according to an embodiment of the present invention is configured to execute the registration control method shown in fig. 2, where the apparatus 6 includes: memory 61, processor 62, receiver 63; wherein,
the memory 61 is adapted to store a set of codes for controlling the processor 62 to detect whether the proxy call session control entity P-CSCF recovers from a failure;
the receiver 63 is configured to receive a registration request message sent by a user equipment UE at a first time;
the code is further configured to control the processor 62 to determine, when it is detected that the P-CSCF has recovered from the failure and the first time is within a preset time period, a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF, so as to balance loads of the P-CSCFs in the P-CSCF group; and registering the UE to the P-CSCF to be registered according to the registration request message.
Optionally, the processor 62 is further configured to detect whether the UE is performing a service;
the processor 62 is specifically configured to determine a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF when it is detected that the P-CSCF has recovered from the failure, the first time is within a preset time period, and the UE does not execute a service.
Optionally, the service is a call service, and the processor 62 is specifically configured to detect whether a call data area includes an identifier of the UE.
Optionally, as shown in fig. 7, the apparatus 6 may further include:
a transmitter 64 for transmitting a request message to the ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF;
the receiver 63 is further configured to receive a response message returned by the ENUM/DNS server and including information of the P-CSCF to be registered.
Optionally, the transmitter 64 is further configured to send a heartbeat detection message to the P-CSCF;
the processor 62 is specifically configured to determine whether the P-CSCF recovers from the failure according to whether a response message to the heartbeat detection message sent by the P-CSCF is received.
Optionally, the preset time period is 2 to 3 re-registration periods from a second time, where the second time is a time when the P-CSCF is detected to recover from the failure.
In the registration control apparatus provided in the embodiment of the present invention, when it is detected that the P-CSCF has recovered from the failure and a time of receiving a registration request message of a UE is within a preset time period, a P-CSCF to be registered is selected for the UE in a P-CSCF group including the P-CSCF that has recovered from the failure, so that loads of P-CSCFs in the P-CSCF group are balanced. By using the device, if the UE which is re-registered to the P-CSCF2 due to the fault of the P-CSCF1 sends a re-registration request message within a preset time period after the fault of the P-CSCF1 is recovered, the UE can be registered to other P-CSCFs except the P-CSCF2, so that the load of the P-CSCF2 is reduced, the load balance of each P-CSCF in the system is quickly realized, and the probability of potential safety hazards caused by long-time overload of the P-CSCF2 is reduced.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A registration control method, comprising:
detecting whether a proxy call session control entity P-CSCF recovers from the failure;
starting a timer after detecting that the P-CSCF has recovered from the failure;
receiving a registration request message sent by User Equipment (UE) at a first time within a preset time period when the timer is started;
determining a P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF so as to balance the load of each P-CSCF in the P-CSCF group;
and registering the UE to the P-CSCF to be registered according to the registration request message.
2. The method of claim 1, wherein after receiving the registration request message sent by the UE at the first time, the method further comprises:
detecting whether the UE is executing a service;
when it is detected that the P-CSCF has recovered from the failure and the first time is within a preset time period, determining a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF includes:
and when the P-CSCF is detected to be recovered from the fault, the first time is within a preset time period, and the UE does not execute the service, determining the P-CSCF to be registered of the UE in a P-CSCF group containing the P-CSCF.
3. The method of claim 2, wherein the service is a call service, and wherein the detecting whether the UE is performing a service comprises:
and detecting whether the calling data area contains the identity of the UE.
4. The method of claim 1, wherein determining the P-CSCF to be registered for the UE in the P-CSCF group including the P-CSCF comprises:
sending a request message to an ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF;
and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered.
5. The method of claim 1, wherein the detecting whether the P-CSCF recovers from a failure comprises:
sending a heartbeat detection message to a P-CSCF;
and determining whether the P-CSCF recovers from the failure according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received.
6. The method according to any of claims 1-5, wherein the preset time period is 2-3 re-registration periods starting from a second time instant when the P-CSCF is detected to have recovered from the failure.
7. A registration control apparatus, comprising:
a first detecting unit, configured to detect whether a proxy call session control entity P-CSCF recovers from a failure; starting a timer after detecting that the P-CSCF has recovered from the failure;
a receiving unit, configured to receive a registration request message sent by a user equipment UE at a first time within a preset time period during which the timer is started;
a determining unit, configured to determine, when the first detecting unit detects that the P-CSCF has recovered from the failure and the first time determined by the receiving unit is within the preset time period, a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF, so as to balance loads of each P-CSCF in the P-CSCF group;
and the registration unit is used for registering the UE on the P-CSCF to be registered according to the registration request message.
8. The apparatus of claim 7, further comprising:
a second detecting unit, configured to detect whether the UE is performing a service;
the determining unit is specifically configured to determine a P-CSCF to be registered of the UE in a P-CSCF group including the P-CSCF when the first detecting unit detects that the P-CSCF has recovered from the failure, the first time determined by the receiving unit is within a preset time period, and the second detecting unit detects that the UE does not execute a service.
9. The apparatus of claim 8, wherein the service is a call service, and the second detecting unit is specifically configured to detect whether an identifier of the UE is included in a call data area.
10. The apparatus of claim 7,
the determining unit is specifically configured to: sending a request message to an ENUM/DNS server; wherein the request message is used for enabling the ENUM/DNS server to determine a P-CSCF to be registered for the UE in a P-CSCF group containing the P-CSCF; and receiving a response message which is returned by the ENUM/DNS server and contains the information of the P-CSCF to be registered.
11. The apparatus of claim 7,
the first detection unit is specifically configured to: sending a heartbeat detection message to a P-CSCF; and determining whether the P-CSCF recovers from the failure according to whether a response message aiming at the heartbeat detection message sent by the P-CSCF is received.
12. The apparatus according to any of claims 7-11, wherein the preset time period is 2-3 re-registration periods starting from a second time instant when the P-CSCF is detected to have recovered from the failure.
CN201410390200.2A 2014-08-08 2014-08-08 A kind of registration control method and device Active CN104168275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410390200.2A CN104168275B (en) 2014-08-08 2014-08-08 A kind of registration control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410390200.2A CN104168275B (en) 2014-08-08 2014-08-08 A kind of registration control method and device

Publications (2)

Publication Number Publication Date
CN104168275A CN104168275A (en) 2014-11-26
CN104168275B true CN104168275B (en) 2018-03-30

Family

ID=51911899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410390200.2A Active CN104168275B (en) 2014-08-08 2014-08-08 A kind of registration control method and device

Country Status (1)

Country Link
CN (1) CN104168275B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162733B (en) * 2015-04-21 2019-05-10 中国移动通信集团河南有限公司 A kind of abnormal flow suppressing method and device
CN106470441B (en) * 2015-08-20 2019-11-29 中国电信股份有限公司 A kind of disaster-tolerant recovery method and system
CN106028389B (en) * 2016-07-25 2019-07-02 中国联合网络通信集团有限公司 A kind of method and system that disaster tolerance is refunded

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009094852A1 (en) * 2008-01-04 2009-08-06 Zte Corporation Proxy call session control function malfunction processing method
CN102340765A (en) * 2011-07-18 2012-02-01 中国电信股份有限公司 Disaster recovery load balancing method, device and system
CN103138984A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Method and system of disaster recovery back serving call session control function
CN103441862A (en) * 2013-08-07 2013-12-11 华为技术有限公司 Method, relative device and system for achieving restoration terminal called service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009094852A1 (en) * 2008-01-04 2009-08-06 Zte Corporation Proxy call session control function malfunction processing method
CN102340765A (en) * 2011-07-18 2012-02-01 中国电信股份有限公司 Disaster recovery load balancing method, device and system
CN103138984A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Method and system of disaster recovery back serving call session control function
CN103441862A (en) * 2013-08-07 2013-12-11 华为技术有限公司 Method, relative device and system for achieving restoration terminal called service

Also Published As

Publication number Publication date
CN104168275A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US8719617B2 (en) Method and device for realizing IP multimedia subsystem disaster tolerance
EP3664500B1 (en) Proxy call session control function fault recovering method, apparatus and system
CN101383725B (en) IP multimedia subsystem and disaster tolerant resuming method
CN109905469B (en) Home subscriber server, mobility management entity, and methods, systems, and user equipment for performing the same
EP3515014B1 (en) Method, related apparatus, and system for recovering called service of terminal
US20200329075A1 (en) Service Request Processing Method, Apparatus, and Communications System
US9509811B2 (en) Methods and apparatus for resolving data inconsistencies in an IMS network
CA2917793C (en) Systems and methods for multi-line, multi-device service in a communications network
CN105592486A (en) Disaster tolerance method, network element and server
WO2016132183A1 (en) Nodes and methods for bypassing a network node in an internet protocol (ip) multimedia subsystem (ims) system
CN104168275B (en) A kind of registration control method and device
CN104185220A (en) IMS (IP Multimedia Subsystem) core network equipment failure switching method and border access controller
CN103138984A (en) Method and system of disaster recovery back serving call session control function
CN103037501A (en) Registration method, device and system of internet protocol multimedia subsystem terminal
US9392032B2 (en) Session transfer method, device and system
EP3402169B1 (en) Data processing
KR102065019B1 (en) Home subscriber server and method for managing subscriber in internet protocol multimedia subsystem network
KR20140135955A (en) Mobile station and communication method
EP3878147B1 (en) Method, apparatus and computer program
CN101965046B (en) Method for instructing terminal to register in IP multimedia subsystem and system thereof
CN101494659B (en) Method and relevant equipment for selecting session control device
KR102273762B1 (en) VoLTE SYSTEM, CONTROL METHOD THEREOF, PGW AND CSCF COMPRISED IN THE SYSTEM, CONTROL METHOD THEREOF
JP7045129B2 (en) Session control server switching method, management server and program
WO2020147468A1 (en) Methods and devices for continuation of terminating services in ims communication networks
CN113169955B (en) Apparatus, method and computer program for call session control function recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant