Network residing capability detection method and device and storage medium

By detecting and recording the network registration status of the SIM card, the problem of users being unable to accurately determine the reason why the SIM card is not residing in the network system is solved, and self-checking and real-time feedback of the SIM card network-based capabilities are realized, improving the user experience.

CN119629662APending Publication Date: 2025-03-14BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311177700.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, users cannot accurately determine the reason why the SIM card is not residing in the selected network format, resulting in mistakenly thinking that the terminal has a malfunction and affecting the user experience.

Method used

By detecting the terminal's target network standard registration status and historical registration status record, if registration fails, a prompt message will be displayed to inform the user that the SIM card does not support the network standard residency, and an option to turn off the target network standard function switch.

Benefits of technology

It realizes self-test and real-time feedback on the network-based SIM card, accurately informing users of the reasons why the SIM card is not residing in the network-based SIM card, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629662A_ABST
    Figure CN119629662A_ABST
Patent Text Reader

Abstract

The invention relates to a resident network capability detection method and device and a storage medium. The network residing capability detection method comprises the following steps: detecting a current registration state of a terminal for target network type registration; in response to detection that the current registration state of the target network type is registration failure, detecting a registration state record; if the registration state record is registration failure, first prompt information is displayed, and the first prompt information is used for prompting that the SIM card does not support residence of the target network type. According to the invention, self-inspection of the mobile terminal on the network residing capability of the SIM card and real-time feedback of the abnormal network residing capability are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of mobile terminal communications, and in particular to a method, device and storage medium for detecting network capability. Background Art

[0002] With the development of 5G networks, SIM card-related technologies used in mobile terminals are becoming increasingly mature.

[0003] In the related art, the network status of the SIM card is mainly determined by the network status displayed by the terminal after the corresponding network standard switch is turned on. For example, when the user turns on the network standard switch, when the terminal displays that the network status is not resident on the network where the network standard selected by the user is located, the user determines that the current terminal cannot use the corresponding network standard. However, in this way, the user cannot determine the reason for not resident on the selected network standard, and mistakenly believes that the terminal has a fault, affecting the user experience. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device and storage medium for detecting network capability.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for detecting network resident capability is provided, the method comprising: detecting a current registration status of a terminal for registering a target network standard; in response to detecting that the current registration status of the target network standard is registration failure, detecting a registration status record, the registration status record being used to record a historical registration status of the network standard; if the registration status record is registration failure, displaying a first prompt message, the first prompt message being used to prompt that a SIM card does not support resident on the target network standard.

[0006] In one embodiment, the registration status record is determined in the following manner: in response to satisfying at least one of the following conditions, the registration status of the pre-created terminal target network standard is recorded and updated in real time to obtain a registration status record: the terminal in which the user identity SIM card is inserted is not turned on; the current registration status of the target network standard registration is successful registration; the target network standard registration status is recorded as successful registration; when the target network standard registration failure is detected and a prompt is given to turn off the target network standard function switch, the user's operation of turning off the target network standard function switch is not detected.

[0007] In one embodiment, displaying the first prompt information includes: setting the value of the abnormal flag to a first value, wherein the first value is used to indicate that the SIM card does not support the target network standard; and controlling the application interface display layer of the terminal based on the abnormal flag to display the first prompt information.

[0008] In one implementation, the abnormal flag is created synchronously with the registration status of the terminal for the target network standard, and the initial value of the abnormal flag is a second value, and the second value indicates that the SIM card supports the target network standard.

[0009] In one embodiment, the method further includes: if it is detected that both the current registration status and the registration status record are registration failures, and the terminal turns on the function switch of the target network standard, displaying a second prompt message, wherein the second prompt message is used to prompt to turn off the function switch of the target network standard.

[0010] According to a second aspect of an embodiment of the present disclosure, a network resident capability detection device is provided, the device comprising: a detection unit, configured to detect a current registration status of a terminal for registering a target network standard; and configured to detect a registration status record of the target network standard in response to detecting that the current registration status of the target network standard is a registration failure; and a display unit, configured to display a first prompt message when the registration status record is a registration failure, the first prompt message being used to prompt that a SIM card does not support resident status of the target network standard.

