Abnormality processing method, device, medium and chip for ims icon
Patent Information
- Application Number
- CN202211028502.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2042-08-25
AI Technical Summary
然而通过重启终端的方式会大大影响用户对通信终端的使用体验
[0017] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: when it is determined that the IMS icon status of the terminal's display layer is abnormal under the target state, a first target operation is performed on the terminal's modem layer. Based on the execution result of the first target operation performed by the modem layer, a recovery operation for the IMS icon is determined to restore the IMS icon. Therefore, automatic detection of abnormal IMS icon display caused by terminal problems can be achieved, thereby determining the terminal's IMS icon recovery operation to restore the IMS icon, effectively solving the problem of abnormal IMS icon display, thus improving the availability of IMS service to a certain extent, improving the VoLTE HD voice call experience, avoiding call quality problems encountered by users using VoLTE HD voice function, improving the stability of terminal communication, and enhancing the user experience.
Smart Images

Figure CN117676474B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to an abnormal handling method, apparatus, medium and chip for IMS icons. Background Technology
[0002] Currently, we frequently receive user feedback that the IMS (IP Multimedia Subsystem) icon is not displayed on user terminals. The prolonged absence or inability to display the IMS icon may affect users' VoLTE HD voice calls, causing unnecessary inconvenience. Related technologies typically address this by restarting the terminal to determine if the IMS icon will display, thus ensuring voice call quality. However, restarting the terminal significantly impacts the user experience. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides an anomaly handling method, apparatus, medium, and chip for IMS icons.
[0004] According to a first aspect of the present disclosure, an abnormal handling method for an IMS icon is provided, comprising: when it is determined that a terminal is in a target state, detecting the state of the IMS icon in the display layer of the terminal, wherein the target state is the state in which the terminal is used to display the IMS icon; if the IMS icon state is an abnormal state, performing a first target operation on the modem layer of the terminal; determining the execution result of performing the first target operation on the modem layer, wherein the execution result is used to characterize whether the IMS service of the modem layer is successful or abnormal; and determining a recovery operation for the IMS icon based on the execution result to restore the IMS icon.
[0005] Optionally, performing the first target operation on the modem layer of the terminal includes: performing IMS status detection on the modem layer; if the IMS status of the modem layer is abnormal, then performing the corresponding recovery operation on the modem layer.
[0006] Optionally, determining the execution result of the modem layer performing the first target operation includes: if the IMS state of the modem layer is normal, or if the IMS state of the modem layer is determined to be normal again after performing the recovery operation corresponding to the modem layer, the execution result is determined to be successful; if the IMS state of the modem layer is determined to be abnormal after performing the recovery operation corresponding to the modem layer, the execution result is determined to be abnormal.
[0007] Optionally, determining the recovery operation for the IMS icon based on the execution result includes: if the execution result of the first target operation on the modem layer is successful, then determining at least one second target operation corresponding to the frame layer of the terminal, and the restart operation of the process corresponding to the display layer when the execution result of the frame layer is successful, as the recovery operation for the IMS icon; the second target operation includes the detection operation of the IMS status of the frame layer, and the recovery operation corresponding to the frame layer when the IMS status is abnormal; if the execution result of the first target operation on the modem layer is abnormal, then determining the restart of the terminal as the recovery operation for the IMS icon.
[0008] Optionally, the method further includes: after the restart operation of the process corresponding to the display layer is executed, obtaining the IMS icon status of the display layer; if the obtained IMS icon status is an abnormal status, controlling the terminal to restart.
[0009] Optionally, the recovery operation corresponding to the framework layer includes at least one of the following: controlling the communication process of the terminal to restart; controlling the process corresponding to the framework layer to restart.
[0010] Optionally, the recovery operation corresponding to the modem layer includes at least one of the following: controlling the modem layer to reconnect to the current network; controlling the terminal to perform a network switching operation; controlling the modem layer to connect to a network other than the current network; controlling the process corresponding to the modem layer to restart.
[0011] Optionally, determining that the terminal is in the target state includes: if the terminal has a SIM card inserted, the terminal is connected to a network signal, the terminal's network mode is data network mode, the terminal's IMS switch is turned on, and the terminal is in an unlocked state and a screen-on state, then the terminal is determined to be in the target state.
[0012] Optionally, the method further includes: if the IMS icon state is not an abnormal state, determining the detection time for re-detecting the IMS icon state on the display layer of the terminal based on a time threshold; and triggering the step of re-detecting the IMS icon state on the display layer of the terminal when the detection time for re-detecting the IMS icon state is reached.
[0013] According to a second aspect of the present disclosure, an abnormal handling apparatus for an IMS icon is provided, comprising: a detection module, configured to detect the state of an IMS icon on the display layer of the terminal when it is determined that the terminal is in a target state, wherein the target state is the state in which the terminal displays the IMS icon; a processing module, configured to perform a first target operation on the modem layer of the terminal if the IMS icon state is an abnormal state; a first determining module, configured to determine the execution result of the first target operation performed by the modem layer, wherein the execution result is used to characterize whether the IMS service of the modem layer is successful or abnormal; and a second determining module, configured to determine a recovery operation for the IMS icon based on the execution result, so as to restore the IMS icon.
[0014] According to a third aspect of this disclosure, an exception handling apparatus for an IMS icon is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the exception handling method for an IMS icon provided in the first aspect of this disclosure.
[0015] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided, on which computer program instructions are stored, which, when executed by a processor, implement the exception handling method for the IMS icon provided in the first aspect of this disclosure.
[0016] According to a fifth aspect of this disclosure, a chip is provided, including a processor and an interface; the processor is configured to read instructions to execute the exception handling method for IMS icons provided in the first aspect of this disclosure.
[0017] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: when it is determined that the IMS icon status of the terminal's display layer is abnormal under the target state, a first target operation is performed on the terminal's modem layer. Based on the execution result of the first target operation performed by the modem layer, a recovery operation for the IMS icon is determined to restore the IMS icon. Therefore, automatic detection of abnormal IMS icon display caused by terminal problems can be achieved, thereby determining the terminal's IMS icon recovery operation to restore the IMS icon, effectively solving the problem of abnormal IMS icon display, thus improving the availability of IMS service to a certain extent, improving the VoLTE HD voice call experience, avoiding call quality problems encountered by users using VoLTE HD voice function, improving the stability of terminal communication, and enhancing the user experience.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0020] Figure 1 This is a flowchart illustrating an exception handling method for an IMS icon according to an exemplary embodiment.
[0021] Figure 2 This is a flowchart illustrating a first target operation performed on the modem layer of a terminal according to an exemplary embodiment.
[0022] Figure 3 This is a flowchart illustrating an exception handling method for an IMS icon according to an exemplary embodiment.
[0023] Figure 4 This is a flowchart illustrating an IMS icon anomaly handling method according to another exemplary embodiment.
[0024] Figure 5 This is a block diagram illustrating an exception handling apparatus for an IMS icon according to an exemplary embodiment.
[0025] Figure 6 This is a block diagram illustrating an exception handling apparatus for an IMS icon according to an exemplary embodiment. Detailed Implementation
[0026] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0027] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.
[0028] The IMS icon on the terminal is the function icon for VoLTE high-definition voice service. VoLTE is a voice service based on IMS built on the LTE network. When a VoLTE-enabled SIM card is inserted as a data card into a terminal that supports VoLTE high-definition voice service and the VoLTE switch on the terminal is turned on, the terminal registers for IMS service. After successful IMS service registration, the terminal's notification status bar will display the IMS icon, such as the HD (High Definition) icon.
[0029] The HD icon represents the high-definition voice function. When IMS service registration is successful, the high-definition voice call function can be used normally, and the HD icon can be displayed in the terminal's notification status bar so that the user knows that the high-definition voice function can be used normally. When IMS service registration fails, the high-definition voice call function cannot be used normally, and the HD icon will not be displayed in the notification status bar so that the user knows that the high-definition voice function cannot be used normally.
[0030] Abnormal display of the IMS icon on a terminal may affect the user's use of high-definition voice functions. The applicant's research found that the display of the terminal's IMS icon involves multiple layers, including the modem-demodulator (Modem) layer, the framework layer, and the display layer (SystemUI). Due to the complexity of the business logic of each layer and the network environment in which the terminal operates, an abnormality in the IMS status of any layer will cause the IMS icon to not be displayed in the user's terminal status bar. Based on this, this disclosure provides the following embodiments to implement abnormal IMS icon handling.
[0031] Figure 1 This is a flowchart illustrating an exception handling method for IMS icons according to an exemplary embodiment, such as... Figure 1 As shown, this method can be applied to a terminal, and the method may include the following steps.
[0032] In step S101, if it is determined that the terminal is in the target state, the IMS icon status is detected in the display layer of the terminal.
[0033] The target state refers to the state of the terminal when displaying the IMS icon. Determining that the terminal is in the target state can correspond to the state after the terminal's IMS service registration is successful and the IMS icon can be displayed. For example, determining that the terminal is in the target state can include: if the terminal has a SIM card inserted, the terminal is connected to a network signal, the terminal's network mode is data network mode, the terminal's IMS switch is turned on, and the terminal is in an unlocked state and a screen-on state, then the terminal is determined to be in the target state. The data network mode indicates that the terminal's SIM card is using internet access, including but not limited to enabling 4G or 5G networks. For example, the above states can be detected when the terminal is powered on. The specific detection order can be set according to the actual application scenario, and this disclosure does not limit this.
[0034] For example, an IMS detection module can be set up in the terminal to detect the IMS icon status at the display layer. The detection module sends a query command to the display layer via inter-process communication, and the display layer responds to the query command by performing a self-detection operation on the IMS icon status. The display layer then feeds back the IMS icon status detection result to the terminal's detection module. For example, the display layer can determine the IMS icon status by checking whether the IMS icon is currently displayed. If the IMS icon is displayed, the IMS icon status is considered normal; if it is not displayed, the IMS icon status is considered abnormal. The query command sent by the detection module via inter-process communication can be in Binder form.
[0035] Those skilled in the art should understand that the query instructions sent by the terminal's detection module through inter-process communication can also take other forms, all of which fall within the protection scope of this disclosure.
[0036] In one possible embodiment, the terminal can initialize the IMS icon status detection module after powering on. This can be achieved by setting a timer interval to detect the terminal's target status at intervals. Once the terminal is detected to be in the target status, the timer's triggering ends, and the IMS icon status is then detected at the display layer. During the detection of the terminal's target status, the timer intervals between different detection processes can be the same or different, depending on the application scenario.
[0037] In step S102, if the IMS icon status is abnormal, a first target operation is performed on the terminal's modem layer. The first target operation includes a detection operation of the IMS status of the modem layer and a recovery operation corresponding to the modem layer when the IMS status is abnormal.
[0038] The modem layer is the hardware layer of the terminal and can be used for the terminal's IMS service registration. If the terminal is a data sender, the modem layer in the terminal can convert digital signals into analog signals through modulation. If the terminal is a data receiver, the modem layer in the terminal can convert analog signals into digital signals through demodulation, so as to realize the signal transmission between the terminal and external devices and realize the communication between the terminal and the outside world.
[0039] In step S103, the execution result of the first target operation performed on the modem layer is determined. The execution result is used to characterize whether the IMS service of the modem layer is successful or abnormal. Specifically, the first target operation was performed on the modem layer in step 102, thereby allowing the determination of the execution result after the first target operation to further determine the status of the IMS service corresponding to the modem layer.
[0040] In step S104, based on the execution result, a recovery operation for the IMS icon is determined to restore the IMS icon.
[0041] As mentioned above, if the terminal's display layer does not show the IMS icon, it may affect the user's VoLTE HD voice function, making the terminal's communication prone to problems and affecting the stability of terminal use. Specifically, in step S102, when the IMS icon is in an abnormal state, a first target operation is performed on the modem layer to adjust the IMS service at the modem layer to a certain extent. In this step, based on the execution result of the first target operation at the modem layer, a recovery operation for the IMS icon can be determined to attempt to display the IMS icon. An IMS recovery module can be configured in the terminal to perform the corresponding recovery operations for each layer.
[0042] Through the above technical solution, when an abnormal IMS icon status is detected on the display layer of a terminal in a target state, a first target operation is performed on the terminal's modem layer. Based on the execution result of the first target operation at the modem layer, a recovery operation for the IMS icon is determined to restore the IMS icon. This enables automatic detection of abnormal IMS icon display caused by terminal problems, thereby determining the appropriate recovery operation and effectively resolving the issue of abnormal IMS icon display. This, to a certain extent, improves the availability of IMS services, enhances the VoLTE HD voice call experience, avoids call quality problems encountered when using VoLTE HD voice functionality, improves terminal communication stability, and enhances the user experience.
[0043] Figure 2 This is a flowchart illustrating the performance of a first target operation on the modem layer of a terminal according to an exemplary embodiment. For example... Figure 2 As shown, step S102 may further include the following steps:
[0044] In step S1021, IMS status detection is performed on the modem layer.
[0045] The IMS status detection of the modem layer can be implemented through the aforementioned detection module. For example, the detection module sends a first detection command to the modem layer via inter-process communication to query the IMS status of the modem layer. The modem layer responds to the first detection command by performing a self-detection operation of its IMS status. The first detection command sent via inter-process communication can be an AT command, a socket command, or a shared memory command. Those skilled in the art should understand that the first detection command sent by the detection module via inter-process communication can also take other forms, all of which fall within the scope of this disclosure.
[0046] In this disclosure, the modem layer communicates with the base station in response to a first detection command. The modem layer interacts with the base station via signaling based on a communication protocol to obtain the terminal's IMS status from the base station. If the terminal has not registered for IMS service, the base station sends a signaling message to the modem layer indicating that the terminal has not registered for IMS service, thus determining the IMS status of the modem layer as abnormal. If the terminal has registered for IMS service, the base station sends a signaling message to the modem layer indicating that the terminal has registered for IMS service, thus determining the IMS status of the modem layer as normal. Subsequently, the modem layer sends the IMS status detection result back to the terminal's detection module, thereby realizing the detection of the IMS status of the modem layer.
[0047] In step S1022, if the IMS state of the modem layer is abnormal, then the recovery operation corresponding to the modem layer is performed on the modem layer.
[0048] For example, a recovery operation corresponding to the modem layer can be pre-set. Then, when the IMS state of the modem layer is abnormal, the recovery module can directly restore the IMS state of the modem layer according to the pre-set recovery operation. For example, for the modem layer, the corresponding recovery operation includes at least one of the following:
[0049] 1. Control the modem layer to reconnect to the current network. Reconnecting to the current network can help determine if the IMS status anomaly is due to a problem with the current network connection, and attempt to recover from it by reconnecting.
[0050] 2. Control the terminal to perform network switching operations. This involves switching between 4G, 5G, and other data network modes to restore the IMS state from abnormalities caused by network mode changes at the modem layer.
[0051] 3. Control the modem layer connection to networks other than the current network. Connecting to networks other than the current network can help determine if the IMS status anomaly is caused by a problem with the current network connection, and attempt to recover by connecting to other networks.
[0052] 4. Restart the processes corresponding to the modem layer. This involves restarting the processes corresponding to the modem layer to recover from IMS state abnormalities caused by problems with the modem layer's own communication processes.
[0053] It should be noted that during the recovery operation, the IMS status of the modem layer can be checked after each of the above operations is completed. If the IMS status is normal, the recovery operation is considered to be completed. If the IMS status is abnormal, other operations can be performed. If all the above operations are completed, the recovery operation is considered to be completed. Furthermore, the IMS status of the modem layer after the operation is completed can be obtained.
[0054] By detecting the modem layer, the problem of the display layer's IMS icon not being displayed due to abnormal IMS status of the modem layer is detected. By restoring the modem's IMS status, the modem's IMS registration service is restored to normal operation, thereby ensuring the normal conversion and transmission of communication signals and improving the user experience of VoLTE HD voice function.
[0055] For example, determining the execution result of the modem layer performing the first target operation may include:
[0056] If the IMS status of the modem layer is normal, or if the IMS status of the modem layer is determined to be normal again after performing the corresponding recovery operation of the modem layer, the execution result is determined to be successful.
[0057] If the IMS status of the modem layer is determined to be abnormal after the recovery operation corresponding to the modem layer is performed, then the execution result is determined to be abnormal.
[0058] For example, the IMS status of the modem layer can be detected through a detection module, the process of which has been detailed above and will not be repeated here. Specifically, if the IMS icon status corresponding to the display layer is abnormal, performing the first target operation on the modem layer can be achieved by detecting the IMS status of the modem layer. If the IMS status of the modem layer is normal, then the execution result of the first target operation on the modem layer can be directly determined as successful.
[0059] Furthermore, if the IMS state of the modem layer is abnormal, the first target operation performed on the modem layer, in addition to the aforementioned detection operation, may also include a recovery operation on the modem layer. The process of performing the recovery operation has been detailed above. After performing the recovery operation corresponding to the modem layer, the IMS state of the modem layer can be determined again. In this case, if the IMS state of the modem layer is determined to be normal again, the execution result of the first target operation performed on the modem layer can be determined to be successful; if the IMS state of the modem layer is determined to be abnormal again, the execution result of the first target operation performed on the modem layer can be determined to be abnormal.
[0060] Therefore, the above technical solution can accurately determine the execution result after the modem layer performs the first target operation, so as to provide a reference for the subsequent determination of the IMS icon recovery operation, and ensure the accurate detection and effective recovery of IMS icon anomalies.
[0061] Figure 3 This is a flowchart illustrating an exception handling method for IMS icons according to an exemplary embodiment. Figure 3 As shown, step S104 may include the following steps:
[0062] In step S1041, if the execution result of the first target operation performed on the modem layer is successful, then at least one second target operation corresponding to the terminal's frame layer, and the restart operation of the process corresponding to the display layer when the execution result of the frame layer is successful, are determined as the recovery operation of the IMS icon. The second target operation includes the detection operation of the IMS status of the frame layer, and the recovery operation corresponding to the frame layer when the IMS status is abnormal.
[0063] The framework layer is the software layer of the terminal, used for the operation and communication of the terminal. It provides a framework for demand development, sits above the kernel layer in the system, and provides an interface for top-level applications. It can be used to develop top-level applications. The framework layer can communicate with the modem layer and the display layer to notify the display layer of the successful registration of the IMS service by the modem layer, so as to realize the display of the IMS icon.
[0064] If the terminal performs the first target operation on the modem layer and the result is successful, it means that there is no abnormality in the IMS registration service corresponding to the modem layer. Then the terminal can perform the second target operation on the frame layer to detect the IMS status of the frame layer and recover from any abnormalities.
[0065] The second target operation corresponding to the framework layer is described in detail below. For example, the second target operation includes the detection operation of the IMS status of the framework layer. This detection operation can be performed by the terminal's detection module. For instance, the detection module can send a second detection command to the framework layer, so that the framework layer can respond to the second detection command to perform IMS status detection.
[0066] The detection module can send a second detection command to the framework layer via inter-process communication to query the IMS status of the framework layer. The framework layer responds to the second detection command by performing a self-detection of its IMS status. The second detection command sent via inter-process communication can be in Binder or Socket form. Those skilled in the art should understand that the second detection command sent by the detection module via inter-process communication can also take other forms, all of which fall within the scope of this disclosure.
[0067] In this disclosure, in response to receiving a second detection command sent by the detection module, the frame layer can communicate with the modem layer. If, based on the communication process, it is determined that the frame layer has received a message sent by the modem layer, and based on that message, no display message is sent to the display layer, then the IMS state of the frame layer is determined to be abnormal. If, based on the communication process, it is determined that the frame layer has received a message sent by the modem layer, and based on that message, no display message is sent to the display layer, then the IMS state of the frame layer is determined to be normal.
[0068] Furthermore, the framework layer can feed back the IMS status detection results to the terminal's detection module. Upon receiving the feedback message from the framework layer indicating an abnormal IMS status, the terminal's detection module can further determine the corresponding recovery operation at the framework layer when the IMS icon is abnormal, and execute that recovery operation. The recovery operation at the framework layer can also be implemented through the recovery module.
[0069] For example, a recovery operation corresponding to the framework layer can be pre-set. Then, when the IMS state of the framework layer is in an abnormal state, the recovery module can directly restore the IMS state of the framework layer according to the corresponding recovery operation. For instance, the recovery operation corresponding to the framework layer includes at least one of the following:
[0070] 1. Restart the communication process of the control terminal. This can be done to determine if the IMS state of the framework layer is abnormal due to an anomaly in the terminal's communication process, and to attempt recovery by restarting the terminal's communication process.
[0071] 2. Restart the process corresponding to the control framework layer. This involves restarting the process corresponding to the control framework layer to recover from the IMS state anomaly caused by a problem with the framework layer's own communication process.
[0072] It should be noted that during the recovery operation, the IMS status of the framework layer can be checked after each of the above operations is completed. If the IMS status is normal, the recovery operation is considered to have ended. If the IMS status is abnormal, other operations can continue to be performed. If all the above operations are completed, the recovery operation is considered to have ended. Furthermore, the IMS status of the framework layer after the execution is completed can be obtained.
[0073] After the recovery operation corresponding to the framework layer is completed, if the IMS status of the framework layer is successfully restored, the framework layer can send a message indicating that the IMS status is normal to the recovery module of the terminal; if the IMS status of the framework layer is still not successfully restored, the framework layer can send a message indicating that the IMS service is abnormal to the recovery module of the terminal.
[0074] In one possible embodiment, the execution of the second target operation can be set according to the actual application scenario. That is, if the framework layer recovery fails and the number of times does not reach the threshold, the second target operation can be executed again, and the execution ends when the framework layer recovery is successful or the number of times reaches the threshold.
[0075] In another possible embodiment, if the framework layer recovery fails, the time interval for re-executing the second target operation can be extended to avoid the terminal performing the second target operation on the framework layer multiple times in a short period of time. For example, if the number threshold is 2, then after the first execution of the second target operation on the framework layer, if the IMS state of the framework layer is in an abnormal state, the second target operation can be executed on the framework layer again. If the IMS state of the framework layer is successfully restored, the framework layer can feed back the successful restoration information to the terminal's recovery module; if the framework layer still fails to restore its IMS state after repeating the recovery operation again, and the number of executions reaches the number threshold, then the terminal will no longer perform the second target operation on the framework layer, and the framework layer can feed back the recovery failure information to the terminal's recovery module.
[0076] If the IMS status of the frame layer is normal after the terminal performs the second target operation at least once on the frame layer, it can be determined that the execution result of the frame layer is successful. At this time, the process corresponding to the display layer is restarted to attempt to display the IMS icon.
[0077] Therefore, by detecting the IMS status of the framework layer, the problem of the IMS icon not being displayed in the display layer due to the abnormal IMS status of the framework layer is detected. By restoring the IMS status of the framework layer, the software development environment of the framework layer is restored to normal operation, and the terminal communication is restored to normal, so as to ensure that the communication signal is transmitted normally in the terminal and improve the user's experience of VoLTE high-definition voice function.
[0078] Turn back Figure 3 In step S1042, if the execution result of the first target operation on the modem layer is abnormal, then restarting the terminal is determined as a recovery operation for the IMS icon.
[0079] If the execution result of the first target operation performed on the modem layer is abnormal, it indicates that the IMS service of the modem layer is abnormal. At this time, the terminal can be directly restarted to try to restore the IMS service and then restore the IMS icon of the terminal.
[0080] By judging the execution result of the first target operation at the modem layer, the recovery operation for the IMS icon is further determined, preventing the terminal from performing unnecessary operations, saving time in detecting and restoring the IMS icon, and improving operational efficiency.
[0081] In one possible embodiment, the method may further include the following steps.
[0082] After the restart operation of the process corresponding to the display layer is executed, the IMS icon status of the display layer is obtained.
[0083] As described in the example above, the terminal sequentially performs a first target operation on the terminal's modem layer, a second target operation on the terminal's frame layer, and a restart operation on the process corresponding to the display layer in order to restore the IMS icon of the display layer. At this time, the abnormality of the IMS icon status of the display layer can be determined by obtaining the IMS icon status of the display layer again.
[0084] If the obtained IMS icon status is abnormal, the control terminal will restart.
[0085] After the terminal performs detection and recovery operations on the display layer, modem layer, and frame layer, if the IMS icon status of the display layer is still abnormal, it indicates that the recovery operations corresponding to each layer have failed to display the IMS icon normally. In this case, the terminal can be restarted to further attempt to recover the IMS icon.
[0086] Restarting the terminal resolves the abnormal IMS icon, improves the communication stability of user terminals and the stability of VoLTE HD voice function, enhances user experience, and prevents user communication interruptions from affecting work efficiency.
[0087] Figure 4 This is a flowchart illustrating an IMS icon anomaly handling method according to another exemplary embodiment. In one possible embodiment, such as... Figure 4 As shown, the method may also include the following steps.
[0088] In step S105, if the IMS icon status is not abnormal, the detection time for re-detecting the IMS icon status on the terminal's display layer is determined according to the time threshold; when the detection time for re-detecting the IMS icon status is reached, the step of re-detecting the IMS icon status on the terminal's display layer is triggered again.
[0089] For example, when the terminal is in the target state, if the terminal's detection module detects the IMS icon status on the terminal's display layer and finds that the IMS icon status is not abnormal, it means the IMS icon is displayed normally, and the IMS service is running normally. The timing for re-detecting the IMS icon on the terminal's display layer can then be determined based on a time threshold. This allows for monitoring of the terminal's IMS icon, ensuring timely detection of IMS icon anomalies to a certain extent, while also reducing the number of detections and saving data processing load. Furthermore, by detecting the IMS icon status on the display layer, the system can determine whether to continue executing target operations on the terminal's modem layer and frame layer, improving the terminal's efficiency in resolving IMS icon anomalies. This enables the terminal to perform self-checks and self-recoveries quickly and effectively, reducing communication anomalies caused by IMS status abnormalities and improving user experience.
[0090] Based on the same inventive concept, this disclosure also provides an anomaly handling device for IMS icons. Figure 5 This is a block diagram illustrating an IMS icon exception handling apparatus according to an exemplary embodiment, with reference to... Figure 5 The IMS icon anomaly handling device 500 includes a detection module 510, a processing module 520, a first determination module 530, and a second determination module 540.
[0091] The detection module 510 is used to detect the state of the IMS icon on the display layer of the terminal when it is determined that the terminal is in a target state, wherein the target state is the state in which the terminal is used to display the IMS icon;
[0092] The processing module 520 is configured to perform a first target operation on the modem layer of the terminal if the IMS icon status is abnormal.
[0093] The first determining module 530 is used to determine the execution result of the modem layer performing the first target operation, and the execution result is used to characterize whether the IMS service of the modem layer is successful or abnormal.
[0094] The second determining module 540 is used to determine the recovery operation for the IMS icon based on the execution result, so as to restore the IMS icon.
[0095] Through the above technical solution, when an abnormal IMS icon status is detected on the display layer of a terminal in a target state, a first target operation is performed on the terminal's modem layer. Based on the execution result of the first target operation at the modem layer, a recovery operation for the IMS icon is determined to restore the IMS icon. This enables automatic detection of abnormal IMS icon display caused by terminal problems, thereby determining the appropriate recovery operation and effectively resolving the issue of abnormal IMS icon display. This, to a certain extent, improves the availability of IMS services, enhances the VoLTE HD voice call experience, avoids call quality problems encountered when using VoLTE HD voice functionality, improves terminal communication stability, and enhances the user experience.
[0096] Optionally, the processing module 520 includes:
[0097] The first detection submodule is used to perform IMS status detection on the modem layer;
[0098] The first recovery submodule is used to perform the recovery operation corresponding to the modem layer if the IMS state of the modem layer is abnormal.
[0099] Optionally, the first determining module 530 includes:
[0100] The first determining submodule is used to determine the execution result as passed if the IMS state of the modem layer is normal, or if the IMS state of the modem layer is determined to be normal again after performing the recovery operation corresponding to the modem layer;
[0101] The second determining submodule is used to determine that the execution result is abnormal if the IMS state of the modem layer is abnormal after the recovery operation corresponding to the modem layer is performed.
[0102] Optionally, the second determining module 540 includes:
[0103] The third determining submodule is used to determine, if the execution result of the first target operation performed on the modem layer is successful, at least one second target operation corresponding to the frame layer of the terminal and the restart operation of the process corresponding to the display layer when the execution result of the frame layer is successful, as the recovery operation of the IMS icon. The second target operation includes the detection operation of the IMS status of the frame layer and the recovery operation corresponding to the frame layer when the IMS status is abnormal.
[0104] The fourth determination submodule is used to determine the restart of the terminal as a recovery operation for the IMS icon if the execution result of the first target operation on the modem layer is abnormal.
[0105] Optionally, the IMS icon exception handling device 500 further includes:
[0106] The acquisition module is used to acquire the IMS icon status of the display layer after the restart operation of the process corresponding to the display layer is executed;
[0107] The control module is used to control the terminal to restart if the obtained IMS icon status is abnormal.
[0108] Optionally, the recovery operation corresponding to the framework layer includes at least one of the following:
[0109] Restart the communication process of the terminal;
[0110] Restart the process corresponding to the framework layer.
[0111] Optionally, the recovery operation corresponding to the modem layer includes at least one of the following:
[0112] Control the modem layer to reconnect to the current network;
[0113] Control the terminal to perform a network switching operation;
[0114] Controls the modem layer to connect to networks other than the current network;
[0115] Restart the process corresponding to the modem layer.
[0116] Optionally, determining that the terminal is in the target state includes:
[0117] If the terminal has a SIM card inserted, the terminal is connected to a network signal, the terminal's network mode is data network mode, the terminal's IMS switch is turned on, and the terminal is in an unlocked state and a screen-on state, then the terminal is determined to be in the target state.
[0118] Optionally, the IMS icon exception handling device 500 further includes:
[0119] The third determining module is used to determine, based on a time threshold, the detection time for re-detecting the IMS icon status on the terminal's display layer if the IMS icon status is not abnormal. When the detection time for re-detecting the IMS icon status is reached, the detection module is triggered again to detect the IMS icon status on the terminal's display layer.
[0120] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0121] Figure 6 This is a block diagram illustrating an IMS icon exception handling device 600 according to an exemplary embodiment, which can be provided as a terminal.
[0122] Reference Figure 6 The IMS icon exception handling device 600 may include one or more of the following components: processing component 602, memory 604, power supply component 606, multimedia component 608, audio component 610, input / output (I / O) interface 612, sensor component 614, and communication component 616.
[0123] Processing component 602 typically controls the overall operation of the IMS icon exception handling device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the IMS icon exception handling method described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0124] Memory 604 is configured to store various types of data to support the operation of the IMS icon exception handling device 600. Examples of this data include instructions for any application or method operating on the IMS icon exception handling device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0125] Power supply component 606 provides power to the various components of the IMS icon exception handling device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the IMS icon exception handling device 600.
[0126] The multimedia component 608 includes a screen that provides an output interface between the IMS icon's anomaly handling device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the IMS icon's anomaly handling device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0127] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when the IMS icon's exception handling device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0128] Input / output (I / O) interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0129] Sensor assembly 614 includes one or more sensors for providing status assessments of various aspects of the IMS icon anomaly handling device 600. For example, sensor assembly 614 can detect the on / off state of the IMS icon anomaly handling device 600, the relative positioning of components such as the display and keypad of the IMS icon anomaly handling device 600, changes in the position of the IMS icon anomaly handling device 600 or one of its components, the presence or absence of user contact with the IMS icon anomaly handling device 600, and temperature changes of the IMS icon anomaly handling device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0130] Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices. The IMS icon-based exception handling device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0131] In an exemplary embodiment, the IMS icon exception handling device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-described IMS icon exception handling method.
[0132] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by the processor 620 of the IMS icon exception handling device 600 to complete the IMS icon exception handling method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0133] The aforementioned device can be a standalone electronic device or a part of a standalone electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), and SoC (System on Chip). The aforementioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the aforementioned IMS icon exception handling method. The executable instructions can be stored in the integrated circuit or chip or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, it implements the above-mentioned exception handling method for the IMS icon; or, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution to implement the above-mentioned exception handling method for the IMS icon.
[0134] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for executing the above-described exception handling method for the IMS icon when executed by the programmable device.
[0135] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0136] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for handling anomalies in IMS icons, characterized in that, include: When it is determined that the terminal is in the target state, the state of the IMS icon is detected in the display layer of the terminal, wherein the target state is the state in which the terminal is used to display the IMS icon; If the IMS icon status is abnormal, then perform the first target operation on the modem layer of the terminal; Determine the execution result of performing the first target operation on the modem layer, the execution result being used to characterize whether the IMS service of the modem layer is successful or abnormal; Based on the execution result, a recovery operation for the IMS icon is determined to restore the IMS icon.
2. The method according to claim 1, characterized in that, The first target operation performed on the modem layer of the terminal includes: IMS status detection is performed on the modem layer; If the IMS state of the modem layer is abnormal, then the recovery operation corresponding to the modem layer is performed.
3. The method according to claim 2, characterized in that, Determining the execution result of the modem layer performing the first target operation includes: If the IMS status of the modem layer is normal, or if the IMS status of the modem layer is normal again after performing the recovery operation corresponding to the modem layer, the execution result is determined to be successful. If the IMS status of the modem layer is determined to be abnormal after the recovery operation corresponding to the modem layer is performed, then the execution result is determined to be abnormal.
4. The method according to claim 1, characterized in that, The step of determining the restoration operation for the IMS icon based on the execution result includes: If the execution result of the first target operation on the modem layer is successful, then at least one second target operation corresponding to the frame layer of the terminal, and the restart operation of the process corresponding to the display layer when the execution result of the frame layer is successful, are determined as the recovery operation of the IMS icon. The second target operation includes the detection operation of the IMS status of the frame layer, and the recovery operation corresponding to the frame layer when the IMS status is abnormal. If the execution result of the first target operation on the modem layer is abnormal, then restarting the terminal is determined as a recovery operation for the IMS icon.
5. The method according to claim 4, characterized in that, The method further includes: After the restart operation of the process corresponding to the display layer is executed, the IMS icon status of the display layer is obtained; If the obtained IMS icon status is abnormal, control the terminal to restart.
6. The method according to claim 4, characterized in that, The recovery operation corresponding to the framework layer includes at least one of the following: Restart the communication process of the terminal; Restart the process corresponding to the framework layer.
7. The method according to claim 1, characterized in that, The recovery operation corresponding to the modem layer includes at least one of the following: Control the modem layer to reconnect to the current network; Control the terminal to perform a network switching operation; Controls the modem layer to connect to networks other than the current network; Restart the process corresponding to the modem layer.
8. The method according to claim 1, characterized in that, Determining that the terminal is in the target state includes: If the terminal has a SIM card inserted, the terminal is connected to a network signal, the terminal's network mode is data network mode, the terminal's IMS switch is turned on, and the terminal is in an unlocked state and a screen-on state, then the terminal is determined to be in the target state.
9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: If the IMS icon status is not abnormal, the detection time for re-detecting the IMS icon status on the terminal's display layer is determined based on a time threshold. When the detection time for re-detecting the IMS icon status is reached, the step of detecting the IMS icon status on the display layer of the terminal is triggered again.
10. An anomaly handling device for IMS icons, characterized in that, include: The detection module is used to detect the state of the IMS icon on the display layer of the terminal when it is determined that the terminal is in a target state, wherein the target state is the state in which the terminal is used to display the IMS icon; The processing module is configured to perform a first target operation on the modem layer of the terminal if the IMS icon status is abnormal. The first determining module is used to determine the execution result of the modem layer performing the first target operation, and the execution result is used to characterize whether the IMS service of the modem layer is successful or abnormal; The second determining module is used to determine the recovery operation for the IMS icon based on the execution result, so as to restore the IMS icon.
11. An anomaly handling device for IMS icons, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the exception handling method for IMS icons as described in any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by the processor, it implements the exception handling method for the IMS icon as described in any one of claims 1 to 9.
13. A chip, characterized in that, It includes a processor and an interface; the processor is used to read instructions to execute the exception handling method for IMS icons as described in any one of claims 1 to 9.
Citation Information
Patent Citations
IMS (IP Multimedia Subsystem) registration status update reporting method and device
CN106713350A
Correction method and device of IMS registration status
CN106899957A