A method and system for quickly switching operator code numbers

By writing operator code number data in the SIM card file system and restarting the SIM card, the complex steps of replacing operator code numbers in the mobile terminal device or Internet of Things device are solved, and the function of quickly switching operator code numbers is realized to avoid The risk of modifying the firmware of communication modules is improved and operation ease and security is improved.

CN116233822BActive Publication Date: 2024-11-19SHENZHEN ESIM TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310015550.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2024-11-19
Estimated Expiration
2043-01-06

AI Technical Summary

Technical Problem

In the prior art, the steps to replace the operator code number of mobile terminal devices or Internet of Things devices are complicated, and the operation is difficult, and the operator code number of the existing SIM card is solidified, the eSIM architecture is complex, and VSIM needs to modify the communication module firmware, which affects stability. sex.

Method used

By pre-setting the file system of the SIM card, the operator code number switching command is detected in the AT command channel or BIP channel to obtain the operator code number data, including the access point name, preferred network list, available area, and operator code number specification Type and timer interval, write data to the SIM card file system, and control restart of the SIM card to complete the switch of the operator code number.

Benefits of technology

It realizes rapid switching of operator code numbers on mobile terminal devices or Internet of Things devices, avoids the need to integrate third-party software and modify communication module firmware, and ensures product security and simplicity of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233822B_ABST
    Figure CN116233822B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for quickly switching operator codes, the method comprising: pre-setting the file system of a SIM card; detecting an operator code switching instruction in an AT command channel or a BIP channel, and obtaining operator code data, wherein the operator code data includes an access point name, a preferred network list, an available area, an operator code designated type, and a timer interval corresponding to the operator code; writing the operator code data into the file system of the SIM card; and controlling the restart of the SIM card to complete the switching of the operator code. In the embodiment of the present invention, the mobile terminal can realize the fast switching of the operator code by means of extended instructions, and the developer does not need to integrate or transplant third-party software, nor does he need to modify the firmware of the communication module, thereby avoiding the introduction of risks and ensuring the safety of the product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile terminals, and in particular to a method and system for quickly switching operator codes. Background Art

[0002] Due to the differences in mobile network signal coverage of different operators and the cross-border scenarios of mobile terminals (mobile phones, IoT devices, etc.), it is necessary to flexibly change the operator code number. However, the operator code number in the ordinary SIM card in the existing technology is fixed and cannot be changed; the platform architecture of the eSIM card is complex, and it is necessary to obtain an encryption certificate issued by the GSMA (Global System for Mobile Communications Association) or the Ministry of Industry and Information Technology, resulting in high implementation costs and long cycles; VSIM (Soft SIM): The firmware of the communication module needs to be modified, which may affect the stability of the communication module. In addition, the adaptation workload is large and the implementation cycle is long. OTA (Over the Air) SIM based on BIP (BIP: Bearer Independent Protocol): BIP is a standard transport layer protocol, but the specific transmission content is not standardized. At present, the SIM card with BIP OTA has realized the function of updating PROFILE by transmitting extended APDU. However, since BIP requires communication module support, it cannot work properly on some existing IoT communication chips, so its application scope is relatively limited. However, these extended APDUs can also be transmitted through the AT channel in theory to achieve the effect of operating the SIM card. OTASIM based on SMS (Short Message Service): Binary data SMS of GSM 03.48 specification can also establish an equivalent APDU command channel to update PROFILE. However, data SMS has compatibility issues, some operators have closed the data SMS channel, and some modules do not support it.

[0003] On IoT devices, it is very troublesome to replace the SIM card due to the waterproof, dustproof and drop-proof structural design of the device, or the remote location of the device. Moreover, after replacing the SIM card, it is usually necessary to modify the APN and other configurations, which is difficult to complete on IoT devices without user interfaces. Therefore, the existing technology has complicated steps to change the operator code number on mobile terminal devices or IoT devices, and the operation is difficult.

[0004] Therefore the prior art needs further development. Summary of the invention