[0011] In one embodiment, the registration status record is determined in the following manner: in response to satisfying at least one of the following conditions, the registration status of the pre-created terminal target network standard is recorded and updated in real time to obtain a registration status record: the terminal in which the user identity SIM card is inserted is not turned on; the current registration status of the target network standard registration is successful registration; the target network standard registration status is recorded as successful registration; when the target network standard registration failure is detected and a prompt is given to turn off the target network standard function switch, the user's operation of turning off the target network standard function switch is not detected.

[0012] In one embodiment, the detection unit displays the first prompt information in the following manner: setting the value of the abnormal flag to a first value, wherein the first value is used to indicate that the SIM card does not support the target network standard; and controlling the application interface display layer of the terminal based on the abnormal flag to display the first prompt information.

[0013] In one implementation, the abnormal flag is created synchronously with the registration status of the terminal for the target network standard, and the initial value of the abnormal flag is a second value, and the second value indicates that the SIM card supports the target network standard.

[0014] In one embodiment, the display unit is also used to: when the detection unit detects that the current registration status and the registration status record are both registration failures, and the terminal turns on the function switch of the target network standard, display a second prompt message, and the second prompt message is used to prompt to turn off the function switch of the target network standard.

[0015] According to a third aspect of an embodiment of the present disclosure, a network-resident capability detection device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to: execute the method described in the first aspect or any one of the implementations of the first aspect.

[0016] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method described in the first aspect or any one of the embodiments of the first aspect.

[0017] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by detecting that the target network standard registration state of the terminal into which the SIM card is inserted is abnormal, information on the cause of the abnormal network capability of the terminal in the target network standard is displayed on the display interface.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] Figure 1 The present invention is a flow chart showing a method for detecting network capability according to an exemplary embodiment.

[0021] Figure 2 The present invention is a flowchart showing a method for determining a registration status record according to an exemplary embodiment.

[0022] Figure 3 The figure is a flowchart of a method for displaying first prompt information according to an exemplary embodiment.

[0023] Figure 4 The present invention is a flow chart showing a method for detecting network capability according to an exemplary embodiment.

[0024] Figure 5 The figure is a flow chart of another method for detecting network capability according to an exemplary embodiment.

[0025] Figure 6 The present invention is a block diagram of a network-based capability detection device according to an exemplary embodiment.

[0026] Figure 7 It is a block diagram showing a device for detecting network capability according to an exemplary embodiment.

[0027] Figure 8 It is a block diagram showing a device for detecting network capability according to an exemplary embodiment. DETAILED DESCRIPTION

[0028] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0029] A SIM (Subscriber Identity Module) card, also known as a user identification card, is often placed in a mobile terminal and is used for communication and networking of the mobile terminal.

[0030] In related technologies, with the rapid development of science and technology, the communication capabilities of mobile terminals have gradually matured. Since SIM cards have been put into large-scale use, people have been enjoying the convenience they bring all the time. For example, the implementation of 4G and 5G networks has greatly improved the communication quality of mobile terminals compared to the past, and can provide users with a better experience.

[0031] However, even though network technologies such as 4G and 5G have been widely used, the stability of the SIM card in the mobile terminal is still a major problem. In many cases, even if the user chooses to stay on the network in a certain network standard, such as turning on the function switch of the corresponding network standard, for various reasons, the SIM card cannot connect to the network under the corresponding network standard, so the mobile terminal cannot provide the functions of the corresponding network standard.

[0032] In the related technology, the detection of network-station capability can be mainly judged through the display interface of the mobile terminal application display layer. For example, a user uses a mobile terminal that supports both 4G and 5G network standards. When all application functions are normal, the user turns on the 5G switch in the mobile terminal. The current network-station mode displayed on the display screen can be used to determine whether the current device is stationed on the 5G network. If the current station is on a 5G network, relevant information can be directly seen on the display screen, otherwise the current device is not stationed on a 5G network.

