CN108737322B - Service recovery method and device and mobile terminal - Google Patents

Service recovery method and device and mobile terminal Download PDF

Info

Publication number
CN108737322B
CN108737322B CN201710240347.7A CN201710240347A CN108737322B CN 108737322 B CN108737322 B CN 108737322B CN 201710240347 A CN201710240347 A CN 201710240347A CN 108737322 B CN108737322 B CN 108737322B
Authority
CN
China
Prior art keywords
server
cscf list
request message
registration request
initial registration
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
CN201710240347.7A
Other languages
Chinese (zh)
Other versions
CN108737322A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201710240347.7A priority Critical patent/CN108737322B/en
Publication of CN108737322A publication Critical patent/CN108737322A/en
Application granted granted Critical
Publication of CN108737322B publication Critical patent/CN108737322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a service recovery method, a service recovery device and a mobile terminal. The method comprises the following steps: acquiring a first P-CSCF list, wherein the first P-CSCF list comprises information of a plurality of servers; sending an initial registration request message to a first server in the first P-CSCF list; and when a response message of registration failure replied by the first server is received, selecting a second server to send an initial registration request message until a response message of successful registration is received. The invention can recover the service without additionally increasing the network burden.

Description

Service recovery method and device and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service recovery method, an apparatus, and a mobile terminal.
Background
When a Voice over LTE (VoLTE) terminal based on a multimedia system sends a Session Initiation Protocol (SIP) message to an SIP server in a network, the SIP server sometimes returns a response code in the form of "5 xx" to the VoLTE terminal because of excessive message processing load or in a maintenance phase or other reasons, which indicates that the SIP server is wrong, and at this time, the VoLTE service is interrupted. At this time, if the response code in the form of "5 xx" replied by the SIP server in the network carries the "Retry-After" header field, it indicates that the SIP server does not want the VoLTE terminal to send any SIP request message to the network within the time indicated by the "Retry-After" header field, and the VoLTE terminal will operate according to the instruction of the SIP server.
However, there may be a case where the response code in the form of "5 xx" does not carry the "Retry-After" header field, at this time, the VoLTE terminal needs to periodically send a heartbeat message to the SIP server of the network, and determines whether the network can send the SIP message according to whether the SIP server replies the response message, if the SIP server replies the response message, it indicates that the terminal can send the SIP message to the network, and if the SIP server does not reply the response message, it indicates that the network is in a busy or paralyzed state, and the terminal does not send the SIP message to the network.
In the process of implementing the invention, the inventor finds that at least the following technical problems exist in the prior art:
when recovering the VoLTE service, the VoLTE terminal needs to periodically send heartbeat messages to the SIP server, which may additionally increase network load.
Disclosure of Invention
The service recovery method, the device and the mobile terminal provided by the invention can recover the service without additionally increasing network load.
In a first aspect, the present invention provides a service recovery method, including:
acquiring a first P-CSCF list, wherein the first P-CSCF list comprises information of a plurality of servers;
sending an initial registration request message to a first server in the first P-CSCF list;
and when a response message of registration failure replied by the first server is received, selecting a second server to send an initial registration request message until a response message of successful registration is received.
Optionally, the method further comprises:
when a response message of successful registration replied by the second server is received, a Session Initiation Protocol (SIP) message is sent to the second server;
and when receiving the error code message replied by the second server, selecting a third server to send an initial registration request message until receiving a response message of successful registration.
Optionally, the selecting the second server to send the initial registration request message includes:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the second server, and sending an initial registration request message to the second server.
Optionally, the selecting the third server to send the initial registration request message includes:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the third server, and sending an initial registration request message to the third server.
Optionally, the selecting the second server to send the initial registration request message further includes:
and when the first P-CSCF list has no unused server, acquiring a second P-CSCF list, selecting one server in the second P-CSCF list as the second server, and sending an initial registration request message to the second server.
Optionally, the selecting the third server to send the initial registration request message further includes:
and when the first P-CSCF list has no unused server, acquiring a third P-CSCF list, selecting one server in the third P-CSCF list as the third server, and sending an initial registration request message to the third server.
In a second aspect, the present invention provides a service recovery apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first P-CSCF list, and the first P-CSCF list comprises information of a plurality of servers;
a sending unit, configured to send an initial registration request message to a first server in the first P-CSCF list;
and the first processing unit is used for selecting the second server to send the initial registration request message when receiving the response message of registration failure replied by the first server until receiving the response message of registration success.
Optionally, the apparatus further comprises:
the second processing unit is used for sending a Session Initiation Protocol (SIP) message to the second server when receiving a response message of successful registration replied by the second server;
and the third processing unit is used for selecting a third server to send an initial registration request message when receiving the error code message replied by the second server until receiving a response message of successful registration.
Optionally, the first processing unit is configured to, when there are unused servers in the first P-CSCF list, select an unused server from the first P-CSCF list as the second server, and send an initial registration request message to the second server.
Optionally, the third processing unit is configured to, when there are unused servers in the first P-CSCF list, select an unused server from the first P-CSCF list as the third server, and send an initial registration request message to the third server.
Optionally, the first processing unit is configured to, when there is no unused server in the first P-CSCF list, acquire a second P-CSCF list, select one of the servers in the second P-CSCF list as the second server, and send an initial registration request message to the second server.
Optionally, the third processing unit is configured to, when there is no unused server in the first P-CSCF list, acquire a third P-CSCF list, select one of the servers in the third P-CSCF list as the third server, and send an initial registration request message to the third server.
In a third aspect, the present invention provides a mobile terminal, where the mobile terminal includes the above service recovery apparatus.
According to the service recovery method, the device and the mobile terminal provided by the embodiment of the invention, when the response message of registration failure or the error code message replied by the server is received, another server in the original P-CSCF list or the server in the new P-CSCF list is selected to send the initial registration request message until the response message of registration success is received. Therefore, the heartbeat message can be prevented from being sent to the SIP server periodically, and the service can be recovered under the condition of not additionally increasing the network burden.
Drawings
Fig. 1 is a flowchart of a service recovery method according to an embodiment of the present invention;
fig. 2 is a flowchart of a service recovery method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service recovery apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service restoration apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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.
The present invention provides a service recovery method, as shown in fig. 1, the method includes:
s11, acquiring a first P-CSCF list, wherein the first P-CSCF list comprises information of a plurality of servers;
the first P-CSCF (Proxy-Call Session Control function, hereinafter referred to as P-CSCF) list is a Proxy server for outbound/inbound signaling messages, and all signaling messages entering and exiting the ue must pass through the P-CSCF list.
S12, sending an initial registration request message to the first server in the first P-CSCF list;
and S13, when receiving the response message of the registration failure replied by the first server, selecting the second server to send the initial registration request message until receiving the response message of the registration success.
In the service recovery method provided by the embodiment of the invention, when a response message of registration failure or an error code message replied by the server is received, another server in the original P-CSCF list or a server in the new P-CSCF list is selected to send an initial registration request message until a response message of successful registration is received. Therefore, the heartbeat message can be prevented from being sent to the SIP server periodically, and the service can be recovered under the condition of not additionally increasing the network burden.
Optionally, as shown in fig. 2, the method further includes:
s14, when a response message of successful registration replied by the second server is received, a Session Initiation Protocol (SIP) message is sent to the second server;
and S15, when receiving the error code message replied by the second server, selecting a third server to send an initial registration request message until receiving a response message of successful registration.
Optionally, the selecting the second server to send the initial registration request message includes:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the second server, and sending an initial registration request message to the second server.
Optionally, the selecting the third server to send the initial registration request message includes:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the third server, and sending an initial registration request message to the third server. In particular, the second P-CSCF list may be obtained by re-establishing the PDN connection.
Alternatively, the error code message may be a 5xx response code (response codes of 500 to 599), and the response message in which the registration is successful may be a 2xx response code (response codes of 200 to 299).
Optionally, when the SIP transaction of the VoLTE terminal receives the 5xx message, selecting a new P-CSCF to send the SIP initial registration request message, if the SIP server replies a 5xx response code to the SIP initial registration request message, the VoLTE terminal continues to select the new P-CSCF to send the SIP initial registration request message until the SIP server replies a 2xx response code to the SIP initial registration request message.
Optionally, the selecting the second server to send the initial registration request message further includes:
and when the first P-CSCF list has no unused server, acquiring a second P-CSCF list, selecting one server in the second P-CSCF list as the second server, and sending an initial registration request message to the second server.
Optionally, the selecting the third server to send the initial registration request message further includes:
and when the first P-CSCF list has no unused server, acquiring a third P-CSCF list, selecting one server in the third P-CSCF list as the third server, and sending an initial registration request message to the third server.
An embodiment of the present invention further provides a service recovery apparatus, as shown in fig. 3, the apparatus includes:
an obtaining unit 11, configured to obtain a first P-CSCF list, where the first P-CSCF list includes information about multiple servers;
a sending unit 12, configured to send an initial registration request message to a first server in the first P-CSCF list;
the first processing unit 13 is configured to, when receiving a response message of registration failure replied by the first server, select the second server to send an initial registration request message until receiving a response message of registration success.
The service recovery device provided by the embodiment of the invention selects another server in the original P-CSCF list or the server in the new P-CSCF list to send the initial registration request message when receiving the response message of registration failure or the error code message replied by the server until receiving the response message of registration success. Therefore, the heartbeat message can be prevented from being sent to the SIP server periodically, and the service can be recovered under the condition of not additionally increasing the network burden.
Optionally, as shown in fig. 4, the apparatus further includes:
a second processing unit 14, configured to send a session initiation protocol SIP message to the second server when receiving a response message that registration is successful and is replied by the second server;
and the third processing unit 15 is configured to, when receiving the error code message returned by the second server, select a third server to send an initial registration request message until receiving a response message that registration is successful.
Optionally, the first processing unit is configured to, when there are unused servers in the first P-CSCF list, select an unused server from the first P-CSCF list as the second server, and send an initial registration request message to the second server.
Optionally, the third processing unit is configured to, when there are unused servers in the first P-CSCF list, select an unused server from the first P-CSCF list as the third server, and send an initial registration request message to the third server.
Optionally, the first processing unit is configured to, when there is no unused server in the first P-CSCF list, acquire a second P-CSCF list, select one of the servers in the second P-CSCF list as the second server, and send an initial registration request message to the second server.
Optionally, the third processing unit is configured to, when there is no unused server in the first P-CSCF list, acquire a third P-CSCF list, select one of the servers in the third P-CSCF list as the third server, and send an initial registration request message to the third server.
The embodiment of the invention also provides a mobile terminal which comprises the service recovery device.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A service recovery method is applied to a VoLTE terminal, and comprises the following steps:
acquiring a first P-CSCF list, wherein the first P-CSCF list comprises information of a plurality of servers;
sending an initial registration request message to a first server in the first P-CSCF list;
when a response message of registration failure replied by the first server is received, selecting a second server to send an initial registration request message until a response message of successful registration is received;
the method further comprises the following steps:
when a response message of successful registration replied by the second server is received, a Session Initiation Protocol (SIP) message is sent to the second server;
and when receiving the error code message replied by the second server, selecting a third server to send an initial registration request message until receiving a response message of successful registration.
2. The method of claim 1, wherein selecting the second server to send the initial registration request message comprises:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the second server, and sending an initial registration request message to the second server.
3. The method of claim 1, wherein selecting the third server to send the initial registration request message comprises:
and when the first P-CSCF list still has unused servers, selecting one unused server from the first P-CSCF list as the third server, and sending an initial registration request message to the third server.
4. The method of claim 1, wherein selecting the second server to send the initial registration request message further comprises:
and when the first P-CSCF list has no unused server, acquiring a second P-CSCF list, selecting one server in the second P-CSCF list as the second server, and sending an initial registration request message to the second server.
5. The method of claim 1, wherein selecting the third server to send the initial registration request message further comprises:
and when the first P-CSCF list has no unused server, acquiring a third P-CSCF list, selecting one server in the third P-CSCF list as the third server, and sending an initial registration request message to the third server.
6. A service recovery apparatus, applied to a VoLTE terminal, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first P-CSCF list, and the first P-CSCF list comprises information of a plurality of servers;
a sending unit, configured to send an initial registration request message to a first server in the first P-CSCF list;
the first processing unit is used for selecting the second server to send an initial registration request message when receiving a response message of registration failure replied by the first server until receiving the response message of registration success;
the device further comprises:
the second processing unit is used for sending a Session Initiation Protocol (SIP) message to the second server when receiving a response message of successful registration replied by the second server;
and the third processing unit is used for selecting a third server to send an initial registration request message when receiving the error code message replied by the second server until receiving a response message of successful registration.
7. The apparatus according to claim 6, wherein the first processing unit is configured to select an unused server from the first P-CSCF list as the second server when there are unused servers in the first P-CSCF list, and send an initial registration request message to the second server.
8. The apparatus according to claim 6, wherein the third processing unit is configured to select an unused server from the first P-CSCF list as the third server when there are unused servers in the first P-CSCF list, and send an initial registration request message to the third server.
9. The apparatus of claim 6, wherein the first processing unit is configured to, when there is no unused server in the first P-CSCF list, obtain a second P-CSCF list, select one of the servers in the second P-CSCF list as the second server, and send an initial registration request message to the second server.
10. The apparatus according to claim 6, wherein the third processing unit is configured to, when there is no unused server in the first P-CSCF list, obtain a third P-CSCF list, select one of the servers in the third P-CSCF list as the third server, and send an initial registration request message to the third server.
11. A mobile terminal, characterized in that it comprises a traffic restoration device according to any of claims 6 to 10.
CN201710240347.7A 2017-04-13 2017-04-13 Service recovery method and device and mobile terminal Active CN108737322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240347.7A CN108737322B (en) 2017-04-13 2017-04-13 Service recovery method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240347.7A CN108737322B (en) 2017-04-13 2017-04-13 Service recovery method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108737322A CN108737322A (en) 2018-11-02
CN108737322B true CN108737322B (en) 2021-01-26

