Network selection method and apparatus

By managing and updating the network selection information of two user identity cards in the terminal device, the network selection error caused by rotating user identity cards between different devices is resolved, ensuring that mobile devices select the correct roaming network and improving the accuracy of network selection.

CN115604789BActive Publication Date: 2026-11-24伟光有限公司(CN)
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211215643.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-11-24
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In mobile devices, there is a problem with network selection errors in existing technologies, especially when user identification cards are used in rotation between different devices, which may lead to roaming network selection errors and failure to update the latest network selection information in a timely manner.

Method used

By storing and managing network selection information from two user identity cards in the terminal device, and using counters or update time information to determine the latest network selection information, the system ensures that the latest OPLMNwACT list is used when selecting networks, thus reducing errors.

Benefits of technology

It effectively reduces network selection errors, ensures that mobile devices select the correct network when roaming, and improves the accuracy and consistency of network selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604789B_ABST
    Figure CN115604789B_ABST
Patent Text Reader

Abstract

This application relates to a network selection method and apparatus. The network selection method includes: when a first user identity card is reactivated, the terminal device performs network selection based on network selection information in the first user identity card. Embodiments of this application utilize the latest updated network selection information for network selection, which can reduce errors in network selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to network selection methods and devices. Background Technology

[0002] Steering of Roaming (SOR) is a mechanism that encourages mobile equipment (ME) to roam to the preferred roaming network indicated by the Home Public Land Mobile Network (HPLMN). The network equipment provides SOR information to the ME, which the ME uses to select a network. Summary of the Invention

[0003] This application provides a network selection method and device.

[0004] This application provides a network selection method, including:

[0005] When the first user identity card is reactivated, the terminal device selects a network based on the network selection information in the first user identity card.

[0006] This application provides a network selection method, including:

[0007] When the terminal device is powered on or the user identification card is activated, the terminal device sends a request message to the network device, which is used to request network selection information.

[0008] This application provides a network selection method, including:

[0009] The network device receives an initial registration request message from the terminal device, which is used to request network selection information;

[0010] The network device sends network selection information to the terminal device.

[0011] This application provides a terminal device, including:

[0012] The first network selection module is used to select a network based on the network selection information in the first user identity card when the first user identity card is reactivated.

[0013] This application provides a terminal device, including:

[0014] The request module is used to send a request message to the network device when the user identification card is powered on or activated. The request message is used to request network selection information.

[0015] This application provides a network device, including:

[0016] The second receiving module is used to receive an initial registration request message from the terminal device, which is used to request network selection information.

[0017] The sending module is used to send network selection information to the terminal device.

[0018] This application provides a device including a processor, a memory, and a transceiver. The memory stores a computer program, and the processor calls and runs the computer program stored in the memory and controls the transceiver to cause the device to execute the network selection method of this application.

[0019] This application provides a chip for implementing the network selection method described above.

[0020] Specifically, the chip includes a processor for calling and running a computer program from memory, causing a device equipped with the chip to perform the network selection method described in this application.

[0021] This application provides a computer-readable storage medium for storing a computer program, which, when run by a device, causes the device to execute the network selection method described in this application.

[0022] This application provides a computer program product, including computer program instructions that cause a computer to execute the network selection method described in this application.

[0023] This application provides a computer program that, when run on a computer, causes the computer to execute the network selection method described in this application.

[0024] This application embodiment can perform network selection based on the network selection information in the user identification card, thereby reducing errors in network selection. Attached Figure Description

[0025] Figure 1 An example of a communication system 100 is shown.

[0026] Figure 2A This is a schematic diagram of SOR information update method one.

[0027] Figure 2B This is a diagram illustrating SOR information update method two.

[0028] Figure 3 This is a diagram illustrating a possible OPLMNwACT selection error scenario under the SOR mechanism.

[0029] Figure 4 This is a schematic flowchart of a network selection method 400 according to an embodiment of this application.

[0030] Figure 5 This is a schematic diagram of the OPLMNwACT storage structure according to an embodiment of this application.

[0031] Figure 6 This is a schematic diagram illustrating the initialization method of the OPLMNwACT list during power-on according to one embodiment of this application.

[0032] Figure 7 This is a schematic diagram illustrating the method of updating the OPLMNwACT list during operation, according to one embodiment of this application.

[0033] Figure 8 This is a schematic diagram of a storage structure for storing OPLMNwACT information for two corresponding SUPIs according to an embodiment of this application.

[0034] Figure 9 This is a flowchart of a network selection method 900 according to an embodiment of this application.

[0035] Figure 10 This is a schematic diagram of the structure of a terminal device 1000 according to an embodiment of this application.

[0036] Figure 11 This is a schematic diagram of the structure of a terminal device 1100 according to an embodiment of this application.

[0037] Figure 12 This is a schematic diagram of the structure of a terminal device 1200 according to an embodiment of this application.

[0038] Figure 13 This is a schematic diagram of the structure of a terminal device 1300 according to an embodiment of this application.

[0039] Figure 14 This is a schematic diagram of the structure of a network device 1400 according to an embodiment of this application.

[0040] Figure 15 This is a schematic structural diagram of a communication device 1500 according to an embodiment of this application.

[0041] Figure 16 This is a schematic structural diagram of chip 1600 according to an embodiment of this application.

[0042] Figure 17 This is a schematic block diagram of a communication system 1700 according to an embodiment of this application. Detailed Implementation

[0043] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0044] The technical solutions of this application embodiment can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, evolution of NR system, LTE-based access to unlicensed spectrum (LTE-U) system, NR-based access to unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), and Wireless Fidelity (WF). Fidelity (WiFi), 5th-Generation (5G) communication systems, or other communication systems.

[0045] Traditional communication systems typically support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication but also, for example, device-to-device (D2D) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), vehicle-to-vehicle (V2V) communication, or vehicle-to-everything (V2X) communication. The embodiments of this application can also be applied to these communication systems.

[0046] In one implementation, the communication system in this application embodiment can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, or a standalone (SA) network deployment scenario.

[0047] In one embodiment, the communication system in this application can be applied to unlicensed spectrum, wherein the unlicensed spectrum can also be considered as shared spectrum; or, the communication system in this application can also be applied to licensed spectrum, wherein the licensed spectrum can also be considered as non-shared spectrum.

[0048] This application describes various embodiments in conjunction with network devices and terminal devices. The terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment (ME), user terminal, terminal, wireless communication device, user agent, or user device, etc.

[0049] Terminal devices can be stations (STAION, ST) in WLANs, cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminal devices in next-generation communication systems such as NR networks, or terminal devices in future evolved Public Land Mobile Network (PLMN) networks, etc.

[0050] In the embodiments of this application, the terminal device can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on water (such as ships); and it can also be deployed in the air (such as airplanes, balloons and satellites).

[0051] In the embodiments of this application, the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical care, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

[0052] By way of example and not limitation, in this embodiment, the terminal device can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0053] In the embodiments of this application, the network device can be a device for communicating with mobile devices. The network device can be an access point (AP) in WLAN, a base station (BTS) in GSM or CDMA, a base station (NodeB, NB) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, a relay station or access point, or a vehicle-mounted device, wearable device, or a network device (gNB) in an NR network, or a network device in a future evolved PLMN network or an NTN network, etc.

