CN113225323B - IMS network registration method and terminal equipment - Google Patents

IMS network registration method and terminal equipment Download PDF

Info

Publication number
CN113225323B
CN113225323B CN202110445190.8A CN202110445190A CN113225323B CN 113225323 B CN113225323 B CN 113225323B CN 202110445190 A CN202110445190 A CN 202110445190A CN 113225323 B CN113225323 B CN 113225323B
Authority
CN
China
Prior art keywords
request message
registration
registration request
transmission path
network
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
CN202110445190.8A
Other languages
Chinese (zh)
Other versions
CN113225323A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110445190.8A priority Critical patent/CN113225323B/en
Publication of CN113225323A publication Critical patent/CN113225323A/en
Application granted granted Critical
Publication of CN113225323B publication Critical patent/CN113225323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses an IMS network registration method and terminal equipment, which can solve the problem of waste of process resources of the terminal equipment caused by the fact that the terminal equipment needs to try for many times and wait for a long time. The method comprises the following steps: sending a first registration request message to the network equipment through a first transmission path, wherein the first registration request message is used for applying IMS network registration to the network equipment; if the registration response message for the first registration request message sent by the network equipment is not received, the first registration request message is sent to the network equipment through a second transmission path; the registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or the terminal equipment is successfully registered in an IMS network, and the first transmission path is different from a proxy call session control function entity PCSCF in the second transmission path.

Description

