Communication method and device, electronic equipment, chip and storage medium
By automatically clearing the PLMN list of the communication card when the terminal detects the card change and supports the T3245 behavior, the problem of the communication card being unable to clear the PLMN list in time after the communication card is replaced, and faster network access and user services are achieved.
Patent Information
- Application Number
- CN202411074155.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2025-07-25
AI Technical Summary
In 3GPP wireless communication, when the communication card is switched from one terminal to another, the prohibited PLMN list cannot be cleared in time, affecting user services.
When the terminal detects that the card is changed and supports the T3245 behavior, the communication card is automatically cleared to avoid manual intervention.
It improves the efficiency of terminal access to the network, ensures that users can quickly obtain services, and improves user satisfaction.
Smart Images

Figure CN120378860A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular, to a communication method, apparatus, electronic device, chip, and storage medium. Background Art
[0002] In the 3GPP wireless communication field, a list of prohibited Public Land Mobile Networks (PLMNs) is stored in a Subscriber Identity Module (SIM) / Universal Subscriber Identity Module (USIM) card file and read by a terminal. Summary of the Invention
[0003] The present disclosure provides a communication method, apparatus, electronic device, chip, and storage medium to solve the problems in the related art.
[0004] In a first aspect embodiment of the present disclosure, a communication method is proposed. The method includes: determining that an identifier of a communication card inserted in a first terminal is not stored in the first terminal; determining that the first terminal and / or the communication card meet a first condition; at a first opportunity, clearing a first network information list in the communication card, where the first network information list includes PLMNs prohibited from accessing the communication card.
[0005] In some embodiments of the present disclosure, determining that the first terminal and / or the communication card meet the first condition includes at least one of the following: determining, according to a first card file in the communication card, that the communication card exists and supports the behavior of the T3245 timer; determining, according to configuration information of the first terminal, that the first terminal supports the behavior of the T3245 timer; determining, according to a second card file in the communication card, that the first network information list in the second card file is not empty.
[0006] In some embodiments of the present disclosure, the first opportunity includes at least one of the following: a first moment, which is the moment when it is determined that the identifier of the communication card inserted in the first terminal is not stored in the first terminal; a second moment, which is the moment when it is determined that the first terminal and / or the communication card meet the first condition; a third moment, which is the end moment after a timing duration of the T3245 timer starting from the first moment or the second moment; a fourth moment, which is the end moment after the remaining duration of the T3245 timer on a second terminal starting from the first moment or the second moment.
[0007] In some embodiments of the present disclosure, the method further includes: starting the T3245 timer at the first moment or the second moment, where the third moment is reached when the timing duration of the T3245 timer expires.
[0008] In some embodiments of the present disclosure, the method further includes: reading a third card file in the communication card, and obtaining the remaining duration of the T3245 timer on the second terminal from the third card file, where the remaining duration is the difference between the timing duration and the elapsed duration, and the elapsed duration is the duration between the start time of the T3245 timer on the second terminal and the time when the communication card is removed from the second terminal.
[0009] In some embodiments of the present disclosure, the first network information list includes at least one of the following: one or more first public land mobile networks (PLMNs) prohibited from accessing the communication card written by the operator of the communication card; one or more second PLMNs that reject access to the communication card written by the second terminal, where the second PLMNs are determined by the second terminal according to the rejection information provided by the core network; one or more third PLMNs that reject access to the communication card written by the first terminal, where the third PLMNs are determined by the first terminal according to the rejection information provided by the core network.
[0010] In some embodiments of the present disclosure, the rejection information includes at least one of the following: a non-permitted PLMN; an unauthorized serving network; a PLMN for which the requested service option is unauthorized.
[0011] An embodiment of the second aspect of the present disclosure provides a communication device, which includes: a first processing unit for determining that the identifier of the communication card inserted in the first terminal is not stored in the first terminal; a second processing unit for determining that the first terminal and / or the communication card meets the first condition; and a third processing unit for emptying the first network information list in the communication card at a first opportunity, where the first network information list includes a public land mobile network (PLMN) that prohibits access to the communication card.
[0012] An embodiment of the third aspect of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in the embodiment of the first aspect of the present disclosure.
[0013] An embodiment of the fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the method described in the embodiment of the first aspect of the present disclosure.
[0014] An embodiment of the fifth aspect of the present disclosure provides a chip, which includes at least one processor and a communication interface; the communication interface is used to receive a signal input to the chip or a signal output from the chip, and the processor communicates with the communication interface and implements the method described in the embodiment of the first aspect of the present disclosure through logic circuits or by executing code instructions.
[0015] In summary, when the relevant conditions are met, the communication method proposed in this disclosure can clear the first network information list at the first opportunity, which can avoid manual intervention to automatically clear the network information list in the scenario of changing the SIM card, facilitating the first terminal to improve the efficiency of providing services to users.
[0016] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with this disclosure, and are used together with the specification to explain the principles of this disclosure, and do not constitute an improper limitation of this disclosure.
[0018] Figure 1 It is a schematic flowchart of a communication method provided by an embodiment of this disclosure;
[0019] Figure 2 It is a schematic flowchart of a communication method provided by an embodiment of this disclosure;
[0020] Figure 3 It is a schematic flowchart of a communication method provided by an embodiment of this disclosure;
[0021] Figure 4 It is a schematic flowchart of a method for clearing the prohibited PLMN list by using the T3245 behavior provided by an embodiment of this disclosure;
[0022] Figure 5 It is a schematic structural diagram of a communication device provided by an embodiment of this disclosure;
[0023] Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of this disclosure;
[0024] Figure 7 It is a schematic structural diagram of a chip provided by an embodiment of this disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0025] The embodiments of this disclosure will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain this disclosure and should not be construed as limiting this disclosure.
[0026] In the 3GPP wireless communication field, the prohibited PLMN list is stored in the SIM / USIM card file and read by the terminal. When receiving a core network rejection reason in a certain PLMN network, such as "PLMN not allowed" (#11), "Serving network not authorized" (#73), or "Requested service option not authorized in this PLMN" (#35), the terminal writes this PLMN into the prohibited PLMN list in the card file.
[0027] In addition, for terminals supporting T3245 behavior, the 3GPP protocol has clear requirements, which are briefly described as follows:
[0028] When meeting the above rejection reason conditions, while writing the current PLMN into the card file EF prohibited PLMN list (ForbiddenPLMNs, FPLMN), the terminal shall start the T3245 timer;
[0029] When the T3245 timer expires, the terminal needs to clear the prohibited PLMN list in the card file;
[0030] Among them, whether to support T3245 behavior is jointly determined by the content of the communication card elementary file (EF) non-access stratum configuration (NASCONFIG) and the configuration of the terminal, and the card file content takes precedence over the terminal configuration.
[0031] The current problem is that when T3245 is running and the card is unplugged and inserted into another terminal, for the new terminal:
[0032] 1. There is a prohibited PLMN list in the card file and the list is not empty;
[0033] 2. It is impossible to detect whether T3245 is running because it is impossible to distinguish whether the PLMN in the prohibited PLMN list was written when the operator issued the card or added after receiving a network rejection reason on other terminals.
[0034] Therefore, unless the user intervenes manually, the PLMN in the prohibited PLMN list cannot be cleared in time, which may affect the user service.
[0035] In the solutions of the related art, when the terminal adds a PLMN to the prohibited PLMN list or sets the USIM to invalid, for 5GS services with 3GPP access or non-3GPP access, when the timer T3245 is not running, the terminal will start the T3245 timer specified by the relevant protocol. When the timer T3245 expires, the terminal shall clear the prohibited PLMN list and the PLMN list prohibited for GPRS services, and set the USIM to allow 3GPP access or non-3GPP access. After the prohibited PLMN list is cleared, the terminal performs cell selection according to the relevant protocol.
[0036] In the above solution, the timer operation record is in the terminal, and the prohibited PLMN list is recorded in the card file.
[0037] Based on the above solution, when the terminal shuts down without a SIM card change, the terminal needs to record the remaining duration of T3245, and the timer continues to run after the terminal is powered on.
[0038] This solution has some disadvantages. For example, if the card is removed during the timer operation and then inserted into another terminal, the new terminal cannot recognize whether T3245 is running; the new terminal cannot clear the prohibited PLMN list in time, and unless there is no human intervention, the terminal cannot automatically perform normal cell search within the prohibited PLMN range.
[0039] Therefore, to solve the above problems, the present disclosure proposes a communication method. When the terminal detects a SIM card change and supports the T3245 behavior, all PLMNs in the prohibited PLMN list can be directly cleared. In this way, without manual intervention, the terminal can still try to search for a cell with normal service as soon as possible, achieving the purpose of providing services to users as soon as possible.
[0040] The specific content of this method is as follows.
[0041] Figure 1 It is a schematic flowchart of a communication method provided by an embodiment of the present disclosure. As Figure 1 shown, this method can be executed by an electronic device. Optionally, this method can be executed by a first terminal. This method may include the following steps.
[0042] Step 101, determine that the identifier of the communication card inserted in the first terminal is not stored in the first terminal.
[0043] In some embodiments, the communication card may be a SIM card or a USIM card.
[0044] In some embodiments, when a communication card is inserted into a first terminal, the first terminal can identify the identifier of the communication card. When the communication card has never been inserted into the first terminal, or when the first terminal has cleared the information related to the communication card, the identifier of the communication card and the information related to the communication card may not be stored in the first terminal. At this time, it can be determined that the identifier of the communication card inserted into the first terminal is not stored in the first terminal.
[0045] Step 102, determine that the first terminal and / or the communication card meet the first condition.
[0046] In some embodiments, determining that the first terminal and / or the communication card meet the first condition includes at least one of the following:
[0047] Determine that the communication card exists and supports the T3245 timer behavior according to the first card file in the communication card;
[0048] Determine that the first terminal supports the T3245 timer behavior according to the configuration information of the first terminal;
[0049] Determine that the first network information list in the second card file is not empty according to the second card file in the communication card.
[0050] In some embodiments, by way of example, the first card file may be EF(NASCONFIG), that is, it may be the non-access stratum configuration content of the communication card basic file. When the first card file exists and supports the T3245 behavior, it can be determined that the communication card meets the first condition. The first card file may include an information segment for indicating whether it exists and supports the T3245 behavior. For example, the first card file includes a first information segment, and the first information segment may include a bit. When the bit is 0, it may indicate that the first card file does not have the T3245 behavior. When the bit is 1, it may indicate that the first card file has the T3245 behavior. Or when the bit is 1, it may indicate that the first card file does not have the T3245 behavior, and when the bit is 0, it may indicate that the first card file has the T3245 behavior. When the information segment indicates that the first card file does not have the T3245 behavior, it is determined that the first card file does not meet the first condition. When the information segment indicates that the first card file has the T3245 behavior, it can continue to determine whether the first card file supports the T3245 behavior.
[0051] In the above embodiments, similarly, the first card file may include a second information segment, and the first information segment may include one bit. When the bit is 0, it may indicate that the first card file does not support the T3245 behavior, and when the bit is 1, it may indicate that the first card file supports the T3245 behavior. Or when the bit is 1, it may indicate that the first card file does not support the T3245 behavior, and when the bit is 0, it may indicate that the first card file supports the T3245 behavior. When the information segment indicates that the first card file supports the T3245 behavior, it can be determined that the communication card meets the first condition; otherwise, it can be determined that the communication card does not meet the first condition.
[0052] Specifically, the above information segment of the first card file may indicate the existence or support of the T3245 behavior in other forms, or the first card file may indicate the existence or support of the T3245 behavior in other ways, and the present disclosure places no restrictions thereon.
[0053] In some embodiments, it can be determined whether the first terminal meets the first condition according to the configuration information of the first terminal. For example, when the configuration information of the first terminal indicates that the first terminal supports the T3245 timer behavior, it can be determined that the first terminal meets the first condition. Similar to the method of determining whether the communication card meets the first condition through the first card file above, the first terminal can determine whether it supports the T3245 behavior through the information segment included in the configuration information, and the present disclosure places no restrictions on the specific indication method of the configuration information.
[0054] In some embodiments, for example, the second card file may be an elementary file EF, and the name of the first network information list may be "Forbidden PLMN List", "Forbidden List", etc. The first network information list includes the public land mobile network PLMNs that the communication card is prohibited from accessing.
[0055] Specifically, when the first network information list is not empty, before the communication card is inserted into the first terminal, some prohibited public land mobile network PLMNs have been added. The communication card was replaced to the first terminal when the T3245 timer of the previous terminal did not expire, and the first network information list of the communication card was not cleared. After the communication card is inserted into the first terminal, since the first network information list is not empty, the first terminal cannot access the PLMNs saved in the first network information. At this time, the communication card meets the first condition.
[0056] Step 103, at a first opportunity, clear the first network information list in the communication card.
[0057] In some embodiments, in order for the first terminal to improve the efficiency of accessing the public land mobile network PLMN, the first terminal may clear the first network information list in the communication card at the first opportunity.
[0058] In some embodiments, the first network information list includes at least one of the following:
[0059] One or more first PLMNs that are prohibited from accessing the communication card and written by the operator of the communication card;
[0060] One or more second PLMNs that are written by the second terminal to reject access to the communication card, and the second PLMNs are determined by the second terminal according to the rejection information provided by the core network;
[0061] One or more third PLMNs that are written by the first terminal to reject access to the communication card, and the third PLMNs are determined by the first terminal according to the rejection information provided by the core network.
[0062] The rejection information includes at least one of the following:
[0063] PLMNs that are not allowed;
[0064] Unauthorized service networks;
[0065] PLMNs for which the requested service options are not authorized.
[0066] In some embodiments, the second terminal may be the terminal into which the communication card is inserted before being inserted into the first terminal. In other words, the communication card can be switched from the second terminal to the first terminal.
[0067] In some embodiments, the prohibited PLMNs in the first network information list may be written by the communication operator. In other words, the communication operator can determine the PLMNs that the communication card is prohibited from accessing and write the prohibited PLMNs into the communication card. The first terminal can read the prohibited PLMNs written by the operator when reading the communication card.
[0068] In some embodiments, before the communication card is switched from the second terminal to the first terminal, when the communication card is inserted into the second terminal, the second terminal can determine the PLMNs that are prohibited from accessing the communication card according to the information provided by the core network. The rejection information of the core network may be, for example, PLMNs that are not allowed; unauthorized service networks; PLMNs for which the requested service options are not authorized. In other words, when the second terminal uses the communication card to access the network and receives the above rejection information from the core network, it can write the prohibited PLMNs into the prohibited PLMN list of the communication card. The first terminal can read the prohibited PLMNs written by the second terminal when reading the communication card.
[0069] In some embodiments, after the communication card is inserted into the first terminal, the first terminal may determine the PLMNs that are prohibited from accessing the communication card based on the information provided by the core network. The rejection information of the core network may be, for example, PLMNs that are not allowed; unauthorized serving networks; PLMNs for which the requested service options are not authorized. In other words, when the first terminal uses the communication card to access the network and receives the above rejection information from the core network, it may write the prohibited PLMNs into the prohibited PLMN list of the communication card. The first terminal may read the prohibited PLMNs written by the first terminal when reading the communication card.
[0070] Specifically, the first timing includes at least one of the following:
[0071] The first moment, which is the moment when it is determined that the identifier of the communication card inserted in the first terminal is not stored in the first terminal;
[0072] The second moment, which is the moment when it is determined that the first terminal and / or the communication card meet the first condition;
[0073] The third moment, which is the end moment after the elapse of the timing duration of the T3245 timer starting from the first moment or the second moment;
[0074] The fourth moment, which is the end moment after the elapse of the remaining duration of the T3245 timer on the second terminal starting from the first moment or the second moment.
[0075] In some embodiments, the first terminal may clear the first network information list at the first moment. That is, when the first terminal determines that the communication card identifier is not stored, it may directly clear the prohibited PLMN list of the communication card. In other words, the first terminal may clear the prohibited PLMN list after detecting a card change.
[0076] In some embodiments, the first terminal may clear the first network information list at the second moment. That is, when the first terminal determines that the first terminal and / or the communication card meet the first condition, it may clear the first network information list. In other words, when the first terminal determines that the first terminal or the communication card supports the T3245 behavior, it may clear the first network information list.
[0077] In some embodiments, the first terminal may clear the first network information list at the third moment. That is, when the first terminal detects a card change or determines that the first terminal and / or the communication card support the T3245 behavior, it may start the T3245 timer and clear the first network information list after the timer expires. In other words, after the communication card is changed from the second terminal to the first terminal, a new timer may be restarted, and the prohibited PLMN list may be cleared when the timer expires.
[0078] In some embodiments, the first terminal may clear the first network information list at the fourth moment. That is, when the first terminal detects a SIM card change or determines that the first terminal and / or the communication card support the T3245 behavior, it reads the timer information of the communication card on the second terminal, determines the remaining duration of the timer, and processes the first network information list according to the remaining duration of the timer, that is, clears the prohibited PLMN list when the remaining duration ends.
[0079] In summary, in the above embodiments of the present disclosure, when the conditions are met, the first terminal can clear the first network information list at the first opportunity. At this time, it can normally search for the networks included in the prohibited PLMN list, improve the efficiency of the terminal accessing the network, enable the terminal to provide services to users faster, and improve user satisfaction.
[0080] Figure 2 It is a schematic flow chart of a communication method provided by an embodiment of the present disclosure. As Figure 2 shown, based on Figure 1 the embodiments shown, the method includes the following steps.
[0081] Step 201, start the T3245 timer at the first moment or the second moment.
[0082] In some embodiments, when the timing duration of the T3245 timer expires, the third moment is reached. In other words, the T3245 timer can be started at the first moment or the second moment, and the moment when the timer ends is the third moment.
[0083] In some embodiments, a new T3245 timer can be started at the first moment or the second moment to clear the first network information list when the timer ends.
[0084] In summary, in the above embodiments of the present application, a new timer can be started after the SIM card is changed to facilitate determining the first opportunity. After the timer times out, the first network information list can be cleared, improving the efficiency of the terminal accessing the network, enabling the terminal to provide services to users faster, and improving user satisfaction.
[0085] Figure 3 It is a schematic flow chart of a communication method provided by an embodiment of the present disclosure. As Figure 3 shown, based on Figure 1 the embodiments shown, the method includes the following steps.
[0086] Step 301, read the third card file in the communication card and obtain the remaining duration of the T3245 timer on the second terminal from the third card file.
[0087] In some embodiments, a third card file may be included in the communication card. The third card file may include timer information of the first network information list in the communication card. For example, the third card file may include the timer information recorded by the communication card in the previous terminal, that is, the timer information of the communication card on the second terminal.
[0088] Wherein, the remaining duration is the difference between the timing duration and the elapsed duration. The elapsed duration is the duration between the start time of the T3245 timer on the second terminal and the time when the communication card is removed from the second terminal.
[0089] In other words, when a prohibited PLMN is added to the communication card in the second terminal, a timer can be set. After the timer times out, the second terminal can clear the prohibited PLMN.
[0090] Exemplarily, when the timer on the second terminal has not ended, the communication card can be switched from the second terminal to the first terminal. At this time, the third card file of the communication card can record the timer information when the communication card is removed from the second terminal, such as the start time of the timer, the elapsed duration, the timing duration, etc.
[0091] In summary, the first terminal can determine the remaining duration of the timer through the third card file, which is convenient for determining the clearing time of the first network information list, improving the efficiency of the terminal accessing the network, enabling the terminal to provide services to users faster, and improving user satisfaction.
[0092] The technical solution of the present disclosure will be further described in detail below in combination with specific application embodiments.
[0093] The following is a method for clearing the prohibited PLMN list by using T3245 behavior provided by the embodiments of the present disclosure. This method is mainly used in the following scenarios.
[0094] 1. The card file EF(NASCONFIG) (Non-Access Stratum Configuration) exists and supports T3245 behavior, or the card file does not support T3245 behavior, but the terminal configuration supports T3245 behavior;
[0095] 2. The prohibited PLMN list in the card file EFFPLMN (Forbidden PLMNs) is not empty;
[0096] 3. The terminal detects a card change.
[0097] Under the above scenario conditions, during the power-on or card-reading stage, the UE directly clears the prohibited PLMN list.
[0098] The flow of this method is as Figure 4 shown. The main processes of this method include:
[0099] 1. After the terminal 1 receives the rejection reason from the network (for example, the PLMN is not allowed, the serving network is not authorized, or the service option requested in the PLMN is not authorized), it adds the current PLMN to the prohibited PLMN list in the card file EFFPLMN (ForbiddenPLMNs) and starts the timer T3245;
[0100] 2. During the operation of T3245 (as stipulated by the protocol, the timer length is between 12 hours and 24 hours), the card is removed from the terminal 1 and inserted into the terminal 2;
[0101] 3. The terminal 2 recognizes the insertion of the new card and supports the behavior of T3245. If it detects that the prohibited PLMN list in the card file EFFPLMN (ForbiddenPLMNs) is not empty, it clears the prohibited PLMN list;
[0102] Specifically, the terminal 2 can immediately clear the content of the prohibited PLMN list in the card file EFFPLMN (ForbiddenPLMNs) when the following conditions are met.
[0103] Condition 1: The card file EF(NASCONFIG) (Non Access Stratum Configuration) exists and supports the behavior of T3245, or the card file does not support the behavior of T3245, but the terminal configuration supports the behavior of T3245.
[0104] Condition 2: The prohibited PLMN list in the card file EFFPLMN (Forbidden PLMNs) is not empty.
[0105] Condition 3: The UE detects a card change.
[0106] 4. Since the prohibited PLMN is cleared, normal service can be obtained by searching for the cells of the PLMN without user intervention.
[0107] This method can immediately clear the content of the prohibited PLMN list in the card file EFFPLMN (Forbidden PLMNs). Therefore, no matter which type of terminal is inserted later, normal cell search can be carried out.
[0108] In summary, for the above examples of the present disclosure, it is not necessary to identify whether T3245 is running. Only by identifying whether the prohibited list is empty and whether it supports the behavior of T3245 can corresponding measures be taken to clear the prohibited PLMN list, avoiding manual intervention; this method can immediately clear the prohibited PLMN list, and even when inserted into other terminals later (such as terminals that do not support this solution), it can ensure smooth cell search.
[0109] Figure 5Schematic diagram of a communication device 500 provided by an embodiment of the present disclosure. As Figure 5 shown, the device includes: a first processing unit 510, configured to determine that an identifier of a communication card inserted in a first terminal is not stored in the first terminal; a second processing unit 520, configured to determine that the first terminal and / or the communication card meet a first condition; a third processing unit 530, configured to clear a first network information list in the communication card at a first time, where the first network information list includes a public land mobile network (PLMN) that prohibits the communication card from accessing.
[0110] In some embodiments, the second processing unit 520 may further be configured to determine, according to a first card file in the communication card, that the communication card exists and supports T3245 timer behavior; determine, according to configuration information of the first terminal, that the first terminal supports T3245 timer behavior; and determine, according to a second card file in the communication card, that the first network information list in the second card file is not empty.
[0111] In some embodiments, the first time includes at least one of the following: a first moment, which is the moment when it is determined that an identifier of a communication card inserted in the first terminal is not stored in the first terminal; a second moment, which is the moment when it is determined that the first terminal and / or the communication card meet the first condition; a third moment, which is the end moment after a timing duration of a T3245 timer starting from the first moment or the second moment; and a fourth moment, which is the end moment after a remaining duration of the T3245 timer on a second terminal starting from the first moment or the second moment.
[0112] In some embodiments, the communication device further includes a fourth processing unit, configured to start a T3245 timer at the first moment or the second moment, where when a timing duration of the T3245 timer expires, the third moment is reached.
[0113] In some embodiments, the fourth processing unit may further be configured to read a third card file in the communication card, and obtain a remaining duration of the T3245 timer on the second terminal from the third card file, where the remaining duration is a difference between the timing duration and an elapsed duration, and the elapsed duration is a duration between a start moment of the T3245 timer on the second terminal and a moment when the communication card is removed from the second terminal.
[0114] In some embodiments, the first network information list includes at least one of the following: one or more first PLMNs written by an operator of the communication card that prohibit the communication card from accessing; one or more second PLMNs written by the second terminal that reject the communication card from accessing, where the second PLMNs are determined by the second terminal according to rejection information provided by a core network; and one or more third PLMNs written by the first terminal that reject the communication card from accessing, where the third PLMNs are determined by the first terminal according to rejection information provided by the core network.
[0115] In some embodiments, the rejection information includes at least one of the following: a non - allowed PLMN; an unauthorized serving network; a PLMN for which the requested service option is unauthorized.
[0116] In summary, when the conditions are met, the communication device 500 can empty the first network information list at the first opportunity, and can provide services for the terminal as soon as possible without manual intervention.
[0117] In the above - mentioned embodiments provided by the present application, the methods and devices provided by the embodiments of the present application are introduced. To implement each function in the methods provided by the embodiments of the present application, the electronic device may include a hardware structure, software modules, and implement the above - mentioned functions in the form of a hardware structure, software modules, or a combination of a hardware structure and software modules. A certain function among the above - mentioned functions can be executed in the form of a hardware structure, software module, or a combination of a hardware structure and software module.
[0118] Figure 6 It is a block diagram of an electronic device 600 for implementing the above - mentioned method shown according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0119] Referring to Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0120] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above - mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0121] The memory 604 is configured to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0122] The power supply component 606 provides power to various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
[0123] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0124] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker for outputting audio signals.
[0125] The I / O interface 612 provides an interface between the processing component 602 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power-on button, and a lock button.
[0126] The sensor assembly 614 includes one or more sensors for providing status assessments of various aspects for the electronic device 600. For example, the sensor assembly 614 can detect the on / off state of the electronic device 600, the relative positioning of components, such as components for the display and keypad of the electronic device 600. The sensor assembly 614 can also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0127] The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio), or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0128] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0129] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the above instructions can be executed by a processor 620 of the electronic device 600 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0130] Embodiments of the present disclosure also propose a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the methods described in the above embodiments of the present disclosure.
[0131] Embodiments of the present disclosure also propose a communication system, which includes a terminal and a network device. The terminal is used to implement the methods described in the embodiments of the first aspect of the present disclosure, and the network device can be used to implement the methods described in the embodiments of the second aspect of the present disclosure.
[0132] Figure 7 is a schematic structural diagram of a chip 700 for implementing the above method shown according to an exemplary embodiment. Refer to Figure 7 , the chip 700 includes a communication interface 701 and at least one processor 702. The communication interface 701 is used to receive signals input to the chip 700 or signals output from the above chip 700. The processor 702 communicates with the communication interface 701 and implements the methods described in the above embodiments of the present disclosure through logic circuits or by executing code instructions.
[0133] It should be noted that the terms "first", "second", etc. in the description of the present disclosure's specification and claims and the above drawings are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such used data may be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0134] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any appropriate way in at least one embodiment or example.
[0135] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present invention includes additional implementations where functions may be executed not in the order shown or discussed, including in a substantially simultaneous manner according to the functions involved or in a reverse order, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.
[0136] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered a sequenced list of executable instructions for implementing a logical function and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processing module, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. As used in this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection having at least one wire (control method), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which a program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a computer memory.
[0137] It should be understood that the various parts of the embodiments of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
[0138] Those of ordinary skill in the art can understand that all or part of the steps carried out in implementing the above-described embodiment methods can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium, and when the program is executed, it includes one or a combination of the steps of the method embodiment.
[0139] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing module, or each unit can exist physically alone, or two or more units can be integrated in a module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc.
[0140] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A communication method, characterized in that, The method includes: Determining that the identifier of the communication card inserted in the first terminal is not stored in the first terminal; Determining that the first terminal and / or the communication card meet a first condition; At a first timing, clearing a first network information list in the communication card, where the first network information list includes a public land mobile network (PLMN) that prohibits the communication card from accessing; 2. The method according to claim 1, wherein The determining that the first terminal and / or the communication card meet the first condition includes at least one of the following: Determining, according to a first card file in the communication card, that the communication card exists and supports the behavior of the T3245 timer; Determining, according to the configuration information of the first terminal, that the first terminal supports the behavior of the T3245 timer; Determining, according to a second card file in the communication card, that the first network information list in the second card file is not empty.
3. The method according to claim 1 or 2, characterized in that, The first timing includes at least one of the following: A first moment, where the first moment is the moment when it is determined that the identifier of the communication card inserted in the first terminal is not stored in the first terminal; A second moment, where the second moment is the moment when it is determined that the first terminal and / or the communication card meet the first condition; A third moment, where the third moment is the end moment after the timing duration of the T3245 timer starting from the first moment or the second moment; A fourth moment, where the fourth moment is the end moment after the remaining duration of the T3245 timer on the second terminal starting from the first moment or the second moment.
4. The method according to claim 3, wherein The method further includes: At the first moment or the second moment, starting the T3245 timer, where when the timing duration of the T3245 timer expires, it reaches the third moment.
5. The method according to claim 3, characterized in that, The method further includes: Reading a third card file in the communication card, and obtaining the remaining duration of the T3245 timer on the second terminal from the third card file, where the remaining duration is the difference between the timing duration and the elapsed duration, and the elapsed duration is the duration between the start moment of the T3245 timer on the second terminal and the moment when the communication card is removed from the second terminal.
6. The method according to claim 1, characterized in that, The first network information list includes at least one of the following: One or more first PLMNs written by the operator of the communication card that prohibit the communication card from accessing; One or more second PLMNs written by the second terminal that reject the communication card from accessing, where the second PLMNs are determined by the second terminal according to rejection information provided by the core network; One or more third PLMNs written by the first terminal that reject the communication card from accessing, where the third PLMNs are determined by the first terminal according to rejection information provided by the core network.
7. The method according to claim 6, characterized in that, The rejection information includes at least one of the following: PLMNs not allowed; Unauthorized service networks; PLMNs for which the requested service options are not authorized.
8. A communication device, the device includes: A first processing unit, configured to determine that the identifier of the communication card inserted in the first terminal is not stored in the first terminal; A second processing unit, configured to determine that the first terminal and / or the communication card meet the first condition; A third processing unit, configured to clear a first network information list in the communication card at a first time, where the first network information list includes public land mobile networks (PLMNs) that prohibit the communication card from accessing.
9. An electronic device, characterized in that, Comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method according to any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
11. A chip, characterized in that, Comprising at least one processor and a communication interface; the communication interface is configured to receive signals input to the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method according to any one of claims 1 to 7 through logic circuits or by executing code instructions.