[0054] By way of example and not limitation, in this embodiment, the network device may have mobility characteristics; for example, the network device may be a mobile device. Optionally, the network device may be a satellite or a balloon station. For example, the satellite may be a low Earth orbit (LEO) satellite, a medium Earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station located on land, water, or other similar locations.

[0055] In this embodiment, the network device can provide services to a cell. The terminal device communicates with the network device through the transmission resources (e.g., frequency domain resources, or spectrum resources) used by the cell. The cell can be the cell corresponding to the network device (e.g., a base station). The cell can belong to a macro base station or to a base station corresponding to a small cell. The small cell can include: metro cell, micro cell, pico cell, femto cell, etc. These small cells have the characteristics of small coverage area and low transmission power, and are suitable for providing high-speed data transmission services.

[0056] Figure 1 An exemplary communication system 100 is shown. The communication system includes a network device 110 and two terminal devices 120. In one embodiment, the communication system 100 may include multiple network devices 110, and the coverage area of ​​each network device 110 may include other numbers of terminal devices 120, which is not limited in this application embodiment.

[0057] In one embodiment, the communication system 100 may also include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), which are not limited in this application.

[0058] Network equipment can be further divided into access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks used to communicate with the access network equipment. Access network equipment can be evolved Node Bs (eNBs or e-NodeBs) in Long-Term Evolution (LTE), Next-Generation Radio (NR), or Authorized Auxiliary Access Long-Term Evolution (LAA-LTE) systems, such as macro base stations, micro base stations (also called "small base stations"), pico base stations, access points (APs), transmission points (TPs), or new generation Node Bs (gNodeBs).

[0059] It should be understood that devices with communication functions in the network / system of this application embodiment can be referred to as communication devices. Figure 1 Taking the communication system shown as an example, the communication equipment may include network devices and terminal devices with communication functions. The network devices and terminal devices may be specific devices in the embodiments of this application, which will not be described in detail here. The communication equipment may also include other devices in the communication system, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiments of this application.

[0060] It should be understood that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" in this document merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0061] It should be understood that the term "instruction" mentioned in the embodiments of this application can be a direct instruction, an indirect instruction, or an indication of a relationship. For example, A instructing B can mean that A directly instructs B, such as B being able to obtain information through A; it can also mean that A indirectly instructs B, such as A instructing C, so B can obtain information through C; or it can mean that there is a relationship between A and B.

[0062] In the description of the embodiments of this application, the term "correspondence" may indicate that there is a direct or indirect correspondence between two things, or that there is an association between two things, or that there is a relationship of instruction and being instructed, configuration and being configured, etc.

[0063] To facilitate understanding of the technical solutions of the embodiments of this application, the relevant technologies of the embodiments of this application are described below. The following relevant technologies are optional solutions and can be combined with the technical solutions of the embodiments of this application in any way, and they all fall within the protection scope of the embodiments of this application.

[0064] According to relevant protocols, mobile devices (MEs) can support the control plane SOR mechanism on 5G systems (5GS) to update the UE's SOR information. The SOR information is provided by the HPLMN and forwarded by the visited PLMN (VPLMN), carried in the registration response (REGISTRATION ACCEPT) and / or downlink non-access stratum transport (DLNAS Transport) information and sent to the UE. There are two methods for assembling and updating SOR information:

[0065] Method 1: The network side provides a PLMN identifier and access technology list.

[0066] Figure 2A This is a diagram illustrating SOR information update method one. For example... Figure 2A As shown, the ME sends a Registration Request message to the network side, and the network side sends SOR information to the ME via a Registration Accept message; alternatively, the network side sends SOR information to the ME via a DLNAS Transport message. If the list of Operator Controlled PLMN Selector with Access Technology (OPLMNwACT) provided by the network side has changed, the ME updates the OPLMNwACT list according to the SOR information and stores the updated OPLMNwACT list in the ME's non-volatile memory (NVM).

[0067] The Operator Controlled PLMN Selector with Access Technology (OPLMNwACT) list transmitted in this manner, along with the Subscription Permanent Identifier (SUPI), is stored in the ME's Non-Volatile Memory (NVM). If the last SOR message received before power-off was transmitted in this manner, the OPLMNwACT list stored in the ME's NVM will not be cleared upon power-off; however, the OPLMNwACT list stored in the ME's NVM is cleared when a new Universal Subscriber Identity Module (USIM) card is inserted.

[0068] Method 2: The network side provides a secure packet.

[0069] Figure 2B This is a diagram illustrating SOR information update method two. For example... Figure 2B As shown, Figure 2A As shown, the ME sends a registration request message to the network side, and the network side sends SOR information encapsulated in a secure packet to the ME via a registration response message; alternatively, the network side sends SOR information encapsulated in a secure packet to the ME via a DLNAS Transport message. The ME provides the SOR information encapsulated in a secure packet to the USIM card, and the USIM card interprets the SOR information (i.e., the OPLMNwACT list) in the secure packet. If the OPLMNwACT list notified by the network side has changed, the USIM card updates the OPLMNwACT list to the EF. OPLMNwACT In the file; otherwise, EF does not need to be updated. OPLMNwACT document

[0070] Therefore, the UE may have two OPLMNwACT list information, one stored in the ME's NVM (or in the ME), and the other stored in a file on the USIM card.

[0071] In automatic network selection mode, the UE uses information from the OPLMNwACT list when selecting a PLMN / access technology combination. Regarding which OPLMNwACT list to use, the following principles should be followed according to the protocol:

[0072] If the latest updated OPLMNwACT list is updated via SOR information, then the OPLMNwACT list stored in the ME is used; otherwise, the OPLMNwACT list stored in the USIM card is used.

[0073] Based on the relevant protocol mechanism, generally speaking, the ME stores the OPLMNwACT list updated using Method 1. When the ME receives the OPLMNwACT list updated using Method 2, the OPLMNwACT list stored in the ME is deleted. At power-on, if a valid OPLMNwACT list exists in the ME, the OPLMNwACT list stored in the ME is used; otherwise, the OPLMNwACT list in the USIM card is used. This ensures that even after powering off / on, or after removing and reinserting the same USIM card, the OPLMNwACT list sent by the network side via SOR can still be selected.

[0074] However, when the same USIM card is used in rotation between different mobile phones, and the HPLMN updates the SOR information in different ways during this period, the UE may encounter usage errors when using the OPLMNwACT list in automatic network selection mode. One possible scenario is as follows: Figure 3 As shown:

[0075] During the time period t0 to t1, ME1 uses USIM1. At a certain point in time, HPLMMN updates the SOR information via method one. According to the protocol, the updated OPLMNwACT list is stored in ME, and this OPLMNwACT list is also used in automatic network selection mode. When the device is powered off at time t1, the OPLMNwACT list stored in ME is not cleared. Afterwards, the user removes USIM1 from ME1 and inserts it into ME2. During the time period t1 to t2, ME2 uses USIM1. At a certain point in time, HPLMMN updates the SOR information again via method two. According to relevant regulations, the updated OPLMNwACT list is stored in the USIM card, and the OPLMNwACT list in the USIM card is also used in automatic network selection mode. After powering off at time t2, the user removes USIM1 again and inserts it back into ME1. At this point, ME1 still stores the OPLMNwACT list updated during the time period t0 to t1, and it recognizes that the newly inserted card and the saved information are the same USIM card. It will not delete the information stored in ME, but will instead continue to use the OPLMNwACT list stored in ME for network selection in automatic mode. However, the latest updated OPLMNwACT list is actually stored in the USIM card, and the OPLMNwACT list in the USIM should be selected. This error will ultimately lead to the UE choosing the wrong network. The network side only updates the SOR when it deems it necessary. Even if the network side updates the SOR information through the initial registration acceptance message, it cannot know that the USIM has been replaced by ME. It may also directly inform the UE through method one that the OPLMNwACT has not changed, thus prolonging the time the UE uses the incorrect OPLMNwACT list.

