IMS registration method and electronic equipment
By judging and triggering registration and re-initial registration in the electronic device, the call service failure problem caused by abnormal IMS registration status is solved, which improves the call service success rate and avoids incorrect processing.
Patent Information
- Application Number
- CN202410235188.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-02-29
AI Technical Summary
In 4G or 5G networks, when an electronic device changes from an IMS registration status to an IMS unregistered status, it will not be restored for a long time, which will lead to the inability to conduct call services, affecting the user experience.
By realizing the judgment of preset conditions in the electronic device, triggering registration and re-initial registration, and then performing IMS registration retry to restore the IMS registration status. The preset conditions include whether the currently registered PLMN is the target PLMN, whether the recovery operation has been performed in the timer, whether the system time has been separated by the last operation exceeds a specific time period, etc.
It improves the success rate of call services of electronic devices, avoids misjudgment and mishandling, and ensures that the equipment can carry out multimedia services normally.
Smart Images

Figure CN119254755A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an IMS registration method and electronic device. Background Art
[0002] After an electronic device (or terminal) in a 4G or 5G network is connected to the network, if you want to use multimedia services such as voice over long-term evolution (VoLTE), you also need to register with the IP multimedia subsystem (IMS) network. The IMS registration here is the process of the VoLTE client registering its contact information with the IMS network so that the electronic device can perform a variety of multimedia services.
[0003] Currently, when an electronic device is in the IMS registered state, it may receive a notification message from the core network or change from the IMS registered state to the IMS unregistered state due to an abnormality in the internal operation of the electronic device. If the electronic device is in the IMS unregistered state for a long time and has not been restored, it will cause the electronic device to be unable to perform call services and other problems, affecting the user experience. Summary of the invention
[0004] The present application provides an IMS registration method and an electronic device, which can improve the success rate of call services of the electronic device.
[0005] In a first aspect, the present application provides an IMS registration method, which is executed by an electronic device, comprising: when the electronic device is in an IP multimedia system IMS registration state, if a deregistration notification message sent by the network is received, or if it is detected that the IMS registration state is changed to an IMS unregistered state, the electronic device determines whether a preset condition is met, and the preset condition is used by the electronic device to determine whether the IMS registration state needs to be restored; when the preset condition is met, the electronic device triggers deregistration and re-initial registration, as well as IMS registration retry, to restore the IMS registration state of the electronic device.
[0006] Among them, when the electronic device is in the IMS registration state, if the electronic device has some abnormal conditions, the network (such as the core network) will send a cancellation notification message (such as a Notify message) to the electronic device to cancel the IMS registration state, or the electronic device changes to the IMS unregistered state due to its own abnormal operation. Then, when the electronic device receives the cancellation notification message sent by the network, or detects that the IMS registration state has changed to the IMS unregistered state, in order to improve the success rate of subsequent call services, the electronic device judges the preset conditions, and triggers the electronic device to deregister and re-initialize registration based on the judgment results, thereby triggering the IMS registration retry to restore the IMS registration state of the electronic device. Therefore, after restoring the IMS registration state, the electronic device can carry out business normally, which improves the success rate of call services.
[0007] In combination with the first aspect, in some implementations of the first aspect, when the deregistration notification message sent by the network is received, the electronic device determines whether a preset condition is met, including: if the information carried in the deregistration notification message is preset information, then determining whether the preset condition is met.
[0008] This implementation method is that when an electronic device receives a deregistration notification message sent by the network, the electronic device will determine whether the information carried in the deregistration notification message is preset information. If the information carried is preset information, it will continue to determine whether the preset condition is met. If the information carried is not preset information, the process will end. This avoids the electronic device from performing erroneous recovery processing later.
[0009] In some implementations, the preset information is information including state="terminated", event="rejected", indicating that the deregistration behavior is initiated by the IMS core network and the IMS registration is terminated.
[0010] In combination with the first aspect, in some implementations of the first aspect, the preset condition includes at least one of the following conditions being satisfied: the public land mobile network PLMN currently registered by the electronic device is the target PLMN, the electronic device has not performed a first operation within a first time period set by a first timer, the electronic device has not changed to an IMS registration state within the first time period, and when the first timer times out, the system time of the electronic device is more than a second time period away from the time corresponding to the second operation; wherein the first operation is an operation that actively triggers IMS registration recovery when performing the reverse operation of the first operation, and the second operation is the last de-registration and re-initial registration operation.
[0011] That is, in the scenario where the electronic device receives a deregistration notification message sent by the network, the electronic device's judgment process for the preset condition includes at least one of the following processes: judging whether the PLMN currently registered by the electronic device is the target PLMN (that is, whether the above-mentioned abnormality of the electronic device occurs under the target PLMN); if so, judging whether the first operation has been performed within a first time period (the first timer can be started here to set the first time period); if the first operation has been performed, judging whether it has been changed to the IMS registered state within the first time period; if it has not been changed to the IMS registered state (that is, it is still the IMS unregistered state), then when the first timer times out, judging whether the system time is longer than the second time period from the time corresponding to the second operation (here is the second time period set to avoid frequent deregistration and re-initialization); if it exceeds the second time period, the electronic device triggers deregistration and re-initialization, as well as IMS registration retry.
[0012] Exemplarily, the first duration is 60 seconds and the second duration is 30 minutes.
[0013] Among them, the first operation is an operation that actively triggers IMS registration recovery when the reverse operation of the first operation is performed, that is, an operation that can actively trigger IMS registration recovery. Exemplarily, the first operation may include a SIM card status change operation (such as a card removal operation and / or a deactivation operation), an operation to turn on the flight mode, etc. For example, if the first operation is an operation to turn on the flight mode, the reverse operation of the first operation is subsequently performed, that is, if the user actively turns off the flight mode, the electronic device can be restored to a normal state.
[0014] Therefore, the electronic device determines whether an abnormality occurs under the target PLMN, whether the first operation is performed within the first time period, whether the state has been changed to the IMS registration state within the first time period, whether the system time corresponding to the second operation exceeds the second time period, and other preset conditions, and triggers the electronic device to deregister and re-initialize registration based on the judgment result, thereby triggering an IMS registration retry to restore the IMS registration state of the electronic device and improve the success rate of call services.
[0015] In combination with the first aspect, in some implementations of the first aspect, when the first timer times out, if the system time of the electronic device is less than the second duration from the time corresponding to the second operation, the method further includes: determining that the preset condition is not met, and continuously timing until the system time of the electronic device is more than the second duration from the time corresponding to the second operation; if the electronic device is still in an IMS unregistered state, triggering deregistration and re-initial registration, as well as IMS registration retry.
[0016] From the above description, it can be seen that the electronic device triggers deregistration and re-initial registration when the system time exceeds the second time period from the time corresponding to the second operation. If the second time period has not been exceeded at that time, that is, the preset condition is not met, the electronic device can continue timing until the second time period is reached. If the electronic device is still in the IMS unregistered state, it is necessary to trigger deregistration and re-initial registration to restore the IMS registration state of the electronic device and further improve the success rate of the call service.
[0017] In combination with the first aspect, in some implementations of the first aspect, when it is detected that the IMS registration state is changed to the IMS unregistered state, the preset condition is satisfied, including at least one of the following conditions being satisfied: the IMS switch state of the electronic device is on, the electronic device is online, the user identification module SIM card of the electronic device is in place, the electronic device does not perform a first operation within a third time period timed by a second timer, the electronic device does not change to the IMS registration state within the third time period, and the first condition is satisfied when the second timer times out.
[0018] This implementation method is that in the scenario where the electronic device detects that the IMS registration state has changed to the IMS unregistered state, the electronic device's judgment process for the preset condition includes at least one of the following processes: judging whether the IMS switch state is on, and if so, judging whether the electronic device is currently online (i.e., online state, non-flight mode state); if it is online, judging whether the SIM card is in place (i.e., the state in which the SIM card is normally installed in the card slot); if the SIM card is in place, judging whether the first operation has been performed within a third time period (the second timer can be started here to time the third time period); if the first operation has been performed, judging whether it has been changed to the IMS registration state within the third time period; if it has not been changed to the IMS registration state (i.e., it is still the IMS unregistered state), then when the second timer times out, judging whether the first condition is met; if the first condition is met, the electronic device triggers deregistration and re-initial registration, as well as IMS registration retry.
[0019] In some implementations, the first condition mentioned above is satisfied when at least one of the following conditions is satisfied: the current network standard of the electronic device is 4G or 5G, the electronic device is in a screen-off state, the electronic device is in an idle state, and the system time of the electronic device is greater than a second duration from the time corresponding to the second operation.
[0020] In the process of judging the first condition, at least one of the following processes may be included: the electronic device judges whether the current network standard is 4G or 5G, and if so, judges whether it is in the screen-off state. If the electronic device is in the screen-off state, judge whether it is in the idle state. If the electronic device is in the idle state, judge whether the system time is longer than the second time period corresponding to the second operation, and if so, perform subsequent deregistration and re-initialization registration. If it does not exceed the second time period, continue timing until the second time period is reached. After reaching the second time period, if the electronic device has restored the IMS registration state, there is no need to deregister and re-initialize, and the process can be ended. If the IMS registration state has not been restored, that is, it is still in the IMS unregistered state, deregistration and re-initialization registration are triggered.
[0021] Through the above series of judgment processes, the electronic device can trigger the electronic device to deregister and re-initialize registration according to the judgment result, thereby triggering an IMS registration retry to restore the IMS registration status of the electronic device and improve the success rate of call services; and, compared with the scenario of receiving a deregistration notification message sent by the network, the judgment process in this scenario is more stringent to avoid the electronic device from making misjudgments and misprocessing.
[0022] In combination with the first aspect, in some implementations of the first aspect, the electronic device triggers deregistration and re-initial registration, as well as IMS registration retry, including: the electronic device sends a deregistration request message to the network; the electronic device receives a deregistration acceptance message from the network, and replies a deregistration completion message to the network; the electronic device sends an initial registration request message to the network; the electronic device receives an initial registration acceptance message from the network; and the electronic device performs a Session Initiation Protocol SIP signaling registration with the network.
[0023] Among them, the deregistration request message can be an attach request message, the deregistration acceptance message can be an attach accept message, the deregistration completion message can be an attach complete message, the initial registration request message can be a detach request message, and the initial registration acceptance message can be a detach accept message. Through the signaling interaction between the electronic device and the network, the deregistration process and the initial registration process of the electronic device are completed. After the electronic device is connected to the network, it needs to continue to register with the IMS network. The core of the IMS network is CSCF, so the electronic device can perform IMS registration based on the SIP signaling of CSCF. In this way, the IMS registration status of the electronic device is restored.
[0024] In a second aspect, the present application provides a device, which is included in an electronic device, and the device has the function of implementing the electronic device behavior in the above-mentioned first aspect and the possible implementation of the above-mentioned first aspect. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, a receiving module or unit, a processing module or unit, etc.
[0025] In a third aspect, the present application provides an electronic device, the electronic device comprising: one or more processors, and a memory;
[0026] The memory is coupled to the one or more processors, and the memory is used to store computer program code, wherein the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute any one of the methods in the technical solution of the first aspect.
[0027] In a fourth aspect, the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method in the first aspect and any possible implementation thereof.
[0028] Optionally, the chip system also includes a memory, and the memory is connected to the processor via circuits or wires.
[0029] Further optionally, the chip system also includes a communication interface.
[0030] In the fifth aspect, the present application also provides a chip system, comprising: a processing circuit, a receiving pin and a transmitting pin; wherein the receiving pin, the transmitting pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect and any possible implementation thereof to control the receiving pin to receive a signal and control the transmitting pin to send a signal.
[0031] In a sixth aspect, the present application provides a computer-readable storage medium, which includes instructions. When the instructions are executed on an electronic device, the electronic device executes any one of the methods in the technical solution of the first aspect.
[0032] In a seventh aspect, the present application provides a computer program product, which includes: a computer program code, and when the computer program code runs on an electronic device, the electronic device executes any one of the methods in the technical solution of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0034] Figure 2 is a software structure block diagram of an electronic device provided in an embodiment of the present application;
[0035] Figure 3 It is a flowchart of an IMS registration method provided in an embodiment of the present application;
[0036] Figure 4 is a flowchart of another IMS registration method provided in an embodiment of the present application;
[0037] Figure 5 This is a schematic diagram of the process of deregistering and re-initializing registration of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0039] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0040] After an electronic device (also called a terminal) in a 4G or 5G network is connected to the network, if you want to use multimedia services such as VoLTE, you also need to register with the IMS network. The IMS registration here is the process of the VoLTE client registering its contact information with the IMS network so that the electronic device can perform a variety of multimedia services.
[0041] After the electronic device completes the IMS registration, that is, the electronic device is in the IMS registered state, if the electronic device has some abnormal conditions, such as arrears in communication fees, the core network will send a Notify message to the electronic device, which can carry information such as "state="terminated", event="rejected""; when the electronic device receives this information, it will change from the IMS registered state to the IMS unregistered state, and based on the current protocol (such as the RFC3680 protocol), if the core network sends the above Notify message to the electronic device, it means that the core network believes that the electronic device does not need to re-register with the IMS, then the electronic device will continue to be in the IMS unregistered state. Alternatively, if the electronic device switches or reselects the 4G or 5G network, the electronic device operates abnormally, resulting in an abnormal IMS registration state, which may also cause the electronic device to continue to be in the IMS unregistered state.
[0042] When an electronic device changes from an IMS registered state to an IMS unregistered state, the above-mentioned multimedia services such as VoLTE cannot be performed. In particular, if the electronic device is in an area without circuit switched (CS) coverage, problems such as inability to perform call services may occur, affecting the user experience.
[0043] In view of this, the embodiment of the present application provides an IMS registration method. When an electronic device changes from an IMS registered state to an IMS unregistered state, by judging a preset condition, triggering the electronic device to deregister and re-initialize registration according to the judgment result, and then triggering an IMS registration retry to restore the IMS registration state of the electronic device and improve the success rate of call services. It can be understood that the IMS registration method provided in the embodiment of the present application can be applied to mobile phones, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, netbooks, and other electronic devices that can have an IMS registration function. The embodiment of the present application does not impose any restrictions on the specific type of electronic device.
[0044] For example, Figure 11 is a schematic diagram of the structure of an example of an electronic device 100 provided in an embodiment of the present application. Taking the electronic device 100 as a mobile phone as an example, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identity module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0045] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor (Modem), a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0046] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0047] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0048] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0049] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0050] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0051] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0052] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0053] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0054] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0055] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0056] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0057] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0058] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0059] The window manager is used to manage window programs. The content provider is used to store and obtain data and make the data accessible to applications. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The phone manager is used to provide communication functions for the electronic device 100, such as management of call status (including connected, hung up, etc.). The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
[0060] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0061] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0062] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0063] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple commonly used audio and video formats, as well as static image files. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
[0064] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0065] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 1 and Figure 2 Taking the electronic device with the structure shown as an example, the IMS registration method provided in the embodiment of the present application is specifically described in combination with the accompanying drawings and application scenarios.
[0066] Embodiment 1
[0067] This embodiment introduces that when an electronic device is in an IMS registered state, if the electronic device receives a Notify message sent by the core network, causing the electronic device to change from an IMS registered state to an IMS unregistered state, the electronic device is subsequently actively triggered to deregister and re-initialize, thereby triggering the IMS registration recovery process, thereby improving the call service success rate of the electronic device.
[0068] Specifically, Figure 3 : is a schematic diagram of a signaling interaction process of an IMS registration method provided in an embodiment of the present application, the method comprising:
[0069] S101, the electronic device is in an IMS registration state.
[0070] That is to say, at this time, the electronic device has been connected to the network and completed the IMS registration process, is in the IMS registration state, and can perform multimedia services normally.
[0071] S102, the IMS core network sends a Notify message to the electronic device.
[0072] Generally, when the IMS core network detects that an electronic device has some abnormal conditions, such as arrears in communication fees or bad calling behavior of the electronic device, the IMS core network will send a deregistration notification Notify message to the electronic device.
[0073] Exemplarily, the Notify message sent by the IMS core network may carry "state="terminated", event="rejected"" information, which may indicate that the deregistration behavior is initiated by the IMS core network and the IMS registration is terminated.
[0074] S103, the electronic device determines whether the information carried in the Notify message is preset information, if so, executes S104, if not, ends the process.
[0075] Among them, the preset information can be the above-mentioned "state="terminated", event="rejected"" information, that is, the electronic device will only execute the subsequent process when the information carried in the Notify message is preset information. If it is not preset information, no further processing is required and the process can be terminated.
[0076] In some implementations, when the IMS core network sends the Notify message to the electronic device, a modem in the electronic device may receive the Notify message, and the Modem may determine whether the information carried in the Notify message is preset information.
[0077] S104, the electronic device changes the IMS registered state to the IMS unregistered state.
[0078] That is, when the information carried in the Notify message is preset information, indicating that the IMS core network has initiated a deregistration action, the electronic device also performs a deregistration process, and the IMS state is changed to an unregistered state.
[0079] In some implementations, a status flag may be set to record the IMS status of the electronic device. For example, the status flag may be set to 1 when the electronic device is in an IMS registered state, and may be set to 0 when the electronic device is in an IMS unregistered state.
[0080] S105, the electronic device determines whether the currently registered PLMN is the target PLMN, if yes, executes S106, if not, ends the process.
[0081] Among them, the public land mobile network (PLMN) is a network established and operated by approved operators for the purpose of providing land mobile communication services to the public. The network is usually interconnected with the public switched telephone network (PSTN) to form a communication network of the entire region or country. In the embodiment of the present application, a target PLMN can be set. For example, the target PLMN includes mobile networks corresponding to the three regions A, B, and C. Then, when the network currently registered and used by the electronic device (i.e., the network where the abnormality occurs) is a network in the target PLMN, the subsequent process is executed. If the network currently registered and used by the electronic device (i.e., the network where the abnormality occurs) is not a network in the target PLMN, the subsequent process is no longer executed, that is, the embodiment of the present application is only applied to the target PLMN.
[0082] In some implementations, when the modem in the electronic device determines that the information carried in the Notify message is preset information and changes the IMS registration state to the IMS unregistered state, the modem can send a message to the application processor AP to instruct the AP to perform the following steps.
[0083] S106, start a first timer and set the time to a first duration.
[0084] The purpose of starting the first timer here is to detect whether the electronic device can perform IMS registration recovery by itself within the first time length. If it can perform IMS registration recovery by itself, there is no need to trigger the deregistration and re-initialization process to save the processing power consumption of the electronic device. For example, in some scenarios, the chip manufacturer used by the electronic device can trigger IMS registration recovery based on its own self-healing ability. If the IMS registration is restored within the first time length, the electronic device does not need to perform the deregistration and re-initialization process.
[0085] Exemplarily, the first duration timed by the first timer may be T1, for example, T1 is 60 seconds.
[0086] S107, whether the electronic device performs the first operation within the first time period, if not, execute S108, if yes, the first timer ends.
[0087] The first operation may be a preset operation that can actively trigger IMS registration recovery. For example, the first operation may include a SIM card status change operation (such as a card removal operation and / or a deactivation operation), an operation to turn on the flight mode, etc. If the electronic device performs the first operation within the first time period, because these operations are operations that can actively trigger IMS registration recovery with subsequent user behavior (such as the user actively turning off the flight mode), the electronic device can terminate the first timer and no longer perform subsequent processes. If the electronic device does not perform the above-mentioned first operation within the first time period, it means that the IMS registration recovery may not be actively triggered, and the subsequent process needs to be performed.
[0088] S108, whether the electronic device has changed to the IMS registration state within the first time period, if not, execute S109, if yes, the first timer is terminated.
[0089] That is to say, if the electronic device has restored the IMS registration state within the timing range of the first timer (whether due to the user's triggering operation or the self-healing ability of the electronic device), the electronic device does not need to perform the subsequent process and the first timer can be terminated. If the electronic device is still in the IMS unregistered state within the first time period, the subsequent process is performed.
[0090] S109, when the first timer times out, the electronic device determines whether the system time is longer than the time corresponding to the second operation than the second time length, if so, executes S110, if not, executes S111.
[0091] Among them, the second operation may be the last deregistration and re-initialization operation, that is, in order to avoid frequent deregistration and re-initialization, a second time period is set here. When the time from the second operation to the system has not exceeded the second time period, the deregistration and re-initialization are no longer repeated, and the electronic device continues to time until the second time period is reached; when the time from the second operation to the system has exceeded the second time period, deregistration and re-initialization are required to restore the IMS registration.
[0092] Exemplarily, the second duration may be T2, for example, T2 is 30 minutes.
[0093] S110, the electronic device triggers deregistration and re-initial registration, and IMS registration retry.
[0094] That is to say, when the time from the last time the electronic device triggered deregistration and re-initial registration to the system has exceeded the second time, and is currently still in the IMS unregistered state, the electronic device needs to trigger deregistration and re-initial registration, as well as IMS registration retry, so that the electronic device can restore the IMS registration state and ensure that subsequent call services can be carried out normally.
[0095] In some implementations, the electronic device triggers deregistration and re-initial registration, and the IMS registration retry process can be referred to as follows: Figure 5 The flow chart shown is not described in detail here.
[0096] S111, continue timing until the system time reaches a second time length from the time corresponding to the second operation.
[0097] S112, the electronic device determines whether it is still in the IMS unregistered state, if so, executes S110, if not, the process ends.
[0098] That is to say, in S109, if the second operation is not more than the second time period from the system time, the electronic device will continue to count until the system time reaches the second time period from the time corresponding to the second operation, and then determine whether the electronic device has restored the IMS registration state. If the IMS registration state has been restored, there is no need to deregister and re-initialize the registration, and the process ends. If the IMS registration state has not been restored, that is, it is still in the IMS unregistered state, then the deregistration and re-initialization registration in S110, as well as the IMS registration retry process, are performed to restore the IMS registration state of the electronic device.
[0099] In some implementations, in the above process from S106 to S112, the process of S110 in which the electronic device triggers deregistration and re-initial registration, and IMS registration retry can be executed by the modem, and the remaining logic judgment processes can be executed by the AP.
[0100] In some other implementations, the above processes from S101 to S112 may all be executed by a modem, and the embodiments of the present application do not impose any specific limitation on this.
[0101] It can be understood that for the above-mentioned judgment process of S105, S107, S108 and S109, the embodiment of the present application does not impose any specific restrictions on the execution order. It can be executed in the order of S105, S107, S108, S109, or in other orders, or simultaneously, as long as the final judgment result is obtained.
[0102] The above-mentioned IMS registration method, when the electronic device changes from the IMS registered state to the IMS unregistered state, determines preset conditions such as whether the currently registered PLMN is the target PLMN, whether the first operation is performed within the first time period, whether the device has been changed to the IMS registered state within the first time period, and whether the system time is longer than the second time period from the time corresponding to the second operation. The electronic device is triggered to deregister and re-initialize the registration based on the judgment result, and then the IMS registration retry is triggered to restore the IMS registration state of the electronic device and improve the success rate of the call service.
[0103] Embodiment 2
[0104] For the above-mentioned first embodiment, the electronic device perceives the IMS registration abnormality after receiving the Notify message sent by the core network. However, in some other scenarios, the electronic device may have an abnormality, but the core network does not trigger the sending of a Notify message to the electronic device. If the electronic device does not trigger deregistration and re-initial registration due to the failure to receive the Notify message in this scenario, it will continue to be in the IMS unregistered state, causing the problem of subsequent call service failure. Therefore, the electronic device in this embodiment can actively detect the change of the IMS registration state, and trigger deregistration and re-initial registration by itself when detecting the change of the IMS registration state, so as to restore the IMS registration state of the electronic device.
[0105] Specifically, Figure 4 FIG. 1 is a flow chart of another IMS registration method provided in an embodiment of the present application, the method comprising:
[0106] S201: The electronic device detects that the IMS registration state is changed to the IMS unregistered state.
[0107] When the IMS registration state of the electronic device changes, the corresponding module may report the state change event, for example, to a modem, or the modem may monitor the change in the IMS registration state through a monitoring mechanism.
[0108] Exemplarily, the electronic device may determine that the state is changed to the IMS unregistered state through the change of the state flag. For example, when the state flag changes to 0, it indicates that the IMS registered state is changed to the IMS unregistered state.
[0109] S202, the electronic device determines whether the IMS switch state is on, if so, executes S203, if not, the process ends.
[0110] That is, if the IMS switch state of the electronic device is turned on and then changes to the IMS unregistered state, it means that further judgment is required to restore the IMS state. If the IMS switch state of the electronic device is turned off, there is no need to deregister and re-initialize, and the process can be ended at this time.
[0111] S203, the electronic device determines whether it is currently online, if so, executes S204, if not, the process ends.
[0112] Among them, the online state can refer to the normal working state of the electronic device, for example, it can make calls, connect to the network and other data services normally. If the electronic device is in flight mode or communication arrears, it can be understood as not being online.
[0113] Then, if the electronic device is currently in a normal working state, it means that a subsequent judgment is required to restore the IMS state. If the electronic device is not in a normal working state, because some states can actively trigger IMS registration recovery (such as the user actively turning off the flight mode), the electronic device will no longer perform the subsequent process.
[0114] S204, the electronic device determines whether the SIM card is in place, if so, executes S205, if not, the process ends.
[0115] The ready state of the SIM card may refer to the state in which the SIM card is normally installed in the card slot. If the SIM card is in the ready state, it means that a subsequent judgment is required to restore the IMS state. If the SIM card is no longer in the ready state, there is no need to deregister and re-initialize the registration, and the process can be terminated at this time.
[0116] It can be understood that the execution order of determining whether the IMS switch state is turned on, determining whether it is currently online, and determining whether the SIM card is in place in S202 to S204 is not specifically limited in the embodiment of the present application. In addition, these three steps can also be combined into "whether the electronic device performs a second operation", and the second operation can include an IMS switch state change operation, an airplane mode opening operation, a card removal operation, etc. If the electronic device performs the second operation, the process ends, and if the electronic device does not perform the second operation, the subsequent process is executed.
[0117] S205, start the second timer to set the timing to a third duration.
[0118] The purpose of starting the second timer here is to detect whether the electronic device can perform IMS registration recovery by itself within the second time period. If it can perform IMS registration recovery by itself, there is no need to trigger the deregistration and re-initial registration process, so as to save the processing power consumption of the electronic device.
[0119] Exemplarily, the third duration timed by the second timer may be T3, for example, T3 is 10 minutes.
[0120] S206, whether the electronic device performs the first operation within the third time period, if not, execute S207, if yes, the second timer ends.
[0121] Among them, the first operation can be a preset operation that can actively trigger IMS registration recovery. For example, the first operation can include a SIM card status change operation (such as a card removal operation and / or a deactivation operation), an operation to turn on the flight mode, etc. If the electronic device performs the first operation within the third time period, because these operations are operations that can actively trigger IMS registration recovery with subsequent user behavior (such as the user actively turning off the flight mode), then the electronic device can terminate the second timer and no longer perform subsequent processes. If the electronic device does not perform the above-mentioned first operation within the third time period, it means that the IMS registration recovery may not be actively triggered, and the subsequent process needs to be performed.
[0122] S207, whether the electronic device has changed to the IMS registration state within the third time period, if not, execute S208, if yes, the second timer ends.
[0123] That is to say, if the electronic device has restored the IMS registration state within the timing range of the second timer (whether due to the user's triggering operation or the self-healing ability of the electronic device), the electronic device does not need to perform the subsequent process and the second timer can be terminated. If the electronic device is still in the IMS unregistered state within the third time period, the subsequent process is performed.
[0124] S208, when the second timer times out, the electronic device determines whether the first condition is met, and if so, executes S209, and if not, the process ends.
[0125] Among them, the first condition being met indicates that the electronic device needs to be deregistered and re-initialized. If the first condition is not met, deregistration and re-initialization are not required, and the process ends.
[0126] In some implementations, the first condition may include at least one of the following conditions: the current network standard of the electronic device is 4G or 5G, the electronic device is in a screen-off state, the electronic device is in an idle state, and the system time is longer than the second duration corresponding to the second operation. The electronic device being in an idle state may mean that the electronic device is not in a call, is not performing data services, etc., and the second operation may be the deregistration and re-initial registration operation triggered last time.
[0127] Exemplarily, when the first condition includes the four conditions that the current network standard of the electronic device is 4G or 5G, the electronic device is in a screen-off state, the electronic device is in an idle state, and the system time is longer than the second duration corresponding to the second operation, the electronic device can first determine whether the current network standard is 4G or 5G, and if so, determine whether it is in a screen-off state, and if not, end the process. Then, if the electronic device is in a screen-off state, determine whether it is in an idle state, and if it is not in a screen-off state, end the process. Next, if the electronic device is not in an idle state, end the process, if the electronic device is in an idle state, determine whether the system time is longer than the second duration corresponding to the second operation, if it exceeds, execute S209, and if it does not exceed, continue timing until the second duration is reached. After reaching the second duration, if the electronic device has restored the IMS registration state, there is no need to deregister and re-initialize, and end the process. If the IMS registration state has not been restored, that is, it is still in an IMS unregistered state, execute S209.
[0128] It can be understood that, depending on the actual scenario, the first condition may also include more or fewer conditions than the above, and the embodiments of the present application are not limited to this.
[0129] S209, the electronic device triggers deregistration and re-initial registration, and IMS registration retry.
[0130] That is to say, when the second timer times out and the first condition is met, the electronic device needs to trigger deregistration and re-initial registration, as well as IMS registration retry, so that the electronic device can restore the IMS registration state and ensure that subsequent call services can be carried out normally.
[0131] In some implementations, the electronic device triggers deregistration and re-initial registration, and the IMS registration retry process can be referred to as follows: Figure 5 The process shown will not be described in detail here.
[0132] In some implementations, after the modem in the electronic device detects that the IMS registration state is changed to the IMS unregistered state in step S201, it can send a message to the AP to instruct the AP to execute steps S202 to S208, and then the modem executes S209 to trigger deregistration and re-initial registration, as well as the IMS registration retry process.
[0133] In some other implementations, the above processes from S201 to S209 may all be executed by a modem, and the embodiments of the present application do not impose any specific limitation on this.
[0134] It can be understood that the conditional content and judgment process of the judgment conditions in S105 to S109 of the above-mentioned embodiment one can be applied in embodiment two, and the conditional content and judgment process of the judgment conditions in S202 to S208 of embodiment two can also be applied in embodiment one. At the same time, embodiment one and embodiment two can also include more or fewer judgment conditions, and the embodiments of the present application do not limit this.
[0135] The above-mentioned IMS registration method, when the electronic device detects that the state has changed from the IMS registered state to the IMS unregistered state, determines whether the IMS switch state is turned on, whether it is currently online, whether the SIM card is in place, whether the first operation is performed within the third time period, whether it has changed to the IMS registered state within the third time period, and whether the first condition is satisfied, and other preset conditions, and triggers the electronic device to deregister and re-initialize registration according to the judgment result, thereby triggering the IMS registration retry to restore the IMS registration state of the electronic device and improve the success rate of the call service; and the preset conditions in this embodiment are more than those in the first embodiment, and the judgment process is more stringent to avoid the result of misjudgment and misprocessing of the electronic device.
[0136] For the process of "triggering deregistration and re-initial registration, and IMS registration retry" in the above S110 and S209, for example, see the following Figure 5 As shown, the process may include:
[0137] S301, the electronic device sends a deregistration request message to the core network.
[0138] The deregistration request message may be an attach request message, and the electronic device may send the deregistration request to the core network through the eNode.
[0139] S302, the core network replies to the electronic device with a deregistration acceptance message.
[0140] The deregistration acceptance message may be an attach accept message, which may carry specific support content for the electronic device performance replied by the core network.
[0141] S303, the electronic device replies to the core network with a registration completion message.
[0142] The registration completion message may be an attach complete message to indicate that the electronic device deregistration process is complete.
[0143] S304, the electronic device sends an initial registration request message to the core network.
[0144] The initial registration request message may be a detach request message, indicating that the electronic device requests to attach to the network.
[0145] S305, the core network replies with an initial registration acceptance message to the electronic device.
[0146] The initial registration acceptance message may be a detach accept message. When the electronic device receives the detach accept message sent by the network, it indicates that the initial registration process is completed and the electronic device is connected to the network.
[0147] S306, the electronic device performs SIP signaling registration with the IMS core network.
[0148] That is, after the electronic device is connected to the network, it needs to continue to register with the IMS network. From the above description, we can know that the core of the IMS network is CSCF, so the electronic device can register with IMS based on the SIP signaling of CSCF. CSCF can be divided into proxy CSCF (proxy CSCF, P-CSCF), interrogating CSCF (interrogating CSCF, I-CSCF), and serving CSCF (serving CSCF, S-CSCF) according to their functions. In essence, they are all SIP servers that can process SIP signaling.
[0149] In one implementation, the SIP signaling registration process may include: the electronic device sends a register message to the P-CSCF through the IMS default bearer, the P-CSCF forwards the register message to the I-CSCF, and the I-CSCF sends a user authorization request message to the home subscriber server (HSS) to obtain the S-CSCF. The I-CSCF forwards the register message to the S-CSCF, the S-CSCF sends a multimedia authentication request message to the HSS to query the authentication parameter group, and the S-CSCF sends a 401 response message to the I-CSCF, including the authentication parameters, to perform two-way authentication on the electronic device. The I-CSCF sends a 401 response message to the P-CSCF, and the P-CSCF sends a 401 response message to the electronic device. The electronic device calculates based on the authentication parameters. After the network side authentication is passed, the register message is resent. The P-CSCF forwards the register message to the I-CSCF. The I-CSCF sends a user authorization request to the HSS again. The I-CSCF forwards the register message to the S-CSCF. After the S-CSCF determines that the authentication is passed, it sends a service allocation message to the HSS to obtain the user subscription data. The S-CSCF sends a 200OK response message to the I-CSCF. The I-CSCF forwards the 200OK to the P-CSCF, and the P-CSCF forwards it to the electronic device. The electronic device is successfully registered in the IMS network.
[0150] Through the above process, the electronic device completes the IMS retry process, and the IMS registration status of the electronic device is restored accordingly, so that the electronic device can subsequently perform services normally, thereby improving the success rate of call services.
[0151] The above describes in detail an example of the IMS registration method provided by the embodiment of the present application. It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0152] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each function can be divided into various functional modules, such as a detection unit, a processing unit, a display unit, etc., or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0153] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0154] The electronic device provided in this embodiment is used to execute the above-mentioned IMS registration method, and thus can achieve the same effect as the above-mentioned implementation method.
[0155] In the case of an integrated unit, the electronic device may further include a processing module, a storage module and a communication module. The processing module may be used to control and manage the actions of the electronic device. The storage module may be used to support the electronic device to execute stored program codes and data, etc. The communication module may be used to support the electronic device to communicate with other devices.
[0156] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0157] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a Figure 1 Device of the structure shown.
[0158] The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor executes the IMS registration method of any of the above embodiments. The storage medium may include: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0159] The embodiment of the present application further provides a computer program product. When the computer program product is executed on a computer, the computer is caused to execute the above-mentioned related steps to implement the IMS registration method in the above-mentioned embodiment.
[0160] In addition, an embodiment of the present application further provides a device, which may be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip executes the IMS registration method in the above-mentioned method embodiments.
[0161] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0162] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0164] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An IMS registration method, the method being executed by an electronic device, characterized in that: The method comprises: When the electronic device is in an IP Multimedia System (IMS) registered state, if a deregistration notification message sent by the network is received, or if it is detected that the IMS registration state is changed to an IMS unregistered state, the electronic device determines whether a preset condition is satisfied, and the preset condition is used by the electronic device to determine whether the IMS registration state needs to be restored; When the preset condition is met, the electronic device triggers deregistration and re-initial registration, as well as IMS registration retry, to restore the IMS registration state of the electronic device.
2. The method according to claim 1, characterized in that In the case of receiving the deregistration notification message sent by the network, the electronic device determines whether a preset condition is met, including: If the information carried in the deregistration notification message is preset information, it is determined whether the preset condition is met.
3. The method according to claim 2, characterized in that The preset information includes state="terminated", event="rejected".
4. The method according to claim 2 or 3, characterized in that: The preset condition is satisfied including at least one of the following conditions: the public land mobile network PLMN currently registered by the electronic device is the target PLMN, the electronic device does not perform a first operation within a first duration set by a first timer, the electronic device does not change to an IMS registration state within the first duration, and when the first timer times out, the system time of the electronic device exceeds a second duration from the time corresponding to the second operation; The first operation is an operation of actively triggering IMS registration recovery when performing a reverse operation of the first operation, and the second operation is an operation of deregistering and re-initializing registration last time.
5. The method according to claim 4, characterized in that When the first timer times out, if the time from the system time of the electronic device to the time corresponding to the second operation does not exceed the second duration, the method further includes: Determining that the preset condition is not satisfied, and continuously timing until the system time of the electronic device reaches the second time interval from the time corresponding to the second operation; If the electronic device is still in the IMS unregistered state, deregistration and re-initial registration, as well as IMS registration retry, are triggered.
6. The method according to claim 1, characterized in that In the case where it is detected that the IMS registration state is changed to the IMS unregistered state, the preset condition is satisfied including at least one of the following conditions being satisfied: the IMS switch state of the electronic device is on, the electronic device is online, the user identification module SIM card of the electronic device is in place, the electronic device does not perform a first operation within a third time period timed by a second timer, the electronic device does not change to the IMS registration state within the third time period, and the first condition is satisfied when the second timer times out.
7. The method according to claim 6, characterized in that The first condition includes at least one of the following conditions being met: the current network standard of the electronic device is 4G or 5G, the electronic device is in a screen-off state, the electronic device is in an idle state, and the system time of the electronic device is greater than a second duration from the time corresponding to the second operation.
8. The method according to claim 4 or 6, characterized in that: The first operation includes removing and / or deactivating the SIM card, and / or turning on the airplane mode.
9. The method according to any one of claims 1 to 8, characterized in that The electronic device triggers deregistration and re-initial registration, as well as IMS registration retry, including: The electronic device sends a deregistration request message to the network; The electronic device receives a deregistration acceptance message from the network, and replies a deregistration completion message to the network; The electronic device sends an initial registration request message to the network; The electronic device receives an initial registration acceptance message from the network; The electronic device performs Session Initiation Protocol (SIP) signaling registration with the network.
10. An electronic device, characterized in that: The electronic device comprises: one or more processors, and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method as claimed in any one of claims 1 to 9.
11. A chip system, characterized in that: The chip system includes: a processing circuit, a receiving pin and a transmitting pin; wherein the receiving pin, the transmitting pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method as described in any one of claims 1 to 9 to control the receiving pin to receive a signal and control the transmitting pin to send a signal.
12. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, which, when executed on an electronic device, enable the electronic device to perform the method as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for service restoration after PCRF (Policy and Charging Rules Function) fault
CN105517031A
Service realization method and device
CN106027514A
IMS registration control method and apparatus, and computer readable storage medium
CN107070950A
Wi-Fi control method and device and electronic equipment
CN111669818A
Registration state recovery method and device
CN111770096A
