A terminal configuration method and apparatus
By reading IMSI, SPN or GID information in advance and configuring operator parameters when the SIM card is powered on, the problem of terminal reading SIM card information is solved, and faster and more accurate network access is achieved.
Patent Information
- Application Number
- CN202210439053.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-15
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2038-10-15
AI Technical Summary
In the prior art, the terminal reads the IMSI of the SIM card late, resulting in the UE accessing the network later.
When the SIM card is powered on, the wireless communication module reads the IMSI, SPN or GID information in the SIM card in advance and sends it to the application processor, which obtains operator parameters and configures the terminal based on this information.
Obtaining SIM card information in advance shortens the time for terminals to access the network and improves configuration efficiency and accuracy.
Smart Images

Figure CN114980070B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of biometric identification technology, and particularly to a terminal configuration method and device. Background Art
[0002] Currently, a terminal (UE) can identify the operator of a subscriber identification module (SIM) card based on SIM card information such as the International Mobile Subscriber Identity (IMSI) stored in the SIM card in the UE, and obtain the operator parameters corresponding to the operator and configure the operator parameters, so that the UE can automatically configure the operator parameters to obtain the services of the operator, eliminating the cumbersome steps of the user manually configuring the operator parameters and improving the configuration efficiency and accuracy.
[0003] However, in the current solution for the UE to read SIM card information in the SIM card, it needs to be started by the application processor (AP) of the UE after the SIM card file is loaded. Therefore, the time for the UE to read SIM card information is relatively late, resulting in the UE accessing the network relatively late. Summary of the Invention
[0004] Embodiments of this application provide a terminal configuration method and device, which are used to solve the technical problem that the existing terminal reads the IMSI of the SIM card relatively late.
[0005] In a first aspect, a terminal configuration method is provided. This method is applied to a terminal including an application processor and a wireless communication module. When the wireless communication module determines that the SIM card in the terminal is powered on, it reads the first information in the SIM card from the SIM card. After that, the wireless communication module sends the first information to the application processor, and the application processor obtains the operator parameters according to the first information reported by the wireless communication module and configures the terminal, where the first information includes some or all of the International Mobile Subscriber Identity (IMSI), Service Provider Name (SPN), or Global Identifier (GID).
[0006] Compared with the prior art in which the wireless communication module can only obtain some or all of the SIM card information such as IMSI, SPN, or GID in the SIM card after the application processor starts the operator parameter configuration program, the above method can advance the time for the wireless communication module to obtain SIM card information to the moment when the SIM card is powered on. After that, the wireless communication module sends the SIM card information to the application processor, and the application processor determines the operator parameters according to the SIM card information. Therefore, the timing of the terminal automatically configuring the operator parameters is advanced.
[0007] In a possible design, it further includes: the application processor sends information of carrier parameters to the wireless communication module, the wireless communication module determines the carrier parameters according to the information of the carrier parameters, and the wireless communication module loads the carrier parameters. Thus, the carrier parameters obtained by the application processor and the wireless communication module can be synchronized, avoiding errors caused by the application processor and the wireless communication module loading different carrier parameters respectively.
[0008] Furthermore, before the wireless communication module loads the carrier parameters, a preloading process can be executed by the wireless communication module to avoid missing AT commands and other messages during the process of the wireless communication module loading the carrier parameters, or errors occurring during the loading process of the carrier parameters.
[0009] Specifically, the preloading process may include: if the wireless communication module receives a first command through the notification AT command channel, and the first command includes the information of the carrier parameters, the wireless communication module locks the AT command channel and caches the AT commands sent by the application processor, and after the wireless communication module finishes loading the carrier parameters, the lock on the AT command channel can be released; and / or, the wireless communication module performs a soft shutdown. By adopting the above method, it is possible to avoid missing AT commands and other messages during the process of the wireless communication module loading the carrier parameters, and after the wireless communication module finishes loading the carrier parameters, it can execute antenna turn-on (radio ON) and enter the power-on state.
[0010] Alternatively, the preloading process may include: the wireless communication module enters the update (refresh) state. After each sub-module of the wireless communication module loads the carrier parameters, the wireless communication module exits the refresh state.
[0011] In a possible design, if the first information includes the IMSI, when the application processor obtains the carrier parameters according to the IMSI, the application processor determines the carrier parameters corresponding to the IMSI according to the first mapping relationship, and the first mapping relationship is the mapping relationship between the IMSI and the carrier parameters. Thus, the UE can be enabled to load the carrier parameters of the mobile operator's SIM card.
[0012] In a possible design, if the first information includes the IMSI and the second information, and the second information includes the SPN and / or the GID, when the application processor obtains the carrier parameters according to the first information, the application processor determines the carrier parameters corresponding to the IMSI of the SIM card and the second information according to the second mapping relationship, and the second mapping relationship is the mapping relationship among the IMSI, the second information and the carrier parameters. Thus, the UE can be enabled to load the carrier parameters of the mobile virtual operator's SIM card.
[0013] In a possible design, the terminal further includes a wireless interface module. When the wireless communication module sends the first information to the application processor, the wireless communication module can send the first information to the wireless interface module, and the wireless interface module sends the first information to the application processor.
[0014] In a possible design, the wireless communication module sends the first message to the application processor through a first channel, and the first channel is a dedicated transmission channel for sending the first message.
[0015] In a second aspect, an embodiment of the present application provides a terminal, including a processor and a memory; wherein the processor includes an application processor and a wireless communication module. The memory is used to store program instructions and data; the processor is configured to read the program instructions in the memory to implement the following operations: when the wireless communication module determines that the subscriber identity module (SIM) card in the terminal is powered on, read the first information of the SIM card from the SIM card and send it to the application processor, and the application processor obtains operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card. Wherein, the first information includes part or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identifier (GID).
[0016] In a possible design, the processor can also be used for: the application processor sends the information of the operator parameters to the wireless communication module, the wireless communication module determines the operator parameters according to the information of the operator parameters, and the wireless communication module loads the operator parameters.
[0017] Further, before the wireless communication module loads the operator parameters, the wireless communication module can execute a preloading process to avoid missing AT commands and other messages during the process of the wireless communication module loading the operator parameters, or errors occurring during the process of loading the operator parameters.
[0018] In a possible design, if the first information includes the IMSI, when the application processor obtains the operator parameters according to the IMSI, the application processor can determine the operator parameters corresponding to the IMSI according to a first mapping relationship, and the first mapping relationship is a mapping relationship between the IMSI and the operator parameters.
[0019] In a possible design, if the first information includes the IMSI and the second information, and the second information includes the SPN and / or GID, when the application processor obtains the operator parameters according to the first information, the application processor may determine the operator parameters corresponding to the IMSI and the second information of the SIM card according to the second mapping relationship, where the second mapping relationship is the mapping relationship among the IMSI, the second information, and the operator parameters.
[0020] In a possible design, the processor may further include a wireless interface module. When the wireless communication module sends the first information to the application processor, the wireless communication module may send the first information to the wireless interface module, and the wireless interface module may send the first information to the application processor.
[0021] In a possible design, the terminal may be configured such that the wireless communication module sends the first information to the application processor through a first channel, where the first channel is a dedicated transmission channel for sending the first information.
[0022] In a third aspect, an embodiment of the present application provides a terminal for implementing the above first aspect or any method in the first aspect, including corresponding functional modules respectively configured to implement the steps in the above methods. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0023] In a possible design, the terminal may include an application processor and a wireless communication module. The wireless communication module may be configured to read the first information from the SIM card when determining that the subscriber identity module (SIM) card in the terminal is powered on, and send the first information to the application processor. The application processor may be configured to obtain operator parameters according to the first information, where the operator parameters are used for the terminal to access the operator's network through the SIM card.
[0024] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium including program instructions that, when executed on a computer, cause the computer to execute the method in the first aspect or any possible design in the first aspect.
[0025] In a fifth aspect, an embodiment of the present application provides a computer program product that, when run on a computer, causes the computer to execute the method in the first aspect or any possible design in the first aspect.
[0026] Sixth aspect, an embodiment of the present application provides a chip, which can be coupled to a memory and can be used to execute program instructions in the memory, and execute the method of the first aspect and any possible design thereof in the embodiments of the present application. "Coupling" means that two components are directly or indirectly combined with each other. For example, coupling can refer to an electrical connection between two components.
[0027] For the technical effects brought by the above second aspect to sixth aspect, reference can be made to the description of the first aspect above, and details are not repeated here. Description of the Drawings
[0028] Figure 1 It is a schematic diagram of a communication system architecture applicable to an embodiment of the present application;
[0029] Figure 2 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present application;
[0030] Figure 3 It is a schematic flowchart of a terminal configuration method provided by an embodiment of the present application;
[0031] Figure 4 It is a schematic flowchart of another terminal configuration method provided by an embodiment of the present application;
[0032] Figure 5 It is a schematic flowchart of another terminal configuration method provided by an embodiment of the present application;
[0033] Figure 6 It is a schematic logical diagram of another terminal configuration method provided by an embodiment of the present application;
[0034] Figure 7 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present application;
[0035] Figure 8 It is a schematic diagram of the structure of another terminal provided by an embodiment of the present application. Detailed Embodiments
[0036] An embodiment of the present application provides a terminal configuration method. When the wireless communication module of the UE determines that the SIM card is powered on, it reads some or all of the information of the international mobile subscriber identification number (IMSI), service provider name (SPN), or group identification ID (GID) from the SIM card. Thereafter, the wireless communication module sends this information to the application processor of the UE, and the application processor obtains operator parameters based on some or all of the IMSI, SPN, or GID sent by the wireless communication module and configures the UE, thereby advancing the timing for the UE to obtain the first information.
[0037] The following explains the technical terms that may be involved in the embodiments of the present application:
[0038] IMSI can be stored in the SIM card and can be used to uniquely identify a user. Specifically, IMSI consists of a mobile country code (MCC), a mobile network code (MNC), and a mobile subscriber identification number (MSIN). Among them, MCC consists of 3 digits and uniquely identifies the country to which the user belongs. For example, the MCC corresponding to China is 460; MNC is the identifier of the network and consists of 1 to 2 digits, which can be used to identify the network to which the user belongs and the operator of the network. For example, the MNC of China Mobile operator is 00, the MNC of China Unicom operator is 01, and the MNC of China Telecom operator is 03; MSIN consists of 10 to 11 digits.
[0039] SIM card. The SIM cards involved in the embodiments of the present application can be divided into mobile network operator (MNO) SIM cards, mobile virtual network operator (MVNO) SIM cards, and embedded SIM (e-SIM) cards.
[0040] The SIM card can store information such as IMSI and integrate circuit card identity (ICCID).
[0041] A mobile operator's SIM card refers to the SIM card provided by a mobile operator. Here, mobile operators such as China Mobile, China Unicom, and China Telecom are operators that can provide a physical network for users to obtain network services through the SIM card. The mobile operator's SIM card is used to access the network provided by the mobile operator. For example, a physical mobile operator's SIM card can use this information to access the network provided by the operator that provides the mobile operator's SIM card.
[0042] A mobile virtual network operator's SIM card refers to the SIM card provided by a mobile virtual network operator. Here, the mobile virtual network operator does not provide a physical network and can only lease the physical network of a certain mobile operator to provide network services for users. Therefore, the MCC and MNC of the mobile virtual network operator's SIM card are the same as those of the SIM card of a certain mobile operator. It is only possible to distinguish whether the SIM card is a mobile virtual network operator's SIM card or a mobile operator's SIM card through other file information in the SIM card. For example, only the file information of the mobile virtual network operator's SIM card will include the service provider name (SPN) to represent the mobile virtual network operator; in addition, only the card file information of the mobile virtual network operator's SIM card includes the global identification ID (group identification ID, GID), where GID includes the global identification level 1 (group identifier level 1, GID1) and the global identification level 2 (group identifier level 2, GID2).
[0043] It should be understood that the SIM card involved in the embodiments of the present application may also be an e-SIM card, which is a SIM card built into the UE. The UE can implement changes and deletions to the card file information in the e-SIM card. For example, the UE can erase or add the IMSI in the e-SIM card. If the card file information of the e-SIM card does not include the SPN and GID, in the embodiments of the present application, it can be regarded as a mobile operator's SIM card. Otherwise, if the card file information of the e-SIM card includes the SPN or GID, in the embodiments of the present application, it can be regarded as a mobile virtual network operator's SIM card.
[0044] The card file information stored in the SIM card includes some or all of the information such as IMSI, ICCID, SPN, or GID. The card file information can be stored as a card file in the SIM card, and the UE can read the card file in the SIM card to obtain the card file information. For example, IMSI can be stored in the card file named "EF-IMSI" in the SIM card, and ICCID can be stored in the card file named "EF-ICCID" in the SIM card. Herein, "EF" is the English abbreviation of element file. The UE can read some or all of the information such as IMSI, ICCID, SPN, or GID from the SIM card, and use this information to determine the operator parameters of the operator for the UE to support the UE to access the network provided by the operator through the SIM card.
[0045] The operator parameters involved in the embodiments of this application refer to the parameters related to the operator that need to be configured when the UE accesses the network provided by the operator. The operator parameters can be associated with the operator, that is, the operator parameters of the same operator are the same. The operator parameters include, but are not limited to, the communication parameters of 2G, 3G, 4G, and future 5G or future updated wireless networks accessed by the UE, and the parameters of the Internet Protocol (IP) Multimedia Subsystem (IMS) and other parameters that need to be adapted for the terminal to access the network.
[0046] Next, the embodiments of this application will be described with reference to the accompanying drawings.
[0047] As Figure 1 shown, the wireless communication system 100 provided by the embodiments of this application includes a UE 101 and a base station 102. Among them, the base station 102 can support the networks provided by at least one operator (such as any one or any multiple of the operator networks of China Mobile, China Unicom, China Telecom, etc.), and the UE 101 can communicate with the base station 102 through the network provided by the operator.
[0048] The wireless communication system 100 may be a new radio (NR) system, a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, a general packet radio service (GPRS), a long term evolution (LTE) system, an advanced long term evolution (LTE-A) system, an evolved long term evolution (eLTE) system, a future 5G communication system, or other communication systems. Specifically, the communication mode for wireless communication of the wireless communication system 100 in the embodiments of this application is not limited herein.
[0049] As Figure 2 shown, the UE 101 may support at least one SIM card 201. The SIM card stores card file information that supports the UE 101 to access the network provided by the operator. When the UE 101 communicates with the base station 102, the UE 101 attaches at least one SIM card 201 to the cell under the base station 102 and communicates with the base station 102 through the SIM card 201. For example, if the SIM card 201 is provided by China Mobile and the base station 102 supports the network provided by China Mobile, the UE 101 may attach the SIM card 201 to the cell under the base station 102 and perform wireless communication through this cell.
[0050] Specifically, the UE 101 further includes a wireless communication module 202. Each wireless communication module 202 may correspond to one or more SIM cards 201. Each wireless communication module 202 may include a modem. The UE 101 may perform network search through the wireless communication module 202 and communicate between the SIM card 201 and the base station 102 through the wireless communication module 202. The wireless access technologies supported by the modem include, but are not limited to, GSM, WCDMA, LTE, NR, etc.
[0051] The UE 102 may further include an application processor 203, which may be used to process the networking requirements of application programs. Specifically, when communicating through the SIM card 201, the application processor 203 sends the communication data to be transmitted to the wireless communication module 202, so as to transmit the communication data through the wireless communication module 202.
[0052] It should be understood that the functions of the application processor 203 and the wireless communication module 202 in the UE 101 can be implemented by software, hardware, or a combination of software and hardware.
[0053] It should be understood that, as Figure 2 shown by multiple SIM cards 201, wireless communication can be achieved through the same wireless communication module 202, and wireless communication can also be achieved between multiple SIM cards 201 through different wireless communication modules 202.
[0054] Exemplarily, as Figure 2 shown by the UE 101, the terminal configuration method provided by the embodiments of the present application can be implemented through the application processor 203 and the wireless communication module 202. Specifically, the method may include Figure 3 the following steps shown:
[0055] S101: When the wireless communication module 202 determines that the SIM card is powered on, it reads some or all of the information of IMSI, SPN, or GID from the SIM card;
[0056] S102: The wireless communication module 202 sends the IMSI to the application processor 202;
[0057] S103: The application processor 203 obtains operator parameters according to the IMSI. The operator parameters are used for the UE 101 to access the operator's network through the SIM card.
[0058] By using the above method, when the SIM card is powered on, the wireless communication module 202 can read the IMSI, SPN, and / or GID of the SIM card from the SIM card. Thereafter, the wireless communication module 202 can report the IMSI, SPN, and / or GID to the application processor 203 of the UE. The application processor 203 can obtain operator parameters according to the IMSI, SPN, and / or GID reported by the wireless communication module 202 and perform configuration. Compared with the prior art, the time for the application processor 203 to obtain operator parameters can be advanced to the moment when the SIM card is ready, and the time for the UE 101 to access the network can be shortened.
[0059] It should be understood that the power-on of the SIM card, also known as the power-on of the SIM card, refers to the SIM card being powered on when the SIM card is inserted into the SIM card slot or when the UE is powered on and started. After the SIM card is powered on, the SIM card initialization program is performed. After the SIM card initialization is continuously completed (ready), the SIM card file loading is performed. After the file loading is completed (loaded), the SIM card status will change to the loaded state.
[0060] In the implementation of S101, the wireless communication module 202 can read the SPN or GID from the SIM card. Specifically, the wireless communication module 202 can determine whether the SPN is stored in the SIM card. If so, the wireless communication module 202 can read the SIM from the SIM card and send it to the application processor 203. In addition, the wireless communication module 202 can also determine whether the GID is stored in the SIM card. If so, the wireless communication module 202 can read the GID from the SIM card and send it to the application processor 203. Exemplarily, the wireless communication module 202 can also send the SPN and GID stored in the SIM to the application processor 203.
[0061] In the implementation of the steps shown in S101, the wireless communication module 202 can read the card files named "EF-ICCID (for storing ICCID)", "EF-IMSI (for storing IMSI)", "EF-AD (for storing SIM card packaging (AD))", "EF-GID1 (for storing GID1)", "EF-GID2 (for storing GID2)", "EF-SST (for storing SIM card service table)", "EF-SPN (for storing SPN)", "EF-SPN_CPHS (for storing SPN)", "EF-SPN_CPHS_SHORT (for storing SPN)" or "EF-O2_SP" from the SIM card, or read multiple files with the above card file names to obtain the card file information in the card files and achieve the fast reading of the above card files.
[0062] In the implementation of S102, the wireless communication module 202 can send the IMSI, SPN and GID to the radio interface layer (RIL) for temporary storage. The RIL can be used to store the messages and signaling sent by the wireless communication module 202, and can be used to send the messages and signaling sent by the wireless communication module 202 to the application processor 203. The wireless communication module 202 can also send the SPN and / or GID read from the SIM card to the RIL, and the RIL sends it to the application processor 203. It should be understood that the above functions of the RIL can be implemented by software.
[0063] When sending the first message, the wireless communication module 202 may send the first message to the application processor 203 through a first channel, and the first channel is a dedicated transmission channel for sending the first message. Specifically, the wireless communication module 202 may send the first message to the RIL through the dedicated transmission channel, and the RIL may send the first message to the application processor 203 through the dedicated transmission channel.
[0064] In a possible implementation, the application processor 203 may determine the operator parameters corresponding to the IMSI according to the first correspondence. If the application processor 203 can determine a unique operator parameter corresponding to the IMSI reported by the wireless communication module 202, it indicates that the SIM card is a mobile operator SIM card, and the application processor 203 may configure the UE 101 according to the operator parameters.
[0065] If the application processor 203 determines that multiple operator parameters correspond to the IMSI reported by the wireless communication module 202 according to the first correspondence, it indicates that the SIM card is a mobile virtual operator SIM card, and the application processor 203 also needs to obtain the SPN or GID in the SIM card to determine a unique operator parameter and perform the configuration.
[0066] Exemplarily, the UE may store the first correspondence between the IMSI of the SIM card and the operator parameters for the AP to determine the corresponding operator parameters according to the IMSI sent by the modem. The first correspondence may be reflected as the correspondence between the MCC and MNC in the IMSI and the identifier (operator key) of the operator parameters. Specifically, the MCC and MNC may be taken as the operator key of the operator. For example, if the country where the operator is located is China and the MNC of the operator is 00, 46000 may be taken as the operator key of the operator.
[0067] Specifically, the identifier of the operator parameters is the identifier of the operator. The operator key is associated with the operator parameters of the operator. After the UE determines the operator key, it may find the operator parameters according to the operator key to implement the configuration of the operator parameters. For example, the operator key may be associated with a configuration file containing operator parameters, and the AP may find the configuration file according to the operator key and obtain the operator parameters from the configuration file. The association relationship between the operator key and the configuration file, as well as the configuration file, may be pre-configured in the UE 101.
[0068] The UE may store the first correspondence table shown in Table 1, and the AP may look up the table in Table 1 according to the IMSI to determine the operator parameters corresponding to the IMSI. Here, the IMSI may be the IMSI of the mobile operator SIM card.
[0069] Table 1 - First Correspondence Table
[0070]
[0071] As shown in Table 2, if the MCC in the IMSI is 262 and the MNC is 02, the identifiers of the operator parameters determined by the application processor 203 according to the IMSI are 26202F01 and 26202F02, and the matching result is not unique. At this time, the application processor 203 determines that the SIM card is a mobile virtual network operator (MVNO) SIM card. The application processor 203 can receive the SPN and / or GID sent by the RIL and determine the operator parameters corresponding to the IMSI, SPN, and / or GID according to the second mapping relationship.
[0072] Specifically, the UE 101 can store the second correspondence relationship between the SPN and / or GID, IMSI, and operator parameters of the SIM card for the application processor 203 to determine the operator parameters of the operator corresponding to the MVNO SIM card.
[0073] The second correspondence relationship can be the correspondence relationship between the MCC and MNC in the IMSI, SPN, and the identifier of the operator parameter, or the second correspondence relationship can be the correspondence relationship between the MCC and MNC in the IMSI, GID, and the identifier of the operator parameter, or the second correspondence relationship can also be the correspondence relationship between the MCC and MNC in the IMSI, SPN, GID, and the identifier of the operator parameter.
[0074] If the SIM card is an MVNO SIM card, the MCC, MNC, and the letter "F", number m, and number n of the SIM card can be used as the operator key of the operator associated with the MVNO SIM card, where m and n are integers, and the value of m or n is different for different operator keys. As shown in Table 2, for the MVNO SIM card 1 with MCC = 262 and MNC = 02, if the value of the SPN is "voda.*", the operator key of the operator associated with the SIM card 1 can be set to "26202F01". If another MVNO SIM card - MVNO SIM card 2 has MCC = 262 and MNC = 02, and the value of the GID is "gid1:11gid1_mask:FF", the operator key of the operator associated with the MVNO SIM card 2 can be set to "26202F02", so as to distinguish the operators of the MVNO SIM card 1 and the MVNO SIM card 2.
[0075] Table 2 - Second Correspondence Table
[0076]
[0077] It should be understood that the first correspondence table shown in Table 1 and the second correspondence table shown in Table 2 are only examples of how UE 101 stores the first correspondence and the second correspondence. UE 101 can also store the third correspondence table shown in Table 3. It can be seen that the third correspondence table includes the first correspondence and the second correspondence.
[0078] Table 3 - Third Correspondence Table
[0079]
[0080] The usage method of the third correspondence table shown in Table 3 can refer to the usage methods of Table 1 and Table 2.
[0081] When the application processor 203 obtains the operator parameters according to the steps shown in S103, the application processor 203 can also send the operator parameters to the wireless communication module 202 for the wireless communication module 202 to synchronize the operator parameters, so as to avoid the out-of-sync situation caused when the application processor 203 and the wireless communication module 202 obtain the operator parameters respectively.
[0082] Specifically, the application processor 203 can send the information of the operator parameters to the RIL, and the RIL sends the information of the operator parameters to the wireless communication module 202. The wireless communication module 202 can determine the operator parameters according to the information of the operator parameters sent by the RIL and configure the operator parameters. Among them, the information of the operator parameters can include the operator key or include the operator key and the identifier of the operator (such as MNC). The configuration file can be searched according to the operator key or the operator key and the identifier of the operator, and the operator parameters can be obtained from the configuration file.
[0083] Still taking Figure 2 the UE 101 shown Figure 4 as an example, the process of the terminal configuration method provided in the embodiments of the present application will be described in combination with
[0084] S201: When the wireless communication module 202 determines that the SIM card is powered on, read the IMSI, SPN, and GID from the SIM card; in practice, if the SIM card does not include SPN and GID, the wireless communication module 202 only reads the IMSI from the SIM card;
[0085] S202: The wireless communication module 202 sends the IMSI, SPN, and GID to the RIL; in implementation, if the SIM card does not include the SPN and GID, the wireless communication module 202 sends the IMSI to the RIL;
[0086] S203: The RIL sends the IMSI, SPN, and GID to the application processor 203; in implementation, if the wireless communication module 202 only sends the IMSI to the RIL, the RIL sends the IMSI to the application processor 203;
[0087] S204: The application processor 203 determines to obtain the operator parameters corresponding to the IMSI, SPN, and GID; in implementation, the application processor 203 can determine the operator parameters corresponding to the IMSI, SPN, and GID according to the second correspondence; if the RIL only sends the IMSI to the application processor 203, the application processor 203 determines the operator parameters corresponding to the IMSI according to the first mapping relationship;
[0088] S205: The application processor 203 obtains and activates the operator parameters;
[0089] S206: The application processor 203 sends the information of the operator parameters to the RIL; the information of the operator parameters can be the identifier of the operator parameters, or the identifier of the operator parameters and the identifier of the operator, or the file path and name of the operator parameters, etc.
[0090] S207: The RIL sends the information of the operator parameters to the wireless communication module 202;
[0091] S208: The wireless communication module 202 loads the operator parameters according to the information of the operator parameters sent by the application processor 203. Thus, the loaded operator parameters are indicated to the wireless communication module 202 to achieve the synchronization of the operator parameters between the application processor 203 and the wireless communication module 202;
[0092] In the execution of the steps shown in S208, before loading the operator parameters, the wireless communication module can perform a preloading process.
[0093] Specifically, the preloading process may include: if the wireless communication module 202 receives a first command through the attention (AT) command channel, and the first command includes information about the operator parameters, the wireless communication module 202 locks the AT command channel and caches the AT commands sent by the application processor 203. After the wireless communication module 202 finishes loading the operator parameters, the lock on the AT command channel can be released; and / or, the wireless communication module 202 performs radio OFF to enter the soft shutdown state. By adopting the above method, it is possible to avoid missing AT commands and other messages during the period when the wireless communication module 202 loads the operator parameters. After the wireless communication module 202 finishes loading the operator parameters, it can perform radio ON to enter the power-on state.
[0094] In addition, the preloading process may further include: the wireless communication module 202 enters the refresh state when receiving the application processor 203. Thereafter, the wireless communication module 202 can load the operator parameters in each sub-module. After the operator parameters are loaded, the wireless communication module 202 ends the refresh state.
[0095] During the execution of the step shown in S208, after the wireless communication module 202 loads the operator parameters, it can also feedback the loading result of the operator parameters to the RIL.
[0096] Exemplarily, in the step shown in S208 above, the application processor 203 can send an attention (AT) command to the wireless communication module 202 through the RIL to instruct the wireless communication module 202 to load the operator parameters. Specifically, the wireless communication module 202 can load the operator parameters according to the following steps as shown in Figure 5 :
[0097] S301: After the wireless communication module 202 receives the AT command with card from the RIL, it parses the AT command with card to obtain a command indication. The command indication may include information about the operator parameters, such as the file path and name of the operator parameters; the command indication may also include information indicating the wireless communication module to perform activation or deactivation.
[0098] S302: The wireless communication module 202 locks the AT command channel and caches the AT commands on the application processor 203 side. The wireless communication module 202 does not process AT commands during this period. Herein, the AT command channel is the transmission channel of the AT commands, and the application processor 203 sends AT commands to the wireless communication module 202 through the AT command channel;
[0099] S303: The wireless communication module 202 performs radio OFF to enter the soft shutdown state;
[0100] S304: The wireless communication module 202 loads the carrier parameters indicated by parameter 2 in the command indication and activates the carrier parameters;
[0101] S305: The wireless communication module 202 notifies each sub-module of the wireless communication module 202 to obtain and refresh the carrier parameters;
[0102] S306: The wireless communication module 202 performs unlocking of the AT command channel;
[0103] S307: The wireless communication module 202 executes radio ON and enters the power-on state;
[0104] S308: The wireless communication module 202 sends the execution result of the AT command with the card to the RIL, and the execution result can indicate the wireless communication module 202; the RIL can send the result to the application processor 203.
[0105] It should be understood that the method provided by the embodiments of the present application can be implemented in a manner of software, hardware, or a combination of software and hardware.
[0106] Exemplarily, the above method can be implemented by Figure 6 the software logic architecture shown. According to Figure 6 , the unified card-based policy module 601 (named CfgFilePolicy for example) is used to provide E interfaces and F interfaces for obtaining the code (such as java) and files (such as XML files storing the first mapping relationship and the second mapping relationship) required to execute the above method from other modules 602 (such as the module for storing code). Among them, the F interface can be used for communication with other modules 602, and the E interface can be used for communication with other modules that hope to obtain the code; the configuration policy module (named CarrierConfigPolicy for example) 603 is used to implement the E interface and F interface, and to implement the interaction of SIM card information; the configuration file analysis module (named CarrierConfigXmlParse for example) 604 can be used to analyze and parse complex-type files in the code files; the card management module (named CarrierConfigCardManager for example) 605 can be used to provide SIM card information for facilitating the loading of card information. For example, obtain IMSI, SPN, GID, and other SIM card information from the SIM card, and send the SIM card information to the configuration policy module 603; the configuration service module (named CarrierConfigService for example) can be used to Figure 6The other modules shown provide services, and can be used to send operator parameters to other modules 602 for other modules 602 to update the operator parameters; a configuration loading module (such as named CarrierConfigLoader) 606 can be used to Figure 6 provide data parsing and storage services to the other modules shown.
[0107] In implementation, the configuration service module 606 can obtain code, related files, and SIM card information from the configuration policy module 603, and then send the code, related files, and SIM card information to the configuration loading module 607; the configuration loading module 607 can execute the code, determine the operator parameters according to the SIM card information. Specifically, the configuration loading module 607 can determine the first mapping relationship and the second mapping relationship according to the related files, and store the first mapping relationship and the second mapping relationship in the per-card rule database 608. When determining the operator parameters, the configuration loading module 607 can read the first mapping relationship and the second mapping relationship from the per-card rule database 608, and determine the identifier of the operator parameters according to the IMSI in the SIM card information and the first mapping relationship, or determine the identifier of the operator parameters corresponding to the IMSI and SPN / GID in the SIM card information according to the second mapping relationship; the configuration loading module 607 can also parse the operator parameter file associated with the identifier of the operator parameters according to the configuration file 609 to obtain the operator parameters; the configuration loading module 607 can also send the obtained operator parameters to other modules 602 for other modules 602 to update the operator parameters; the configuration loading module 607 can also configure the parameter cache file 610 according to the obtained operator parameters, and the parameter cache file 610 can be used to update the current operator parameters in the memory 611; the configuration loading module 607 can also read the current operator parameters in the memory 611.
[0108] Based on the same technical concept, an embodiment of the present application also provides a terminal for implementing the method executed by the UE 101 in the above method embodiment.
[0109] Figure 7 Exemplarily shows a schematic structural diagram of a terminal provided by the present application, such as Figure 7 shown, the terminal 700 includes one or more processors 701 and a memory 702. The processor 701 can include part or all of an application processor, a wireless communication module, or a wireless interface module. Among them, the application processor can be used to execute Figure 2 the functions of the application processor 203 in the UE 101 shown, and the wireless communication module can have Figure 2Regarding the functions of the wireless communication module 202 in the UE 101 shown, the wireless interface module may have the functions of the RIL involved in this application. Exemplarily, the processor 701 and the memory 702 may be interconnected through a bus structure.
[0110] Among them, the processor 701 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 701 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0111] The memory 702 is used to store software instructions and data, and the data may include frequency point information. The processor 701 calls the stored program instructions and may execute one or more steps in the above method embodiments, or optional implementation manners therein. Optionally, the processor 701 and the memory 702 may also be integrated together.
[0112] In a specific embodiment, the processor 701 may be configured to read the software instructions in the memory 702 to implement the following operations: by the wireless communication module, when it is determined that the subscriber identity module (SIM) card in the terminal is powered on, read the first information of the SIM card from the SIM card, and send the first information to the application processor, where the first information includes some or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identifier (ID) (GID);
[0113] The application processor obtains operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card.
[0114] In a possible design, the processor 701 may further be configured to:
[0115] The application processor sends the information of the operator parameters to the wireless communication module;
[0116] The wireless communication module determines the carrier parameters according to the information of the carrier parameters;
[0117] The wireless communication module loads the carrier parameters.
[0118] In a possible design, when the first information includes the IMSI and the application processor obtains the carrier parameters according to the first information, the processor 701 may specifically be configured as follows:
[0119] The application processor determines the carrier parameters corresponding to the IMSI according to a first mapping relationship, where the first mapping relationship is the mapping relationship between the IMSI and the carrier parameters.
[0120] In a possible design, when the first information includes the IMSI and the second information, and the application processor obtains the carrier parameters according to the IMSI, the processor 701 may specifically be configured as follows:
[0121] The application processor determines the carrier parameters corresponding to the IMSI and the second information according to a second mapping relationship, where the second mapping relationship is the mapping relationship among the IMSI, the second information, and the carrier parameters; the second information includes the SPN and / or the GID;
[0122] In a possible design, the processor 701 further includes a wireless interface module. When the application processor obtains the first information, the processor 701 may further be configured as follows:
[0123] The wireless communication module sends the first information to the wireless interface module;
[0124] The wireless interface module sends the first information to the application processor.
[0125] Those skilled in the art can understand that, for the sake of convenience of description, Figure 7 only one memory and one processor are shown. In an actual terminal, there may also be multiple processors and multiple memories. The memory may also be referred to as a storage medium or a storage device, etc., and the embodiments of the present application do not make any limitations thereto.
[0126] Exemplarily, as Figure 7 shown by the processor 701, it may have the functions of some or all of the unified card-based policy module 601, configuration policy module 603, configuration file analysis module 604, card management module 605, configuration service module 606, configuration loading module 607, card-based rule database 608, parameter cache file 610, memory 611, and configuration file 609 in the architecture shown as Figure 6 such.
[0127] Based on the above content and the same concept, the present application provides a terminal 800 for executing the above method. Figure 8 An exemplary structural diagram of a terminal 800 provided by the present application is shown as Figure 8 As shown, the terminal 800 includes an application processing module 801, a wireless communication module 802, and a wireless interface module 803. Specifically, the wireless communication module 802 may include a modem.
[0128] The application processing module 801 may be configured to have the functions of the application processor 203 in the above method embodiments. Specifically, the application processing module 801 may be used to execute the steps shown in S103, S204 to S205; the wireless communication module 802 may be configured to have the functions of the wireless communication module 202 in the above method embodiments, such as executing the steps shown in S101, S102, S201, S202, S208, and S301 to S308; the wireless interface module 803 may be configured to have the functions of RIL. Specifically, the wireless interface module 803 may be used to execute the steps shown in S202 and S207. The wireless interface module 803 may also receive and cache the messages sent by the application processing module 801 and send the messages to the wireless communication module 802 when the application processing module 801 sends messages to the wireless communication module 802, and may also receive and cache the messages sent by the wireless communication module 802 and send the messages to the application processing module 801 when the wireless communication module 802 sends messages to the application processing module 801.
[0129] It should be understood that the division of each module of the above terminal 800 is only a logical function division. In actual implementation, it may be fully or partially integrated into a physical entity, or physically separated. In the embodiments of the present application, Figure 8 the involved application processing module 801, wireless communication module 802, and wireless interface module 803 may be implemented by the above Figure 7 processor 701. That is to say, in the embodiments of the present application, the application processing module 801, wireless communication module 802, and wireless interface module 803 may execute the solutions executed by the processor 701 in the above Figure 7 . For the remaining content, reference may be made to the above content, which will not be elaborated here.
[0130] Exemplarily, as Figure 8 shown, the application processing module 801 may have some or all of the functions of the unified card-based policy module 601, configuration policy module 603, configuration file analysis module 604, card management module 605, configuration service module 606, configuration loading module 607, card-based rule database 608, parameter cache file 610, memory 611, and configuration file 609 in the architecture shown as Figure 6 above.
[0131] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more collections of available media. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0132] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0133] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0134] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, causing a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one process or a plurality of processes and / or boxes Figure 1 one process or a plurality of processes and / or boxes Figure 1 and / or steps for implementing the functions specified in one box or a plurality of boxes.
[0135] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that, it is applied to a terminal including an application processor and a wireless communication module; the method includes: when the wireless communication module determines that the subscriber identity module (SIM) card in the terminal is powered on, it reads first information of the SIM card from the SIM card, where the first information includes part or all of the international mobile subscriber identity (IMSI), service provider name (SPN), or global identifier (GID); powering on the subscriber identity module (SIM) card includes: the SIM card is inserted into the SIM card slot, or when the UE is powered on and started, the SIM card is powered on; the wireless communication module sends the first information to the application processor.
2. The method according to claim 1, characterized in that, the method further includes: the wireless communication module receives information of operator parameters sent by the application processor; the wireless communication module determines operator parameters according to the information of the operator parameters; the wireless communication module loads the operator parameters.
3. The method according to claim 2, characterized in that, before the wireless communication module loads the operator parameters, it further includes: the wireless communication module performs a preloading process.
4. The method according to claim 2, characterized in that, the wireless communication module is further used for: receiving a first command through a notification AT command channel, where the first command includes the information of the operator parameters; locking the AT command channel and caching AT commands; unlocking the AT command channel after loading the operator parameters.
5. The method according to claim 2, characterized in that, the wireless communication module is further used for performing a soft shutdown before loading the operator parameters and powering on after loading the operator parameters.
6. The method according to claim 2, characterized in that, the wireless communication module is further used for entering an update state before loading the operator parameters and exiting the update state after loading the operator parameters.
7. The method according to any one of claims 1-6, characterized in that, the terminal further includes a wireless interface module; the wireless communication module sending the first information to the application processor includes: the wireless communication module sends the first information to the wireless interface module, and the wireless interface module is used to send the first information to the application processor.
8. The method according to any one of claims 1-6, characterized in that, the method further includes: when the first information includes the IMSI, the application processor determines the operator parameters corresponding to the IMSI according to a first mapping relationship, and the first mapping relationship is a mapping relationship between the IMSI and the operator parameters.
9. The method according to any one of claims 1-6, characterized in that, The method further includes: when the first information includes the IMSI and the second information, the application processor determines operator parameters corresponding to the IMSI and the second information according to a second mapping relationship, where the second mapping relationship is a mapping relationship among the IMSI, the second information, and the operator parameters; the second information includes the SPN and / or the GID.
10. The method according to any one of claims 1-6, wherein, the wireless communication module sending the first information to the application processor includes: the wireless communication module sending the first information to the application processor through a first channel, and the first channel is a dedicated transmission channel for sending the first information.
11. The method according to any one of claims 1-6, wherein, when the wireless communication module determines that the subscriber identity module SIM card in the terminal is powered on, reading first information of the SIM card from the SIM card includes: the wireless communication module reading the first information from the powered-on SIM card before the application processor starts an operator parameter configuration program.
12. The method according to any one of claims 1-6, wherein, when the wireless communication module determines that the subscriber identity module SIM card in the terminal is powered on, reading first information of the SIM card from the SIM card includes: the wireless communication module reading the first information from the powered-on SIM card before the SIM card file loading is completed.
13. A communication method, wherein, applied to a terminal including an application processor and a wireless communication module; the method includes: once the wireless communication module determines that the subscriber identity module SIM card in the terminal is powered on, reading first information of the SIM card from the SIM card, where the first information includes some or all of the international mobile subscriber identity IMSI, the service provider name SPN, or the global identifier ID GID; the wireless communication module sending the first information to the application processor.
14. A communication method, wherein, applied to a terminal including an application processor and a wireless communication module; the method includes: after the subscriber identity module SIM card in the terminal is powered on and before the application processor starts an operator parameter configuration program, the wireless communication module reads first information of the SIM card from the SIM card, where the first information includes some or all of the international mobile subscriber identity IMSI, the service provider name SPN, or the global identifier ID GID; the wireless communication module sending the first information to the application processor.
15. A communication method, wherein, applied to a terminal including an application processor and a wireless communication module; the method includes: After the subscriber identity module (SIM) card in the terminal is powered on and before receiving a command sent by the application processor to start obtaining the first information, the wireless communication module reads the first information of the SIM card from the SIM card, where the first information includes some or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identity (IDGID). The wireless communication module sends the first information to the application processor.
16. A terminal Characterized in that It includes an application processor and a wireless communication module; The wireless communication module is configured to, when determining that the subscriber identity module (SIM) card in the terminal is powered on, read the first information of the SIM card from the SIM card and send the first information to the application processor; The application processor is configured to obtain operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card; The first information includes some or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identity (IDGID).
17. A terminal Characterized in that It includes an application processor and a wireless communication module; The wireless communication module is configured to, once determining that the subscriber identity module (SIM) card in the terminal is powered on, read the first information of the SIM card from the SIM card and send the first information to the application processor; The application processor is configured to obtain operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card; The first information includes some or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identity (IDGID).
18. A terminal Characterized in that It includes an application processor and a wireless communication module; The wireless communication module is configured to, after the subscriber identity module (SIM) card in the terminal is powered on and before the application processor starts the operator parameter configuration program, read the first information of the SIM card and send the first information to the application processor; The application processor is configured to obtain operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card; The first information includes some or all of the international mobile subscriber identity (IMSI), the service provider name (SPN), or the global identity (IDGID).
19. A terminal Characterized in that It includes an application processor and a wireless communication module; The wireless communication module is configured to, after the subscriber identity module (SIM) card in the terminal is powered on and before receiving a command sent by the application processor to start obtaining the first information, read the first information of the SIM card and send the first information to the application processor; The application processor is configured to obtain operator parameters according to the first information, and the operator parameters are used for the terminal to access the operator's network through the SIM card; The first information includes some or all of the International Mobile Subscriber Identity (IMSI), the Service Provider Name (SPN), or the Global Identity (IDGID).
20. A computer program product, characterized in that, it includes program instructions which, when run on a computer, cause the computer to execute the method according to any one of claims 1-15.
21. A processing device, characterized in that, it includes a storage device that executes the program instructions in the storage device and executes the method according to any one of claims 1-15.
Citation Information
Patent Citations
Method, device and terminal for loading information
CN104507070A
SIM card activating method and mobile terminal
CN107027113A
Methods and systems for configuring radio frequency module
US20160269890A1