[0076] Figure 4 This is a schematic flowchart of a network selection method 400 according to an embodiment of this application. The method can optionally be applied to... Figure 1 The system shown is not limited to this. The method includes at least a portion of the following.

[0077] S410. When the first user identity card is reactivated, the terminal device selects a network based on the network selection information in the first user identity card.

[0078] In some implementations, the network selection information may include the OPLMNwACT list.

[0079] This terminal device can be an ME.

[0080] In some implementations, it can be determined whether a user identity card (BIC) is a reactivated BIC by comparing the user identifier in the BIC with a local user identifier. For example, if the user identifier in a first BIC matches the local user identifier, the terminal device determines that the first BIC is a reactivated BIC.

[0081] After identifying the first user identity card to be reactivated, the terminal device can locally store the update time information corresponding to the first network selection information in the first user identity card.

[0082] For example, the update time information mentioned above can be represented by a counter; or, the update time information can be represented by a system clock.

[0083] Subsequently, during the network selection process, the terminal device can use this update time information to determine the latest updated network selection information and then select a network. For example,

[0084] The terminal device determines the latest updated network selection information based on the update time information corresponding to the first network selection information and the update time information corresponding to the local network selection information;

[0085] The terminal device selects a network based on the latest updated network selection information.

[0086] The above process ensures that the latest network selection information is used when selecting a network, thereby reducing the risk of network selection errors.

[0087] In some implementations, the terminal device may store two or more network selection information entries, along with their update time information. Thus, based on the update time information of these two or more network selection entries, the terminal device can determine the most recently updated network selection information.

[0088] For example, the terminal device stores OPLMNwACT list 1, its update time information, OPLMNwACT list 2, and its update time information. Based on the update time information of OPLMNwACT list 1 and OPLMNwACT list 2, if the update time of OPLMNwACT list 1 is later than the update time of OPLMNwACT list 2, the ME can determine that OPLMNwACT list 1 is the most recently updated OPLMNwACT list. Then, the ME can use OPLMNwACT list 1 for network selection.

[0089] Alternatively, in some implementations, the terminal device may set locally stored first indication information to a first value, which is used to identify the most recently updated network selection information. If the most recently updated information is the first network selection information in the first user identity card, then the first value may indicate that the first network selection information in the first user identity card is the most recently updated network selection information.

[0090] In addition to storing the update time information corresponding to the first network selection information in the first user identity card, or storing the aforementioned first indication information, the terminal device can also store the first network selection information in the first user identity card locally.

[0091] Subsequently, during the network selection process, the terminal device can use this first indication information to determine the latest updated network selection information and perform a network selection. For example,

[0092] The terminal device determines the latest updated network selection information based on the first instruction information;

[0093] The terminal device selects a network based on the latest updated network selection information.

[0094] The above process ensures that the latest network selection information is used when selecting a network, thereby reducing the risk of network selection errors.

[0095] In some implementations, different network selection information can correspond to different update methods. For example, the OPLMNwACT list 1 saved by the UE corresponds to the first update method (as described above). Figure 2A The update method shown is 1), and the UE's saved OPLMNwACT list 2 corresponds to the second update method (as described above). Figure 2B Update method two shown).

[0096] In some implementations, the terminal device may store two or more network selection information for a user identifier, and store the update time information of the two or more network selection information.

[0097] For example, the user identifier can be SUPI or a user-hidden identifier (SUCI, SUbscriptionConcealed Identifier), etc.

[0098] For different user identifiers, the terminal device can store multiple sets of network selection information. For example, for SUPI1, the ME stores two OPLMNwACT lists; for SUPI 2, the ME stores two other OPLMNwACT lists.

[0099] The following example illustrates how ME stores two network selection information for a single user identifier.

[0100] In some implementations, the terminal device stores two network selection information pieces for a user identifier, and stores update time information for the two network selection information pieces, including: the terminal device storing at least one of the following in the terminal device:

[0101] Network selection information updated using the first update method;

[0102] The first update time information of the network selection information updated using the first update method;

[0103] Network selection information updated using the second update method;

[0104] The second update time information of the network selection information updated using the second update method;

[0105] The two network selection information include network selection information updated using the first update method and network selection information updated using the second update method.

[0106] In some implementations, the first update time information is represented by a first counter, and the second update time information is represented by a second counter.

[0107] Taking the network selection information specifically as the OPLMNwACT list as an example. For instance, in ME's NVM, according to... Figure 5 The OPLMNwACT storage structure shown stores a list of OPLMNwACT objects. For example... Figure 5 As shown, SUPI information identifies the binding relationship between the OPLMNwACT list stored in the NVM and the USIM card. Mode 1 (PATTEN 1) indicates that network selection information is transmitted via the first update method (such as SOR update mode 1); in Figure 5 In the example shown, the network selection information transmitted via the first update method is OPLMNwACT list 1; counter 1 indicates the update time of OPLMNwACT list 1. Method 2 indicates that the network selection information is transmitted via the second update method (such as SOR update method 2); in Figure 5 In the example shown, the network selection information transmitted via the second update method is OPLMNwACT list 2; counter 2 indicates the update time of OPLMNwACT list 2.

[0108] `couter1` and `couter2` can represent the freshness of the corresponding `OPLMNwACT` list. In some examples, a larger counter value indicates a later update time for the corresponding network selection information. For example, if the value of the first counter is greater than the value of the second counter, the network selection information updated using the first update method is the latest network selection information; or, if the value of the first counter is less than the value of the second counter, the network selection information updated using the second update method is the latest network selection information.

[0109] At startup, ME can initialize the network selection information stored in NVM; or, during operation, ME can update the network selection information stored in NVM.

[0110] The following sections describe the specific methods by which the ME initializes or updates the network selection information in the two scenarios described above.

[0111] Scenario 1: Initialize the network selection information (such as the OPLMNwACT list) in NVM during startup.

[0112] For example, if the user identifier (e.g., SUPI) in the user identification card (e.g., USIM card) is different from the user identifier (e.g., SUPI) stored in the terminal device, the terminal device clears the locally stored network selection information, such as clearing the network selection information updated using the first update method, updating the locally stored network selection information updated using the second update method using the network selection information in the user identification card, and modifying at least one of the first update time information and the second update time information.

[0113] For example, if the user identifier in the user identity card is the same as the user identifier stored in the terminal device, and the first network selection information in the user identity card is different from the network selection information stored in the terminal device that is updated using the second update method, the first network selection information in the user identity card is used to update the network selection information stored in the terminal device, and the second update time information is modified.