[0033] However, using this method to detect the network-stationing capability can only obtain the network-stationing information of the device in the current state. If an abnormality occurs in the network stationing, the reason for the current abnormality cannot be known. For example, if a failure occurs in the communication process of the SIM card in the mobile terminal or the corresponding networking service is not opened, it cannot normally station on the 5G network, but the user can only see that the current status is not stationed on the 5G network. It may be believed that the current service area does not support 5G, and will not realize that there is an abnormality in the network-stationing capability of the internal SIM card. When the user tries to station on the 5G network again in another place, he will find that the device is still not stationed on the 5G network. Therefore, using this method will cause the user to be unable to clearly understand the reason why the current device is not stationed on the target network standard, causing trouble to the user.

[0034] In view of this, an embodiment of the present disclosure provides a method for detecting network capability. The method records and updates the network capability history data of a SIM card, determines the network status according to the historical registration status, and displays it to the user through an application display layer. At the same time, an option of turning off the target network standard function is provided. Then, after obtaining the registration status records of all network standards, the network capability self-check of the SIM card and real-time feedback of abnormal network capability are realized.

[0035] Figure 1 is a flow chart of a method for detecting network capability according to an exemplary embodiment. Figure 1 As shown, the network capability detection method is used in a terminal and includes the following steps.

[0036] In step S11, the current registration status of the terminal into which the SIM card is inserted for target network standard registration is detected.

[0037] In the embodiment of the present disclosure, the target network standard refers to the network standard that the user expects to reside on, such as the network standard turned on by the corresponding function switch, which can be manually selected.

[0038] In the embodiment of the present disclosure, the network stationing capability of the SIM card is detected. Since the mobile terminal may have a delay in updating the terminal network stationing history record, it is first necessary to detect whether the terminal with the SIM card inserted is successfully registered in the target network standard. For example, to detect the terminal's ability to station in the 5G network, it is first necessary to detect the current terminal's network status and whether it has successfully registered in 5G, and then perform subsequent further detection operations.

[0039] In step S12, in response to detecting that the current registration status of the target network standard is registration failure, the registration status record is detected.

[0040] In the disclosed embodiment, when it is detected that the terminal currently fails to register in the network corresponding to the target network standard, it is necessary to detect the registration status record of the terminal for the target network standard to determine whether the terminal has successfully registered in the network corresponding to the target network standard.

[0041] In step S13, it is determined that the registration status record is registration failure.

[0042] In the disclosed embodiment, after obtaining the network-stationing history information related to all network standards of the terminal, it is necessary to extract the information of the target network standard. When the extracted network-stationing history information related to the target network standard indicates that the terminal has not been successfully registered for the target network standard, the historical registration status is determined to be registration failure.

[0043] In step S14, a first prompt message is displayed to prompt that the SIM card does not support the target network standard.

[0044] In the embodiment of the present disclosure, the first prompt information refers to information displayed on the terminal application display screen for prompting the user that the current SIM card does not support the target network standard.

[0045] In the embodiment of the present disclosure, in order to realize the self-check of the SIM card's network stationing capability, when it has been detected that the terminal has failed to register with the network corresponding to the target network standard, it is necessary to inform the user through a user interaction interface. For example, the abnormality of the SIM card's network stationing for the target network standard can be displayed on the terminal display screen. The terminal display screen can be understood as the desktop display interface of the terminal, or it can be the display interface of the running application.

[0046] In the disclosed embodiment, the self-check and real-time feedback of the abnormal network capability of the SIM card are successfully implemented; in order to accurately determine whether the network capability of the terminal is abnormal, it is necessary to obtain accurate registration status records.

[0047] It should be understood that the specific method for obtaining the historical registration status is not unique and is not limited in this disclosure.

