Network display method and device, readable storage medium and chip
By obtaining and comparing the environmental information during the terminal device network cancellation and registration, and judging the SIM card characteristic information to display the network status, the problem of terminal devices showing no network or service before the network registration is successful, improving the user experience.
Patent Information
- Application Number
- CN202310765158.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
AI Technical Summary
Before the terminal device is successfully registered, the display interface may show problems such as no network or service, resulting in poor user experience.
By obtaining the environmental information and SIM card network information when the terminal device is cancelled, combining the environmental information when the network registration, we can determine whether specific conditions are met (such as the threshold of time and location) are met, and the characteristic information of the SIM card is obtained, and on the display interface Display network status to ensure that no network status is displayed before the network registration is successful.
It effectively solves the problem that terminal devices show no network or no service before network registration is successful, and improves user experience and interface stability.
Smart Images

Figure CN119211892A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a network display method, device, readable storage medium and chip. Background Art
[0002] The network status of the SIM card used by the terminal device is usually displayed on the display interface of the terminal device, wherein the displayed network status information usually includes the operator information of the SIM card, the network registration mode (such as LTE (i.e. 4G) or NR (i.e. 5G)), signal strength, etc. When the terminal device is turned off and then turned on again, the flight mode is turned off, or the SIM card is replaced, etc., it is necessary to re-register with the network. At this time, the network status (such as operator information, network registration mode, signal strength, etc.) may change. The icon showing the network status in the display interface needs to be displayed according to the network status of the terminal SIM card for network registration. However, it takes several seconds for the SIM card to register with the network. Therefore, when the terminal device needs to re-register with the network, the icon used to display the network status will show no network or no service. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a network display method, device, readable storage medium and chip.
[0004] According to a first aspect of an embodiment of the present disclosure, a network display method is provided, characterized in that it is applied to a terminal device, and the method includes:
[0005] In response to the network deregistration of the terminal device, obtaining first environment information at the time of the network deregistration and first network information of the SIM card in the first card slot, wherein the first network information includes first feature information; the first card slot is any card slot in the terminal device;
[0006] In response to the network registration of the terminal device, obtaining second environment information at the time of the current network registration;
[0007] When the first environment information and the second environment information meet the set conditions, obtaining the second characteristic information of the SIM card in the first card slot during the current network registration;
[0008] The network status of the terminal device is displayed on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
[0009] Optionally, the first environment information is a first time, and the second environment information is a second time, and when the first environment information and the second environment information meet a set condition, acquiring the second characteristic information of the SIM card in the first card slot during the current network registration includes:
[0010] When the time difference between the second time and the first time is less than the time length threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0011] Optionally, the first environmental information is a first location, the second environmental information is a second location, and when the first environmental information and the second environmental information meet a set condition, acquiring the second characteristic information of the SIM card in the first card slot during the current network registration includes:
[0012] When the distance between the second position and the first position is less than a distance threshold, second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0013] Optionally, the first environmental information is a first time and a first location, and the second environmental information is a second time and a second location, and when the first environmental information and the second environmental information meet a set condition, acquiring the second characteristic information of the SIM card in the first card slot during the current network registration includes:
[0014] When the time difference between the second time and the first time is less than a time length threshold, and the distance between the second position and the first position is less than a distance threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0015] Optionally, when the first characteristic information is a first IMSI and the second characteristic information is a second IMSI; displaying the network status of the terminal device on a display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information includes:
[0016] When the first IMSI and the second IMSI are the same, displaying the network status of the terminal device on the display interface according to the first network information;
[0017] When the first IMSI and the second IMSI are different, a network status display screen preset by the terminal device is displayed on the display interface.
[0018] Optionally, when the first characteristic information is a first MCC-MNC and the second characteristic information is a second MCC-MNC; displaying the network status of the terminal device on a display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information includes:
[0019] In a case where the first MCC-MNC and the second MCC-MNC are the same, displaying the network status of the terminal device on the display interface according to the first network information;
[0020] In the case that the first MCC-MNC and the second MCC-MNC are different, a network status display screen preset by the terminal device is displayed on the display interface.
[0021] Optionally, after displaying the network status of the terminal device on a display interface of the terminal device according to the first feature information, the second feature information and the first network information, the method further includes:
[0022] If the network registration is successful, obtain the current second network information of the SIM card in the first card slot;
[0023] The network status of the SIM card in the first card slot is modified on the display interface according to the second network information.
[0024] According to a second aspect of an embodiment of the present disclosure, a network display device is provided, which is applied to a terminal device, and the device includes:
[0025] A first acquisition module is configured to, in response to the network deregistration of the terminal device, acquire first environment information at the time of the network deregistration and first network information of the SIM card in the first card slot, wherein the first network information includes first feature information; the first card slot is any card slot in the terminal device;
[0026] A second acquisition module is configured to acquire second environment information at the time of the current network registration in response to the network registration of the terminal device;
[0027] A third acquisition module is configured to acquire second characteristic information of the SIM card in the first card slot during the current network registration when the first environment information and the second environment information meet a set condition;
[0028] The display module is configured to display the network status of the terminal device on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
[0029] According to a third aspect of an embodiment of the present disclosure, there is provided a network display device, including:
[0030] processor;
[0031] a memory for storing processor-executable instructions;
[0032] Wherein, the processor is configured to: implement the steps of any one of the methods described in the first aspect above when executing the executable instructions.
[0033] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, wherein the program instructions, when executed by a processor, implement the steps of any one of the methods described in the first aspect above.
[0034] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, comprising a processor and an interface; the processor is used to read instructions to execute the steps of any one of the methods described in the first aspect above.
[0035] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0036] In the above technical solution, in response to the network deregistration of the terminal device, the first environment information at the time of the network deregistration and the first network information of the SIM card in the first card slot are obtained, and the first network information includes the first characteristic information; the first card slot is any card slot in the terminal device; in response to the network registration of the terminal device, the second environment information at the time of this network registration is obtained; if the first environment information and the second environment information meet the set conditions, the second characteristic information of the SIM card in the first card slot at the time of this network registration is obtained; according to the first characteristic information, the second characteristic information and the first network information, the network status of the terminal device is displayed on the display interface of the terminal device. Through the above technical solution, the problem that the icon showing the network status of the terminal device before the network registration is successful shows no network status or no service can be solved.
[0037] 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
[0038] 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.
[0039] Figure 1 It is a schematic diagram of an exemplary terminal device display interface 100 involved in various embodiments of the present disclosure.
[0040] Figure 2 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0041] Figure 3 This is a schematic diagram of an exemplary network information storage structure.
[0042] Figure 4 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0043] Figure 5 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0044] Figure 6 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0045] Figure 7 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0046] Figure 8 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0047] Fig. 9 The present invention is a flowchart of a network display method according to an exemplary embodiment.
[0048] Fig.10 is a block diagram of a network display device 1000 according to an exemplary embodiment.
[0049] Fig.11 is a block diagram showing a network display device 1100 according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0051] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0052] Figure 1 is a schematic diagram of an exemplary terminal device display interface 100 involved in various embodiments of the present disclosure, and the terminal device display interface 100 includes: a status display bar 101 and a content display bar 102;
[0053] Among them, the status display bar 101 includes a first signal tower 1011, a second signal tower 1012, a first display area 1013 and a second display area 1014; the first signal tower 1011 is used to display the signal strength grid number of the first SIM card used by the first card slot of the terminal device; the second signal tower 1012 is used to display the signal strength grid number of the second SIM card used by the second card slot of the terminal device, wherein a vertical line in the signal tower represents a signal grid number, and the signal grid number of the signal tower can be adjusted in real time according to the network status of the SIM card; the first display area 1013 is used to display one or more of the network mode of the first SIM card (such as LTE (i.e. 4G) or NR (i.e. 5G)), operator name, and roaming status; the second display area 1014 is used to display one or more of the network mode of the second SIM card (such as LTE (i.e. 4G) or NR (i.e. 5G)), operator name, and roaming status.
[0054] Exemplarily, the terminal device display interface 100 is an exemplary display interface, which is a display interface of a terminal device with two card slots, rather than a display interface of all terminal devices. The display interfaces of terminal devices of different manufacturers may also be different, wherein the display content, position, size, etc. of the status display bar 101 can be customized by the terminal device manufacturer or user. It is understandable that when the terminal device has multiple card slots, the number of signal towers and display areas in the status display bar 101 can be adaptively adjusted according to the number of card slots of the terminal device.
[0055] Figure 2 is a flowchart of a network display method according to an exemplary embodiment. Figure 2 As shown, the method is used in a terminal device and includes the following steps:
[0056] In step S21, in response to the network deregistration of the terminal device, the first environment information at the time of the network deregistration and the first network information of the SIM card in the first card slot are obtained, and the first network information includes first feature information; the first card slot is any card slot in the terminal device.
[0057] Exemplarily, in various embodiments of the present disclosure, the terminal device is a UE (User Equipment) that can register with the network through a SIM (Subscriber Identity Module) card, such as a mobile phone, a tablet, a watch, or other devices that can register with the network through a SIM card. Usually, the terminal device has at least one SIM card slot, and each card slot can use SIM cards of different network operators. Only after the terminal device successfully registers with the network through the SIM card can it use the operator's communication network and enjoy communication services. When the terminal device is turned off, the SIM card is replaced, the flight mode is turned on, etc., the terminal device will be deregistered from the network and lose the communication service provided by the operator. Different SIM cards may have different network information, and the network information can be stored in the terminal device in different forms (such as in the memory of the terminal device, in a database accessible to the terminal device, etc.), for example, in Figure 1 Taking the terminal device with dual card slots as an example, the network information can be stored in the terminal device in the form of a table, for example, in the form shown in the following Table 1:
[0058] Table 1
[0059]
[0060] As shown in Table 1, data 1 and 2 in the card slot column correspond to the first card slot and the second card slot of the terminal device respectively, and the data in the rows where the first card slot and the second card slot are located are the network information of the SIM cards used by the first card slot and the second card slot when the terminal device is deregistered from the network, which are the operator name, IMSI, MCC-MNC, network mode, signal strength and number of signal strength grids of the SIM card respectively; wherein, IMSI (International Mobile Subscriber Identification Number) is a mark to distinguish mobile users, which is stored in the SIM card and can be used to distinguish effective information of mobile users; MCC-MNC is composed of MCC (mobile country code) and MNC (mobile network code); network modes may include LTE and NR, etc.; signal strength is expressed in dbm (decibel milliwatts), and the signal strength is usually a negative number. The larger the value, the stronger the signal strength; the number of signal strength grids can be used as follows Figure 1 The signal strength grid number corresponds to the signal strength. For terminal devices produced by different manufacturers, different signal strength ranges correspond to different signal strength grid numbers. It is understandable that the above network information may also include other information of the SIM card, such as roaming status, ASU (independent signal unit), etc. Alternatively, the network information may also be in the form of text, code, document, and other information. Figure 3The Flag_H structure shown is stored in the terminal device in the following manner.
[0061] In step S22, in response to the network registration of the terminal device, the second environment information at the time of the current network registration is obtained.
[0062] Exemplarily, before obtaining the second environment information at the time of network registration, it can also be determined whether a SIM card is inserted in the first card slot. If a SIM card is not inserted in the first card slot, it means that the first card slot of the terminal device does not need to be registered with the network. Therefore, in the example Figure 1 The first display area 1013 and / or the location of the first signal tower 1011 corresponding to the first card slot of the display interface shown in the figure displays no service, no SIM card, etc., which are used to mark that the first card slot does not have a SIM card inserted in the text or symbol. Among them, no SIM card is inserted can mean that there is no SIM card in the card slot, or it can mean that a SIM card is inserted in the card slot but network registration cannot be performed or the terminal device cannot identify the SIM card. It can be understood that when the terminal device has multiple card slots, the above judgment can be performed for each card slot one by one.
[0063] In step S23, when the first environment information and the second environment information meet the set conditions, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0064] For example, the network strength, network strength grid number, etc. in the network information may change with changes in the environment. For example, the network strength and network strength grid number may be different at different locations, and the network strength and network strength grid number may be different at the same location at different times.
[0065] In step S24, the network status of the terminal device is displayed on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
[0066] Exemplarily, when the environment information satisfies the set conditions, if the second characteristic information of the SIM card used by the terminal device for the current network registration is the same as the first characteristic information of the SIM card used by the terminal device for the previous network deregistration, before the current network registration is successful, the network status of the terminal device can be displayed on the display interface of the terminal device according to the first network information; Figure 1 Taking the terminal device display interface shown as an example, the number of signal grids in the signal tower can be displayed according to the number of signal strength grids in the network information (for example, when the number of signal strength grids is 3, the signal tower with 3 grids is displayed), and one or more of the operator name, network mode, and roaming status in the first network information can be displayed in the display area. The content displayed in the display area can be set by the terminal device manufacturer or customized by the user.
[0067] In the above technical solution, in response to the network deregistration of the terminal device, the first environment information at the time of network deregistration and the first network information of the SIM card in the first card slot are obtained, and the first network information includes the first characteristic information; the first card slot is any card slot in the terminal device; in response to the network registration of the terminal device, the second environment information at the time of this network registration is obtained; if the first environment information and the second environment information meet the set conditions, the second characteristic information of the SIM card in the first card slot at the time of this network registration is obtained; according to the first characteristic information, the second characteristic information and the first network information, the network status of the terminal device is displayed on the display interface of the terminal device. Through the above technical solution, the problem that the area where the network status of the terminal device is displayed before the network registration is successful shows no network or no service can be solved.
[0068] Figure 3 This is a schematic diagram of an exemplary network information storage structure.
[0069] For example, when the terminal device itself is registered with the network and then logs out of the network, Figure 2 The updated R=1 in the Flag_H structure shown in the figure (the default R=0, indicating that the terminal device does not use a SIM card), and then the corresponding slot1 and slot2 are updated. The update rules of slot1 and slot2 are: if only the first card slot of the terminal device has a SIM card inserted, update slot1=1, slot2=0; if only the second card slot of the terminal device has a SIM card inserted, update slot1=0, slot2=1; if both the first card slot and the second card slot of the terminal device have SIM cards inserted, update slot1=1, slot2=1; if the terminal device uses more SIM cards, a simple deformation can be performed according to the Flag_H structure to add more SIM card information.
[0070] Figure 4 is a flowchart of a network display method according to an exemplary embodiment. Figure 4 As shown, the first environment information is the first time, and the second environment information is the second time. Step S23 includes the following steps:
[0071] In step 231, when the time difference between the second time and the first time is less than the time length threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0072] Exemplarily, the second time is the start time of the current network registration of the terminal device (for example, turning on the device or turning off the flight mode, etc.), and the first time is the time of the last network deregistration (for example, turning off the device or turning on the flight mode, etc.) before the current network registration. Since some data in the network information of the terminal device may change with time, when the difference between the second time and the first time is greater than or equal to a preset duration threshold, the network information of the terminal device may change due to the large change in time; and when the difference between the second time and the first time is less than the preset duration threshold, the network information of the terminal device may not change due to the small change in time; the duration threshold can be set by the manufacturer of the terminal device based on experience.
[0073] Figure 5 is a flowchart of a network display method according to an exemplary embodiment. Figure 5 As shown, the first environment information is the first position, and the second environment information is the second position. Step S23 includes the following steps:
[0074] In step 232, when the distance between the second position and the first position is less than a distance threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0075] Exemplarily, the second position is the position of the current network registration of the terminal device (for example, turning on or turning off the flight mode, etc.), and the first position is the position of the network deregistration (for example, turning off or turning on the flight mode, etc.) before the current network registration. Since the network information of the terminal device may change with the change of the position, when the difference between the second position and the first position is greater than or equal to the preset distance threshold, the network information of the terminal device may change due to the large position change; and when the difference between the second position and the first position is less than the preset distance threshold, the network information of the terminal device may not change due to the small position change; the distance threshold can be set by the manufacturer of the terminal device according to the experience value. Among them, the distance and threshold can be the maximum value allowed for the difference between the second position and the first position, or can be a specified position range, such as within the range of the same cell, etc.
[0076] Figure 6 is a flowchart of a network display method according to an exemplary embodiment. Figure 6 As shown, the first environmental information is the first time and the first position, and the second environmental information is the second time and the second position. Step S23 includes the following steps:
[0077] In step 233, when the time difference between the second time and the first time is less than the duration threshold, and the distance between the second position and the first position is less than the distance threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
[0078] Exemplarily, when the terminal device performs network registration, the user's location may change with time. Therefore, considering the changes in the location and time of the terminal device at the same time, it is possible to more accurately determine whether the network information of this network registration is the same or similar to the network information at the previous network deregistration. The second time and the second position are respectively the time and position of the current network registration of the terminal device (for example, turning on or turning off the flight mode, etc.), and the first time and the first position are the time and position of the network deregistration (for example, turning off or turning on the flight mode, etc.) before the current network registration. When the difference between the second time and the first time is less than the preset duration threshold, and when the difference between the second position and the first position is less than the preset distance threshold, it means that the time and position of the current network registration of the terminal device have not changed significantly compared to the time and position of the network deregistration, so the network information of the terminal device may not change.
[0079] Figure 7 is a flowchart of a network display method according to an exemplary embodiment. Figure 7 As shown, the first characteristic information is the first IMSI, and the second characteristic information is the second IMSI. Step S24 includes the following steps:
[0080] In step S241, the first IMSI and the second IMSI are compared.
[0081] In step S242, when the first IMSI and the second IMSI are the same, the network status of the terminal device is displayed on the display interface according to the first network information.
[0082] In step S243, when the first IMSI and the second IMSI are different, a network status display screen preset by the terminal device is displayed on the display interface.
[0083] Exemplarily, IMSI is an identification code used to distinguish different users in a cellular network and is not repeated in all cellular networks. Different SIM cards have unique IMSIs. Therefore, for the SIM card used in any card slot, if the IMSI during this network registration is the same as the IMSI during the previous network deregistration, it means that the terminal device has not replaced the SIM card in the card slot. Therefore, when the conditions for the current network registration of the terminal device meet the time and / or location conditions mentioned in the present disclosure, the network information of the SIM card obtained during the previous network deregistration of the terminal device can be used. Figure 1The display interface shown shows the network status related to the terminal device.
[0084] For example, the terminal device has two card slots (a first card slot and a second card slot), and the display interface is as follows: Figure 1 As shown, the first network information is as follows Figure 3 The Flag_H structure is stored in the terminal device, R=1, slot1=1, slot2=1, the first card slot and the second card slot of the terminal device are both inserted with SIM cards during the current network registration, and when the time and / or location conditions of the present disclosure are met, when the first IMSI and the second IMSI of the first card slot are the same, it means that within the time range of the current network registration and the previous network deregistration, the SIM card in the first card slot has not been replaced. Therefore, when the time and / or location conditions are met, if Figure 3 When the network mode in the network information of the first card slot (the position indicated by the arrow in slot1) is LTE (4G), and the number of network strength grids is 5, 4G is displayed at the first display area 1013 in the display interface, and 5 grids of signal are displayed at the first signal tower 1011; conversely, when the first IMSI and the second IMSI of the first card slot are different, the network status display screen preset by the terminal device is displayed at the first display area 1013, such as "no service, no SIM card or other text or icon", and the number of signal grids is not displayed at the first signal tower 1011; the corresponding network status display of the SIM card used in the second card slot is the same as that of the first card slot, which will not be repeated here. In summary, it can be understood that the content displayed in the first display area 1013 and the second display area 1014 can be customized by the user, and multiple network status contents in the network information can also be displayed. In addition, if the first network information is displayed as follows Figure 1 The network information of the corresponding card slot corresponds to the number in the card slot column. For example, the network information of the first card slot corresponds to the content of the row corresponding to the slot column 1. Except that the storage method of the first network information is different from the storage method of the Flag_H structure, the others are the same as when the Flag_H structure is stored, and will not be repeated here.
[0085] Figure 8 is a flowchart of a network display method according to an exemplary embodiment. Figure 8 As shown, the first characteristic information is the first MCC-MNC, and the second characteristic information is the second MCC-MNC. Step S24 includes the following steps:
[0086] In step S244, the first MCC-MNC is compared with the second MCC-MNC.
[0087] In step S245, when the first MCC-MNC and the second MCC-MNC are the same, the network status of the terminal device is displayed on the display interface according to the first network information.
[0088] In step S246, when the first MCC-MNC and the second MCC-MNC are different, a network status display screen preset by the terminal device is displayed on the display interface.
[0089] Exemplarily, MCC-MNC is composed of MCC (Mobile Country Code) and MNC (Mobile Network Code). When the MCC-MNC of different SIM cards are the same, it means that the network operators of these SIM cards are the same, and the network signal strengths of different SIM cards of the same operator at locations close to each other may be similar or the same. When the MCC-MNC at the time of this network registration is the same as the MCC-MNC at the previous network deregistration, it means that the network operator of the SIM card used by the terminal for this network registration is the same as the network operator of the SIM card used for the previous network deregistration. Therefore, when the conditions for the current network registration of the terminal device meet the time and / or location conditions mentioned above in the present disclosure, the network information of the SIM card obtained at the previous network deregistration of the terminal device can be used. Figure 1 The display interface shown shows the network status related to the terminal device.
[0090] For example, the terminal device has two card slots (a first card slot and a second card slot), and the display interface is as follows: Figure 1 As shown, the first network information is as follows Figure 3 The Flag_H structure is stored in the terminal device, R=1, slot1=0, slot2=1, and the first card slot and the second card slot of the terminal device are both inserted with SIM cards during this network registration, and when the time and / or location conditions mentioned in the present disclosure are met, slot1=0 indicates that no SIM card was inserted into the first card slot of the terminal device during the previous network deregistration. Therefore, a preset network status display screen of the terminal device is displayed at the first display area 1013, such as "no service, no SIM card or other text or icon", and the number of signal grids is not displayed at the first signal tower 1011; when the first MCC-MNC and the second MCC-MNC of the second card slot are the same, it means that the network operator of the SIM card used by the terminal during this network registration is the same as the network operator of the SIM card used during the previous network deregistration. Therefore, when the time and / or location conditions are met, in Figure 3When the network mode in the network information of the second card slot (the position indicated by the arrow of slot2) is NR (5G), and the number of network strength grids is 4, 5G is displayed at the second display area 1014 in the display interface, and 4 grids of signal are displayed at the second signal tower 1012; conversely, when the first MCC-MNC and the second MCC-MNC of the second card slot are different, the network status display screen preset by the terminal device is displayed at the second display area 1014, such as "no service, no SIM card or other text or icon", and the number of signal grids is not displayed at the second signal tower 1012; in summary, it can be understood that the content displayed in the first display area 1013 and the second display area 1014 can be customized by the user, or multiple network status contents in the network information can be displayed; other situations that may exist in the present disclosure (such as slot1=1, slot2=0, etc.) are simple deformations of the relevant contents in the above-mentioned multiple embodiments, and the principle remains unchanged, so they will not be repeated.
[0091] Fig. 9 is a flowchart of a network display method according to an exemplary embodiment. Fig. 9 As shown, the network display method further includes the following steps:
[0092] In step S25, when the current network registration is successful, the current second network information of the SIM card in the first card slot is obtained.
[0093] In step S26, the network status of the SIM card in the first card slot is modified on the display interface according to the second network information.
[0094] Exemplarily, the second network information contains the same content as the first network information. When the current network registration is successful, the network status displayed on the display interface according to the first network information needs to be corrected according to the second network information obtained during the current network registration.
[0095] For example, before the network registration is successful, in the display interface of the terminal device, "No Service" is displayed at the first display area 1013, and the number of signal bars is not displayed at the first signal tower 1011; 5G is displayed at the second display area 1014, and 4 signal bars are displayed at the second signal tower 1012. After the network registration is successful, the network mode registered by the SIM card in the first card slot is NR (5G), and the number of network signal strength bars is 5, then the "No Service" displayed at the first display area 1013 in the display interface is corrected to 5G, and the number of signal bars of the first signal tower 1011 is corrected to 5 signal bars; after the network registration is successful, the network mode registered by the SIM card in the second card slot is NR (5G), and the number of network signal strength bars is 5, then the 4 signal bars displayed at the second signal tower 1012 in the display interface are corrected to 5 signal bars, and the 5G displayed at the second display area 1014 is not corrected.
[0096] In the above technical solution, in response to the network deregistration of the terminal device, the first environment information at the time of the network deregistration and the first network information of the SIM card in the first card slot are obtained, and the first network information includes the first characteristic information; the first card slot is any card slot in the terminal device; in response to the network registration of the terminal device, the second environment information at the time of this network registration is obtained; if the first environment information and the second environment information meet the set conditions, the second characteristic information of the SIM card in the first card slot at the time of this network registration is obtained; according to the first characteristic information, the second characteristic information and the first network information, the network status of the terminal device is displayed on the display interface of the terminal device. Through the above technical solution, the problem that the icon showing the network status of the terminal device before the network registration is successful shows no network status or no service can be solved.
[0097] Fig.10 is a block diagram of a network display device 900 according to an exemplary embodiment. Fig.10 The device 900 includes a first acquisition module 1010 , a second acquisition module 1020 , a third acquisition module 1030 and a display module 1040 .
[0098] The first acquisition module 1010 is configured to obtain the first environment information at the time of network deregistration and the first network information of the SIM card in the first card slot in response to the network deregistration of the terminal device, wherein the first network information includes first feature information; the first card slot is any card slot in the terminal device.
[0099] The second acquisition module 1020 is configured to acquire the second environment information at the time of the current network registration in response to the network registration of the terminal device.
[0100] The third acquisition module 1030 is configured to acquire the second characteristic information of the SIM card in the first card slot during the current network registration if the first environment information and the second environment information meet a set condition.
[0101] The display module 1040 is configured to display the network status of the terminal device on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
[0102] Optionally, the third acquisition module 1030 includes a third acquisition submodule;
[0103] In a possible embodiment, the first environmental information is a first time, the second environmental information is a second time, and the third acquisition submodule is configured to: when the time difference between the second time and the first time is less than a duration threshold, obtain the second characteristic information of the first card slot SIM card during this network registration.
[0104] Optionally, in another possible embodiment, the first environmental information is a first position, the second environmental information is a second position, and the third acquisition submodule is further configured to: when the distance between the second position and the first position is less than a distance threshold, obtain the second characteristic information of the first card slot SIM card during this network registration.
[0105] Optionally, in another possible embodiment, the first environmental information is the first time and the first position, the second environmental information is the second time and the second position, and the third acquisition submodule is further configured to: when the time difference between the second time and the first time is less than a duration threshold, and the distance between the second position and the first position is less than a distance threshold, obtain the second characteristic information of the first card slot SIM card during this network registration.
[0106] Optionally, the display module 1040 includes a first display submodule and a second display submodule;
[0107] In a possible embodiment, when the first characteristic information is the first IMSI and the second characteristic information is the second IMSI, the first display submodule is configured to display the network status of the terminal device on the display interface according to the first network information when the first IMSI and the second IMSI are the same.
[0108] The second display submodule is configured to display a preset network status display screen of the terminal device on the display interface when the first IMSI and the second IMSI are different.
[0109] In another possible embodiment, when the first characteristic information is a first MCC-MNC and the second characteristic information is a second MCC-MNC, the first display submodule is further configured to display the network status of the terminal device on the display interface according to the first network information when the first MCC-MNC and the second MCC-MNC are the same.
[0110] The second display submodule is further configured to display a network status display screen preset by the terminal device on the display interface when the first MCC-MNC and the second MCC-MNC are different.
[0111] Optionally, the network display device 1000 further includes a fourth acquisition module and a display correction module;
[0112] The fourth acquisition module is configured to acquire the current second network information of the SIM card in the first card slot when the current network registration is successful.
[0113] The display correction module is configured to correct the network status of the SIM card in the first card slot on the display interface according to the second network information.
[0114] 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.
[0115] In the above technical solution, in response to the network deregistration of the terminal device, the first environment information at the time of the network deregistration and the first network information of the SIM card in the first card slot are obtained, and the first network information includes the first characteristic information; the first card slot is any card slot in the terminal device; in response to the network registration of the terminal device, the second environment information at the time of this network registration is obtained; if the first environment information and the second environment information meet the set conditions, the second characteristic information of the SIM card in the first card slot at the time of this network registration is obtained; according to the first characteristic information, the second characteristic information and the first network information, the network status of the terminal device is displayed on the display interface of the terminal device. Through the above technical solution, the problem that the icon showing the network status of the terminal device before the network registration is successful shows no network status or no service can be solved.
[0116] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the network display method provided by the present disclosure are implemented.
[0117] Fig.111 is a block diagram of a network display device 1100 according to an exemplary embodiment. For example, the device 1100 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.
[0118] Reference Fig.11 , the device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output interface 1112 , a sensor component 1114 , and a communication component 1116 .
[0119] The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the above-mentioned network display method. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102.
[0120] The memory 1104 is configured to store various types of data to support the operation of the device 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 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.
[0121] The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1100.
[0122] The multimedia component 1108 includes a screen that provides an output interface between the device 1100 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 1108 includes a front camera and / or a rear camera. When the device 1100 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.
[0123] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the device 1100 is in an operating 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 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
[0124] The input / output interface 1112 provides an interface between the processing component 1102 and the peripheral interface modules, which may be 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.
[0125] The sensor assembly 1114 includes one or more sensors for providing various aspects of the status assessment of the device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the device 1100, the relative positioning of components, such as the display and keypad of the device 1100, the sensor assembly 1114 can also detect the position change of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, the orientation or acceleration / deceleration of the device 1100, and the temperature change of the device 1100. The sensor assembly 1114 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 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 1114 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0126] The communication component 1116 is configured to facilitate wired or wireless communication between the device 1100 and other devices. The device 1100 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 1116 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 1116 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.
[0127] In an exemplary embodiment, the device 1100 can 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 network display method.
[0128] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the instructions can be executed by the processor 1120 of the device 1100 to complete the network display 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.
[0129] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an 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), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned network display method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the network display, and when the executable instruction is executed by the processor, the above-mentioned network display method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned network display method.
[0130] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above network display method when executed by the programmable device.
[0131] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0132] It should be understood that the present disclosure is not limited to the exact 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 appended claims.
Claims
1. A network display method, characterized in that: Applied to a terminal device, the method comprises: In response to the network deregistration of the terminal device, obtaining first environment information at the time of the network deregistration and first network information of the SIM card in the first card slot, wherein the first network information includes first feature information; the first card slot is any card slot in the terminal device; In response to the network registration of the terminal device, obtaining second environment information at the time of the current network registration; When the first environment information and the second environment information meet the set conditions, obtaining the second characteristic information of the SIM card in the first card slot during the current network registration; The network status of the terminal device is displayed on a display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
2. The method according to claim 1, characterized in that The first environment information is a first time, the second environment information is a second time, and when the first environment information and the second environment information meet a set condition, obtaining the second characteristic information of the SIM card in the first card slot during the current network registration includes: When the time difference between the second time and the first time is less than the time length threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
3. The method according to claim 1, characterized in that The first environment information is a first location, the second environment information is a second location, and when the first environment information and the second environment information meet a set condition, obtaining the second characteristic information of the SIM card in the first card slot during the current network registration includes: When the distance between the second position and the first position is less than a distance threshold, second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
4. The method according to claim 1, characterized in that: The first environmental information is a first time and a first location, the second environmental information is a second time and a second location, and when the first environmental information and the second environmental information meet a set condition, obtaining the second characteristic information of the SIM card in the first card slot during the current network registration includes: When the time difference between the second time and the first time is less than a time length threshold, and the distance between the second position and the first position is less than a distance threshold, the second characteristic information of the SIM card in the first card slot during the current network registration is obtained.
5. The method according to claim 1, characterized in that When the first characteristic information is a first IMSI and the second characteristic information is a second IMSI; displaying the network status of the terminal device on a display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information includes: When the first IMSI and the second IMSI are the same, displaying the network status of the terminal device on the display interface according to the first network information; When the first IMSI and the second IMSI are different, a network status display screen preset by the terminal device is displayed on the display interface.
6. The method according to claim 1, characterized in that When the first characteristic information is a first MCC-MNC and the second characteristic information is a second MCC-MNC; displaying the network status of the terminal device on a display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information includes: In a case where the first MCC-MNC and the second MCC-MNC are the same, displaying the network status of the terminal device on the display interface according to the first network information; In the case where the first MCC-MNC and the second MCC-MNC are different, a network status display screen preset by the terminal device is displayed on the display interface.
7. The method according to claim 1, characterized in that After displaying the network status of the terminal device on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information, the method further includes: If the network registration is successful, obtain the current second network information of the SIM card in the first card slot; The network status of the SIM card in the first card slot is modified on the display interface according to the second network information.
8. A network display device, characterized in that: Applied to terminal equipment, including: A first acquisition module is configured to, in response to the network deregistration of the terminal device, acquire first environment information at the time of the network deregistration and first network information of the SIM card in the first card slot, wherein the first network information includes first feature information; the first card slot is any card slot in the terminal device; A second acquisition module is configured to acquire second environment information at the time of the current network registration in response to the network registration of the terminal device; A third acquisition module is configured to acquire second characteristic information of the SIM card in the first card slot during the current network registration when the first environment information and the second environment information meet a set condition; The display module is configured to display the network status of the terminal device on the display interface of the terminal device according to the first characteristic information, the second characteristic information and the first network information.
9. A network display device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method described in any one of claims 1 to 7 when executing the executable instructions.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
11. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 7.