[0114] Figure 6 This is a schematic diagram illustrating the initialization method of the OPLMNwACT list during power-on according to one embodiment of this application. Figure 6 Taking the network selection information as specifically the OPLMNwACT list, the ME's NVM stores OPLMNwACT list 1, the counter 1 corresponding to OPLMNwACT list 1, OPLMNwACT list 2, and the counter 2 corresponding to OPLMNwACT list 1 as an example.

[0115] like Figure 6 As shown, when the ME powers on, it reads the NVM and USIM card. It compares the SUPI information stored in the USIM card with the SUPI information stored in the NVM, and performs different initialization procedures based on the comparison result. Specifically, this includes:

[0116] (1) If the SUPI information stored in the USIM card differs from the SUPI information stored in the NVM, it indicates that the information in the USIM card is unrelated to the information stored in the ME. In this case, the OPLMNwACT information stored in the ME's NVM should be cleared. The SUPI information from the USIM card should be recorded in the NVM, and the EF data from the USIM card should be retrieved. OPLMNwACT The OPLMNwACT list obtained from the file is set to OPLMNwACT list2 in PATTEN2, and the counter2 corresponding to OPLMNwACT list2 is set to 1. Obviously, at this time, OPLMNwACT list1 in PATTEN1 of ME's NVM is empty, and the counter1 corresponding to OPLMNwACT list1 is 0.

[0117] (2) If the SUPI information stored in the USIM card is the same as the SUPI information stored in the NVM, it indicates that the USIM card has been used on the ME, and the OPLMNwACT information stored in the ME is related to the USIM card. Read USIM card EF OPLMNwACT Retrieve the "Operator Controlled PLMN Selector with Access Technology" list from the file and record it as OPLMNwACT list_USIM. Compare OPLMNwACT list_USIM with OPLMNwACTlist2 stored in PATTEN2 in ME. Based on the comparison result, perform the following operations:

[0118] If the two are completely identical, it means that the EF in the USIM card... OPLMNwACT If the file has not been updated, the OPLMNwACT information stored in the ME's NVM does not need to be modified.

[0119] If the two are inconsistent, it means that the EF in the USIM card... OPLMNwACT If the file was updated after the ME was powered off, it will be retrieved from the EF of the USIM card. OPLMNwACTThe "Operator Controlled PLMN Selector with AccessTechnology" list obtained from the file is set into OPLMNwACT list 2 in PATTEN2. The counter2 corresponding to OPLMNwACT list 2 is set to max(counter1,counter2)+1, where max() represents taking the maximum value. However, the OPLMNwACT list 1 and the counter1 corresponding to OPLMNwACT list 1 in PATTEN1 of ME remain unchanged.

[0120] After the above process, the OPLMNwACT list saved by the ME is initialized during startup. In subsequent processes, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, it is only necessary to select the OPLMNwACT list corresponding to the larger value between counter1 and counter2 in the ME's NVM, thus ensuring that the latest updated OPLMNwACT list is used.

[0121] Scenario 2: Update of network selection information (such as the OPLMNwACT list) in NVM during operation.

[0122] For example, the terminal device receives network selection information sent using the first update method; the terminal device updates its locally stored local network selection information using the received network selection information, and modifies the update time information corresponding to the local network selection information according to the reception time. Specifically, the terminal device can modify the first update time information according to the reception time.

[0123] For example, the terminal device receives network selection information sent using the second update method and modifies the update time information corresponding to the network selection information based on the reception time. Specifically, the terminal device can modify the first update time information based on the reception time. Furthermore, the terminal device can also use the network selection information sent using the second update method to update the network selection information stored locally on the first identity card.

[0124] Figure 7 This is a schematic diagram illustrating the method of updating the OPLMNwACT list during operation, according to one embodiment of this application. Figure 7Taking the network selection information as specifically the OPLMNwACT list, the ME's NVM stores OPLMNwACT list 1, the counter 1 corresponding to OPLMNwACT list 1, OPLMNwACT list 2, and the counter 2 corresponding to OPLMNwACT list 1 as an example.

[0125] like Figure 7 As shown, after the ME is powered on and camped, the network side may update the UE's "Operator Controlled PLMN Selector with Access Technology" list information through the control plane SOR mechanism. When the SOR information is received from the network side, if the update is performed using the first update method (such as Method 1), the OPLMNwACTlist1 under PATTEN1 in the ME's NVM is updated to the "Operator Controlled PLMN Selector with Access Technology" list sent by the network side, and the counter1 corresponding to OPLMNwACT list1 is set to max(counter1, counter2) + 1, where max() represents taking the maximum value; if the update is performed using the second update method (such as Method 2), the "Operator Controlled PLMN Selector with Access Technology" list from the network side is updated to the USIM card EF. OPLMNwACT In the file, the OPLMNwACT list2 under PATTEN2 in ME's NVM is updated to the "Operator Controlled PLMN Selector with Access Technology" list sent by the network side, and the counter2 corresponding to OPLMNwACTlist2 is set to max(counter1, counter2)+1, where max() means taking the maximum value.

[0126] The above process enables the updating of the OPLMNwACT list stored by the ME during operation. Subsequently, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, simply select the OPLMNwACT list corresponding to the larger value in counter1 and counter2 of the ME's NVM; this ensures that the latest updated OPLMNwACT list is used.

[0127] In some implementations, the first update time information and the second update time information may each be represented by a specific numerical value to indicate the freshness of the corresponding OPLMNwACT list.

[0128] For example, if the first update time information is a first value and the second update time information is a second value, the network selection information updated using the first update method is the latest updated network selection information; or...

[0129] When the first update time information is used as the first value and the second update time information is used as the second value, the second network selection information is the latest network selection information.

[0130] For example, the first value is 1 and the second value is 0; or the first value is 0 and the second value is 1.

[0131] Taking a first value of 1 and a second value of 0 as an example, correspondingly, during the initialization of the OPLMNwACT list at startup, when the ME boots up, it reads the NVM and the USIM card. It compares the SUPI information stored in the USIM card with the SUPI information stored in the NVM, and performs different initialization procedures based on the result. Specifically, this includes:

[0132] (1) If the SUPI information stored in the USIM card differs from the SUPI information stored in the NVM, it indicates that the information in the USIM card is unrelated to the information stored in the ME. In this case, the OPLMNwACT information stored in the ME's NVM should be cleared. The SUPI information from the USIM card should be recorded in the NVM, and the EF data from the USIM card should be retrieved. OPLMNwACT The OPLMNwACT list obtained from the file is set to OPLMNwACT list2 in PATTEN2, and the value of the second update time information corresponding to OPLMNwACT list2 is set to 1. Obviously, at this time, OPLMNwACT list1 in PATTEN1 of ME's NVM is empty, and the value of the first update time information corresponding to OPLMNwACT list1 is set to 0.

[0133] (2) If the SUPI information stored in the USIM card is the same as the SUPI information stored in the NVM, it indicates that the USIM card has been used on the ME, and the OPLMNwACT information stored in the ME is related to the USIM card. Read USIM card EF OPLMNwACTRetrieve the "Operator Controlled PLMN Selector with Access Technology" list from the file and record it as OPLMNwACT list_USIM. Compare OPLMNwACT list_USIM with OPLMNwACTlist2 stored in PATTEN2 in ME. Based on the comparison result, perform the following operations:

[0134] If the two are completely identical, it means that the EF in the USIM card... OPLMNwACT If the file has not been updated, the OPLMNwACT information stored in the ME's NVM does not need to be modified.