IMS network registration method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of terminal equipment, in particular to an IMS network registration method and terminal equipment.
Background
At present, when the terminal equipment performs network registration of the network interconnection protocol (Internet Protocol, IP) multimedia subsystem (IPMultimediaSubsystem, IMS), a registration request message may be sent to the network equipment, if no reply of the network equipment is received, the terminal equipment may repeatedly send the registration request message to the network equipment through the same path after waiting for a certain period of time until receiving a response message of the network equipment, or after the first time of sending the registration request message to the network equipment, the sent registration request message does not receive a response message of successful registration sent by the network equipment, then the terminal equipment may start a timer, and after the timer times out, perform new round of IMS network registration again, so that it can be seen that in the current IMS network registration flow, the terminal equipment needs multiple attempts and long waiting time in the process of performing network registration to the IMS, so that process resources of the terminal equipment are wasted.
Disclosure of Invention
The embodiment of the invention provides an IMS network registration method and terminal equipment, which are used for solving the problems of the prior art that the terminal equipment needs multiple attempts and long waiting time, and the process resource of the terminal equipment is wasted. In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, there is provided an IMS network registration method, the method comprising:
sending a first registration request message to network equipment through a first transmission path, wherein the first registration request message is used for applying IMS network registration to the network equipment;
if the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through a second transmission path;
the registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or the terminal equipment is successfully registered in an IMS network, and the first transmission path is different from a proxy call session control function entity PCSCF in the second transmission path.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the registration response message sent by the network device for the first registration request message is not received, sending the first registration request message to the network device through a second transmission path includes:
And if the registration response message for the first registration request message sent by the network equipment is not received within a first preset duration, sending the first registration request message to the network equipment through the second transmission path.
In a first aspect of the embodiment of the present invention, if a registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through a second transmission path includes:
if the registration response message for the first registration request message sent by the network device is not received within a second preset duration, sending the first registration request message to the network device again through the first transmission path;
after the first registration request message is sent to the network device again through the first transmission path, if the number of times of sending the first registration request message reaches a preset number of times and the registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through the second transmission path.
In a first aspect of the embodiment of the present invention, if a registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through a second transmission path includes:
and if the number of times of sending the first registration request message reaches the preset number of times within the first preset duration and the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through the second transmission path.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the former request time interval is greater than or equal to the latter request time interval; the request time interval is a time interval between two adjacent transmissions of the first registration request message to the network device.
In a first aspect of the embodiment of the present invention, if a registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through a second transmission path includes:
If the registration response message for the first registration request message sent by the network equipment is not received, detecting whether an idle second transmission path exists;
and if the idle second transmission path exists, sending the first registration request message to the network equipment through the idle second transmission path.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the sending, by the second PCSCF, the first registration request message to the network device, the method further includes:
receiving a first registration response message sent by the network device, where the first registration response message is used to instruct the network device to not authorize the terminal device to perform IMS network registration, and the first registration response message includes: authorization verification information of the terminal equipment;
transmitting a second registration request message to the network device, the second registration request message comprising: and the second registration request message is used for applying for IMS network registration to the network equipment again.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the sending, by the second PCSCF, the first registration request message to the network device, the method further includes:
And receiving a second registration response message sent by the network equipment, wherein the second registration response message is used for indicating that the IMS network registration of the terminal equipment is successful.
In a second aspect, there is provided a terminal device comprising: the receiving and transmitting module is used for sending a first registration request message to the network equipment through a first transmission path, wherein the first registration request message is used for applying IMS network registration to the network equipment;
the transceiver module is further configured to send the first registration request message to the network device through a second transmission path if a registration response message for the first registration request message sent by the network device is not received;
the registration request message is used for indicating that the network device is not authorized to the terminal device or the terminal device IMS network is successfully registered, and the proxy call session control function entity PCSCF in the first transmission path is different from that in the second transmission path.
In a third aspect, there is provided a terminal device comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the IMS network registration method in the first aspect of the embodiment of the invention.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program that causes a computer to execute the IMS network registration method in the first aspect of the embodiment of the invention. The computer readable storage medium includes ROM/RAM, magnetic disk or optical disk, etc.
In a fifth aspect, there is provided a computer program product for causing a computer to carry out some or all of the steps of any one of the methods of the first aspect when the computer program product is run on the computer.
In a sixth aspect, an application publishing platform is provided for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, the terminal device may first send a first registration request message for applying for IMS network registration to the network device through the first transmission path, and if a registration response message for the first registration request message sent by the network device is not received, it may be indicated that the transmission path has failed, and then the terminal device may switch the transmission path, send the first registration request message to the network device through the second transmission path, where the first transmission path is different from the PCSCF in the second transmission path. According to the scheme, the terminal equipment can actively switch the transmission path, and initiate IMS network registration to the network equipment through the new transmission path, so that the success rate of IMS network registration is greatly improved, the situation that IMS network registration is repeatedly initiated to the network equipment through the same transmission path is avoided, and the total duration of IMS network registration of the terminal equipment is effectively shortened.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an IMS network architecture according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an IMS network registration method according to an embodiment of the present invention;
fig. 3 is a second flow chart of an IMS network registration method according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for registering an IMS network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram two of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first and second and the like in the description and in the claims, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order of the objects. For example, the first transmission path and the second transmission path, etc., are used to distinguish between different transmission paths, not to describe a particular order of transmission paths.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the related art, when the terminal device performs registration of the IP multimedia subsystem (IPMultimediaSubsystem, IMS), if the network device does not reply, the terminal device may apply for registration to the network device again, and if the terminal device does not receive a reply of the network device within 128s, the terminal device may end the registration operation and wait for a period of time to initiate the registration operation again. Therefore, the success rate of IMS network registration of the terminal equipment is low, the terminal equipment needs to wait for a long time and retry, process resources of the terminal equipment are occupied, and the power consumption of the terminal equipment is increased.
It should be noted that IMS is a standard of the next generation network defined by the third generation partnership organization (3rd Generation Partnership Project,3GPP), and is characterized by adopting a session initiation protocol (Session Initiation Protocol, SIP) system, and having no relation to communication and access, and can have various capabilities such as separation of various media service control functions and bearer capabilities, separation of calls and session, separation of applications and services, separation of services and networks, and fusion of mobile networks and internet services.
The IMS has been proposed to conform to the trend of convergence of communication networks. Fig. 1 is a schematic diagram of an IMS network system for implementing an IMS network registration method according to an embodiment of the present invention, where the IMS network system mainly includes: the User Equipment 11 (UE), the proxy call session control function 12 (Proxy call session control Function, PCSCF), the query call session control function 13 (Interrogating call session control Function, ICSCF), the serving call session control function 14 (Serving call session control Function, SCSCF), and the home subscriber server 15 (Home subscriber Server, HSS). The data transmission between the functional entities may be represented by arrows in fig. 1.
Wherein the PCSCF is used as a proxy of the UE and is used for forwarding the request and the response between the UE and the SCSCF. The SCSCF is a home service entity of the UE and is used for providing functions such as service logic, authority control and the like for the UE. The HSS is used for storing information such as registration information of the user and customized service.
It should be noted that, the connection manner between UE, PCSCF, ICSCF, SCSCF and HSS in fig. 1 may be a wired connection or a wireless connection, which is not limited by the embodiment of the present invention.
Wherein the IMS network architecture may be part of a core network.
When a user wants to realize communication and internet surfing at the same time when using the UE, the UE is required to register an IMS network, and the specific flow is as follows: firstly, sending a session initiation protocol registration (Session Initiation Protocol REGISTER, SIP REGISTER) request to the PCSCF; the PCSCF processes the SIP REGISTER request and sends SIP REGISTER a request to the selected ICSCF; the ICSCF issues a server assignment request (Server Assignment Request, SAR) message to the HSS to query the address of the SCSCF; the HSS selects one SCSCF and sends the address of the selected SCSCF to the ICSCF through a server assignment response (Server Assignment Answer, SAA) message; the ICSCF forwards SIP REGISTER requests to the selected SCSCF; the SCSCF may send corresponding response information to the UE according to the attribute information of the UE.
The SIP REGISTER request may include: the device identifier of the terminal device, the network identifier of the terminal device, the SIM card identifier of the terminal device, and the operator identifier supported by the terminal device, so that when the ICSCF queries the HSS about the address of the SCSCF, the HSS can select an appropriate SCSCF for the terminal device according to the relevant information of the terminal device in the SIP REGISTER request.
As shown in fig. 2, a flowchart of IMS network registration by a UE may include:
201. a registration request is sent, a first timer is started, and counting begins.
A first timer (timer-1) is started after the UE sends SIP REGISTER a request to the PCSCF, and counted from n=1, N being the number of times the UE sends SIP REGISTER a request to the PCSCF, and then the UE waits for a reply from the PCSCF,
202. it is detected whether the network device replies.
If the network device replies, the UE proceeds to step 203; if the network device does not reply, the UE proceeds to step 204.
203. And starting a registration process.
204. It is detected whether the first timer has timed out.
If the first timer times out, the UE performs 205; if the first timer does not time out, the UE proceeds to step 206.
205. A second timer is started.
If the UE does not receive a reply from the PCSCF and timer-1 has timed out, the UE starts a second timer (timer-2) to start counting and after timer-2 times out, sends SIP REGISTER a request again to the PCSCF, starts timer-1 and starts counting from n=1.
206. Resend the registration request.
If the UE does not receive a reply from the PCSCF and timer-1 does not time out, the UE will resend SIP REGISTER the request to the PCSCF, where n=2, where the time interval from the first SIP REGISTER request to resending SIP REGISTER the request to the PCSCF is T, t=min (max time, base time 2 N-1 ) The maxtime and basetime are recorded according to the historical IMS network registration record of the terminal equipment or the IMS network registration record of other equipmentThe interval duration of the transmission of the registration request.
In order to avoid that the UE does not receive the reply from the PCSCF and resends SIP REGISTER the request to the PCSCF multiple times, the terminal device will set a fixed duration, which is currently generally specified by the operator to be 128s. When the UE does not receive the reply from the PCSCF within the fixed duration, the UE stops not performing IMS network registration any more. Thus, the terminal device needs to wait and retry for a long time, and occupies the process resources of the terminal device.
In order to solve the above-mentioned problems, the embodiments of the present invention provide an IMS network registration method and a terminal device, where the terminal device may first send a first registration request message for applying for IMS network registration to the network device through a first transmission path, and if a registration response message for the first registration request message sent by the network device is not received, it may be stated that the transmission path is faulty, then the terminal device may switch the transmission path, send the first registration request message to the network device through a second transmission path, where the first transmission path is different from the PCSCF in the second transmission path. According to the scheme, the terminal equipment can actively switch the transmission path, and initiate IMS network registration to the network equipment through the new transmission path, so that the success rate of IMS network registration is greatly improved, the situation that IMS network registration is repeatedly initiated to the network equipment through the same transmission path is avoided, and the total duration of IMS network registration of the terminal equipment is effectively shortened.
In the embodiment of the present invention, the terminal device may be a UE, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user apparatus.
The terminal device may be a Station (ST) in a WLAN, may be a cellular telephone, a cordless telephone, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal Digital Assistant, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle device, a wearable device, a terminal device in a next generation communication system such as an NR network, or a terminal device in a future evolved public land mobile network (Public Land Mobile Network, PLMN) network, etc.
In the embodiment of the invention, the terminal equipment can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; may also be deployed on the surface of water, such as a ship, etc.; but may also be deployed in the air, such as on airplanes, balloons, satellites, etc.
In the embodiment of the present invention, the terminal device may be a Mobile Phone (Mobile Phone), a tablet pc (Pad), a computer with a wireless transceiver function, a Virtual Reality (VR) terminal device, an augmented Reality (Augmented Reality, AR) terminal device, a wearable device, or other electronic devices that may support a call function and a network access function. The wearable device may be an intelligent watch, an intelligent bracelet, a watch phone, etc., and the embodiment of the invention is not limited.
In the embodiment of the present invention, the network device may be ICSCF, SCSCF, or HSS in fig. 1.
The technical scheme of the embodiment of the invention can be applied to various communication systems, such as: global system for mobile communications (Global System of Mobile communication, GSM), code division multiple access (Code Division Multiple Access, CDMA) system, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) system, general packet Radio service (General Packet Radio Service, GPRS), long term evolution (Long Term Evolution, LTE) system, advanced long term evolution (Advanced long term evolution, LTE-a) system, new Radio (NR) system, evolved system of NR system, LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed spectrum, NR (NR-based access to unlicensed spectrum, NR-U) system on unlicensed spectrum, non-terrestrial communication network (Non-Terrestrial Networks, NTN) system, universal mobile communication system (Universal Mobile Telecommunication System, UMTS), wireless local area network (Wireless Local Area Networks, WLAN), wireless fidelity (Wireless Fidelity, wiFi), fifth Generation communication (5 th-Generation, 5G) system, or other communication system, etc.
The IMS network registration method provided by the embodiment of the invention can be realized through interaction between the terminal equipment and the network equipment.
Example 1
As shown in fig. 3, an embodiment of the present invention provides an IMS network registration method, which may include the following steps:
301. a first registration request message is sent to the network device over a first transmission path.
In the embodiment of the invention, the terminal equipment can send the first registration request message to the network equipment through the first transmission path.
Alternatively, the first transmission path may include: the network device may configure a plurality of transmission paths to the terminal device in advance, where at least one of the transmission paths has different functional entities, so that when one transmission path fails, the terminal device may send a first registration request message to the network device through another transmission path.
In the embodiment of the present invention, the PCSCF in the first transmission path is different from that in the second transmission path.
Alternatively, the ICSCF and SCSCF in the first transmission path and the second transmission path may be different, or may be the same, which is not limited by the embodiment of the present invention.
The first registration request message is used for applying for IMS network registration to the network equipment.
Optionally, the first registration request message may include: device identification of the terminal device, network identification of the terminal device, SIM card identification of the terminal device, operator identification supported by the terminal device, and the like.
Alternatively, when the terminal device sends the first registration request message to the network device through the first transmission path, the timer-1 may be started to start timing.
302. And if the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through a second transmission path.
In the embodiment of the present invention, if the terminal device does not receive the registration response message for the first registration request message sent by the network device, it may be stated that the transmission path between the terminal device and the network device is faulty, and then the terminal device may send the first registration request message to the network device through the second transmission path.
The registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or that the terminal equipment is successfully registered in an IMS network.
Alternatively, when the transmission path of the terminal device sending the first registration request message to the network device is switched from the first transmission path to the second transmission path, timer-1 may continue to time.
Alternatively, the terminal device may disconnect the transmission control protocol (TransmissionControlProtocol, TCP) first when switching the transmission path. When the second transmission path is queried, the TCP connection is restarted and switched from the first transmission path to the second transmission path.
Optionally, if the registration response message sent by the network device for the first registration request message is not received, the first registration request message is sent to the network device through the second transmission path, which may include, but is not limited to, the following embodiments:
in one embodiment: before the registration response message for the first registration request message sent by the network device is not received, before the first registration request message is sent to the network device through the second transmission path, if the registration response message for the first registration request message sent by the network device is not received within the second preset duration, the first registration request message is sent to the network device again through the first transmission path.
In the embodiment of the present invention, if the terminal device does not receive the registration response message for the first registration request message sent by the network device within the second preset duration, it may be indicated that the network device or the first transmission path is faulty, or the current network is busy and cannot respond to the IMS network registration request of the terminal device, and then the terminal device may send the first registration request message to the network device again through the first transmission path.
Optionally, the time interval between two adjacent terminal devices sending the first registration request message to the network device is a second preset duration, where the second preset duration may be a power of 2, for example: 8s,4s,2s, etc.
In this alternative embodiment, when the terminal device does not receive the registration response message of the network device, possibly because the current network is busy and unresponsive or the transmission path fails, the terminal device may send the first registration request message again, so as to avoid the situation that the IMS network registration cannot be successfully performed due to the temporary failure.
In another embodiment: and if the registration response message for the first registration request message sent by the network equipment is not received within the first preset duration, sending the first registration request message to the network equipment through the second transmission path.
In the embodiment of the invention, the terminal device may set a first preset duration, and in the first preset duration, the terminal device may wait for a registration response message sent by the network device for the first registration request message all the time.
For example, assuming that the terminal device sets the first preset duration to 64s, if the terminal device does not receive the registration response message for the first registration request message sent by the network device within the 64s, the terminal device may send the first registration request message to the network device through the second transmission path.
In this alternative embodiment, the terminal device may limit the duration of the registration response message sent by the waiting network device, if the network device does not reply within the first preset duration, it may be that the current transmission path fails, and the terminal device may switch the transmission path and send the first registration request message to the network device through the second transmission path, so that the situation that the terminal device waits for the reply of the network device for a long time can be avoided, and the duration of the terminal device performing IMS network registration is shortened.
In another embodiment: if the number of times of sending the first registration request message reaches the preset number of times and the registration response message for the first registration request message sent by the network device is not received, the first registration request message is sent to the network device through the second transmission path.
In the embodiment of the invention, the terminal device can set a preset number of times, and when the number of times that the terminal device sends the first registration request message to the network device reaches the preset number of times and the terminal device does not receive the registration response message for the first registration request message sent by the network device, the terminal device can send the first registration request message to the network device through the second transmission path.
For example, if the preset number of times is 5, within the second preset duration, when the terminal device does not receive the registration response message for the first registration request message sent by the network device, the first registration request message is sent to the network device again through the first transmission path; when the number of times the terminal device transmits the first registration request message to the network device reaches the 5 th time, and after the fifth time of transmitting the first registration request message, the terminal device does not receive the registration response message for the first registration request message transmitted by the network device, then the terminal device may switch the transmission path, and transmit the first registration request message to the network device through the second transmission path.
In this alternative embodiment, the terminal device may limit the number of times of sending the first registration request message to the network device, if the number of times of sending the first registration request message reaches the preset number of times, it may be that the current transmission path fails, and the terminal device may switch the transmission path, and send the first registration request message to the network device through the second transmission path, so that the situation that the terminal device applies for registration for multiple times without reply can be avoided, and the duration of the terminal device for performing IMS network registration is shortened.
In another embodiment: and if the number of times of sending the first registration request message reaches the preset number of times within the first preset duration and the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through a second transmission path.
In the embodiment of the invention, the terminal equipment can set a first preset time length and preset times, and the terminal equipment can repeatedly send the first registration request message to the network equipment for a plurality of times within the first preset time length. When the number of times that the terminal device sends the first registration request message to the network device reaches the preset number of times within the first preset duration, and the terminal device does not receive the registration response message for the first registration request message sent by the network device, the terminal device can send the first registration request message to the network device through the second transmission path.
For example, assume that the terminal device sets the first preset duration to 64s and the preset number of times to 5. If the duration of the terminal device for IMS network registration has reached 64s, but the number of times that the terminal device sends the first registration request message to the network device has not reached 5, the terminal device can switch the transmission path and send the first registration request message to the network device through the second transmission path; if the duration of IMS network registration of the terminal equipment does not reach 64s, but the number of times of sending the first registration request message to the network equipment by the terminal equipment reaches 5, the terminal equipment can switch the transmission path and send the first registration request message to the network equipment through the second transmission path; if the duration of the IMS network registration of the terminal device has reached 64s and the number of times the terminal device sends the first registration request message to the network device has reached 5, the terminal device may switch the transmission path and send the first registration request message to the network device through the second transmission path.
In this optional embodiment, the terminal device may limit the duration of the registration response message sent by the peer network device and the number of times of sending the first registration request message to the network device, if the number of times of sending the first registration request message reaches the preset number of times within the first preset duration, it may be that the current transmission path fails, and then the terminal device may switch the transmission path, and send the first registration request message to the network device through the second transmission path, so that the situation that the terminal device applies for registration for multiple times without reply can be avoided, and the duration of the terminal device for performing IMS network registration is shortened.
Through the above optional embodiments, the terminal device may switch the transmission path when the duration reaches a first preset duration, and/or the number of times that the terminal device sends the first registration request message to the network device reaches a preset number of times, or when the terminal device does not receive the registration response message for the first registration request message sent by the network device, and send the first registration request message to the network device through the second transmission path. Therefore, the terminal equipment can limit the IMS network registration time, limit the IMS network registration times, limit the IMS network registration time and the IMS network registration times at the same time, limit the transmission path, shorten the retry time on the same transmission path, provide a judgment basis for the switching of the transmission path and improve the success rate of IMS network registration.
In another embodiment: if the registration response message for the first registration request message sent by the network equipment is not received within the second preset duration, the first registration request message is sent to the network equipment again through the first transmission path; after the first registration request message is sent to the network device again through the first transmission path, if the number of times of sending the first registration request message reaches a preset number of times and the registration response message for the first registration request message sent by the network device is not received, the first registration request message is sent to the network device through the second transmission path.
In the embodiment of the present invention, after the terminal device sends the first registration request message to the network device again through the first transmission path, the terminal device may set a preset number of times, and when the number of times that the terminal device sends the first registration request message to the network device reaches the preset number of times and the terminal device does not receive the registration response message for the first registration request message sent by the network device, the terminal device may switch the transmission path and send the first registration request message to the network device through the second transmission path.
In another embodiment: if the registration response message for the first registration request message sent by the network equipment is not received within the second preset duration, the first registration request message is sent to the network equipment again through the first transmission path; and if the number of times of sending the first registration request message reaches the preset number of times within the first preset duration and the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through a second transmission path.
In the embodiment of the invention, after the terminal equipment sends the first registration request message to the network equipment again through the first transmission path, the terminal equipment can set a first preset time length and preset times, the terminal equipment can send the first registration request message to the network equipment for multiple times within the first preset time length, and if the times of sending the first registration request message to the network equipment by the terminal equipment reach the preset times within the first preset time length and no registration response message of the network equipment is received, the terminal equipment can switch the transmission path and send the first registration request message to the network equipment through the second transmission path.
Compared with the above embodiment, the alternative embodiment increases the limitation of sending the first registration request message again through the first transmission path, so that the terminal device can send the first registration request message for multiple times within the first preset duration, thereby avoiding the situation that the terminal device fails to register the IMS network because of the temporary path failure or the network busy.
In another embodiment: if the registration response message for the first registration request message sent by the network equipment is not received within the second preset duration, the first registration request message is sent to the network equipment again through the first transmission path; and if the registration response message for the first registration request message sent by the network equipment is not received within the first preset duration, sending the first registration request message to the network equipment through the second transmission path.
In the embodiment of the present invention, after the terminal device sends the first registration request message to the network device again through the first transmission path, the terminal device may set a first preset duration, in which the terminal device may send the first registration request message to the network device multiple times, and if the terminal device does not receive the registration response message of the network device in the first preset duration, the terminal device may switch the transmission path and send the first registration request message to the network device through the second transmission path.
Compared with the above embodiment, the alternative embodiment increases the limitation of sending the first registration request message again through the first transmission path, so that the terminal device can send the first registration request message for multiple times within the first preset duration, thereby avoiding the situation that the terminal device fails to register the IMS network because of the temporary path failure or the network busy.
In another embodiment: if the registration response message for the first registration request message sent by the network equipment is not received, detecting whether an idle second transmission path exists; and if the idle second transmission path exists, sending a first registration request message to the network equipment through the second transmission path.
In the embodiment of the invention, the network device may configure a plurality of transmission paths to the terminal device in advance, where PCSCF in each transmission path is different, when the terminal device cannot receive the registration response message for the first registration request message sent by the network device through the first transmission path, possibly because the current first transmission path fails, the terminal device may detect whether other second transmission paths in an idle state exist, and if the idle second transmission paths exist, the terminal device may switch the transmission paths and send the first registration request message to the network device through the second transmission paths.
Further, if the terminal device detects that there are multiple idle second transmission paths, the terminal device may further detect priorities of the multiple idle second transmission paths, and select a second transmission path with a highest priority among the multiple second transmission paths to send the first registration request message.
Alternatively, the priorities of the plurality of second transmission paths may be set according to the data carrying amounts of the transmission paths, and the priorities of the transmission paths having a large data carrying amount may be higher and the priorities of the transmission paths having a small data carrying amount may be lower.
Alternatively, the priorities of the plurality of second transmission paths may be set according to the correspondence between the transmission paths and the terminal devices, and some transmission paths may be used by a plurality of terminal devices at the same time, and some transmission paths may be used by only one terminal device, so that the priorities of the transmission paths used by only one terminal device are higher, and the priorities of the transmission paths used by a plurality of terminal devices are lower.
In this optional embodiment, the terminal device may select a transmission path with the highest priority among the plurality of second transmission paths to send the first registration request message, so that the terminal device may select a transmission path with a larger data bearing capacity, or a transmission path dedicated to the terminal device may send the first registration request message to the network device, so that the success rate of the terminal device for performing IMS network registration may be improved.
Alternatively, the foregoing embodiments may be split and combined separately to obtain more embodiments, which are not limited to the embodiments of the present invention.
Alternatively, this embodiment may be combined with any of the other embodiments, respectively, to obtain further embodiments.
For example, if a registration response message for the first registration request message sent by the network device is not received within a first preset duration, detecting whether an idle second transmission path exists; and if the idle second transmission path exists, sending a first registration request message to the network equipment through the second transmission path.
In this alternative embodiment, the terminal device may set a first preset duration, and in the first preset duration, the terminal device may repeat sending the first registration request message to the network device multiple times. If the terminal equipment does not receive the registration response message for the first registration request message sent by the network equipment within the first preset duration, the terminal equipment can firstly detect whether an idle second transmission path exists; if there is an idle second transmission path, the terminal device may switch the transmission path and send a first registration request message to the network device via the second transmission path.
Through the optional embodiment, when the duration reaches the first preset duration, if an idle second transmission path exists, the terminal equipment switches the transmission path, and sends the first registration request message to the network equipment through the second transmission path, so that the condition that the terminal equipment waits for the reply of the network equipment for a long time can be avoided, and the duration of IMS network registration by the terminal equipment is shortened.
Optionally, if there is no idle second transmission path, after a third preset duration, a first registration request message is sent to the network device through the first transmission path.
It should be noted that if the terminal device detects that there is no idle second transmission path, other transmission paths may be occupied, or the network device configures only one transmission path for the terminal device in advance, then the terminal device may end the current IMS network registration procedure, and after a third preset period of time, start the IMS network registration procedure again, and send a first registration request message to the network device through the first transmission path.
Optionally, the terminal device may further set a first time threshold, and when the duration of sending the first registration request message to the network device by the terminal device reaches the first time threshold, the IMS network registration process is ended, and after a third preset duration, the IMS network registration process is started again, and the first registration request message is sent to the network device through the first transmission path.
The time period for the terminal device to send the first registration request message to the network device includes the time period for the terminal device to send the first registration request message to the network device through the first transmission path, the time period for the terminal device to send the first registration request message to the network device through the second transmission path, and the time period for the terminal device to send the first registration request message to the network device through other transmission paths.
For example, assume that the terminal device sets a first time length threshold of 96s, a first preset time length of 64s, and a third preset time length of 90s. If the terminal device does not receive the registration response message for the first registration request message sent by the network device after 64s, the terminal device can send the first registration request message to the network device through the second transmission path, the terminal device can continue timing from 64s, when the time reaches 96s, the terminal device does not receive the registration response message for the first registration request message sent by the network device, the terminal device can end the IMS network registration process, and after 90s, the IMS network registration process is started again, and the first registration request message is sent to the network device through the first transmission path.
Optionally, after sending the first registration request message to the network device through the second transmission path, the method may further include: and receiving a registration response message sent by the network equipment.
In the embodiment of the present invention, after the terminal device sends the first registration request message to the network device through the second transmission path, the terminal device may receive the registration response message sent by the network device.
Optionally, the terminal device receives the registration response message sent by the network device, which may include, but is not limited to, the following embodiments:
in one embodiment: and receiving a first registration response message sent by the network equipment, wherein the first registration response message can be specifically used for indicating the network equipment to perform IMS network registration by unauthorized terminal equipment.
Wherein the first registration response message may include: authorization verification information of the terminal device.
Alternatively, the first registration response message may specifically be "401 unouthorized".
Optionally, when the terminal device initially sends the first registration request message to the network device, the network device does not detect the authorization information of the terminal device, so the network device generally sends the first registration response message to the terminal device, which is used for prompting the network device that the terminal device is not authorized to perform IMS network registration, and sending authorization verification information to the terminal device.
Optionally, the authorization verification information sent by the network device to the terminal device may include: authentication information and a random code of the terminal device.
Further, after receiving the first registration response message sent by the network device, the terminal device may send a second registration request message to the network device.
Wherein the second registration request message is used to apply for IMS network registration to the network device again. The second registration request message may include: authorization verification information of the terminal device.
Optionally, after receiving the authorization verification information sent by the network device, the terminal device may calculate the verification information and the random code of the terminal device to obtain a calculation result, and send the calculation result to the network device as the authorization verification information.
In another embodiment: and receiving a second registration response message sent by the network equipment, wherein the second registration response message can be specifically used for indicating that the IMS network registration of the terminal equipment is successful.
It should be noted that, after the terminal device sends the first registration request message to the network device through the second transmission path, the network device may detect whether the first registration request message has correct authorization verification information, and if so, send a second registration response message to the terminal device, where the second registration response message is used to indicate that the terminal device IMS network registration is successful. If the authorization verification information is wrong, a third registration response message is sent to the terminal device, and is used for indicating that the authorization verification information of the terminal device is wrong.
Alternatively, the second registration response message may specifically be "200OK".
Illustratively, it is assumed that the authorization verification information sent by the network device to the terminal device includes: random number 312451, and calculation questions: 12*23. The terminal device, after receiving the first registration response message, may calculate the question: 12×23 performs calculation to obtain a calculation result of 276, then the terminal device may send the random number 312451 and the calculation result 276 to the network device again, after receiving the authorization verification information, the network device may perform verification, the random number 312451 is consistent with the random number sent by the network device, and 12×23=276 may indicate that the authorization verification information sent by the terminal device is correct, and then the network device may send "200OK" to the terminal device.
Optionally, before the terminal device sends the first registration request message to the network device through the first transmission path, the method may further include: detecting whether the network equipment is authorized to the terminal equipment, and if the network equipment is authorized to the terminal equipment, sending a first registration request message to the network equipment through a first transmission path; if the network equipment does not authorize the terminal equipment, an authorization request message is sent to the network equipment, wherein the authorization request message is used for requesting the network equipment to authorize the terminal equipment to perform IMS network registration.
It should be noted that, before the terminal device sends the first registration request message to the network device, if the terminal device is not authorized by the network device, it is indicated that the network device does not perform IMS network registration authorization on the terminal device, and the terminal device may first apply authorization to the network device.
In this alternative embodiment, the terminal device may actively detect whether the terminal device is authorized, and if the terminal device is not authorized, the terminal device may actively apply for authorization to the network device, so that the initiative of the terminal device may be improved, the time for the terminal device to perform IMS network registration may be shortened, and the IMS network registration efficiency may be improved.
Optionally, after sending the first registration request message to the network device through the second transmission path, the method may further include: and outputting a prompt message if the abnormal prompt message sent by the network equipment is received.
The prompting message is used for prompting the user that the current network equipment is abnormal and can not be registered.
It should be noted that if the network device fails, the terminal device cannot register the IMS network successfully, and at this time, the network device may send an abnormal prompt message to the terminal device to prompt the user that the network fails currently, and then the terminal device may wait for a period of time, start the IMS network registration procedure again, and send the first registration request message to the network device again.
The embodiment of the invention provides an IMS network registration method, wherein a terminal device can firstly send a first registration request message for applying IMS network registration to a network device through a first transmission path, if a registration response message aiming at the first registration request message sent by the network device is not received, the terminal device can indicate that the transmission path has a fault, the terminal device can switch the transmission path, and send the first registration request message to the network device through a second transmission path, wherein the first transmission path is different from PCSCF in the second transmission path. According to the scheme, the terminal equipment can actively switch the transmission path, and initiate IMS network registration to the network equipment through the new transmission path, so that the success rate of IMS network registration is greatly improved, the situation that IMS network registration is repeatedly initiated to the network equipment through the same transmission path is avoided, and the total duration of IMS network registration of the terminal equipment is effectively shortened.
Example two
As shown in fig. 4, an embodiment of the present invention provides an IMS network registration method, which may further include the following steps:
401. a first registration request message is sent to the network device over a first transmission path.
In the embodiment of the invention, when the terminal equipment sends the first registration request message to the network equipment through the first transmission path, if the registration response message sent by the network equipment is not received, the first registration request message is sent to the network equipment through the first transmission path again.
Optionally, when the first registration request message is repeatedly sent to the network device for a plurality of times, the former request time interval is greater than or equal to the latter request time interval; the request time interval is a time interval between two adjacent times of sending the first registration request message to the network device by the terminal device.
As shown in fig. 4, the time interval between the first time of transmitting the first registration request message to the network device through the first transmission path and the second time of transmitting the first registration request message to the network device through the first transmission path is T 1 The time interval between the second time of sending the first registration request message to the network device through the first transmission path and the third time of sending the first registration request message to the network device through the first transmission path is T 2 Until the time interval between the last time of sending the first registration request message to the network equipment through the first transmission path and the last time of sending the first registration request message to the network equipment through the first transmission path is T n
Alternatively, T 1 ≥T 2 ≥…≥T n T1 may be 8s, T2 may be 4s, T3 may be 2s, T4 may be 2s.
Furthermore, the terminal device may further calculate a second preset duration according to a preset formula.
Wherein the preset formula is t=max (min time, max time×2 -N ) The method comprises the steps of carrying out a first treatment on the surface of the T is a second preset duration, and N is the number of times that the terminal equipment sends the first registration request message to the network equipment again.
It should be noted that, N is the number of times that the terminal device sends the first registration request message to the network device again, that is, the number of times that the terminal device sends the first registration request message to the network device for the first time does not count in. The minimum time and the maxtime are set by the terminal equipment according to the retransmission interval duration in the historical IMS network registration record or the IMS network registration record of other equipment, and the first duration parameter is smaller than the second duration parameter.
Alternatively, the total duration of the first registration request message sent to the network device via the same transmission path may be less than 128s, i.e. T 1 +T 2 +…+T n <128s。
It should be noted that, in the prior art, the operator generally specifies that the terminal device does not receive the registration response message for the first registration request message sent by the network device within 128s, then the terminal device may stop not performing IMS network registration any more, and the maximum time interval between sending the first registration request message to the network device any two times is 16s.
In the embodiment of the invention, in order to ensure that the total duration of applying for the IMS network registration through the same transmission path is less than 128s, T can be less than 16s and is the power of 2, then maxtime can be less than or equal to 16s, and the minimum time can be less than 16s.
Illustratively, assume a mintime of 2s and a maxtime of 16s. Then t=max (2, 16×2 -N ) As shown in fig. 4, when n=1, T 1 =max (2, 8) =8s; when n=2, T 2 =max (2, 4) =4s; when n=3, T 3 =max (2, 2) =2s; when n=4, T 4 =max (2, 1) =2s; it can be seen that when the terminal device repeatedly sends the first registration request message to the network device for the first time, i.e. sends the first registration request message to the network device for the second time, the time interval between the first time of sending the first registration request message to the network device is 8s, i.e. T 1 =8s; when the terminal equipment repeatedly sends the first registration request message to the network equipment for the second time, namely, sends the first registration request message to the network equipment for the third time, the time interval between the second time of sending the first registration request message to the network equipment is 4s, namely, T 2 =4s; when the terminal equipment repeatedly sends the first registration request message to the network equipment for the third time, namely, the first registration request message is sent to the network equipment for the fourth time, the time interval between the third time of sending the first registration request message to the network equipment is 2s, namely, T 3 =2s; when the terminal device repeatedly sends the first registration request message to the network device for the fourth time, namely, the first registration request message is sent to the network device for the fifth time, the time interval between the fourth time of sending the first registration request message to the network device is 2s, namely, T 4 =2s。
Through the alternative implementation manner, when the first registration request message is repeatedly sent to the network device for multiple times, the former request time interval is greater than or equal to the latter request time interval, so that if the registration response message of the network device is not received when the first registration request message is sent to the network device for the first time, it can be stated that the network device or the first transmission path is faulty, or the current network is busy and cannot respond to the IMS network registration request of the terminal device, and when the first registration request message is sent to the network device again, the waiting time between sending the first registration request message for two times can be shortened, so that the total time of the whole IMS network registration process can be shortened, and the loss of process resources of the terminal device can be reduced.
402. It is detected whether an idle second transmission path exists.
In the embodiment of the present invention, the network device may configure a plurality of transmission paths to the terminal device in advance, where PCSCF in each transmission path is different, and when the terminal device cannot receive the registration response message for the first registration request message sent by the network device through the first transmission path, possibly because the current first transmission path fails, the terminal device may detect whether other second transmission paths in an idle state exist.
403. And if the idle second transmission path exists, sending a first registration request message to the network equipment through the second transmission path.
Optionally, in the embodiment of the present invention, if there is no idle second transmission path, after a third preset duration, the terminal device may send a first registration request message to the network device through the first transmission path.
It should be noted that if the terminal device detects that there is no idle second transmission path, then other transmission paths may be occupied, or the network device configures only one transmission path to the terminal device in advance, then the terminal device may suspend the IMS network registration procedure; and starting the timer-2, and after the timer-2 times out, sending a first registration request message to the network equipment through the first transmission path again, restarting the timer-1, and starting counting.
The embodiment of the invention provides an IMS network registration method, wherein a terminal device can firstly send a first registration request message for applying IMS network registration to a network device through a first transmission path, if a registration response message aiming at the first registration request message and sent by the network device is not received, which is possibly that a current first transmission path has faults, the terminal device can detect whether an idle second transmission path exists, if the idle second transmission path exists, the first registration request message is sent to the network device through the second transmission path, and the first transmission path is different from PCSCF in the second transmission path. According to the scheme, the terminal equipment can actively switch the transmission path, and initiate IMS network registration to the network equipment through the new transmission path, so that the success rate of IMS network registration is greatly improved, the situation that IMS network registration is repeatedly initiated to the network equipment through the same transmission path is avoided, and the total duration of IMS network registration of the terminal equipment is effectively shortened.
Example III
As shown in fig. 5, an embodiment of the present invention provides a terminal device, including:
a transceiver module 501, configured to send a first registration request message to a network device through a first transmission path, where the first registration request message is used to apply for IMS network registration to the network device;
the transceiver module 501 is further configured to send, if a registration response message sent by the network device for the first registration request message is not received, the first registration request message to the network device through the second transmission path;
the registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or the terminal equipment is successfully registered in an IMS network, and the first transmission path is different from a proxy call session control function entity PCSCF in the second transmission path.
Optionally, the transceiver module 501 is specifically configured to send the first registration request message to the network device through the second transmission path if the registration response message sent by the network device for the first registration request message is not received within the first preset duration.
Optionally, the transceiver module 501 is specifically configured to, if the registration response message for the first registration request message sent by the network device is not received within the second preset duration, send the first registration request message to the network device again through the first transmission path;
The transceiver module 501 is specifically configured to, after sending the first registration request message to the network device again through the first transmission path, send the first registration request message to the network device through the second transmission path if the number of times of sending the first registration request message reaches a preset number of times and a registration response message sent by the network device and directed to the first registration request message is not received.
Optionally, the previous request time interval is greater than or equal to the next request time interval; the request time interval is the time interval between two adjacent transmissions of the first registration request message to the network device.
Optionally, the transceiver module 501 is specifically configured to send the first registration request message to the network device through the second transmission path if the number of times of sending the first registration request message reaches the preset number of times and the registration response message for the first registration request message sent by the network device is not received within the first preset duration.
Optionally, the terminal device may further include:
a processing module 502, configured to detect whether an idle second transmission path exists if a registration response message for the first registration request message sent by the network device is not received;
The transceiver module 501 is specifically configured to send the first registration request message to the network device through the idle second transmission path if the idle second transmission path exists.
Optionally, the transceiver module 501 is specifically configured to receive a first registration response message sent by a network device, where the first registration response message is used to instruct an unauthorized terminal device of the network device to perform IMS network registration, and the first registration response message includes: authorization verification information of the terminal equipment;
the transceiver module 501 is specifically configured to send a second registration request message to the network device, where the second registration request message includes: the authorization verification information of the terminal equipment and the second registration request message are used for applying for IMS network registration to the network equipment again.
Optionally, the transceiver module 501 is specifically configured to receive a second registration response message sent by the network device, where the second registration response message is used to indicate that the terminal device IMS network registration is successful.
In the embodiment of the present invention, each module may implement the IMS network registration method provided in the above method embodiment, and may achieve the same technical effects, so that repetition is avoided and redundant description is omitted here.
As shown in fig. 6, an embodiment of the present invention further provides a terminal device, where the terminal device may include:
A memory 601 in which executable program codes are stored;
a processor 602 coupled to the memory 601;
the processor 602 invokes executable program codes stored in the memory 601 to execute the IMS network registration method executed by the terminal device in the above method embodiments.
As shown in fig. 7, the embodiment of the present invention further provides a terminal device, where the terminal device includes, but is not limited to: radio Frequency (RF) circuit 701, memory 702, input unit 703, display unit 704, sensor 705, audio circuit 706, wiFi (wireless fidelity, wireless communication) module 707, processor 708, power supply 709, and camera 710. The radio frequency circuit 701 includes a receiver 7011 and a transmitter 7012. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 7 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The RF circuit 701 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the RF circuit receives the downlink information and processes the downlink information with the processor 708; in addition, the data of the design uplink is sent to the base station.
The memory 702 may be used to store software programs and modules, and the processor 708 may perform various functional applications and data processing of the terminal device by executing the software programs and modules stored in the memory 702.
The input unit 703 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device. In particular, the input unit 703 may include a touch panel 7031 and other input devices 7032.
The display unit 704 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 704 may include a display panel 7041, and alternatively, the display panel 7041 may be configured in the form of a liquid crystal display (liquid crystal display, LCD), an organic light-Emitting diode (OLED), or the like.
The terminal device may also include at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
Audio circuitry 706, speaker 7061, microphone 7062 may provide an audio interface between the user and the terminal device. The audio circuit 706 may transmit the received electrical signal after audio data conversion to the speaker 7061, and the electrical signal is converted into a sound signal by the speaker 7061 to be output; on the other hand, the microphone 7062 converts the collected sound signal into an electric signal, receives the electric signal by the audio circuit 706, converts the electric signal into audio data, outputs the audio data to the processor 708 for processing, transmits the audio data to, for example, another terminal device via the RF circuit 701, or outputs the audio data to the memory 702 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and terminal equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 707, so that wireless broadband Internet access is provided for the user.
The processor 708 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 702, and invoking data stored in the memory 702, thereby performing overall monitoring of the terminal device.
The terminal device also includes a power supply 709 (e.g., a battery) that provides power to the various components. Although not shown, the terminal device may further include a bluetooth module or the like, which is not described herein.
It should be noted that, the terminal device may implement the IMS network registration method in the embodiment of the present invention.
Optionally, the RF circuit 701 may be specifically configured to send a first registration request message to the network device through the first transmission path, where the first registration request message is used to apply for IMS network registration to the network device; if the registration response message for the first registration request message sent by the network equipment is not received, the first registration request message is sent to the network equipment through a second transmission path;
Optionally, the RF circuit 701 may be specifically configured to send the first registration request message to the network device through the second transmission path if the registration response message sent by the network device for the first registration request message is not received within the first preset duration.
Optionally, the RF circuit 701 may be specifically configured to send the first registration request message to the network device again through the first transmission path if the registration response message for the first registration request message sent by the network device is not received within the second preset duration; after the first registration request message is sent to the network device again through the first transmission path, if the number of times of sending the first registration request message reaches a preset number of times and the registration response message for the first registration request message sent by the network device is not received, the first registration request message is sent to the network device through the second transmission path.
Optionally, the RF circuit 701 may be specifically configured to send the first registration request message to the network device through the second transmission path if the number of times of sending the first registration request message reaches the preset number of times and the registration response message for the first registration request message sent by the network device is not received within the first preset duration.
Optionally, the processor 708 may be specifically configured to detect whether an idle second transmission path exists if a registration response message for the first registration request message sent by the network device is not received;
the RF circuit 701 may be specifically configured to send the first registration request message to the network device through the idle second transmission path if the idle second transmission path exists.
Optionally, the RF circuit 701 may be specifically configured to receive a first registration response message sent by the network device, where the first registration response message is used to instruct the network device to perform IMS network registration by using an unauthorized terminal device, and the first registration response message includes: authorization verification information of the terminal equipment; transmitting a second registration request message to the network device, the second registration request message comprising: the authorization verification information of the terminal equipment and the second registration request message are used for applying for IMS network registration to the network equipment again.
Optionally, the RF circuit 701 may be specifically configured to receive a second registration response message sent by the network device, where the second registration response message is used to indicate that the terminal device IMS network registration is successful.
The present invention provides a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention also provide a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the method embodiments above.
The embodiment of the invention also provides an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and the computer program product, when running on a computer, causes the computer to execute part or all of the steps of the method as in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present invention.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present invention.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data and that is readable by a computer.