[0048] In the disclosed embodiment, the target network standard registration status record includes all network-based information records within the terminal, and the registration status of the terminal with respect to the target network standard can be determined by querying the network-based historical records. For example, a historical status registration table is preset in the terminal, and multiple values ​​are set corresponding to the status of the terminal stationed in each network standard. When the process where the historical status registration table is located is started, whenever the network-based status in the SIM card changes (including but not limited to switching the networking mode), the historical status registration table will record the change in the network-based status and provide a query function. The terminal can query the contents in the table at any time to obtain the historical network status of the terminal under each network standard.

[0049] It should be understood that the above-mentioned recording of the terminal's online historical information in the terminal preset historical registration status table is only a feasible solution for obtaining the terminal's online historical registration information, and other means may be adopted to achieve the same effect, which is not limited in the present disclosure.

[0050] In addition, by recording the terminal's network history information and stipulating the value of the history status table, the network status corresponding to all network formats of the terminal can be obtained. Therefore, the limitation of the target network format disclosed in the present disclosure does not only include one target network format, and the network status detection of multiple network formats can be completed at the same time.

[0051] Figure 2 is a flow chart showing a method for determining a historical registration status according to an exemplary embodiment. Figure 2 As shown, the method for determining the historical registration status is used in a terminal and includes the following steps.

[0052] In step S21, it is determined whether a registration status update condition is satisfied.

[0053] In the embodiment of the present disclosure, when at least one of the following conditions is met, the registration status update condition is deemed to be met:

[0054] Condition 1: The terminal into which the user identity SIM card is inserted is not powered on.

[0055] Condition 2: The current registration status of the target network standard registration is registration successful.

[0056] Condition 3: The target network standard registration status is recorded as successful registration.

[0057] Condition 4: when it is detected that the target network standard registration fails and a prompt is given to turn off the target network standard function switch, no operation of the user turning off the target network standard function switch is detected.

[0058] Regarding condition 1, if the terminal is not powered on, the terminal itself will not be in the network state corresponding to the target network standard, so no subsequent operations are required. Adding this condition can prevent unnecessary power consumption.

[0059] Regarding conditions 2 and 3, when the current registration status of the target network standard is successful or the registration status record is successful, it indicates that the terminal has the ability to station in the network corresponding to the target network standard, so the registration status condition needs to be updated.

[0060] Regarding condition 4, if it is detected that the terminal cannot connect to the target network standard, after displaying the information prompting the user, the user has not turned off the function switch of the target network standard, then the registration status condition needs to be updated for subsequent judgment; if the user has turned off the function switch of the target network standard, it is meaningless to detect the relevant content of the target network standard. Adding this condition can prevent unnecessary power consumption.

[0061] In step S22, the registration status of the pre-created terminal target network standard is recorded and updated in real time.

[0062] In the disclosed embodiment, the registration status of the terminal target network standard is pre-created to facilitate subsequent updates.

[0063] In the disclosed embodiment, after confirming that the registration status of the terminal target network standard needs to be updated, the registration status of the terminal target network standard needs to be updated; the update should be done in real time to avoid delays that may cause inaccurate detection results.

[0064] In the disclosed embodiment, the registration status update of the terminal target network standard should be based on the current network status of the terminal and the historical network status information of the terminal, thereby avoiding omissions.

[0065] In step S23, a registration status record is obtained based on the registration status of the target network standard of the terminal.

[0066] In the disclosed embodiment, after the registration status of the target network standard of the terminal is updated, it is necessary to obtain the corresponding registration status record according to the target network standard that needs to be detected currently. For example, after the registration status records of the two target network standards of LTE (LongTerm Evolution, generally referring to the 4G system) and NR (New Radio, generally referring to the 5G system) of the terminal are updated, if the terminal's 5G capability is to be detected, it is only necessary to obtain the registration status record corresponding to NR and make subsequent judgments.

[0067] It should be understood that the above registration status record information may overlap for different network standards, that is, one piece of information can represent the registration status of multiple network standards, and the content related to the network history of the target network standard can be obtained. This method will not affect the final detection.

[0068] In the embodiment of the present disclosure, after the abnormality of the network capability is detected, it is necessary to display it on the application display end. This operation involves communication between modules. Therefore, the process of displaying it on the application display end is not directly triggered after the abnormality of the network capability is detected.

