Mobile phone card standby method and device, equipment and storage medium
By obtaining and searching the network information of the mobile phone card at the user terminal and connecting to the target network within a preset time, the problem of increased power consumption of the user terminal is solved and power saving is achieved.
Patent Information
- Application Number
- CN202311872922.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
In the prior art, user terminals constantly search for mobile phone card networks, resulting in increased power consumption and waste of power, especially in the absence of corresponding networks.
When the user terminal is turned on, obtain the network information of the two mobile phone cards and search for the target network within the preset time. If the target network of one card is found, connect it to its standby. If the standby mode is dual-card single-standby priority mode, continue to search for the target network of another card within the preset duration. If it is found, connect it to its standby, otherwise sleep or lengthen the search cycle.
By setting preset search time and standby mode, power consumption of the user terminal is reduced, power saving, and unnecessary network searches are avoided.
Smart Images

Figure CN120239122A_ABST
Abstract
Description
Technical Field
[0001] This application relates to communication technologies, and in particular, to a standby method, device, equipment, and storage medium for a mobile phone card. Background Art
[0002] Currently, a user terminal can support two mobile phone cards, and the two mobile phone cards can be of different types. Therefore, it is necessary to connect the mobile phone cards to the corresponding networks so that the mobile phone cards can be in the standby state and can be used normally.
[0003] In the prior art, the user terminal needs to periodically search for the networks of its corresponding two mobile phone cards. If a network corresponding to a certain mobile phone card is periodically searched, the user terminal enables the mobile phone card to access the corresponding network; at the same time, the user terminal continues to periodically search for the network corresponding to the other mobile phone card until another network can be searched, and then enables the other mobile phone card to access the other network, so that the other mobile phone card is in the standby state.
[0004] However, in the prior art, the user terminal continuously and periodically searches for the corresponding networks. If the corresponding networks do not exist in this scenario, the user terminal continuously searches, increasing the power consumption of the user terminal and wasting the power of the user terminal. Summary of the Invention
[0005] This application provides a standby method, device, equipment, and storage medium for a mobile phone card to solve the problem that the user terminal continuously searches, increasing the power consumption of the user terminal and wasting the power of the user terminal.
[0006] In a first aspect, this application provides a standby method for a mobile phone card. The method is applied to a user terminal equipped with two mobile phone cards of different network types, and the method includes:
[0007] In response to the user terminal being in the boot state, obtain the network information corresponding to the two mobile phone cards;
[0008] Based on the two network information, search for the corresponding target network within a preset normal search time;
[0009] In response to a target network being searched within the preset normal search time, control the corresponding mobile phone card to connect to the target network so that the mobile phone card is in the standby state;
[0010] In response to the standby mode being the dual-card single-standby priority mode, continue to search within a preset continuous search time for whether there is another target network;
[0011] If another target network is searched within the preset continuous search time, control the remaining mobile phone card to connect to the other target network so that the remaining mobile phone card is in the standby state.
[0012] In one way, the network information includes the network type corresponding to the SIM card;
[0013] Searching for the corresponding target network based on the two network information within a preset normal search time includes:
[0014] Determine the network types corresponding to the two SIM cards from the two network information;
[0015] Search for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal currently belongs.
[0016] In one way, searching for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal currently belongs includes:
[0017] Query the candidate networks covered in the area where the user terminal currently belongs;
[0018] Search for the corresponding target networks from the candidate networks according to the two network types within the preset normal search time.
[0019] In one way, continuing to search for whether there is another target network within a preset continuous search time includes:
[0020] Determine another network type that has not been searched;
[0021] Continue to search in the area where the user terminal currently belongs according to the preset continuous search time to see if there is another target network corresponding to another network type.
[0022] In one way, the method further includes:
[0023] In response to not finding any target network within the preset normal search time, control to continue searching for the target network with a preset extended search period.
[0024] In one way, after continuing to search for whether there is another target network within the preset continuous search time, the method further includes:
[0025] If no other target network is found within the preset continuous search time, control the remaining SIM cards to be in a sleep state.
[0026] In one way, the method further includes:
[0027] After the SIM card connects to the corresponding target network, obtain a preset detection period;
[0028] Based on the preset detection period, diagnose whether there is still a corresponding target network in the area where the user terminal currently belongs;
[0029] In response to the corresponding target network still existing, control the SIM card corresponding to the target network to continue connecting to the target network;
[0030] In response to the corresponding target network no longer existing, control the SIM card corresponding to the target network to be in a disconnected state.
[0031] In a second aspect, the present application provides a standby device for a SIM card. The device is located in a user terminal, and two SIM cards of different network types are installed in the user terminal. The device includes:
[0032] An acquisition module, configured to acquire network information corresponding to the two SIM cards in response to the user terminal being in a powered-on state;
[0033] A search module, configured to search for a corresponding target network within a preset normal search time based on the two network information;
[0034] A control module, configured to control the corresponding SIM card to connect to the target network in response to a target network being searched within the preset normal search time, so that the SIM card is in a standby state;
[0035] The search module is further configured to continue searching for whether there is another target network within a preset continuous search time in response to the standby mode being the dual-SIM single-standby priority mode;
[0036] The control module is further configured to control the remaining SIM card to connect to the other target network in response to another target network being searched within the preset continuous search time, so that the remaining SIM card is in a standby state.
[0037] In a third aspect, the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0038] The memory stores computer-executable instructions;
[0039] The processor executes the computer-executable instructions stored in the memory to implement the method described in the first aspect or any one of the above manners.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect or any one of the above manners.
[0041] The present application provides a standby method, device, equipment and storage medium for a mobile phone card. The method in the present application is applied to a user terminal, and two mobile phone cards of different network types are installed in the user terminal. Specifically, in response to the user terminal being in the boot state, the user terminal obtains the network information corresponding to the two mobile phone cards, and then searches for the corresponding target network based on the two network information within a preset normal search time. If a target network is searched within the preset normal search time, the user terminal controls the corresponding mobile phone card to connect to the target network, so that the mobile phone card is in the standby state. Further, in response to the standby mode being the dual-card single-standby priority mode, the user terminal continues to search within a preset continuous search time to check if there is another target network. If another target network is searched within the preset continuous search time, the remaining mobile phone card is controlled to connect to the other target network, so that the remaining mobile phone card is in the standby state. In the present application, the preset normal search time and the preset continuous search time are set, and the search is carried out within these two periods of time, so as to avoid the user terminal continuously and periodically searching for the target network, thereby reducing the power consumption of the user terminal and saving the power of the user terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0043] Figure 1 It is an application scenario diagram of a standby method for a mobile phone card provided by the present application;
[0044] Figure 2 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 1;
[0045] Figure 3 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 2;
[0046] Figure 4 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 3;
[0047] Figure 5 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 4;
[0048] Figure 6 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 7;
[0049] Figure 7 It is a schematic overall flowchart of a standby method for a mobile phone card provided in Embodiment 8;
[0050] Figure 8 It is a schematic structural diagram of a standby device for a mobile phone card provided in Embodiment 9;
[0051] Figure 9 A schematic structural diagram of an electronic device provided for Embodiment X.
[0052] Through the above-mentioned drawings, specific embodiments of the present application have been shown, and more detailed descriptions will be provided hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0053] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the 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 implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0054] In the prior art, a user terminal needs to periodically search for the networks corresponding to its two mobile phone cards. If a network corresponding to a certain mobile phone card is periodically searched, the user terminal enables the mobile phone card to access the corresponding network; at the same time, the user terminal continues to periodically search for the network corresponding to the other mobile phone card until another network can be searched and then enables the other mobile phone card to access the other network, making the other mobile phone card in a standby state.
[0055] However, in the prior art, the user terminal will continuously and periodically search for the corresponding network. If the corresponding network does not exist in this scenario itself, the user terminal keeps searching, increasing the power consumption of the user terminal and wasting the power of the user terminal.
[0056] It should be noted that in the scenario of going down the mine in a coal mine, the user terminal held by the user can carry two mobile phone cards. The network carried in the coal mine environment going down the mine is a coal mine dedicated network, and the network carried in the ground environment is an operator network. Therefore, for coal mine users, in order to ensure normal communication in both the coal mine environment going down the mine and the ground environment, the two mobile phone cards can be of different network types.
[0057] Exemplarily, the network type corresponding to the SIM card 1 is a coal mine dedicated network, and the network type corresponding to the SIM card 2 is a carrier network. In one scenario, a coal mine user can set the corresponding user terminal to the dual-SIM dual-standby mode. When the coal mine user is in a ground environment, the user terminal will continuously and periodically search for the carrier network and the coal mine dedicated network. If the carrier network is searched, the user terminal controls the SIM card 2 to connect to the carrier network. At this time, the user terminal will still continuously search for the coal mine dedicated network. However, due to the ground environment where there is no coal mine dedicated network itself, no matter how long the user terminal searches and in what way it searches, it cannot find the coal mine dedicated network. However, in the prior art, the user terminal will continuously search, which causes the user terminal to continuously work, wasting the power consumption and battery power of the user terminal.
[0058] To solve the defects of the prior art, the inventors of this solution have conducted creative research and designed a new solution. This solution provides a standby method for a SIM card. To solve the problem of increasing the power consumption of the user terminal and wasting the battery power of the user terminal, in this solution, the user terminal responds to the fact that the user terminal itself is in the powered-on state, so that the user terminal obtains the network information corresponding to the two different network type SIM cards carried by itself. Then, the user terminal searches for the corresponding target network based on the two network information within a preset normal search time. In response to searching for a target network within the preset normal search time, the user terminal controls the corresponding SIM card to connect to the target network, so that the SIM card is in the standby state. Then, the user terminal responds to the standby mode being the dual-SIM single-standby priority mode and continues to search for whether there is another target network within a preset continuous search time. If another target network is searched within the preset continuous search time, the remaining SIM card is controlled to connect to the other target network. Therefore, in this solution, a preset normal search time and a preset continuous search time are set, and the search is carried out within the above two search times, so that the user terminal can be prevented from continuously and periodically searching, and thus the power consumption of the user terminal can be reduced and the battery power can be saved.
[0059] It should be noted that the dual-SIM single-standby priority mode in this application means that when there is only one target network, it preferentially connects to the target network and searches for the other target network within a preset continuous search time. If the above-mentioned other target network can be searched, the corresponding SIM card is made to connect to the above-mentioned other target network. If the other target network is not searched within the preset continuous search time, only one SIM card is controlled to connect to the corresponding target network.
[0060] It should be noted that in the prior art, in the dual-SIM dual-standby mode, since it is the dual-SIM dual-standby mode, when a target network is searched and the corresponding SIM card is connected to the corresponding target network, the user terminal still continuously searches for another target network in the surrounding environment. It should be noted that in the dual-SIM dual-standby mode of the prior art, in order to implement the dual-SIM dual-standby mode, the user terminal will continuously and endlessly search for another target network. In the dual-SIM single-standby priority mode in this solution, if another target network is not searched within the preset continuous search time, the user terminal will not continue to search for another target network, but will preferentially connect the SIM card to the searched target network, so this solution saves power consumption. In addition, in the dual-SIM single-standby mode of this solution, one SIM card can be connected to the corresponding target network, or both SIM cards can be connected to the corresponding target network. It should be noted that the dual-SIM single-standby priority mode in this application is a relatively new mode in the current field.
[0061] The application scenarios of a standby method, device, equipment and storage medium for a SIM card provided by this application will be introduced below.
[0062] Figure 1 It is an application scenario diagram of a standby method for a SIM card provided by this application. As Figure 1 shown, the application scenario diagram includes a user terminal 101.
[0063] Among them, the user terminal 101 can be a mobile phone or a tablet and other devices, which is not limited here.
[0064] Among them, the user terminal 101 is equipped with two SIM cards of different network types. In this scenario, the network types corresponding to the two SIM cards are both operator network types, but from different operator network types. Exemplarily, SIM card 1 is of operator 1 network type, and SIM card 2 is of operator 2 network type.
[0065] In this scenario, the user carries the corresponding user terminal 101 in this environment, which is a relatively remote mountainous area. The user sets the user terminal 101 to the dual-SIM single-standby priority mode.
[0066] Specifically, the user turns on the user terminal 101, so that the user terminal 101 is in the boot state. In response to the boot state, the user terminal 101 obtains the network information corresponding to the two SIM cards.
[0067] Furthermore, the user terminal 101 searches for the corresponding target network based on the two network information within the preset normal search time. If a target network is searched within the preset normal search time, it controls the corresponding SIM card to connect to the target network so that the SIM card is in the standby state.
[0068] Further, in response to the standby mode being the dual-SIM single-standby priority mode, the user terminal 101 searches for the existence of another target network within a preset continuous search time. If another target network is found within the preset continuous search time, it controls the remaining SIM card to connect to the other target network so that the remaining SIM card is in the standby state.
[0069] Exemplarily, in this scenario, it is assumed that the target network 1 corresponding to the network type of operator 1 is found within the preset normal search time. Then, the user terminal 101 controls the SIM card 1 to connect to the target network 1, making the SIM card 1 in the standby state.
[0070] Exemplarily, if the target network 2 corresponding to the network type of operator 2 is found within the preset continuous search time in this scenario, the user terminal 101 controls the SIM card 2 to connect to the target network 2, making the SIM card 2 in the standby state. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards, and corresponding operation entrances are provided for the user to choose to authorize or refuse.
[0071] A standby method for a SIM card provided by this application aims to solve the above technical problems in the prior art.
[0072] The following uses specific embodiments to elaborate in detail on the technical solution of this application and how the technical solution of this application solves the above technical problems. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0073] Embodiment 1
[0074] The execution subject of Embodiment 1 to Embodiment 7 of this application is the standby device of the SIM card. The standby device of the SIM card is located in the user terminal, and two SIM cards with different network types are installed in the user terminal.
[0075] Figure 2 It is a schematic flowchart of a standby method for a SIM card provided for Embodiment 1. As Figure 2 shown, the specific steps are as follows.
[0076] S201, in response to the user terminal being in the powered-on state, obtain the network information corresponding to the two SIM cards.
[0077] Among them, the powered-on state refers to the state where the user terminal is turned on.
[0078] Among them, the user terminal can be a device such as a mobile phone or a tablet, and there is no limitation here.
[0079] Among them, the network information refers to the network type information corresponding to the SIM card. It should be noted that each SIM card corresponds to its own network information.
[0080] In one way, the network information is pre-stored locally in the user terminal, so that the user terminal obtains the network information corresponding to two SIM cards from the local.
[0081] It should be noted that the user terminal responds to its own power-on state, and at the same time responds to the fact that the two SIM cards are not connected to the corresponding networks, so that the user terminal obtains the network information and does not execute the steps of the first embodiment.
[0082] S202, search for the corresponding target network based on the two network information within the preset normal search time.
[0083] Among them, the preset normal search time is the time for normally searching for the network set in advance. Exemplarily, the preset normal search time can be within three minutes from the current time. That is, assuming the current time is 12:00, the preset normal search time is 12:00 - 12:03, and the time interval is 3 minutes. It should be noted that the preset normal search time can also be a time period without limitation, that is, the time interval is not defined. It can be understood that when the preset normal search time does not define the time interval, the user terminal will search for the corresponding target network without time limitation based on the two network information.
[0084] In one way, the user terminal searches for the corresponding target network in the network information within the preset normal search time.
[0085] S203, in response to searching for a target network within the preset normal search time, control the corresponding SIM card to connect to the target network so that the SIM card is in the standby state.
[0086] Exemplarily, assume that there are two SIM cards with different network types in the user terminal. SIM card 1 is of operator 1 network type, and SIM card 2 is of operator 2 network type.
[0087] The user carries the user terminal in the current area, and the target network corresponding to the operator 1 network type is covered in the current area. Further, the user terminal searches for the target network 1 corresponding to the operator 1 network type within the preset normal search time. Further, the user terminal determines that the SIM card corresponding to the operator 1 network type is SIM card 1 based on the network information, so that the user terminal determines that the corresponding SIM card is SIM card 1. Further, the user terminal controls SIM card 1 to connect to the target network 1. At this time, SIM card 1 is in the standby state.
[0088] Among them, the standby state refers to the state where the SIM card is connected to the corresponding network and is in normal use.
[0089] S204, in response to the standby mode being the dual-SIM single-standby priority mode, continue to search for whether there is another target network within the preset continuous search time.
[0090] Among them, the dual-SIM single-standby priority mode means that it can support both SIM cards to be in the standby state. However, when only the target network corresponding to one SIM card is searched, connect to this target network preferentially, and continue to search for the other target network within the preset continuous search time. It should be noted that the dual single-standby priority mode supports one SIM card to be in the standby state. However, if the network in the current area of the user terminal includes networks of two SIM card corresponding network types, the user terminal can make both SIM cards connect to the corresponding networks and thus be in the standby state.
[0091] It should be noted that the standby mode also includes the dual-SIM dual-standby mode. Among them, the dual-SIM dual-standby mode means that it supports either one or both SIM cards to be in the standby state. Exemplarily, if the network in the current area of the user terminal includes the target networks of two SIM card corresponding network types, the user terminal controls the SIM cards corresponding to the two target networks to connect to this target network. It should be noted that if it is the dual-SIM dual-standby mode, the user terminal will search for the target network from the periodic environment endlessly and continuously.
[0092] Among them, the preset continuous search time is the continuous search time set to take into account the ability to search for the other target network on the basis that one card has already connected to the corresponding target network. Exemplarily, assume that the user terminal connects to target network 1 with SIM card 1 at 12:03, and will continue to search for target network 2 to which SIM card 2 belongs from 12:03 to 12:05. It should be noted that the specific continuous search time is not limited here.
[0093] S205, if another target network is searched within the preset continuous search time, control the remaining SIM card to connect to the other target network so that the remaining SIM card is in the standby state.
[0094] Among them, the remaining SIM card refers to the SIM card that has not been connected to the corresponding target network.
[0095] Further, if the user terminal searches for another target network (i.e., target network 2) within the preset continuous search time, the user terminal determines that the remaining SIM card is SIM card 2.
[0096] Further, the user terminal controls SIM card 2 to connect to the corresponding target network 2, so that SIM card 2 is in the standby state.
[0097] This embodiment provides a standby method for a mobile phone card. The method in this application is applied to a user terminal, and two mobile phone cards of different network types are installed in the user terminal. Specifically, when the user terminal responds that it is in the boot state, it obtains the network information corresponding to the two mobile phone cards, and then searches for the corresponding target network based on the two network information within the preset normal search time. If a target network is searched within the preset normal search time, the user terminal controls the corresponding mobile phone card to connect to the target network, so that the mobile phone card is in the standby state. Further, if it responds that the standby mode is the dual-card single-standby priority mode, the user terminal continues to search within the preset continuous search time to check if there is another target network. If another target network is searched within the preset continuous search time, it controls the remaining mobile phone card to connect to the other target network, so that the remaining mobile phone card is in the standby state. In this application, the preset normal search time and the preset continuous search time are set, and searches are carried out within these two periods of time, so as to avoid the user terminal continuously and periodically searching for the target network, thereby reducing the power consumption of the user terminal and saving the power of the user terminal.
[0098] Embodiment 2
[0099] This embodiment is a further refinement of any of the above embodiments. In this embodiment, the network information includes the network types corresponding to the mobile phone cards.
[0100] This embodiment is an optional way to search for the corresponding target network based on the two network information within the preset normal search time.
[0101] Figure 3 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 2. As Figure 3 shown, the specific steps are as follows.
[0102] S301, determine the network types corresponding to the two mobile phone cards from the two network information.
[0103] Exemplarily, assume that mobile phone card 1 corresponds to network information 1, and mobile phone card 2 corresponds to network information 2. Among them, network information 1 includes the operator 1 network type identifier, the attribute information of the operator 1 network type, and the information related to the operator 1 network type. Network information 2 includes the operator 2 network type identifier, the attribute information of the operator 2 network type, and the information related to the operator 2 network type. Among them, the attribute information of the operator network type may include the attribute search information of the corresponding network.
[0104] In one way, the user terminal reads network information 1 and network information 2, and determines that the network type corresponding to mobile phone card 1 is the operator 1 network type, and the network type corresponding to mobile phone card 2 is the operator 2 network type.
[0105] S302. Search for the target networks corresponding to the two network types in the current area where the user terminal is located according to the preset normal search time.
[0106] It should be noted that the user can move, so the current area where the user terminal is located can change and is not fixed. However, regardless of how the current area changes, the user terminal searches for the target network 1 corresponding to the network type of Operator 1 and the target network 2 corresponding to the network type of Operator 2 in the current area according to the preset normal search time.
[0107] This embodiment provides a standby method for a mobile phone card. In this embodiment, the user terminal determines the network types corresponding to the two mobile phone cards from the summary of the two network information, and searches for the target networks corresponding to the two network types in the current area according to the preset normal search time. In this embodiment, since the network information includes the network types corresponding to the mobile phone cards, the user terminal can search for the target networks in a targeted manner.
[0108] Embodiment Three
[0109] This embodiment is a further refinement of any of the above embodiments and is an optional way to search for the target networks corresponding to the two network types in the current area where the user terminal is located according to the preset normal search time.
[0110] Figure 4 Schematic diagram of a standby method for a mobile phone card provided for Embodiment Three. As Figure 4 shown, the specific steps are as follows.
[0111] S401. Query the candidate networks covered in the current area where the user terminal is located.
[0112] Among them, the candidate networks refer to the networks covered by the user terminal in the current area. It should be noted that the target networks need to be determined from the candidate networks.
[0113] In one way, the user terminal turns on the search mode to query the candidate networks covered in the current area.
[0114] It should be noted that the signal coverage of the candidate networks is in the current area.
[0115] It should be noted that there is at least one candidate network.
[0116] S402. Search for the corresponding target networks from the candidate networks according to the two network types within the preset normal search time.
[0117] Furthermore, the user terminal searches for the corresponding target network 1 from the candidate networks according to the network type of Operator 1 within the preset normal search time, and simultaneously searches for the corresponding target network 2 from the candidate networks according to the network type of Operator 2.
[0118] This embodiment provides a standby method for a mobile phone card. In this embodiment, the user terminal queries the candidate networks covered in the current area. Further, the user terminal searches for the corresponding target network from the candidate networks according to two network types within a preset normal search time. In this embodiment, the search is performed within the preset normal search time, so as to reduce the power consumption of the user terminal and save power.
[0119] Embodiment 4
[0120] This embodiment is a further refinement of any of the above embodiments, and is an optional way to continue searching for whether there is another target network within a preset continuous search time.
[0121] Figure 5 It is a schematic flowchart of a standby method for a mobile phone card provided in Embodiment 4. As Figure 5 shown, the specific steps are as follows.
[0122] S501, determine another network type that has not been searched.
[0123] Exemplarily, the user terminal determines the target networks based on network information, namely Target Network 1 and Target Network 2. At the same time, the user terminal searches for Target Network 1 within the preset normal search time and controls the mobile phone card 1 to connect to Target Network 1. Thus, the user terminal determines that the other network type that has not been searched is the network type of Operator 2.
[0124] S502, continue to search in the current area of the user terminal for whether there is another target network corresponding to another network type within the preset continuous search time.
[0125] Further, the user terminal continues to search in the current area for whether there is Target Network 2 corresponding to the network type of Operator 2 within the preset continuous search time.
[0126] This embodiment provides a standby method for a mobile phone card. In this embodiment, the user terminal first determines another network type that has not been searched, and then continues to search in the current area for whether there is another target network corresponding to another network type within the preset continuous search time. In this embodiment, based on the preset continuous search time, the power consumption of the user terminal continuously searching for the target network can be reduced, and power can be saved.
[0127] Embodiment 5
[0128] This embodiment is a further refinement of any of the above embodiments, and the specific content is as follows:
[0129] In response to not searching for any target network within the preset normal search time, control to continue searching for the target network with a preset extended search period.
[0130] In one way, if the user terminal fails to search for any target network within the preset normal search time, that is, the user terminal fails to search for target network 1 and also fails to search for target network 2.
[0131] Furthermore, the user terminal continues to search for target networks of the network type.
[0132] In this step, if the user terminal fails to search for any target network within the preset normal search time, that is, it fails to search for target network 1 and also fails to search for target network 2. At this time, the user terminal can control to continue searching for the target networks corresponding to the two network types with a preset extended search period.
[0133] Among them, the preset extended search period refers to the search period that is preset and extended based on the preset search period. Exemplarily, assume that within the preset normal search time and the preset continuous search time, the user terminal searches for the target network with the preset search period. Among them, the preset search period is to search once every 5 seconds. Then, in this step, the preset extended search period can be to search once every 15 seconds. It can be understood that if the time interval of the preset continuous search time is 2 minutes, within this time interval, the user terminal can search for the target network with the preset search period (that is, search once every 5 seconds).
[0134] It should be noted that the user terminal controls to search for the target network with the preset extended search period, which can enable the user terminal not to search frequently, reduce the power consumption of the user terminal, and also save electricity.
[0135] This embodiment provides a standby method for a mobile phone card. In this embodiment, when the user terminal fails to search for any target network within the preset normal search time, the user terminal can control to continue searching for the target networks corresponding to the two network types with the preset extended search period. Thus, the user terminal continues to search for the target network with a longer search period, and further can reduce the power consumption of the user terminal and save electricity.
[0136] Embodiment Six
[0137] This embodiment is a further refinement of any of the above embodiments. This embodiment is an optional way after controlling the corresponding mobile phone card to connect to the target network to make the mobile phone card in the standby state.
[0138] In response to the standby mode being the dual SIM dual standby mode, control to continue searching for the target network with the preset extended search period.
[0139] In one way, after controlling the corresponding SIM card to connect to the target network so that the SIM card is in the standby state, in response to the standby mode of the user terminal being the dual-SIM standby mode, the user terminal determines the remaining SIM card and controls to continue searching for the target network with a preset extended search period. Exemplarily, in the scenario of going down the coal mine, the user can set the standby mode of the user terminal to the dual-SIM standby mode. After the user takes the user terminal down the mine, the user terminal searches for the coal mine dedicated network within the preset normal search time and controls the SIM card corresponding to the coal mine dedicated network to connect to the coal mine dedicated network. Further, the user terminal controls to search for another target network in the surrounding environment with a preset extended search period until the other target network can be searched.
[0140] In this embodiment, after continuing to search for whether there is another target network within the preset continuous search time, if the other target network is not searched within the preset continuous search time, the remaining SIM card is controlled to be in the sleep state.
[0141] Among them, the sleep state means that the SIM card is in a state of not being connected to the network and sleeping.
[0142] It should be noted that if the other target network is not searched within the preset continuous search time, it means that the other target network does not exist in the current surrounding environment of the user terminal. Therefore, in order to save the power consumption of the user terminal, the remaining SIM card is controlled to be in the sleep state, so as not to continue searching for the network in the surrounding environment.
[0143] This embodiment provides a standby method for a SIM card. In this embodiment, after continuing to search for whether there is another target network within the preset continuous search time, if the other target network is not searched, the remaining SIM card is controlled to be in the sleep state. Therefore, in this embodiment, controlling the remaining SIM card to be in the sleep state is also beneficial to reducing the power consumption of the user terminal and saving power.
[0144] Embodiment Seven
[0145] This embodiment is a further refinement of any of the above embodiments.
[0146] Figure 6 It is a schematic flowchart of a standby method for a SIM card provided in Embodiment Seven. As Figure 6 shown, the specific steps are as follows.
[0147] S601, after the SIM card connects to the corresponding target network, obtain the preset detection period.
[0148] Exemplarily, when the SIM card 1 carried in the user terminal connects to the corresponding target network 1, the user terminal can obtain the preset detection period from the local.
[0149] Among them, the preset detection period is the period set in advance for detecting whether the connected target network still exists. Exemplarily, the preset detection period can be one minute interval, five minutes interval or others.
[0150] S602, diagnose whether the corresponding target network still exists in the area where the user terminal currently belongs based on the preset detection period.
[0151] Furthermore, the user terminal periodically diagnoses whether the corresponding target network still exists in the area where the user terminal currently belongs according to the preset detection period.
[0152] It should be noted that since the user carries the user terminal in a moving state, diagnosis can be performed according to the preset detection period to ensure that the user terminal maintains a communication connection.
[0153] S603, in response to the corresponding target network still existing, control the SIM card corresponding to the target network to continue connecting to the target network.
[0154] Furthermore, during each periodic diagnosis, if the user terminal determines that the target network 1 still exists, then the user terminal controls the SIM card 1 corresponding to the target network 1 to continue connecting to the target network 1.
[0155] S604, in response to the corresponding target network not continuing to exist, control the SIM card corresponding to the target network to be in a disconnected state.
[0156] Furthermore, during a certain periodic diagnosis, if the user terminal determines that the target network 1 does not continue to exist, then the SIM card 1 no longer has the target network 1 to connect to, and then the user terminal controls the SIM card to be in a disconnected state.
[0157] Among them, the disconnected state means that the SIM card is in a state of not being connected to the network but still working.
[0158] This embodiment provides a standby method for a SIM card. In this embodiment, after the SIM card connects to the corresponding target network, the user terminal obtains the preset detection period. Furthermore, the user terminal diagnoses whether the corresponding target network still exists in the area where the user terminal currently belongs based on the preset detection period. If it still exists, control the SIM card to continue connecting to the target network; if it does not continue to exist, control the SIM card to be in a disconnected state.
[0159] Embodiment Eight
[0160] Figure 7 It is a schematic diagram of the overall standby process of a SIM card provided for Embodiment Eight. As Figure 7 shown, the specific steps are as follows.
[0161] S701, in response to the power-on state of the user terminal, obtain the network information corresponding to the two SIM cards.
[0162] S702. The user terminal determines whether to search for the corresponding target network within the preset normal search time based on two network messages. If a target network is searched within the preset normal search time, S703 is executed; if no target network is searched within the preset normal search time, S708 is executed.
[0163] S703. The user terminal controls the corresponding SIM card to connect to the target network so that the SIM card is in the standby state.
[0164] S704. The user terminal determines whether the standby mode is the dual-SIM single-standby priority mode; if so, S705 is executed; if not, S808 is executed.
[0165] S705. The user terminal searches within the preset continuous search time to check if there is another target network; if so, S706 is executed; if not, S707 is executed.
[0166] S706. The user terminal controls the remaining SIM card to connect to the other target network so that the remaining SIM card is in the standby state.
[0167] S707. The user terminal controls the remaining SIM card to be in the sleep state.
[0168] S708. The user terminal controls to continue searching for the target network of the network type with a preset extended search period.
[0169] Embodiment Nine
[0170] The following is the device embodiment of the present application. Figure 8 A schematic structural diagram of a standby device for a SIM card provided for Embodiment Nine. As Figure 8 shown, the device 800 is located in the user terminal. There are two SIM cards with different network types installed in the user terminal. The device 800 includes the following modules:
[0171] An acquisition module 801, configured to acquire the network messages corresponding to the two SIM cards in response to the user terminal being in the boot state;
[0172] A search module 802, configured to search for the corresponding target network within the preset normal search time based on the two network messages;
[0173] A control module 803, configured to control the corresponding SIM card to connect to the target network in response to a target network being searched within the preset normal search time, so that the SIM card is in the standby state;
[0174] The search module 802 is further configured to continue searching within the preset continuous search time to check if there is another target network in response to the standby mode being the dual-SIM single-standby priority mode;
[0175] The control module 803 is further configured to, if another target network is searched within a preset continuous search time, control the remaining SIM cards to connect to the other target network, so that the remaining SIM cards are in a standby state.
[0176] In one way, the network information includes the network types corresponding to the SIM cards;
[0177] When the search module 802 searches for the corresponding target network within a preset normal search time based on the two network information, it is specifically configured to:
[0178] Determine the network types corresponding to the two SIM cards from the two network information;
[0179] Search for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal currently belongs.
[0180] In one way, when the search module 802 searches for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal currently belongs, it is specifically configured to:
[0181] Query the candidate networks covered in the area where the user terminal currently belongs;
[0182] Search for the corresponding target networks from the candidate networks according to the two network types within the preset normal search time.
[0183] In one way, when the search module 802 continues to search for whether there is another target network within the preset continuous search time, it is specifically configured to:
[0184] Determine another network type that has not been searched;
[0185] Continue to search in the area where the user terminal currently belongs for whether there is another target network corresponding to another network type within the preset continuous search time.
[0186] In one way, wherein, the control module 803 is further configured to:
[0187] In response to not searching for any target network within the preset normal search time, control to continue searching for the target network with a preset extended search period.
[0188] In one way,
[0189] After the control module 803 continues to search for whether there is another target network within the preset continuous search time, it is specifically further configured to:
[0190] If no other target network is searched within the preset continuous search time, control the remaining SIM cards to be in a sleep state.
[0191] In one mode, the obtaining module 801 is further configured to obtain a preset detection period after the mobile phone card is connected to the corresponding target network.
[0192] The searching module 802 is further configured to diagnose whether the corresponding target network still exists in the area where the user terminal currently belongs based on the preset detection period.
[0193] The control module 803 is further configured to, in response to the corresponding target network still existing, control the mobile phone card corresponding to the target network to continue to be connected to the target network; and in response to the corresponding target network no longer existing, control the mobile phone card corresponding to the target network to be in a disconnected state.
[0194] Embodiment Ten
[0195] Figure 9 FIG. is a schematic structural diagram of an electronic device provided for Embodiment Ten. As Figure 9 shown, the electronic device 900 may include: a processor 901, and a memory 902 communicatively connected to the processor 901. Among them, the memory 902 stores computer-executable instructions; the processor 901 executes the computer-executable instructions stored in the memory 902 to implement any one of the method embodiments in the above-mentioned Embodiments One to Eight. The specific implementation manners and technical effects are similar and will not be elaborated here.
[0196] Among them, in this embodiment, the memory 902 and the processor 901 are connected through a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 9 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0197] Embodiment Eleven
[0198] The present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any one of the method embodiments in the above-mentioned Embodiments One to Eight. The specific implementation manners and technical effects are similar and will not be elaborated here.
[0199] Other embodiments of the present application will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include known common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.
[0200] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A standby method for a mobile phone card, characterized in that, The method is applied to a user terminal, and two SIM cards of different network types are installed in the user terminal. The method includes: In response to the user terminal being in the powered-on state, obtaining network information corresponding to the two SIM cards; Based on the two pieces of network information, searching for corresponding target networks within a preset normal search time; In response to a target network being searched within the preset normal search time, controlling the corresponding SIM card to connect to the target network so that the SIM card is in the standby state; In response to the standby mode being the dual-SIM single-standby priority mode, continuing to search within a preset continuous search time for whether there is another target network; If another target network is searched within the preset continuous search time, controlling the remaining SIM card to connect to the other target network so that the remaining SIM card is in the standby state.
2. The method according to claim 1, characterized in that, The network information includes the network types corresponding to the SIM cards; The step of searching for corresponding target networks within a preset normal search time based on the two pieces of network information includes: Determining the network types corresponding to the two SIM cards from the two pieces of network information; Searching for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal is currently located.
3. The method according to claim 2, wherein The step of searching for the target networks corresponding to the two network types within the preset normal search time in the area where the user terminal is currently located includes: Querying the candidate networks covered in the area where the user terminal is currently located; Searching for the corresponding target networks from the candidate networks according to the two network types within the preset normal search time.
4. The method according to claim 1, wherein The step of continuing to search within the preset continuous search time for whether there is another target network includes: Determining the other network type that has not been searched; Continuing to search within the preset continuous search time in the area where the user terminal is currently located for whether there is another target network corresponding to the other network type.
5. The method according to claim 1, wherein The method further includes: In response to no target network being searched within the preset normal search time, controlling to continue searching for the target network with a preset lengthened search period.
6. The method according to claim 1, characterized in that After the step of continuing to search within the preset continuous search time for whether there is another target network, the method further includes: If no other target network is searched within the preset continuous search time, controlling the remaining SIM card to be in the sleep state.
7. The method according to claim 1, characterized in that, The method further includes: After the SIM card connects to the corresponding target network, obtaining a preset detection period; Based on the preset detection period, diagnosing whether the corresponding target network still exists in the area where the user terminal is currently located; In response to the corresponding target network still existing, controlling the SIM card corresponding to the target network to continue to connect to the target network; In response to the corresponding target network not existing anymore, controlling the SIM card corresponding to the target network to be in the disconnected state.
8. A standby device for a mobile phone card, characterized in that, The device is located in the user terminal, and two SIM cards of different network types are installed in the user terminal. The device includes: An obtaining module, configured to obtain network information corresponding to the two SIM cards in response to the user terminal being in the powered-on state; A searching module, configured to search for corresponding target networks within a preset normal search time based on the two pieces of network information; A control module, configured to control a corresponding SIM card to connect to the target network in response to searching for a target network within a preset normal search time, so that the SIM card is in a standby state; A search module, further configured to continue searching for whether there is another target network within a preset continuous search time in response to the standby mode being the dual-SIM single-standby priority mode; The control module is further configured to control the remaining SIM card to connect to the other target network in response to searching for the other target network within the preset continuous search time, so that the remaining SIM card is in a standby state.
9. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by the processor, they are used to implement the method according to any one of claims 1-7.