[0005] In response to the above technical problems, the embodiments of the present invention provide a method and system for quickly switching operator code numbers, which can solve the technical problems in the prior art of complex steps and high operation difficulty in changing operator code numbers on mobile terminal devices or Internet of Things devices.

[0006] A first aspect of an embodiment of the present invention provides a method for quickly switching an operator code number, comprising:

[0007] Set up the file system of the SIM card in advance;

[0008] An operator code number switching instruction is detected in an AT command channel or a BIP channel, and operator code number data is obtained, wherein the operator code number data includes an access point name corresponding to the operator code number, a preferred network list, an available area, an operator code number specified type, and a timer interval;

[0009] Writing the operator code data into the file system of the SIM card;

[0010] Control and restart the SIM card to complete the switch of operator code number.

[0011] Optionally, the file system of the SIM card is set in advance, including:

[0012] Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes;

[0013] Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number;

[0014] The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

[0015] Optionally, an extension field is added to the operator code number in advance, and the extension field is used to store extended information corresponding to the operator code number, including:

[0016] An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

[0017] Optionally, detecting an operator code switching instruction in an AT command channel or a BIP channel and acquiring operator code data includes:

[0018] The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel;

[0019] Or, after the SIM card is activated, a BIP channel is established;

[0020] The server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the server is obtained.

[0021] Optionally, the detecting an operator code number switching instruction and acquiring operator code number data includes:

[0022] Decrypt the encrypted operator number data to obtain the decrypted operator number data;

[0023] The decrypted operator code data is written into the file system of the SIM card.

[0024] A second aspect of an embodiment of the present invention provides a system for quickly switching operator codes, the system comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the following steps when executed by the processor:

[0025] Set up the file system of the SIM card in advance;

[0026] An operator code number switching instruction is detected in an AT command channel or a BIP channel, and operator code number data is obtained, wherein the operator code number data includes an access point name corresponding to the operator code number, a preferred network list, an available area, an operator code number specified type, and a timer interval;

[0027] Writing the operator code data into the file system of the SIM card;

[0028] Control and restart the SIM card to complete the switch of operator code number.

[0029] Optionally, when the computer program is executed by the processor, the following steps are implemented:

[0030] Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes;

[0031] Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number;

[0032] The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

[0033] Optionally, when the computer program is executed by the processor, the following steps are further implemented:

[0034] An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

[0035] Optionally, when the computer program is executed by the processor, the following steps are further implemented:

[0036] The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel;

[0037] Or, after the SIM card is activated, a BIP channel is established;

[0038] The server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the server is obtained.

[0039] A third aspect of an embodiment of the present invention provides a non-volatile computer-readable storage medium, characterized in that the non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the above-mentioned method for quickly switching operator code numbers.

[0040] In the technical solution provided by the embodiment of the present invention, the file system of the SIM card is set in advance; the operator code number switching instruction is detected in the AT command channel or the BIP channel, and the operator code number data is obtained, wherein the operator code number data includes the access point name corresponding to the operator code number, the preferred network list, the available area, the operator code number specified type and the timer interval; the operator code number data is written to the file system of the SIM card; and the SIM card is controlled to restart to complete the switching of the operator code number. In the embodiment of the present invention, the mobile terminal can realize the rapid switching of the operator code number by means of extended instructions. The developer does not need to integrate or transplant third-party software, nor does he need to modify the firmware of the communication module, thereby avoiding the introduction of risks and ensuring the safety of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of a flow chart of an embodiment of a method for quickly switching operator codes in an embodiment of the present invention;

[0042] Figure 2 The figure is a schematic diagram of the hardware structure of another embodiment of a system for quickly switching operator codes in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0044] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0045] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of an embodiment of a method for quickly switching operator codes in an embodiment of the present invention. Figure 1 As shown, including:

[0046] Step S100, pre-setting the file system of the SIM card;

[0047] Step S200: Detecting an operator code switching instruction in the AT command channel or the BIP channel, acquiring operator code data, wherein the operator code data includes an access point name corresponding to the operator code, a preferred network list, an available area, an operator code designated type, and a timer interval;

[0048] Step S300, writing the operator code data into the file system of the SIM card;