[0069] In the disclosed embodiment, before displaying the prompt information, interaction between internal modules is required to convert the detected abnormal network capability information into prompt information for display. Therefore, in order to facilitate interaction between modules, an abnormal flag can be set to reflect whether the terminal network capability is abnormal.

[0070] Figure 3 is a flow chart showing a method for displaying first prompt information according to an exemplary embodiment. Figure 3As shown, the method for displaying the first prompt information is used in a terminal and includes the following steps.

[0071] In step S31, the value of the abnormal flag is set to a first value.

[0072] In the embodiment of the present disclosure, the abnormal flag is used to indicate the situation that the SIM card is stationed in the network corresponding to the target network standard. When the SIM card does not support the network corresponding to the target network standard, the value of the abnormal flag is set to the first value.

[0073] In the disclosed embodiment, after the abnormal flag bit has changed, the relevant module in the terminal will report the change of the abnormal flag bit to the processing module, and then the processing module will pass the required operation to the user interface. For example, when the modem in the terminal detects that the abnormal flag bit has changed, it will inform the application process of the information represented by the corresponding value of the abnormal flag bit, and the application process will pass the corresponding information to the application interface display layer after processing, and control it to perform subsequent operations.

[0074] In step S32, the application interface display layer of the terminal is controlled based on the abnormal flag to display the first prompt information.

[0075] In the embodiment of the present disclosure, when the application interface display layer receives the operation instruction represented by the change of the abnormal flag bit, the first prompt information is displayed on the display screen.

[0076] In the embodiment of the present disclosure, the abnormal flag bit and the status of the terminal performing the target network standard can be created synchronously.

[0077] In the embodiment of the present disclosure, the second value may represent that the SIM card supports the target network standard of the terminal.

[0078] When the abnormal flag is created, it is preset to the second value. If there is no subsequent change, the default abnormal flag is always the second value.

[0079] In the disclosed embodiment, the abnormal flag has only two values, namely the first value and the second value. For example, when creating the abnormal flag, its name is set to flag, and the first value of flag is set to 1 and the second value is set to 0. When flag is 1, the SIM card does not support the target network standard of the terminal; when flag is 0, it is assumed that the SIM card supports the target network standard of the terminal.

[0080] It should be understood that the value of the exception flag bit can be set freely and is not limited in this disclosure.

[0081] In the disclosed embodiment, after the abnormality of the network capability is detected, in addition to displaying the abnormal information on the application display layer, a solution to the abnormal information may also be displayed on the application display screen.

[0082] Figure 4 is a flow chart of a method for detecting network capability according to an exemplary embodiment. Figure 4 As shown, the network capability detection method is used in a terminal and includes the following steps.

[0083] In step S41, it is determined that the terminal does not support the target network standard function condition.

[0084] In the embodiment of the present disclosure, the condition that the terminal does not support the target network standard function includes the following two conditions:

[0085] Condition a: It is detected that both the current registration status and the registration status record indicate registration failure.

[0086] Condition b: The terminal turns on the function switch of the target network standard.

[0087] Among them, only when conditions a and b are met at the same time, it is considered that the condition that the terminal does not support the target network standard function is met.

[0088] For condition a, the current registration status and the historical registration status are both registration failures, indicating that the SIM card does not support the target network standard, which is a prerequisite for subsequent operations and must be met.

[0089] For condition b, if the terminal turns off the switch of the target network standard, no subsequent operation is required, so this condition must also be met.

[0090] In the embodiment of the present disclosure, before the solution for abnormal information is displayed on the application display screen, it is necessary to first determine whether the terminal does not support the function condition of the target network standard.

[0091] In step S42, the second prompt information is displayed.

[0092] In the embodiment of the present disclosure, the second prompt information is used to remind the user to turn off the function switch of the target network standard.

