Network residing method and device, terminal, storage medium and program product
By identifying the network type in the non-deactivated network state for network search and dwell, the security threats to terminal devices in network connection are resolved, ensuring network security in roaming status.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-28
- Publication Date
- 2026-04-28
AI Technical Summary
Terminal devices are at risk of being attacked by unknown networks when using the network, leading to potential security threats, especially when roaming, they are more vulnerable to attacks from fake base stations or malicious networks.
By determining that the first network standard is not in a decommissioned state, a network search is performed and the network camps on a secure communication network. Using the comparison results between the operator and the preset operator, combined with the terminal status and network information, the network camps on a high-quality communication network are prioritized.
It reduces the likelihood of terminals residing on insecure networks, improves network connection security, and especially protects user information and property security while roaming.
Smart Images

Figure CN121940756A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communications, and more particularly to a network access method, apparatus, terminal, storage medium, and program product. Background Technology
[0002] In related technologies, smart terminal devices almost always use the network when conducting various business transactions. Therefore, network security is crucial for users. For example, users' personal accounts, privacy information, and financial security are all closely linked to network security.
[0003] However, in related technologies, during communication using a user's terminal, there is always the possibility of being attacked by unknown networks, causing unnecessary losses, and in severe cases, even affecting personal safety and property. Therefore, it is clear that significant risks still exist when a terminal uses the network. Summary of the Invention
[0004] To overcome the problems in related technologies, this disclosure provides a network access method, apparatus, terminal, storage medium, and program product to reduce the occurrence of terminals residing on insecure networks and improve the security of terminal network access.
[0005] According to a first aspect of the present disclosure, a network registration method is provided, the method comprising:
[0006] Determine the first network standard; wherein, the first network standard is the network standard that is not in the decommissioning state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search;
[0007] Perform a network search based on the first network standard to obtain at least one communication network found.
[0008] Reside in the first communication network among at least one of the searched communication networks.
[0009] In some embodiments, determining a first network standard includes:
[0010] Based on the first comparison result between the first operator and the preset second operator, the first network standard is determined;
[0011] Among them, the network standards for which the second operator provides network services to the terminal include second network standards that are in a state of being decommissioned, and there is a corresponding relationship between the second operator and the second network standards.
[0012] In some embodiments, determining a first network standard based on a first comparison result between a first operator and a preset second operator includes:
[0013] If the first comparison result indicates that the first operator and the second operator are the same, the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal shall be determined as the first network standard.
[0014] If the first comparison result indicates that the first operator and the second operator are different, then all network standards for which the first operator provides network services to the terminal shall be identified as the first network standard.
[0015] In some embodiments, the method further includes:
[0016] Determine the primary operator based on the network status of the terminal;
[0017] The network status includes a first network status and a second network status. The first network status is the state in which the terminal is camped on the communication network, and the second network status is the state in which the terminal is not camped on the communication network.
[0018] In some embodiments, determining the first operator based on the network status of the terminal includes:
[0019] When the terminal is in the first network state, the operator of the second communication network to which the terminal is camped is determined as the first operator;
[0020] When the terminal is in a second network state, the first operator is determined based on the operator to which the terminal's identity recognition module belongs.
[0021] In some embodiments, performing a network search based on a first network standard includes:
[0022] When the terminal is in roaming mode, a network search is performed based on the first network standard.
[0023] In some embodiments, the method further includes:
[0024] When the terminal is not in roaming mode, a network search is performed based on all network standards provided by the first operator for the terminal.
[0025] In some embodiments, the method further includes:
[0026] When the terminal is in the first network state of being registered, it is determined whether the terminal is in a roaming state based on the second comparison result between the second communication network and at least one preset third communication network.
[0027] The second communication network is the communication network to which the terminal resides, and the third communication network is the home network corresponding to the terminal's identity recognition module.
[0028] In some embodiments, determining whether a terminal is in a roaming state based on a second comparison result between a second communication network and at least one preset third communication network includes:
[0029] If the second comparison result indicates that the second communication network and any third communication network are the same, it is determined that the terminal is not in a roaming state;
[0030] If the second comparison result indicates that the second communication network and all third communication networks are different, it is determined that the terminal is in a roaming state.
[0031] In some embodiments, at least two communication networks are searched; the method further includes:
[0032] Determine the priority of the discovered communication networks;
[0033] The first communication network that resides in at least one of the searched communication networks includes:
[0034] Reside in the first communication network with a priority higher than the preset priority among the searched communication networks.
[0035] In some embodiments, the method further includes:
[0036] Based on the network information of the searched communication networks, the priority of the communication networks is determined;
[0037] The network information includes: the network quality of the communication network and / or the operator to which the communication network belongs; the priority of the communication network operated by the third operator to which the terminal's identification module belongs is higher than the priority of the communication network not operated by the third operator, and / or, the network quality and priority are positively correlated.
[0038] According to a second aspect of the present disclosure, a network access device is provided, comprising:
[0039] The determination module is configured to determine a first network standard; wherein, the first network standard is a network standard that is not in a decommissioned state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search;
[0040] The search module is configured to perform a network search based on a first network standard to obtain at least one communication network found.
[0041] The network-hosting module is configured to reside on the first communication network among at least one of the searched communication networks.
[0042] In some embodiments, the determining module is further configured as follows:
[0043] Based on the first comparison result between the first operator and the preset second operator, the first network standard is determined;
[0044] Among them, the network standards for which the second operator provides network services to the terminal include second network standards that are in a state of being decommissioned, and there is a corresponding relationship between the second operator and the second network standards.
[0045] In some embodiments, the determining module is further configured as follows:
[0046] If the first comparison result indicates that the first operator and the second operator are the same, the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal shall be determined as the first network standard.
[0047] If the first comparison result indicates that the first operator and the second operator are different, then all network standards for which the first operator provides network services to the terminal shall be identified as the first network standard.
[0048] In some embodiments, the determining module is further configured as follows:
[0049] Determine the primary operator based on the network status of the terminal;
[0050] The network status includes a first network status and a second network status. The first network status is the state in which the terminal is camped on the communication network, and the second network status is the state in which the terminal is not camped on the communication network.
[0051] In some embodiments, the determining module is further configured as follows:
[0052] When the terminal is in the first network state, the operator of the second communication network to which the terminal is camped is determined as the first operator;
[0053] When the terminal is in a second network state, the first operator is determined based on the operator to which the terminal's identity recognition module belongs.
[0054] In some embodiments, the search module is further configured to:
[0055] When the terminal is in roaming mode, a network search is performed based on the first network standard.
[0056] In some embodiments, the search module is further configured to:
[0057] When the terminal is not in roaming mode, a network search is performed based on all network standards provided by the first operator for the terminal.
[0058] In some embodiments, the determining module is further configured as follows:
[0059] When the terminal is in the first network state of being registered, it is determined whether the terminal is in a roaming state based on the second comparison result between the second communication network and at least one preset third communication network.
[0060] The second communication network is the communication network to which the terminal resides, and the third communication network is the home network corresponding to the terminal's identity recognition module.
[0061] In some embodiments, the determining module is further configured as follows:
[0062] If the second comparison result indicates that the second communication network and any third communication network are the same, it is determined that the terminal is not in a roaming state;
[0063] If the second comparison result indicates that the second communication network and all third communication networks are different, it is determined that the terminal is in a roaming state.
[0064] In some embodiments, at least two communication networks are searched; the determining module is further configured to:
[0065] Determine the priority of the discovered communication networks;
[0066] The resident module is also configured as follows:
[0067] Reside in the first communication network with a priority higher than the preset priority among the searched communication networks.
[0068] In some embodiments, the determining module is further configured as follows:
[0069] Based on the network information of the searched communication networks, the priority of the communication networks is determined;
[0070] The network information includes: the network quality of the communication network and / or the operator to which the communication network belongs; the priority of the communication network operated by the third operator to which the terminal's identification module belongs is higher than the priority of the communication network not operated by the third operator, and / or, the network quality and priority are positively correlated.
[0071] According to a third aspect of the present disclosure, a terminal is provided, comprising:
[0072] processor;
[0073] Memory used to store computer programs or instructions;
[0074] The processor executes computer programs or instructions to implement the steps in any of the network-hosting methods in the first aspect described above.
[0075] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, comprising:
[0076] When a computer program or instruction in a storage medium is executed by a processor, the steps in any of the network-hosting methods in the first aspect described above are implemented.
[0077] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implement the steps of any of the network-registering methods in the first aspect described above.
[0078] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0079] In this embodiment, a network search can be performed based on the network type that is not currently decommissioned among the network types for which the first operator provides network services to the terminal, and the terminal can then camp on the first communication network found. In this case, if the communication network corresponding to a decommissioned network type might be an insecure network impersonating another network, the terminal will not camp on the communication network corresponding to the decommissioned network type. This reduces the likelihood of the terminal camping on insecure communication networks, thereby ensuring the security of the communication network to which the terminal camps.
[0080] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0081] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0082] Figure 1 This is a flowchart illustrating a network registration method according to an exemplary embodiment. Figure 1 .
[0083] Figure 2 This is a schematic diagram of a network registration method according to an exemplary embodiment. Figure 2 .
[0084] Figure 3 This is a flowchart illustrating a network registration method according to an exemplary embodiment. Figure 3 .
[0085] Figure 4 This is a structural block diagram of a network-hosting device according to an exemplary embodiment.
[0086] Figure 5 This is a structural block diagram of a terminal according to an exemplary embodiment.
[0087] Figure 6 This is a block diagram of an apparatus according to an exemplary embodiment. Detailed Implementation
[0088] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0089] The network access method shown in this disclosure can be applied to a terminal. Here, the terminal can include a mobile terminal or a fixed terminal. A mobile terminal can include devices such as mobile phones, tablets, laptops, and in-vehicle terminals. A fixed terminal can include desktop computers, smart TVs, etc. In some embodiments, the operating system of the terminal can include an Input Output System (IOS) operating system, an Android operating system, etc.
[0090] It should be noted that terminals may include, but are not limited to, mobile communication terminals, portable entertainment devices, wearable devices, home appliances, augmented reality devices, virtual reality devices, and special-purpose devices. Among these, mobile communication terminals may include, but are not limited to, mobile phones, tablets, and smartwatches; portable entertainment devices may include, but are not limited to, digital cameras; wearable devices may include, but are not limited to, smart bracelets and smart glasses; home appliances may include, but are not limited to, televisions and video recorders; augmented reality (AR) devices may include, but are not limited to, AR glasses; virtual reality (VR) devices may include, but are not limited to, VR glasses; and special-purpose devices may include, but are not limited to, professional cameras (such as SLR cameras and point-and-shoot cameras).
[0091] It should be noted that the execution entity of the embodiments disclosed herein may be the central processing unit (CPU) in the terminal in terms of hardware, and may be, for example, a related background service or application in the terminal in terms of software, without limitation.
[0092] This disclosure provides a network access method that aims to address malicious attacks on users from unknown networks, ensuring network reliability and normal operation.
[0093] Figure 1 This is a flowchart illustrating a network registration method according to an exemplary embodiment, such as... Figure 1 As shown, the method includes:
[0094] Step 11, determine the first network standard; wherein, the first network standard is the network standard that is not in the decommissioned state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search.
[0095] In some embodiments, the network standard is used to indicate the communication standard (which may be a set of communication parameters, such as frequency parameters, but not limited to) used by the terminal for communication, and there is a correspondence between the communication standard and the frequency range used for network searching. For example, the communication standard indicated by the network standard may be the Global System for Mobile Communications (GSM) communication standard, and the frequency range corresponding to GSM may include the range between 890MHz and 954MHz. Alternatively, the communication standard indicated by the network standard may be the Code Division Multiple Access (CDMA) communication standard, and the frequency range corresponding to CDMA may include the frequency range between 824MHz and 889MHz.
[0096] It should be noted that for the same network standard, different operators may use different frequency ranges for network searching. For example, the frequency range indicated by the network standard can be a first frequency range. When the operator providing network services to the terminal is operator 11, the terminal can perform a network search based on a first frequency sub-range within the first frequency range. When the operator providing network services to the terminal is operator 12, the terminal can perform a network search based on a second frequency sub-range within the first frequency range. The first and second frequency sub-ranges do not overlap.
[0097] It should be noted that when a network standard is being phased out, operators will gradually stop providing network services corresponding to the network standard that is being phased out.
[0098] In some embodiments, the network shutdown state includes a first shutdown state and / or a second shutdown state. Specifically, when the network standard is in the first shutdown state, the operator ceases to provide all network services corresponding to the network standard in the first shutdown state. When the network standard is in the second shutdown state, the operator ceases to provide some network services corresponding to the network standard in the second shutdown state.
[0099] It should be noted that any of the first network standards in this disclosure can be network standards that are not in the first decommissioning state and / or the second decommissioning state among the network standards for which the first operator provides network services to the terminal.
[0100] In some embodiments, a first network type can be determined upon detecting a network search command. The network search command may be an instruction to perform a network search.
[0101] In some embodiments, a network search command can be generated when the terminal is in a first network state where it is registered on a network and the network quality of the communication network to which the terminal is registered is less than a quality threshold. Alternatively, a network search command can be generated when the terminal is in a second network state where it is not registered on a network, thereby triggering the terminal to switch to the first network state.
[0102] Step 12: Perform a network search based on the first network standard to obtain at least one first communication network found.
[0103] It should be noted that performing a network search based on the first network standard can mean performing a network search within the frequency range indicated by the first network standard, thereby obtaining at least one first communication network found.
[0104] In some embodiments, a first number of first network standards can be determined from all first network standards supported by the first operator. The first number is greater than or equal to 1. A network search can be performed based on the first number of first network standards to obtain at least one first communication network.
[0105] In some embodiments, a first quantity can be determined based on a latency requirement parameter for performing a network search. The latency requirement parameter indicates the required latency from the start of the network search to the completion of the network search. The latency requirement parameter and the first quantity are positively correlated. It should be noted that the smaller the first quantity, the faster the network search is completed using the first network standard based on the first quantity. Here, the first quantity is determined according to the latency requirement parameter so that, during the network search performed using the first network standard based on the first quantity, the actual latency from the start of the network search to the completion of the network search can be matched with the required latency from the start of the network search to the completion of the network search.
[0106] In some embodiments, the first quantity can be determined based on the terminal's performance parameters. These performance parameters can be used to indicate the search speed of the terminal performing a network search based on a single network standard. Exemplarily, the performance parameters can be positively correlated with the first quantity. That is, the search speed indicated by the performance parameters can be positively correlated with the first quantity.
[0107] In some embodiments, a first number of first network standards can be determined from all first network standards supported by the first operator based on the priority corresponding to each first network standard supported by the first operator. The priority of a first network standard is positively correlated with the generation of the communication standard indicated by the first network standard. For example, if the first network standards include network standard 21 and network standard 22, where network standard 21 indicates a third-generation mobile communication standard (3G) and network standard 22 indicates a fourth-generation mobile communication standard (4G), then the priority corresponding to network standard 21 is greater than the priority corresponding to network standard 22.
[0108] It should be noted that determining the first number of first network standards from all the first network standards supported by the first operator based on the priority of each first network standard supported by the first operator can mean determining the first number of first network standards from all the first network standards supported by the first operator in descending order of the corresponding first priority.
[0109] In some embodiments, network searches can be performed sequentially based on the first network standards, in descending order of priority, until a first number of communication networks are found. Alternatively, network searches can be performed sequentially based on the first network standards, in descending order of priority, until a second number of communication networks are found. The second number is less than or equal to the first number. The second number can be 1. That is, once a communication network is found, the network search stops, and the terminal camps on the found communication network.
[0110] Step 13: Reside in the first communication network of at least one communication network.
[0111] In some embodiments, at least one first communication network may be displayed; based on a touch operation targeting at least one first communication network, the user may reside on the first communication network corresponding to the touch operation. Thus, the user can choose a first communication network to reside on, adapting to their needs.
[0112] In this embodiment, a network search can be performed based on the network type that is not currently decommissioned among the network types for which the first operator provides network services to the terminal, and the terminal can then camp on the first communication network found. In this case, if the communication network corresponding to a decommissioned network type might be an insecure network impersonating another network, the terminal will not camp on the communication network corresponding to the decommissioned network type. This reduces the likelihood of the terminal camping on insecure communication networks, thereby ensuring the security of the communication network to which the terminal camps.
[0113] In some embodiments, determining a first network standard includes:
[0114] Based on the first comparison result between the first operator and the preset second operator, the first network standard is determined;
[0115] Among them, the network standards for which the second operator provides network services to the terminal include second network standards that are in a state of being decommissioned, and there is a corresponding relationship between the second operator and the second network standards.
[0116] In some embodiments, it can be determined whether the generation of the communication standard supported by the first operator is greater than a preset value. If the generation of the communication standard supported by the first operator is greater than the preset value, then all network standards for which the first operator provides network services to the terminal are determined as the first network standard.
[0117] In some embodiments, if the generation of the communication standard supported by the first operator is greater than a preset value, the first network standard is determined based on a first comparison result between the first operator and a preset second operator.
[0118] In some embodiments, a first mapping relationship exists between the second operator, the algebra of the communication standard, and the second network standard. If the algebra of the communication standard supported by the first operator is greater than a preset value, then based on a first comparison result between the first operator and a preset second operator, and the first mapping relationship and the algebra of the communication standard supported by the first operator,
[0119] Determine the second network standard.
[0120] For example, please refer to Table 1, which illustrates the first mapping relationship.
[0121] Table 1:
[0122]
[0123] For example, in Table 1, when the communication standard corresponding to the communication network operated by the first type of operator is the Second Generation Mobile Communication Standard (2G), the second network standards corresponding to the first type of operator include: GSM, General Packet Radio Service (GPRS), and Enhanced Data Rate for GSM Evolution (EDGE). When the communication standard corresponding to the communication network operated by the second type of operator is the 2G communication standard, the second network standards corresponding to the second type of operator include: CDMA and 1x Radio Transmission Technology (1xRTT).
[0124] In Table 1, when the communication standard corresponding to the communication network operated by the first type of operator is the 3G communication standard, the second network standard corresponding to the first type of operator includes: Evolution Data Optimized (EVDO) version A, EVDO version B, Evolved High Rate Packet Data (EHRPD), High Speed Uplink Packet Access (HSUPA), High Speed Packet Access (HSPA), and Time Division-Synchronous Code Division Multiple Access (TD-SCDMA). When the communication standard corresponding to the communication network operated by the second type of operator is the 3G communication standard, the second network standard corresponding to the second type of operator includes: Universal Mobile Telecommunications System (UMTS).
[0125] In Table 1, when the communication standard corresponding to the communication network operated by each operator is the 4G communication standard, the second network standard corresponding to each operator includes: Long Term Evolution Carrier Aggregation (LTE_CA) and Industrial Wireless Local Area Networks (IWLAN).
[0126] In some embodiments, a second network operator may have a second mapping relationship with the first network standard. If the first comparison result indicates that the first operator and the preset second operator are the same, the first network standard corresponding to the second operator can be determined based on the second mapping relationship. Here, if the first comparison result indicates that the first operator and the preset second operator are the same, the first network standard can be quickly determined directly based on the preset second mapping relationship, without needing to search for a decommissioned second network standard from the network standards provided by the first operator to the terminal, thereby improving the speed of obtaining the first network standard.
[0127] In this embodiment of the disclosure, the method can be adapted to the first comparison result between the first operator and the second operator, and the second network standard corresponding to the second operator, to accurately determine the first network standard corresponding to the first operator that is not in a decommissioned state, thereby improving the accuracy of determining the first network standard.
[0128] In some embodiments, determining a first network standard based on a first comparison result between a first operator and a preset second operator includes:
[0129] If the first comparison result indicates that the first operator and the second operator are the same, the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal shall be determined as the first network standard.
[0130] If the first comparison result indicates that the first operator and the second operator are different, then all network standards for which the first operator provides network services to the terminal shall be identified as the first network standard.
[0131] It should be noted that the network standard provided by the same operator to a terminal may change at different times. Therefore, if the first operator and the second operator are the same, the network standard corresponding to the first operator and the second operator can be the same, or the network standard corresponding to the first operator and the second operator can be different.
[0132] In some embodiments, if the first comparison result indicates that the first operator and the second operator are the same, but the network standard corresponding to the first operator and the network standard corresponding to the second operator are different, then the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal is determined as the first network standard. It should be noted that if the network standard corresponding to the first operator and the network standard corresponding to the second operator are different, the network standard among the network standards for which the second operator provides network services to the terminal that is not in a decommissioned state may be different from the first network standard among the network standards for which the first operator provides network services to the terminal that is not in a decommissioned state. Here, the network standard corresponding to the second operator that is not in a decommissioned state will not be determined as the first network standard. Instead, the second network standard corresponding to the second operator is deleted from the network standards for which the first operator provides network services to the terminal, thereby obtaining the first network standard. This improves the accuracy of the obtained first network standard.
[0133] In some embodiments, if the first comparison result indicates that the first operator and the second operator are the same, and the network standard corresponding to the first operator and the network standard corresponding to the second operator are the same, the first network standard corresponding to the second operator that is the same as the first operator is determined based on the second mapping relationship. Here, when the network standard corresponding to the first operator and the network standard corresponding to the second operator are the same, the first network standard can be quickly determined directly based on the preset second mapping relationship, without having to search for the second network standard that is in a decommissioned state from the network standards that the first operator provides services to the terminal, thereby improving the speed of obtaining the first network standard.
[0134] In this embodiment of the disclosure, if the first comparison result indicates that the first operator and the second operator are the same, that is, if the network standard for which the first operator provides network services to the terminal includes the second network standard that is in a decommissioned state, the second network standard can be precisely deleted from the network standard for which the first operator provides network services to the terminal, thereby obtaining the first network standard.
[0135] Furthermore, if the first comparison result indicates that the first operator and the second operator are different, that is, if the network standard for which the first operator provides network services to the terminal does not include the second network standard that is in a decommissioned state, then all network standards for which the first operator provides network services to the terminal can be directly identified as the first network standard.
[0136] In this way, the first network standard can be quickly and accurately determined based on the first comparison result between the first operator and the second operator.
[0137] In some embodiments, the method further includes:
[0138] Determine the primary operator based on the network status of the terminal;
[0139] The network status includes a first network status and a second network status. The first network status is the state in which the terminal is camped on the communication network, and the second network status is the state in which the terminal is not camped on the communication network.
[0140] In some embodiments, when the terminal is in a first network state, the first operator is determined based on the fourth operator to which the communication network the terminal is camped on. For example, the fourth operator to which the communication network the terminal is camped on and / or operators that have a cooperative relationship with the fourth operator can be determined as the first operator. It should be noted that when the terminal is not in a roaming state, the fourth operator can be any of the third or fifth operators disclosed herein. When the terminal is in a roaming state, the fourth operator is different from any of the third or fifth operators disclosed herein.
[0141] In some embodiments, when the terminal is in a second network state, the first operator can be determined based on the terminal information. The terminal information can indicate whether the terminal is a device managed by an operator or not. For example, the terminal can be a mobile phone, which can be managed by an operator after leaving the factory, or the mobile phone can be managed by the mobile phone manufacturer after leaving the factory, and the mobile phone manufacturer may not be an operator.
[0142] In some embodiments, when the terminal information indicates that the terminal is a device managed by an operator, the operator managing the terminal can be identified as the first operator.
[0143] In this embodiment of the disclosure, the first operator that is compatible with the network state of the terminal can be accurately determined according to the different network states of the terminal, so that when it is necessary to use the first operator to provide network services to the terminal, the network services can be accurately provided to the terminal using the network state of the terminal.
[0144] In some embodiments, determining the first operator based on the network status of the terminal includes:
[0145] When the terminal is in the first network state, the operator of the second communication network to which the terminal is camped is determined as the first operator;
[0146] When the terminal is in a second network state, the first operator is determined based on the operator to which the terminal's identity recognition module belongs.
[0147] In some embodiments, when the terminal is in a second network state and the terminal information indicates that the terminal is not a device managed by an operator, it can be determined whether the terminal has a Subscriber Identity Module (SIM). If the terminal has a SIM, the first operator is determined based on the operator to which the terminal's SIM belongs. It should be noted that the SIM can be a physical module or a virtual module, and this is not limited here.
[0148] In some embodiments, the operator to which the terminal's identity recognition module belongs can be determined as the first operator.
[0149] In some embodiments, the operator to which the terminal's identification module belongs can be referred to as a third operator. The third operator may have a third mapping relationship with at least one fifth operator. It should be noted that if the third operator to which the terminal's identification module belongs cannot provide network services to the terminal, network services can be provided to the terminal through a fifth operator with a third mapping relationship. That is, a fifth operator with a third mapping relationship can share the network operated by the third operator. In this case, the terminal does not need to switch identification modules to enjoy the network services provided by the third operator to which its identification module belongs and / or the fifth operator with a third mapping relationship.
[0150] In some embodiments, a third operator and / or an operator with a third mapping relationship with a third operator may be identified as the first operator.
[0151] In some embodiments, the fifth operators with which a third operator has a third mapping relationship can be updated at predetermined intervals. This allows for timely updates to the list of fifth operators with which a third operator has a third mapping relationship, should a third operator change in a real-world application scenario. This improves the accuracy of providing network services to terminals using third and / or fifth operators.
[0152] In some embodiments, when the first operator provides network services to the terminal, a fifth operator that has a third mapping relationship with the first operator is obtained from the server operated by the first operator.
[0153] In some embodiments, when the first operator provides network services to the terminal, a fifth operator that has a third mapping relationship with the first operator is obtained from the server of the first operator based on a predetermined period.
[0154] In this embodiment, when the terminal is in a first network state, the operator of the second communication network to which the terminal is camped can be directly determined as the first operator. This reduces the number of first operators and the number of first network standards corresponding to the first operators, thereby reducing the size of the frequency range that needs to be searched. This improves network search speed.
[0155] Furthermore, when the terminal is in a second network state, the primary operator can be accurately determined based on the operator to which the terminal's identification module belongs, which is easy to identify and reliable. This allows for the rapid and reliable use of the primary operator to provide network services to the terminal. Thus, the speed and reliability of using the primary operator to provide network services to the terminal can be improved.
[0156] In some embodiments, performing a network search based on a first network standard includes:
[0157] When the terminal is in roaming mode, a network search is performed based on the first network standard.
[0158] It should be noted that roaming status can be understood as the state where, when a terminal moves to a preset area, it accesses the communication network deployed by a fourth operator (different from the third and / or fifth operator) within that preset area. Here, the third operator is the operator to which the terminal's identification module belongs; the fifth operator is the operator with a third mapping relationship to the third operator. The preset area is an area where neither the third nor the fifth operator has deployed a network.
[0159] In one embodiment, in response to the terminal entering roaming state, a first network standard is determined, and a network search is performed based on the first network standard.
[0160] In this embodiment of the disclosure, the timing for performing a network search based on the first network standard can be limited to the time when the terminal is in a roaming state. At this time, when the terminal is in a roaming state, that is, when it cannot be guaranteed that the communication network to which the terminal is roaming is a secure network, a network search can be performed only based on the network standard that is not in a deactivated state, and not based on the network standard that is in a deactivated state.
[0161] In other words, if the communication network corresponding to a network standard that is in a decommissioned state might be an insecure network impersonating another network, the terminal will not search for that network, nor will it reside on such a network. For example, when users are roaming in different locations, such as while traveling or on business trips, they will not be vulnerable to information leaks or malicious text messages due to fake base stations or malicious network attacks. This reduces the likelihood of the terminal roaming to insecure communication networks, thus ensuring network security.
[0162] In some embodiments, the method further includes:
[0163] When the terminal is not in roaming mode, a network search is performed based on all network standards provided by the first operator for the terminal.
[0164] In some embodiments, in response to a terminal exiting roaming mode, the set of the first network standard and the second network standard corresponding to the first operator is determined as all network standards for which the first operator provides network services to the terminal. That is, when a terminal exits roaming mode, the network standard for which the first operator provides network services to the terminal can be restored to the network standard before the second network standard was deleted.
[0165] In this embodiment, when the terminal is not in roaming mode, i.e., when the probability of the communication network deployed by the first operator being impersonated by an insecure communication network is low, a network search can be performed based on all network standards for which the first operator provides network services to the terminal, regardless of whether the first operator has a corresponding second network standard that is currently decommissioned. This increases the network search range and the probability of finding a communication network.
[0166] In some embodiments, the method further includes:
[0167] When the terminal is in the first network state of being registered, it is determined whether the terminal is in a roaming state based on the second comparison result between the second communication network and at least one preset third communication network.
[0168] The second communication network is the communication network to which the terminal resides, and the third communication network is the home network corresponding to the terminal's identity recognition module.
[0169] In some embodiments, the preset third communication network may be a communication network deployed by any third operator and / or a fifth operator having a third mapping relationship with the third operator in the present disclosure embodiments.
[0170] In some embodiments, the communication network may be a Public Land Mobile Network (PLMN).
[0171] In some embodiments, a PLMN list may be obtained, wherein the PLMN list includes communication networks deployed by a fifth operator that has a third mapping relationship with a third operator. That is, the PLMN list includes a list of mobile networks of a fifth operator cooperating with a third operator. A second communication network may be compared with the PLMN operated by the third operator and / or the third communication network in the PLMN list to obtain a second comparison result.
[0172] In some embodiments, a third mapping relationship exists between the communication network and the network identifier. The network identifier is used to indicate the deployment area and / or the operator to which the communication network belongs. Whether the terminal is in a roaming state can be determined based on a second comparison result between the network identifier corresponding to the second communication network and the network identifier corresponding to the third communication network.
[0173] In some embodiments, if the second comparison result indicates that the network identifier of the second communication network and the network identifier of any third communication network are the same, it is determined that the terminal is not in a roaming state. If the second comparison result indicates that the network identifier of the second communication network and the network identifiers of all third communication networks are different, it is determined that the terminal is in a roaming state.
[0174] In some embodiments, the network identifier includes a first identifier and / or a second identifier; the first identifier indicates the deployment area of the communication network. For example, the first identifier may indicate the country where the deployment area of the communication network is located. The second identifier may indicate the operator corresponding to the communication network. Exemplarily, the communication network may be a PLMN, and different PLMNs may have different first and / or second identifiers. The first identifier may be a Mobile Country Code (MCC). The second identifier may be a Mobile Network Code (MNC).
[0175] In some embodiments, if the first identifier corresponding to the second communication network and the first identifier corresponding to the third communication network are the same, and both the second identifier corresponding to the second communication network and the second identifier corresponding to the third communication network are the same, then the network identifier of the second communication network and the network identifier of the third communication network are determined to be the same. If the first identifier corresponding to the second communication network and the first identifier corresponding to the third communication network are different, and / or if the second identifier corresponding to the second communication network and the second identifier corresponding to the third communication network are different, then the network identifier of the second communication network and the network identifier of the third communication network are determined to be different.
[0176] In this embodiment of the disclosure, when the terminal is in the first network state of being registered, the second comparison result can be used to indicate whether the second communication network to which the terminal is registered is the home network corresponding to the terminal's identity recognition module. Based on the second comparison result, it can be accurately determined whether the terminal is roaming to a communication network outside the home network, thereby accurately determining whether the terminal is in a roaming state.
[0177] In some embodiments, determining whether a terminal is in a roaming state based on a second comparison result between a second communication network and at least one preset third communication network includes:
[0178] If the second comparison result indicates that the second communication network and any third communication network are the same, it is determined that the terminal is not in a roaming state;
[0179] If the second comparison result indicates that the second communication network and all third communication networks are different, it is determined that the terminal is in a roaming state.
[0180] In some embodiments, the preset third communication network may be a communication network deployed by any third operator and / or a fifth operator having a third mapping relationship with the third operator in the present disclosure embodiments.
[0181] In some embodiments, if the second comparison result indicates that the second communication network and the communication network deployed by the third operator are the same, it is determined that the terminal is not in a roaming state. Alternatively, if the second comparison result indicates that the second communication network and the communication network deployed by the fifth operator are the same, it is determined that the terminal is not in a roaming state.
[0182] In some embodiments, if the second comparison result indicates that the second communication network and the communication network deployed by the third operator are different, and the second communication network and the communication network deployed by the fifth operator are different, it is determined that the terminal is in a roaming state.
[0183] In some embodiments, the preset third communication network may include: a communication network deployed by a third operator, and / or a portion of the communication network deployed by a fifth operator. It should be noted that in practical applications, the third operator and the fifth operator may share a portion of the communication network deployed by the fifth operator. In this case, the terminal can access the portion of the network shared by the fifth operator with the third operator while not roaming.
[0184] In this embodiment of the disclosure, it is not necessary to temporarily obtain the information of the home network corresponding to the terminal. The second comparison result between the second communication network and the preset home network corresponding to the terminal can be used to accurately and quickly determine whether the terminal is roaming to a communication network outside the home network, thereby accurately and quickly determining whether the terminal is in a roaming state.
[0185] In some embodiments, at least two communication networks are searched; the method further includes:
[0186] Determine the priority of the discovered communication networks;
[0187] The first communication network that resides in at least one of the searched communication networks includes:
[0188] Reside in the first communication network with a priority higher than the preset priority among the searched communication networks.
[0189] In some embodiments, when the terminal is camped on a second communication network, a network search can be performed based on the first network standard to obtain at least one searched communication network; if the second communication network is located within the at least one searched first communication network, the terminal remains camped on the second communication network. Alternatively, if the second communication network camped on by the terminal is different from all at least one searched first communication network, the network camped on by the terminal is switched to the first communication network.
[0190] In some embodiments, if the second communication network is located within at least one first communication network found, the priority of the second communication network among the found communication networks is determined. If the priority of the second communication network is greater than a preset priority, the terminal remains camped on the second communication network. If the priority of the second communication network is less than the preset priority, the network on which the terminal camps is switched to the first communication network with a priority greater than the preset priority.
[0191] In some embodiments, the priority of a communication network can be determined based on the distance between the deployment area of each of the first communication networks and the area where the terminal is located; wherein, distance and priority are negatively correlated.
[0192] In some embodiments, the priority of a found communication network can be determined based on the access frequency of the network accessed by the terminal. The priority of a communication network can be positively correlated with the access frequency corresponding to the communication network.
[0193] In some embodiments, when at least two communication networks are found, the communication network with a priority higher than a preset priority among the found communication networks can be determined as the first communication network. For example, the communication network with the highest priority among the found communication networks can be determined as the first communication network.
[0194] In some embodiments, at least two communication networks with a priority higher than a preset priority can be identified among the searched communication networks. A first communication network can be determined based on the frequency at which the terminal camps on these at least two communication networks with a priority higher than the preset priority. For example, the communication network with a camping frequency greater than a preset frequency threshold among the at least two communication networks can be determined as the first communication network. For instance, the communication network with the highest camping frequency among the at least two communication networks can be determined as the first communication network. In this embodiment of the disclosure, when at least two communication networks are found, a first communication network with a higher priority can be determined from the at least two searched communication networks based on the priority of each searched communication network, thereby preferentially camping on the first communication network with better network service performance.
[0195] In some embodiments, the method further includes:
[0196] Based on the network information of the searched communication networks, the priority of the communication networks is determined;
[0197] The network information includes: the network quality of the communication network and / or the operator to which the communication network belongs; the priority of the communication network operated by the third operator to which the terminal's identification module belongs is higher than the priority of the communication network not operated by the third operator, and / or, the network quality and priority are positively correlated.
[0198] In some embodiments, the network quality of a communication network can be determined based on the algebra of the communication standard corresponding to the searched communication network; wherein the algebra of the communication standard corresponding to the communication network is positively correlated with the network quality of the communication network. For example, the network quality of a communication network using the 4G communication standard is higher than that of a communication network using the 3G communication standard.
[0199] For example, the searched communication networks may include communication network 31 and communication network 32. The distance between the deployment area of communication network 31 and the area where the terminal is located is less than the distance between the deployment area of communication network 32 and the area where the terminal is located. However, if the network quality of communication network 32 is higher than that of communication network 31, then it can be determined that the priority of communication network 32 is higher than that of communication network 31.
[0200] In some embodiments, where the network quality of the various communication networks differs, and where some communication networks are operated by a third-party operator, the priority of the communication network operated by the third-party operator is determined to be higher than the priority of the communication network not operated by the third-party operator. Here, regardless of whether the quality of the various first communication networks is the same, the priority of the communication network operated by the third-party operator to which the terminal's identity recognition module belongs is higher than the priority of the communication network not operated by the third-party operator. In this way, it can be ensured that a reliable first-party operator can provide network services to the terminal preferentially, thus ensuring network security.
[0201] In one embodiment, if a communication network operated by a third operator exists in the communication network, the communication network operated by the third operator is identified as the first communication network.
[0202] It should be noted that when the terminal is in roaming mode, the communication networks searched based on the first network standard do not include communication networks operated by third-party operators. In this case, the priority of each communication network can be determined based on the network quality of each searched communication network.
[0203] In this embodiment of the disclosure, the priority of each communication network can be determined based on the network quality of each searched communication network and / or the operator to which each communication network belongs. In this case, when determining the network to which the terminal should camp based on the priority of the communication network, the communication network with high network quality or whose operator is the local operator can be identified as the first communication network to which the terminal should camp. This ensures that the first communication network to which the terminal ultimately camps has high network quality and that the operator providing network services to the terminal is secure and reliable.
[0204] Figure 2 This is a flowchart illustrating a network registration method according to an exemplary embodiment, such as... Figure 2 As shown, the method includes:
[0205] Step 21: The terminal enters the first network state of the registered network.
[0206] Step 22: Determine whether the terminal is in roaming mode;
[0207] If the terminal is in roaming mode, proceed to step 23; otherwise, proceed to step 24.
[0208] Step 23: Determine whether there is a second network standard that is in a decommissioned state among the network standards for which the first operator provides network services to the terminal;
[0209] If the network standard provided by the first operator to the terminal includes a second network standard, then proceed to step 25; otherwise, proceed to step 24.
[0210] Step 24: Perform a network search based on all network standards supported by the operators providing network services to the terminal.
[0211] It should be noted that, please refer to Table 1 in this disclosure. When performing step 24, this disclosure will issue the example value "0" in Table 1. This example value is used to indicate that there is no second network standard in the decommissioned state among the operators providing network services to the terminal.
[0212] Step 25: Delete the second network standard from the network standards for which the first operator provides network services to the terminal, obtain the first network standard that is not in a decommissioned state, and perform a network search based on the first network standard.
[0213] It should be noted that, please refer to Table 1 in this disclosure. When performing steps 23 or 25, the example values issued in this disclosure are values other than "0". These example values are used to indicate which specific network standards need to be removed from the network standards that the first operator provides network services to the terminal.
[0214] In some embodiments, the process of a network registration method illustrated in an exemplary embodiment may include the following steps:
[0215] Step 31: When the terminal is in the first network state of being registered on the network, if it switches from the non-roaming state to the roaming state, the network identifier corresponding to the first operator and the network identifier corresponding to the preset second operator are compared to obtain the first comparison result.
[0216] The network identifier includes any of the first identifiers and / or second identifiers described in this disclosure. That is, the network identifier includes MCC and MNC.
[0217] Here, a scene caching unit can be set up in the terminal. The terminal's operating system can be used to pre-configure operator configuration files within the scene caching unit, writing the second network standard that is currently decommissioned and the second operator that supports that second network standard into the configuration file. When the system initializes and loads the data from the configuration file, the scene caching unit will save this data to the database.
[0218] In addition, when the terminal has an identity recognition module loaded, the scene caching unit can store the network standards supported and issued by the operator to which the identity recognition module belongs in the database.
[0219] Step 32: If the first comparison result indicates that the network identifier of the first operator and the network identifier of the second operator are the same, then delete the second network standard that is in the decommissioning state among the network standards supported by the first operator.
[0220] For example, the scene control unit will perform network switching, removing the second network standard of the corresponding operator that is in a decommissioned state from the modem protocol stack stored in the scene cache unit, and no longer searching for and applying for related networks.
[0221] Step 33: If switching from roaming to non-roaming, the second network standard corresponding to the first operator that is in a decommissioned state can be added to the network standards supported by the first operator, and a network search can be performed based on all the network standards corresponding to the first operator.
[0222] For example, if switching from roaming to non-roaming, the scene control unit will also perform network switching, restoring the network standards supported and issued by the operator that were saved in the database after the scene cache unit finished loading the card.
[0223] It should be noted that the network switching operations performed by the scene control unit may include:
[0224] (1) The terminal's hardware abstraction layer (HAL) can convert the network type supported by the first operator into the corresponding network standard. For example, when the network type supported by the first operator is a 2G network type based on GSM, the corresponding network standards are determined to be GSM, GPRS, and EDGE. When the network type supported by the first operator is a 2G network mode type based on CDMA, the network standards supported by the first operator are 1xRTT and CDMA.
[0225] (2) The application processor (AP) in the terminal will convert the network standard supported by the first operator determined by the HAL layer into binary form, and finally filter out the second network standard that is in the decommissioned state through bit operations, obtain the set of the first network standard and send it to the underlying modem.
[0226] (3) The underlying modem searches for and stays on relevant networks based on the network standard issued by the HAL layer, with priority decreasing. At this time, the network standard used by the modem for network search changes, thus completing the network switching operation.
[0227] In some embodiments, after the terminal is powered on, the operating system begins to execute a registration listening service. This registration listening service is used to monitor changes in the terminal's state between roaming and non-roaming states. Specifically, the registration listening service can be used to perform steps 31 to 33 described above.
[0228] In this embodiment, network switching via the scene control unit is equivalent to optimizing the terminal's network connection, blocking insecure networks that are not supported by the operator and may be vulnerable to attack. This improves the security of the network the terminal hosts and enhances the user experience.
[0229] Figure 4 This is an exemplary network access device according to an embodiment of the present disclosure, the device comprising:
[0230] The determination module 41 is configured to determine a first network standard; wherein, the first network standard is a network standard that is not in a decommissioned state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search;
[0231] Search module 42 is configured to perform network search based on the first network standard to obtain at least one communication network found.
[0232] The network-hosting module 43 is configured to reside in the first communication network among at least one of the searched communication networks.
[0233] In some embodiments, the determining module 41 is further configured to:
[0234] Based on the first comparison result between the first operator and the preset second operator, the first network standard is determined;
[0235] Among them, the network standards for which the second operator provides network services to the terminal include second network standards that are in a state of being decommissioned, and there is a corresponding relationship between the second operator and the second network standards.
[0236] In some embodiments, the determining module 41 is further configured to:
[0237] If the first comparison result indicates that the first operator and the second operator are the same, the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal shall be determined as the first network standard.
[0238] If the first comparison result indicates that the first operator and the second operator are different, then all network standards for which the first operator provides network services to the terminal shall be identified as the first network standard.
[0239] In some embodiments, the determining module 41 is further configured to:
[0240] Determine the primary operator based on the network status of the terminal;
[0241] The network status includes a first network status and a second network status. The first network status is the state in which the terminal is camped on the communication network, and the second network status is the state in which the terminal is not camped on the communication network.
[0242] In some embodiments, the determining module 41 is further configured to:
[0243] When the terminal is in the first network state, the operator of the second communication network to which the terminal is camped is determined as the first operator;
[0244] When the terminal is in a second network state, the first operator is determined based on the operator to which the terminal's identity recognition module belongs.
[0245] In some embodiments, the search module 42 is further configured to:
[0246] When the terminal is in roaming mode, a network search is performed based on the first network standard.
[0247] In some embodiments, the search module 42 is further configured to:
[0248] When the terminal is not in roaming mode, a network search is performed based on all network standards provided by the first operator for the terminal.
[0249] In some embodiments, the determining module 41 is further configured to:
[0250] When the terminal is in the first network state of being registered, it is determined whether the terminal is in a roaming state based on the second comparison result between the second communication network and at least one preset third communication network.
[0251] The second communication network is the communication network to which the terminal resides, and the third communication network is the home network corresponding to the terminal's identity recognition module.
[0252] In some embodiments, the determining module 41 is further configured to:
[0253] If the second comparison result indicates that the second communication network and any third communication network are the same, it is determined that the terminal is not in a roaming state;
[0254] If the second comparison result indicates that the second communication network and all third communication networks are different, it is determined that the terminal is in a roaming state.
[0255] In some embodiments, at least two communication networks are searched; the determining module is further configured to:
[0256] Determine the priority of the discovered communication networks;
[0257] Module 42 is also configured as follows:
[0258] Reside in the first communication network with a priority higher than the preset priority among the searched communication networks.
[0259] In some embodiments, the determining module 41 is further configured to:
[0260] Based on the network information of the searched communication networks, the priority of the communication networks is determined;
[0261] The network information includes: network quality and / or the operator to which each first communication network belongs; the priority of communication networks operated by the third operator to which the terminal's identification module belongs, which is higher than the priority of communication networks not operated by the third operator, and / or, network quality and priority are positively correlated.
[0262] Reference Figure 5 The device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.
[0263] Processing component 502 typically controls the overall operation of device 500, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0264] Memory 504 is configured to store various types of data to support operation of device 500. Examples of such data include at least one of the following: instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, and videos. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0265] Power supply component 506 provides power to various components of device 500. Power supply component 506 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 500.
[0266] Multimedia component 508 includes a screen that provides an output interface between device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0267] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0268] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0269] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or one of its components, the presence or absence of user contact with device 500, orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0270] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0271] In an exemplary embodiment, device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0272] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including executable instructions or a computer program, which can be executed by the processor 520 of the device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0273] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of a mobile terminal, enables the mobile terminal to perform any of the network-hosting methods described in the embodiments of this disclosure. For example, the network-hosting method includes:
[0274] Determine the first network standard; wherein, the first network standard is the network standard that is not in the decommissioning state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search;
[0275] Perform a network search based on the first network standard to obtain at least one communication network found.
[0276] The first communication network that resides in at least one communication network.
[0277] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the network access methods described above in this disclosure.
[0278] Figure 6 This is a block diagram illustrating a display device 600 according to an exemplary embodiment. For example, device 600 may be provided as a server. (Refer to...) Figure 6 The device 600 includes a processing component 622, which further includes one or more processors, and memory resources represented by memory 632 for storing instructions, such as application programs, that can be executed by the processing component 622. The application programs stored in memory 632 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 622 is configured to execute instructions to perform the aforementioned network-hosting method:
[0279] Determine the first network standard; wherein, the first network standard is the network standard that is not in the decommissioning state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search;
[0280] Perform a network search based on the first network standard to obtain at least one communication network found.
[0281] The first communication network that resides in at least one communication network.
[0282] Device 600 may also include a power supply component 626 configured to perform power management of device 600, a wired or wireless network interface 650 configured to connect device 600 to a network, and an input / output (I / O) interface 658. Device 600 can operate an operating system stored in memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0283] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the foregoing claims.
[0284] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for establishing a network, characterized in that, include: A first network standard is determined; wherein, the first network standard is a network standard that is not in a decommissioned state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search; A network search is performed based on the first network standard to obtain at least one communication network found. The first communication network is hosted in the at least one communication network.
2. The network stationing method according to claim 1, characterized in that, The determination of the first network standard includes: Based on the first comparison result between the first operator and the preset second operator, the first network standard is determined; Among them, the network standard for which the second operator provides network services to the terminal includes a second network standard that is in a decommissioned state, and there is a corresponding relationship between the second operator and the second network standard.
3. The network stationing method according to claim 2, characterized in that, The step of determining the first network standard based on the first comparison result between the first operator and a preset second operator includes: If the first comparison result indicates that the first operator and the second operator are the same, the network standard other than the second network standard among the network standards for which the first operator provides network services to the terminal shall be determined as the first network standard; If the first comparison result indicates that the first operator and the second operator are different, then all network standards for which the first operator provides network services to the terminal are determined as the first network standard.
4. The network stationing method according to claim 1, characterized in that, The method further includes: The first operator is determined based on the network status of the terminal; The network status includes a first network status and a second network status. The first network status is the state in which the terminal is camped on the communication network, and the second network status is the state in which the terminal is not camped on the communication network.
5. The network stationing method according to claim 4, characterized in that, Determining the first operator based on the network status of the terminal includes: When the terminal is in the first network state, the operator of the second communication network to which the terminal is camped is determined to be the first operator; When the terminal is in the second network state, the first operator is determined based on the operator to which the terminal's identity recognition module belongs.
6. The network registration method according to any one of claims 1 to 5, characterized in that, The network search based on the first network standard includes: When the terminal is in roaming mode, a network search is performed based on the first network standard.
7. The network stationing method according to claim 6, characterized in that, The method further includes: If the terminal is not in the roaming state, a network search is performed based on all network standards for which the first operator provides network services to the terminal.
8. The network stationing method according to claim 6, characterized in that, The method further includes: When the terminal is in a first network state of being registered on the network, it is determined whether the terminal is in the roaming state based on a second comparison result between the second communication network and at least one preset third communication network; The second communication network is the communication network to which the terminal resides, and the third communication network is the home network corresponding to the terminal's identity recognition module.
9. The network stationing method according to claim 8, characterized in that, Determining whether the terminal is in the roaming state based on a second comparison result between the second communication network and at least one preset third communication network includes: If the second comparison result indicates that the second communication network and any of the third communication networks are the same, it is determined that the terminal is not in the roaming state; If the second comparison result indicates that the second communication network and all of the third communication networks are different, the terminal is determined to be in the roaming state.
10. The network registration method according to claim 1, characterized in that, The searched communication networks are at least two; the method further includes: Determine the priority of the discovered communication networks; The first communication network residing in the at least one communication network includes: The system will remain in the first communication network among the searched networks, where the priority is higher than the preset priority.
11. The network registration method according to claim 10, characterized in that, The method further includes: The priority of the communication network is determined based on the network information of the searched communication network; The network information includes the network quality of the communication network and / or the operator to which the communication network belongs; the priority of the communication network operated by the third operator to which the terminal's identity recognition module belongs is higher than the priority of the communication network not operated by the third operator, and / or the network quality and the priority are positively correlated.
12. A network-hosting device, characterized in that, The device includes: The determination module is configured to determine a first network standard; wherein, the first network standard is a network standard that is not in a decommissioned state among the network standards for which the first operator provides network services to the terminal, and the network standard at least indicates the frequency range used for network search; The search module is configured to perform a network search based on the first network standard to obtain at least one communication network found. The network-hosting module is configured to reside in the first communication network of the at least one communication network.
13. A terminal, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 11.
14. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
15. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 11.