Claims (9)

1. An IMS network registration method, applied to a terminal device, comprising:
sending a first registration request message to network equipment through a first transmission path, wherein the first registration request message is used for applying IMS network registration to the network equipment;
If the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through a second transmission path;
the first registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or the terminal equipment is successfully registered in an IMS network, and the first transmission path is different from a proxy call session control function entity PCSCF in the second transmission path;
and if the registration response message sent by the network device and aiming at the first registration request message is not received, sending the first registration request message to the network device through a second transmission path, wherein the steps include:
if the registration response message sent by the network equipment and aiming at the first registration request message is not received, disconnecting a Transmission Control Protocol (TCP) connection and detecting whether an idle second transmission path exists;
if a plurality of idle second transmission paths are detected to exist, the TCP connection is started, the priority of the idle second transmission paths is detected, the first registration request message is sent to the network equipment through a second transmission path with the highest priority in the idle second transmission paths, the priority of the idle second transmission paths is set according to the corresponding relation between the transmission paths and the terminal equipment, and the priority of the transmission path used by only one terminal equipment is higher than that of the transmission path used by a plurality of terminal equipment at the same time.
2. The method according to claim 1, wherein if the registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through a second transmission path includes:
and if the registration response message for the first registration request message sent by the network equipment is not received within a first preset duration, sending the first registration request message to the network equipment through the second transmission path.
3. The method according to claim 1, wherein if the registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through a second transmission path includes:
if the registration response message for the first registration request message sent by the network device is not received within a second preset duration, sending the first registration request message to the network device again through the first transmission path;
after the first registration request message is sent to the network device again through the first transmission path, if the number of times of sending the first registration request message reaches a preset number of times and the registration response message for the first registration request message sent by the network device is not received, sending the first registration request message to the network device through the second transmission path.
4. A method according to claim 2 or 3, wherein said sending the first registration request message to the network device via the second transmission path if a registration response message for the first registration request message sent by the network device is not received, comprises:
and if the number of times of sending the first registration request message reaches the preset number of times within the first preset duration and the registration response message for the first registration request message sent by the network equipment is not received, sending the first registration request message to the network equipment through the second transmission path.
5. A method according to claim 3, wherein the previous request time interval is greater than or equal to the subsequent request time interval; the request time interval is a time interval between two adjacent transmissions of the first registration request message to the network device.
6. The method of claim 1, wherein after the sending the first registration request message to the network device via the second transmission path, the method further comprises:
receiving a first registration response message sent by the network device, where the first registration response message is used to instruct the network device to not authorize the terminal device to perform IMS network registration, and the first registration response message includes: authorization verification information of the terminal equipment;
Transmitting a second registration request message to the network device, the second registration request message comprising: and the second registration request message is used for applying for IMS network registration to the network equipment again.
7. The method of claim 1, wherein after the sending the first registration request message to the network device via the second transmission path, the method further comprises:
and receiving a second registration response message sent by the network equipment, wherein the second registration response message is used for indicating that the IMS network registration of the terminal equipment is successful.
8. A terminal device, comprising:
the receiving and transmitting module is used for sending a first registration request message to the network equipment through a first transmission path, wherein the first registration request message is used for applying IMS network registration to the network equipment;
the transceiver module is further configured to send the first registration request message to the network device through a second transmission path if a registration response message for the first registration request message sent by the network device is not received;
the first registration request message is used for indicating that the terminal equipment does not obtain an IMS network registration authorization credential or the terminal equipment is successfully registered in an IMS network, and the first transmission path is different from a proxy call session control function entity PCSCF in the second transmission path;
The terminal device further includes:
the processing module is used for disconnecting a Transmission Control Protocol (TCP) connection and detecting whether an idle second transmission path exists or not if the registration response message for the first registration request message sent by the network equipment is not received;
the transceiver module is specifically configured to, if it is detected that there are multiple idle second transmission paths, start the TCP connection, detect priorities of the multiple idle second transmission paths, and send the first registration request message to the network device through a second transmission path with a highest priority among the multiple idle second transmission paths, where the priorities of the multiple idle second transmission paths are set according to a correspondence between the transmission paths and the terminal device, and a priority of a transmission path used by only one terminal device is higher than a priority of a transmission path used by multiple terminal devices at the same time.
9. A terminal device, comprising:
a memory storing executable program code;
and a processor coupled to the memory;
the processor invokes the executable program code stored in the memory for performing an IMS network registration method according to any one of claims 1 to 7.
CN202110445190.8A 2021-04-23 2021-04-23 IMS network registration method and terminal equipment Active CN113225323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110445190.8A CN113225323B (en) 2021-04-23 2021-04-23 IMS network registration method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110445190.8A CN113225323B (en) 2021-04-23 2021-04-23 IMS network registration method and terminal equipment