[0093] Since it has been detected that the terminal does not support the target network standard function, it is necessary to display a reminder on the application screen to turn off the networking mode of the target network standard, thereby achieving the effect of reducing unnecessary networking power consumption.

[0094] In the embodiment of the present disclosure, the second prompt information may also be an interface provided to the user to directly close the target network standard networking mode, or other solutions for the terminal not supporting the target network standard function, which is not limited in the present disclosure.

[0095] In the disclosed embodiment, since the application display screen can display both abnormal network information and information on shutting down the target network standard networking function, the two can be combined to enhance the user experience.

[0096] Figure 5 is a flow chart of another method for detecting network capability according to an exemplary embodiment. Figure 5 As shown, the method for displaying the first prompt information is used in a terminal and includes the following steps.

[0097] In step S51, start.

[0098] In the embodiment of the present disclosure, before performing the on-network capability detection, the corresponding process needs to be started first.

[0099] In step S52, Reg_state=0, flag=0 are set.

[0100] In the embodiment of the present disclosure, during the process of detecting the network capability, a historical registration state table Reg_state and an abnormal flag flag are pre-created, and the initial value of flag is defined as 0.

[0101] Among them, Reg_state has four values, 0 means that it has never resided in LTE and NR, 1 means that it has resided in LTE but not in NR, 2 means that it has resided in NR but not in LTE, and 3 means that it has resided in LTE and NR, and the initial value of Reg_state is defined as 0.

[0102] It should be understood that the embodiment of the present disclosure only discusses the case where the terminal is stationed in NR, and therefore only judges whether the value of Reg_state is 1, but for other value situations, it can be extended to detect the stationing status of multiple networks, that is, the historical information of the terminal stationed in all networks is directly obtained through the value of Reg_state, which will not be repeated in this disclosure.

[0103] In step S53, the registration status of LTE and NR is recorded, and the value of Reg_state is updated in real time.

[0104] In the disclosed embodiment, as the user uses the SIM card, the network status will also change, so the value of Reg_state needs to be updated according to actual usage.

[0105] In step S54, it is determined whether the card is inserted and the computer is turned on.

[0106] In the disclosed embodiment, if the device is not powered on, no subsequent operation is required, and the process returns to step S53 to re-update the status table; if the device is powered on, the subsequent S55 operation is performed.

[0107] In step S55, it is determined whether the NR registration is rejected, and the network sends a message indicating that the SA capability is not supported.

[0108] In the disclosed embodiment, if the NR is registered normally, no subsequent operations are required, and the process returns to step S53 to re-update the status table; if it is found that the NR registration is rejected and the network sends information indicating that the terminal does not support SA (Standalone, 5G networking mode) capability, the process jumps to step S56 for subsequent operations.

[0109] In step S56, it is determined that Reg_state==1.

[0110] In the embodiment of the present disclosure, when the terminal has resided in LTE but not in NR and meets all the preceding conditions, it is determined that there is an NR abnormality in the SIM card, and the process jumps to S57 for subsequent operations; if the value of Reg_state is other values, it is considered that no network abnormality has occurred, and the process returns to step S53 to re-update the state table.

[0111] In step S57, the Modem sets abnormal flag=1 and reports the result to the AP.

[0112] In the disclosed embodiment, when the terminal NR capability is detected to be abnormal, the Modem adjusts the abnormal flag to 1 and reports it to the AP (Application Process) for subsequent operations.

[0113] In step S58, the AP reports the message to the UI.

[0114] In the disclosed embodiment, when the AP receives information about abnormal network stationing, it reports the message to the UI (User Interface), and subsequent operations are performed by the interface that directly interacts with the user.

[0115] In step S59, the UI displays that the current SIM card does not support SA, suggests contacting the operator to activate SA, and prompts the user whether to disable the SA capability.

[0116] In the disclosed embodiment, after receiving the network abnormality information, the UI will display the reason for the network abnormality and remind the user to turn off the SA capability.

[0117] In step S510, it is determined whether the user has disabled the SA capability.