[0135] If the two are inconsistent, it means that the EF in the USIM card... OPLMNwACT If the file was updated after shutdown, it will be retrieved from the EF of the USIM card. OPLMNwACT The "Operator Controlled PLMN Selector with AccessTechnology" list obtained from the file is set to OPLMNwACT list2 in PATTEN2, and the value of the second update time information corresponding to OPLMNwACT list2 is set to 1. Meanwhile, in the ME's NVM, OPLMNwACT list1 in PATTEN1 remains unchanged, and the value of the first update time information corresponding to OPLMNwACT list1 is set to 0.

[0136] After the above process, the OPLMNwACT list saved by the ME is initialized during startup. In subsequent processes, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, it is only necessary to select the OPLMNwACT list corresponding to the update time information with a value of 1 in the ME's NVM; this ensures that the latest updated OPLMNwACT list is used.

[0137] Taking the first value as 1 and the second value as 0 as an example, correspondingly, during operation, when SOR information is received from the network side, if the update is performed using the first update method (such as Method 1), then OPLMNwACTlist1 under PATTEN1 in the ME's NVM is updated to the "Operator Controlled PLMN Selector with AccessTechnology" list sent by the network side, the value of the first update time information corresponding to OPLMNwACT list1 is set to 1, and the value of the second update time information corresponding to OPLMNwACT list2 is set to 0; if the update is performed using the second update method (such as Method 2), then the "Operator Controlled PLMN Selector with AccessTechnology" list from the network side is updated to the USIM card EF. OPLMNwACT In the file, the OPLMNwACTlist2 under PATTEN2 in the ME's NVM is updated to the "Operator Controlled PLMN Selector with Access Technology" list sent by the network side. The value of the second update time information corresponding to OPLMNwACT list2 is set to 1, and the value of the first update time information corresponding to OPLMNwACT list1 is set to 0.

[0138] The above process enables the updating of the OPLMNwACT list stored in the ME during operation. Subsequently, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, simply select the OPLMNwACT list corresponding to the update time information with a value of 1 in the ME's NVM; this ensures that the latest updated OPLMNwACT list is used.

[0139] In some implementations, the first update time information may also be represented by the system clock corresponding to the update time of the network selection information updated using the first update method; and / or, the second update time information may be represented by the system clock corresponding to the update time of the network selection information updated using the second update method. Based on the system clock, it can be determined which network selection information is the most recently updated.

[0140] In some implementations, a first indication may also be used to indicate which network selection information is the most recently updated network selection information.

[0141] For example, the terminal device stores at least one of the following:

[0142] Network selection information updated using the first update method;

[0143] Network selection information updated using the second update method;

[0144] The first indication information is used to indicate the latest updated network selection information; wherein...

[0145] The two network selection information includes network selection information updated using the first update method and network selection information updated using the second update method;

[0146] The latest network selection information is either updated using the first update method or updated using the second update method.

[0147] For example, the ME stores the above information in the NVM. Accordingly, when initializing or updating the network selection information, the network selection information is saved, and the first identification information is modified.

[0148] For example, regarding the initialization process after power-on, if the user identifier in the user identity card is different from the user identifier stored in the terminal device, the terminal device clears the network selection information updated using the first update method, updates the network selection information updated using the second update method using the network selection information in the user identity card, and sets the first indication information to indicate the network selection information updated using the second update method.

[0149] Alternatively, if the user identifier in the user identification card is the same as the user identifier stored in the terminal device, and the network selection information in the user identification card is different from the second network selection information stored in the terminal device, the network selection information stored in the terminal device using the network selection information in the user identification card is used to update the network selection information updated using the second update method, and the first identification information is set to identify the network selection information updated using the second update method.

[0150] For example, in response to updates during operation, after receiving network selection information sent using the first update method, the terminal device can use the received network selection information to update the locally stored network selection information updated using the first update method, and set the first identification information to indicate the network selection information updated using the first update method.

[0151] Alternatively, after receiving network selection information sent using the second update method, the terminal device can update the locally stored network selection information updated using the second update method using the received network selection information, and set the first indication information to indicate the second network selection information.

[0152] In some examples, the value of the first indication information can be 0 or 1; a value of 0 indicates that the network selection information updated using the first update method is the latest network selection information; a value of 1 indicates that the network selection information updated using the second update method is the latest network selection information. Alternatively, a value of 1 indicates that the network selection information updated using the first update method is the latest network selection information; a value of 0 indicates that the network selection information updated using the second update method is the latest network selection information.

[0153] Taking the previous representation as an example, during the initialization of the OPLMNwACT list at startup, when the ME boots up, it reads the NVM and the USIM card. It compares the SUPI information stored in the USIM card with the SUPI information stored in the NVM, and performs different initialization procedures based on the result. Specifically, this includes:

[0154] (1) If the SUPI information stored in the USIM card differs from the SUPI information stored in the NVM, it indicates that the information in the USIM card is unrelated to the information stored in the ME. In this case, the OPLMNwACT information stored in the ME's NVM should be cleared. The SUPI information from the USIM card should be recorded in the NVM, and the EF data from the USIM card should be retrieved. OPLMNwACT The OPLMNwACT list obtained from the file is set to OPLMNwACT list2 in PATTEN2, and the value of the first identifier is set to 1. Obviously, at this time, OPLMNwACT list1 in PATTEN1 of ME's NVM is empty.

[0155] (2) If the SUPI information stored in the USIM card is the same as the SUPI information stored in the NVM, it indicates that the USIM card has been used on the ME, and the OPLMNwACT information stored in the ME is related to the USIM card. Read USIM card EF OPLMNwACT Retrieve the "Operator Controlled PLMN Selector with Access Technology" list from the file and record it as OPLMNwACT list_USIM. Compare OPLMNwACT list_USIM with OPLMNwACTlist2 stored in PATTEN2 in ME. Based on the comparison result, perform the following operations:

[0156] If the two are completely identical, it means that the EF in the USIM card... OPLMNwACT If the file has not been updated, the OPLMNwACT information stored in the ME's NVM does not need to be modified.

[0157] If the two are inconsistent, it means that the EF in the USIM card... OPLMNwACT If the file was updated after shutdown, it will be retrieved from the EF of the USIM card. OPLMNwACT The "Operator Controlled PLMN Selector with Access Technology" list obtained from the file is set in OPLMNwACT list2 in PATTEN2, and the value of the first identifier information is set to 1. Meanwhile, OPLMNwACT list 1 in PATTEN1 of ME's NVM remains unchanged.

[0158] After the above process, the OPLMNwACT list stored in the ME is initialized during power-on. In subsequent processes, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, it is only necessary to select the OPLMNwACT list identified by the first identifier information in the ME's NVM, which ensures that the latest updated OPLMNwACT list is used.

[0159] Similarly, during operation, when SOR information is received from the network side, if the update is performed using the first update method (e.g., Method 1), the OPLMNwACT list1 under PATTEN1 in the ME's NVM is updated to the "Operator Controlled PLMN Selector with Access Technology" list sent by the network side, and the value of the first identifier information is set to 0; if the update is performed using the second update method (e.g., Method 2), the "Operator Controlled PLMN Selector with Access Technology" list from the network side is updated to the USIM card EF. OPLMNwACT In the file, the OPLMNwACT list2 under PATTEN2 in the ME's NVM is updated to the "OperatorControlled PLMN Selector with Access Technology" list sent by the network side, and the value of the first identification information is set to 1.