[0049] Step S400: Control and restart the SIM card to complete the switching of the operator code number.

[0050] In specific implementation, the technical solution of the present invention is realized by modifying the COS (Chip Operating System) or APPLET in the SIM card.

[0051] The operator profile of the embodiment of the present invention is composed of a group of information. The core fields include ICCID / IMSI / KI / OPC, etc. If the profile supports calls, the MSISDN field is also required, and the SMS function requires the SMSC field. OPLMN is a preferred network list, and even in a SIM card with multiple profiles, there is usually only one copy. APN belongs to the configuration information on the modem side and is not reflected in the SIM card.

[0052] In addition to the number resources, the APN is also sent to the MCU for correct configuration. Ordinary SIM / eSIM does not store APN information, and if the MCU is configured with the wrong APN, it will not be able to access the Internet.

[0053] Allows updating of SIM card code resources through AT command channel or BIP channel. No need to introduce complex software systems such as LPA or modify module firmware, code switching can be controlled through standard AT commands to avoid introduction of risks. AT stands for Attention. AT commands are used for connection and communication between terminal devices and PC (or MCU) applications.

[0054] Profile: configuration information, i.e. operator number data. The core fields include ICCID / IMSI / KI / OPC, etc. If the number supports calls, the MSISDN field is also required, and the SMSC field is required for the SMS function.

[0055] ICCID: Integrated circuit card identity, integrated circuit card identification code. That is, the SIM card number, which is equivalent to the ID card of the mobile phone number.

[0056] IMSI: International Mobile Subscriber Identity.

[0057] KI: Key Identifier, authentication key. OPC: Operator Code, operator root key.

[0058] MSISDN: Mobile Subscriber Integrated Services Digital Number, also known as mobile phone number. It is equivalent to the user telephone number of the fixed network and is a public number for users to dial. Since the telephone number structure of mobile users in the GSM system is based on the ISDN numbering method, it is called MSISDN, which is the international ISDN number of mobile users. The encoding method of MSISDN is in accordance with the recommendations of CCITT. MSISDN refers to the number that the calling user needs to dial to call a mobile user in the GSM PLMN, and its function is the same as the fixed network PSTN number; it is the number that can uniquely identify mobile users in the public telephone network switching network numbering plan.

[0059] SMSC: Short Message Service Center, short message service center.

[0060] To realize the functions of receiving, storing, forwarding and reporting the status of short messages, the short message center should also include an operation and maintenance module and a gateway module for transmitting messages between the network and selecting the sending route.

[0061] Two mobile phones cannot send text messages directly point-to-point; the messages must be transferred through the Short Message Service Center.

[0062] APN: Access Point Name, access point name.

[0063] The SIM card in the present invention has multiple updatable operator codes, and an additional data table of extended information is created on the storage space in the SIM card for storing extended fields such as OPLMN and APN corresponding to the codes.

[0064] The MCU (or CPU) of the mobile terminal can transmit the above-mentioned extended APDU commands through standard AT command channels such as AT+CSIM or AT+CGLA, operate the SIM card to achieve flexible switching of operator codes, and configure the network by reading extended information such as APN.

[0065] The SIM card writes the received code number information to the file system and sets a new timer. Restart the SIM card. The new code number is online.

[0066] The SIM card provided by the present invention provides capability support for the terminal device to quickly implement flexible switching of operator codes and automatic network configuration without changing the hardware design of the mobile terminal and without modifying the firmware of the communication module.

[0067] Furthermore, the file system of the SIM card is pre-configured, including:

[0068] Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes;

[0069] Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number;

[0070] The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

[0071] In specific implementation, in the prior art, ordinary SIM cards have only one operator code number, while eSIM has multiple cloud operator codes.

[0072] In the file system of the SIM card, storage space is allocated for storing multiple operator codes.

[0073] In each group of SIM card operator codes, several fields are added to store the extended information corresponding to the code.