Family

ID=63924465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240347.7A Active CN108737322B (en) 2017-04-13 2017-04-13 Service recovery method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108737322B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714136A (en) * 2021-01-21 2021-04-27 维沃移动通信有限公司 Network access method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120071129A (en) * 2010-12-22 2012-07-02 텔코웨어 주식회사 Method of cscf routing for gruu user in ims network, and device of the same
JP2015171021A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Mobile communication system, determination method of sip server in mobile communication system
CN105429988A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 IMS (Internet Protocol Multimedia Subsystem) registration method and IMS registration system based on multiple services
KR20170000571A (en) * 2015-06-24 2017-01-03 주식회사 엘지유플러스 Communication method of user terminal for session initiation protocol(sip) registration and user terminal
CN106464693A (en) * 2015-06-29 2017-02-22 华为技术有限公司 P-CSCF load management method and PGW
CN106470441A (en) * 2015-08-20 2017-03-01 中国电信股份有限公司 A kind of disaster-tolerant recovery method and system
EP3139565A1 (en) * 2015-09-03 2017-03-08 Alcatel Lucent Parser for locally routing voice over small cells of a long term evolution network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035798B (en) * 2009-09-25 2014-04-30 中兴通讯股份有限公司 Service processing method, system and device for realizing disaster tolerance
KR101266692B1 (en) * 2010-12-28 2013-05-22 주식회사 팬택 SYSTEM AND METHOD FOR CONTROLLING VoIP SERVICE
EP2995059A1 (en) * 2013-05-06 2016-03-16 Telefonaktiebolaget LM Ericsson (publ) Routing of sessions to other communication networks
CN103441862B (en) * 2013-08-07 2017-08-04 华为技术有限公司 It is a kind of to realize method, relevant apparatus and system that terminal called service recovers
CN103716299B (en) * 2013-09-22 2019-10-25 南京中兴新软件有限责任公司 A kind of method to be conversated based on SIP, terminal and call business server
CN104219705B (en) * 2014-09-24 2018-11-20 中国联合网络通信集团有限公司 VoLTE terminal re-registration method and device
CN106488475B (en) * 2015-08-28 2019-10-25 华为技术有限公司 A kind of method and device realizing terminal called service and restoring

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120071129A (en) * 2010-12-22 2012-07-02 텔코웨어 주식회사 Method of cscf routing for gruu user in ims network, and device of the same
JP2015171021A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Mobile communication system, determination method of sip server in mobile communication system
KR20170000571A (en) * 2015-06-24 2017-01-03 주식회사 엘지유플러스 Communication method of user terminal for session initiation protocol(sip) registration and user terminal
CN106464693A (en) * 2015-06-29 2017-02-22 华为技术有限公司 P-CSCF load management method and PGW
CN106470441A (en) * 2015-08-20 2017-03-01 中国电信股份有限公司 A kind of disaster-tolerant recovery method and system
EP3139565A1 (en) * 2015-09-03 2017-03-08 Alcatel Lucent Parser for locally routing voice over small cells of a long term evolution network
CN105429988A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 IMS (Internet Protocol Multimedia Subsystem) registration method and IMS registration system based on multiple services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A summary of Public Safety-related 3GPP activities to date in ReI-12;Motorola;《3GPP TSG CT WG3 Meeting #74》;20130809;全文 *