[0160] The above process enables the updating of the OPLMNwACT list stored by the ME during operation. Subsequently, when the "Operator Controlled PLMN Selector with Access Technology" list information is needed, simply selecting the OPLMNwACT list identified by the first identifier in the ME's NVM ensures that the latest updated OPLMNwACT list is used.

[0161] In the above example, the terminal device stores two or more network selection information (such as network selection information updated using the first update method and network selection information updated using the second update method) and the update time information of the two or more network selection information in its own NVM. In other embodiments of this disclosure, only OPLMNwACT list1 and counter1 under PATTEN1 can be stored in the NVM, while OPLMNwACT list2 and counter2 under PATTEN2 can be directly stored in the USIM; thus, when updating using method one, only the information stored in the NVM in the ME is updated; when updating using method two, only the corresponding information in the USIM card is updated.

[0162] For example, the terminal device stores at least one of the network selection information updated using the first update method and the first update time information of the network selection information in the terminal device: and / or,

[0163] The terminal device stores at least one of the network selection information updated using the second update method and the second update time information of the network selection information in the user identification card corresponding to the user identifier;

[0164] The two network selection information include network selection information updated using the first update method and network selection information updated using the second update method.

[0165] For example, the terminal device stores at least one of the network selection information updated using the first update method and the identification information in the terminal device; and / or,

[0166] The terminal device stores the network selection information updated using the second update method in the user identification card corresponding to the user identifier; among which,

[0167] The two network selection information include network selection information updated using a first update method and network selection information updated using a second update method;

[0168] The first identification information is used to identify the latest updated network selection information, which is either network selection information updated using the first update method or network selection information updated using the second update method.

[0169] Apart from the network selection of the storage location, the other processes are similar to those in the above embodiments and will not be described again here.

[0170] In some implementations, network selection information can also be stored for different user identifiers. For example, the terminal device may store two or more network selection information for each of one or more user identifiers, and store the update time information of the two or more network selection information.

[0171] If the user identifier in the user identity card is different from the user identifier stored in the terminal device, network selection information for the user identifier in the user identity card can be stored.

[0172] If the user identifier in the user identity card is the same as the user identifier stored in the terminal device, the network selection information stored in the terminal device can be updated using the network selection information in the user identity card.

[0173] For example, you can choose to store two or more sets of OPLMNwACT information in NVM, with each set of OPLMNwACT information distinguished by its own SUPI. Figure 8 This is a diagram illustrating the storage of OPLMNwACT information for the two corresponding SUPIs, as shown below. Figure 8 As shown, a set of OPLMNwACT information is stored for each SUPI. That is, two OPLMNwACT lists and update time information are stored for SUPI 1, and two other OPLMNwACT lists and update time information are stored for SUPI 2.

[0174] When a USIM card is inserted, the SUPI of the newly inserted USIM card is compared with the corresponding SUPIs of each set of OPLMNwACT information stored in the NVM. If the SUPI of the newly inserted USIM card is the same as the SUPI in the NVM, the information in the NVM is updated. The specific update method is the same as that in the previous embodiment and will not be repeated here. Otherwise, a new set of OPLMNwACT information can be created and saved. This ensures that when two or more cards are used alternately between different MEs, the latest updated network selection information can still be selected using this solution.

[0175] This disclosure embodiment can also establish a communication mechanism between the terminal device and the network side. For example, when the user identification card is powered on or activated, the terminal device sends a request message to the network device. The request message is used to request network selection information; the terminal device receives the network selection information.

[0176] In this way, the network selection information received by the terminal device is the latest updated network selection information, and the terminal device can use this latest updated network selection information to select a network.

[0177] In some implementations, the request message may include an initial registration request (REGISTRATIONREQUEST) message.

[0178] In some implementations, the terminal device may send the request message if the timer expires; wherein the timer is started when the terminal device is powered off or the user identification card is removed.

[0179] For example, an information cell can be added to the initial REGISTRATION REQUEST message, starting a timer when the ME is removed or powered off. When the USIM card is reinserted into the ME and / or the ME is powered on, if the timer has expired, this information cell is set to 1 in the initial REGISTRATION REQUEST message, requesting the HPLMN to reissue an explicit "Operator Controlled PLMN Selector with Access Technology" list via the SOR mechanism; that is, the List Indication cannot be 0. This reissued "Operator Controlled PLMN Selector with Access Technology" list contains the latest updated network selection information, which the ME can use for network selection.

[0180] Based on the same technical concept, embodiments of this application also provide a network selection method, which can be applied to network devices. Figure 9 This is a flowchart of a network selection method 900 according to an embodiment of this application, including:

[0181] S910. The network device receives an initial registration request message from the terminal device. The initial registration request message is used to request network selection information.

[0182] S920, The network device sends network selection information to the terminal device.

[0183] In this way, when a network device receives a request from a terminal device, it can send network selection information to the terminal device. This network selection information is the latest updated network selection information, which the terminal device can use when making network selection.

[0184] Based on the same technical concept, embodiments of this application also provide a terminal device. Figure 10 This is a schematic diagram of the structure of a terminal device 1000 according to an embodiment of this application, including:

[0185] The first network selection module 1010 is used to select a network based on the network selection information in the first user identity card when the first user identity card is reactivated.

[0186] Figure 11 This is a schematic diagram of the structure of a terminal device 1100 according to an embodiment of this application. The terminal device 1100 includes the features of the aforementioned terminal device 1000. In one possible implementation, the terminal device further includes:

[0187] The determination module 1020 is used to determine, when the user identifier in the first user identity card is consistent with the local user identifier, that the terminal device is a reactivated user identity card.

[0188] In some implementations, it also includes:

[0189] The first storage module 1030 is used to locally store the update time information corresponding to the first network selection information in the first user identification card.

[0190] In some implementations, it also includes:

[0191] Setting module 1040 is used to set the first indication information stored locally to a first value, the first value being used to indicate that the first network selection information in the first user identification card is the latest updated network selection information.

[0192] In some implementations, it also includes:

[0193] The second storage module 1050 is used to store the first network selection information in the first user identification card locally.

[0194] In some implementations, it also includes:

[0195] The cleaning module 1060 is used to clear the locally stored network selection information when the user identifier in the first user identification card is inconsistent with the local user identifier.

[0196] In some implementations, it also includes:

[0197] The first update module 1070 is used to receive network selection information sent using the first update method; update the locally stored local network selection information using the received network selection information; and modify the update time information corresponding to the local network selection information according to the receiving time.

[0198] In some implementations, it also includes:

[0199] The second update module 1080 is used to receive network selection information sent using the second update method, and modify the update time information corresponding to the first network selection information according to the receiving time.

[0200] In some implementations, the second update module 1080 is further configured to update the first network selection information in the first identity card stored locally using the network selection information sent by the second update method.

[0201] In some implementations, it also includes:

[0202] The third update module 1090 is used to receive network selection information sent using the first update method; update the locally stored local network selection information using the received network selection information; and set the locally stored first indication information to a second value, wherein the second value is used to indicate that the locally stored local network selection information is the latest updated network selection information.

[0203] In some implementations, it also includes:

