Communication control method and related device
By judging whether the first IMS registration is successful when the electronic device is turned on and off the IMS function based on the call situation of the first call, the problem of users being unable to make calls within the LTE or NR network coverage area is solved, and higher user experience and device performance are achieved.
Patent Information
- Application Number
- CN202311805363.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2043-12-25
AI Technical Summary
In areas covered by LTE or NR networks, users cannot make calls using electronic devices, which may be due to immature IMS network or compatibility issues with the device and the network.
When the electronic device starts to recognize the card and the first IMS registration fails, or the first call fails after the first IMS registration is successful, the IMS function is turned off. By determining whether the first call after the IMS registration is successful, if the call fails, immediately turn off the IMS function and use the CS function to make calls.
It reduces the impact of IMS function on the CS function of electronic devices, improves the user experience, and reduces the probability that users cannot make calls when they have LTE or NR network coverage.
Smart Images

Figure CN118474082B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a communication control method and related devices. Background Art
[0002] Some electronic devices support Internet Protocol (IP) Multimedia Subsystem (IMS) calls. In areas covered by a Long Time Evolution (LTE) network or a New Radio (NR) network, users can use electronic devices to make IMS calls.
[0003] However, when there is LTE network or NR network coverage, users may not be able to make calls using electronic devices. Summary of the invention
[0004] The embodiment of the present application provides a communication control method and related devices, which are applied to the field of terminal technology. When the electronic device is turned on and recognizes the card and the first IMS registration fails, or the first call after the first IMS registration succeeds fails, the IMS function is turned off. The failure of the first IMS registration or the failure of the first call after the first IMS registration succeeds indicates that the IMS network in the area where the electronic device is located is immature, and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located, and the IMS function can be turned off. Among them, the IMS network can be attached to the LTE network or the NR network, and the IMS network can be used to implement the IMS function. The IMS function may include IMS calls. In this way, the impact of the IMS function on the CS function of the electronic device can be reduced. When the IMS function is turned off, the user can give priority to using the CS function for CS calls, reducing the probability of the user being unable to make calls using the electronic device when there is LTE network or NR network coverage, so as to improve the user experience.
[0005] In a first aspect, an embodiment of the present application proposes a communication control method, the method comprising: using a target type parameter to register an Internet Protocol Multimedia Subsystem IMS. When the target type parameter is used to successfully register the IMS, determine whether the first call after the successful IMS registration is normal. When the first call fails, turn off the function of using the IMS for communication.
[0006] Exemplarily, the use of the target type parameter for network protocol multimedia subsystem IMS registration can be the first IMS registration after the electronic device is turned on. If the first call after the first successful IMS registration fails, it may indicate that the IMS network in the area where the electronic device is located is immature, and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located. Therefore, the function of communicating using IMS can be turned off, so that the user can make CS calls through the electronic device. Turning off the function of communicating using IMS can reduce the probability that the user cannot make calls using the electronic device when there is LTE network or NR network coverage. Turning off the function of communicating using IMS can also reduce the probability of the electronic device repeatedly performing IMS registration when the IMS function is turned on, thereby reducing the probability of the electronic device's battery life being short, and can also reduce the probability of the user's IMS call failure, thereby improving the user experience. Among them, repeated IMS registration by the electronic device can be understood as multiple retries of the electronic device's IMS registration.
[0007] Optionally, if the first IMS registration fails, it may also mean that the IMS network in the area where the electronic device is located is immature, and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located, and the function of communicating using IMS may be turned off. The technical effect of turning off the function of communicating using IMS when the first IMS registration fails is similar to the technical effect of turning off the function of communicating using IMS when the first call after the first IMS registration succeeds fails, and will not be repeated here.
[0008] In a possible implementation, after determining whether the first call after successful IMS registration is normal, the method further includes:
[0009] In the case where the first call is normal, if subsequent calls fail, the function of using IMS for communication is disabled.
[0010] If calls after the first call fail, it may indicate that the IMS network in the area where the electronic device is located is temporarily abnormal. The function of communicating using IMS can be turned off so that the user can make CS calls through the electronic device. This can reduce the probability of users being unable to make calls using electronic devices when there is LTE network or NR network coverage. Turning off the function of communicating using IMS can also reduce the probability of electronic devices repeatedly registering with IMS when the IMS function is turned on, thereby reducing the probability of short battery life of electronic devices.
[0011] For example, when the first call is normal, if the subsequent calls fail, the function of using IMS for communication can be temporarily disabled. Temporarily disabling the function of using IMS for communication can be understood as disabling the function of using IMS for communication for a period of time and then enabling the function of using IMS for communication. In this way, after the IMS call that failed, the CS function can be used to make a call, reducing the probability of being unable to make a call after the IMS call that failed.
[0012] In a possible implementation, if a call fails after the first call, when the function of using IMS for communication is turned off, a first timer is also started. After the function of using IMS for communication is turned off, the method further includes: when the first timer times out, the function of using IMS for communication is turned on, and IMS registration is performed using the target type parameter.
[0013] In this way, when the IMS network in the area where the electronic device is located is temporarily abnormal, the IMS function is turned off for a first time duration, and the user can make a CS call during the IMS function is turned off. When the first timer times out, the IMS function is turned on again and IMS registration is performed, so that the user can make an IMS call when the temporary abnormality of the IMS network disappears or the IMS network returns to normal, which can improve the user experience.
[0014] In one possible implementation, if a call fails after the first call, the first timer is started when the function of communicating using IMS is turned off. After the function of communicating using IMS is turned off, the method further includes: if the first timer has not timed out, if an operation of turning on the flight mode of the electronic device and an operation of turning off the flight mode are received, the function of communicating using IMS is turned on, and IMS registration is performed using the target type parameter. When the function of communicating using IMS is turned off, if the electronic device receives an operation of turning on the flight mode of the electronic device and an operation of turning off the flight mode, it indicates that the user intends to re-register with IMS, and the electronic device can turn on the IMS function to perform IMS registration, thereby improving the user experience.
[0015] In a possible implementation, when the function of using IMS for communication is enabled and the target type parameter is used for IMS registration, a second timer is also started. The method further includes: when the second timer times out and the IMS registration is unsuccessful, the function of using IMS for communication is disabled. For example, the specific situation of unsuccessful IMS registration can be found in Figure 3 The specific situation where the IMS registration is unsuccessful in S303 in the embodiment.
[0016] If the IMS registration is unsuccessful, it means that the electronic device cannot make an IMS call. When the second timer times out, the function of using IMS for communication is turned off, which can reduce the number of repeated IMS registrations and thus reduce the power consumption of the electronic device. Turning off the function of using IMS for communication can also reduce the impact of the IMS function on the CS function and reduce the probability of the user being unable to make a CS call using the electronic device.
[0017] In a possible implementation, after a call fails in a subsequent call, the method further includes: determining whether the signal quality is less than a quality threshold. If a call fails in a subsequent call, disabling the function of using the IMS for communication includes: disabling the function of using the IMS for communication when a call fails in a subsequent call and the signal quality is greater than or equal to the quality threshold.
[0018] If the call fails after the first call and the signal quality is greater than or equal to the quality threshold, it means that the IMS network in the area where the electronic device is located is temporarily abnormal, indicating that non-IMS calls are a better solution for calls in a short period of time. Therefore, the function of using IMS for communication can be turned off. In this way, the impact or interference of the function of using IMS for communication on the CS function can be reduced, and users can make CS calls through electronic devices, which can reduce the probability of users being unable to make calls using electronic devices when there is LTE network or NR network coverage.
[0019] In a possible implementation, before using the target type parameter to perform IMS registration with the network protocol multimedia subsystem, the method further includes: determining whether a modem parameter used by a user identification card of the electronic device is a target type parameter. Using the target type parameter to perform IMS registration with the network protocol multimedia subsystem includes: when the modem parameter used by the user identification card is the target type parameter, using the target type parameter to perform IMS registration.
[0020] In a possible implementation, after the function of communicating by using the IMS is disabled, the method further includes: communicating by using a circuit service CS in response to an operation of initiating a call.
[0021] In this way, when IMS is used to shut down communications, users can make CS calls through electronic devices, reducing the probability that users cannot make calls using electronic devices when there is LTE network or NR network coverage.
[0022] In a possible implementation, the target type parameter is used to perform the Internet Protocol Multimedia Subsystem IMS registration as the first IMS registration in any of the following situations: the electronic device is powered on, restarted, or receives a card insertion operation.
[0023] In this way, it is possible to determine whether there is a mature and available IMS network in the area where the electronic device is located based on whether the first IMS registration is successful when the electronic device is turned on, restarted, or receives a card insertion operation. Exemplarily, if the first IMS registration is successful, it means that there is an available IMS network in the area where the electronic device is located, and the perfection or maturity of the IMS network in the area can be identified. If the first IMS registration is unsuccessful, it may indicate that the IMS network in the area where the electronic device is located is immature and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located. It may also indicate that there is no available IMS network in the area where the electronic device is located, and the IMS function of the electronic device can be turned off to reduce the power consumption caused by repeated IMS registrations of the electronic device.
[0024] In a possible implementation, the method also includes: when the electronic device is restarted or the user identification card of the electronic device is pulled out and then inserted, it is judged whether the modem parameter used by the user identification card is a target type parameter. When the modem parameter used by the user identification card is not a target type parameter, it is judged whether the parameter used for the last IMS registration is a target type parameter. When the parameter used for the last IMS registration is a target type parameter, the first timer started when the function of using IMS to communicate was closed last time is terminated, and the second timer started when the target type parameter was adopted to register with IMS last time. Like this, the power consumption of the electronic device can be reduced.
[0025] In a possible implementation, the method further includes: when the electronic device is restarted or the user identification card of the electronic device is removed and then inserted, determining whether the modem parameters used by the user identification card are target type parameters. When the modem parameters used by the user identification card are target type parameters, IMS registration is performed using the target type parameters, and a second timer is started. When the second timer times out and the IMS registration is unsuccessful, the function of communicating using the IMS is disabled. For example, the specific situation of unsuccessful IMS registration can be referred to Figure 3 The specific situation where the IMS registration is unsuccessful in S303 in the embodiment.
[0026] In this way, unsuccessful IMS registration may indicate that the IMS network in the area where the electronic device is located is immature or has compatibility issues with the electronic device. When the second timer times out, turning off the function of communicating using IMS can reduce the number of repeated IMS registrations, thereby reducing the power consumption of the electronic device.
[0027] In a possible implementation, before performing IMS registration using the target type parameter, the method further includes: terminating a first timer started when the function of using the IMS for communication was last turned off, and a second timer started when the IMS registration was last performed using the target type parameter. In this way, interference of the running timer related to the IMS registration on the subsequent IMS registration can be reduced, and the power consumption of the electronic device can also be reduced.
[0028] In a possible implementation, the call failure includes: the call is not connected or the call is abnormally hung up.
[0029] The specific implementation principle of electronic devices determining that a call is not connected can be found in Figure 3 The specific implementation principle of the call failure in S305 in the embodiment. The specific implementation principle of the electronic device determining that the call is abnormally hung up can be found in Figure 3 The specific implementation principle of abnormal call hanging in S305 in the embodiment: By judging the call failure, the stability of the IMS call in the IMS network in the area where the electronic device is located can be judged.
[0030] In a second aspect, an embodiment of the present application provides a communication device, which may be an electronic device, or a chip or chip system in an electronic device. The communication device may include a processing unit. When the communication device is an electronic device, the processing unit may be a processor. The communication device may also include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit so that the electronic device implements a communication control method described in the first aspect or any possible implementation of the first aspect. When the communication device is a chip or chip system in an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit so that the electronic device implements a communication control method described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit in the electronic device located outside the chip (for example, a read-only memory, a random access memory, etc.).
[0031] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, the memory being used to store code instructions, and the processor being used to run the code instructions to execute the method described in the first aspect or any possible implementation of the first aspect.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instructions are stored. When the computer program or instructions are run on a computer, the computer executes the method described in the first aspect or any possible implementation of the first aspect.
[0033] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program runs on a computer, the computer executes the method described in the first aspect or any possible implementation manner of the first aspect.
[0034] In a sixth aspect, the present application provides a chip or a chip system, the chip or chip system comprising at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the method described in the first aspect or any possible implementation of the first aspect. The communication interface in the chip can be an input / output interface, a pin or a circuit, etc.
[0035] In a possible implementation, the chip or chip system described above in the present application further includes at least one memory, in which instructions are stored. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).
[0036] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of a possible implementation scenario;
[0038] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0039] Figure 3 A flow chart of a communication control method provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of a scenario provided for an embodiment of the present application;
[0041] Figure 5 Schematic diagram of the chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0043] 1. Modem parameters
[0044] Modem parameters can be understood as a set of parameters that collectively control the modem capabilities and behaviors of an electronic device. The electronic device may include user equipment (UE).
[0045] Exemplarily, taking the electronic device as UE, in terms of network stationing, the modem parameter can be used to control the terminal capability level (category) supported by the UE, and the modem parameter can also be used to control the access standard supported by the UE.
[0046] In terms of calls, the modem parameter can be used to control whether the UE supports IMS roaming. The modem parameter can also be used to control the UE's supplementary services to adopt the circuit service (CS) protocol or the XML configuration access protocol (XCAP) protocol. The modem parameter can also be used to control the IP type used for IMS registration, the voice coding type supported by the call, and whether the IMS emergency call service is supported, etc. Among them, the voice coding type includes adaptive multi-rate narrowband coding (adaptive multi-rate, AMR) or adaptive multi-rate wideband coding (adaptive multi-rate-wideband, AMR-WB).
[0047] 2. IP Multimedia Subsystem (IMS) Registration
[0048] IMS registration can be understood as the process in which a user performs IMS access authentication and negotiates to establish a secure access channel through an electronic device before using IMS services in order to achieve communication security.
[0049] Exemplarily, the IMS registration process may include:
[0050] S101. An electronic device sends a registration request to a network device.
[0051] The network device includes an IP multimedia subsystem. The registration request includes user identity information.
[0052] S102: The network device instructs the electronic device to perform authentication.
[0053] Exemplarily, when receiving a registration request, the network device uses an authentication and key agreement (AKA) algorithm to calculate and process an authentication vector (AV) associated with the user identity information to obtain authentication data, wherein the authentication data may include an AKA parameter and a first message authentication code (MAC).
[0054] The network device sends a response message to the electronic device, wherein the response message includes authentication data.
[0055] S103: The electronic device performs authentication and sends authentication parameters to the network device.
[0056] Exemplarily, when the authentication data is received, the electronic device calculates and processes the AKA parameters using the AKA algorithm to obtain a second message authentication code (XMAC).
[0057] When the second message authentication code is consistent with (or identical to) the first message authentication code, the electronic device can calculate an authentication response (RES), a confidentiality key CK and an integrity key IK. The electronic device sends the authentication response to the network device.
[0058] S104: The network device sends information indicating successful registration to the electronic device to complete the registration (or handshake).
[0059] Exemplarily, when receiving the authentication response, the network device parses the authentication response to obtain the parameters of the authentication response. When the parameters of the authentication response are consistent (or identical) with the authentication parameters stored in the network device, the network device sends information indicating successful registration to the electronic device to complete the registration.
[0060] 3. Other terms
[0061] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0062] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0063] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0064] If the electronic device has the function of using IMS for communication, the user can make an IMS call through the electronic device. In the embodiment of the present application, the function of using IMS for communication can be referred to as IMS function. IMS function can include IMS call and IMS registration.
[0065] Among the many operators in the world, some operators have specific IMS parameter requirements, while most operators do not have specific IMS parameter requirements. Among them, IMS parameters belong to modem parameters. These operators without specific IMS parameter requirements only require that the IMS parameters meet the IR92 specification. In some implementations, electronic devices use a set of target type parameters that meet the IR92 specification to support the IMS functions of these operators without specific IMS parameter requirements. The target type parameters that meet the IR92 specification can also be called universal IMS parameters. Among them, the IR92 specification can also be called the Global System for Mobile Communications Association (GSMA) IR92. The IR92 specification is a specification established by the GSMA.
[0066] However, because the target type parameters used by electronic devices cannot fully traverse the existing network test, or because the IMS network of these operators without specific IMS parameter requirements is not mature enough, when both the electronic device and the IMS network support the operator's IMS function, there may be a situation where the IMS call fails. The target type parameters used by electronic devices cannot fully traverse the existing network test. For example, the electronic device supplier has not conducted sufficient IMS registration tests in some regions. The immaturity of the IMS network can be understood as an imperfect IMS network. The target type parameters used by electronic devices cannot fully traverse the existing network test, which may cause compatibility issues between the electronic device and the IMS network in the area where the electronic device is located.
[0067] It is understood that the IMS network can be attached to the LTE network, the NR network or the next generation network after the NR network technology. The IMS network can be used to implement the IMS function. In some implementations, there is also an IMS network in the area covered by the LTE network or the NR network.
[0068] Before a user makes an IMS call through an electronic device, the electronic device needs to be registered with IMS. Due to the imperfect IMS network in some areas and / or the compatibility issues between the electronic device and the IMS network in the area where the electronic device is located, the IMS call may fail even if the electronic device is successfully registered with IMS.
[0069] Exemplarily, if the IMS registration is successful, the IMS function of the electronic device will remain turned on. Due to the imperfection of the IMS network in the area where the electronic device is located, the first IMS call after the successful IMS registration may fail. The IMS function of the electronic device remains turned on due to the successful IMS registration. In some implementations, the priority of the IMS function on the electronic device is higher than the priority of the function of the electronic device to communicate using circuit service (CS). If the IMS function remains turned on, if the user initiates a call, the electronic device will give priority to the IMS call. However, the imperfection of the IMS network, and / or the compatibility issues between the electronic device and the IMS network in the area where the electronic device is located, result in the failure of the IMS call, resulting in the phenomenon that the user cannot make a call using the electronic device when there is LTE network or NR network coverage.
[0070] It is understandable that the LTE network belongs to the 4th generation mobile communication technology (4G) network. The NR network can also be called the 5th generation mobile communication technology (5G) network.
[0071] Figure 1 A schematic diagram of a possible implementation scenario is shown.
[0072] like Figure 1 As shown, taking the IMS network attached to the 4G network as an example, when there is 4G network coverage, the status bar on the electronic device A of user A may display a 4G signal logo 101 and a logo 103 indicating that the IMS function has been turned on, and the status bar on the electronic device B of user B may display a 4G signal logo 102 and a logo 104 indicating that the IMS function has been turned on. The logo 103 and the logo 104 can both be called high-definition call logos.
[0073] When the status bar of electronic device A displays the logo 101 and the logo 103, user A can call user B whose phone number is "1234567XXX" through electronic device A. When the IMS function is turned on, all calls initiated by user A are IMS calls. However, due to the immaturity of the 4G network or the IMS network in the area where electronic device A is located, electronic device A and electronic device B cannot establish an IMS communication connection, so the call initiated by user A cannot be connected, and electronic device B cannot receive the information indicating that user A is calling user B. Figure 1 As shown, when user A calls user B and the call initiated by user A cannot be connected, electronic device B can display a lock screen interface including a status bar, time "08:00", date "Tuesday, January 1st" and a slide to unlock icon.
[0074] like Figure 1 As shown, when there is 4G network coverage, user A cannot make a call using electronic device A, which may affect user A's experience of using the electronic device.
[0075] In view of this, an embodiment of the present application provides a communication control method, which turns off the IMS function when a call fails in the first call after successful IMS registration. If a call fails in the first call after successful IMS registration, it means that the IMS network in the area where the electronic device is located is immature or there is a compatibility problem between the electronic device and the IMS network in the area where the electronic device is located. The IMS function can be turned off, so that the user can use the electronic device to make CS calls, and will not try to register for IMS services until the card is restarted or the card is plugged in and out, so as to improve the user experience.
[0076] The electronic devices of the embodiments of the present application may include handheld devices, vehicle-mounted devices, etc. that have the function of communicating using IMS. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), and wireless terminals in smart cities. assistant, PDA), handheld devices with wireless communication functions, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, wearable devices, 4G networks, 5G networks or terminal devices in a new generation of networks after 5G network technology, or terminal devices in a future evolved public land mobile communication network (public landmobile network, PLMN), etc., and the embodiments of the present application are not limited to this.
[0077] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0078] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0079] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0080] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0081] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown.
[0082] like Figure 2As shown, 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 identification 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.
[0083] In the embodiment of the present application, a subscriber identity module (SIM) card may also be referred to as a subscriber identification card.
[0084] It is to be understood that the structure illustrated in the embodiment of the present invention 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 separate 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.
[0085] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. A modem may also be referred to as a modulation and demodulation processor.
[0086] 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 and the baseband processor.
[0087] 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, etc. the received electromagnetic waves, and transmit them to the modem for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem, and convert it into electromagnetic waves for radiation through the antenna 1.
[0088] The modem 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 may be an independent device. In other embodiments, the modem may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0089] Exemplarily, when the electronic device 100 is turned on, restarted, or a user identification card is inserted into the SIM card interface 195 of the electronic device 100, the modem can determine whether the modem parameters used by the inserted user identification card are target type parameters. When the modem parameters used by the user identification card are target type parameters, the modem can use the target type parameters stored in the electronic device 100 or the modem parameters used by the user identification card transmitted by the user identification card to perform IMS registration. In the case where a call fails in the first call after the successful IMS registration using the target type parameters, the modem can turn off the IMS function.
[0090] The target type parameter may be a modem parameter that meets the IR92 specification.
[0091] In this way, the deactivation of the IMS function of the electronic device 100 can enable the electronic device to use the CS function for call services in the future, thereby reducing the probability of failure of the user to use the electronic device for IMS calls.
[0092] Figure 3 A flow chart of a communication control method provided in an embodiment of the present application is shown.
[0093] like Figure 3 As shown, the communication control method provided in the embodiment of the present application may include:
[0094] S300: When receiving a power-on operation, the electronic device powers on. The electronic device may execute step S301.
[0095] It is understandable that when the electronic device is turned on, the electronic device can enable the IMS function.
[0096] Optionally, when a restart operation is received, the electronic device restarts and the electronic device may perform step S301. It is understandable that when the electronic device restarts, the electronic device may enable the IMS function.
[0097] Optionally, when receiving the card insertion operation, the electronic device may perform step S301. It is understandable that when receiving the card insertion operation, the electronic device may enable the IMS function.
[0098] S301: The electronic device queries whether modem parameters used by a subscriber identification card on the electronic device are target type parameters.
[0099] If so, step S302 may be executed.
[0100] If not, step S309 may be executed.
[0101] Exemplarily, the electronic device may obtain a first type identifier transmitted by the subscriber identification card and indicating a type of modem parameters used by the subscriber identification card.
[0102] If the first type identifier is the same as the first preset identifier of the electronic device, it means that the modem parameters used by the subscriber identity card are target type parameters, and the electronic device may execute step S302.
[0103] If the first type identifier is different from the first preset identifier of the electronic device, it means that the modem parameters used by the subscriber identity card are not target type parameters, and the electronic device may execute step S309.
[0104] S302: Terminate a timer related to IMS registration, use a target type parameter to perform IMS registration, and start a second timer.
[0105] Exemplarily, the electronic device may control the timer associated with the IMS registration to be in an off state to terminate the operation of the timer associated with the IMS registration. In this way, the interference of the running timer associated with the IMS registration on the subsequent IMS registration can be reduced, and the power consumption of the electronic device can also be reduced.
[0106] In the case of terminating the operation of the timer related to the IMS registration, the electronic device may use the target type parameter to perform the IMS registration and start the second timer to monitor the IMS registration status through the second timer. The IMS registration status includes successful IMS registration or unsuccessful IMS registration. The second timer belongs to the timer related to the IMS registration. The specific implementation principle of the electronic device monitoring the IMS registration status through the second timer can be referred to the description in the subsequent S303.
[0107] Exemplarily, the electronic device may use the target type parameter stored in the electronic device to perform IMS registration.
[0108] Optionally, the electronic device may also perform IMS registration using a modem parameter used by the subscriber identity card and transmitted by the subscriber identity card.
[0109] S303: The electronic device may determine whether the IMS registration is successful when the second timer times out.
[0110] If yes, S304 may be executed.
[0111] If not, S308 may be executed.
[0112] Exemplarily, the timing duration of the second timer may be the second timing duration T2. The timeout of the second timer may be understood as the second timer reaching the second timing duration T2.
[0113] When the second timer times out, if the electronic device has received the information indicating successful registration sent by the network device, indicating that the electronic device has been successfully registered with the IMS, the electronic device may execute S304.
[0114] When the second timer times out, if the electronic device does not receive the information indicating successful registration sent by the network device, it means that the IMS registration of the electronic device is unsuccessful, and the electronic device may execute S308.
[0115] Exemplarily, when the second timer times out, if the electronic device receives a session initiation protocol (SIP) error code (e.g., a 403 message) sent by the network device or information indicating that a packet data network (PDN) is rejected during the PDN establishment process, indicating that the electronic device IMS registration has permanently failed, the electronic device may execute S308. The 403 message may also be referred to as a forbidden access message.
[0116] Exemplarily, if the second timer has not timed out, if the electronic device receives a 404 message, and the 404 message carries a retry-after interval, the electronic device can retry the IMS registration. If the second timer has timed out, if the electronic device has not received information indicating successful registration, the electronic device can execute S308.
[0117] Optionally, when the second timer has not timed out, if the electronic device receives a 403 message of a SIP registration response or information indicating that the PDN is rejected during the PDN establishment process, the electronic device may execute S308.
[0118] It is understandable that, before the second timer times out, if the electronic device has received information indicating successful registration, it can be indicated that the IMS registration is successful within the second timing duration T2. When the second timer times out, if the electronic device does not receive information indicating successful registration, it can be indicated that the IMS registration is unsuccessful within the second timing duration T2.
[0119] Optionally, if the electronic device determines that the IMS registration is successful when the second timer times out, the electronic device may also execute step S305.
[0120] S304: The electronic device may determine whether the first call after successful IMS registration is normal, wherein the first call is an IMS call.
[0121] If the first call is normal, step S305 may be executed.
[0122] If the first call is not established normally or the first call is abnormally dropped, step S308 may be executed.
[0123] Exemplarily, when the electronic device obtains information sent by the network device indicating that the first call is hung up normally, the electronic device can execute step S305. The electronic device obtains information indicating that the first call is hung up normally, indicating that the first call is normal, and the electronic device can execute step S305 to identify the maturity of the network in the area where the electronic device is located.
[0124] In the case where the electronic device obtains information sent by the network device indicating that the first call was abnormally hung up or that the first call could not be connected, the electronic device can execute step S308. The electronic device obtains information indicating that the first call was abnormally hung up or that the first call could not be connected, indicating that the first call failed, and also indicating that the network in the area where the electronic device is located is immature or has compatibility issues with the electronic device. The electronic device can execute step S308. Among them, the electronic device obtains information indicating that the first call was abnormally hung up, which can indicate that the first call was abnormally dropped. The electronic device obtains information indicating that the first call could not be connected, which can indicate that the first call was not established normally.
[0125] Exemplarily, when IMS registration is successful and the electronic device receives the first operation to initiate a call, if the electronic device receives a session initiation protocol failure (SIP bye) message sent by the network device, and the SIP bye message carries at least one of error code 503, error code 500 or error code 580, it may indicate a temporary network abnormality or the call cannot be connected, or it may indicate a call failure in the first call, and the electronic device may execute step S308.
[0126] Among them, error code 503 may indicate service unavailable or server not found. Error code 500 may indicate internal server error. Error code 580 may indicate precondition reserve fail, call aborted or call cannot be connected.
[0127] When the electronic device receives the first call initiation operation after successful IMS registration, if the SIP bye message received by the electronic device carries a call drop reason value (Rtp-timeout), it may indicate a temporary network abnormality or an abnormal call hang-up, or it may indicate a call failure in the first call. The electronic device may execute step S308.
[0128] S305: The electronic device may determine whether a next IMS call fails.
[0129] If yes, S306 may be executed.
[0130] If not, S305 may be executed to determine whether subsequent IMS calls after the initial call fail.
[0131] The specific implementation principle of the electronic device determining whether the next IMS call fails can refer to the specific implementation principle of the electronic device determining whether the first call after the IMS registration is successful in step S304, which will not be repeated here.
[0132] Optionally, if the electronic device determines that the next IMS call fails, the electronic device may also execute S307.
[0133] S306: The electronic device determines whether the signal quality is less than a quality threshold.
[0134] Among them, the signal quality can be the signal quality of the LTE network or the signal quality of the NR network. Exemplarily, when the area where the electronic device is located has LTE network coverage but no NR network coverage, the signal quality in the embodiment of the present application can be the signal quality of the LTE network. When the area where the electronic device is located has no LTE network coverage but has NR network coverage, the signal quality in the embodiment of the present application can be the signal quality of the NR network.
[0135] Taking the case where the electronic device is located in an area with LTE network coverage but no NR network coverage, for example, if the signal quality is less than the quality threshold, it means that the signal quality is poor, and the call failure determined in step S305 may be caused by poor signal quality, and no processing is required. If the signal quality is greater than or equal to the quality threshold, it means that the signal quality is good, and the call failure determined in step S305 is not caused by poor signal quality, but may be caused by a temporary abnormality of the IMS network, and step S307 may be executed.
[0136] It can be understood that the specific implementation principle and technical effect of this step when the electronic device is located in an area where there is NR network coverage but no LTE network coverage are similar to the specific implementation principle and technical effect of this step when the electronic device is located in an area where there is LTE network coverage but no NR network coverage, and will not be repeated.
[0137] S307: The electronic device turns off the IMS function and starts a first timer. The timing duration of the first timer is a first timing duration T1. The first timer is also a timer related to controlling IMS registration.
[0138] In this way, when the IMS network in the area where the electronic device is located is temporarily abnormal, the IMS function is turned off, and the user can make a CS call through the electronic device.
[0139] Exemplarily, when the first timer has not timed out or the first timer has not reached the first timing duration T1, if the electronic device receives an operation to turn on the flight mode of the electronic device and an operation to turn off the flight mode, indicating that the user intends to re-register with the IMS, the electronic device can turn on the IMS function to re-register with the IMS.
[0140] And / or, when the first timer times out or the first timer reaches the first timing duration T1, the electronic device may enable the IMS function to re-register with the IMS.
[0141] When the electronic device turns on the IMS function, the electronic device can perform IMS registration. For example, when the electronic device turns on the IMS function, the electronic device can perform IMS registration using a target type parameter.
[0142] In this way, when the IMS network in the area where the electronic device is located is temporarily abnormal, the IMS function is turned off for a first time duration, and the user can make a CS call during the IMS function is turned off. When the first timer times out, the IMS function is turned on again and IMS registration is performed, so that the user can make an IMS call when the re-registration is successful, which can improve the user experience.
[0143] S308: The electronic device may shut down the IMS function until the electronic device receives a restart operation or a card insertion operation.
[0144] For example, if the area where the electronic device is located has LTE network coverage but no NR network coverage, if the first call after the electronic device successfully registers with IMS fails, it means that the IMS service of the LTE network in the area where the electronic device is located is immature, resulting in the electronic device being unable to make an IMS call. The electronic device can turn off the IMS function until the electronic device receives a restart operation or a card insertion operation. In this way, the probability of a user being unable to make an IMS call or a CS call using an electronic device after successful IMS registration can be reduced.
[0145] Exemplarily, the first unsuccessful IMS registration after the electronic device is turned on, restarted, or receives a card insertion operation may indicate that the IMS network in the area where the electronic device is located is immature, and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located. In the event that the first IMS registration is unsuccessful, the electronic device may turn off the IMS function until the electronic device receives a restart operation or a card insertion operation. In this way, the power consumption caused by repeated IMS registration of the electronic device can be reduced, and the probability of a short battery life of the electronic device can be reduced. Among them, the specific circumstances of the unsuccessful IMS registration can refer to the specific circumstances of the unsuccessful IMS registration in S303.
[0146] S309: The electronic device determines whether the modem parameters used by the electronic device for the last IMS registration are target type parameters.
[0147] If yes, S310 may be executed.
[0148] If not, no action may be taken.
[0149] Exemplarily, when the electronic device performs IMS registration, the modem parameter type used for the electronic device IMS registration can be recorded. The electronic device can obtain the modem parameter type used by the electronic device for the last IMS registration, and determine whether the modem parameter type used for the last IMS registration is the target type. If so, S310 can be executed. If not, no processing can be performed.
[0150] Exemplarily, when the electronic device uses the target type parameter to perform IMS registration, the identifier of the parameter flag bit indicating the modem parameter type used for IMS registration can be maintained as the second type identifier. The electronic device can read the identifier of the parameter flag bit.
[0151] If the second type identifier read by the electronic device is the same as the second preset identifier of the electronic device, it means that the modem parameter used in the last IMS registration is a target type parameter, and S310 may be executed.
[0152] If the second type identifier read by the electronic device is different from the second preset identifier of the electronic device, it means that the modem parameters used in the last IMS registration are not target type parameters, and no processing is required.
[0153] The second type identifier may be the same as or different from the first type identifier.
[0154] When the second type identifier is the same as the first type identifier, the second preset identifier is the same as the first preset identifier.
[0155] When the second type identifier is different from the first type identifier, the second preset identifier is different from the first preset identifier.
[0156] S310: The electronic device may terminate the first timer and the second timer, so that both the first timer and the second timer are not running, thereby reducing the power consumption of the electronic device.
[0157] Optionally, the last IMS registration process and the call status monitoring process are initialized to terminate the first timer and the second timer. For example, the electronic device may initialize the process including steps S301-S307 to terminate the first timer and the second timer.
[0158] In an embodiment of the present application, when the electronic device is turned on, restarted, or receives a card insertion operation, the electronic device can use the target type parameter to register with the IMS when it is found that the modem parameter used by the user identification card is a target type parameter. In the case of unsuccessful IMS registration, the IMS function can be turned off to reduce the probability of repeated IMS registrations causing high power consumption of the electronic device. In the case of successful IMS registration, it is determined whether the first call is normal. If the first call after successful IMS registration fails, it indicates that the IMS network in the area where the electronic device is located is immature, and / or there is a compatibility problem between the electronic device and the IMS network in the area where the electronic device is located, then the IMS function of the electronic device is turned off so that the user can give priority to CS calls. In the case of normal first call after successful IMS registration, the electronic device can determine whether subsequent IMS calls after the first call fail in the manner shown in S305. If subsequent IMS calls fail and the signal quality is good (or the signal quality is greater than or equal to the quality threshold), it indicates that the network in the area where the electronic device is located is temporarily abnormal, and the IMS function of the electronic device can be turned off for a period of time. In this way, the probability of failure of IMS calls by users using electronic devices can be reduced.
[0159] It can be understood that the electronic device or the modem of the electronic device provided in the embodiment of the present application can be the execution subject of the communication control method provided in the present application. The electronic device or the modem of the electronic device provided in the embodiment of the present application is only an example of the execution subject of the communication control method provided in the present application. The embodiment of the present application does not specifically limit the execution subject.
[0160] like Figure 3 As shown, the embodiment of the present application is an explanation of the communication control method proposed in the embodiment of the present application by taking the LTE network or the NR network as an example. It can be understood that the communication control method proposed in the embodiment of the present application is also applicable to the new generation of network technology after 5G network technology.
[0161] Figure 4 A schematic diagram of a scenario provided in an embodiment of the present application is shown.
[0162] like Figure 4 As shown, still taking the IMS network attached to the 4G network as an example, in the case where the IMS registration is unsuccessful, the first call after the IMS registration is successful fails, or the call after the first call after the IMS registration is successful fails, the electronic device A of user A can turn off the IMS function. The status bar of the electronic device A can display the 4G signal logo 401, and does not display the high-definition call logo.
[0163] like Figure 4As shown, when the status bar of electronic device A does not display the HD call logo, user A can call user C whose phone number is "13425678XX" through electronic device A. Electronic device A can communicate with user C through the CS network. Figure 4 The electronic device C of user C shown in the figure establishes a communication connection, so that the call initiated by user A can be connected, and the electronic device C can display the remark name "Abc" of user A and the phone number "1352647XXX" of user A. The CS network can be understood as a network used to implement the CS function.
[0164] In this way, user A can make a CS call through electronic device A in the event that IMS registration fails, the first call after successful IMS registration fails, or a call after the first call after successful IMS registration fails.
[0165] The embodiment of the present application also provides a communication control method, the method comprising: registering an Internet Protocol Multimedia Subsystem (IMS) using a target type parameter. When the IMS registration is successfully implemented using the target type parameter, determining whether the first call after the IMS registration is successful is normal. When the first call fails, the function of communicating using the IMS is disabled.
[0166] Exemplarily, the call may be a call initiated by a user through a phone application on an electronic device. The call may also be a voice call or a video call initiated by a user through a WeChat application on an electronic device. The call may also be a voice call or a video call initiated by a user through other social applications on the electronic device. Other social applications include QQ applications, enterprise WeChat applications, or Tencent conference applications. Exemplarily, call failure may include: the call is not connected or the call is abnormally hung up. A call that is not connected is also called a call that cannot be connected. A call that is abnormally hung up is also called an abnormal call hang-up. The specific implementation principle of the electronic device determining that a call is not connected can be found in Figure 3 The specific implementation principle of the call failure in S304 in the embodiment. The specific implementation principle of the electronic device determining that the call is abnormally hung up can be found in Figure 3 The specific implementation principle of abnormal call hanging up in S304 of the embodiment will not be repeated here.
[0167] In this way, the failure of the first call after successful IMS registration may indicate that the IMS network in the area where the electronic device is located is immature and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located. Therefore, the function of communicating using IMS can be turned off, so that users can make CS calls through electronic devices, reducing the probability of users being unable to make IMS calls using electronic devices. Turning off the function of communicating using IMS can also reduce the probability of electronic devices repeatedly performing IMS registration when the IMS function is turned on, thereby reducing the probability of short battery life of electronic devices.
[0168] Optionally, after determining whether the first call after successful IMS registration is normal, the method further includes: if the first call is normal, if calls after the first call fail, closing the function of communicating using IMS.
[0169] If calls after the first call fail, it may indicate that the IMS network in the area where the electronic device is located is temporarily abnormal. The function of communicating using IMS may be turned off so that the user can make CS calls through the electronic device. This can reduce the probability of failure of IMS calls made by users using electronic devices. Turning off the function of communicating using IMS can also reduce the probability of electronic devices repeatedly registering with IMS when the IMS function is turned on, thereby reducing the probability of short battery life of electronic devices.
[0170] Optionally, if a call fails after the first call, the first timer is started when the function of communicating using IMS is turned off. When the first timer times out, the function of communicating using IMS is turned on, and IMS registration is performed using the target type parameter.
[0171] The timing duration of the first timer may be the first timing duration T1.
[0172] In this way, when the network in the area where the electronic device is located is temporarily abnormal, the IMS function is turned off and the duration of the IMS function of the electronic device being unavailable is the first timing duration. During the period when the IMS function is turned off, the user can make a CS call. When the first timer times out, the IMS function is turned on again and IMS registration is performed, and the user can make an IMS call again. Compared with CS calls, IMS calls can provide users with a better call experience. In this way, the user experience can be improved.
[0173] Optionally, if a call fails after the first call, the first timer is also started when the function of using IMS for communication is turned off. If the first timer does not time out, if an operation of turning on the flight mode of the electronic device and an operation of turning off the flight mode are received, it means that the user has the intention to re-register with IMS, the function of using IMS for communication is turned on, and the target type parameter is used for IMS registration. In this way, the user experience can be improved.
[0174] Optionally, when the function of using IMS for communication is enabled and the target type parameter is used for IMS registration, a second timer may be started. When the second timer times out and the IMS registration is unsuccessful, the function of using IMS for communication is disabled. For example, the specific situation of unsuccessful IMS registration can be found in Figure 3 The specific situation where the IMS registration is unsuccessful in S303 in the embodiment.
[0175] If the IMS registration is unsuccessful, it means that the electronic device cannot make an IMS call. When the second timer times out, the function of using IMS for communication is turned off, which can reduce the number of repetitions of IMS registration and thus reduce the power consumption of the electronic device. Optionally, when the function of using IMS for communication is turned on and the target type parameter is used for IMS registration, the IMS registration can be the first IMS registration after the electronic device is turned on, restarted, or receives a card insertion operation, or it can be an IMS registration performed after the first IMS registration is successful.
[0176] Optionally, after a call subsequent to the first call fails, the method further includes: determining whether the signal quality is less than a quality threshold.
[0177] If a call fails after the first call, the function of using IMS for communication is disabled, including: if a call fails after the first call and the signal quality is greater than or equal to the quality threshold, the function of using IMS for communication is disabled. Figure 3 The specific implementation principle and technical effect of S307 will not be repeated here.
[0178] Optionally, before using the target type parameter to register with the Internet Protocol Multimedia Subsystem (IMS), the method further includes: determining whether the modem parameter used by the user identification card of the electronic device is the target type parameter. Using the target type parameter to register with the Internet Protocol Multimedia Subsystem (IMS) includes: when the modem parameter used by the user identification card is the target type parameter, using the target type parameter to register with the IMS. The specific implementation principle of the embodiment of the present application can be found in Figure 3 The specific implementation principle of S301 will not be repeated here.
[0179] Optionally, after disabling the function of communicating using the IMS, the method further comprises: communicating using a circuit service (CS) in response to an operation of initiating a call. The communication using the circuit service (CS) is, for example, a CS call.
[0180] In this way, when the function of using IMS for communication is turned off, the user can make a CS call through the electronic device, reducing the probability of failure of the user making an IMS call using the electronic device.
[0181] Optionally, the use of the target type parameter to perform the IMS registration for the Internet Protocol Multimedia Subsystem may be the first IMS registration in any of the following situations: the electronic device is powered on, restarted, or receives a card insertion operation.
[0182] For example, the first IMS registration when the electronic device is powered on, restarted, or receives a card insertion operation is performed. Figure 3 The IMS registration shown in S302 in the embodiment.
[0183] In this way, it is possible to determine whether there is a mature and available IMS network in the area where the electronic device is located based on whether the first IMS registration is successful when the electronic device is turned on, restarted, or receives a card insertion operation. Exemplarily, if the first IMS registration is successful, it means that there is a mature and available IMS network in the area where the electronic device is located, and the integrity or maturity of the IMS network in the area can be identified. If the first IMS registration is unsuccessful, it may indicate that the IMS network in the area where the electronic device is located is immature and / or there are compatibility issues between the electronic device and the IMS network in the area where the electronic device is located. It may also indicate that there is no mature and available IMS network in the area where the electronic device is located. The IMS function of the electronic device can be turned off to reduce the power consumption caused by repeated IMS registration of the electronic device.
[0184] Optionally, the method further includes: when the electronic device is restarted or the user identification card of the electronic device is pulled out and then inserted again, determining whether the modem parameters used by the user identification card are target type parameters. When the modem parameters used by the user identification card are not target type parameters, determining whether the parameters used for the last IMS registration are target type parameters. When the parameters used for the last IMS registration are target type parameters, terminating the first timer that was started when the function of communicating using IMS was last turned off, and the second timer that was started when the target type parameters were last used for IMS registration. The specific implementation principles and technical effects of the embodiments of the present application are similar to those of the present invention. Figure 3 The specific implementation principles and technical effects of S309 and S310 in the embodiment are similar and will not be repeated here.
[0185] Optionally, the method further includes: when the electronic device is restarted or the user identification card of the electronic device is removed and then inserted again, determining whether the modem parameters used by the user identification card are target type parameters. When the modem parameters used by the user identification card are target type parameters, IMS registration is performed using the target type parameters, and a second timer is started. When the second timer times out and the IMS registration is unsuccessful, the function of communicating using the IMS is disabled. For example, the specific situation of unsuccessful IMS registration can be found in Figure 3 Specific circumstances of unsuccessful IMS registration in S303 of the embodiment: Unsuccessful IMS registration indicates that the electronic device cannot make an IMS call, and when the second timer times out, the function of using IMS for communication is turned off, which can reduce the number of repeated IMS registrations and thus reduce the power consumption of the electronic device.
[0186] Optionally, before using the target type parameter to perform IMS registration, the method further includes: terminating a first timer started when the function of using IMS for communication was last closed, and a second timer started when the target type parameter was last used to perform IMS registration.
[0187] In this way, the interference of the first timer and the second timer on the subsequent IMS registration can be reduced, and the power consumption of the electronic device can also be reduced.
[0188] It can be understood that the communication control method proposed in the embodiment of the present application is also applicable to the new generation of network technology after 5G network technology.
[0189] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.
[0190] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0191] The communication control method of the embodiment of the present application has been described above, and the device for executing the above method provided by the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can execute the steps in the above communication control method.
[0192] The communication control method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices, and the specific device form of the terminal devices can refer to the above related descriptions, which will not be repeated here.
[0193] The embodiment of the present application provides a terminal device, which includes: a processor and a memory. The memory stores computer-executable instructions. The processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0194] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.
[0195] Figure 5 A schematic diagram of a chip system provided in an embodiment of the present application is shown.
[0196] The embodiment of the present application provides a chip system, which includes at least one processor 51 and a communication interface 53. The communication interface 53 and the at least one processor 51 are interconnected through a line, and the at least one processor 51 is used to run a computer program or instruction to execute the above method. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.
[0197] Exemplarily, the at least one processor 51 is used to call and run the computer program or instructions in the memory 54 to execute the above method. The communication interface 53 and the at least one processor 51 may be interconnected via a bus 52.
[0198] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0199] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
[0200] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0201] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0202] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A communication control method, characterized in that: include: Use target type parameters to register with the Internet Protocol Multimedia Subsystem IMS; In the case where the IMS registration is successfully achieved using the target type parameter, determining whether the first call after the IMS registration is successful is normal; In the event that the first call fails, disabling the function of using the IMS for communication; After the function of using the IMS for communication is disabled, the method further includes: In response to the operation of initiating a call, communication is performed using the circuit service CS.
2. The method according to claim 1, characterized in that After determining whether the first call after the successful IMS registration is normal, the method further includes: In the case where the first call is normal, if calls after the first call fail, the function of using the IMS for communication is disabled.
3. The method according to claim 2, characterized in that When the call after the first call fails and the function of using the IMS for communication is turned off, a first timer is also started; After the function of using the IMS for communication is disabled, the method further includes: When the first timer times out, a function of using the IMS for communication is enabled, and the target type parameter is used for IMS registration.
4. The method according to claim 2 or 3, characterized in that: When the call after the first call fails and the function of using the IMS for communication is turned off, a first timer is also started; After the function of using the IMS for communication is disabled, the method further includes: When the first timer has not timed out, if an operation of turning on the flight mode of the electronic device and an operation of turning off the flight mode are received, a function of communicating using the IMS is turned on, and IMS registration is performed using the target type parameter.
5. The method according to claim 4, characterized in that When the function of using the IMS for communication is enabled and the target type parameter is used for IMS registration, a second timer is also started; The method further comprises: When the second timer times out and the IMS registration is unsuccessful, a function of using the IMS for communication is disabled.
6. The method according to any one of claims 2-3 and 5, characterized in that: After a call subsequent to the first call fails, the method further includes: Determine whether the signal quality is less than a quality threshold; If a call fails after the first call, disabling the function of using the IMS for communication includes: If a call fails after the first call and the signal quality is greater than or equal to the quality threshold, the function of using the IMS for communication is disabled.
7. The method according to any one of claims 1 to 3 and 5, characterized in that: Before the target type parameter is used to perform Internet Protocol Multimedia Subsystem IMS registration, the method further includes: Determining whether the modem parameters used by the user identification card of the electronic device are the target type parameters; The method of using the target type parameter to register the Internet Protocol Multimedia Subsystem IMS includes: In the case where the modem parameter used by the subscriber identity card is the target type parameter, the target type parameter is used to perform IMS registration.
8. The method according to any one of claims 1 to 3 and 5, characterized in that: The use of the target type parameter to perform the IMS registration is the first IMS registration in any of the following situations: the electronic device is powered on, restarted, or receives a card insertion operation.
9. The method according to any one of claims 1 to 3 and 5, characterized in that: The method further comprises: When the electronic device is restarted or the user identification card of the electronic device is removed and then inserted again, determining whether the modem parameters used by the user identification card are the target type parameters; In the case where the modem parameters used by the subscriber identity card are not the target type parameters, determining whether the parameters used in the last IMS registration are the target type parameters; In a case where the parameter used in the last IMS registration is the target type parameter, a first timer started when the function of using the IMS for communication was last turned off, and a second timer started when the target type parameter was used for the last IMS registration are terminated.
10. The method according to any one of claims 1 to 3 and 5, characterized in that: The method further comprises: When the electronic device is restarted or the user identification card of the electronic device is removed and then inserted again, determining whether the modem parameters used by the user identification card are the target type parameters; When the modem parameter used by the subscriber identity card is the target type parameter, performing IMS registration using the target type parameter and starting a second timer; When the second timer times out and the IMS registration is unsuccessful, a function of using the IMS for communication is disabled.
11. The method according to any one of claims 1 to 3 and 5, characterized in that: Before the target type parameter is used to perform Internet Protocol Multimedia Subsystem IMS registration, the method further includes: The first timer started when the function of using the IMS for communication was last closed and the second timer started when the IMS registration was last performed using the target type parameter are terminated.
12. The method according to any one of claims 1 to 3 and 5, characterized in that: The call failure includes: the call is not connected or the call is abnormally hung up.
13. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 12.
14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
15. A chip system, characterized in that: The method comprises at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a line, and the at least one processor is used to run a computer program or instruction to execute the method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The method comprises a computer program, which, when being executed, enables a computer to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Call method and device
CN111586781A
Method for initiating IMS (IP Multimedia Subsystem) registration by user equipment and corresponding user equipment
CN115568011A