[0118] In the embodiment of the present disclosure, if the user confirms to turn off the SA capability, then step S511 is adjusted to perform subsequent operations; if the user disagrees to turn off the SA capability, then the process returns to step S53 and the state table is updated again.

[0119] In step S511, the AP side disables the SIM card SA capability.

[0120] In the disclosed embodiment, after receiving an instruction from a user to disable the SA capability of a SIM card, the AP will perform a corresponding operation to disable the SA capability of the SIM card.

[0121] In step S512, end.

[0122] In the disclosed embodiment, after the operation of disabling the SA capability of the SIM card is completed, the process ends.

[0123] It should be understood that the above embodiment only performs SIM card network capability detection for the NR networking mode, which can be extended to multiple networks and is not limited in the present disclosure.

[0124] In addition, the naming and value selection of parameters and the setting of the interaction between modules in the above embodiments are only to achieve the technical effect that the final SIM card can self-check the abnormalities of multiple target network standards and display them on the application display screen. The specific implementation method is not limited in this disclosure.

[0125] In the embodiment of the present disclosure, after detecting an abnormality of the SIM card being stationed in the NR, an operation of shutting down the SA capability of the SIM card is provided, which can save power consumption caused by networking when the SA capability is turned on.

[0126] Based on the same concept, the embodiment of the present disclosure also provides a network-based capability detection device.

[0127] It is understandable that, in order to realize the above functions, the network capability detection device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0128] Figure 6 FIG. 1 is a block diagram of a network capability detection device according to an exemplary embodiment. Figure 6 The device includes a detection unit 101 and a display unit 102.

[0129] The detection unit 101 is used to detect the current registration status of the terminal for registering the target network standard; and in response to detecting that the current registration status of the target network standard is registration failure, detecting the target network standard registration status record; the display unit 102 is used to display a first prompt message when the registration status record is registration failure, and the first prompt message is used to prompt that the SIM card does not support the target network standard.

[0130] In one implementation, the registration status record is determined in the following manner: in response to satisfying at least one of the following conditions, the registration status of the pre-created terminal target network standard is recorded and updated in real time to obtain a registration status record: the terminal into which the user identity SIM card is inserted is not turned on; the current registration status of the target network standard registration is successful registration; the target network standard registration status is recorded as successful registration; when the target network standard registration failure is detected and a prompt is given to turn off the target network standard function switch, the user's operation of turning off the target network standard function switch is not detected.

[0131] In one implementation, the detection unit 101 displays the first prompt information in the following manner: setting the value of the abnormal flag to a first value, the first value being used to indicate that the SIM card does not support the target network standard; and controlling the application interface display layer of the terminal based on the abnormal flag to display the first prompt information.

[0132] In one implementation, the abnormal flag is created synchronously with the registration status of the terminal for the target network standard, and the initial value of the abnormal flag is a second value, which indicates that the SIM card supports the target network standard.

[0133] In one embodiment, the display unit 102 is also used to: when the detection unit 101 detects that the current registration status and the registration status record are both registration failures, and the terminal turns on the function switch of the target network standard, display a second prompt message, and the second prompt message is used to prompt to turn off the function switch of the target network standard.

[0134] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0135] Figure 7 1 is a block diagram of an apparatus 200 for detecting network capability according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0136] Reference Figure 7 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0137] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0138] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 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 memory, flash memory, magnetic disk or optical disk.

[0139] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0140] The multimedia component 208 includes a screen that provides an output interface between the device 200 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0141] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0142] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0143] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0144] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0145] In an exemplary embodiment, the apparatus 200 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 perform the above-mentioned on-network capability detection method.

[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0147] Figure 8 is a block diagram of a device 300 for detecting network capability according to an exemplary embodiment. For example, the device 300 may be provided as a server. Figure 8 The apparatus 300 includes a processing component 322, which further includes one or more processors, and a memory resource represented by a memory 332 for storing instructions executable by the processing component 322, such as an application. The application stored in the memory 332 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute instructions to perform the above-mentioned network capability detection method.