[0204] The fourth update module 1091 is used to receive network selection information sent by the second update method and update the first network selection information in the first identity card stored locally using the network selection information sent by the second update method.

[0205] In some implementations, it also includes:

[0206] The second network selection module 1092 is used to determine the latest updated network selection information based on the update time information corresponding to the first network selection information and the update time information corresponding to the local network selection information; and to perform network selection based on the latest updated network selection information.

[0207] In some implementations, the update time information is represented by a counter; or, the update time information is represented by a system clock.

[0208] In some implementations, it also includes:

[0209] The third network selection module 1093 is used to determine the latest updated network selection information based on the first indication information; and to perform network selection based on the latest updated network selection information.

[0210] In some implementations, network selection information includes the OPLMNwACT list.

[0211] In the embodiments of this application, the functions of each unit can be implemented in software, hardware, or a combination of software and hardware. It should be understood that the disclosed apparatus and methods can be implemented in other ways in the several embodiments provided in this application. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0212] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0213] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units can be implemented in hardware or as software functional units. For example, at least one of the first update module 1070, second update module 1080, third update module 1090, and fourth update module 1091 of the terminal device can be implemented by the transceiver of the terminal device. At least one of the first network selection module 1010, determination module 1020, first storage module 1030, setting module 1040, second storage module 1050, cleanup module 1060, second network selection module 1092, and third network selection module 1093 of the terminal device can be implemented by the processor of the terminal device, or by the processor and transceiver of the terminal device. The processor of the terminal device can call and run computer programs from the memory of the terminal device to enable the terminal device to implement the methods in the embodiments of this application. The processor can also control the transceiver of the terminal device to communicate with other devices. Specifically, it can send information or data to other devices or receive information or data sent by other devices.

[0214] The terminal devices 1000 and 1100 in this application embodiment can implement the corresponding functions of the terminal devices in the aforementioned method 400 embodiment. The processes, functions, implementation methods, and beneficial effects of each module (sub-module, unit, or component, etc.) in terminal devices 1000 and 1100 can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here. It should be noted that the functions described for each module (sub-module, unit, or component, etc.) in the terminal devices 1000 and 1100 in this application embodiment can be implemented by different modules (sub-modules, units, or components, etc.) or by the same module (sub-module, unit, or component, etc.).

[0215] This application also provides a terminal device. Figure 12 This is a schematic diagram of the structure of a terminal device 1200 according to an embodiment of this application, including:

[0216] The request module 1210 is used to send a request message to the network device when the user identification card is powered on or activated. The request message is used to request network selection information.

[0217] This application also provides a terminal device. Figure 13 This is a schematic diagram of the structure of a terminal device 1300 according to an embodiment of this application, including a request module 1210, and further including:

[0218] The first receiving module 1320 is used to receive the network selection information;

[0219] The fourth network selection module 1330 is used to select a network based on the network selection information.

[0220] In some implementations, the request message includes an initial registration request message.

[0221] In some implementations, the request module 1210 is configured to send the request message when the terminal device is powered on or the user identification card is activated and a timer expires; the timer is activated when the terminal device is powered off or the user identification card is removed.

[0222] In some implementations, network selection information includes the OPLMNwACT list.

[0223] In the embodiments of this application, the functions of each unit can be implemented in software, hardware, or a combination of software and hardware. It should be understood that the disclosed apparatus and methods can be implemented in other ways in the several embodiments provided in this application. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0224] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0225] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units can be implemented in hardware or as software functional units. For example, at least one of the terminal device's request module 1210 and the first receiving module 1320 can be implemented by the terminal device's transceiver. The terminal device's fourth network selection module 1330 can be implemented by the terminal device's processor, or by the terminal device's processor and transceiver. The terminal device's processor can call and run computer programs from the terminal device's memory to enable the terminal device to implement the methods in the embodiments of this application. The processor can also control the terminal device's transceiver to communicate with other devices; specifically, it can send information or data to other devices or receive information or data sent by other devices.

[0226] The terminal devices 1200 and 1300 in this application embodiment can realize the corresponding functions of the terminal devices in the aforementioned network selection method embodiments. The processes, functions, implementation methods, and beneficial effects of each module (sub-module, unit, or component, etc.) in terminal devices 1200 and 1300 can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here. It should be noted that the functions described for each module (sub-module, unit, or component, etc.) in terminal devices 1200 and 1300 in the application embodiments can be implemented by different modules (sub-modules, units, or components, etc.) or by the same module (sub-module, unit, or component, etc.).

[0227] Based on the same technical concept, embodiments of this application also provide a network device. Figure 14 This is a schematic diagram of the structure of a network device 1400 according to an embodiment of this application, including:

[0228] The second receiving module 1410 is used to receive an initial registration request message from the terminal device, the initial registration request message being used to request network selection information;

[0229] The sending module 1420 is used to send network selection information to the terminal device.

[0230] In the embodiments of this application, the functions of each unit can be implemented in software, hardware, or a combination of software and hardware. It should be understood that the disclosed apparatus and methods can be implemented in other ways in the several embodiments provided in this application. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0231] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0232] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units. For example, the second receiving module 1410 and the transmitting module 1420 of the network device can be implemented by the transceiver of the network device.

[0233] The network device 1400 of this application embodiment can realize the corresponding functions of the network device in the foregoing method embodiments. The processes, functions, implementation methods, and beneficial effects of each module (submodule, unit, or component, etc.) in the network device 1400 can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here. It should be noted that the functions described for each module (submodule, unit, or component, etc.) in the network device 1400 of the application embodiment can be implemented by different modules (submodules, units, or components, etc.) or by the same module (submodule, unit, or component, etc.).

[0234] Figure 15 This is a schematic structural diagram of a communication device 1500 according to an embodiment of this application. The communication device 1500 includes a processor 1510, which can call and run computer programs from memory to enable the communication device 1500 to implement the methods in the embodiments of this application.

[0235] In one embodiment, the communication device 1500 may further include a memory 1520. The processor 1510 can retrieve and run computer programs from the memory 1520 to enable the communication device 1500 to implement the methods described in the embodiments of this application.

[0236] The memory 1520 can be a separate device independent of the processor 1510, or it can be integrated into the processor 1510.

[0237] In one embodiment, the communication device 1500 may further include a transceiver 1530, and the processor 1510 may control the transceiver 1530 to communicate with other devices. Specifically, it may send information or data to other devices or receive information or data sent by other devices.

[0238] The transceiver 1530 may include a transmitter and a receiver. The transceiver 1530 may further include an antenna, and the number of antennas may be one or more.

[0239] In one embodiment, the communication device 1500 may be a network device in the embodiments of this application, and the communication device 1500 may implement the corresponding processes implemented by the network device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0240] In one embodiment, the communication device 1500 may be a terminal device in the embodiments of this application, and the communication device 1500 may implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0241] Figure 16This is a schematic structural diagram of a chip 1600 according to an embodiment of this application. The chip 1600 includes a processor 1610, which can call and run computer programs from memory to implement the methods in the embodiments of this application.

[0242] In one embodiment, chip 1600 may further include memory 1620. Processor 1610 can retrieve and run computer programs from memory 1620 to implement the methods executed by a terminal device or network device in this embodiment.

[0243] The memory 1620 can be a separate device independent of the processor 1610, or it can be integrated into the processor 1610.