[0074] By extending the APDU command format, functions such as writing, deleting, querying, and switching of operator codes are provided, as well as the reading function of extended information such as APN and available areas. eSIM can also be written, deleted, queried, and switched by extended APDU commands through the AT command channel, but because the eSIM specification has a complex security mechanism, the MCU usually integrates a third-party LPA (communication protocol analyzer) software to implement eSIM operations. However, this LPA also needs to be adapted to the MCU type. And LPA will not be open source, and its security cannot be guaranteed. In contrast, the extended APDU commands in the embodiment of the present invention are clear and concise, and can be implemented independently and quickly by the MCU without relying on LPA.

[0075] The SIM card and the modem communicate via the ISO 7816 interface, and the format of the transmission instructions is APDU (Application Protocol Data Unit).

[0076] Taking the application scenario of 4G module (Modem) as an example, the 4G module is connected to the SIM card through the ISO 7816 interface and exchanges data with the SIM card through the APDU protocol format.

[0077] The MCU (microprocessor) or AP (application processor) interacts with the modem through AT commands. The MCU cannot directly access the SIM card.

[0078] In order to meet the MCU's need for direct access to the SIM card, the 4G module provides the AT+CSIM command. The MCU sends the APDU command to the SIM card to the 4G module through AT+CSIM (common SIM card access), and the module then transparently transmits it to the SIM card.

[0079] In order to protect the SIM card, some 4G modules only provide AT+CRSM (restricted SIM card access) commands, thereby limiting the range of APUD that the MCU can transmit.

[0080] Sometimes the MCU needs to perform multiple simultaneous operations on the SIM card. In this case, it is necessary to isolate the data and status through a logical channel (LogicChannel). The corresponding access instruction is AT+CGLA.

[0081] AT+CSIM / CRSM / CGLA, or other similar instructions encapsulated by the 4G module, all provide the MCU with the function of accessing (operating) the SIM card using APDU commands.

[0082] Furthermore, an extension field is added to the operator code number in advance, and the extension field is used to store extended information corresponding to the operator code number, including:

[0083] An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

[0084] In the specific implementation, several fields are added to the operator code of each group of SIM cards in advance to store extended information such as the APN, OPLMN (preferred network list), available area, operator code specified type and timer interval corresponding to the code.

[0085] Every time the code is written at the factory or via OTA update, the content of the above extended information is written into the SIM card together with the code core field. In other words, logically, after the operator code core field, several fields are extended to form a complete set of code data. However, when stored in the SIM card, the extended fields are stored in the extended table. This does not affect the structure of the core data.

[0086] The specific method for writing the code number during OTA update is as follows:

[0087] 1) The SIM card obtains the BIP server IP address stored in the form of a domain name through DNS (Domain Name Resolution).

[0088] 2) The SIM card accesses the IP address through the OPEN CHANNEL of the BIP protocol.

[0089] 3) The BIP server sends new operator code information, including IMSI / KI / OPC, and APN / OPLMN and other extended information. It also specifies whether the code is a bootstrap or an operational card, as well as a new timer interval.

[0090] 4) The SIM card writes the received code information into the file system and sets a new timer.

[0091] 5) Restart the SIM card.

[0092] 6) New code number is online.

[0093] Among them, Open Channel / Close Channel: open / close the BIP channel, which is a command specified in the BIP protocol.

[0094] Operational: Business code number, which is the resource actually provided to users.

[0095] Bootstrap: Seed code number. The seed code number is written when the card is made. Usually, several seed codes can be written to avoid single code failure. When the SIM card is in the seed code state, one of them can be randomly selected as the activation code number. It can also accept specific BIP or AT commands in the running state to force the seed number to switch.

[0096] Further, an operator code switching instruction is detected in the AT command channel or the BIP channel, and operator code data is obtained, including:

[0097] The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel;

[0098] Or, after the SIM card is activated, a BIP channel is established;

[0099] The server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the server is obtained.

[0100] In specific implementation, the SIM card detects the business code switching command in the AT command channel, parses the operator code data sent by the AT channel,

[0101] In addition to the AT command channel, the SIM card with this extended capability can also establish an equivalent APDU command channel through BIP or 03.48 data SMS, realizing a set of APDU commands and multiple operation channels. APDU: Application Protocol Data Unit - Application Protocol Data Unit.

