WO2024031238A1 - Methods for managing forbidden public land mobile network (plmn), and terminal devices - Google Patents

Methods for managing forbidden public land mobile network (plmn), and terminal devices Download PDF

Info

Publication number
WO2024031238A1
WO2024031238A1 PCT/CN2022/110844 CN2022110844W WO2024031238A1 WO 2024031238 A1 WO2024031238 A1 WO 2024031238A1 CN 2022110844 W CN2022110844 W CN 2022110844W WO 2024031238 A1 WO2024031238 A1 WO 2024031238A1
Authority
WO
WIPO (PCT)
Prior art keywords
timer
plmn
terminal
prohibited
sim card
Prior art date
Application number
PCT/CN2022/110844
Other languages
French (fr)
Chinese (zh)
Inventor
黄少武
杨皓睿
Original Assignee
哲库科技(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 哲库科技(北京)有限公司 filed Critical 哲库科技(北京)有限公司
Priority to PCT/CN2022/110844 priority Critical patent/WO2024031238A1/en
Publication of WO2024031238A1 publication Critical patent/WO2024031238A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions

Definitions

  • the embodiments of the present application relate to the field of communications, and specifically relate to a method and terminal equipment for managing a prohibited public land mobile network PLMN.
  • the terminal device can manage to ban the Public Land Mobile Network (PLMN) based on timer T3245. For example, when terminal 1 receives rejection reason #11 or #35 for PLMN A issued by the network device, When , write PLMN A to the prohibited PLMN list in the Subscriber Identity Module (SIM) card, and start T3245, and the running status of T3245 is stored in UE1.
  • PLMN Public Land Mobile Network
  • This application provides a method and terminal equipment for managing a prohibited public land mobile network PLMN.
  • a first aspect provides a method for managing a prohibited PLMN in a public land mobile network, including: when a first PLMN is added to a prohibited PLMN list, a first terminal starts a first timer; wherein the prohibited PLMN list and The first timer related information is stored in the same storage unit.
  • a method for managing prohibited PLMNs in a public land mobile network including: when a second event occurs, a second terminal obtains a prohibited PLMN list and first timer related information, and the prohibited PLMN list and The first timer related information is stored in the same storage unit; the target PLMN is managed according to the first timer related information.
  • a method for managing a prohibited public land mobile network PLMN including: starting a first timer when the SIM card of the subscriber identity module of the second terminal is changed; and when the first timer expires In this case, delete the target PLMN in the prohibited PLMN list.
  • a fourth aspect provides a terminal device for executing the method in the above first aspect or its respective implementations.
  • the terminal device includes a functional module for executing the method in the above-mentioned first aspect or its respective implementations.
  • a fifth aspect provides a terminal device for executing the method in the above second aspect or its respective implementations.
  • the terminal device includes a functional module for executing the method in the above second aspect or its respective implementations.
  • a sixth aspect provides a terminal device for executing the method in the above third aspect or its respective implementations.
  • the terminal device includes a functional module for executing the method in the above third aspect or its respective implementations.
  • a terminal device including a processor and a memory.
  • the memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory to execute the method in the above first aspect or its implementations.
  • a terminal device including a processor and a memory.
  • the memory is used to store computer programs
  • the processor is used to call and run the computer programs stored in the memory, and execute the method in the above second aspect or its respective implementations.
  • a terminal device including a processor and a memory.
  • the memory is used to store computer programs
  • the processor is used to call and run the computer programs stored in the memory, and execute the method in the above third aspect or its respective implementations.
  • a chip for implementing any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.
  • the chip includes: a processor, configured to call and run a computer program from a memory, so that the device installed with the device executes any one of the above-mentioned first to third aspects or implementations thereof. method.
  • An eleventh aspect provides a computer-readable storage medium for storing a computer program, the computer program causing a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.
  • a computer program product including computer program instructions, which cause a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.
  • a thirteenth aspect provides a computer program that, when run on a computer, causes the computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.
  • Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
  • Figure 2 is a schematic flow chart of a method of managing a PLMN in the related art.
  • Figure 3 is a schematic flow chart of a method of managing a PLMN in the related art.
  • Figure 4 is a schematic diagram of a method for managing prohibited PLMNs provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of another method for managing prohibited PLMNs provided by an embodiment of the present application.
  • Figure 6 is a schematic diagram of yet another method for managing prohibited PLMNs provided by an embodiment of the present application.
  • Figure 7 is a schematic flow chart of a method for managing prohibited PLMNs according to an embodiment of the present application.
  • Figure 8 is a schematic flow chart of another method for managing prohibited PLMNs according to an embodiment of the present application.
  • Figure 9 is a processing flow chart of the terminal device when the second event occurs according to an embodiment of the present application.
  • Figure 10 is a processing flow chart of the terminal device when receiving rejection reason #11 or #35 according to an embodiment of the present application.
  • Figure 11 is a processing flow chart of the terminal device when removing the card according to an embodiment of the present application.
  • Figure 12 is a processing flow chart of the terminal device when shutting down according to an embodiment of the present application.
  • Figure 13 is a processing flow chart of the terminal device when the timer times out according to an embodiment of the present application.
  • Figure 14 is a schematic flow chart of yet another method for managing prohibited PLMNs according to an embodiment of the present application.
  • Figure 15 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
  • Figure 16 is a processing flow chart of the terminal device when receiving rejection reason #11 or #35 according to yet another embodiment of the present application.
  • Figure 17 is a processing flow chart of the terminal device when the timer times out according to another embodiment of the present application.
  • Figure 18 is a schematic flowchart of yet another method for managing prohibited PLMNs according to an embodiment of the present application.
  • Figure 19 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
  • Figure 20 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
  • Figure 21 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
  • Figure 22 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
  • Figure 23 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
  • Figure 24 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
  • Figure 25 is a schematic block diagram of a chip provided according to an embodiment of the present application.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA broadband code division multiple access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced long term evolution
  • NR New Radio
  • NTN Non-Terrestrial Networks
  • UMTS Universal Mobile Telecommunication System
  • WLAN Wireless Local Area Networks
  • WiFi wireless fidelity
  • 5G fifth-generation communication
  • the communication system in the embodiment of the present application can be applied to a carrier aggregation (Carrier Aggregation, CA) scenario, a dual connectivity (Dual Connectivity, DC) scenario, or a standalone (Standalone, SA) deployment scenario.
  • CA Carrier Aggregation
  • DC Dual Connectivity
  • SA standalone deployment scenario.
  • the communication system in the embodiment of the present application can be applied to the unlicensed spectrum, where the unlicensed spectrum can also be considered as a shared spectrum; or the communication system in the embodiment of the present application can also be applied to the licensed spectrum, where, Licensed spectrum can also be considered as unshared spectrum.
  • the embodiments of this application describe various embodiments in combination with network equipment and terminal equipment.
  • the terminal equipment may also be called user equipment (User Equipment, UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
  • User Equipment User Equipment
  • the terminal device can be a station (STATION, STA) in the WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, or a personal digital assistant.
  • STATION STA
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • 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, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites). superior).
  • the terminal device may be a mobile phone (Mobile Phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, or an augmented reality (Augmented Reality, AR) terminal.
  • Equipment wireless terminal equipment in industrial control, wireless terminal equipment in self-driving, wireless terminal equipment in remote medical, wireless terminal equipment in smart grid , wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, or wireless terminal equipment in smart home, etc.
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices. It is a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized devices that can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones.
  • the network device may be a device used to communicate with mobile devices.
  • the network device may be an access point (Access Point, AP) in WLAN, or a base station (Base Transceiver Station, BTS) in GSM or CDMA.
  • BTS Base Transceiver Station
  • it can be a base station (NodeB, NB) in WCDMA, or an evolutionary base station (Evolutional Node B, eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, and an NR network network equipment (gNB) or network equipment in the future evolved PLMN network or network equipment in the NTN network, etc.
  • AP Access Point
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • Evolutional Node B, eNB or eNodeB evolution base station
  • gNB NR network network equipment
  • the network device may have mobile characteristics, for example, the network device may be a mobile device.
  • the network device can be a satellite or balloon station.
  • the satellite can be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geosynchronous orbit (geostationary earth orbit, GEO) satellite, a high elliptical orbit (High Elliptical Orbit, HEO) satellite ) satellite, etc.
  • the network device may also be a base station installed on land, water, etc.
  • network equipment can provide services for a cell, and terminal equipment communicates with the network equipment through transmission resources (for example, frequency domain resources, or spectrum resources) used by the cell.
  • the cell can be a network equipment ( For example, the cell corresponding to the base station), the cell can belong to the macro base station, or it can belong to the base station corresponding to the small cell (Small cell).
  • the small cell here can include: urban cell (Metro cell), micro cell (Micro cell), pico cell ( Pico cell), femto cell (Femto cell), etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-rate data transmission services.
  • the communication system 100 may include a network device 110, which may be a device that communicates with a terminal device 120 (also referred to as a communication terminal or terminal).
  • the network device 110 can provide communication coverage for a specific geographical area and can communicate with terminal devices located within the coverage area.
  • Figure 1 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. This application The embodiment does not limit this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
  • the communication device may include a network device 110 and a terminal device 120 with communication functions.
  • the network device 110 and the terminal device 120 may be the specific devices described above, which will not be described again here.
  • the communication device may also include other devices in the communication system 100, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiments of this application.
  • the "instruction” mentioned in the embodiments of this application may be a direct instruction, an indirect instruction, or an association relationship.
  • a indicates B which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association between A and B. relation.
  • correlate can mean that there is a direct correspondence or indirect correspondence between the two, it can also mean that there is an associated relationship between the two, or it can mean indicating and being instructed, configuration and being. Configuration and other relationships.
  • predefinition can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices).
  • devices for example, including terminal devices and network devices.
  • predefined can refer to what is defined in the protocol.
  • the "protocol” may refer to a standard protocol in the communication field, which may include, for example, LTE protocol, NR protocol, and related protocols applied in future communication systems. This application does not limit this.
  • the terminal device may manage to ban the PLMN based on timer T3245.
  • the terminal device may manage to ban the PLMN based on T3245.
  • the terminal device is configured to allow the use of T3245 to manage and prohibit the PLMN, which can refer to the timer T3245 operation value in the terminal device's Subscriber Identity Module (Subscriber Identity Module, SIM) card or Global Subscriber Identity Module (Universal Subscriber Identity Module, USIM) card ( Timer T3245Behaviour value) is set to 1.
  • Subscriber Identity Module Subscriber Identity Module
  • USIM Universal Subscriber Identity Module
  • Timer T3245Behaviour value is set to 1.
  • it can also refer to the Timer T3245Behaviour value in the non-volatile memory (Non-Volatile Memory, NVM) of the terminal device being set to 1.
  • the terminal device when the terminal device initiates registration with PLMN A, but the network device issues rejection reason #11 or #35, the terminal device can write PLMN A into the prohibited PLMN list in the SIM card of the terminal device and enable it. T3245, further manages the prohibited PLMN list based on T3245.
  • the SIM card when the SIM card is inserted into UE1, UE1 initiates registration with PLMN A, but receives rejection reason #11 or #35 issued by the network device. In this case, UE1 writes PLMN A into the SIM. Disable the PLMN list and start T3245, which runs in UE1.
  • the file EF_FPLMN of the SIM card in Figure 2 is a file that records prohibited PLMNs. Writing PLMN A to the prohibited PLMN list in the SIM can be understood as writing PLMN A to the file EF_FPLMN of the SIM card.
  • the SIM card was pulled out from UE1 and inserted into UE2.
  • UE2 turned on and camped in the cell of PLMN A again, UE2 could not initiate registration in the cell of PLMN A because PLMN A belonged to the prohibited PLMN list.
  • UE2 since UE2 does not know that T3245 has been activated in UE1, it cannot unban PLMN A through T3245.
  • PLMN A will permanently remain in the banned PLMN list in SIM. Unless manual network selection and registration is successful, UE1 cannot Registration is initiated on the cell of PLMN A.
  • embodiments of the present application provide a method for managing prohibited PLMNs by storing the prohibited PLMN list and timer-related information for managing the prohibited PLMN list in the same storage unit.
  • a terminal device either obtain the prohibited PLMN list and timer-related information at the same time, or obtain neither, which is helpful to avoid obtaining only one of the prohibited PLMN list and timer-related information, resulting in the inability to manage the prohibited PLMN list and thus affecting users.
  • Embodiments of the present application also provide a method for associating prohibited PLMNs.
  • the terminal device When the terminal device has a prohibited PLMN list in the SIM card and the prohibited PLMN is not empty, it can start a timer and manage the prohibited PLMN list through the timer. This is helpful to avoid the problem of changing the SIM card while the timer is running, causing the banned PLMN to permanently remain in the banned PLMN list.
  • Figure 4 is a schematic flowchart of a method 200 for managing a prohibited public land mobile network PLMN according to an embodiment of the present application.
  • the method 200 can be applied to the first terminal, which can be the terminal device 120 in the communication system shown in Figure 1.
  • the first terminal can be the terminal device 120 in the communication system shown in Figure 1.
  • the terminal device 120 can be the terminal device 120 in the communication system shown in Figure 1.
  • the relevant description of the embodiment shown in Figure 1. For the sake of brevity, details will not be described here.
  • the first terminal may store the prohibited PLMN list and timer related information for managing PLMNs in the prohibited PLMN list in the same storage unit. For example, they are all stored in the storage unit of the first terminal, or they are all stored in the storage unit of the SIM card of the first terminal. In this way, the first terminal either obtains the prohibited PLMN list and timer related information at the same time, or cannot obtain both, which is beneficial to realizing effective management of prohibited PLMNs.
  • the embodiments of this application do not limit the conditions for determining whether a PLMN is banned or added to the banned PLMN list and the conditions for starting the timer. For example, it may be that when rejection reason #11 or #35 issued by the network device is received, The PLMN is added to the prohibited PLMN list and the timer is started, or the first terminal can independently determine to add the PLMN to the prohibited PLMN list and start the timer according to the application scenario, or the PLMN can be added to the prohibited PLMN based on other conditions introduced in the standard evolution. PLMN list and start timer, this application does not limit this.
  • the first terminal is a terminal that is allowed to use timer management to disable PLMN.
  • the first terminal is configured to allow barring the PLMN using timer management.
  • the first terminal is configured to allow the use of timer management to ban the PLMN, which may include:
  • the Timer T3245Behaviour value in the configuration file of the SIM card of the first terminal (such as EF_FPLMN) is configured as 1, or,
  • the Timer T3245Behaviour value in the configuration file of the storage unit of the first terminal is configured as 1.
  • the method 200 includes at least part of the following content:
  • the first PLMN may be any PLMN that meets the judgment conditions of being banned or added to the banned PLMN list, and the embodiment of the present application does not place any restrictions on this.
  • the prohibited PLMN list and the first timer related information are stored in the same storage unit.
  • the same storage unit is a storage unit in the first terminal or a storage unit in the SIM of the first terminal.
  • the storage unit in the first terminal may be a volatile memory (Volatile Memory, VM) or a non-volatile memory (Non-Volatile Memory, NVM) in the first terminal.
  • VM volatile memory
  • NVM non-volatile memory
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM). ), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM erasable programmable read-only memory
  • Electrically erasable programmable read-only memory Electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (Random Access Memory, RAM), a local database, or other storage units that are cleared upon shutdown.
  • RAM Random Access Memory
  • the first timer related information includes at least one of the following:
  • the remaining duration information of the first timer the total duration information of the first timer, the start time information of the first timer, the time information when the first event occurs, and the running status information of the first timer when the first event occurs.
  • the remaining duration information of the first timer here can be understood as the remaining duration information of the first timer when the first event occurs.
  • the first timer related information can be recorded in real time after the first timer is started, or can also be recorded under specific conditions. Different types of related information can have different recording nodes. This application does not The recording node of the first timer-related information is not limited.
  • each information in the first timer related information may be recorded at the same time node, or may be recorded at different time nodes, which is not limited in this application.
  • the start time information of the first timer may be recorded when the first timer starts, and the remaining duration information of the first timer may be recorded when the SIM card of the first terminal fails.
  • timer in the embodiment of this application may be called a T3245 timer, an extended T3245 timer, a PLMN prohibition timer, or may be a timer defined as other types, which is not limited in this application.
  • the first timer is used to trigger the unblocking of the target PLMN in the PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list.
  • the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
  • the timeout of the first timer can also be expressed as: the first timer expires and the first timer becomes invalid. That is to say, the first terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the first timer.
  • the target PLMN only includes the first PLMN. Then, when the first timer times out, only the first PLMN is unbanned, or in other words, only the first PLMN is deleted from the banned PLMN list.
  • timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
  • the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
  • the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted.
  • the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
  • the first event may include any event that causes the SIM card of the first terminal to fail (referred to as a failure event), or may also include an event that triggers the start of the first timer, a start event of the first timer, etc. , this application does not limit this.
  • the SIM card failure event of the first terminal may include at least one of the following events:
  • the first terminal is powered off, the SIM card of the first terminal is pulled out, and the SIM card of the first terminal is powered off (or in other words, the SIM card of the first terminal is deactivated).
  • powering off the SIM card of the first terminal may include disabling the SIM card of the first terminal, for example, the user manually sets the SIM card to be disabled.
  • the first event may include at least one of the following events:
  • the first terminal is powered off, the SIM card of the first terminal is pulled out, the SIM card of the first terminal is powered off, and the first PLMN is disabled (for example, rejection reason #11 or #35 for the first PLMN is received from the network device), The first timer starts.
  • the first terminal may store the first timer related information in the storage unit of the first terminal. In this way, when the SIM card is revalidated, the first terminal can use the stored first timer related information to continue to manage the target PLMN in the prohibited PLMN list. Or, when the SIM card is pulled out and inserted into another terminal, since the prohibited PLMN list and timer related information are stored in the storage unit of the first terminal, there will be no situation where other terminals cannot request a certain PLMN in the prohibited PLMN list. PLMN initiated registration issue.
  • the first terminal may store the remaining duration information of the first timer, the total duration information of the first timer, the start time information of the first timer, and the SIM card failure event. At least one of time information of the event and running status information of the first timer.
  • the first terminal when the first terminal is shut down, during the shutdown process, can store the remaining duration information of the first timer, the total duration information of the first timer, the start time information of the first timer and the occurrence of the shutdown event. At least one of the time information.
  • the occurrence time information of the shutdown event may refer to any time during the shutdown process, or may also refer to any time information before stopping writing data to the storage unit of the first terminal or SIM during the shutdown process.
  • the first terminal can store the time information when the SIM card of the first terminal is pulled out, and the remaining time information of the first timer, At least one of the total duration information of the first timer and the start time information of the first timer.
  • the first terminal may store the time information of the SIM card of the first terminal being powered off, the remaining duration information of the first timer, the total duration information of the first timer and the first timer. At least one of the start time information of a timer.
  • the first terminal may store the first timer related information in the storage unit of the first terminal.
  • the first terminal may not store the first timer related information if the first timer has expired when the SIM card failure event occurs.
  • the first terminal may store the total duration information of the first timer, the start time information of the first timer and the occurrence of the first PLMN being prohibited event. at least one of the time information.
  • the first terminal when the first terminal receives a rejection message from the network device for the first PLMN (for example, carrying rejection reason 11# or 35#), it determines that the first PLMN is prohibited (or in other words, the first PLMN is regarded as a prohibited PLMN), Further, the first PLMN is added to the prohibited PLMN list and the first timer is started.
  • the first terminal can store time information when the first PLMN is prohibited event occurs (for example, time information when the rejection message is received, or , at least one of time information added by the first PLMN to the prohibited PLMN list), start time information of the first timer, and total duration information of the first timer.
  • the first terminal may store the first timer related information in the storage unit of the SIM card of the first terminal. In this way, when the SIM card is inserted into other terminals, other terminals can use the first timer-related information stored in the SIM card to continue to manage the target PLMN in the banned PLMN list, which is helpful to avoid the problem of the PLMN being unable to unban due to the loss of timer-related information. .
  • a second event may occur on the first terminal.
  • the second event may refer to any event that may trigger the behavior of reading the SIM.
  • the second event may be a SIM card validation event, such as the first terminal turning on.
  • the SIM card is inserted into the first terminal, or the SIM card of the first terminal is powered on (or in other words, the SIM card of the first terminal is enabled), etc. This application does not limit this.
  • powering on the SIM card of the first terminal may include re-enabling the SIM card of the first terminal if it is disabled, for example, the user manually sets and enables the SIM card.
  • the first terminal when the second event occurs on the first terminal, the first terminal can determine whether the SIM card has changed, that is, whether to change the card. Since different SIM cards correspond to different permissions, in the case of changing the card In this case, it can be considered that the prohibited PLMN list and first timer related information stored on the first terminal are not applicable to the changed SIM card, or, if the card is not changed, it can be considered that the prohibited PLMN list stored on the first terminal is not applicable to the changed SIM card. Information related to the first timer can continue to be used.
  • the prohibited PLMN list and first timer related information are stored in the storage unit of the first terminal, and the method 200 further includes:
  • the target PLMN in the prohibited PLMN list is managed according to the first timer related information.
  • managing the target PLMN in the prohibited PLMN list according to the first timer related information may include:
  • the first timer related information it is determined whether to delete (or in other words, whether to unban) the target PLMN in the banned PLMN list, and/or, determine the time to delete the target PLMN in the banned PLMN list, that is, the time to unban the target PLMN.
  • managing the target PLMN in the prohibited PLMN list according to the first timer related information may include:
  • the target PLMN in the prohibited PLMN list is deleted.
  • the first terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the second timer.
  • the first timer related information includes the running status information of the first timer when the first event occurs. If the first timer is still running when the first event occurs, in this case, the first terminal The time information in the timer-related information determines whether the first timer times out.
  • the following describes how to set the duration of the second timer and how to determine whether the first timer times out with reference to specific examples.
  • the duration of the second timer is set to the difference between the remaining duration of the first timer and the first duration, and the first duration is the duration between the occurrence time of the first event and the occurrence time of the second event, or, The first duration is the duration between the occurrence time of the first event and the current time.
  • the first event here may be a SIM card invalidation event
  • the second event may be a SIM card validation event
  • the first terminal may store the remaining duration information of the first timer.
  • the remaining duration of the first timer and the The difference in duration can be understood as the actual remaining duration of the first timer.
  • the SIM card After the SIM card is re-validated, continue to manage the target PLMN based on the actual remaining time of the first timer. On the one hand, it ensures that the first terminal continues to be unable to initiate registration with the target PLMN during the period when the target PLMN is prohibited. On the other hand, it ensures that the first terminal After this time period, a terminal can initiate registration with the target PLMN without affecting the differentiated management strategies of network equipment for different users.
  • the first event is the shutdown of the first terminal
  • the second event is the startup of the first terminal
  • the first duration may be the duration from the shutdown time of the first terminal to the startup time of the first terminal.
  • the shutdown time of the first terminal may refer to any time during the shutdown process of the first terminal, or may also refer to the time during the shutdown process before the first terminal stops writing data to the storage unit of the first terminal or the SIM card. Any time.
  • the power-on time of the first terminal may refer to any time during the power-on process of the first terminal, or may also refer to after the first terminal is able to read the data of the storage unit of the first terminal or the SIM card during the power-on process. Any time, or any time after the first terminal is able to write data to the storage unit of the first terminal or SIM card.
  • the first event is that the SIM card of the first terminal is pulled out
  • the second event is that the SIM card is inserted into the first terminal
  • the first duration may be the time when the SIM card of the first terminal is pulled out. The time elapsed since the SIM card was inserted into the first terminal.
  • the current time may refer to the system time when the first terminal calculates the duration of the second timer.
  • Method 2 The duration of the second timer is set to the difference between the total duration of the first timer and the second duration, where the second duration is the interval from the start time of the first timer to the second time, and the second time It is the current time or the occurrence time of the second event.
  • the first terminal when the first PLMN is disabled or the first timer is started, the first terminal may store the start time information of the first timer.
  • the difference between the total duration of the first timer and the second duration can be understood as the actual remaining duration of the first timer.
  • the second event After the second event occurs, continue to manage the target PLMN based on the actual remaining duration of the first timer.
  • it ensures that the first terminal continues to be unable to initiate registration with the target PLMN during the time period when the target PLMN is prohibited.
  • it ensures that the first terminal After this time period, a terminal can initiate registration with the target PLMN without affecting the differentiated management strategies of network equipment for different users.
  • the current time may refer to the system time when the first terminal calculates the duration of the second timer.
  • the total duration information of the first timer may be stored in the storage unit of the first terminal, or the total duration of the first timer may not be stored in the storage unit of the first terminal.
  • the total duration information of the first timer may be selected by the first terminal, or may be a predefined value, or a default value.
  • the total duration of the first timer may also be determined based on the managed target PLMN. For example, timers used to manage different PLMNs may be set to different total durations, enabling precise timer durations to be achieved. Adjustment.
  • the first terminal may determine whether the first timer has timed out based on the time elapsed from the occurrence of the first event to the occurrence of the second event (ie, the first time length) and the remaining time length of the first timer. Whether the actual remaining time of the device is greater than zero.
  • the remaining time of the first timer is less than or equal to the first time (that is, the actual remaining time of the first timer is less than or equal to 0), it is determined that the first timer has timed out.
  • the remaining time of the first timer is greater than the first time (that is, the actual remaining time of the first timer is greater than 0), it is determined that the first timer has not timed out.
  • the first terminal may determine whether the first timer times out based on the start time of the first timer and the second time (ie, the current time or the occurrence time of the second event).
  • the interval between the start time of the first timer and the second time is greater than or equal to the total duration of the first timer, it is determined that the first timer has timed out.
  • the interval between the start time of the first timer and the second time is less than the total duration of the first timer, it is determined that the first timer has not timed out.
  • the first terminal can store the prohibited PLMN list and the timer-related information used to manage the PLMNs in the prohibited PLMN list in the same storage unit, and both are stored in the storage unit of the first terminal. , or, are stored in the storage unit of the SIM card of the first terminal, which is beneficial to avoid the problem that the SIM card is replaced during the running of the timer, resulting in the prohibited PLMN permanently remaining in the prohibited PLMN list.
  • FIG 5 is a schematic flowchart of a method 300 for managing a prohibited public land mobile network PLMN according to another embodiment of the present application.
  • the method 300 is applied to the second terminal, which may be the terminal device 120 in the communication system shown in Figure 1.
  • the second terminal may be the terminal device 120 in the communication system shown in Figure 1.
  • the relevant description of the embodiment shown in Figure 1. For the sake of brevity, details will not be described here.
  • the second terminal may obtain the prohibited PLMN list and timer related information for managing PLMNs in the prohibited PLMN list from the same storage unit, and further manage the prohibited PLMN list based on the timer related information.
  • the method 300 includes at least part of the following content:
  • S320 Manage the first PLMN in the prohibited PLMN list according to the first timer related information.
  • the prohibited PLMN list and the first timer related information are stored in the SIM card of the second terminal. That is, the same storage unit may be a storage unit in the SIM card of the second terminal.
  • the first terminal stores the prohibited PLMN list and the first timer related information in the SIM card. After the SIM is inserted into the second terminal, the second terminal can read it from the SIM card. Disable PLMN list and first timer related information.
  • the second terminal stores the prohibited PLMN list and the first timer related information in the SIM card, and when the second event occurs, the second terminal can read it from the SIM card. Get the prohibited PLMN list and first timer related information.
  • the prohibited PLMN list and the first timer related information are stored in the storage unit of the second terminal. That is, the same storage unit may be the storage unit of the second terminal. For example, when the second terminal is powered off (when the first event occurs), the prohibited PLMN list and first timer related information are stored in the storage unit of the second terminal, and when the second terminal is powered on (when the second event occurs) In this case), the prohibited PLMN list and first timer related information can be read from the storage unit.
  • S320 includes:
  • the target PLMN in the prohibited PLMN list is managed according to the first timer related information, where the target PLMN includes the first PLMN.
  • the first timer is used to trigger the unblocking of the target PLMN in the PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list.
  • the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
  • the timeout of the first timer can also be expressed as: the first timer expires and the first timer becomes invalid.
  • the target PLMN only includes the first PLMN. Then, when the first timer times out, only the first PLMN is unbanned, or in other words, only the first PLMN is deleted from the banned PLMN list.
  • timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
  • the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
  • the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted.
  • the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
  • the second event may refer to any event that may trigger the behavior of reading the SIM, or the second event may be a SIM card validation event, such as the second terminal is powered on, the SIM card is inserted into the second terminal, or , the SIM card of the second terminal is powered on (or in other words, the SIM card of the second terminal is enabled), etc. This application does not limit this.
  • powering on the SIM card of the second terminal may include re-enabling the SIM card of the second terminal if it is disabled, for example, the user manually sets the SIM card to be enabled.
  • the second terminal is a terminal that is allowed to use timer management to disable PLMN.
  • the second terminal is configured to allow the use of timer management to ban the PLMN, which may include:
  • the Timer T3245Behaviour value in the configuration file (such as EF_FPLMN) in the SIM card of the second terminal is configured as 1, or,
  • the Timer T3245Behaviour value in the configuration file in the storage unit of the second terminal is configured as 1.
  • the first timer related information includes at least one of the following:
  • the first terminal when the first terminal (or the second terminal) receives a rejection message for the first PLMN from the network device (for example, carrying the rejection reason 11# or 35#), it is determined that the first PLMN is prohibited (or in other words, the first PLMN regarded as a prohibited PLMN), further, add the first PLMN to the prohibited PLMN list, and start the first timer.
  • the first terminal or the second terminal
  • At least one of time information for example, time information when the rejection message is received, or time information when the first PLMN is added to the prohibited PLMN list
  • start time information of the first timer start time information of the first timer
  • total duration information of the first timer for example, time information when the rejection message is received, or time information when the first PLMN is added to the prohibited PLMN list
  • the S320 may include:
  • the first timer related information it is determined whether to delete (or in other words, whether to unban) the target PLMN in the banned PLMN list, and/or, determine the time to delete the target PLMN in the banned PLMN list, that is, the time to unban the target PLMN.
  • the S320 may include:
  • the target PLMN in the prohibited PLMN list is deleted.
  • the second timer is started, and if the second timer times out, the target PLMN in the prohibited PLMN list is deleted.
  • the second terminal may determine whether the first timer times out based on the total duration of the first timer and a third duration, where the third duration is the start time of the first timer and a third time (such as the current time or the occurrence time of the second event).
  • the current time here may be the system time when the second terminal calculates whether the first timer times out.
  • the second event is that the second terminal is powered on.
  • the booting time of the second terminal can refer to any time during the booting process of the second terminal, or it can also refer to the time when the second terminal can read the second terminal during the booting process. Any time after the data is stored in the storage unit of the terminal or the SIM card, or any time after the first terminal is able to write data to the storage unit of the first terminal or the SIM card.
  • the total duration of the first timer is less than or equal to the third duration, determine that the first timer has timed out; or
  • the total duration of the first timer is greater than the third duration, it is determined that the first timer has not timed out.
  • the duration of the second timer is set to a difference between the total duration of the first timer and the third duration.
  • the total duration information of the first timer may be stored in the SIM of the second terminal, or when the total duration information of the first timer is not stored in the SIM of the second terminal.
  • the total duration information of the first timer can be selected by the second terminal, or a predefined value, or a default value.
  • the total duration of the first timer may also be determined based on the managed target PLMN. For example, timers used to manage different PLMNs may be set to different total durations, enabling precise timer durations to be achieved. Adjustment.
  • the second terminal can obtain the prohibited PLMN list and timer related information for managing the PLMNs in the prohibited PLMN list from the SIM card, and further manage the prohibited PLMN list based on the timer related information.
  • the terminal into which the SIM card is inserted can continue to manage the banned PLMN list based on the timer-related information, thereby avoiding the replacement of the SIM card during the timer running, resulting in the permanent retention of the banned PLMN.
  • banned PLMN list On the issue of banned PLMN list.
  • FIG 6 is a schematic flowchart of a method 400 for managing a prohibited public land mobile network PLMN according to yet another embodiment of the present application.
  • the method 400 can be applied to the second terminal, which can be the terminal device 120 in the communication system shown in Figure 1.
  • the second terminal can be the terminal device 120 in the communication system shown in Figure 1.
  • the relevant description of the embodiment shown in Figure 1. For the sake of simplicity, details will not be described here.
  • the method 400 includes at least part of the following content:
  • the first timer is used to trigger the unblocking of the target PLMN in the prohibited PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list, or in other words, the first timer is used to trigger the unblocking of the target PLMN in the prohibited PLMN list.
  • the second terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the first timer.
  • the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
  • the second terminal may start the first timer when the SIM card of the second terminal is changed and the SIM card of the second terminal includes a prohibited PLMN list, and the prohibited PLMN list includes at least one PLMN. It can be understood that the SIM card of the second terminal may be a changed SIM card of the second terminal.
  • the target PLMN includes only one PLMN. Then, when the first timer times out, only the PLMN is unbanned, or in other words, only the PLMN is deleted from the banned PLMN list. In this case, timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
  • the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
  • the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted.
  • the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal. In this case, the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
  • the second terminal is configured to allow barring the PLMN using timer management.
  • the second terminal is configured to allow the use of timer management to ban the PLMN, which may include:
  • the Timer T3245Behaviour value in the configuration file (such as EF_FPLMN) in the SIM card of the second terminal is configured as 1, or,
  • the Timer T3245Behaviour value in the configuration file in the storage unit of the second terminal is configured as 1.
  • changes to the SIM card of the second terminal may include but are not limited to the following situations:
  • the second terminal changes from not inserting the SIM card to inserting the SIM card
  • the SIM card of the second terminal is changed from SIM card 1 to SIM card 2;
  • the SIM card of the second terminal is changed from being powered off to being powered on, or in other words, the SIM card is changed from being disabled to being enabled.
  • the method 400 before the SIM card of the second terminal is changed, the method 400 further includes:
  • a second event occurs on the second terminal.
  • the change of the SIM card of the second terminal may be triggered by the second event.
  • the second event may refer to any event that may trigger the behavior of reading the SIM card.
  • the second event may be a SIM card validation event, such as the second terminal is powered on and the SIM card is inserted into the second terminal.
  • the SIM card of the second terminal is powered on (or in other words, the SIM card of the first terminal is enabled), etc. This application does not limit this.
  • powering on the SIM card of the second terminal may include re-enabling the SIM card of the second terminal if it is disabled, for example, the user manually sets the SIM card to be enabled.
  • the total duration of the first timer may be selected by the second terminal, or a predefined value, or a default value, or determined according to the managed PLMN, for example, used to manage the timing of different PLMNs.
  • the timer can be set to different total durations, enabling fine adjustment of the timer duration.
  • the first timer related information is stored in a storage unit of the second terminal, for example, stored in an NVM or VM in the second terminal.
  • S410 includes:
  • the first timer is started.
  • the second terminal can determine whether the prohibited PLMN list in the SIM card is empty. If it is not empty, the first timer is started. According to The first timer manages the target PLMN in the prohibited PLMN list, for example, when the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
  • the first terminal when a first event (for example, a SIM card failure event) occurs, the first terminal may not store timer-related information in the SIM card. Furthermore, when a second event occurs on the first terminal, For example, if the SIM card of the first terminal is inserted into the second terminal, that is, the SIM card of the second terminal is changed, the second terminal cannot obtain the timer related information from the SIM card. In this case, the second terminal can The first timer is started when the banned PLMN list in the SIM card is not empty. After the first timer times out, the target PLMN in the banned PLMN list is unbanned, so that the second terminal can target the target PLMN in the banned PLMN list. Initiating registration will help improve user experience.
  • a first event for example, a SIM card failure event
  • one timer takes one timer to manage one PLMN as an example.
  • one timer can also be used to manage multiple PLMNs, or all PLMNs. The management methods are similar and will not be described again here. .
  • the terminal device can store the prohibited PLMN list and timer related information through NVM.
  • FIG. 7 A schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 1 is described with reference to FIG. 7 .
  • the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
  • UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the NVM of UE1, and starts timer A (recorded as T_A).
  • UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
  • UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the NVM of UE1, and starts timer B (recorded as T_B).
  • timer A and timer B are still in the running state when the first event occurs, save the remaining duration information of timer A and the remaining duration information of timer B, otherwise, delete timer A Related information and timer B related information.
  • UEl may also store the occurrence time information of the first event.
  • a second event for example, UE1 is powered off, or a SIM card is inserted into UE1
  • UE1 is triggered to read the card and determine whether the SIM card of UE1 has changed, that is, whether to change the card. If the card is not changed, In this case, UE1 can continue to use the banned PLMN list and timer related information stored in the NVM to manage the banned PLMN. Or, in the case of changing the card, UE1 can clear the PLMN and timer related information in the prohibited PLMN list.
  • a second event occurs.
  • the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
  • PLMN A After UE2 is powered on, it selects the cell to camp in PLMN A. Since PLMN A does not belong to the prohibited PLMN list, it can initiate registration with PLMN A.
  • PLMN A and PLMN B only exist in the prohibited PLMN list of UE1's NVM, after UE1's SIM card is inserted into UE2, UE2 cannot learn that PLMN A and PLMN B are prohibited PLMNs. Therefore, registration can be initiated with PLMN A and PLMN B.
  • the terminal device may store the prohibited PLMN list and timer related information through a volatile memory (such as a local database).
  • a volatile memory such as a local database
  • FIG. 8 a schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 2 is described.
  • the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
  • UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the local database of UE1, and starts timer A (recorded as T_A).
  • UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
  • UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the local database of UE1, and starts timer B (recorded as T_B).
  • timer A and timer B are still running when the SIM card is pulled out, save the remaining duration information of timer A and the remaining duration information of timer B, otherwise, delete the timer.
  • a related information and timer B related information are still running when the SIM card is pulled out.
  • UE1 when a SIM card is inserted into UE1, UE1 is triggered to read the card and determine whether the SIM card of UE1 has changed, that is, whether the card has been changed. Then, without changing the card, UE1 can continue to use the data stored in the NVM. Banned PLMN list and timer related information management ban PLMN. Or, in the case of changing the card, UE1 can clear the PLMN and timer related information in the prohibited PLMN list.
  • UE1 when UE1 is powered off, clear the PLMN and timer related information in the prohibited PLMN list stored in the local database.
  • a second event occurs.
  • the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
  • PLMN A After UE2 is powered on, it selects the cell to camp in PLMN A. Since PLMN A does not belong to the prohibited PLMN list, it can initiate registration with PLMN A.
  • PLMN A and PLMN B only exist in the prohibited PLMN list of UE1's local database, after UE1's SIM card is inserted into UE2, UE2 cannot learn that PLMN A and PLMN B are prohibited PLMNs. Therefore, registration can be initiated with PLMN A and PLMN B.
  • Embodiment 1 or 2 the behavior of the UE side when a second event (such as power on or SIM card insertion) occurs in Embodiment 1 or 2 will be described with reference to FIG. 9 .
  • a second event such as power on or SIM card insertion
  • determine whether to replace the SIM card based on whether the International Mobile Subscriber Identity (IMSI) or Subscription Permanent Identifier (SUPI) in the UE's storage unit is consistent with the IMSI or SUPI of the current SIM card. . If the MSI or SUPI in the UE's storage unit is consistent with the IMSI or SUPI of the current SIM card, it is determined that the SIM card has not been replaced. Alternatively, if the MSI or SUPI in the UE's storage unit is inconsistent with the IMSI or SUPI of the current SIM card, it is determined that the SIM card has been replaced. SIM card.
  • IMSI International Mobile Subscriber Identity
  • SUPI Subscription Permanent Identifier
  • S1102 is executed. If the SIM card is not replaced, S1103 is executed.
  • the UE clears all PLMN and timer related information in the prohibited PLMN list in the storage unit.
  • the UE clears PLMN A and its corresponding timer (i.e. T_A) related information, PLMN B and its corresponding timer (i.e. T_B) related information.
  • the timer-related information may include the remaining duration information of the timer, the running status information of the timer, the occurrence time information of the first event, etc.
  • S1104 Determine whether the timer has timed out based on timer related information.
  • the timer related information includes the running status information of the timer when the first event occurs, and if the timer is running when the first event occurs, it is further determined based on the time information in the timer related information whether the timer has timed out.
  • the UE may determine whether the timer has timed out based on the remaining duration of the timer and the first duration. For specific determination methods, refer to the relevant description in method 200.
  • the actual remaining duration of timer T_A is determined as the difference between the saved remaining duration of T_A and the first duration.
  • S1106 Start timer T_A’, and set the duration of timer T_A’ to the actual remaining duration of timer T_A. That is, the difference between the remaining duration of T_A saved and the first duration.
  • PLMN A is managed, for example, after the timer T_A' times out, PLMN A is deleted from the prohibited PLMN list.
  • the UE receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • S1202 The UE determines whether it is configured to allow the use of timers to manage the PLMN.
  • the Timer T3245Behaviour value in the configuration file in the UE's SIM card is configured as 1, or if the Timer T3245Behaviour value in the configuration file in the UE's storage unit is configured as 1, it is determined that the UE is configured to allow the use of timing
  • the server manages the PLMN.
  • the UE is configured to allow the use of a timer to manage the PLMN, perform S1203; otherwise, perform S1204.
  • PLMN A into the prohibited PLMN list in the UE's storage unit (such as NVM or local database), and start the timer T_A.
  • PLMN A Store PLMN A in the SIM card of the UE and record the current time information, such as the current system time.
  • S1302 Store the timer's running status and remaining duration information in the UE's storage unit (such as NVM or local database).
  • the running status information of the timer does not need to be stored.
  • the timer that stores the remaining duration information is considered to be a timer in the running status.
  • the storage unit of the UE may include a prohibited PLMN list, and the prohibited PLMN list may include PLMN X.
  • the storage unit of the UE may also include remaining duration information of T_X, or may also include operating status information of T_X.
  • S1401 determine the running status of the timer.
  • S1402 Store the running status and remaining duration information of the timer in the NVM of the UE.
  • the remaining duration information and running status information of T_X can be stored in the NVM of the UE.
  • the running status information of the timer does not need to be stored.
  • the timer that stores the remaining duration information is considered to be a timer in the running status.
  • the NVM of the UE may include a prohibited PLMN list, and the prohibited PLMN list may include PLMN X.
  • the NVM of the UE may also include remaining duration information of T_X, or may also include operating status information of T_X.
  • S1301 determine whether the timer times out.
  • determination method refer to the method of determining whether the first timer has timed out in method 200. For the sake of simplicity, details will not be described here.
  • the prohibited PLMN list of the UE's storage unit includes PLMN X and timer (T_X) related information corresponding to PLMN X.
  • T_X timer
  • the network is searched again according to the updated prohibited PLMN list, or the registered PLMN is reselected.
  • the UE when receiving rejection reason #11 or #35, the UE can add the prohibited PLMN to the prohibited PLMN list, and store the prohibited PLMN list and timer related information in the storage unit of the first terminal. information, so that whenever the UE is turned on or a SIM card is inserted, the UE can manage the banned PLMN list based on the stored timer-related information, which helps prevent SIM replacement during the timer running, causing the added PLMN to be permanently retained in the banned PLMN list. question.
  • the terminal device can store the prohibited PLMN list and timer related information through the SIM card.
  • FIG. 14 A schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 3 is described with reference to FIG. 14 .
  • the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
  • UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the SIM of UE1, starts timer A (recorded as T_A), and records the start time information of timer A in the SIM card.
  • UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
  • UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the NVM of UE1, starts timer B (recorded as T_B), and records the start time information of timer B in the SIM card.
  • the first event occurs, such as the SIM card being pulled out or the phone being powered off.
  • UE1 may not operate the prohibited PLMN list and timer related information in the SIM card.
  • the second event occurs.
  • the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
  • S3007 UE2 obtains the prohibited PLMN list and timer-related information in the SIM card, and manages the PLMN list based on the timer-related information.
  • UE2 obtains the prohibited PLMN list and timer-related information in the SIM card, and manages the PLMN list based on the timer-related information.
  • PLMN A since PLMN A does not belong to the prohibited PLMN list, UE2 can initiate registration with PLMN A.
  • Embodiment 3 the behavior of the UE side will be described in Embodiment 3 when the second event (such as powering on or inserting a SIM card) occurs.
  • the second event such as powering on or inserting a SIM card
  • S3101 read SIM card files, such as EF_NASCONFIG.
  • S3102 Determine whether the UE is configured to allow the use of timers to manage the PLMN. For the specific determination method, refer to the relevant descriptions of the foregoing embodiments. If yes, execute S3103; otherwise, end the process.
  • S3103 Obtain the prohibited PLMN list and timer related information in the SIM card.
  • the prohibited PLMN list in the storage unit includes information related to PLMN A and its corresponding timer (i.e., T_A), and information related to PLMN B and its corresponding timer (i.e., T_B).
  • timer-related information may include timer start time information.
  • the total duration information of the timer may also be included.
  • S3104 Determine whether the timer has timed out based on timer related information. For the specific determination method, refer to the relevant descriptions in method 200 or method 300. If it does not time out, execute S3105; otherwise, end the process.
  • S3105. Determine the actual remaining duration of the timer. For example, determine the difference between the total duration of the timer and the second duration as the actual remaining duration of the timer, where the second duration is from the start time of the timer to the current time or the second duration. The length of time between events.
  • S3106 Start the timer and set the timer duration to the actual remaining duration of the timer.
  • timer T_A For example, if timer T_A has not expired, timer T_A’ is started. If timer T_A’ times out, PLMN A in the prohibited PLMN list is deleted.
  • the UE receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • S3202 The UE determines whether it is configured to allow the use of timers to manage the PLMN.
  • the Timer T3245Behaviour value in the configuration file in the UE's SIM card is configured as 1, or if the Timer T3245Behaviour value in the configuration file in the UE's storage unit is configured as 1, it is determined that the UE is configured to allow the use of timing
  • the server manages the PLMN.
  • the UE is configured to allow the use of a timer to manage the PLMN, perform S3203; otherwise, perform S3204.
  • S3204 Store PLMN A into the prohibited PLMN list in the SIM card, and record the current time information (such as the current system time).
  • S3301 determine whether the timer times out.
  • determination method refer to the relevant implementation of determining whether the first timer times out in method 200. For the sake of simplicity, details will not be described here.
  • the prohibited PLMN list of the UE's SIM card includes PLMN A and the timer (T_A) related information corresponding to PLMN A.
  • T_A timer
  • the network is searched again according to the updated prohibited PLMN list, or the registered PLMN is reselected.
  • the UE when receiving rejection reason #11 or #35, the UE can add the prohibited PLMN to the prohibited PLMN list, and store the prohibited PLMN list and timer related information in the SIM of the first terminal. , in this way, when the SIM card is inserted into other UEs, other UEs can also manage the banned PLMN list based on the timer-related information stored in the SIM card, which is helpful to prevent the replacement of SIMs during the timer running, resulting in the added PLMN permanently remaining in the banned PLMN list. The problem.
  • the terminal device may store the prohibited PLMN list through the SIM.
  • UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
  • UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the SIM of UE1, starts timer T3245, and records timer T3245 related information in the storage unit of UE1.
  • UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
  • UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the SIM card of UE1, starts timer T3245, and records timer T3245 related information in the storage unit of UE1.
  • the first event occurs, such as the SIM card being pulled out or the phone being powered off.
  • UE1 may not operate the prohibited PLMN list and timer related information in the SIM card.
  • the second event occurs.
  • the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
  • S4007 UE2 obtains the prohibited PLMN list in the SIM card and determines to start timer T3245 based on the prohibited PLMN list.
  • timer T3245 is started.
  • PLMN A since PLMN A does not belong to the prohibited PLMN list, UE2 can initiate registration with PLMN A.
  • the UE when the SIM card of the UE is changed, the UE starts a timer according to the prohibited PLMN list stored in the SIM card. When the timer times out, all PLMNs in the prohibited PLMN list are deleted. , which is helpful to prevent the problem of replacing the SIM during the timer running, causing the added PLMN to permanently remain in the banned PLMN list.
  • Embodiment 4 when receiving rejection reason #11 or #35, the behavior of the UE is consistent with the behavior of the UE when receiving rejection reason #11 or #35 in Embodiment 3.
  • the difference is:
  • the timer-related information in Embodiment 3 is stored in the SIM of the UE, and the timer-related information in Embodiment 4 is stored in the storage unit of the UE.
  • Embodiment 4 when the timer times out, the behavior of the UE side in Embodiment 4 is consistent with the behavior of the UE side in Embodiment 3.
  • the relevant description in Figure 17. For simplicity, here No longer.
  • Embodiments 1 to 4 can be implemented individually or in combination, and this application is not limited thereto.
  • the prohibited PLMN list and timer related information may be stored in the SIM card of the UE, for example, the information may be stored based on the method in Embodiment 3.
  • a prohibited PLMN list may be stored in the SIM card of the UE, and the prohibited PLMN list and timer related information may also be stored in the storage unit of the UE. For example, it may be based on the information in Embodiment 1 or Embodiment 2. stored in a way.
  • S4101 read SIM card files, such as EF_NASCONFIG.
  • S4101 may be executed when the SIM card of the UE is changed.
  • S4102 Determine whether the UE is configured to allow the use of a timer to manage the PLMN. For the specific determination method, refer to the relevant descriptions of the foregoing embodiments.
  • the prohibited PLMN list in the storage unit includes PLMN A and PLMN B.
  • S4104 Determine the start timer according to the prohibited PLMN list.
  • PLMN A and PLMN B in the prohibited PLMN list are deleted.
  • S4101 The UE determines whether to change the SIM card.
  • a prohibited PLMN list is stored in the SIM card of the UE, and timer related information is stored in a storage unit of the UE.
  • timer related information may also be stored in the SIM card of the UE, and a prohibited PLMN list may also be stored in the storage unit of the UE.
  • S4211 to S4215 are executed.
  • S4202 to S4205 are executed.
  • S4202 Determine whether the timer has timed out according to the timer-related information in the storage unit of the UE.
  • the specific determination method refer to the relevant descriptions of the foregoing embodiments, which will not be described again here.
  • S4203 Determine the actual remaining duration of the timer. For the specific determination method, refer to Method 1 or Method 2 in the aforementioned embodiment.
  • S4204 Start the timer, and manage the PLMNs in the prohibited PLMN list based on the started timer.
  • S4213 Determine whether the UE is configured to use a timer to manage the PLMN. If so, execute 4214, otherwise, end the process.
  • S4214 Determine whether the prohibited PLMN list in the SIM is empty. If not, execute S4215, otherwise, end the process.
  • S4215 Start a timer, and the timer's duration is set to the default duration, or a predefined duration, or the set duration is determined based on the prohibition of PPLMN.
  • the PLMNs in the prohibited PLMN list are managed based on this timer.
  • Embodiment 4 when the prohibited PLMN list is not empty, the UE starts a timer to manage the PLMNs in the prohibited PLMN list, which is helpful to avoid changing the SIM card during the running of the timer, resulting in prohibited The issue of PLMN permanently remaining on the banned PLMN list.
  • Figure 21 shows a schematic block diagram of a terminal device 500 according to an embodiment of the present application.
  • the terminal device 500 includes:
  • the processing unit 510 is configured to start the first timer when the first PLMN is added to the prohibited PLMN list;
  • the prohibited PLMN list and the first timer related information are stored in the same storage unit.
  • processing unit 510 is also used to:
  • the target PLMN only includes the first PLMN;
  • the target PLMN includes all PLMNs in the prohibited PLMN list; or
  • the target PLMN includes multiple PLMNs in the prohibited PLMN list.
  • the same storage unit is a storage unit in the terminal device or a storage unit in a SIM card of the user identification module of the terminal device.
  • the first event includes at least one of the following:
  • the terminal device is shut down
  • the SIM card of the terminal device is pulled out
  • the SIM card of the terminal device is powered off
  • the first PLMN is disabled.
  • the first timer related information includes at least one of the following:
  • the total duration information of the first timer
  • the start time information of the first timer
  • the first event includes failure of the SIM card of the terminal device, and the processing unit 510 is further configured to:
  • the remaining duration information of the first timer and/or the first time information is stored in the storage unit of the terminal device, and the first time information is used to indicate The time when the SIM card of the terminal device expires.
  • the first event package indicates that the first PLMN is disabled, and the processing unit 510 is further configured to:
  • the start time information and/or the total duration information of the first timer are stored in the SIM card of the terminal device.
  • the prohibited PLMN list and the first timer related information are stored in the storage unit of the terminal device, and the processing unit 510 is also used to:
  • the target PLMN in the prohibited PLMN list is managed according to the first timer related information.
  • the second event includes at least one of the following:
  • the terminal device is powered on, a SIM card is inserted into the terminal device, and the SIM card in the terminal device is powered on.
  • processing unit 510 is also used to:
  • first timer does not time out, start the second timer. If the second timer times out, delete the target PLMN in the prohibited PLMN list.
  • the duration of the second timer is set to the difference between the remaining duration of the first timer and the first duration, and the first duration is from the occurrence time of the first event to the The duration between the occurrence time of the second event, or the first duration is the duration between the occurrence time of the first event and the current time.
  • processing unit 510 is also used to:
  • the remaining time of the first timer is greater than the first time length, it is determined that the first timer has not timed out.
  • the duration of the second timer is set to the difference between the total duration of the first timer and a second duration, where the second duration is the start time of the first timer.
  • the length of the interval to the second time which is the current time or the occurrence time of the second event.
  • processing unit 510 is also used to:
  • the terminal device is configured to allow the use of timer management to ban the PLMN.
  • the above-mentioned processing unit may be one or more processors.
  • terminal device 500 may correspond to the first terminal in the method embodiment of the present application, and the above and other operations and/or functions of each unit in the terminal device 500 are respectively intended to implement FIG. 4 to FIG.
  • the corresponding process of the first terminal or UE1 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
  • Figure 22 shows a schematic block diagram of a terminal device 600 according to an embodiment of the present application.
  • the terminal device 600 includes:
  • the processing unit 610 is configured to obtain the prohibited PLMN list and the first timer related information when the second event occurs, wherein the prohibited PLMN list and the first timer related information are stored in the same storage unit;
  • the first PLMN in the prohibited PLMN list is managed according to the first timer related information.
  • processing unit 610 is also used to:
  • a target PLMN in the prohibited PLMN column list is managed, where the target PLMN includes the first PLMN.
  • the target PLMN includes only one PLMN; or
  • the target PLMN includes all PLMNs in the prohibited PLMN list; or
  • the target PLMN includes multiple PLMNs in the prohibited PLMN list.
  • the same storage unit is a storage unit in the SIM card of the subscriber identification module.
  • the first timer related information includes at least one of the following:
  • the start time information of the first timer and the total duration information of the first timer.
  • processing unit 610 is also used to:
  • a second timer is started. If the second timer times out, the at least one PLMN in the prohibited PLMN list is deleted.
  • the duration of the second timer is set to the difference between the total duration of the first timer and a third duration.
  • the third duration is from the start time of the first timer to The length of time between the third time, where the third time is the current time or the occurrence time of the second event.
  • determining whether the first timer has timed out based on the first timer related information includes:
  • the second terminal is configured to allow the use of a timer corresponding to the PLMN.
  • the second event includes at least one of the following:
  • the second terminal is powered on
  • the SIM card of the second terminal is powered on.
  • the above-mentioned communication unit may be a communication interface or transceiver, or an input/output interface of a communication chip or a system on a chip.
  • the above-mentioned processing unit may be one or more processors.
  • terminal device 600 may correspond to the second terminal in the method embodiment of the present application, and the above and other operations and/or functions of the various units in the terminal device 600 are respectively to implement Figures 4 to 4
  • the corresponding process of the second terminal or UE2 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
  • Figure 23 shows a schematic block diagram of a terminal device 700 according to an embodiment of the present application.
  • the terminal device 700 includes:
  • the processing unit 710 is configured to start the first timer when the SIM card of the subscriber identification module of the terminal device is changed;
  • the target PLMN in the prohibited PLMN list is deleted.
  • the target PLMN includes only one PLMN; or
  • the target PLMN includes all PLMNs in the prohibited PLMN list; or
  • the target PLMN includes multiple PLMNs in the prohibited PLMN list
  • the processing unit 710 before the SIM card of the terminal device is changed, the processing unit 710 is also used to:
  • a second event occurs on the terminal device, where the second event includes at least one of the following:
  • the terminal device is powered on, a SIM card is inserted into the terminal device, and the SIM card of the terminal device is powered on.
  • the terminal device is configured to allow the use of timer management to ban the PLMN.
  • the first timer related information is stored in a storage unit of the terminal device.
  • processing unit 710 is also used to:
  • the first timer is started.
  • the above-mentioned communication unit may be a communication interface or transceiver, or an input/output interface of a communication chip or a system on a chip.
  • the above-mentioned processing unit may be one or more processors.
  • terminal device 700 may correspond to the second terminal in the method embodiment of the present application, and the above and other operations and/or functions of the various units in the terminal device 700 are respectively to implement Figures 4 to 4.
  • the corresponding process of the second terminal or UE2 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
  • Figure 24 is a schematic structural diagram of a communication device 800 provided by an embodiment of the present application.
  • the communication device 800 shown in Figure 24 includes a processor 810.
  • the processor 810 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
  • the communication device 800 may further include a memory 820.
  • the processor 810 can call and run the computer program from the memory 820 to implement the method in the embodiment of the present application.
  • the memory 820 may be a separate device independent of the processor 810 , or may be integrated into the processor 810 .
  • the communication device 800 may also include a transceiver 830.
  • the processor 810 may control the transceiver 830 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
  • the transceiver 830 may include a transmitter and a receiver.
  • the transceiver 830 may further include an antenna, and the number of antennas may be one or more.
  • the communication device 800 may specifically be the first terminal or the second terminal in the embodiment of the present application, and the communication device 800 may implement the corresponding functions implemented by the first terminal or the second terminal in the various methods of the embodiment of the present application. The process, for the sake of brevity, will not be repeated here.
  • the communication device 800 can be a mobile terminal/terminal device according to the embodiment of the present application, and the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • Figure 25 is a schematic structural diagram of a chip according to an embodiment of the present application.
  • the chip 900 shown in Figure 25 includes a processor 910.
  • the processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
  • the chip 900 may also include a memory 920.
  • the processor 910 can call and run the computer program from the memory 920 to implement the method in the embodiment of the present application.
  • the memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .
  • the chip 900 may also include an input interface 930.
  • the processor 910 can control the input interface 930 to communicate with other devices or chips. Specifically, it can obtain information or data sent by other devices or chips.
  • the chip 900 may also include an output interface 940.
  • the processor 910 can control the output interface 940 to communicate with other devices or chips. Specifically, it can output information or data to other devices or chips.
  • the chip can be applied to the first terminal or the second terminal in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the first terminal or the second terminal in the various methods of the embodiment of the present application, in order to It’s concise and I won’t go into details here.
  • the chip can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the mobile terminal/terminal device in the various methods of the embodiment of the present application. For the sake of simplicity, here No longer.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • the processor in the embodiment of the present application may be an integrated circuit chip and has signal processing capabilities.
  • each step of the above method embodiment can be completed through an integrated logic circuit of hardware in the processor or instructions in the form of software.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available processors.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the steps of the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which is used as an external cache.
  • RAM Random Access Memory
  • RAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • Synchlink DRAM SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the memory in the embodiment of the present application can also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, memories in embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
  • Embodiments of the present application also provide a computer-readable storage medium for storing computer programs.
  • the computer-readable storage medium can be applied to the first terminal or the second terminal in the embodiment of the present application, and the computer program causes the computer to perform the various methods in the embodiment of the present application by the first terminal or the second terminal.
  • the corresponding process of implementation will not be repeated here for the sake of brevity.
  • the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in the various methods of the embodiment of the present application. , for the sake of brevity, will not be repeated here.
  • An embodiment of the present application also provides a computer program product, including computer program instructions.
  • the computer program product can be applied to the first terminal or the second terminal in the embodiment of the present application, and the computer program instructions cause the computer to execute the various methods implemented by the first terminal or the second terminal in the embodiment of the present application.
  • the corresponding process for the sake of brevity, will not be repeated here.
  • the computer program product can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, For the sake of brevity, no further details will be given here.
  • An embodiment of the present application also provides a computer program.
  • the computer program can be applied to the first terminal or the second terminal in the embodiment of the present application.
  • the computer program When the computer program is run on the computer, it causes the computer to perform the various methods in the embodiment of the present application by the first terminal or the second terminal.
  • the corresponding process implemented by the second terminal will not be repeated here for the sake of simplicity.
  • the computer program can be applied to the mobile terminal/terminal device in the embodiments of the present application.
  • the computer program When the computer program is run on the computer, it causes the computer to execute the various methods implemented by the mobile terminal/terminal device in the embodiments of the present application. The corresponding process, for the sake of brevity, will not be repeated here.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .

Abstract

Methods for managing a forbidden public land mobile network (PLMN), and terminal devices. A method comprises: when a first PLMN is added to a forbidden PLMN list, starting a first timer, wherein the forbidden PLMN list and first timer related information are stored in a same storage unit.

Description

管理禁止公共陆地移动网络PLMN的方法和终端设备Methods and terminal equipment for managing prohibited public land mobile networks PLMN 技术领域Technical field
本申请实施例涉及通信领域,具体涉及一种管理禁止公共陆地移动网络PLMN的方法和终端设备。The embodiments of the present application relate to the field of communications, and specifically relate to a method and terminal equipment for managing a prohibited public land mobile network PLMN.
背景技术Background technique
在一些场景中,终端设备可以基于定时器T3245管理禁止公共陆地移动网络(Public Land Mobile Network,PLMN),例如,在终端1接收到网络设备下发的针对PLMN A的拒绝理由#11或#35时,将PLMN A写入到用户识别模块(Subscriber Identity Module,SIM)卡中的禁止PLMN列表,并启动T3245,T3245的运行状态存储在UE1中。In some scenarios, the terminal device can manage to ban the Public Land Mobile Network (PLMN) based on timer T3245. For example, when terminal 1 receives rejection reason #11 or #35 for PLMN A issued by the network device, When , write PLMN A to the prohibited PLMN list in the Subscriber Identity Module (SIM) card, and start T3245, and the running status of T3245 is stored in UE1.
然而,目前对于禁止PLMN的管理方式还有进一步优化的空间。However, there is currently room for further optimization of the management methods for banning PLMNs.
发明内容Contents of the invention
本申请提供了一种管理禁止公共陆地移动网络PLMN的方法和终端设备。This application provides a method and terminal equipment for managing a prohibited public land mobile network PLMN.
第一方面,提供了一种管理禁止公共陆地移动网络PLMN的方法,包括:第一终端在第一PLMN添加到禁止PLMN列表的情况下,开启第一定时器;其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中。A first aspect provides a method for managing a prohibited PLMN in a public land mobile network, including: when a first PLMN is added to a prohibited PLMN list, a first terminal starts a first timer; wherein the prohibited PLMN list and The first timer related information is stored in the same storage unit.
第二方面,提供了一种管理禁止公共陆地移动网络PLMN的方法,包括:第二终端在发生第二事件的情况下,获取禁止PLMN列表和第一定时器相关信息,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中;根据所述第一定时器相关信息,管理所述目标PLMN。In a second aspect, a method for managing prohibited PLMNs in a public land mobile network is provided, including: when a second event occurs, a second terminal obtains a prohibited PLMN list and first timer related information, and the prohibited PLMN list and The first timer related information is stored in the same storage unit; the target PLMN is managed according to the first timer related information.
第三方面,提供了一种管理禁止公共陆地移动网络PLMN的方法,包括:在第二终端的用户识别模块SIM卡发生变更的情况下,启动第一定时器;在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的目标PLMN。In a third aspect, a method for managing a prohibited public land mobile network PLMN is provided, including: starting a first timer when the SIM card of the subscriber identity module of the second terminal is changed; and when the first timer expires In this case, delete the target PLMN in the prohibited PLMN list.
第四方面,提供了一种终端设备,用于执行上述第一方面或其各实现方式中的方法。A fourth aspect provides a terminal device for executing the method in the above first aspect or its respective implementations.
具体地,该终端设备包括用于执行上述第一方面或其各实现方式中的方法的功能模块。Specifically, the terminal device includes a functional module for executing the method in the above-mentioned first aspect or its respective implementations.
第五方面,提供了一种终端设备,用于执行上述第二方面或其各实现方式中的方法。A fifth aspect provides a terminal device for executing the method in the above second aspect or its respective implementations.
具体地,该终端设备包括用于执行上述第二方面或其各实现方式中的方法的功能模块。Specifically, the terminal device includes a functional module for executing the method in the above second aspect or its respective implementations.
第六方面,提供了一种终端设备,用于执行上述第三方面或其各实现方式中的方法。A sixth aspect provides a terminal device for executing the method in the above third aspect or its respective implementations.
具体地,该终端设备包括用于执行上述第三方面或其各实现方式中的方法的功能模块。Specifically, the terminal device includes a functional module for executing the method in the above third aspect or its respective implementations.
第七方面,提供了一种终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第一方面或其各实现方式中的方法。In a seventh aspect, a terminal device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory to execute the method in the above first aspect or its implementations.
第八方面,提供了一种终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第二方面或其各实现方式中的方法。In an eighth aspect, a terminal device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and execute the method in the above second aspect or its respective implementations.
第九方面,提供了一种终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第三方面或其各实现方式中的方法。In a ninth aspect, a terminal device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and execute the method in the above third aspect or its respective implementations.
第十方面,提供了一种芯片,用于实现上述第一方面至第三方面中的任一方面或其各实现方式中的方法。具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该装置的设备执行如上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In a tenth aspect, a chip is provided for implementing any one of the above-mentioned first to third aspects or the method in each implementation manner thereof. Specifically, the chip includes: a processor, configured to call and run a computer program from a memory, so that the device installed with the device executes any one of the above-mentioned first to third aspects or implementations thereof. method.
第十一方面,提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。An eleventh aspect provides a computer-readable storage medium for storing a computer program, the computer program causing a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.
第十二方面,提供了一种计算机程序产品,包括计算机程序指令,所述计算机程序指令使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In a twelfth aspect, a computer program product is provided, including computer program instructions, which cause a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.
第十三方面,提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。A thirteenth aspect provides a computer program that, when run on a computer, causes the computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.
附图说明Description of drawings
图1是本申请实施例提供的一种通信系统架构的示意性图。Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
图2是相关技术中的管理PLMN的方法的示意性流程图。Figure 2 is a schematic flow chart of a method of managing a PLMN in the related art.
图3是相关技术中的管理PLMN的方法的示意性流程图。Figure 3 is a schematic flow chart of a method of managing a PLMN in the related art.
图4是本申请实施例提供的一种管理禁止PLMN的方法的示意性图。Figure 4 is a schematic diagram of a method for managing prohibited PLMNs provided by an embodiment of the present application.
图5是本申请实施例提供的另一种管理禁止PLMN的方法的示意性图。Figure 5 is a schematic diagram of another method for managing prohibited PLMNs provided by an embodiment of the present application.
图6是本申请实施例提供的又一种管理禁止PLMN的方法的示意性图。Figure 6 is a schematic diagram of yet another method for managing prohibited PLMNs provided by an embodiment of the present application.
图7是根据本申请实施例的一种管理禁止PLMN的方法的示意性流程图。Figure 7 is a schematic flow chart of a method for managing prohibited PLMNs according to an embodiment of the present application.
图8是根据本申请实施例的另一种管理禁止PLMN的方法的示意性流程图。Figure 8 is a schematic flow chart of another method for managing prohibited PLMNs according to an embodiment of the present application.
图9是根据本申请一个实施例的在发生第二事件时终端设备的处理流程图。Figure 9 is a processing flow chart of the terminal device when the second event occurs according to an embodiment of the present application.
图10是根据本申请一个实施例的在接收到拒绝原因#11或#35时终端设备的处理流程图。Figure 10 is a processing flow chart of the terminal device when receiving rejection reason #11 or #35 according to an embodiment of the present application.
图11是根据本申请一个实施例的在拔卡时终端设备的处理流程图。Figure 11 is a processing flow chart of the terminal device when removing the card according to an embodiment of the present application.
图12是根据本申请一个实施例的在关机时终端设备的处理流程图。Figure 12 is a processing flow chart of the terminal device when shutting down according to an embodiment of the present application.
图13是根据本申请一个实施例的在定时器超时时终端设备的处理流程图。Figure 13 is a processing flow chart of the terminal device when the timer times out according to an embodiment of the present application.
图14是根据本申请实施例的又一种管理禁止PLMN的方法的示意性流程图。Figure 14 is a schematic flow chart of yet another method for managing prohibited PLMNs according to an embodiment of the present application.
图15是根据本申请又一实施例的在发生第二事件时终端设备的处理流程图。Figure 15 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
图16是根据本申请又一实施例的在接收到拒绝原因#11或#35时终端设备的处理流程图。Figure 16 is a processing flow chart of the terminal device when receiving rejection reason #11 or #35 according to yet another embodiment of the present application.
图17是根据本申请又一个实施例的在定时器超时时终端设备的处理流程图。Figure 17 is a processing flow chart of the terminal device when the timer times out according to another embodiment of the present application.
图18是根据本申请实施例的再一种管理禁止PLMN的方法的示意性流程图。Figure 18 is a schematic flowchart of yet another method for managing prohibited PLMNs according to an embodiment of the present application.
图19是根据本申请再一实施例的在发生第二事件时终端设备的处理流程图。Figure 19 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
图20是根据本申请再一实施例的在发生第二事件时终端设备的处理流程图。Figure 20 is a processing flow chart of the terminal device when the second event occurs according to yet another embodiment of the present application.
图21是根据本申请实施例提供的一种终端设备的示意性框图。Figure 21 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
图22是根据本申请实施例提供的一种终端设备的示意性框图。Figure 22 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
图23是根据本申请实施例提供的一种终端设备的示意性框图。Figure 23 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
图24是根据本申请实施例提供的一种通信设备的示意性框图。Figure 24 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
图25是根据本申请实施例提供的一种芯片的示意性框图。Figure 25 is a schematic block diagram of a chip provided according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。针对本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Regarding the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频谱上的LTE(LTE-based access to unlicensed spectrum,LTE-U)系统、非授权频谱上的NR(NR-based access to unlicensed spectrum,NR-U)系统、非地面通信网络(Non-Terrestrial Networks,NTN)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、第五代通信(5th-Generation,5G)系统或其他通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (Code Division Multiple Access, CDMA) system, broadband code division multiple access (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 system of NR system, LTE (LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed spectrum, NR (NR-based access to unlicensed spectrum) unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), wireless fidelity (Wireless Fidelity, WiFi), fifth-generation communication (5th-Generation, 5G) system or other communication systems, etc.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),车辆间(Vehicle to Vehicle,V2V)通信,或车联网(Vehicle to everything,V2X)通信等,本申请实施例也可以应用于这些通信系统。Generally speaking, traditional communication systems 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 support, 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, etc. , the embodiments of the present application can also be applied to these communication systems.
可选地,本申请实施例中的通信系统可以应用于载波聚合(Carrier Aggregation,CA)场景,也可以应用于双连接(Dual Connectivity,DC)场景,还可以应用于独立(Standalone,SA)布网场景。Optionally, the communication system in the embodiment of the present application can be applied to a carrier aggregation (Carrier Aggregation, CA) scenario, a dual connectivity (Dual Connectivity, DC) scenario, or a standalone (Standalone, SA) deployment scenario. Internet scene.
可选地,本申请实施例中的通信系统可以应用于非授权频谱,其中,非授权频谱也可以认为是共享频谱;或者,本申请实施例中的通信系统也可以应用于授权频谱,其中,授权频谱也可以认为是非共享频谱。Optionally, the communication system in the embodiment of the present application can be applied to the unlicensed spectrum, where the unlicensed spectrum can also be considered as a shared spectrum; or the communication system in the embodiment of the present application can also be applied to the licensed spectrum, where, Licensed spectrum can also be considered as unshared spectrum.
本申请实施例结合网络设备和终端设备描述了各个实施例,其中,终端设备也可以称为用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The embodiments of this application describe various embodiments in combination with network equipment and terminal equipment. The terminal equipment may also be called user equipment (User Equipment, UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
终端设备可以是WLAN中的站点(STATION,STA),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、下一代通信系统例如NR网络中的终端设备,或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的终端设备 等。The terminal device can be a station (STATION, STA) in the WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, or a personal digital assistant. (Personal Digital Assistant, PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, next-generation communication systems such as terminal devices in NR networks, or in the future Terminal equipment in the evolved Public Land Mobile Network (PLMN) network, etc.
在本申请实施例中,终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。In the embodiment 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, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites). superior).
在本申请实施例中,终端设备可以是手机(Mobile Phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或智慧家庭(smart home)中的无线终端设备等。In the embodiment of this application, the terminal device may be a mobile phone (Mobile Phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, or an augmented reality (Augmented Reality, AR) terminal. Equipment, wireless terminal equipment in industrial control, wireless terminal equipment in self-driving, wireless terminal equipment in remote medical, wireless terminal equipment in smart grid , wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, or wireless terminal equipment in smart home, etc.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined wearable smart devices include full-featured, large-sized devices that can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones. Use, such as various types of smart bracelets, smart jewelry, etc. for physical sign monitoring.
在本申请实施例中,网络设备可以是用于与移动设备通信的设备,网络设备可以是WLAN中的接入点(Access Point,AP),GSM或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA中的基站(NodeB,NB),还可以是LTE中的演进型基站(Evolutional Node B,eNB或eNodeB),或者中继站或接入点,或者车载设备、可穿戴设备以及NR网络中的网络设备(gNB)或者未来演进的PLMN网络中的网络设备或者NTN网络中的网络设备等。In the embodiment of this application, the network device may be a device used to communicate with mobile devices. The network device may be an access point (Access Point, AP) in WLAN, or a base station (Base Transceiver Station, BTS) in GSM or CDMA. , or it can be a base station (NodeB, NB) in WCDMA, or an evolutionary base station (Evolutional Node B, eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, and an NR network network equipment (gNB) or network equipment in the future evolved PLMN network or network equipment in the NTN network, etc.
作为示例而非限定,在本申请实施例中,网络设备可以具有移动特性,例如网络设备可以为移动的设备。可选地,网络设备可以为卫星、气球站。例如,卫星可以为低地球轨道(low earth orbit,LEO)卫星、中地球轨道(medium earth orbit,MEO)卫星、地球同步轨道(geostationary earth orbit,GEO)卫星、高椭圆轨道(High Elliptical Orbit,HEO)卫星等。可选地,网络设备还可以为设置在陆地、水域等位置的基站。As an example and not a limitation, in the embodiment of the present application, the network device may have mobile characteristics, for example, the network device may be a mobile device. Optionally, the network device can be a satellite or balloon station. For example, the satellite can be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geosynchronous orbit (geostationary earth orbit, GEO) satellite, a high elliptical orbit (High Elliptical Orbit, HEO) satellite ) satellite, etc. Optionally, the network device may also be a base station installed on land, water, etc.
在本申请实施例中,网络设备可以为小区提供服务,终端设备通过该小区使用的传输资源(例如,频域资源,或者说,频谱资源)与网络设备进行通信,该小区可以是网络设备(例如基站)对应的小区,小区可以属于宏基站,也可以属于小小区(Small cell)对应的基站,这里的小小区可以包括:城市小区(Metro cell)、微小区(Micro cell)、微微小区(Pico cell)、毫微微小区(Femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。In this embodiment of the present application, network equipment can provide services for a cell, and terminal equipment communicates with the network equipment through transmission resources (for example, frequency domain resources, or spectrum resources) used by the cell. The cell can be a network equipment ( For example, the cell corresponding to the base station), the cell can belong to the macro base station, or it can belong to the base station corresponding to the small cell (Small cell). The small cell here can include: urban cell (Metro cell), micro cell (Micro cell), pico cell ( Pico cell), femto cell (Femto cell), etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-rate data transmission services.
示例性的,本申请实施例应用的通信系统100如图1所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。Exemplarily, the communication system 100 applied in the embodiment of the present application is shown in Figure 1 . The communication system 100 may include a network device 110, which may be a device that communicates with a terminal device 120 (also referred to as a communication terminal or terminal). The network device 110 can provide communication coverage for a specific geographical area and can communicate with terminal devices located within the coverage area.
图1示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。Figure 1 exemplarily shows one network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. This application The embodiment does not limit this.
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that in the embodiments of this application, devices with communication functions in the network/system may be called communication devices. Taking the communication system 100 shown in Figure 1 as an example, the communication device may include a network device 110 and a terminal device 120 with communication functions. The network device 110 and the terminal device 120 may be the specific devices described above, which will not be described again here. ; The communication device may also include other devices in the communication system 100, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiments of this application.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。It should be understood that the "instruction" mentioned in the embodiments of this application may be a direct instruction, an indirect instruction, or an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association between A and B. relation.
在本申请实施例的描述中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。In the description of the embodiments of this application, the term "correspondence" can mean that there is a direct correspondence or indirect correspondence between the two, it can also mean that there is an associated relationship between the two, or it can mean indicating and being instructed, configuration and being. Configuration and other relationships.
本申请实施例中,"预定义"可以通过在设备(例如,包括终端设备和网络设备)中预先保存相应的 代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。比如预定义可以是指协议中定义的。In the embodiment of this application, "predefinition" can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices). This application is specific to its The implementation method is not limited. For example, predefined can refer to what is defined in the protocol.
本申请实施例中,所述"协议"可以指通信领域的标准协议,例如可以包括LTE协议、NR协议以及应用于未来的通信系统中的相关协议,本申请对此不做限定。In the embodiment of this application, the "protocol" may refer to a standard protocol in the communication field, which may include, for example, LTE protocol, NR protocol, and related protocols applied in future communication systems. This application does not limit this.
为便于理解本申请实施例的技术方案,对本申请相关的禁止PLMN(Forbidden PLMN,FPLMN)的管理方法进行说明。In order to facilitate understanding of the technical solutions of the embodiments of this application, the management method of Forbidden PLMN (FPLMN) related to this application will be described.
在一些场景中,终端设备可以基于定时器T3245管理禁止PLMN,例如,在终端设备被配置允许使用T3245管理禁止PLMN的情况下,基于T3245管理禁止PLMN。其中,终端设备被配置允许使用T3245管理禁止PLMN可以指终端设的用户识别模块(Subscriber Identity Module,SIM)卡或全球用户识别模块(Universal Subscriber Identity Module,USIM)卡中的定时器T3245操作值(Timer T3245Behaviour value)设置为1。或者,也可以指终端设备的非易失性存储器(Non-Volatile Memory,NVM)中的Timer T3245Behaviour value设置为1。In some scenarios, the terminal device may manage to ban the PLMN based on timer T3245. For example, in the case where the terminal device is configured to allow the use of T3245 to manage the ban on PLMN, the terminal device may manage to ban the PLMN based on T3245. Among them, the terminal device is configured to allow the use of T3245 to manage and prohibit the PLMN, which can refer to the timer T3245 operation value in the terminal device's Subscriber Identity Module (Subscriber Identity Module, SIM) card or Global Subscriber Identity Module (Universal Subscriber Identity Module, USIM) card ( Timer T3245Behaviour value) is set to 1. Alternatively, it can also refer to the Timer T3245Behaviour value in the non-volatile memory (Non-Volatile Memory, NVM) of the terminal device being set to 1.
在一些场景中,当终端设备向PLMN A发起注册,但网络设备下发拒绝原因#11或#35时,终端设备可以将PLMN A写入到终端设备的SIM卡中的禁止PLMN列表,并开启T3245,进一步基于T3245管理禁止PLMN列表。In some scenarios, when the terminal device initiates registration with PLMN A, but the network device issues rejection reason #11 or #35, the terminal device can write PLMN A into the prohibited PLMN list in the SIM card of the terminal device and enable it. T3245, further manages the prohibited PLMN list based on T3245.
结合图2和图3,对相关技术中的基于T3245的禁止PLMN的管理方案进行说明。Combining Figure 2 and Figure 3, the T3245-based management solution for prohibiting PLMN in related technologies will be described.
如图2所示,当SIM卡插入UE1之后,UE1向PLMN A发起注册,但接收到网络设备下发的拒绝原因#11或#35,此情况下,UE1将PLMN A写入到SIM中的禁止PLMN列表,并启动T3245,T3245运行在UE1中。示例性的,图2中SIM卡的文件EF_FPLMN为记录禁止PLMN的文件,将PLMN A写入到SIM中的禁止PLMN列表,可以理解为将PLMN A写入SIM卡的文件EF_FPLMN。As shown in Figure 2, when the SIM card is inserted into UE1, UE1 initiates registration with PLMN A, but receives rejection reason #11 or #35 issued by the network device. In this case, UE1 writes PLMN A into the SIM. Disable the PLMN list and start T3245, which runs in UE1. For example, the file EF_FPLMN of the SIM card in Figure 2 is a file that records prohibited PLMNs. Writing PLMN A to the prohibited PLMN list in the SIM can be understood as writing PLMN A to the file EF_FPLMN of the SIM card.
其后,SIM卡从UE1拔出,插入到UE2,当UE2开机重新驻留到PLMN A的小区时,由于PLMN A属于禁止PLMN列表,UE2无法在PLMN A的小区上发起注册。并且,由于UE2并不知道曾经在UE1中启动过T3245,因此,无法通过T3245来解禁PLMN A,PLMN A会永久保留在SIM中的禁止PLMN列表中,除非手动选网注册成功,否则UE1无法在PLMN A的小区上发起注册。Afterwards, the SIM card was pulled out from UE1 and inserted into UE2. When UE2 turned on and camped in the cell of PLMN A again, UE2 could not initiate registration in the cell of PLMN A because PLMN A belonged to the prohibited PLMN list. Moreover, since UE2 does not know that T3245 has been activated in UE1, it cannot unban PLMN A through T3245. PLMN A will permanently remain in the banned PLMN list in SIM. Unless manual network selection and registration is successful, UE1 cannot Registration is initiated on the cell of PLMN A.
此外,在上例中,即使SIM卡一直存在于UE1中,当T3245定时器超时之后,UE1会将PLMN A从禁止PLMN列表中删除,同时将禁止PLMN列表中的其他PLMN也删除,因此还有可能造成对禁止PLMN的管理出现错误。例如图3所示,当SIM卡发行时,该SIM卡中的禁止PLMN列表中包括PLMN X,在接收到网络设备的针对PLMN A的拒绝原因#11或#35时,将PLMN A添加到禁止PLMN列表并启动T3245,当T3245超时时,将禁止PLMN列表中的所有PLMN清空。In addition, in the above example, even if the SIM card has always existed in UE1, when the T3245 timer times out, UE1 will delete PLMN A from the prohibited PLMN list, and will also delete other PLMNs in the prohibited PLMN list, so there are This may cause errors in the management of prohibited PLMNs. For example, as shown in Figure 3, when the SIM card is issued, PLMN PLMN list and start T3245. When T3245 times out, all PLMNs in the PLMN list will be prohibited from being cleared.
因此,如何进行禁止PLMN的管理还有进一步优化的空间。Therefore, there is still room for further optimization in how to manage prohibited PLMNs.
有鉴于此,本申请实施例提供了一种管理禁止PLMN的方法,通过将禁止PLMN列表和用于管理禁止PLMN列表的定时器相关信息存储在同一存储单元中,这样,对于一个终端设备而言,要么同时获得禁止PLMN列表和定时器相关信息,或者,二者都不能获得,有利于避免只能获得禁止PLMN列表和定时器相关信息中的一个信息,导致无法对禁止PLMN列表管理进而影响用户体验的问题。In view of this, embodiments of the present application provide a method for managing prohibited PLMNs by storing the prohibited PLMN list and timer-related information for managing the prohibited PLMN list in the same storage unit. In this way, for a terminal device, , either obtain the prohibited PLMN list and timer-related information at the same time, or obtain neither, which is helpful to avoid obtaining only one of the prohibited PLMN list and timer-related information, resulting in the inability to manage the prohibited PLMN list and thus affecting users. A matter of experience.
本申请实施例还提供的一种关联禁止PLMN的方法,终端设备可以在SIM卡中存在禁止PLMN列表并且禁止PLMN不为空的情况下,开启定时器,通该定时器管理禁止PLMN列表,有利于避免定时器运行期间更换SIM卡,导致禁止PLMN永久保留在禁止PLMN列表的问题。Embodiments of the present application also provide a method for associating prohibited PLMNs. When the terminal device has a prohibited PLMN list in the SIM card and the prohibited PLMN is not empty, it can start a timer and manage the prohibited PLMN list through the timer. This is helpful to avoid the problem of changing the SIM card while the timer is running, causing the banned PLMN to permanently remain in the banned PLMN list.
为便于理解本申请实施例的技术方案,以下通过具体实施例详述本申请的技术方案。以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。本申请实施例包括以下内容中的至少部分内容。In order to facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all fall within the protection scope of the embodiments of the present application. The embodiments of this application include at least part of the following contents.
图4是根据本申请实施例的管理禁止公共陆地移动网络PLMN的方法200的示意性流程图。该方法200可以应用于第一终端,该第一终端可以为图1所示通信系统中的终端设备120,具体实现参考图1所示实施例的相关说明,为了简洁,这里不再赘述。Figure 4 is a schematic flowchart of a method 200 for managing a prohibited public land mobile network PLMN according to an embodiment of the present application. The method 200 can be applied to the first terminal, which can be the terminal device 120 in the communication system shown in Figure 1. For specific implementation, refer to the relevant description of the embodiment shown in Figure 1. For the sake of brevity, details will not be described here.
在该方法200中,第一终端可以将禁止PLMN列表和用于管理禁止PLMN列表中的PLMN的定时器相关信息存储在同一存储单元中。例如,都存储在第一终端的存储单元中,或者,都存储在第一终端的SIM卡的存储单元中。这样,第一终端要么同时获得该禁止PLMN列表和定时器相关信息,或者,二者都不能获得,有利于实现对禁止PLMN的有效管理。In the method 200, the first terminal may store the prohibited PLMN list and timer related information for managing PLMNs in the prohibited PLMN list in the same storage unit. For example, they are all stored in the storage unit of the first terminal, or they are all stored in the storage unit of the SIM card of the first terminal. In this way, the first terminal either obtains the prohibited PLMN list and timer related information at the same time, or cannot obtain both, which is beneficial to realizing effective management of prohibited PLMNs.
应理解,本申请实施例并不限定PLMN被禁止或者添加到禁止PLMN列表的判断条件以及定时器的开启条件,例如可以是在接收到网络设备下发的拒绝原因#11或#35时,将PLMN添加到禁止PLMN列表并开启定时器,也可以是第一终端根据应用场景自主确定将PLMN添加到禁止PLMN列表并开启定时器,还可以是基于标准演进中引入的其他条件将PLMN添加到禁止PLMN列表和开启定时器,本申请对此不作限定。It should be understood that the embodiments of this application do not limit the conditions for determining whether a PLMN is banned or added to the banned PLMN list and the conditions for starting the timer. For example, it may be that when rejection reason #11 or #35 issued by the network device is received, The PLMN is added to the prohibited PLMN list and the timer is started, or the first terminal can independently determine to add the PLMN to the prohibited PLMN list and start the timer according to the application scenario, or the PLMN can be added to the prohibited PLMN based on other conditions introduced in the standard evolution. PLMN list and start timer, this application does not limit this.
以下仅以在接收到网络设备下发的拒绝原因#11或#35时,将PLMN添加到禁止PLMN列表并开启定时器为例进行说明,需要说明的是,其它将PLMN添加到禁止PLMN列表的判断条件以及开启定时器的开启条件同样适用于本申请实施例所提供的技术方案。The following is only an example of adding a PLMN to the prohibited PLMN list and starting the timer when receiving the rejection reason #11 or #35 issued by the network device. It should be noted that other methods of adding a PLMN to the prohibited PLMN list The judgment conditions and the conditions for starting the timer are also applicable to the technical solutions provided by the embodiments of this application.
本申请实施例中,第一终端为允许使用定时器管理禁止PLMN的终端。在一些实施例中,第一终端被配置为允许使用定时器管理禁止PLMN。In this embodiment of the present application, the first terminal is a terminal that is allowed to use timer management to disable PLMN. In some embodiments, the first terminal is configured to allow barring the PLMN using timer management.
在一些实施例中,第一终端被配置为允许使用定时器管理禁止PLMN,可以包括:In some embodiments, the first terminal is configured to allow the use of timer management to ban the PLMN, which may include:
第一终端的SIM卡的配置文件(例如EF_FPLMN)中的Timer T3245Behaviour value被配置为1,或者,The Timer T3245Behaviour value in the configuration file of the SIM card of the first terminal (such as EF_FPLMN) is configured as 1, or,
第一终端的存储单元的配置文件中的Timer T3245Behaviour value被配置为1。The Timer T3245Behaviour value in the configuration file of the storage unit of the first terminal is configured as 1.
如图4所示,该方法200包括如下至少部分内容:As shown in Figure 4, the method 200 includes at least part of the following content:
S210,在第一PLMN添加到禁止PLMN列表的情况下,开启第一定时器。S210: When the first PLMN is added to the prohibited PLMN list, start the first timer.
在本申请实施例中,第一PLMN可以是满足被禁止或者添加到禁止PLMN列表的判断条件的任意PLMN,本申请实施例对此并不多做限制。In the embodiment of the present application, the first PLMN may be any PLMN that meets the judgment conditions of being banned or added to the banned PLMN list, and the embodiment of the present application does not place any restrictions on this.
S220,在发生第一事件的情况下,存储第一定时器相关信息。S220: When the first event occurs, store the first timer related information.
在一些实施例中,禁止PLMN列表和第一定时器相关信息存储在同一存储单元中。In some embodiments, the prohibited PLMN list and the first timer related information are stored in the same storage unit.
在一些实施例中,该同一存储单元为第一终端中的存储单元或者第一终端的SIM中的存储单元。In some embodiments, the same storage unit is a storage unit in the first terminal or a storage unit in the SIM of the first terminal.
在一些实施例中,第一终端中的存储单元可以是第一终端中的易失性存储器(Volatile Memory,VM)或非易失性存储器(Non-Volatile Memory,NVM)。In some embodiments, the storage unit in the first terminal may be a volatile memory (Volatile Memory, VM) or a non-volatile memory (Non-Volatile Memory, NVM) in the first terminal.
在一些实施例中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。In some embodiments, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM). ), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
在一些实施例中,易失性存储器可以是随机存取存储器(Random Access Memory,RAM)、本地数据库等关机即清除的存储单元。In some embodiments, the volatile memory may be a random access memory (Random Access Memory, RAM), a local database, or other storage units that are cleared upon shutdown.
在一些实施例中,第一定时器相关信息包括以下中的至少一种:In some embodiments, the first timer related information includes at least one of the following:
第一定时器的剩余时长信息,第一定时器的总时长信息,第一定时器的开始时间信息,发生第一事件的时间信息,发生第一事件时第一定时器的运行状态信息。The remaining duration information of the first timer, the total duration information of the first timer, the start time information of the first timer, the time information when the first event occurs, and the running status information of the first timer when the first event occurs.
这里的第一定时器的剩余时长信息可以理解为发生第一事件时第一定时器的剩余时长信息。The remaining duration information of the first timer here can be understood as the remaining duration information of the first timer when the first event occurs.
需要说明的是,第一定时器相关信息可以是在第一定时器开启之后实时记录的,或者,也可以在特定条件下记录的,不同类型的相关信息可以有不同的记录节点,本申请并不限定第一定时器相关信息的记录节点。It should be noted that the first timer related information can be recorded in real time after the first timer is started, or can also be recorded under specific conditions. Different types of related information can have different recording nodes. This application does not The recording node of the first timer-related information is not limited.
还需要说明的是,第一定时器相关信息中的各个信息可以是在同一时间节点记录的,或者,也可以是在不同的时间节点记录的,本申请对此不作限定。例如,第一定时器的开始时间信息可以是第一定时器开始时记录的,第一定时器的剩余时长信息可以是在第一终端的SIM卡失效的情况下记录的。It should also be noted that each information in the first timer related information may be recorded at the same time node, or may be recorded at different time nodes, which is not limited in this application. For example, the start time information of the first timer may be recorded when the first timer starts, and the remaining duration information of the first timer may be recorded when the SIM card of the first terminal fails.
应理解,本申请实施例中的定时器或称T3245定时器,扩展T3245定时器,PLMN禁止定时器,或者,也可以为定义为其他型号的定时器,本申请对此不作限定。It should be understood that the timer in the embodiment of this application may be called a T3245 timer, an extended T3245 timer, a PLMN prohibition timer, or may be a timer defined as other types, which is not limited in this application.
在一些实施例中,第一定时器用于在超时的情况下触发解禁PLMN列表中的目标PLMN,或者说,第一定时器用于确定禁止PLMN列表中的目标PLMN的解禁时间。In some embodiments, the first timer is used to trigger the unblocking of the target PLMN in the PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list.
例如,在第一定时器超时的情况下,将目标PLMN从禁止PLMN列表中删除,也即在第一定时器超时的情况下,目标PLMN解禁。For example, when the first timer times out, the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
应理解,在本申请实施例中,第一定时器超时也可以表述为:第一定时器到期,第一定时器失效。也就是说,第一终端可以基于第一定时器的超时(或到期,或失效),从禁止PLMN列表中删除目标PLMN。It should be understood that in the embodiment of the present application, the timeout of the first timer can also be expressed as: the first timer expires and the first timer becomes invalid. That is to say, the first terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the first timer.
在一些实施例中,目标PLMN仅包括第一PLMN。则在第一定时器超时时,仅解禁第一PLMN,或者说,仅将第一PLMN从禁止PLMN列表中删除。In some embodiments, the target PLMN only includes the first PLMN. Then, when the first timer times out, only the first PLMN is unbanned, or in other words, only the first PLMN is deleted from the banned PLMN list.
此情况下,基于定时器可以实现精准的禁止PLMN的管理,有利于提升终端设备的智能程度和用户体验。In this case, timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
在另一些实施例中,目标PLMN包括所述禁止PLMN列表中的所有PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的所有PLMN,或者说,删除禁止PLMN列表中的所有PLMN。此情况下,基于定时器可以实现所有禁止PLMN的管理,有利于降低终端的实现复杂度。In other embodiments, the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
在又一些实施例中,目标PLMN包括所述禁止PLMN列表中的多个PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的该多个PLMN,或者说,删除禁止PLMN列表中的该多个PLMN。此情况下,基于定时器可以实现禁止PLMN组的管理,一方面可以提升终端设备的智能程度和用户 体验,另一方面有利于降低终端的实现复杂度。In still other embodiments, the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted. In this case, the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
在一些实施例中,第一事件可以包括导致第一终端的SIM卡失效的任意事件(简称失效事件),或者,也可以包括触发第一定时器开启的事件,第一定时器的开启事件等,本申请对此不作限定。In some embodiments, the first event may include any event that causes the SIM card of the first terminal to fail (referred to as a failure event), or may also include an event that triggers the start of the first timer, a start event of the first timer, etc. , this application does not limit this.
示例性地,第一终端的SIM卡失效事件可以包括以下事件中的至少一种:For example, the SIM card failure event of the first terminal may include at least one of the following events:
第一终端关机,第一终端的SIM卡被拔出,第一终端的SIM卡下电(或者说,第一终端的SIM卡被去使能)。The first terminal is powered off, the SIM card of the first terminal is pulled out, and the SIM card of the first terminal is powered off (or in other words, the SIM card of the first terminal is deactivated).
在一些实施例中,第一终端的SIM卡下电可以包括第一终端的SIM卡被禁用,例如用户手动设置禁用SIM卡。In some embodiments, powering off the SIM card of the first terminal may include disabling the SIM card of the first terminal, for example, the user manually sets the SIM card to be disabled.
示例性的,第一事件可以包括以下事件中的至少一种:For example, the first event may include at least one of the following events:
第一终端关机,第一终端的SIM卡被拔出,第一终端的SIM卡下电,第一PLMN被禁止(例如接收到网络设备的针对第一PLMN的拒绝原因#11或#35),第一定时器开启。The first terminal is powered off, the SIM card of the first terminal is pulled out, the SIM card of the first terminal is powered off, and the first PLMN is disabled (for example, rejection reason #11 or #35 for the first PLMN is received from the network device), The first timer starts.
在一些实施例中,在发生SIM卡失效事件时,第一终端可以在第一终端的存储单元中存储第一定时器相关信息。这样,在SIM卡重新生效时,第一终端可以使用存储的第一定时器相关信息继续管理禁止PLMN列表中的目标PLMN。或者,当SIM卡被拔出插入其他终端时,由于禁止PLMN列表和定时器相关信息是存储在第一终端的存储单元中的,所以,不会存在其他终端无法向禁止PLMN列表中的某一PLMN发起注册的问题。In some embodiments, when a SIM card failure event occurs, the first terminal may store the first timer related information in the storage unit of the first terminal. In this way, when the SIM card is revalidated, the first terminal can use the stored first timer related information to continue to manage the target PLMN in the prohibited PLMN list. Or, when the SIM card is pulled out and inserted into another terminal, since the prohibited PLMN list and timer related information are stored in the storage unit of the first terminal, there will be no situation where other terminals cannot request a certain PLMN in the prohibited PLMN list. PLMN initiated registration issue.
可选地,在发生SIM卡失效事件的情况下,第一终端可以存储第一定时器的剩余时长信息,第一定时器的总时长信息,第一定时器的开始时间信息、发生SIM卡失效事件的时间信息和第一定时器的运行状态信息中的至少一个。Optionally, when a SIM card failure event occurs, the first terminal may store the remaining duration information of the first timer, the total duration information of the first timer, the start time information of the first timer, and the SIM card failure event. At least one of time information of the event and running status information of the first timer.
例如,在第一终端关机时,在关机过程中,第一终端可以存储第一定时器的剩余时长信息,第一定时器的总时长信息,第一定时器的开始时间信息和关机事件的发生时间信息中的至少一个。For example, when the first terminal is shut down, during the shutdown process, the first terminal can store the remaining duration information of the first timer, the total duration information of the first timer, the start time information of the first timer and the occurrence of the shutdown event. At least one of the time information.
可选地,关机事件的发生时间信息可以指关机过程中的任意时间,或者,也可以指关机过程中,停止向第一终端或SIM的存储单元写数据之前的任一时间信息。Optionally, the occurrence time information of the shutdown event may refer to any time during the shutdown process, or may also refer to any time information before stopping writing data to the storage unit of the first terminal or SIM during the shutdown process.
又例如,在第一终端的SIM卡被拔出时,在SIM卡被拔出后,第一终端可以存储第一终端的SIM卡被拔出的时间信息,第一定时器的剩余时长信息,第一定时器的总时长信息和第一定时器的开始时间信息中的至少一个。For another example, when the SIM card of the first terminal is pulled out, after the SIM card is pulled out, the first terminal can store the time information when the SIM card of the first terminal is pulled out, and the remaining time information of the first timer, At least one of the total duration information of the first timer and the start time information of the first timer.
再例如,在第一终端的SIM卡下电后,第一终端可以存储第一终端的SIM卡下电的时间信息,第一定时器的剩余时长信息,第一定时器的总时长信息和第一定时器的开始时间信息中的至少一个。For another example, after the SIM card of the first terminal is powered off, the first terminal may store the time information of the SIM card of the first terminal being powered off, the remaining duration information of the first timer, the total duration information of the first timer and the first timer. At least one of the start time information of a timer.
可选地,在发生SIM卡失效事件并且在发生SIM卡失效事件时第一定时器处于运行状态的情况下,第一终端可以在第一终端的存储单元中存储第一定时器相关信息。或者,若发生SIM卡失效事件时第一定时器已超时,第一终端可以不存储第一定时器相关信息。Optionally, when a SIM card failure event occurs and the first timer is in a running state when the SIM card failure event occurs, the first terminal may store the first timer related information in the storage unit of the first terminal. Alternatively, if the first timer has expired when the SIM card failure event occurs, the first terminal may not store the first timer related information.
可选地,在第一PLMN被禁止或第一定时器开启的情况下,第一终端可以存储第一定时器的总时长信息,第一定时器的开始时间信息和发生第一PLMN被禁止事件的时间信息中的至少一个。Optionally, when the first PLMN is prohibited or the first timer is turned on, the first terminal may store the total duration information of the first timer, the start time information of the first timer and the occurrence of the first PLMN being prohibited event. at least one of the time information.
例如,第一终端接收到网络设备对第一PLMN的拒绝消息(例如,携带拒绝原因11#或35#)时,确定第一PLMN被禁止(或者说,第一PLMN被视为禁止PLMN),进一步地,将第一PLMN添加到禁止PLMN列表,并启动第一定时器,此情况下,第一终端可以存储发生第一PLMN被禁止事件的时间信息(例如接收到拒绝消息的时间信息,或者,第一PLMN添加到禁止PLMN列表的时间信息)、第一定时器的开始时间信息和第一定时器的总时长信息中的至少之一。For example, when the first terminal receives a rejection message from the network device for the first PLMN (for example, carrying rejection reason 11# or 35#), it determines that the first PLMN is prohibited (or in other words, the first PLMN is regarded as a prohibited PLMN), Further, the first PLMN is added to the prohibited PLMN list and the first timer is started. In this case, the first terminal can store time information when the first PLMN is prohibited event occurs (for example, time information when the rejection message is received, or , at least one of time information added by the first PLMN to the prohibited PLMN list), start time information of the first timer, and total duration information of the first timer.
在一些实施例中,在第一PLMN被禁止或第一定时器开启的情况下,第一终端可以在第一终端的SIM卡的存储单元中存储第一定时器相关信息。这样,在SIM卡插入其他终端时,其他终端可以使用SIM卡中存储的第一定时器相关信息继续管理禁止PLMN列表中的目标PLMN,有利于避免丢失定时器相关信息导致的PLMN无法解禁的问题。In some embodiments, when the first PLMN is disabled or the first timer is enabled, the first terminal may store the first timer related information in the storage unit of the SIM card of the first terminal. In this way, when the SIM card is inserted into other terminals, other terminals can use the first timer-related information stored in the SIM card to continue to manage the target PLMN in the banned PLMN list, which is helpful to avoid the problem of the PLMN being unable to unban due to the loss of timer-related information. .
在一些场景中,第一终端上可能发生第二事件,该第二事件可以指任意可能触发读取SIM行为的事件,或者说,第二事件可以是SIM卡生效事件,例如第一终端开机,第一终端上插入SIM卡,或者,第一终端的SIM卡上电(或者说,第一终端的SIM卡被使能)被使能等,本申请对此不作限定。In some scenarios, a second event may occur on the first terminal. The second event may refer to any event that may trigger the behavior of reading the SIM. In other words, the second event may be a SIM card validation event, such as the first terminal turning on. The SIM card is inserted into the first terminal, or the SIM card of the first terminal is powered on (or in other words, the SIM card of the first terminal is enabled), etc. This application does not limit this.
在一些实施例中,第一终端的SIM卡上电可以包括在第一终端的SIM卡被禁用的情况下,被重新启用,例如用户手动设置启用SIM卡。In some embodiments, powering on the SIM card of the first terminal may include re-enabling the SIM card of the first terminal if it is disabled, for example, the user manually sets and enables the SIM card.
在一些实施例中,在第一终端上发生第二事件的情况下,第一终端可以确定SIM卡是否发生变更,即是否换卡,由于不同的SIM卡对应不同的权限,在换卡的情况下,可以认为第一终端上存储的禁止PLMN列表和第一定时器相关信息不适用于变更后的SIM卡,或者,在未换卡的情况下,可以认为第一终端上存储的禁止PLMN列表和第一定时器相关信息可以继续使用。In some embodiments, when the second event occurs on the first terminal, the first terminal can determine whether the SIM card has changed, that is, whether to change the card. Since different SIM cards correspond to different permissions, in the case of changing the card In this case, it can be considered that the prohibited PLMN list and first timer related information stored on the first terminal are not applicable to the changed SIM card, or, if the card is not changed, it can be considered that the prohibited PLMN list stored on the first terminal is not applicable to the changed SIM card. Information related to the first timer can continue to be used.
在本申请一些实施例中,禁止PLMN列表和第一定时器相关信息存储在第一终端的存储单元中,所述方法200还包括:In some embodiments of the present application, the prohibited PLMN list and first timer related information are stored in the storage unit of the first terminal, and the method 200 further includes:
在第一终端的SIM卡发生变更的情况下,删除第一终端中的禁止PLMN列表和第一定时器相关信息;或者If the SIM card of the first terminal is changed, delete the prohibited PLMN list and first timer related information in the first terminal; or
在第一终端的SIM卡未发生变更的情况下,根据第一定时器相关信息,管理禁止PLMN列表中的目标PLMN。When the SIM card of the first terminal is not changed, the target PLMN in the prohibited PLMN list is managed according to the first timer related information.
在一些实施例中,根据第一定时器相关信息,管理禁止PLMN列表中的目标PLMN,可以包括:In some embodiments, managing the target PLMN in the prohibited PLMN list according to the first timer related information may include:
根据第一定时器相关信息,确定是否删除(或者说,是否解禁)禁止PLMN列表中的目标PLMN,和/或,确定删除禁止PLMN列表中的目标PLMN的时间,即解禁目标PLMN的时间。According to the first timer related information, it is determined whether to delete (or in other words, whether to unban) the target PLMN in the banned PLMN list, and/or, determine the time to delete the target PLMN in the banned PLMN list, that is, the time to unban the target PLMN.
在一些实施例中,根据第一定时器相关信息,管理禁止PLMN列表中的目标PLMN,可以包括:In some embodiments, managing the target PLMN in the prohibited PLMN list according to the first timer related information may include:
根据第一定时器相关信息,确定第一定时器是否超时;Determine whether the first timer has timed out based on the information related to the first timer;
根据第一定时器是否超时,确定是否删除禁止PLMN列表中的目标PLMN。Depending on whether the first timer times out, it is determined whether to delete the target PLMN in the prohibited PLMN list.
例如,在第一定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。For example, in the event that the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
又例如,在第一定时器未超时的情况下,启动第二定时器,在第二定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。也就是说,第一终端可以基于第二定时器的超时(或到期,或失效),从禁止PLMN列表中删除目标PLMN。For another example, if the first timer does not time out, the second timer is started, and if the second timer times out, the target PLMN in the prohibited PLMN list is deleted. That is to say, the first terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the second timer.
在一些实施例中,第一定时器相关信息包括发生第一事件时第一定时器的运行状态信息,若发生第一事件时第一定时器还在运行,此情况下,第一终端根据第一定时器相关信息中的时间信息确定第一定时器是否超时。In some embodiments, the first timer related information includes the running status information of the first timer when the first event occurs. If the first timer is still running when the first event occurs, in this case, the first terminal The time information in the timer-related information determines whether the first timer times out.
以下结合具体示例,说明第二定时器的时长的设置方式以及第一定时器是否超时的判断方式。The following describes how to set the duration of the second timer and how to determine whether the first timer times out with reference to specific examples.
方式1:第二定时器的时长设置为第一定时器的剩余时长和第一时长的差值,第一时长为第一事件的发生时间到第二事件的发生时间所间隔的时长,或者,第一时长为第一事件的发生时间到当前时间所间隔的时长。Method 1: The duration of the second timer is set to the difference between the remaining duration of the first timer and the first duration, and the first duration is the duration between the occurrence time of the first event and the occurrence time of the second event, or, The first duration is the duration between the occurrence time of the first event and the current time.
可选地,这里的第一事件可以是SIM卡失效事件,第二事件可以是SIM卡生效事件。Optionally, the first event here may be a SIM card invalidation event, and the second event may be a SIM card validation event.
在一些实施例中,发生SIM卡失效事件时,第一终端可以存储第一定时器的剩余时长信息,到SIM卡重新生效时,经历了第一时长,则第一定时器的剩余时长和第一时长的差值可以理解为第一定时器的实际剩余时长。在SIM卡重新生效后,继续基于第一定时器的实际剩余时长管理目标PLMN,一方面保证第一终端在目标PLMN被禁止的时间段内继续不能向目标PLMN发起注册,另一方面,保证第一终端在该时间段之后,可以向目标PLMN发起注册,不影响网络设备对不同用户的差异化管理策略。In some embodiments, when a SIM card failure event occurs, the first terminal may store the remaining duration information of the first timer. When the SIM card is revalidated and the first duration has elapsed, the remaining duration of the first timer and the The difference in duration can be understood as the actual remaining duration of the first timer. After the SIM card is re-validated, continue to manage the target PLMN based on the actual remaining time of the first timer. On the one hand, it ensures that the first terminal continues to be unable to initiate registration with the target PLMN during the period when the target PLMN is prohibited. On the other hand, it ensures that the first terminal After this time period, a terminal can initiate registration with the target PLMN without affecting the differentiated management strategies of network equipment for different users.
在一些场景中,第一事件是第一终端关机,第二事件是第一终端开机,则第一时长可以是第一终端的关机时间到第一终端的开机时间所经历的时长。In some scenarios, the first event is the shutdown of the first terminal, and the second event is the startup of the first terminal, then the first duration may be the duration from the shutdown time of the first terminal to the startup time of the first terminal.
可选地,第一终端的关机时间可以指第一终端关机过程中的任意时间,或者,也可以指关机过程中在第一终端停止向该第一终端或SIM卡的存储单元写数据之前的任一时间。Optionally, the shutdown time of the first terminal may refer to any time during the shutdown process of the first terminal, or may also refer to the time during the shutdown process before the first terminal stops writing data to the storage unit of the first terminal or the SIM card. Any time.
可选地,第一终端的开机时间可以指第一终端开机过程中的任意时间,或者,也可以指开机过程中在第一终端能够读取该第一终端或SIM卡的存储单元的数据之后的任一时间,或者,第一终端能够向该第一终端或SIM卡的存储单元中写数据之后的任一时间。Optionally, the power-on time of the first terminal may refer to any time during the power-on process of the first terminal, or may also refer to after the first terminal is able to read the data of the storage unit of the first terminal or the SIM card during the power-on process. Any time, or any time after the first terminal is able to write data to the storage unit of the first terminal or SIM card.
在另一些场景中,第一事件是第一终端的SIM卡被拔出,第二事件是第一终端上插入SIM卡,则第一时长可以是第一终端的SIM卡被拔出的时间到第一终端上插入SIM卡的时间所经历的时长。In other scenarios, the first event is that the SIM card of the first terminal is pulled out, and the second event is that the SIM card is inserted into the first terminal, then the first duration may be the time when the SIM card of the first terminal is pulled out. The time elapsed since the SIM card was inserted into the first terminal.
在一些实施例中,当前时间可以指第一终端计算第二定时器的时长时的系统时间。In some embodiments, the current time may refer to the system time when the first terminal calculates the duration of the second timer.
方式2:第二定时器的时长设置为第一定时器的总时长和第二时长的差值,其中,第二时长为第一定时器的开始时间到第二时间的间隔时长,第二时间为当前时间或第二事件的发生时间。Method 2: The duration of the second timer is set to the difference between the total duration of the first timer and the second duration, where the second duration is the interval from the start time of the first timer to the second time, and the second time It is the current time or the occurrence time of the second event.
在一些实施例中,在第一PLMN被禁止或第一定时器启动的情况下,第一终端可以存储第一定时器的开始时间信息,到发生第二事件时,经历了第二时长,则第一定时器的总时长和第二时长的差值可以理解为第一定时器的实际剩余时长。在发生第二事件后,继续基于第一定时器的实际剩余时长管理目标PLMN,一方面保证第一终端在目标PLMN被禁止的时间段内继续不能向目标PLMN发起注册,另一方面,保证第一终端在该时间段之后,可以向目标PLMN发起注册,不影响网络设备对不同用户的差异化管理策略。In some embodiments, when the first PLMN is disabled or the first timer is started, the first terminal may store the start time information of the first timer. When the second event occurs and the second duration has elapsed, then The difference between the total duration of the first timer and the second duration can be understood as the actual remaining duration of the first timer. After the second event occurs, continue to manage the target PLMN based on the actual remaining duration of the first timer. On the one hand, it ensures that the first terminal continues to be unable to initiate registration with the target PLMN during the time period when the target PLMN is prohibited. On the other hand, it ensures that the first terminal After this time period, a terminal can initiate registration with the target PLMN without affecting the differentiated management strategies of network equipment for different users.
在一些实施例中,当前时间可以指第一终端计算第二定时器的时长时的系统时间。In some embodiments, the current time may refer to the system time when the first terminal calculates the duration of the second timer.
应理解,在本申请实施例中,第一定时器的总时长信息可以是存储在第一终端的存储单元中的,或者,在第一终端的存储单元中未存储第一定时器的总时长信息时,第一定时器的总时长信息可以是第一终端自行选择的,或者,预定义值,或者,默认值。It should be understood that in this embodiment of the present application, the total duration information of the first timer may be stored in the storage unit of the first terminal, or the total duration of the first timer may not be stored in the storage unit of the first terminal. When providing information, the total duration information of the first timer may be selected by the first terminal, or may be a predefined value, or a default value.
在一些实施例中,第一定时器的总时长可也可以是根据管理的目标PLMN确定的,例如,用于管理不同PLMN的定时器可以设置为不同的总时长,能够实现精细的定时器时长调整。In some embodiments, the total duration of the first timer may also be determined based on the managed target PLMN. For example, timers used to manage different PLMNs may be set to different total durations, enabling precise timer durations to be achieved. Adjustment.
在一些实施例中,第一终端可以根据发生第一事件到发生第二事件所经历的时长(即第一时长)和第一定时器的剩余时长确定第一定时器是否超时,即第一定时器的实际剩余时长是否大于零。In some embodiments, the first terminal may determine whether the first timer has timed out based on the time elapsed from the occurrence of the first event to the occurrence of the second event (ie, the first time length) and the remaining time length of the first timer. Whether the actual remaining time of the device is greater than zero.
例如,若第一定时器的剩余时长小于或等于第一时长(即第一定时器的实际剩余时长小于等于0),确定第一定时器超时。For example, if the remaining time of the first timer is less than or equal to the first time (that is, the actual remaining time of the first timer is less than or equal to 0), it is determined that the first timer has timed out.
又例如,若第一定时器的剩余时长大于第一时长(即第一定时器的实际剩余时长大于0),确定第一定时器未超时。For another example, if the remaining time of the first timer is greater than the first time (that is, the actual remaining time of the first timer is greater than 0), it is determined that the first timer has not timed out.
在另一些实施例中,第一终端可以根据第一定时器的开始时间和第二时间(即当前时间或第二事件的发生时间)确定第一定时器是否超时。In other embodiments, the first terminal may determine whether the first timer times out based on the start time of the first timer and the second time (ie, the current time or the occurrence time of the second event).
例如,若第一定时器的开始时间到第二时间的间隔时长大于或等于第一定时器的总时长,确定第一定时器超时。For example, if the interval between the start time of the first timer and the second time is greater than or equal to the total duration of the first timer, it is determined that the first timer has timed out.
又例如,若第一定时器的开始时间到第二时间的间隔时长小于第一定时器的总时长,确定第一定时器未超时。For another example, if the interval between the start time of the first timer and the second time is less than the total duration of the first timer, it is determined that the first timer has not timed out.
综上,在本申请实施例中,第一终端可以将禁止PLMN列表和用于管理禁止PLMN列表中的PLMN的定时器相关信息存储在同一存储单元中,都存储在第一终端的存储单元中,或者,都存储在第一终端的SIM卡的存储单元中,有利于避免定时器运行期间更换SIM卡,导致禁止PLMN永久保留在禁止PLMN列表的问题。To sum up, in the embodiment of the present application, the first terminal can store the prohibited PLMN list and the timer-related information used to manage the PLMNs in the prohibited PLMN list in the same storage unit, and both are stored in the storage unit of the first terminal. , or, are stored in the storage unit of the SIM card of the first terminal, which is beneficial to avoid the problem that the SIM card is replaced during the running of the timer, resulting in the prohibited PLMN permanently remaining in the prohibited PLMN list.
上文结合图4,从第一终端的角度详细描述了根据本申请实施例的管理禁止公共陆地移动网络PLMN的方法,下文结合图5,从第二终端的角度详细描述根据本申请另一实施例的管理禁止公共陆地移动网络PLMN的方法。The method for managing a prohibited public land mobile network PLMN according to an embodiment of the present application is described in detail above with reference to Figure 4 from the perspective of the first terminal. Hereinafter, another implementation of the present application is described in detail from the perspective of the second terminal with reference to Figure 5 Examples of methods for managing prohibited public land mobile networks, PLMN.
图5是根据本申请另一实施例的管理禁止公共陆地移动网络PLMN的方法300的示意性流程图。该方法300应用于第二终端,该第二终端可以为图1所示通信系统中的终端设备120,具体实现参考图1所示实施例的相关说明,为了简洁,这里不再赘述。Figure 5 is a schematic flowchart of a method 300 for managing a prohibited public land mobile network PLMN according to another embodiment of the present application. The method 300 is applied to the second terminal, which may be the terminal device 120 in the communication system shown in Figure 1. For specific implementation, please refer to the relevant description of the embodiment shown in Figure 1. For the sake of brevity, details will not be described here.
在该方法300中,第二终端可以从同一存储单元中获取禁止PLMN列表和用于管理禁止PLMN列表中的PLMN的定时器相关信息,进一步地,基于该定时器相关信息管理禁止PLMN列表。In the method 300, the second terminal may obtain the prohibited PLMN list and timer related information for managing PLMNs in the prohibited PLMN list from the same storage unit, and further manage the prohibited PLMN list based on the timer related information.
如图5所示,该方法300包括如下至少部分内容:As shown in Figure 5, the method 300 includes at least part of the following content:
S310,在发生第二事件的情况下,获取禁止PLMN列表和第一定时器相关信息,其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中;S310. When the second event occurs, obtain the prohibited PLMN list and the first timer related information, where the prohibited PLMN list and the first timer related information are stored in the same storage unit;
S320,根据第一定时器相关信息,管理禁止PLMN列表中的第一PLMN。S320: Manage the first PLMN in the prohibited PLMN list according to the first timer related information.
在一些实施例中,禁止PLMN列表和第一定时器相关信息存储在第二终端的SIM卡中。即所述同一存储单元可以为第二终端的SIM卡中的存储单元。例如,第一终端在发生第一事件的情况下将禁止PLMN列表和第一定时器相关信息存储在SIM卡中,该SIM插入第二终端后,第二终端便可以从该SIM卡中读取禁止PLMN列表和第一定时器相关信息。又例如,第二终端在发生第一事件的情况下将禁止PLMN列表和第一定时器相关信息存储在SIM卡中,第二终端在发生第二事件的情况下便可以从该SIM卡中读取禁止PLMN列表和第一定时器相关信息。In some embodiments, the prohibited PLMN list and the first timer related information are stored in the SIM card of the second terminal. That is, the same storage unit may be a storage unit in the SIM card of the second terminal. For example, when the first event occurs, the first terminal stores the prohibited PLMN list and the first timer related information in the SIM card. After the SIM is inserted into the second terminal, the second terminal can read it from the SIM card. Disable PLMN list and first timer related information. For another example, when the first event occurs, the second terminal stores the prohibited PLMN list and the first timer related information in the SIM card, and when the second event occurs, the second terminal can read it from the SIM card. Get the prohibited PLMN list and first timer related information.
在一些实施例中,禁止PLMN列表和第一定时器相关信息存储在第二终端的存储单元中。即所述同一存储单元可以为第二终端的存储单元。例如,第二终端在关机时(发生第一事件的情况下)将禁止PLMN列表和第一定时器相关信息存储在第二终端的存储单元中,第二终端在开机时(发生第二事件的情况下)便可以从该存储单元中读取禁止PLMN列表和第一定时器相关信息。In some embodiments, the prohibited PLMN list and the first timer related information are stored in the storage unit of the second terminal. That is, the same storage unit may be the storage unit of the second terminal. For example, when the second terminal is powered off (when the first event occurs), the prohibited PLMN list and first timer related information are stored in the storage unit of the second terminal, and when the second terminal is powered on (when the second event occurs) In this case), the prohibited PLMN list and first timer related information can be read from the storage unit.
在一些实施例中,S320包括:In some embodiments, S320 includes:
根据所述第一定时器相关信息,管理所述禁止PLMN列表中的目标PLMN,其中,目标PLMN包括第一PLMN。The target PLMN in the prohibited PLMN list is managed according to the first timer related information, where the target PLMN includes the first PLMN.
在一些实施例中,第一定时器用于在超时的情况下触发解禁PLMN列表中的目标PLMN,或者说,第一定时器用于确定禁止PLMN列表中的目标PLMN的解禁时间。In some embodiments, the first timer is used to trigger the unblocking of the target PLMN in the PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list.
例如,在第一定时器超时的情况下,将目标PLMN从禁止PLMN列表中删除,也即在第一定时器超时的情况下,目标PLMN解禁。For example, when the first timer times out, the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
应理解,在本申请实施例中,第一定时器超时也可以表述为:第一定时器到期,第一定时器失效。It should be understood that in the embodiment of the present application, the timeout of the first timer can also be expressed as: the first timer expires and the first timer becomes invalid.
在一些实施例中,目标PLMN仅包括第一PLMN。则在第一定时器超时时,仅解禁第一PLMN,或者说,仅将第一PLMN从禁止PLMN列表中删除。In some embodiments, the target PLMN only includes the first PLMN. Then, when the first timer times out, only the first PLMN is unbanned, or in other words, only the first PLMN is deleted from the banned PLMN list.
此情况下,基于定时器可以实现精准的禁止PLMN的管理,有利于提升终端设备的智能程度和用户体验。In this case, timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
在另一些实施例中,目标PLMN包括所述禁止PLMN列表中的所有PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的所有PLMN,或者说,删除禁止PLMN列表中的所有PLMN。此情况下,基于定时器可以实现所有禁止PLMN的管理,有利于降低终端的实现复杂度。In other embodiments, the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
在又一些实施例中,目标PLMN包括所述禁止PLMN列表中的多个PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的该多个PLMN,或者说,删除禁止PLMN列表中的该多个PLMN。此情况下,基于定时器可以实现禁止PLMN组的管理,一方面可以提升终端设备的智能程度和用户体验,另一方面有利于降低终端的实现复杂度。In still other embodiments, the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted. In this case, the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
在一些实施例中,该第二事件可以指任意可能触发读取SIM行为的事件,或者说,第二事件可以是SIM卡生效事件,例如第二终端开机,第二终端上插入SIM卡,或者,第二终端的SIM卡上电(或者说,第二终端的SIM卡被使能)等,本申请对此不作限定。In some embodiments, the second event may refer to any event that may trigger the behavior of reading the SIM, or the second event may be a SIM card validation event, such as the second terminal is powered on, the SIM card is inserted into the second terminal, or , the SIM card of the second terminal is powered on (or in other words, the SIM card of the second terminal is enabled), etc. This application does not limit this.
在一些实施例中,第二终端的SIM卡上电可以包括在第二终端的SIM卡被禁用的情况下,被重新启用,例如用户手动设置启用SIM卡。In some embodiments, powering on the SIM card of the second terminal may include re-enabling the SIM card of the second terminal if it is disabled, for example, the user manually sets the SIM card to be enabled.
本申请实施例中,第二终端为允许使用定时器管理禁止PLMN的终端。在一些实施例中,第二终端被配置为允许使用定时器管理禁止PLMN,可以包括:In this embodiment of the present application, the second terminal is a terminal that is allowed to use timer management to disable PLMN. In some embodiments, the second terminal is configured to allow the use of timer management to ban the PLMN, which may include:
第二终端的SIM卡中的配置文件(例如EF_FPLMN)中的Timer T3245Behaviour value被配置为1,或者,The Timer T3245Behaviour value in the configuration file (such as EF_FPLMN) in the SIM card of the second terminal is configured as 1, or,
第二终端的存储单元中的配置文件中的Timer T3245Behaviour value被配置为1。The Timer T3245Behaviour value in the configuration file in the storage unit of the second terminal is configured as 1.
在一些实施例中,第一定时器相关信息包括以下中的至少一种:In some embodiments, the first timer related information includes at least one of the following:
第一定时器的开始时间信息,第一定时器的总时长信息,第一PLMN被禁止(例如接收到拒绝原因11#或35#的时间信息,或者,第一PLMN添加到禁止PLMN列表的时间信息)的时间信息。The start time information of the first timer, the total duration information of the first timer, the time when the first PLMN is banned (for example, the time information of rejection reason 11# or 35# is received, or the time when the first PLMN is added to the banned PLMN list information) time information.
例如,在第一终端(或第二终端)接收到网络设备对第一PLMN的拒绝消息(例如,携带拒绝原因11#或35#)时,确定第一PLMN被禁止(或者说,第一PLMN被视为禁止PLMN),进一步地,将第一PLMN添加到禁止PLMN列表,并启动第一定时器,此情况下,第一终端(或第二终端)可以存储发生第一PLMN被禁止事件的时间信息(例如接收到拒绝消息的时间信息,或者,第一PLMN添加到禁止PLMN列表的时间信息)、第一定时器的开始时间信息和第一定时器的总时长信息中的至少之一。For example, when the first terminal (or the second terminal) receives a rejection message for the first PLMN from the network device (for example, carrying the rejection reason 11# or 35#), it is determined that the first PLMN is prohibited (or in other words, the first PLMN regarded as a prohibited PLMN), further, add the first PLMN to the prohibited PLMN list, and start the first timer. In this case, the first terminal (or the second terminal) can store the event that the first PLMN is prohibited. At least one of time information (for example, time information when the rejection message is received, or time information when the first PLMN is added to the prohibited PLMN list), start time information of the first timer, and total duration information of the first timer.
在本申请一些实施例中,所述S320可以包括:In some embodiments of this application, the S320 may include:
根据第一定时器相关信息,确定是否删除(或者说,是否解禁)禁止PLMN列表中的目标PLMN,和/或,确定删除禁止PLMN列表中的目标PLMN的时间,即解禁目标PLMN的时间。According to the first timer related information, it is determined whether to delete (or in other words, whether to unban) the target PLMN in the banned PLMN list, and/or, determine the time to delete the target PLMN in the banned PLMN list, that is, the time to unban the target PLMN.
在本申请一些实施例中,所述S320可以包括:In some embodiments of this application, the S320 may include:
根据第一定时器相关信息,确定第一定时器是否超时;Determine whether the first timer has timed out based on the information related to the first timer;
根据第一定时器是否超时,确定是否删除禁止PLMN列表中的目标PLMN。Depending on whether the first timer times out, it is determined whether to delete the target PLMN in the prohibited PLMN list.
例如,在第一定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。For example, in the event that the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
又例如,在第一定时器未超时的情况下,启动第二定时器,在第二定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。For another example, if the first timer does not time out, the second timer is started, and if the second timer times out, the target PLMN in the prohibited PLMN list is deleted.
在一些实施例中,第二终端可以根据第一定时器的总时长和第三时长确定第一定时器是否超时,其中,第三时长是第一定时器的开始时间和第三时间(例如当前时间或第二事件的发生时间)的间隔时长。这里的当前时间可以是第二终端计算第一定时器是否超时时的系统时间。In some embodiments, the second terminal may determine whether the first timer times out based on the total duration of the first timer and a third duration, where the third duration is the start time of the first timer and a third time (such as the current time or the occurrence time of the second event). The current time here may be the system time when the second terminal calculates whether the first timer times out.
在一些场景中,第二事件是第二终端开机,第二终端的开机时间可以指第二终端开机过程中的任意时间,或者,也可以指开机过程中在第二终端能够读取该第二终端的存储单元或SIM的数据之后的任一时间,或者,第一终端能够向该第一终端或SIM卡的存储单元中写数据之后的任一时间。In some scenarios, the second event is that the second terminal is powered on. The booting time of the second terminal can refer to any time during the booting process of the second terminal, or it can also refer to the time when the second terminal can read the second terminal during the booting process. Any time after the data is stored in the storage unit of the terminal or the SIM card, or any time after the first terminal is able to write data to the storage unit of the first terminal or the SIM card.
例如,若第一定时器的总时长小于或等于第三时长,确定第一定时器超时;或者For example, if the total duration of the first timer is less than or equal to the third duration, determine that the first timer has timed out; or
又例如,若第一定时器的总时长大于第三时长,确定第一定时器未超时。For another example, if the total duration of the first timer is greater than the third duration, it is determined that the first timer has not timed out.
在一些实施例中,第二定时器的时长设置为第一定时器的总时长和第三时长的差值。In some embodiments, the duration of the second timer is set to a difference between the total duration of the first timer and the third duration.
应理解,在本申请实施例中,第一定时器的总时长信息可以是存储在第二终端的SIM中的,或者,在第二终端的SIM中未存储第一定时器的总时长信息时,第一定时器的总时长信息可以是第二终端自行选择的,或者,预定义值,或者,默认值。It should be understood that in this embodiment of the present application, the total duration information of the first timer may be stored in the SIM of the second terminal, or when the total duration information of the first timer is not stored in the SIM of the second terminal. , the total duration information of the first timer can be selected by the second terminal, or a predefined value, or a default value.
在一些实施例中,第一定时器的总时长可也可以是根据管理的目标PLMN确定的,例如,用于管理不同PLMN的定时器可以设置为不同的总时长,能够实现精细的定时器时长调整。In some embodiments, the total duration of the first timer may also be determined based on the managed target PLMN. For example, timers used to manage different PLMNs may be set to different total durations, enabling precise timer durations to be achieved. Adjustment.
综上,在本申请一些实施例中,第二终端可以从SIM卡中获取禁止PLMN列表和用于管理禁止PLMN列表中的PLMN的定时器相关信息,进一步基于该定时器相关信息管理禁止PLMN列表,这样,即使在定时器运行期间更换SIM卡,该SIM卡所插入的终端也可以继续基于该定时器相关信息 管理禁止PLMN列表,从而能够避免定时器运行期间更换SIM卡,导致禁止PLMN永久保留在禁止PLMN列表的问题。In summary, in some embodiments of the present application, the second terminal can obtain the prohibited PLMN list and timer related information for managing the PLMNs in the prohibited PLMN list from the SIM card, and further manage the prohibited PLMN list based on the timer related information. In this way, even if the SIM card is replaced while the timer is running, the terminal into which the SIM card is inserted can continue to manage the banned PLMN list based on the timer-related information, thereby avoiding the replacement of the SIM card during the timer running, resulting in the permanent retention of the banned PLMN. On the issue of banned PLMN list.
图6是根据本申请又一实施例的管理禁止公共陆地移动网络PLMN的方法400的示意性流程图。该方法400可以应用于第二终端,该第二终端可以为图1所示通信系统中的终端设备120,具体实现参考图1所示实施例的相关说明,为了简洁,这里不再赘述。Figure 6 is a schematic flowchart of a method 400 for managing a prohibited public land mobile network PLMN according to yet another embodiment of the present application. The method 400 can be applied to the second terminal, which can be the terminal device 120 in the communication system shown in Figure 1. For specific implementation, please refer to the relevant description of the embodiment shown in Figure 1. For the sake of simplicity, details will not be described here.
如图6所示,该方法400包括如下至少部分内容:As shown in Figure 6, the method 400 includes at least part of the following content:
S410,在第二终端的SIM卡发生变更的情况下,启动第一定时器。S410: When the SIM card of the second terminal is changed, start the first timer.
在一些实施例中,第一定时器用于在超时的情况下触发解禁禁止PLMN列表中的目标PLMN,或者说,第一定时器用于确定禁止PLMN列表中的目标PLMN的解禁时间,或者说,第二终端可以基于第一定时器的超时(或到期,或失效),从禁止PLMN列表中删除目标PLMN。In some embodiments, the first timer is used to trigger the unblocking of the target PLMN in the prohibited PLMN list in case of timeout, or in other words, the first timer is used to determine the unblocking time of the target PLMN in the prohibited PLMN list, or in other words, the first timer is used to trigger the unblocking of the target PLMN in the prohibited PLMN list. The second terminal may delete the target PLMN from the prohibited PLMN list based on the timeout (or expiration, or invalidation) of the first timer.
例如,在第一定时器超时的情况下,将目标PLMN从禁止PLMN列表中删除,也即在第一定时器超时的情况下,目标PLMN解禁。For example, when the first timer times out, the target PLMN is deleted from the banned PLMN list, that is, when the first timer times out, the target PLMN is unbanned.
在一些实施例中,第二终端可以在SIM卡发生变更,且第二终端的SIM卡中包括禁止PLMN列表,并且所述禁止PLMN列表中包括至少一个PLMN的情况下,启动第一定时器。可以理解的是,上述第二终端的SIM卡可以是第二终端变更后的SIM卡。In some embodiments, the second terminal may start the first timer when the SIM card of the second terminal is changed and the SIM card of the second terminal includes a prohibited PLMN list, and the prohibited PLMN list includes at least one PLMN. It can be understood that the SIM card of the second terminal may be a changed SIM card of the second terminal.
在一些实施例中,目标PLMN仅包括一个PLMN。则在第一定时器超时时,仅解禁该PLMN,或者说,仅将该PLMN从禁止PLMN列表中删除。此情况下,基于定时器可以实现精准的禁止PLMN的管理,有利于提升终端设备的智能程度和用户体验。In some embodiments, the target PLMN includes only one PLMN. Then, when the first timer times out, only the PLMN is unbanned, or in other words, only the PLMN is deleted from the banned PLMN list. In this case, timer-based management can achieve accurate prohibition of PLMN, which is beneficial to improving the intelligence and user experience of terminal equipment.
在一些实施例中,目标PLMN包括所述禁止PLMN列表中的所有PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的所有PLMN,或者说,删除禁止PLMN列表中的所有PLMN。此情况下,基于定时器可以实现所有禁止PLMN的管理,有利于降低终端的实现复杂度。In some embodiments, the target PLMN includes all PLMNs in the prohibited PLMN list. Then, when the first timer times out, all PLMNs in the prohibited PLMN list are unbanned, or in other words, all PLMNs in the prohibited PLMN list are deleted. In this case, timer-based management of all prohibited PLMNs can be implemented, which is beneficial to reducing the implementation complexity of the terminal.
在一些实施例中,目标PLMN包括所述禁止PLMN列表中的多个PLMN。则在第一定时器超时时,解禁禁止PLMN列表中的该多个PLMN,或者说,删除禁止PLMN列表中的该多个PLMN。此情况下,基于定时器可以实现禁止PLMN组的管理,一方面可以提升终端设备的智能程度和用户体验,另一方面有利于降低终端的实现复杂度。此情况下,基于定时器可以实现禁止PLMN组的管理,一方面可以提升终端设备的智能程度和用户体验,另一方面有利于降低终端的实现复杂度。In some embodiments, the target PLMN includes a plurality of PLMNs in the prohibited PLMN list. Then, when the first timer times out, the multiple PLMNs in the prohibited PLMN list are unbanned, or in other words, the multiple PLMNs in the prohibited PLMN list are deleted. In this case, the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal. In this case, the management of prohibited PLMN groups can be implemented based on timers. On the one hand, it can improve the intelligence and user experience of the terminal equipment, and on the other hand, it can help reduce the implementation complexity of the terminal.
在一些实施例中,第二终端被配置为允许使用定时器管理禁止PLMN。In some embodiments, the second terminal is configured to allow barring the PLMN using timer management.
在一些实施例中,第二终端被配置为允许使用定时器管理禁止PLMN,可以包括:In some embodiments, the second terminal is configured to allow the use of timer management to ban the PLMN, which may include:
第二终端的SIM卡中的配置文件(例如EF_FPLMN)中的Timer T3245Behaviour value被配置为1,或者,The Timer T3245Behaviour value in the configuration file (such as EF_FPLMN) in the SIM card of the second terminal is configured as 1, or,
第二终端的存储单元中的配置文件中的Timer T3245Behaviour value被配置为1。The Timer T3245Behaviour value in the configuration file in the storage unit of the second terminal is configured as 1.
在一些实施例中,第二终端的SIM卡发生变更可以包括但不限于以下情况:In some embodiments, changes to the SIM card of the second terminal may include but are not limited to the following situations:
第二终端由未插入SIM卡变更为插入SIM卡;The second terminal changes from not inserting the SIM card to inserting the SIM card;
第二终端的SIM卡由SIM卡1变更为SIM卡2;The SIM card of the second terminal is changed from SIM card 1 to SIM card 2;
第二终端的SIM卡由下电变更为上电,或者说,SIM卡由去使能变更为使能。The SIM card of the second terminal is changed from being powered off to being powered on, or in other words, the SIM card is changed from being disabled to being enabled.
在一些实施例中,在第二终端的SIM卡发生变更之前,所述方法400还包括:In some embodiments, before the SIM card of the second terminal is changed, the method 400 further includes:
第二终端上发生第二事件。换言之,第二终端的SIM卡发生变更可以是第二事件触发的。A second event occurs on the second terminal. In other words, the change of the SIM card of the second terminal may be triggered by the second event.
在一些实施例中,该第二事件可以指任意可能触发读取SIM卡行为的事件,或者说,第二事件可以是SIM卡生效事件,例如第二终端开机,第二终端上插入SIM卡,或者,第二终端的SIM卡上电(或者说,第一终端的SIM卡被使能)等,本申请对此不作限定。In some embodiments, the second event may refer to any event that may trigger the behavior of reading the SIM card. In other words, the second event may be a SIM card validation event, such as the second terminal is powered on and the SIM card is inserted into the second terminal. Alternatively, the SIM card of the second terminal is powered on (or in other words, the SIM card of the first terminal is enabled), etc. This application does not limit this.
在一些实施例中,第二终端的SIM卡上电可以包括在第二终端的SIM卡被禁用的情况下,被重新启用,例如用户手动设置启用SIM卡。In some embodiments, powering on the SIM card of the second terminal may include re-enabling the SIM card of the second terminal if it is disabled, for example, the user manually sets the SIM card to be enabled.
在一些实施例中,第一定时器的总时长可以是第二终端选择的,或者,预定义值,或者,默认值,或者,根据管理的PLMN确定的,例如,用于管理不同PLMN的定时器可以设置为不同的总时长,能够实现精细的定时器时长调整。In some embodiments, the total duration of the first timer may be selected by the second terminal, or a predefined value, or a default value, or determined according to the managed PLMN, for example, used to manage the timing of different PLMNs. The timer can be set to different total durations, enabling fine adjustment of the timer duration.
在一些实施例中,第一定时器相关信息存储在第二终端的存储单元中,例如,存储在第二终端中的NVM或VM中。In some embodiments, the first timer related information is stored in a storage unit of the second terminal, for example, stored in an NVM or VM in the second terminal.
在本申请一些实施例中,S410包括:In some embodiments of this application, S410 includes:
在第二终端的用户识别模块SIM卡发生变更,且所述第二终端的SIM卡中的禁止PLMN列表中包括至少一个PLMN的情况下,启动第一定时器。When the subscriber identity module SIM card of the second terminal is changed, and the prohibited PLMN list in the SIM card of the second terminal includes at least one PLMN, the first timer is started.
因此,在该方法400中,在SIM卡发生变更的情况下,第二终端可以确定SIM卡中的禁止PLMN列表中是否为空,在不为空的情况下,即开启第一定时器,根据第一定时器管理该禁止PLMN列表 中的目标PLMN,例如在第一定时器超时时,删除禁止PLMN列表中的目标PLMN。Therefore, in the method 400, when the SIM card is changed, the second terminal can determine whether the prohibited PLMN list in the SIM card is empty. If it is not empty, the first timer is started. According to The first timer manages the target PLMN in the prohibited PLMN list, for example, when the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
在一些具体实现中,在发生第一事件(例如,SIM卡失效事件)的情况下,第一终端可以不在SIM卡中存储定时器相关信息,进一步地,第一终端上发生第二事件的情况下,例如,第一终端的SIM卡插入到第二终端中,即第二终端的SIM卡发生变更,则第二终端不能从SIM卡中获知定时器相关信息,此情况下,第二终端可以在SIM卡中的禁止PLMN列表不为空的情况下启动第一定时器,在第一定时器超时之后,解禁禁止PLMN列表中的目标PLMN,从而第二终端可以对禁止PLMN列表中的目标PLMN发起注册,有利于提升用户体验。In some specific implementations, when a first event (for example, a SIM card failure event) occurs, the first terminal may not store timer-related information in the SIM card. Furthermore, when a second event occurs on the first terminal, For example, if the SIM card of the first terminal is inserted into the second terminal, that is, the SIM card of the second terminal is changed, the second terminal cannot obtain the timer related information from the SIM card. In this case, the second terminal can The first timer is started when the banned PLMN list in the SIM card is not empty. After the first timer times out, the target PLMN in the banned PLMN list is unbanned, so that the second terminal can target the target PLMN in the banned PLMN list. Initiating registration will help improve user experience.
以下结合具体实施例,说明根据本申请实施例的管理禁止PLMN的方法的执行流程。The following describes the execution flow of the method for managing prohibited PLMNs according to the embodiments of the present application with reference to specific embodiments.
需要说明的是,以下实施例以一个定时器管理一个PLMN为例进行说明,在其他实施例中,一个定时器也可以用于管理多个PLMN,或所有PLMN,管理方式类似,这里不再赘述。It should be noted that the following embodiments take one timer to manage one PLMN as an example. In other embodiments, one timer can also be used to manage multiple PLMNs, or all PLMNs. The management methods are similar and will not be described again here. .
实施例1:Example 1:
在实施例1中,终端设备可以通过NVM存储禁止PLMN列表和定时器相关信息。In Embodiment 1, the terminal device can store the prohibited PLMN list and timer related information through NVM.
结合图7,说明基于实施例1的一种管理禁止PLMN的方法的示意性流程图。A schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 1 is described with reference to FIG. 7 .
其中,UE1的SIM卡中可以包括禁止PLMN列表,禁止PLMN列表中包括PLMN X。Among them, the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
S1001,UE1在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S1001, UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S1002,UE1将PLMN A视为禁止PLMN,将PLMN A存入UE1的NVM中的禁止PLMN列表中,并启动定时器A(记为T_A)。S1002, UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the NVM of UE1, and starts timer A (recorded as T_A).
S1003,UE1在PLMN B中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN B被禁止。S1003, UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
S1004,UE1将PLMN B视为禁止PLMN,将PLMN B存入UE1的NVM中的禁止PLMN列表中,并启动定时器B(记为T_B)。S1004, UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the NVM of UE1, and starts timer B (recorded as T_B).
S1005,在发生第一事件的情况下,例如SIM卡被拔出或关机的情况下,在UE1的NVM中保存定时器A的剩余时长信息和定时器B的剩余时长信息。S1005: When the first event occurs, for example, when the SIM card is pulled out or powered off, the remaining duration information of timer A and the remaining duration information of timer B are saved in the NVM of UE1.
可选地,若在发生第一事件的情况下,定时器A和定时器B仍然处于运行状态,则保存定时器A的剩余时长信息和定时器B的剩余时长信息,否则,删除定时器A相关信息和定时器B相关信息。Optionally, if timer A and timer B are still in the running state when the first event occurs, save the remaining duration information of timer A and the remaining duration information of timer B, otherwise, delete timer A Related information and timer B related information.
可选地,此情况下,UE1还可以存储第一事件的发生时间信息。进一步地,在发生第二事件(例如,UE1关机,或UE1中插入SIM卡)的情况下,触发UE1进行读卡,确定UE1的SIM卡是否发生变更,即是否换卡,则在没有换卡的情况下,UE1可以继续使用NVM中存储的禁止PLMN列表和定时器相关信息管理禁止PLMN。或者,在换卡的情况下,UE1可以清除禁止PLMN列表中的PLMN和定时器相关信息。Optionally, in this case, UEl may also store the occurrence time information of the first event. Further, when a second event occurs (for example, UE1 is powered off, or a SIM card is inserted into UE1), UE1 is triggered to read the card and determine whether the SIM card of UE1 has changed, that is, whether to change the card. If the card is not changed, In this case, UE1 can continue to use the banned PLMN list and timer related information stored in the NVM to manage the banned PLMN. Or, in the case of changing the card, UE1 can clear the PLMN and timer related information in the prohibited PLMN list.
S1006,发生第二事件,例如,UE1的SIM卡从UE1拔出,插入UE2中。S1006. A second event occurs. For example, the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
S1007,UE2开机之后,选择驻留到PLMN A的小区,由于PLMN A不属于禁止PLMN列表,因此可以向PLMN A发起注册。S1007. After UE2 is powered on, it selects the cell to camp in PLMN A. Since PLMN A does not belong to the prohibited PLMN list, it can initiate registration with PLMN A.
具体地,由于PLMN A和PLMN B仅存在于UE1的NVM的禁止PLMN列表中,在UE1的SIM卡插入UE2之后,UE2不能获知PLMN A和PLMN B为禁止PLMN。因此,可以向PLMN A和PLMN B发起注册。Specifically, since PLMN A and PLMN B only exist in the prohibited PLMN list of UE1's NVM, after UE1's SIM card is inserted into UE2, UE2 cannot learn that PLMN A and PLMN B are prohibited PLMNs. Therefore, registration can be initiated with PLMN A and PLMN B.
S1008,UE2向PLMN A发起注册过程。S1008, UE2 initiates the registration process to PLMN A.
实施例2:Example 2:
在该实施例2中,终端设备可以通过易失存储器(例如本地数据库)存储禁止PLMN列表和定时器相关信息。In this Embodiment 2, the terminal device may store the prohibited PLMN list and timer related information through a volatile memory (such as a local database).
结合图8,说明基于实施例2的一种管理禁止PLMN的方法的示意性流程图。With reference to FIG. 8 , a schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 2 is described.
其中,UE1的SIM卡中可以包括禁止PLMN列表,禁止PLMN列表中包括PLMN X。Among them, the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
S2001,UE1在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S2001, UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S2002,UE1将PLMN A视为禁止PLMN,将PLMN A存入UE1的本地数据库中的禁止PLMN列表中,并启动定时器A(记为T_A)。S2002, UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the local database of UE1, and starts timer A (recorded as T_A).
S2003,UE1在PLMN B中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN B被禁止。S2003, UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
S2004,UE1将PLMN B视为禁止PLMN,将PLMN B存入UE1的本地数据库中的禁止PLMN列表中,并启动定时器B(记为T_B)。S2004, UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the local database of UE1, and starts timer B (recorded as T_B).
S2005,在SIM卡被拔出的情况下,在UE1中保存定时器A的剩余时长信息和定时器B的剩余 时长信息。可选地,此情况下,还可以记录SIM卡被拔出的时间信息。S2005: When the SIM card is pulled out, the remaining duration information of timer A and the remaining duration information of timer B are saved in UE1. Optionally, in this case, the time information when the SIM card is pulled out can also be recorded.
可选地,若在SIM卡被拔出的情况下,定时器A和定时器B仍然处于运行状态,则保存定时器A的剩余时长信息和定时器B的剩余时长信息,否则,删除定时器A相关信息和定时器B相关信息。Optionally, if timer A and timer B are still running when the SIM card is pulled out, save the remaining duration information of timer A and the remaining duration information of timer B, otherwise, delete the timer. A related information and timer B related information.
进一步地,在UE1中插入SIM卡的情况下,触发UE1进行读卡,确定UE1的SIM卡是否发生变更,即是否换卡,则在没有换卡的情况下,UE1可以继续使用NVM中存储的禁止PLMN列表和定时器相关信息管理禁止PLMN。或者,在换卡的情况下,UE1可以清除禁止PLMN列表中的PLMN和定时器相关信息。Further, when a SIM card is inserted into UE1, UE1 is triggered to read the card and determine whether the SIM card of UE1 has changed, that is, whether the card has been changed. Then, without changing the card, UE1 can continue to use the data stored in the NVM. Banned PLMN list and timer related information management ban PLMN. Or, in the case of changing the card, UE1 can clear the PLMN and timer related information in the prohibited PLMN list.
可选地,在UE1关机的情况下,清除本地数据库中存储的禁止PLMN列表中的PLMN和定时器相关信息。Optionally, when UE1 is powered off, clear the PLMN and timer related information in the prohibited PLMN list stored in the local database.
S2006,发生第二事件,例如,UE1的SIM卡从UE1拔出,插入UE2中。S2006, a second event occurs. For example, the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
S2007,UE2开机之后,选择驻留到PLMN A的小区,由于PLMN A不属于禁止PLMN列表,因此可以向PLMN A发起注册。S2007, after UE2 is powered on, it selects the cell to camp in PLMN A. Since PLMN A does not belong to the prohibited PLMN list, it can initiate registration with PLMN A.
具体地,由于PLMN A和PLMN B仅存在于UE1的本地数据库的禁止PLMN列表中,在UE1的SIM卡插入UE2之后,UE2不能获知PLMN A和PLMN B为禁止PLMN。因此,可以向PLMN A和PLMN B发起注册。Specifically, since PLMN A and PLMN B only exist in the prohibited PLMN list of UE1's local database, after UE1's SIM card is inserted into UE2, UE2 cannot learn that PLMN A and PLMN B are prohibited PLMNs. Therefore, registration can be initiated with PLMN A and PLMN B.
S2008,UE2向PLMN A发起注册过程。S2008, UE2 initiates the registration process to PLMN A.
以下,结合图9说明,实施例1或实施例2中,发生第二事件(例如开机或插入SIM卡)的情况下,UE侧的行为。Below, the behavior of the UE side when a second event (such as power on or SIM card insertion) occurs in Embodiment 1 or 2 will be described with reference to FIG. 9 .
如图9所示,可以包括如下至少部分步骤:As shown in Figure 9, at least some of the following steps may be included:
S1101,在发生第二事件的情况下,UE确定是否更换SIM卡。S1101: When the second event occurs, the UE determines whether to replace the SIM card.
例如,根据UE的存储单元中的国际移动用户识别码(International Mobile Subscriber Identity,IMSI)或签约永久标识符(Subscription Permanent Identifier,SUPI)和当前SIM卡的IMSI或SUPI是否一致,确定是否更换SIM卡。若UE的存储单元中的MSI或SUPI和当前SIM卡的IMSI或SUPI一致,确定没有更换SIM卡,或者,若UE的存储单元中的MSI或SUPI和当前SIM卡的IMSI或SUPI不一致,确定更换了SIM卡。For example, determine whether to replace the SIM card based on whether the International Mobile Subscriber Identity (IMSI) or Subscription Permanent Identifier (SUPI) in the UE's storage unit is consistent with the IMSI or SUPI of the current SIM card. . If the MSI or SUPI in the UE's storage unit is consistent with the IMSI or SUPI of the current SIM card, it is determined that the SIM card has not been replaced. Alternatively, if the MSI or SUPI in the UE's storage unit is inconsistent with the IMSI or SUPI of the current SIM card, it is determined that the SIM card has been replaced. SIM card.
在更换SIM卡的情况下,执行S1102,在未更换SIM卡的情况下,执行S1103。If the SIM card is replaced, S1102 is executed. If the SIM card is not replaced, S1103 is executed.
S1102,UE清除存储单元中禁止PLMN列表中的所有PLMN及定时器相关信息。S1102. The UE clears all PLMN and timer related information in the prohibited PLMN list in the storage unit.
假设存储单元中的禁止PLMN列表中包括PLMN A及其对应的定时器(即T_A)相关信息,PLMN B及其对应的定时器(即T_B)相关信息,则在换卡的情况下,UE清除PLMN A及其对应的定时器(即T_A)相关信息,PLMN B及其对应的定时器(即T_B)相关信息。Assuming that the prohibited PLMN list in the storage unit includes information related to PLMN A and its corresponding timer (i.e. T_A), and information related to PLMN B and its corresponding timer (i.e. T_B), then in the case of changing the card, the UE clears PLMN A and its corresponding timer (i.e. T_A) related information, PLMN B and its corresponding timer (i.e. T_B) related information.
可选地,这里的定时器相关信息可以包括定时器的剩余时长信息,定时器的运行状态信息,第一事件的发生时间信息等。Optionally, the timer-related information here may include the remaining duration information of the timer, the running status information of the timer, the occurrence time information of the first event, etc.
S1103,根据UE的存储单元中的定时器相关信息管理禁止PLMN列表。S1103. Manage the prohibited PLMN list according to the timer-related information in the storage unit of the UE.
例如,根据T_A相关信息管理PLMN A,根据T_B相关信息管理PLMN B。For example, manage PLMN A based on T_A related information, and manage PLMN B based on T_B related information.
S1104,根据定时器相关信息确定定时器是否超时。S1104: Determine whether the timer has timed out based on timer related information.
例如,若定时器相关信息中包括发生第一事件时定时器的运行状态信息,若在发生第一事件时定时器正在运行,进一步再根据定时器相关信息中的时间信息确定定时器是否超时。For example, if the timer related information includes the running status information of the timer when the first event occurs, and if the timer is running when the first event occurs, it is further determined based on the time information in the timer related information whether the timer has timed out.
可选地,UE可以根据定时器的剩余时长和第一时长,确定定时器是否超时,具体确定方式参考方法200中的相关描述。Optionally, the UE may determine whether the timer has timed out based on the remaining duration of the timer and the first duration. For specific determination methods, refer to the relevant description in method 200.
S1105,在定时器未超时的情况下,确定定时器的实际剩余时长。S1105. If the timer has not expired, determine the actual remaining duration of the timer.
例如,将定时器T_A未超时的情况下,确定定时器T_A的实际剩余时长为保存的T_A的剩余时长和第一时长的差值。For example, when timer T_A has not expired, the actual remaining duration of timer T_A is determined as the difference between the saved remaining duration of T_A and the first duration.
S1106,启动定时器T_A’,并设置定时器T_A’的时长为定时器T_A的实际剩余时长。即保存的T_A的剩余时长和第一时长的差值。S1106: Start timer T_A’, and set the duration of timer T_A’ to the actual remaining duration of timer T_A. That is, the difference between the remaining duration of T_A saved and the first duration.
进一步地,基于定时器T_A’,管理PLMN A,例如,在定时器T_A’超时之后,将PLMN A从禁止PLMN列表中删除。Further, based on the timer T_A', PLMN A is managed, for example, after the timer T_A' times out, PLMN A is deleted from the prohibited PLMN list.
以下,结合图10说明,实施例1或实施例2中,在接收到拒绝原因#11或#35的情况下,UE侧的行为。Below, the behavior of the UE side when receiving the rejection reason #11 or #35 in Embodiment 1 or 2 will be described with reference to FIG. 10 .
如图10所示,可以包括如下至少部分步骤:As shown in Figure 10, at least some of the following steps may be included:
S1201,UE在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S1201. The UE receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S1202,UE确定是否被配置为允许使用定时器管理PLMN。S1202: The UE determines whether it is configured to allow the use of timers to manage the PLMN.
例如,若UE的SIM卡中的配置文件中的Timer T3245Behaviour value被配置为1,或者,若UE的存储单元中的配置文件中的Timer T3245Behaviour value被配置为1,确定UE被配置为允许使用定时器管理PLMN。For example, if the Timer T3245Behaviour value in the configuration file in the UE's SIM card is configured as 1, or if the Timer T3245Behaviour value in the configuration file in the UE's storage unit is configured as 1, it is determined that the UE is configured to allow the use of timing The server manages the PLMN.
进一步地,在UE被配置为允许使用定时器管理PLMN的情况下,执行S1203,否则,执行S1204。Further, if the UE is configured to allow the use of a timer to manage the PLMN, perform S1203; otherwise, perform S1204.
S1203,将PLMN A存储到UE的存储单元(例如NVM或本地数据库)中的禁止PLMN列表,并启动定时器T_A。S1203. Store PLMN A into the prohibited PLMN list in the UE's storage unit (such as NVM or local database), and start the timer T_A.
S1204,将PLMN A存储到UE的SIM卡中,并记录当前时间信息,例如当前的系统时间。S1204. Store PLMN A in the SIM card of the UE and record the current time information, such as the current system time.
以下,结合图11说明,实施例1或实施例2中,在SIM卡被拔出的情况下,UE侧的行为。Below, the behavior of the UE side when the SIM card is pulled out in Embodiment 1 or 2 will be described with reference to FIG. 11 .
如图11所示,可以包括如下至少部分步骤:As shown in Figure 11, at least some of the following steps may be included:
S1301,确定定时器的运行状态。S1301, determine the running status of the timer.
在定时器处于运行状态的情况下,执行S1302,否则,结束流程。When the timer is in the running state, execute S1302; otherwise, end the process.
S1302,将定时器的运行状态和剩余时长信息存入UE的存储单元(例如NVM或本地数据库)中。S1302: Store the timer's running status and remaining duration information in the UE's storage unit (such as NVM or local database).
例如,若在SIM卡被拔出时,PLMN X的定时器T_X处于运行状态,则可以将T_X的剩余时长信息和运行状态信息存入UE的NVM或本地数据库中。当然也可以不存储定时器的运行状态信息,存储剩余时长信息的定时器即认为是处于运行状态的定时器。For example, if the timer T_X of PLMN Of course, the running status information of the timer does not need to be stored. The timer that stores the remaining duration information is considered to be a timer in the running status.
即,UE的存储单元中可以包括禁止PLMN列表,该禁止PLMN列表中可以包括PLMN X,该UE的存储单元中还包括T_X的剩余时长信息,或者,也可以包括T_X的运行状态信息。That is, the storage unit of the UE may include a prohibited PLMN list, and the prohibited PLMN list may include PLMN X. The storage unit of the UE may also include remaining duration information of T_X, or may also include operating status information of T_X.
以下,结合图12说明,实施例1或实施例2中,在关机情况下,UE侧的行为。Below, the behavior of the UE side in the case of shutdown in Embodiment 1 or 2 will be described with reference to FIG. 12 .
如图12所示,可以包括如下至少部分步骤:As shown in Figure 12, at least some of the following steps may be included:
S1401,确定定时器的运行状态。S1401, determine the running status of the timer.
在定时器处于运行状态的情况下,执行S1402,否则,结束流程。When the timer is in the running state, execute S1402; otherwise, end the process.
S1402,将定时器的运行状态和剩余时长信息存入UE的NVM中。S1402: Store the running status and remaining duration information of the timer in the NVM of the UE.
例如,若在关机时,PLMN X的定时器T_X处于运行状态,则可以将T_X的剩余时长信息和运行状态信息存入UE的NVM中。当然也可以不存储定时器的运行状态信息,存储剩余时长信息的定时器即认为是处于运行状态的定时器。For example, if the timer T_X of PLMN X is in the running state when shutting down, the remaining duration information and running status information of T_X can be stored in the NVM of the UE. Of course, the running status information of the timer does not need to be stored. The timer that stores the remaining duration information is considered to be a timer in the running status.
即,UE的NVM中可以包括禁止PLMN列表,该禁止PLMN列表中可以包括PLMN X,该UE的NVM中还包括T_X的剩余时长信息,或者,也可以包括T_X的运行状态信息。That is, the NVM of the UE may include a prohibited PLMN list, and the prohibited PLMN list may include PLMN X. The NVM of the UE may also include remaining duration information of T_X, or may also include operating status information of T_X.
以下,结合图13说明,实施例1或实施例2中,在定时器超时的情况下,UE侧的行为。Below, the behavior of the UE side when the timer times out in Embodiment 1 or 2 will be described with reference to FIG. 13 .
如图13所示,可以包括如下至少部分步骤:As shown in Figure 13, at least some of the following steps may be included:
S1301,确定定时器是否超时。具体确定方式参考方法200中第一定时器是否超时的判断方式,为了简洁,这里不再赘述。S1301, determine whether the timer times out. For the specific determination method, refer to the method of determining whether the first timer has timed out in method 200. For the sake of simplicity, details will not be described here.
S1302,在定时器超时的情况下,将该定时器管理的PLMN从禁止PLMN列表中删除。S1302: When the timer times out, delete the PLMN managed by the timer from the prohibited PLMN list.
例如,UE的存储单元的禁止PLMN列表中包括PLMN X,以及PLMN X对应的定时器(T_X)相关信息。则在T_X超时的情况下,删除禁止PLMN列表中的PLMN X。For example, the prohibited PLMN list of the UE's storage unit includes PLMN X and timer (T_X) related information corresponding to PLMN X. When T_X times out, delete PLMN X in the prohibited PLMN list.
进一步地,根据更新后的禁止PLMN列表重新搜网,或者,重选注册的PLMN。Further, the network is searched again according to the updated prohibited PLMN list, or the registered PLMN is reselected.
因此,在本申请实施例中,在接收到拒绝原因#11或#35时,UE可以将禁止的PLMN添加到禁止PLMN列表中,在第一终端的存储单元中存储禁止PLMN列表以及定时器相关信息,这样,每当UE开机或者插入SIM卡时,UE都可以根据存储的定时器相关信息管理禁止PLMN列表,有利于防止定时器运行期间更换SIM,导致添加的PLMN永久保留在禁止PLMN列表的问题。Therefore, in the embodiment of the present application, when receiving rejection reason #11 or #35, the UE can add the prohibited PLMN to the prohibited PLMN list, and store the prohibited PLMN list and timer related information in the storage unit of the first terminal. information, so that whenever the UE is turned on or a SIM card is inserted, the UE can manage the banned PLMN list based on the stored timer-related information, which helps prevent SIM replacement during the timer running, causing the added PLMN to be permanently retained in the banned PLMN list. question.
实施例3:Example 3:
在该实施例3中,终端设备可以通过SIM卡存储禁止PLMN列表和定时器相关信息。In this Embodiment 3, the terminal device can store the prohibited PLMN list and timer related information through the SIM card.
结合图14,说明基于实施例3的一种管理禁止PLMN的方法的示意性流程图。A schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 3 is described with reference to FIG. 14 .
其中,UE1的SIM卡中可以包括禁止PLMN列表,禁止PLMN列表中包括PLMN X。Among them, the SIM card of UE1 may include a prohibited PLMN list, and the prohibited PLMN list includes PLMN X.
S3001,UE1在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S3001, UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S3002,UE1将PLMN A视为禁止PLMN,将PLMN A存入UE1的SIM中的禁止PLMN列表中,并启动定时器A(记为T_A),在SIM卡中记录定时器A的开始时间信息。S3002, UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the SIM of UE1, starts timer A (recorded as T_A), and records the start time information of timer A in the SIM card.
S3003,UE1在PLMN B中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN B被禁止。S3003, UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
S3004,UE1将PLMN B视为禁止PLMN,将PLMN B存入UE1的NVM中的禁止PLMN列表中,并启动定时器B(记为T_B),在SIM卡中记录定时器B的开始时间信息。S3004, UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the NVM of UE1, starts timer B (recorded as T_B), and records the start time information of timer B in the SIM card.
S3005,发生第一事件,例如SIM卡被拔出或关机。S3005, the first event occurs, such as the SIM card being pulled out or the phone being powered off.
此情况下,UE1中可以不对SIM卡中的禁止PLMN列表和定时器相关信息进行操作。In this case, UE1 may not operate the prohibited PLMN list and timer related information in the SIM card.
S3006,发生第二事件,例如,UE1的SIM卡从UE1拔出,插入UE2中。S3006. The second event occurs. For example, the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
S3007,UE2获取SIM卡中的禁止PLMN列表和定时器相关信息,根据定时器相关信息管理PLMN列表。具体管理方法参考方法300中的相关描述。S3007: UE2 obtains the prohibited PLMN list and timer-related information in the SIM card, and manages the PLMN list based on the timer-related information. For specific management methods, refer to the relevant descriptions in method 300.
S3008,若UE2重选驻留到PLMN A的小区,但是PLMN A属于禁止PLMN列表,则无法向PLMN A的小区发起注册。S3008, if UE2 reselects to camp in the cell of PLMN A, but PLMN A belongs to the prohibited PLMN list, it cannot initiate registration with the cell of PLMN A.
S3009,PLMN A对应的定时器T_A超时时,删除SIM卡的禁止PLMN列表中的PLMN A和对应的T_A相关信息。S3009, when the timer T_A corresponding to PLMN A times out, delete PLMN A and the corresponding T_A related information in the prohibited PLMN list of the SIM card.
S3010,由于PLMN A不属于禁止PLMN列表,因此UE2可以向PLMN A发起注册。S3010, since PLMN A does not belong to the prohibited PLMN list, UE2 can initiate registration with PLMN A.
以下,结合图15说明,实施例3中,发生第二事件(例如开机或插入SIM卡)的情况下,UE侧的行为。Hereinafter, in conjunction with FIG. 15 , the behavior of the UE side will be described in Embodiment 3 when the second event (such as powering on or inserting a SIM card) occurs.
如图15所示,可以包括如下至少部分步骤:As shown in Figure 15, at least some of the following steps may be included:
S3101,读取SIM卡文件,例如EF_NASCONFIG。S3101, read SIM card files, such as EF_NASCONFIG.
S3102,确定UE是否被配置为允许使用定时器管理PLMN,具体确定方法参考前述实施例的相关描述。若是,则执行S3103,否则,结束流程。S3102: Determine whether the UE is configured to allow the use of timers to manage the PLMN. For the specific determination method, refer to the relevant descriptions of the foregoing embodiments. If yes, execute S3103; otherwise, end the process.
S3103,获取SIM卡中的禁止PLMN列表及定时器相关信息。S3103: Obtain the prohibited PLMN list and timer related information in the SIM card.
假设存储单元中的禁止PLMN列表中包括PLMN A及其对应的定时器(即T_A)相关信息,PLMN B及其对应的定时器(即T_B)相关信息。It is assumed that the prohibited PLMN list in the storage unit includes information related to PLMN A and its corresponding timer (i.e., T_A), and information related to PLMN B and its corresponding timer (i.e., T_B).
可选地,这里的定时器相关信息可以包括定时器的开始时间信息。可选地,还可以包括定时器的总时长信息。Optionally, the timer-related information here may include timer start time information. Optionally, the total duration information of the timer may also be included.
S3104,根据定时器相关信息确定定时器是否超时。具体确定方式参考方法200或方法300中的相关描述。若未超时,则执行S3105,否则,结束流程。S3104: Determine whether the timer has timed out based on timer related information. For the specific determination method, refer to the relevant descriptions in method 200 or method 300. If it does not time out, execute S3105; otherwise, end the process.
S3105,确定定时器的实际剩余时长,例如,确定定时器的总时长和第二时长的差值为定时器的实际剩余时长,其中,第二时长为定时器的开始时间到当前时间或第二事件的发生时间所间隔的时长。S3105. Determine the actual remaining duration of the timer. For example, determine the difference between the total duration of the timer and the second duration as the actual remaining duration of the timer, where the second duration is from the start time of the timer to the current time or the second duration. The length of time between events.
S3106,启动定时器,并将定时器的时长设置为定时器的实际剩余时长。S3106: Start the timer and set the timer duration to the actual remaining duration of the timer.
例如,若定时器T_A未超时,则启动定时器T_A’,在定时器T_A’超时的情况下,删除禁止PLMN列表中的PLMN A。For example, if timer T_A has not expired, timer T_A’ is started. If timer T_A’ times out, PLMN A in the prohibited PLMN list is deleted.
以下,结合图16说明,实施例3中,在接收到拒绝原因#11或#35的情况下,UE侧的行为。Below, the behavior of the UE side when receiving rejection reason #11 or #35 in Embodiment 3 will be described with reference to FIG. 16 .
如图16所示,可以包括如下至少部分步骤:As shown in Figure 16, at least some of the following steps may be included:
S3201,UE在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S3201. The UE receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S3202,UE确定是否被配置为允许使用定时器管理PLMN。S3202: The UE determines whether it is configured to allow the use of timers to manage the PLMN.
例如,若UE的SIM卡中的配置文件中的Timer T3245Behaviour value被配置为1,或者,若UE的存储单元中的配置文件中的Timer T3245Behaviour value被配置为1,确定UE被配置为允许使用定时器管理PLMN。For example, if the Timer T3245Behaviour value in the configuration file in the UE's SIM card is configured as 1, or if the Timer T3245Behaviour value in the configuration file in the UE's storage unit is configured as 1, it is determined that the UE is configured to allow the use of timing The server manages the PLMN.
进一步地,在UE被配置为允许使用定时器管理PLMN的情况下,执行S3203,否则,执行S3204。Further, if the UE is configured to allow the use of a timer to manage the PLMN, perform S3203; otherwise, perform S3204.
S3203,将PLMN A写入到UE的SIM卡的禁止PLMN列表,并启动定时器T_A,同时在SIM卡中记录当前时间信息(例如当前的系统时间)或者说定时器T_A的开始时间信息。S3203. Write PLMN A into the prohibited PLMN list of the SIM card of the UE, start the timer T_A, and record the current time information (such as the current system time) or the start time information of the timer T_A in the SIM card.
S3204,将PLMN A存储到SIM卡中的禁止PLMN列表,并记录当前时间信息(例如当前的系统时间)。S3204: Store PLMN A into the prohibited PLMN list in the SIM card, and record the current time information (such as the current system time).
以下,结合图17说明,实施例3中,在定时器超时的情况下,UE侧的行为。Below, the behavior of the UE side when the timer times out in Embodiment 3 will be described with reference to FIG. 17 .
如图17所示,可以包括如下至少部分步骤:As shown in Figure 17, at least some of the following steps may be included:
S3301,确定定时器是否超时。具体确定方式参考方法200中确定第一定时器是否超时的相关实现,为了简洁,这里不再赘述。S3301, determine whether the timer times out. For the specific determination method, refer to the relevant implementation of determining whether the first timer times out in method 200. For the sake of simplicity, details will not be described here.
S3302,在定时器超时的情况下,将该定时器管理的PLMN从禁止PLMN列表中删除。S3302: When the timer times out, delete the PLMN managed by the timer from the prohibited PLMN list.
例如,UE的SIM卡的禁止PLMN列表中包括PLMN A,以及PLMN A对应的定时器(T_A)相关信息。则在T_A超时的情况下,删除禁止PLMN列表中的PLMN A。For example, the prohibited PLMN list of the UE's SIM card includes PLMN A and the timer (T_A) related information corresponding to PLMN A. When T_A times out, delete PLMN A in the prohibited PLMN list.
进一步地,根据更新后的禁止PLMN列表重新搜网,或者重选注册的PLMN。Further, the network is searched again according to the updated prohibited PLMN list, or the registered PLMN is reselected.
因此,在本申请实施例中,在接收到拒绝原因#11或#35时,UE可以将禁止的PLMN添加到禁止PLMN列表中,在第一终端的SIM中存储禁止PLMN列表以及定时器相关信息,这样,当SIM卡插入其他UE时,其他UE也可以根据SIM卡中存储的定时器相关信息管理禁止PLMN列表,有利于防止定时器运行期间更换SIM,导致添加的PLMN永久保留在禁止PLMN列表的问题。Therefore, in the embodiment of this application, when receiving rejection reason #11 or #35, the UE can add the prohibited PLMN to the prohibited PLMN list, and store the prohibited PLMN list and timer related information in the SIM of the first terminal. , in this way, when the SIM card is inserted into other UEs, other UEs can also manage the banned PLMN list based on the timer-related information stored in the SIM card, which is helpful to prevent the replacement of SIMs during the timer running, resulting in the added PLMN permanently remaining in the banned PLMN list. The problem.
实施例4:Example 4:
在该实施例4中,终端设备可以通过SIM存储禁止PLMN列表。In this Embodiment 4, the terminal device may store the prohibited PLMN list through the SIM.
结合图18,说明基于实施例4的一种管理禁止PLMN的方法的示意性流程图。With reference to Figure 18, a schematic flow chart of a method for managing prohibited PLMNs based on Embodiment 4 is described.
S4001,UE1在PLMN A中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN A被禁止。S4001, UE1 receives a rejection message sent by the network device in PLMN A, carrying rejection reason #11 or #35, indicating that PLMN A is prohibited.
S4002,UE1将PLMN A视为禁止PLMN,将PLMN A存入UE1的SIM中的禁止PLMN列表中,并启动定时器T3245,在UE1的存储单元中记录定时器T3245相关信息。S4002, UE1 regards PLMN A as a prohibited PLMN, stores PLMN A in the prohibited PLMN list in the SIM of UE1, starts timer T3245, and records timer T3245 related information in the storage unit of UE1.
S4003,UE1在PLMN B中接收网络设备发送的拒绝消息,携带拒绝原因#11或#35,表示PLMN B被禁止。S4003, UE1 receives a rejection message sent by the network device in PLMN B, carrying rejection reason #11 or #35, indicating that PLMN B is prohibited.
S4004,UE1将PLMN B视为禁止PLMN,将PLMN B存入UE1的SIM卡中的禁止PLMN列表中,并启动定时器T3245,在UE1的存储单元中记录定时器T3245相关信息。S4004, UE1 regards PLMN B as a prohibited PLMN, stores PLMN B in the prohibited PLMN list in the SIM card of UE1, starts timer T3245, and records timer T3245 related information in the storage unit of UE1.
S4005,发生第一事件,例如SIM卡被拔出或关机。S4005, the first event occurs, such as the SIM card being pulled out or the phone being powered off.
此情况下,UE1可以不对SIM卡中的禁止PLMN列表和定时器相关信息进行操作。In this case, UE1 may not operate the prohibited PLMN list and timer related information in the SIM card.
S4006,发生第二事件,例如,UE1的SIM卡从UE1拔出,插入UE2中。S4006. The second event occurs. For example, the SIM card of UE1 is pulled out from UE1 and inserted into UE2.
S4007,UE2获取SIM卡中的禁止PLMN列表,根据禁止PLMN列表确定启动定时器T3245。S4007: UE2 obtains the prohibited PLMN list in the SIM card and determines to start timer T3245 based on the prohibited PLMN list.
例如,在禁止PLMN列表不为空的情况下,启动定时器T3245。For example, when the prohibited PLMN list is not empty, timer T3245 is started.
S4008,若UE2重选驻留到PLMN A的小区,但是PLMN A属于禁止PLMN列表,则无法向PLMN A的小区发起注册。S4008, if UE2 reselects to camp in the cell of PLMN A, but PLMN A belongs to the prohibited PLMN list, it cannot initiate registration with the cell of PLMN A.
S4009,在T3245超时时,删除SIM中的禁止PLMN列表中的所有PLMN。S4009, when T3245 times out, delete all PLMNs in the prohibited PLMN list in the SIM.
S4010,由于PLMN A不属于禁止PLMN列表,因此UE2可以向PLMN A发起注册。S4010, since PLMN A does not belong to the prohibited PLMN list, UE2 can initiate registration with PLMN A.
因此,在本申请实施例中,当UE的SIM卡发生变更时,该UE根据SIM卡中存储的禁止PLMN列表启动定时器,在该定时器超时的情况下,删除禁止PLMN列表中的所有PLMN,有利于防止定时器运行期间更换SIM,导致添加的PLMN永久保留在禁止PLMN列表的问题。Therefore, in the embodiment of this application, when the SIM card of the UE is changed, the UE starts a timer according to the prohibited PLMN list stored in the SIM card. When the timer times out, all PLMNs in the prohibited PLMN list are deleted. , which is helpful to prevent the problem of replacing the SIM during the timer running, causing the added PLMN to permanently remain in the banned PLMN list.
在实施例4中,在接收到拒绝原因#11或#35的情况下,UE侧的行为和实施例3中UE在接收到拒绝原因#11或#35的情况下的行为一致,区别在于:实施例3中的定时器相关信息存储在UE的SIM中,实施例4中定时器相关信息存储在UE的存储单元中。具体实现参考图16中的相关描述,为了简洁,这里不再赘述。In Embodiment 4, when receiving rejection reason #11 or #35, the behavior of the UE is consistent with the behavior of the UE when receiving rejection reason #11 or #35 in Embodiment 3. The difference is: The timer-related information in Embodiment 3 is stored in the SIM of the UE, and the timer-related information in Embodiment 4 is stored in the storage unit of the UE. For specific implementation, refer to the relevant description in Figure 16. For the sake of brevity, details will not be repeated here.
在实施例4中,在定时器超时的情况下,在实施例4中的UE侧的行为和实施例3中的UE侧的行为一致,具体实现参考图17中的相关描述,为了简洁,这里不再赘述。In Embodiment 4, when the timer times out, the behavior of the UE side in Embodiment 4 is consistent with the behavior of the UE side in Embodiment 3. For specific implementation, refer to the relevant description in Figure 17. For simplicity, here No longer.
应理解,在本申请实施例中,实施例1-4可以单独实施,或者,也可以结合实施,本申请对此不作限定。It should be understood that in the embodiments of the present application, Embodiments 1 to 4 can be implemented individually or in combination, and this application is not limited thereto.
例如,在实施例4中,UE的SIM卡中可以存储禁止PLMN列表和定时器相关信息,例如,可以是基于实施例3中的方式存储的。For example, in Embodiment 4, the prohibited PLMN list and timer related information may be stored in the SIM card of the UE, for example, the information may be stored based on the method in Embodiment 3.
又例如,在实施例4中,UE的SIM卡中可以存储禁止PLMN列表,并且UE的存储单元中也可以存储禁止PLMN列表和定时器相关信息,例如可以是基于实施例1或实施例2中的方式存储的。For another example, in Embodiment 4, a prohibited PLMN list may be stored in the SIM card of the UE, and the prohibited PLMN list and timer related information may also be stored in the storage unit of the UE. For example, it may be based on the information in Embodiment 1 or Embodiment 2. stored in a way.
以下,结合图19和图20,说明实施例4中,发生第二事件(例如开机或插入SIM卡)的情况下,UE侧的行为。The following describes the behavior of the UE side in Embodiment 4 when the second event (such as powering on or inserting a SIM card) occurs with reference to Figures 19 and 20 .
如图19所示,可以包括如下至少部分步骤:As shown in Figure 19, at least some of the following steps may be included:
S4101,读取SIM卡文件,例如EF_NASCONFIG。S4101, read SIM card files, such as EF_NASCONFIG.
可选地,S4101可以是UE的SIM卡发生变更的情况下执行的。Optionally, S4101 may be executed when the SIM card of the UE is changed.
S4102,确定UE是否被配置为允许使用定时器管理PLMN,具体确定方法参考前述实施例的相关描述。S4102: Determine whether the UE is configured to allow the use of a timer to manage the PLMN. For the specific determination method, refer to the relevant descriptions of the foregoing embodiments.
S4103,获取SIM卡中的禁止PLMN列表。S4103: Obtain the prohibited PLMN list in the SIM card.
假设存储单元中的禁止PLMN列表中包括PLMN A和PLMN B。Assume that the prohibited PLMN list in the storage unit includes PLMN A and PLMN B.
S4104,根据禁止PLMN列表确定启动定时器。S4104: Determine the start timer according to the prohibited PLMN list.
在定时器超时之后,删除禁止PLMN列表中的PLMN A和PLMN B。After the timer expires, PLMN A and PLMN B in the prohibited PLMN list are deleted.
如图20所示,可以包括如下至少部分步骤:As shown in Figure 20, at least some of the following steps may be included:
S4101,UE确定是否更换SIM卡。S4101: The UE determines whether to change the SIM card.
具体确定方式参考前述实施例的相关描述,这里不再赘述。For the specific determination method, refer to the relevant descriptions of the foregoing embodiments, which will not be described again here.
可选地,在S4101之前,发生第二事件。Optionally, before S4101, a second event occurs.
可选地,在发生第二事件之前,UE的SIM卡中存储有禁止PLMN列表,UE的存储单元中存储有定时器相关信息。可选地,UE的SIM卡中也可能存储有定时器相关信息,UE的存储单元中也可 能存储有禁止PLMN列表。Optionally, before the second event occurs, a prohibited PLMN list is stored in the SIM card of the UE, and timer related information is stored in a storage unit of the UE. Optionally, timer related information may also be stored in the SIM card of the UE, and a prohibited PLMN list may also be stored in the storage unit of the UE.
在更换SIM卡的情况下,执行S4211至S4215,在未更换SIM卡的情况下,执行S4202至S4205。When the SIM card is replaced, S4211 to S4215 are executed. When the SIM card is not replaced, S4202 to S4205 are executed.
S4202,根据UE的存储单元中的定时器相关信息确定定时器是否超时,具体确定方式参考前述实施例的相关描述,这里不再赘述。S4202: Determine whether the timer has timed out according to the timer-related information in the storage unit of the UE. For the specific determination method, refer to the relevant descriptions of the foregoing embodiments, which will not be described again here.
S4203,确定定时器的实际剩余时长,具体确定方式参考前述实施例中的方式1或方式2。S4203: Determine the actual remaining duration of the timer. For the specific determination method, refer to Method 1 or Method 2 in the aforementioned embodiment.
S4204,启动定时器,基于启动的定时器管理禁止PLMN列表中的PLMN。S4204: Start the timer, and manage the PLMNs in the prohibited PLMN list based on the started timer.
S4211,清除UE的存储单元中存储的定时器相关信息。可选地,在存储单元中存储有禁止PLMN列表的情况下,也清除禁止PLMN列表。S4211. Clear the timer related information stored in the storage unit of the UE. Optionally, in the case where the prohibited PLMN list is stored in the storage unit, the prohibited PLMN list is also cleared.
S4212,读取更换后的SIM卡的卡文件。S4212, read the card file of the replaced SIM card.
S4213,确定UE是否配置为使用定时器管理PLMN。若是,则执行4214,否则,结束流程。S4213. Determine whether the UE is configured to use a timer to manage the PLMN. If so, execute 4214, otherwise, end the process.
S4214,确定SIM中的禁止PLMN列表是否为空。若否,则执行S4215,否则,结束流程。S4214: Determine whether the prohibited PLMN list in the SIM is empty. If not, execute S4215, otherwise, end the process.
S4215,启动定时器,该定时器的时长设置为默认时长,或预定义时长,或者,根据禁止PPLMN确定所设置的时长。基于该定时器管理禁止PLMN列表中的PLMN。S4215: Start a timer, and the timer's duration is set to the default duration, or a predefined duration, or the set duration is determined based on the prohibition of PPLMN. The PLMNs in the prohibited PLMN list are managed based on this timer.
即,在该实施例4中,在禁止PLMN列表不为空的情况下,UE即启动定时器,用于管理该禁止PLMN列表中的PLMN,有利于避免定时器运行期间更换SIM卡,导致禁止PLMN永久保留在禁止PLMN列表的问题。That is, in Embodiment 4, when the prohibited PLMN list is not empty, the UE starts a timer to manage the PLMNs in the prohibited PLMN list, which is helpful to avoid changing the SIM card during the running of the timer, resulting in prohibited The issue of PLMN permanently remaining on the banned PLMN list.
上文结合图4至图20,详细描述了本申请的方法实施例,下文结合图21至图25,详细描述本申请的装置实施例,应理解,装置实施例与方法实施例相互对应,类似的描述可以参照方法实施例。The method embodiments of the present application are described in detail above with reference to Figures 4 to 20. The device embodiments of the present application are described in detail below with reference to Figures 21 to 25. It should be understood that the device embodiments and the method embodiments correspond to each other, and are similar to The description may refer to the method embodiments.
图21示出了根据本申请实施例的终端设备500的示意性框图。如图21所示,该终端设备500包括:Figure 21 shows a schematic block diagram of a terminal device 500 according to an embodiment of the present application. As shown in Figure 21, the terminal device 500 includes:
处理单元510,用于在第一PLMN添加到禁止PLMN列表的情况下,开启第一定时器;以及The processing unit 510 is configured to start the first timer when the first PLMN is added to the prohibited PLMN list; and
在发生第一事件的情况下,存储所述第一定时器相关信息;When the first event occurs, store the first timer related information;
其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中。Wherein, the prohibited PLMN list and the first timer related information are stored in the same storage unit.
在一些实施例中,处理单元510还用于:In some embodiments, the processing unit 510 is also used to:
在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的目标PLMN。When the first timer times out, delete the target PLMN in the prohibited PLMN list.
在一些实施例中,所述目标PLMN仅包括所述第一PLMN;或者In some embodiments, the target PLMN only includes the first PLMN; or
所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
所述目标PLMN包括所述禁止PLMN列表中的多个PLMN。The target PLMN includes multiple PLMNs in the prohibited PLMN list.
在一些实施例中,所述同一存储单元为所述终端设备中的存储单元或者所述终端设备的用户识别模块SIM卡中的存储单元。In some embodiments, the same storage unit is a storage unit in the terminal device or a storage unit in a SIM card of the user identification module of the terminal device.
在一些实施例中,所述第一事件包括以下中的至少一种:In some embodiments, the first event includes at least one of the following:
所述终端设备关机;The terminal device is shut down;
所述终端设备的SIM卡被拔出;The SIM card of the terminal device is pulled out;
所述终端设备的SIM卡下电;The SIM card of the terminal device is powered off;
所述第一PLMN被禁止。The first PLMN is disabled.
在一些实施例中,所述第一定时器相关信息包括以下中的至少一种:In some embodiments, the first timer related information includes at least one of the following:
所述第一定时器的剩余时长信息;The remaining duration information of the first timer;
所述第一定时器的总时长信息;The total duration information of the first timer;
所述第一定时器的开始时间信息;The start time information of the first timer;
发生所述第一事件的时间信息;Time information when the first event occurs;
发生所述第一事件时所述第一定时器的运行状态信息。Running status information of the first timer when the first event occurs.
在一些实施例中,所述第一事件包括所述终端设备的SIM卡失效,所述处理单元510还用于:In some embodiments, the first event includes failure of the SIM card of the terminal device, and the processing unit 510 is further configured to:
在所述终端设备的SIM卡失效的情况下,在所述终端设备的存储单元中存储所述第一定时器的剩余时长信息和/或第一时间信息,所述第一时间信息用于指示所述终端设备的SIM卡失效的时间。When the SIM card of the terminal device fails, the remaining duration information of the first timer and/or the first time information is stored in the storage unit of the terminal device, and the first time information is used to indicate The time when the SIM card of the terminal device expires.
在一些实施例中,所述第一事件包所述第一PLMN被禁止,所述处理单元510还用于:In some embodiments, the first event package indicates that the first PLMN is disabled, and the processing unit 510 is further configured to:
在所述第一PLMN被禁止的情况下,在所述终端设备的SIM卡中存储所述第一定时器的开始时间信息和/或总时长信息。When the first PLMN is disabled, the start time information and/or the total duration information of the first timer are stored in the SIM card of the terminal device.
在一些实施例中,所述禁止PLMN列表和所述第一定时器相关信息存储在所述终端设备的存储单元中,所述处理单元510还用于:In some embodiments, the prohibited PLMN list and the first timer related information are stored in the storage unit of the terminal device, and the processing unit 510 is also used to:
在发生第二事件,并且所述终端设备的SIM卡发生变更的情况下,删除所述终端设备中的所述禁止PLMN列表和所述第一定时器相关信息;或者When the second event occurs and the SIM card of the terminal device is changed, delete the prohibited PLMN list and the first timer related information in the terminal device; or
在发生第二事件,并且所述终端设备的SIM卡未发生变更的情况下,根据所述第一定时器相关 信息,管理所述禁止PLMN列表中的所述目标PLMN。When the second event occurs and the SIM card of the terminal device is not changed, the target PLMN in the prohibited PLMN list is managed according to the first timer related information.
在一些实施例中,所述第二事件包括以下至少之一:In some embodiments, the second event includes at least one of the following:
所述终端设备开机、所述终端设备上插入SIM卡、所述终端设备中的SIM卡上电。The terminal device is powered on, a SIM card is inserted into the terminal device, and the SIM card in the terminal device is powered on.
在一些实施例中,所述处理单元510还用于:In some embodiments, the processing unit 510 is also used to:
根据所述第一定时器相关信息,确定所述第一定时器是否超时;在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的所述目标PLMN;或者Determine whether the first timer has timed out according to the first timer related information; if the first timer times out, delete the target PLMN in the prohibited PLMN list; or
在所述第一定时器未超时的情况下,启动第二定时器,在所述第二定时器超时的情况下,删除所述禁止PLMN列表中的目标PLMN。If the first timer does not time out, start the second timer. If the second timer times out, delete the target PLMN in the prohibited PLMN list.
在一些实施例中,所述第二定时器的时长设置为所述第一定时器的剩余时长和第一时长的差值,所述第一时长为所述第一事件的发生时间到所述第二事件的发生时间所间隔的时长,或者,所述第一时长为所述第一事件的发生时间到当前时间所间隔的时长。In some embodiments, the duration of the second timer is set to the difference between the remaining duration of the first timer and the first duration, and the first duration is from the occurrence time of the first event to the The duration between the occurrence time of the second event, or the first duration is the duration between the occurrence time of the first event and the current time.
在一些实施例中,所述处理单元510还用于:In some embodiments, the processing unit 510 is also used to:
若所述第一定时器的剩余时长小于或等于所述第一时长,确定所述第一定时器超时;或者If the remaining duration of the first timer is less than or equal to the first duration, determine that the first timer has timed out; or
若所述第一定时器的剩余时长大于所述第一时长,确定所述第一定时器未超时。If the remaining time of the first timer is greater than the first time length, it is determined that the first timer has not timed out.
在一些实施例中,所述第二定时器的时长设置为所述第一定时器的总时长和第二时长的差值,其中,所述第二时长为所述第一定时器的开始时间到第二时间的间隔时长,所述第二时间为当前时间或所述第二事件的发生时间。In some embodiments, the duration of the second timer is set to the difference between the total duration of the first timer and a second duration, where the second duration is the start time of the first timer. The length of the interval to the second time, which is the current time or the occurrence time of the second event.
在一些实施例中,所述处理单元510还用于:In some embodiments, the processing unit 510 is also used to:
在所述第一定时器的开始时间到所述第二时间的间隔时长大于或等于所述第一定时器的总时长的情况下,确定所述第一定时器超时;或者When the interval between the start time of the first timer and the second time is greater than or equal to the total duration of the first timer, it is determined that the first timer has timed out; or
在所述第一定时器的开始时间到所述第二时间的间隔时长小于所述第一定时器的总时长的情况下,确定所述第一定时器未超时。When the interval length from the start time of the first timer to the second time is less than the total time length of the first timer, it is determined that the first timer has not timed out.
在一些实施例中,所述终端设备被配置为允许使用定时器管理禁止PLMN。In some embodiments, the terminal device is configured to allow the use of timer management to ban the PLMN.
可选地,在一些实施例中,上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned processing unit may be one or more processors.
应理解,根据本申请实施例的终端设备500可对应于本申请方法实施例中的第一终端,并且终端设备500中的各个单元的上述和其它操作和/或功能分别为了实现图4至图20所示方法实施例中第一终端或UE1的相应流程,为了简洁,在此不再赘述。It should be understood that the terminal device 500 according to the embodiment of the present application may correspond to the first terminal in the method embodiment of the present application, and the above and other operations and/or functions of each unit in the terminal device 500 are respectively intended to implement FIG. 4 to FIG. The corresponding process of the first terminal or UE1 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
图22示出了根据本申请实施例的终端设备600的示意性框图。如图22所示,该终端设备600包括:Figure 22 shows a schematic block diagram of a terminal device 600 according to an embodiment of the present application. As shown in Figure 22, the terminal device 600 includes:
处理单元610,用于在发生第二事件的情况下,获取禁止PLMN列表和第一定时器相关信息,其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中;The processing unit 610 is configured to obtain the prohibited PLMN list and the first timer related information when the second event occurs, wherein the prohibited PLMN list and the first timer related information are stored in the same storage unit;
根据所述第一定时器相关信息,管理所述禁止PLMN列表中的第一PLMN。The first PLMN in the prohibited PLMN list is managed according to the first timer related information.
在一些实施例中,所述处理单元610还用于:In some embodiments, the processing unit 610 is also used to:
根据所述第一定时器相关信息,管理所述禁止PLMN列列表中的目标PLMN,其中,所述目标PLMN包括所述第一PLMN。在一些实施例中,所述目标PLMN仅包括一个PLMN;或者According to the first timer related information, a target PLMN in the prohibited PLMN column list is managed, where the target PLMN includes the first PLMN. In some embodiments, the target PLMN includes only one PLMN; or
所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
所述目标PLMN包括所述禁止PLMN列表中的多个PLMN。The target PLMN includes multiple PLMNs in the prohibited PLMN list.
在一些实施例中,所述同一存储单元为所述用户识别模块SIM卡中的存储单元。In some embodiments, the same storage unit is a storage unit in the SIM card of the subscriber identification module.
在一些实施例中,所述第一定时器相关信息包括以下中的至少一种:In some embodiments, the first timer related information includes at least one of the following:
所述第一定时器的开始时间信息,所述第一定时器的总时长信息。The start time information of the first timer, and the total duration information of the first timer.
在一些实施例中,所述处理单元610还用于:In some embodiments, the processing unit 610 is also used to:
根据所述第一定时器相关信息,确定所述第一定时器是否超时;Determine whether the first timer has timed out according to the first timer related information;
在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的所述至少一个PLMN;或者If the first timer times out, delete the at least one PLMN in the prohibited PLMN list; or
在所述第一定时器未超时的情况下,并启动第二定时器,在所述第二定时器超时的情况下,删除所述禁止PLMN列表中的所述至少一个PLMN。If the first timer does not time out, a second timer is started. If the second timer times out, the at least one PLMN in the prohibited PLMN list is deleted.
在一些实施例中,所述第二定时器的时长设置为所述第一定时器的总时长和第三时长的差值,所述第三时长为从所述第一定时器的开始时间到第三时间所间隔的时长,其中,所述第三时间为当前时间或所述第二事件的发生时间。In some embodiments, the duration of the second timer is set to the difference between the total duration of the first timer and a third duration. The third duration is from the start time of the first timer to The length of time between the third time, where the third time is the current time or the occurrence time of the second event.
在一些实施例中,所述根据所述第一定时器相关信息确定所述第一定时器是否超时,包括:In some embodiments, determining whether the first timer has timed out based on the first timer related information includes:
在所述第一定时器的总时长小于或等于所述第三时长的情况下,确定所述第一定时器超时;或者When the total duration of the first timer is less than or equal to the third duration, determine that the first timer has timed out; or
在所述第一定时器的总时长大于所述第三时长的情况下,确定所述第一定时器未超时。When the total duration of the first timer is greater than the third duration, it is determined that the first timer has not timed out.
在一些实施例中,述第二终端被配置为允许使用PLMN对应的定时器。In some embodiments, the second terminal is configured to allow the use of a timer corresponding to the PLMN.
在一些实施例中,所述第二事件包括以下至少之一:In some embodiments, the second event includes at least one of the following:
所述第二终端开机;The second terminal is powered on;
所述第二终端上插入SIM卡;Insert a SIM card into the second terminal;
所述第二终端的SIM卡上电。The SIM card of the second terminal is powered on.
可选地,在一些实施例中,上述通信单元可以是通信接口或收发器,或者是通信芯片或者片上系统的输入输出接口。上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned communication unit may be a communication interface or transceiver, or an input/output interface of a communication chip or a system on a chip. The above-mentioned processing unit may be one or more processors.
应理解,根据本申请实施例的终端设备600可对应于本申请方法实施例中的第二终端,并且终端设备600中的各个单元的上述和其它操作和/或功能分别为了实现图4至图20所示方法实施例中第二终端或UE2的相应流程,为了简洁,在此不再赘述。It should be understood that the terminal device 600 according to the embodiment of the present application may correspond to the second terminal in the method embodiment of the present application, and the above and other operations and/or functions of the various units in the terminal device 600 are respectively to implement Figures 4 to 4 The corresponding process of the second terminal or UE2 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
图23示出了根据本申请实施例的终端设备700的示意性框图。如图23所示,该终端设备700包括:Figure 23 shows a schematic block diagram of a terminal device 700 according to an embodiment of the present application. As shown in Figure 23, the terminal device 700 includes:
处理单元710,用于在所述终端设备的用户识别模块SIM卡发生变更的情况下,启动第一定时器;The processing unit 710 is configured to start the first timer when the SIM card of the subscriber identification module of the terminal device is changed;
在所述第一定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。When the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
在一些实施例中,所述目标PLMN仅包括一个PLMN;或者In some embodiments, the target PLMN includes only one PLMN; or
所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
所述目标PLMN包括所述禁止PLMN列表中的多个PLMNThe target PLMN includes multiple PLMNs in the prohibited PLMN list
在一些实施例中,在所述终端设备的SIM卡发生变更之前,所述处理单元710还用于:In some embodiments, before the SIM card of the terminal device is changed, the processing unit 710 is also used to:
所述终端设备上发生第二事件,其中,所述第二事件包括以下至少之一:A second event occurs on the terminal device, where the second event includes at least one of the following:
所述终端设备开机、所述终端设备上插入SIM卡、所述终端设备的SIM卡上电。The terminal device is powered on, a SIM card is inserted into the terminal device, and the SIM card of the terminal device is powered on.
在一些实施例中,所述终端设备被配置为允许使用定时器管理禁止PLMN。In some embodiments, the terminal device is configured to allow the use of timer management to ban the PLMN.
在一些实施例中,所述第一定时器相关信息存储在所述终端设备的存储单元中。In some embodiments, the first timer related information is stored in a storage unit of the terminal device.
在一些实施例中,所述处理单元710还用于:In some embodiments, the processing unit 710 is also used to:
在终端设备的用户识别模块SIM卡发生变更,且所述终端设备的SIM卡中的禁止PLMN列表中包括至少一个PLMN的情况下,启动第一定时器。When the SIM card of the subscriber identification module of the terminal device is changed, and the prohibited PLMN list in the SIM card of the terminal device includes at least one PLMN, the first timer is started.
可选地,在一些实施例中,上述通信单元可以是通信接口或收发器,或者是通信芯片或者片上系统的输入输出接口。上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned communication unit may be a communication interface or transceiver, or an input/output interface of a communication chip or a system on a chip. The above-mentioned processing unit may be one or more processors.
应理解,根据本申请实施例的终端设备700可对应于本申请方法实施例中的第二终端,并且终端设备700中的各个单元的上述和其它操作和/或功能分别为了实现图4至图20所示方法实施例中第二终端或UE2的相应流程,为了简洁,在此不再赘述。It should be understood that the terminal device 700 according to the embodiment of the present application may correspond to the second terminal in the method embodiment of the present application, and the above and other operations and/or functions of the various units in the terminal device 700 are respectively to implement Figures 4 to 4. The corresponding process of the second terminal or UE2 in the method embodiment shown in 20 will not be described again for the sake of simplicity.
图24是本申请实施例提供的一种通信设备800示意性结构图。图24所示的通信设备800包括处理器810,处理器810可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 24 is a schematic structural diagram of a communication device 800 provided by an embodiment of the present application. The communication device 800 shown in Figure 24 includes a processor 810. The processor 810 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
可选地,如图24所示,通信设备800还可以包括存储器820。其中,处理器810可以从存储器820中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in Figure 24, the communication device 800 may further include a memory 820. The processor 810 can call and run the computer program from the memory 820 to implement the method in the embodiment of the present application.
其中,存储器820可以是独立于处理器810的一个单独的器件,也可以集成在处理器810中。The memory 820 may be a separate device independent of the processor 810 , or may be integrated into the processor 810 .
可选地,如图24所示,通信设备800还可以包括收发器830,处理器810可以控制该收发器830与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in Figure 24, the communication device 800 may also include a transceiver 830. The processor 810 may control the transceiver 830 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
其中,收发器830可以包括发射机和接收机。收发器830还可以进一步包括天线,天线的数量可以为一个或多个。Among them, the transceiver 830 may include a transmitter and a receiver. The transceiver 830 may further include an antenna, and the number of antennas may be one or more.
可选地,该通信设备800具体可为本申请实施例的第一终端或第二终端,并且该通信设备800可以实现本申请实施例的各个方法中由第一终端或第二终端实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 800 may specifically be the first terminal or the second terminal in the embodiment of the present application, and the communication device 800 may implement the corresponding functions implemented by the first terminal or the second terminal in the various methods of the embodiment of the present application. The process, for the sake of brevity, will not be repeated here.
可选地,该通信设备800具体可为本申请实施例的移动终端/终端设备,并且该通信设备800可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 800 can be a mobile terminal/terminal device according to the embodiment of the present application, and the communication device 800 can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application. For the sake of simplicity, , which will not be described in detail here.
图25是本申请实施例的芯片的示意性结构图。图25所示的芯片900包括处理器910,处理器910可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 25 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 900 shown in Figure 25 includes a processor 910. The processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
可选地,如图25所示,芯片900还可以包括存储器920。其中,处理器910可以从存储器920中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in Figure 25, the chip 900 may also include a memory 920. The processor 910 can call and run the computer program from the memory 920 to implement the method in the embodiment of the present application.
其中,存储器920可以是独立于处理器910的一个单独的器件,也可以集成在处理器910中。The memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .
可选地,该芯片900还可以包括输入接口930。其中,处理器910可以控制该输入接口930与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 900 may also include an input interface 930. The processor 910 can control the input interface 930 to communicate with other devices or chips. Specifically, it can obtain information or data sent by other devices or chips.
可选地,该芯片900还可以包括输出接口940。其中,处理器910可以控制该输出接口940与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 900 may also include an output interface 940. The processor 910 can control the output interface 940 to communicate with other devices or chips. Specifically, it can output information or data to other devices or chips.
可选地,该芯片可应用于本申请实施例中的第一终端或第二终端,并且该芯片可以实现本申请实 施例的各个方法中由第一终端或第二终端实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the first terminal or the second terminal in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the first terminal or the second terminal in the various methods of the embodiment of the present application, in order to It’s concise and I won’t go into details here.
可选地,该芯片可应用于本申请实施例中的移动终端/终端设备,并且该芯片可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the mobile terminal/terminal device in the various methods of the embodiment of the present application. For the sake of simplicity, here No longer.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in the embodiment of the present application may be an integrated circuit chip and has signal processing capabilities. During the implementation process, each step of the above method embodiment can be completed through an integrated logic circuit of hardware in the processor or instructions in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available processors. Programmed logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logical block diagram disclosed in the embodiment of this application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of illustration, but not limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is an exemplary but not restrictive description. For example, the memory in the embodiment of the present application can also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, memories in embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。Embodiments of the present application also provide a computer-readable storage medium for storing computer programs.
可选的,该计算机可读存储介质可应用于本申请实施例中的第一终端或第二终端,并且该计算机程序使得计算机执行本申请实施例的各个方法中由第一终端或第二终端实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the first terminal or the second terminal in the embodiment of the present application, and the computer program causes the computer to perform the various methods in the embodiment of the present application by the first terminal or the second terminal. The corresponding process of implementation will not be repeated here for the sake of brevity.
可选地,该计算机可读存储介质可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in the various methods of the embodiment of the present application. , for the sake of brevity, will not be repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。An embodiment of the present application also provides a computer program product, including computer program instructions.
可选的,该计算机程序产品可应用于本申请实施例中的第一终端或第二终端,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由第一终端或第二终端实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the first terminal or the second terminal in the embodiment of the present application, and the computer program instructions cause the computer to execute the various methods implemented by the first terminal or the second terminal in the embodiment of the present application. The corresponding process, for the sake of brevity, will not be repeated here.
可选地,该计算机程序产品可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, For the sake of brevity, no further details will be given here.
本申请实施例还提供了一种计算机程序。An embodiment of the present application also provides a computer program.
可选的,该计算机程序可应用于本申请实施例中的第一终端或第二终端,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由第一终端或第二终端实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the first terminal or the second terminal in the embodiment of the present application. When the computer program is run on the computer, it causes the computer to perform the various methods in the embodiment of the present application by the first terminal or the second terminal. The corresponding process implemented by the second terminal will not be repeated here for the sake of simplicity.
可选地,该计算机程序可应用于本申请实施例中的移动终端/终端设备,当该计算机程序在计算 机上运行时,使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the mobile terminal/terminal device in the embodiments of the present application. When the computer program is run on the computer, it causes the computer to execute the various methods implemented by the mobile terminal/terminal device in the embodiments of the present application. The corresponding process, for the sake of brevity, will not be repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, 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 described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims (39)

  1. 一种管理禁止公共陆地移动网络PLMN的方法,其特征在于,应用于第一终端,包括:A method for managing a prohibited public land mobile network PLMN, which is characterized in that it is applied to a first terminal and includes:
    在第一PLMN添加到禁止PLMN列表的情况下,开启第一定时器;When the first PLMN is added to the prohibited PLMN list, start the first timer;
    在发生第一事件的情况下,存储所述第一定时器相关信息;When the first event occurs, store the first timer related information;
    其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中。Wherein, the prohibited PLMN list and the first timer related information are stored in the same storage unit.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的目标PLMN,所述目标PLMN包括所述第一PLMN。When the first timer times out, delete the target PLMN in the prohibited PLMN list, where the target PLMN includes the first PLMN.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that:
    所述目标PLMN仅包括所述第一PLMN;或者The target PLMN only includes the first PLMN; or
    所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
    所述目标PLMN包括所述禁止PLMN列表中的多个PLMN。The target PLMN includes multiple PLMNs in the prohibited PLMN list.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述同一存储单元为所述第一终端中的存储单元或者所述第一终端的用户识别模块SIM卡中的存储单元。The method according to any one of claims 1 to 3, characterized in that the same storage unit is a storage unit in the first terminal or a storage unit in a user identification module SIM card of the first terminal. .
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述第一事件包括以下中的至少一种:The method according to any one of claims 1-4, characterized in that the first event includes at least one of the following:
    所述第一终端关机;The first terminal is shut down;
    所述第一终端的SIM卡被拔出;The SIM card of the first terminal is pulled out;
    所述第一终端的SIM卡下电;The SIM card of the first terminal is powered off;
    所述第一PLMN被禁止。The first PLMN is disabled.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一定时器相关信息包括以下中的至少一种:The method according to any one of claims 1-5, characterized in that the first timer related information includes at least one of the following:
    所述第一定时器的剩余时长信息;The remaining duration information of the first timer;
    所述第一定时器的总时长信息;The total duration information of the first timer;
    所述第一定时器的开始时间信息;The start time information of the first timer;
    发生所述第一事件的时间信息;Time information when the first event occurs;
    发生所述第一事件时所述第一定时器的运行状态信息。Running status information of the first timer when the first event occurs.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述第一事件包括所述第一终端的SIM卡失效,所述在发生第一事件的情况下,存储所述第一定时器相关信息,包括:The method according to any one of claims 1 to 6, characterized in that the first event includes a SIM card failure of the first terminal, and when the first event occurs, the first event is stored. Certain timer related information, including:
    在所述第一终端的SIM卡失效的情况下,在所述第一终端的存储单元中存储所述第一定时器的剩余时长信息和/或第一时间信息,所述第一时间信息用于指示所述第一终端的SIM卡失效的时间。When the SIM card of the first terminal fails, the remaining duration information of the first timer and/or the first time information is stored in the storage unit of the first terminal, and the first time information is At the time indicating the expiration of the SIM card of the first terminal.
  8. 根据权利要求1-6中任一项所述的方法,其特征在于,所述第一事件包所述第一PLMN被禁止,所述在发生第一事件的情况下,存储所述第一定时器相关信息,包括:The method according to any one of claims 1 to 6, characterized in that the first event packet and the first PLMN are prohibited, and in the case of the first event, the first timing is stored. Device-related information, including:
    在所述第一PLMN被禁止的情况下,在所述第一终端的SIM卡中存储所述第一定时器的开始时间信息和/或总时长信息。When the first PLMN is disabled, the start time information and/or the total duration information of the first timer are stored in the SIM card of the first terminal.
  9. 根据权利要求1-7中任一项所述的方法,其特征在于,所述禁止PLMN列表和所述第一定时器相关信息存储在所述第一终端的存储单元中,所述方法还包括:The method according to any one of claims 1 to 7, characterized in that the prohibited PLMN list and the first timer related information are stored in a storage unit of the first terminal, and the method further includes :
    在发生第二事件,并且所述第一终端的SIM卡发生变更的情况下,删除所述第一终端中的所述禁止PLMN列表和所述第一定时器相关信息;或者When the second event occurs and the SIM card of the first terminal is changed, delete the prohibited PLMN list and the first timer related information in the first terminal; or
    在发生第二事件,并且所述第一终端的SIM卡未发生变更的情况下,根据所述第一定时器相关信息,管理所述禁止PLMN列表中的目标PLMN。When the second event occurs and the SIM card of the first terminal is not changed, the target PLMN in the prohibited PLMN list is managed according to the first timer related information.
  10. 根据权利要求9所述的方法,其特征在于,所述第二事件包括以下至少之一:The method of claim 9, wherein the second event includes at least one of the following:
    所述第一终端开机、所述第一终端上插入SIM卡、所述第一终端中的SIM卡上电。The first terminal is powered on, a SIM card is inserted into the first terminal, and the SIM card in the first terminal is powered on.
  11. 根据权利要求9或10所述的方法,其特征在于,所述根据所述第一定时器相关信息,管理所述禁止PLMN列表中的目标PLMN,包括:The method according to claim 9 or 10, characterized in that, managing the target PLMN in the prohibited PLMN list according to the first timer related information includes:
    根据所述第一定时器相关信息,确定所述第一定时器是否超时;在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的所述目标PLMN;或者Determine whether the first timer has timed out according to the first timer related information; if the first timer times out, delete the target PLMN in the prohibited PLMN list; or
    在所述第一定时器未超时的情况下,启动第二定时器,在所述第二定时器超时的情况下,删除所述禁止PLMN列表中的所述目标PLMN。If the first timer has not expired, a second timer is started. If the second timer has expired, the target PLMN in the prohibited PLMN list is deleted.
  12. 根据权利要求11所述的方法,其特征在于,所述第二定时器的时长设置为所述第一定时器的剩余时长和第一时长的差值,所述第一时长为所述第一事件的发生时间到所述第二事件的发生时间所间隔的时长,或者,所述第一时长为所述第一事件的发生时间到当前时间所间隔的时长。The method according to claim 11, characterized in that the duration of the second timer is set to the difference between the remaining duration of the first timer and the first duration, and the first duration is the first duration. The duration between the occurrence time of the event and the occurrence time of the second event, or the first duration is the duration between the occurrence time of the first event and the current time.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述第一定时器相关信息确定所述第 一定时器是否超时,包括:The method of claim 12, wherein determining whether the first timer has timed out based on the first timer related information includes:
    若所述第一定时器的剩余时长小于或等于所述第一时长,确定所述第一定时器超时;或者If the remaining duration of the first timer is less than or equal to the first duration, determine that the first timer has timed out; or
    若所述第一定时器的剩余时长大于所述第一时长,确定所述第一定时器未超时。If the remaining time of the first timer is greater than the first time length, it is determined that the first timer has not timed out.
  14. 根据权利要求11所述的方法,其特征在于,所述第二定时器的时长设置为所述第一定时器的总时长和第二时长的差值,其中,所述第二时长为所述第一定时器的开始时间到第二时间的间隔时长,所述第二时间为当前时间或所述第二事件的发生时间。The method according to claim 11, characterized in that the duration of the second timer is set to the difference between the total duration of the first timer and the second duration, wherein the second duration is the The duration of the interval from the start time of the first timer to the second time, and the second time is the current time or the occurrence time of the second event.
  15. 根据权利要求14所述的方法,其特征在于,所述根据所述第一定时器相关信息确定所述第一定时器是否超时,包括:The method of claim 14, wherein determining whether the first timer has timed out based on the first timer related information includes:
    在所述第一定时器的开始时间到所述第二时间的间隔时长大于或等于所述第一定时器的总时长的情况下,确定所述第一定时器超时;或者When the interval between the start time of the first timer and the second time is greater than or equal to the total duration of the first timer, it is determined that the first timer has timed out; or
    在所述第一定时器的开始时间到所述第二时间的间隔时长小于所述第一定时器的总时长的情况下,确定所述第一定时器未超时。When the interval length from the start time of the first timer to the second time is less than the total time length of the first timer, it is determined that the first timer has not timed out.
  16. 根据权利要求1-15中任一项所述的方法,其特征在于,所述第一终端被配置为允许使用定时器管理禁止PLMN。The method according to any one of claims 1-15, characterized in that the first terminal is configured to allow the use of timer management to ban the PLMN.
  17. 一种管理禁止公共陆地移动网络PLMN的方法,其特征在于,应用于第二终端,包括:A method for managing a prohibited public land mobile network PLMN, which is characterized in that it is applied to a second terminal and includes:
    在发生第二事件的情况下,获取禁止PLMN列表和第一定时器相关信息,其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中;When the second event occurs, obtain the prohibited PLMN list and the first timer related information, wherein the prohibited PLMN list and the first timer related information are stored in the same storage unit;
    根据所述第一定时器相关信息,管理所述禁止PLMN列表中的第一PLMN。The first PLMN in the prohibited PLMN list is managed according to the first timer related information.
  18. 根据权利要求17所述的方法,其特征在于,所述根据所述第一定时器相关信息,管理所述禁止PLMN列列表中的第一PLMN,包括:The method according to claim 17, wherein managing the first PLMN in the prohibited PLMN column list according to the first timer related information includes:
    根据所述第一定时器相关信息,管理所述禁止PLMN列列表中的目标PLMN,其中,manage the target PLMN in the prohibited PLMN column list according to the first timer related information, wherein,
    所述目标PLMN仅包括所述第一PLMN;或者The target PLMN only includes the first PLMN; or
    所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
    所述目标PLMN包括所述禁止PLMN列表中的多个PLMN,其中,所述多个PLMN包括所述第一PLMN。The target PLMN includes a plurality of PLMNs in the prohibited PLMN list, where the plurality of PLMNs include the first PLMN.
  19. 根据权利要求17或18所述的方法,其特征在于,The method according to claim 17 or 18, characterized in that,
    所述同一存储单元为所述第二终端的用户识别模块SIM卡中的存储单元。The same storage unit is a storage unit in the SIM card of the user identification module of the second terminal.
  20. 根据权利要求17-19中任一项所述的方法,其特征在于,所述第一定时器相关信息包括以下中的至少一种:The method according to any one of claims 17-19, characterized in that the first timer related information includes at least one of the following:
    所述第一定时器的开始时间信息,所述第一定时器的总时长信息。The start time information of the first timer, and the total duration information of the first timer.
  21. 根据权利要求18-20中任一项所述的方法,其特征在于,所述根据所述第一定时器相关信息,管理所述禁止PLMN列表中的目标PLMN,包括:The method according to any one of claims 18 to 20, characterized in that, managing the target PLMN in the prohibited PLMN list according to the first timer related information includes:
    根据所述第一定时器相关信息,确定所述第一定时器是否超时;Determine whether the first timer has timed out according to the first timer related information;
    在所述第一定时器超时的情况下,删除所述禁止PLMN列表中的所述目标PLMN;或者If the first timer times out, delete the target PLMN in the prohibited PLMN list; or
    在所述第一定时器未超时的情况下,并启动第二定时器,在所述第二定时器超时的情况下,删除所述禁止PLMN列表中的目标PLMN。If the first timer does not time out, the second timer is started. If the second timer times out, the target PLMN in the prohibited PLMN list is deleted.
  22. 根据权利要求21所述的方法,其特征在于,所述第二定时器的时长设置为所述第一定时器的总时长和第三时长的差值,所述第三时长为从所述第一定时器的开始时间到第三时间所间隔的时长,其中,所述第三时间为当前时间或所述第二事件的发生时间。The method according to claim 21, characterized in that the duration of the second timer is set to the difference between the total duration of the first timer and a third duration, and the third duration is the difference between the total duration of the first timer and the third duration. The length of time between the start time of a certain timer and the third time, where the third time is the current time or the occurrence time of the second event.
  23. 根据权利要求22所述的方法,其特征在于,所述根据所述第一定时器相关信息确定所述第一定时器是否超时,包括:The method of claim 22, wherein determining whether the first timer has timed out based on the first timer related information includes:
    在所述第一定时器的总时长小于或等于所述第三时长的情况下,确定所述第一定时器超时;或者When the total duration of the first timer is less than or equal to the third duration, determine that the first timer has timed out; or
    在所述第一定时器的总时长大于所述第三时长的情况下,确定所述第一定时器未超时。When the total duration of the first timer is greater than the third duration, it is determined that the first timer has not timed out.
  24. 根据权利要求17-23中任一项所述的方法,其特征在于,所述第二终端被配置为允许使用PLMN对应的定时器。The method according to any one of claims 17-23, characterized in that the second terminal is configured to allow the use of a timer corresponding to the PLMN.
  25. 根据权利要求17-24中任一项所述的方法,其特征在于,所述第二事件包括以下至少之一:The method according to any one of claims 17-24, wherein the second event includes at least one of the following:
    所述第二终端开机;The second terminal is powered on;
    所述第二终端上插入SIM卡;Insert a SIM card into the second terminal;
    所述第二终端的SIM卡上电。The SIM card of the second terminal is powered on.
  26. 一种管理禁止公共陆地移动网络PLMN的方法,其特征在于,应用于第二终端,包括:A method for managing a prohibited public land mobile network PLMN, which is characterized in that it is applied to a second terminal and includes:
    在第二终端的用户识别模块SIM卡发生变更的情况下,启动第一定时器;When the SIM card of the subscriber identification module of the second terminal is changed, start the first timer;
    在所述第一定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。When the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
  27. 根据权利要求26所述的方法,其特征在于,The method according to claim 26, characterized in that:
    所述目标PLMN仅包括一个PLMN;或者The target PLMN includes only one PLMN; or
    所述目标PLMN包括所述禁止PLMN列表中的所有PLMN;或者The target PLMN includes all PLMNs in the prohibited PLMN list; or
    所述目标PLMN包括所述禁止PLMN列表中的多个PLMN。The target PLMN includes multiple PLMNs in the prohibited PLMN list.
  28. 根据权利要求26或27所述的方法,其特征在于,在所述第二终端的SIM卡发生变更之前,所述方法还包括:The method according to claim 26 or 27, characterized in that, before the SIM card of the second terminal is changed, the method further includes:
    所述第二终端上发生第二事件,其中,所述第二事件包括以下至少之一:A second event occurs on the second terminal, where the second event includes at least one of the following:
    所述第二终端开机、所述第二终端上插入SIM卡、所述第二终端的SIM卡上电。The second terminal is powered on, the SIM card is inserted into the second terminal, and the SIM card of the second terminal is powered on.
  29. 根据权利要求26-28中任一项所述的方法,其特征在于,所述第一定时器相关信息存储在所述第二终端的存储单元中。The method according to any one of claims 26 to 28, characterized in that the first timer related information is stored in a storage unit of the second terminal.
  30. 根据权利要求26-29中任一项所述的方法,其特征在于,在第二终端的用户识别模块SIM卡发生变更的情况下,启动第一定时器,包括:The method according to any one of claims 26-29, characterized in that, when the user identification module SIM card of the second terminal is changed, starting the first timer includes:
    在第二终端的用户识别模块SIM卡发生变更,且所述第二终端的SIM卡中的禁止PLMN列表中包括至少一个PLMN的情况下,启动第一定时器。When the subscriber identity module SIM card of the second terminal is changed, and the prohibited PLMN list in the SIM card of the second terminal includes at least one PLMN, the first timer is started.
  31. 根据权利要求27-30中任一项所述的方法,其特征在于,所述第二终端被配置为允许使用定时器管理禁止PLMN。The method according to any one of claims 27-30, characterized in that the second terminal is configured to allow the use of timer management to ban the PLMN.
  32. 一种终端设备,其特征在于,包括:A terminal device, characterized by including:
    处理单元,用于在第一PLMN添加到禁止PLMN列表的情况下,开启第一定时器;以及在发生第一事件的情况下,存储所述第一定时器相关信息;A processing unit configured to start the first timer when the first PLMN is added to the prohibited PLMN list; and to store the first timer related information when the first event occurs;
    其中,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中。Wherein, the prohibited PLMN list and the first timer related information are stored in the same storage unit.
  33. 一种终端设备,其特征在于,包括:A terminal device, characterized by including:
    处理单元,用于在发生第二事件的情况下,获取禁止PLMN列表和第一定时器相关信息,所述禁止PLMN列表和所述第一定时器相关信息存储在同一存储单元中;A processing unit configured to obtain a prohibited PLMN list and first timer related information when a second event occurs, where the prohibited PLMN list and first timer related information are stored in the same storage unit;
    根据所述第一定时器相关信息,管理所述禁止PLMN列表中的第一PLMN。The first PLMN in the prohibited PLMN list is managed according to the first timer related information.
  34. 一种终端设备,其特征在于,包括:A terminal device, characterized by including:
    处理单元,用于在第二终端的SIM卡发生变更的情况下,启动第一定时器;以及A processing unit configured to start the first timer when the SIM card of the second terminal is changed; and
    在所述第一定时器超时的情况下,删除禁止PLMN列表中的目标PLMN。When the first timer times out, the target PLMN in the prohibited PLMN list is deleted.
  35. 一种终端设备,其特征在于,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至16中任一项所述的方法,或如权利要求17至25中任一项所述的方法,或如权利要求26至31中任一项所述的方法。A terminal device, characterized in that it includes: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any of claims 1 to 16. The method of any one of claims 17 to 25, or the method of any one of claims 26 to 31.
  36. 一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至16中任一项所述的方法,或如权利要求17至25中任一项所述的方法,或如权利要求26至31中任一项所述的方法。A chip, characterized in that it includes: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 1 to 16, or as The method of any one of claims 17 to 25, or the method of any one of claims 26 to 31.
  37. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至16中任一项所述的方法,或如权利要求17至25中任一项所述的方法,或如权利要求26至31中任一项所述的方法。A computer-readable storage medium, characterized in that it is used to store a computer program, the computer program causes the computer to perform the method as described in any one of claims 1 to 16, or as any one of claims 17 to 25 The method described in claim 26, or the method described in any one of claims 26 to 31.
  38. 一种计算机程序产品,其特征在于,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至16中任一项所述的方法,或如权利要求17至25中任一项所述的方法,或如权利要求26至31中任一项所述的方法。A computer program product, characterized by comprising computer program instructions, the computer program instructions causing the computer to perform the method as described in any one of claims 1 to 16, or as described in any one of claims 17 to 25 The method, or the method according to any one of claims 26 to 31.
  39. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求1至16中任一项所述的方法,或如权利要求17至25中任一项所述的方法,或如权利要求26至31中任一项所述的方法。A computer program, characterized in that the computer program causes the computer to perform the method according to any one of claims 1 to 16, or the method according to any one of claims 17 to 25, or the method according to any one of claims 17 to 25. The method of any one of claims 26 to 31.
PCT/CN2022/110844 2022-08-08 2022-08-08 Methods for managing forbidden public land mobile network (plmn), and terminal devices WO2024031238A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/110844 WO2024031238A1 (en) 2022-08-08 2022-08-08 Methods for managing forbidden public land mobile network (plmn), and terminal devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/110844 WO2024031238A1 (en) 2022-08-08 2022-08-08 Methods for managing forbidden public land mobile network (plmn), and terminal devices

Publications (1)

Publication Number Publication Date
WO2024031238A1 true WO2024031238A1 (en) 2024-02-15

Family

ID=89850167

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/110844 WO2024031238A1 (en) 2022-08-08 2022-08-08 Methods for managing forbidden public land mobile network (plmn), and terminal devices

Country Status (1)

Country Link
WO (1) WO2024031238A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160373928A1 (en) * 2015-06-18 2016-12-22 Samsung Electronics Co., Ltd. Method of controlling a timer in user equipment
US20190053054A1 (en) * 2017-08-10 2019-02-14 Qualcomm Incorporated Forbidden network list management
CN110741688A (en) * 2018-05-21 2020-01-31 联发科技股份有限公司 Disabled public land mobile network list enhancement processing
CN111182520A (en) * 2019-12-20 2020-05-19 翱捷科技(上海)有限公司 Multi-card multi-standby single-pass mobile terminal and method for reducing interference between cards
CN112333792A (en) * 2020-11-27 2021-02-05 紫光展锐(重庆)科技有限公司 Method and device for processing network access failure
US20210051577A1 (en) * 2019-08-14 2021-02-18 Nokia Technologies Oy Method and apparatus for handling non-integrity protected reject messages in non-public networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160373928A1 (en) * 2015-06-18 2016-12-22 Samsung Electronics Co., Ltd. Method of controlling a timer in user equipment
US20190053054A1 (en) * 2017-08-10 2019-02-14 Qualcomm Incorporated Forbidden network list management
CN110741688A (en) * 2018-05-21 2020-01-31 联发科技股份有限公司 Disabled public land mobile network list enhancement processing
US20210051577A1 (en) * 2019-08-14 2021-02-18 Nokia Technologies Oy Method and apparatus for handling non-integrity protected reject messages in non-public networks
CN111182520A (en) * 2019-12-20 2020-05-19 翱捷科技(上海)有限公司 Multi-card multi-standby single-pass mobile terminal and method for reducing interference between cards
CN112333792A (en) * 2020-11-27 2021-02-05 紫光展锐(重庆)科技有限公司 Method and device for processing network access failure

Similar Documents

Publication Publication Date Title
CN101827463B (en) Dual-mode dual-card dual-standby single-pass wireless terminal and communication method thereof
CN110798877B (en) Method for searching network and user equipment
CN103037448A (en) Content publishing method and user device
CN108476536B (en) Method and apparatus for wireless communication
CN101827464B (en) Dual-mode dual-card dual-standby dual-pass wireless terminal and communication method thereof
EP2907331A1 (en) Inter-device communication authorization and data sniffing in wireless communication systems
TWI720494B (en) Method for handling problem cell in mobile communications
CN106454793B (en) Method for controlling timer in user equipment
US20210051575A1 (en) System information updating method, terminal device, and network device
EP4132039A1 (en) User equipment having multiple subscriber identity modules with improved suspend / resume operation
US20230224797A1 (en) Network access method, terminal device, and network device
WO2024041288A1 (en) Slice request method and terminal device
US9936378B2 (en) Device and method of handling non access stratum procedure
WO2024031238A1 (en) Methods for managing forbidden public land mobile network (plmn), and terminal devices
CN105578541A (en) Communication device processing proximity service application code
WO2021056131A1 (en) Radio communication method, terminal device, and network device
CN109863784B (en) Method for controlling network congestion, terminal equipment and network equipment
TWI702863B (en) Mobile communication device and method for coordinating operations of receiving cell broadcast messages using different subscriber numbers and sharing schedule information therebetween
CN116965102A (en) Wireless communication method, terminal device and network device
CN115516927A (en) Wireless communication method, terminal equipment and network equipment
RU2810306C1 (en) Method and device of relay communication
WO2022161363A1 (en) Network access method and apparatus, and terminal device
WO2022094804A1 (en) Wireless communication method, terminal device, and network device
WO2022134070A1 (en) Wireless communication method, terminal device and network device
EP4145924A1 (en) Paging optimization method and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22954218

Country of ref document: EP

Kind code of ref document: A1