[0244] In one embodiment, the chip 1600 may further include an input interface 1630. The processor 1610 can control the input interface 1630 to communicate with other devices or chips; specifically, it can acquire information or data sent by other devices or chips.

[0245] In one embodiment, the chip 1600 may further include an output interface 1640. The processor 1610 can control the output interface 1640 to communicate with other devices or chips; specifically, it can output information or data to other devices or chips.

[0246] In one implementation, the chip can be applied to the network device in the embodiments of this application, and the chip can implement the corresponding processes implemented by the network device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0247] In one embodiment, the chip can be applied to the terminal device in the embodiments of this application, and the chip can implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0248] The chips used in network equipment and terminal equipment can be the same chip or different chips.

[0249] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0250] The processors mentioned above can be general-purpose processors, digital signal processors (DSPs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), or other programmable logic devices, transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processors mentioned above can be microprocessors or any conventional processor.

[0251] The aforementioned memory can be volatile memory or non-volatile memory, or a combination of both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM).

[0252] It should be understood that the above-described memory is exemplary and not a limiting description. For example, the memory in the embodiments of this application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM), etc. That is to say, the memory in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0253] Figure 17 This is a schematic block diagram of a communication system 1700 according to an embodiment of this application. The communication system 1700 includes a terminal device 1710 and a network device 1720.

[0254] Specifically, the terminal device 1710 can be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 1720 can be used to implement the corresponding functions implemented by the network device in the above method. For the sake of brevity, further details are omitted here.

[0255] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

[0256] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0257] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0258] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A network selection method, comprising: If the user identifier in the first user identity card matches the local user identifier, the terminal device determines that the first user identity card is a reactivated user identity card; When the first user identity card is reactivated, the terminal device selects a network based on the network selection information in the first user identity card and stores the update time information corresponding to the first network selection information in the first user identity card locally.

2. The method according to claim 1, further comprising: The terminal device sets the locally stored first indication information to a first value, which is used to indicate that the first network selection information in the first user identity card is the latest updated network selection information.

3. The method according to claim 2, further comprising: The terminal device stores the first network selection information from the first user identity card locally.

4. The method according to claim 3, further comprising: If the user identifier in the first user identity card is inconsistent with the local user identifier, the terminal device clears the locally stored network selection information.

5. The method according to claim 1, further comprising: The terminal device receives network selection information sent using the first update method; The terminal device updates the locally stored local network selection information using the received network selection information, and modifies the update time information corresponding to the local network selection information according to the receiving time.

6. The method according to claim 1, further comprising: The terminal device receives network selection information sent using the second update method and modifies the update time information corresponding to the first network selection information according to the reception time.

7. The method according to claim 6, further comprising: The terminal device uses the network selection information sent by the second update method to update the first network selection information stored locally in the first user identity card.

8. The method according to claim 2, further comprising: The terminal device receives network selection information sent using the first update method; The terminal device updates the locally stored local network selection information using the received network selection information, and sets the locally stored first indication information to a second value, the second value being used to indicate that the locally stored local network selection information is the latest updated network selection information.

9. The method according to claim 2, further comprising: The terminal device receives network selection information sent by the second update method and updates the first network selection information in the first user identity card stored locally using the network selection information sent by the second update method.

10. The method of claim 5, further comprising: The terminal device determines the latest updated network selection information based on the update time information corresponding to the first network selection information and the update time information corresponding to the local network selection information. The terminal device selects a network based on the latest updated network selection information.

11. The method according to claim 1, 5, 6 or 7, wherein, The update time information is represented by a counter; or, the update time information is represented by a system clock.

12. The method according to claim 2, 8 or 9, further comprising: The terminal device determines the latest updated network selection information based on the first indication information; The terminal device selects a network based on the latest updated network selection information.

13. The method according to claim 1 or 2, wherein, The network selection information includes the OPLMNwACT list.

14. A terminal device, comprising: The first network selection module is used to select a network based on the network selection information in the first user identity card when the first user identity card is reactivated. The determination module is used to determine that the first user identity card is a reactivated user identity card when the user identifier in the first user identity card is consistent with the local user identifier. The first storage module is used to locally store the update time information corresponding to the first network selection information in the first user identification card.

15. The terminal device according to claim 14, further comprising: The setting module is used to set the first indication information stored locally to a first value, wherein the first value is used to indicate that the first network selection information in the first user identification card is the latest updated network selection information.

16. The terminal device according to claim 14, further comprising: The second storage module is used to store the first network selection information in the first user identification card locally.

17. The terminal device according to any one of claims 14-16, further comprising: The cleaning module is used to clear the locally stored network selection information when the user identifier in the first user identification card is inconsistent with the local user identifier.

18. The terminal device according to claim 14, further comprising: The first update module is used to receive network selection information sent using the first update method; The received network selection information is used to update the locally stored local network selection information, and the update time information corresponding to the local network selection information is modified according to the receiving time.

19. The terminal device according to claim 14, further comprising: The second update module is used to receive network selection information sent using the second update method, and modify the update time information corresponding to the first network selection information according to the receiving time.

20. The terminal device according to claim 19, wherein the second update module is further configured to update the first network selection information in the first user identity card stored locally using the network selection information sent by the second update method.

21. The terminal device according to claim 15, further comprising: The third update module is used to receive network selection information sent using the first update method; The received network selection information is used to update the locally stored local network selection information, and the locally stored first indication information is set to a second value, which is used to indicate that the locally stored local network selection information is the latest updated network selection information.

22. The terminal device according to claim 15, further comprising: The fourth update module is used to receive network selection information sent by the second update method and update the first network selection information in the first user identification card stored locally using the network selection information sent by the second update method.

23. The terminal device according to claim 18, further comprising: The second network selection module is used to determine the latest updated network selection information based on the update time information corresponding to the first network selection information and the update time information corresponding to the local network selection information. Network selection is performed based on the latest updated network selection information.

24. The terminal device according to claim 14, 18, 19 or 20, wherein, The update time information is represented by a counter; or, the update time information is represented by a system clock.

25. The terminal device according to claim 15, 21 or 22, further comprising: The third network selection module is used to determine the latest updated network selection information based on the first indication information; Network selection is performed based on the latest updated network selection information.

26. The terminal device according to any one of claims 14-16, wherein, The network selection information includes the OPLMNwACT list.

27. An apparatus comprising: A processor, a memory, and a transceiver, the memory for storing a computer program, the processor for calling and running the computer program stored in the memory, and controlling the transceiver to cause the device to perform the method as described in any one of claims 1 to 13.

28. A chip, comprising: A processor for retrieving and running a computer program from memory, causing a device on which the chip is mounted to perform the method as described in any one of claims 1 to 13.

29. A computer-readable storage medium for storing a computer program that, when run by a device, causes the device to perform the method as claimed in any one of claims 1 to 13.

30. A computer program product comprising computer program instructions that cause a computer to perform the method as described in any one of claims 1 to 13.

31. A communication system, comprising: A terminal device for performing the method as described in any one of claims 1 to 13; Network equipment.

Citation Information

Patent Citations

  • Method for service station indication of terminal

    CN101080051A

  • Network list processing method and device, terminal equipment and storage medium

    CN110460988A

  • System and method for managing SOR information in ue

    US20210281995A1

  • Methods to enable efficient update of steering of roaming (SOR) information

    WO2021089688A1