[0148] The device 300 may also include a power supply component 326 configured to perform power management of the device 300, a wired or wireless network interface 350 configured to connect the device 300 to a network, and an input / output (I / O) interface 358. The device 300 may operate based on an operating system stored in the memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.

[0149] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 332 including instructions, and the instructions can be executed by the processing component 322 of the device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0150] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "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. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0151] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0152] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0153] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0154] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0155] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A method for detecting network capability, characterized in that: The method comprises: Detect the current registration status of the terminal for target network standard registration; In response to detecting that the current registration status of the target network standard is registration failure, detecting a registration status record, the registration status record being used to record a historical registration status of the network standard; If the registration status record is registration failure, a first prompt message is displayed, where the first prompt message is used to prompt that the SIM card does not support the target network standard.

2. The method for detecting network capability according to claim 1, characterized in that: The registration status record is determined in the following manner: In response to at least one of the following conditions being met, the pre-created registration status of the terminal target network standard is recorded and updated in real time to obtain a registration status record: The terminal into which the user identity SIM card is inserted is not powered on; The current registration status of the target network standard registration is successful registration; The target network standard registration status is recorded as successful registration; When it is detected that the registration of the target network standard fails and a prompt is given to turn off the target network standard function switch, an operation of the user turning off the target network standard function switch is not detected.

3. The method for detecting network capability according to claim 1 or 2, characterized in that: The displaying of the first prompt information includes: Setting the value of the abnormal flag bit to a first value, where the first value is used to indicate that the SIM card does not support the target network standard; Based on the abnormal flag, the application interface display layer of the terminal is controlled to display the first prompt information.

4. The method for detecting network capability according to claim 3, characterized in that: The abnormal flag is created synchronously with the registration status of the terminal for the target network standard, and the initial value of the abnormal flag is a second value, wherein the second value indicates that the SIM card supports the target network standard.

5. The method for detecting network capability according to claim 1, characterized in that: The method further comprises: If it is detected that both the current registration status and the registration status record indicate registration failure, and the terminal turns on the function switch of the target network standard, a second prompt message is displayed, where the second prompt message is used to prompt the terminal to turn off the function switch of the target network standard.

6. A network capability detection device, characterized in that: The device comprises: A detection unit, configured to detect a current registration state of a terminal registering a target network standard; and configured to detect a registration state record of the target network standard in response to detecting that the current registration state of the target network standard is a registration failure; The display unit is used to display a first prompt message when the registration status is recorded as registration failure, wherein the first prompt message is used to prompt that the SIM card does not support the target network standard.

7. The network-staying capability detection device according to claim 6, characterized in that: The registration status record is determined in the following manner: In response to at least one of the following conditions being met, the pre-created registration status of the terminal target network standard is recorded and updated in real time to obtain a registration status record: The terminal into which the user identity SIM card is inserted is not powered on; The current registration status of the target network standard registration is successful registration; The target network standard registration status is recorded as successful registration; When it is detected that the registration of the target network standard fails and a prompt is given to turn off the target network standard function switch, an operation of the user turning off the target network standard function switch is not detected.

8. The network-staying capability detection device according to claim 6 or 7, characterized in that: The display unit displays the first prompt information in the following manner: Setting the value of the abnormal flag bit to a first value, where the first value is used to indicate that the SIM card does not support the target network standard; Based on the abnormal flag, the application interface display layer of the terminal is controlled to display the first prompt information.

9. The network-staying capability detection device according to claim 8, characterized in that: The abnormal flag is created synchronously with the registration status of the terminal for the target network standard, and the initial value of the abnormal flag is a second value, wherein the second value indicates that the SIM card supports the target network standard.

10. The network-staying capability detection device according to claim 6, characterized in that: The display unit is also used for: When the detection unit detects that both the current registration status and the registration status record are registration failures, and the terminal turns on the function switch of the target network standard, a second prompt message is displayed, where the second prompt message is used to prompt to turn off the function switch of the target network standard.

11. A network-based capability detection device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the method described in any one of claims 1-5.

12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method described in any one of claims 1 to 5.