[0102] When operating through the BIP channel, the SIM card obtains the BIP server IP address stored in the domain name through DNS (Domain Name Resolution). Or the service IP is directly stored in the SIM card without domain name resolution. The SIM card accesses the IP address through the OPEN CHANNEL of the BIP protocol. The BIP server sends new operator code information, including IMSI / KI / OPC, and APN / OPLMN and other extended information. And specify whether the code is a seed card (Bootstrap) or a business card (Operational). And a new timer interval.

[0103] BIP can be seen as a data transmission channel, similar to Bluetooth, network or 03.48 format data text messages.

[0104] The basic function of the BIP server is to establish a BIP channel with the SIM card, thereby transmitting APDU commands agreed upon by the server and the SIM card on this channel.

[0105] The operator code information sent by the BIP server is transmitted via the APDU command agreed upon by both parties.

[0106] Furthermore, the operator code number data is encrypted operator code number data, and writing the operator code number data into the file system of the SIM card includes:

[0107] Decrypt the encrypted operator number data to obtain the decrypted operator number data;

[0108] The operator code data is written into the file system of the SIM card.

[0109] In specific implementation, the APDU command carrying the code information can also be transmitted to the MCU through a third-party non-BIP channel server or Bluetooth, and then sent to the Modem by the MCU through AT+CSIM and other commands, and then transparently transmitted to the SIM card, thereby achieving the same effect as the BIP channel.

[0110] The operator code data obtained by MCU from a third party through the network, Bluetooth and other transmission methods is encrypted data, which can only be decrypted by one or more keys preset in this SIM card, thereby ensuring the data security of the operator code. The third party does not refer to the BIP server.

[0111] The encryption method listed in the present invention is one of the ways to encrypt and protect confidential data such as code information. It belongs to symmetric encryption. In addition, other more complex encryption methods such as asymmetric encryption can also be used to protect confidential data.

[0112] For example, four groups of encryption keys A / B / C / D can be generated in advance, and all four groups of keys can be written into the SIM card during the card making process.

[0113] When the server sends the operator code information, it randomly selects a key from A / B / C / D to encrypt the information, and specifies which key is used in the command sent.

[0114] After the SIM card receives the information, it will select the corresponding key preset in the card for decryption.

[0115] The embodiment of the present invention proposes a method for quickly switching operator codes. The mobile terminal can send extended APDU instructions through the AT command channel to quickly and flexibly switch the operator codes. The developer of the mobile terminal does not need to integrate or transplant third-party software, nor does he need to modify the firmware of the communication module, thus avoiding the introduction of risks and ensuring the safety of the product.

[0116] Note: Fallback: Fallback refers to switching back to the seed code number when the business code number cannot be used.

[0117] PLMN: Public Land Mobile Network, public land mobile network.

[0118] FPLMN: Forbidden PLMN.

[0119] OPLMN: preferred PLMN.

[0120] It should be noted that there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present invention, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0121] The above describes the method for quickly switching the operator code number in the embodiment of the present invention. The following describes the system for quickly switching the operator code number in the embodiment of the present invention. Figure 2 , Figure 2 FIG. 1 is a schematic diagram of the hardware structure of another embodiment of a system for quickly switching operator codes in an embodiment of the present invention. Figure 2 As shown, the system 10 includes: a memory 101, a processor 102, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor 101, the following steps are implemented:

[0122] Set up the file system of the SIM card in advance;

[0123] An operator code number switching instruction is detected in an AT command channel or a BIP channel, and operator code number data is obtained, wherein the operator code number data includes an access point name corresponding to the operator code number, a preferred network list, an available area, an operator code number specified type, and a timer interval;

[0124] Writing the operator code data into the file system of the SIM card;

[0125] Control and restart the SIM card to complete the switch of operator code number.

[0126] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.

[0127] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:

[0128] Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes;

[0129] Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number;

[0130] The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

[0131] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.

[0132] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:

[0133] An extension field is added to the operator code number in advance, and the extension field is used to store extended information corresponding to the operator code number, including:

[0134] An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

[0135] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.