Also Published As

Publication number Publication date
CN108737322A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
US11659469B2 (en) Restoration of serving call session control and application server function
CN109391979B (en) Method, device and system for restoring P-CSCF (proxy-Call Session control function) fault
EP2648434B1 (en) Mobile communication method, gateway device, mobile management node and call session control server device
EP2775755B1 (en) Acquiring an online state of a terminal
US9749981B2 (en) IMS system and method for transmitting a reregister request to an S-CSCF
CN102546554A (en) IP (Internet Protocol) multimedia subsystem and method thereof for recovering user subscription relationship
CN104219705A (en) VoLTE terminal re-registering method and device
US8718636B1 (en) System and method for expedited call retry handling due to voice over 4G call failure
CN106549901B (en) Service triggering method and device
CN108737322B (en) Service recovery method and device and mobile terminal
EP3736696A1 (en) Early gx/rx session failure detection and response
US11522923B2 (en) Method for enabling a calling User Equipment, UE, to retry a Session Initiation Protocol, SIP, call attempt to a called UE, over a Circuit Switched domain
CN108616558B (en) Method and device for establishing call and user equipment
WO2018104060A1 (en) Service continuity after an application server fallback
KR102065019B1 (en) Home subscriber server and method for managing subscriber in internet protocol multimedia subsystem network
JP5582124B2 (en) Mobile communication method, gateway device, mobility management node, and call session control server device
CN108259327B (en) VoLTE service recovery method, system and device
JP5858102B2 (en) Communication method, mobile communication system, PGW (PDN Gateway), PGW control method, mobile station, and mobile station control method
US11818179B2 (en) IMS recovery
CN111385784B (en) Communication establishment method and device for emergency call, network equipment and terminal
EP3214818B1 (en) Method for an enhanced monitoring and/or synchronization between network nodes of an ip multimedia subsystem network, telecommunications network, system, program and computer program product
JP6353384B2 (en) Resource control system and resource control method

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
GR01 Patent grant
GR01 Patent grant