Publications (2)

Publication Number Publication Date
CN113225323A CN113225323A (en) 2021-08-06
CN113225323B true CN113225323B (en) 2023-09-12

Family

ID=77089032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110445190.8A Active CN113225323B (en) 2021-04-23 2021-04-23 IMS network registration method and terminal equipment

Country Status (1)

Country Link
CN (1) CN113225323B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766630B (en) * 2021-09-03 2024-06-14 维沃移动通信有限公司 IMS network registration method and device and electronic equipment
CN115568011B (en) * 2022-02-07 2023-10-24 荣耀终端有限公司 Method for user equipment to initiate IMS registration and corresponding user equipment
CN117319987A (en) * 2022-06-23 2023-12-29 中兴通讯股份有限公司 Method and device for limiting separation of machine and card, system, storage medium and electronic device
CN117715174A (en) * 2023-08-09 2024-03-15 荣耀终端有限公司 Network registration method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984164A (en) * 2012-12-06 2013-03-20 大唐移动通信设备有限公司 IMS registration method and device
CN103002566A (en) * 2012-12-06 2013-03-27 大唐移动通信设备有限公司 Method and device for Ip multimedia subsystem (IMS) registering
CN103259723A (en) * 2013-06-05 2013-08-21 清华大学 Energy conservation method based on combination of data center network routing and flow preemptive scheduling
CN105188130A (en) * 2014-06-12 2015-12-23 中国移动通信集团公司 Registration processing method and device for terminal equipment in IMS system, and terminal equipment
CN109862619A (en) * 2019-01-31 2019-06-07 北京牡丹电子集团有限责任公司数字电视技术中心 A kind of multi-channel allocation method
CN112333744A (en) * 2020-11-25 2021-02-05 Oppo(重庆)智能科技有限公司 Cell registration method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984164A (en) * 2012-12-06 2013-03-20 大唐移动通信设备有限公司 IMS registration method and device
CN103002566A (en) * 2012-12-06 2013-03-27 大唐移动通信设备有限公司 Method and device for Ip multimedia subsystem (IMS) registering
CN103259723A (en) * 2013-06-05 2013-08-21 清华大学 Energy conservation method based on combination of data center network routing and flow preemptive scheduling
CN105188130A (en) * 2014-06-12 2015-12-23 中国移动通信集团公司 Registration processing method and device for terminal equipment in IMS system, and terminal equipment
CN109862619A (en) * 2019-01-31 2019-06-07 北京牡丹电子集团有限责任公司数字电视技术中心 A kind of multi-channel allocation method
CN112333744A (en) * 2020-11-25 2021-02-05 Oppo(重庆)智能科技有限公司 Cell registration method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113225323A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN113225323B (en) IMS network registration method and terminal equipment
US9603070B2 (en) Apparatus and method for managing requests for service
WO2022252725A1 (en) Communication system for improving phone call success rate under sa network and user equipment
WO2008151406A1 (en) System and method for indicating emergency call back to user equipment
MX2008012070A (en) Method and apapratus for performing a handover procedure between a 3gpp lte network and an alternative wireless network.
US20140171048A1 (en) System and Method for Transferring or Rejoining a Conference Call from Any Device
EP2342936A1 (en) Detection time of semi-persistent scheduling activation/reconfiguration signaling
US8611221B2 (en) Transport block size signaling for semi-persistent scheduling
EP2795987B1 (en) Method and apparatus for monitoring and allocation of freqeuncy channels associated with multiple talkgroups in multicarrier communication environments
CN114698046A (en) Call receiving method and communication device
CN113438612B (en) Call method, terminal device and storage medium
CN106550314B (en) Call forwarding method based on Bluetooth positioning technology
CN101321375A (en) Method and server for controlling conversation switch
CN102158810A (en) Method of downloading application based on multicast mode, device and system
CN108353145A (en) Video answers record communication means and terminal
CN117715235A (en) Communication establishment method and device, terminal equipment and network side equipment
KR101547815B1 (en) Apparatus and method for providing other service in ip multimedia subsystem
CN116170415B (en) Call processing method, device and storage medium
CN114928868B (en) Communication method, device, terminal and network equipment
US20210185170A1 (en) Media display control method and related product
US11171997B2 (en) Handling of an IMS conversational service of a user equipment
CN115884374A (en) Method, communication device, storage medium and product for message processing
CN118075922A (en) Method and device for establishing call
WO2011122933A1 (en) System and method of session transfer using non-post active device

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