[0136] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:

[0137] The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel;

[0138] Or, after the SIM card is activated, a BIP channel is established;

[0139] The server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the server is obtained.

[0140] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.

[0141] Optionally, the operator code number data is encrypted operator code number data, and when the computer program is executed by the processor 101, the following steps are further implemented:

[0142] Decrypt the encrypted operator number data to obtain the decrypted operator number data;

[0143] The decrypted operator code data is written into the file system of the SIM card.

[0144] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.

[0145] An embodiment of the present invention provides a non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, to execute the above-described Figure 1 The method comprises steps S100 to S400.

[0146] As an example, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM) and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described in the embodiments of the present invention are intended to include one or more of these and / or any other suitable types of memories.

[0147] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for quickly switching operator codes, characterized in that: include: Set up the file system of the SIM card in advance; An operator code number switching instruction is detected in an AT command channel or a BIP channel, and operator code number data is obtained, wherein the operator code number data includes an access point name corresponding to the operator code number, a preferred network list, an available area, an operator code number specified type, and a timer interval; Writing the operator code data into the file system of the SIM card; Control and restart the SIM card to complete the switch of the operator code number; The step of pre-setting the file system of the SIM card includes: Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes; Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number; The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

2. The method for quickly switching operator codes according to claim 1, characterized in that: The adding of an extension field in advance to the operator code number, wherein the extension field is used to store extension information corresponding to the operator code number, includes: An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

3. The method for quickly switching operator codes according to claim 2, characterized in that: The detecting the operator code number switching instruction in the AT command channel or the BIP channel and acquiring the operator code number data includes: The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel; Or, after the SIM card is activated, a BIP channel is established; The SIM card obtains the BIP server IP address stored in the domain name format through domain name resolution; The BIP server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the BIP server is obtained.

4. The method for quickly switching operator codes according to claim 3, characterized in that: The operator code data is encrypted operator code data, and writing the operator code data into the file system of the SIM card includes: Decrypt the encrypted operator number data to obtain the decrypted operator number data; The decrypted operator code data is written into the file system of the SIM card.

5. A system for quickly switching operator codes, characterized in that: The system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the following steps when executed by the processor: Set up the file system of the SIM card in advance; An operator code number switching instruction is detected in an AT command channel or a BIP channel, and operator code number data is obtained, wherein the operator code number data includes an access point name corresponding to the operator code number, a preferred network list, an available area, an operator code number specified type, and a timer interval; Writing the operator code data into the file system of the SIM card; Control and restart the SIM card to complete the switch of the operator code number; The step of pre-setting the file system of the SIM card includes: Allocate storage space in the file system of the SIM card in advance, wherein the storage space is used to store a plurality of operator codes; Pre-adding an extension field to the operator code number, the extension field being used to store extension information corresponding to the operator code number; The command format is expanded in advance in the SIM card to generate extended commands, which are used to write, delete, query, switch the operator code number and read extended information.

6. The system for rapidly switching operator codes according to claim 5, characterized in that: When the computer program is executed by the processor, the following steps are also implemented: An extension field is added to the operator code number in advance, and the extension field is used to store the access point name, preferred network list, available area, operator code number specified type and timer interval corresponding to the operator code number.

7. The system for rapidly switching operator codes according to claim 6, characterized in that: When the computer program is executed by the processor, the following steps are also implemented: The SIM card detects the business code switching command in the AT command channel and parses the operator code data sent by the AT channel; Or, after the SIM card is activated, a BIP channel is established; The SIM card obtains the BIP server IP address stored in the domain name format through domain name resolution; The BIP server IP address is accessed based on the BIP channel, the operator code number switching instruction is detected, and the operator code number data issued by the BIP server is obtained.

8. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the method for quickly switching operator code numbers as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Internet of Vehicles terminal parameter self-adaptive configuration method and device

    CN111314902A

  • Operator network switching method and system

    CN112738859A

  • ESIM code number management method and device

    CN113518341A

  • Operator network switching method, system and device and storage medium

    CN114567912A

  • ESIM over-the-air number writing system and method

    CN115499820A