CN116233822A - Method and system for rapidly switching carrier code numbers - Google Patents
Method and system for rapidly switching carrier code numbers Download PDFInfo
- Publication number
- CN116233822A CN116233822A CN202310015550.XA CN202310015550A CN116233822A CN 116233822 A CN116233822 A CN 116233822A CN 202310015550 A CN202310015550 A CN 202310015550A CN 116233822 A CN116233822 A CN 116233822A
- Authority
- CN
- China
- Prior art keywords
- code number
- operator code
- sim card
- switching
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 15
- 230000015654 memory Effects 0.000 claims description 13
- 238000004891 communication Methods 0.000 abstract description 11
- 230000006870 function Effects 0.000 description 6
- 108700038352 BIP protocol Proteins 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 101000869690 Homo sapiens Protein S100-A8 Proteins 0.000 description 2
- 102100032442 Protein S100-A8 Human genes 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a system for rapidly switching carrier code numbers, wherein the method comprises the following steps: presetting a file system of the SIM card; detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number; writing the operator code number data into a file system of the SIM card; and controlling restarting of the SIM card to finish switching of the code numbers of the operators. According to the embodiment of the invention, the mobile terminal can realize rapid switching of the code number of the operator in the mode of expanding the instruction, a developer does not need to integrate or transplant software of a third party, and does not need to modify firmware of a communication module, so that introductory risks are avoided, and the safety of products is ensured.
Description
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method and system for rapidly switching carrier code numbers.
Background
Due to the coverage difference of mobile network signals of different operators and the cross-border scene of mobile terminals (mobile phones, internet of things equipment and the like), flexible replacement of the operator code numbers is required. The carrier code number in the common SIM card in the prior art is solidified and cannot be replaced; the platform architecture of the eSIM card is complex, and an encryption certificate issued by GSMA (global system for mobile communications) or a worker's trust department needs to be acquired, resulting in high implementation cost and long period; VSIM (Soft SIM): the firmware of the communication module needs to be modified, which may affect the stability of the communication module. And the adaptation work amount is large, and the implementation period is long. BIP (BIP: bearer Independent Protocol, independent bearer protocol) based OTA (Over the Air) SIM: BIP is a standard transport layer protocol, but the specific transport content is not defined by specifications. At present, the existing SIM card of the BIP OTA realizes the function of updating PROFILE by transmitting the extended APDU. However, since BIP needs communication module support, it cannot work normally on some existing communication chips of internet of things, so the application range is limited. However, these extended APDUs can theoretically also be transmitted through the AT channel, achieving the effect of operating the SIM card. OTA SIM based on SMS (Short Message Service ): the binary data short message of GSM 03.48 specification can also establish an equivalent APDU command channel to realize the update of PROFILE. However, the data short message has compatibility problem, part of operators close the data short message channel, and part of modules do not support the data short message channel.
On the internet of things equipment, because of the waterproof, dustproof and anti-falling three-prevention structural design of the equipment or the remote place of equipment deployment, the replacement of the SIM card is very troublesome. And after replacing the SIM card, the configuration of APN and the like is also required to be modified, which is difficult to be completed on the internet of things equipment without a user interface. Therefore, the prior art has complex steps of changing the code number of the operator on the mobile terminal equipment or the Internet of things equipment, and has high operation difficulty.
The prior art is therefore still in need of further development.
Disclosure of Invention
Aiming at the technical problems, the embodiment of the invention provides a method and a system for rapidly switching carrier numbers, which can solve the technical problems of complex steps and high operation difficulty in the prior art of changing carrier numbers on mobile terminal equipment or Internet of things equipment.
A first aspect of an embodiment of the present invention provides a method for rapidly switching carrier code numbers, including:
presetting a file system of the SIM card;
detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
writing the operator code number data into a file system of the SIM card;
and controlling restarting of the SIM card to finish switching of the code numbers of the operators.
Optionally, the setting of the file system of the SIM card in advance includes:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
Optionally, an extension field is added in the operator code number in advance, where the extension field is used to store extension information corresponding to the operator code number, and includes:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
Optionally, the detecting the operator code switching instruction in the AT instruction channel or the BIP channel, obtaining the operator code data includes:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
Optionally, the detecting the operator code number switching instruction, obtaining operator code number data includes:
decrypting the encrypted carrier number data to obtain decrypted carrier number data;
and writing the decrypted operator code data into a file system of the SIM card.
A second aspect of an embodiment of the present invention provides a system for rapidly switching carrier code numbers, where the system includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of:
presetting a file system of the SIM card;
detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
writing the operator code number data into a file system of the SIM card;
and controlling restarting of the SIM card to finish switching of the code numbers of the operators.
Optionally, the computer program when executed by the processor implements the steps of:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
Optionally, the computer program when executed by the processor further implements the steps of:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
Optionally, the computer program when executed by the processor further implements the steps of:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
A third aspect of the embodiment of the present invention provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the above-mentioned method for quickly switching carrier code numbers.
In the technical scheme provided by the embodiment of the invention, the file system of the SIM card is preset; detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number; writing the operator code number data into a file system of the SIM card; and controlling restarting of the SIM card to finish switching of the code numbers of the operators. According to the embodiment of the invention, the mobile terminal can realize rapid switching of the code number of the operator in the mode of expanding the instruction, a developer does not need to integrate or transplant software of a third party, and does not need to modify firmware of a communication module, so that introductory risks are avoided, and the safety of products is ensured.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for fast switching carrier numbers according to an embodiment of the present invention;
fig. 2 is a schematic hardware structure of another embodiment of a system for fast switching carrier numbers according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating an embodiment of a method for fast switching carrier numbers according to an embodiment of the present invention. As shown in fig. 1, includes:
step S100, presetting a file system of the SIM card;
step 200, detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
step S300, writing the operator code number data into a file system of the SIM card;
step S400, the SIM card is controlled to be restarted, and the switching of the operator code numbers is completed.
In specific implementation, the technical scheme of the invention is realized by modifying COS (Chip Operating System, on-chip operating system) or APPLET in the SIM card.
The carrier code number (profile) of the embodiment of the present invention is composed of a set of information. The core field includes ICCID/IMSI/KI/OPC, etc. if the code number supports call, MSISDN field is also needed, SMSC field is needed for short message function. The OPLMN is a list of preferred networks, typically only one, even in multi-number SIM cards. And the configuration information of the APN belonging to the modem side is not embodied in the SIM card.
Besides code number resources, APN is issued simultaneously, so that MCU can be configured correctly. The normal SIM/eSIM does not store APN information, which would result in a failure to access the internet if the MCU configures the wrong APN.
Allowing the SIM card code number resource to be updated through the AT instruction channel or the BIP channel. The standard AT instruction can control the code number switching without introducing complex software systems such as LPA or modifying module firmware, so as to avoid introductory risks. The AT, i.e., attention, command is a command applied to connection and communication between a terminal device and a PC (or MCU) application.
Wherein Profile: the configuration information, i.e. the operator code data, the core field comprises ICCID/IMSI/KI/OPC etc. if the code number supports the call also requires MSISDN field, the short message function requires SMSC field.
ICCID: integrate circuit card identity, integrated circuit card identification code. I.e. the SIM card number, corresponds to the identity card of the mobile phone number.
IMSI: international Mobile Subscriber Identity, international mobile subscriber identity.
KI: key Identifier, authentication Key. OPC: operator Code, operator root key.
MSISDN: mobile Subscriber Integrated Services Digital Number, the mobile subscriber synthesizes a service digital number, i.e. a mobile phone number. The telephone number of the user corresponding to the fixed network is a public number for the user to dial. Since the telephone number structure of a mobile subscriber in the GSM system is based on the numbering scheme of ISDN, it is called MSISDN, i.e. the international ISDN number of the mobile subscriber. The coding method of MSISDN is according to the proposal of CCITT. The MSISDN refers to the number that the calling subscriber needs to dial in order to call one mobile subscriber in the GSM PLMN, and acts as a fixed network PSTN number; is a number uniquely identifying the mobile subscriber in the public switched telephone network numbering plan.
SMSC (short message service center): short Message Service Center, short message service center.
The short message center also comprises an operation maintenance module and a gateway module for transferring messages with the network and selecting a sending route.
The two mobile phones can not directly send the short message point to point and must transit through the short message service center.
APN: access Point Name, access point name.
The SIM card of the invention has a plurality of updatable operator code numbers, and a data table of expansion information is additionally created on a storage space in the SIM card and is used for storing expansion fields such as OPLMN, APN and the like corresponding to the code numbers.
The MCU (or CPU) of the mobile terminal can transmit the extended APDU instruction through standard AT instruction channels such as AT+CSIM or AT+CGLA, and the SIM card is operated to realize flexible switching of the operator code number, and the network is configured by reading extension information such as APN.
The SIM card writes the received code number information into a file system and sets a new timer. Restarting the SIM card. The new code number is put on-line.
The SIM card provided by the invention provides capability support for terminal equipment to rapidly implement flexible switching of the code number of an operator and network configuration automation under the conditions of not changing the hardware design of the mobile terminal and not modifying the communication module firmware.
Further, the setting of the file system of the SIM card in advance includes:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
In specific implementation, the common SIM card in the prior art only has one operator code number, and the eSIM has a plurality of cloud end business code numbers.
In the file system of the SIM card, a storage space for holding a plurality of carrier code numbers is allocated.
And adding a plurality of fields in the operator code number of each group of SIM cards for storing the extension information corresponding to the code number.
By expanding the APDU instruction format, functions of writing, deleting, inquiring, switching and the like of the operator code number and reading of extension information such as APN, available area and the like are provided. The eSIM can also be written, deleted, queried and switched by the extended APDU command through the AT command channel, but because of the complex security mechanism of the eSIM specification, the MCU will typically integrate LPA (communication protocol analyzer) software of a third party to implement the operation on the eSIM. But this LPA also needs to be adapted to the MCU type. And LPA will not open the source either, and the security will not be guaranteed. In contrast, the extended APDU command in the embodiment of the present invention is clear and concise, and can be implemented independently and rapidly by the MCU without relying on LPA.
Communication is carried out between the SIM card and the Modem (Modem) through an ISO 7816 interface, and the format of a transmission instruction is APDU (Application Protocol Data Unit ).
Taking an application scenario of a 4G module (Modem) as an example, the 4G module is connected with the SIM card through an ISO 7816 interface, and performs data interaction with the SIM card through an APDU protocol format.
While MCU (microprocessor) or AP (application processor) interacts with Modem through AT command. The MCU does not have direct access to the SIM card.
In order to meet the direct access requirement of the MCU to the SIM card, the 4G module provides an AT+CSIM instruction, the MCU sends an APDU instruction to be sent to the SIM card to the 4G module through the AT+CSIM (general SIM card access), and the module is transmitted to the SIM card.
In order to protect the SIM card, some 4G modules only provide AT+CRSM (restricted SIM card access) instructions, thereby limiting the APUD range that the MCU can transmit.
Sometimes, the MCU needs to perform multiple simultaneous operations on the SIM card, and AT this time, data and states need to be isolated through a Logic Channel (Logic Channel), and the corresponding access instruction is at+cgla.
at+csim/CRSM/CGLA, or other similar instructions encapsulated by the 4G module, are all functions that provide the MCU with access (operation) to the SIM card with APDU commands.
Further, an extension field is added in the operator code number in advance, where the extension field is used to store extension information corresponding to the operator code number, and includes:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
In the implementation, a plurality of fields are added in the operator code number of each group of SIM cards in advance and are used for storing extension information such as APN (access point number) corresponding to the code number, OPLMN (preferred network list), available area, specified type of the operator code number, timer interval and the like.
And each time the code number is written from the factory or is updated by OTA, the content of the expansion information is written into the SIM card along with the core field of the code number. That is, after editing the operator code number core field, several fields are extended to form a complete set of code number data. But when stored in the SIM card the extension field is stored in the extension table. Thus, the structure of the core data is not affected.
The specific method for updating and writing the code number by the OTA is as follows:
1) The SIM card obtains the BIP server IP address stored in the form of a domain name by DNS (domain name resolution).
2) The SIM card accesses the IP address through the OPEN CHANNEL of the BIP protocol.
3) The BIP server issues new operator code number information including extension information such as IMSI/KI/OPC, APN/OPLMN and the like. And designates the code number as a seed card (Bootstrap) or a service card (operation). And a new timer interval.
4) The SIM card writes the received code number information into a file system and sets a new timer.
5) Restarting the SIM card.
6) The new code number is put on-line.
Wherein, open Channel/Close Channel: opening/closing the BIP channel is a command specified in the BIP protocol.
Operational: the service code number is actually provided for the resources used by the user.
Bootstrap: the seed code number is written when the card is manufactured, and a plurality of seed code numbers can be written in order to avoid the fault of a single code number. Under the seed number state, the SIM card can randomly select one of the seed numbers as an activation number. The seed number can be switched forcefully by receiving specific instructions such as BIP or AT under the running state.
Further, detecting an operator code number switching instruction in the AT instruction channel or the BIP channel, and acquiring operator code number data, including:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
In the implementation, the SIM card detects the provider code switching instruction in the AT instruction channel, analyzes the provider code data issued by the AT channel,
besides the AT command channel, the SIM card with the expanded capability can also establish an equivalent APDU command channel through BIP or 03.48 data short message to realize a set of APDU commands and various operation channels. APDU: application protocol data unit.
In operation through the BIP channel, the SIM card obtains the BIP server IP address stored in the form of a domain name through DNS (domain name resolution). Or the service IP is stored directly 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 issues new operator code number information including extension information such as IMSI/KI/OPC, APN/OPLMN and the like. And designates the code number as a seed card (Bootstrap) or a service card (operation). And a new timer interval.
BIP can be regarded as a data transmission channel, similar to bluetooth, network or 03.48 format data message, etc.
The basic function of the BIP server is to establish a BIP channel with the SIM card, so that APDU commands agreed by the server and the SIM card are transmitted on this channel.
The operator code number information issued by the BIP server is transmitted by the APDU command agreed by the two parties.
Further, the carrier number data is encrypted carrier number data, and the carrier number data is written into a file system of the SIM card, including:
decrypting the encrypted carrier number data to obtain decrypted carrier number data;
and writing the operator code number data into a file system of the SIM card.
In the specific implementation, the APDU command carrying the code number information can also be transmitted to the MCU through a server of a third party non-BIP channel or Bluetooth and the like, and then the MCU sends the APDU command to the Modem through an AT+CSIM and the like and then the APDU command is transmitted to the SIM card. Thereby achieving the same effect as the BIP channel.
The MCU obtains the data of the operator code number from the third party in a network, bluetooth and other transmission modes as encrypted data, and the data can only be decrypted through one or more keys preset in the SIM card, so that the data security of the operator code number is ensured. The third party is not referred to as a BIP server.
The encryption method of the present invention is one of the means for protecting confidential data such as code number information by encryption. Belonging to symmetric encryption. Further, other more complicated encryption methods such as asymmetric encryption may be used for protecting the confidential data.
For example, a/B/C/D total of 4 sets of encryption keys may be pre-generated, and all 4 sets of keys may be written to the SIM card in the card making step.
When the server issues the information of the operator code number, the server randomly selects one key in A/B/C/D and encrypts the information. And indicates in the issued command which of the a/B/C/D keys is used.
After receiving the information, the SIM card selects a corresponding key preset in the card to decrypt.
The embodiment of the invention provides a method for rapidly switching carrier code numbers, which can rapidly realize the capability of flexibly switching carrier code numbers in a mode that a mobile terminal can send an extended APDU instruction through an AT instruction channel. The developer of the mobile terminal does not need to integrate or transplant software of a third party or modify firmware of the communication module, so that introductory risks are avoided, and the safety of products is guaranteed.
Remarks: fallback: fallback refers to switching back to the seed code number when the service code number cannot be used.
PLMN: public Land Mobile Network, public land mobile network.
FPLMN: a forbidden PLMN.
OPLMN: a preferred PLMN.
It should be noted that, there is not necessarily a certain sequence between the steps, and those skilled in the art will understand that, in different embodiments, the steps may be performed in different orders, that is, may be performed in parallel, may be performed interchangeably, or the like.
The method for quickly switching the carrier number in the embodiment of the present invention is described above, and the system for quickly switching the carrier number in the embodiment of the present invention is described below, referring to fig. 2, fig. 2 is a schematic hardware structure of another embodiment of a system for quickly switching the carrier number in the embodiment of the present invention, as shown in fig. 2, the system 10 includes: memory 101, processor 102, and a computer program stored on the memory and executable on the processor, which when executed by processor 101, performs the steps of:
presetting a file system of the SIM card;
detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
writing the operator code number data into a file system of the SIM card;
and controlling restarting of the SIM card to finish switching of the code numbers of the operators.
Specific implementation steps are the same as those of the method embodiment, and are not repeated here.
Optionally, the computer program when executed by the processor 101 also implements the steps of:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
Specific implementation steps are the same as those of the method embodiment, and are not repeated here.
Optionally, the computer program when executed by the processor 101 also implements the steps of:
an extension field is added in the operator code number in advance, and the extension field is used for storing extension information corresponding to the operator code number, and comprises the following steps:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
Specific implementation steps are the same as those of the method embodiment, and are not repeated here.
Optionally, the computer program when executed by the processor 101 also implements the steps of:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
Specific implementation steps are the same as those of the method embodiment, and are not repeated here.
Optionally, the operator code number data is encrypted operator code number data, and the computer program when executed by the processor 101 further performs the steps of:
decrypting the encrypted carrier number data to obtain decrypted carrier number data;
and writing the decrypted operator code data into a file system of the SIM card.
Specific implementation steps are the same as those of the method embodiment, and are not repeated here.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions for execution by one or more processors, e.g., to perform the method steps S100-S400 of fig. 1 described above.
By way of example, nonvolatile 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), which acts as external cache memory. By way of illustration and not limitation, RAM may be available 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 embodiments of the present invention are intended to comprise one or more of these and/or any other suitable types of memory.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for fast switching carrier code numbers, comprising:
presetting a file system of the SIM card;
detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
writing the operator code number data into a file system of the SIM card;
and controlling restarting of the SIM card to finish switching of the code numbers of the operators.
2. The method for quickly switching carrier numbers according to claim 1, wherein the presetting the file system of the SIM card comprises:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
3. The method for quickly switching carrier numbers according to claim 2, wherein an extension field is added to the carrier numbers in advance, and the extension field is used for storing extension information corresponding to the carrier numbers, and includes:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
4. The method for rapidly switching carrier numbers according to claim 3, wherein detecting the carrier number switching command in the AT command channel or the BIP channel, obtaining carrier number data, and obtaining carrier number data, comprises:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
5. The method for quickly switching carrier numbers according to claim 4, wherein the carrier number data is encrypted carrier number data, and writing the carrier number data into a file system of a SIM card comprises:
decrypting the encrypted carrier number data to obtain decrypted carrier number data;
and writing the decrypted operator code data into a file system of the SIM card.
6. A system for fast switching of carrier code numbers, the system comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of:
presetting a file system of the SIM card;
detecting an operator code number switching instruction in an AT instruction channel or a BIP channel, and acquiring operator code number data, wherein the operator code number data comprises an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number;
writing the operator code number data into a file system of the SIM card;
and controlling restarting of the SIM card to finish switching of the code numbers of the operators.
7. The system for fast switching carrier code numbers according to claim 6, wherein the computer program when executed by the processor performs the steps of:
a storage space is allocated in a file system of the SIM card in advance, and the storage space is used for storing a plurality of operator code numbers;
adding an extension field in the operator code number in advance, wherein the extension field is used for storing extension information corresponding to the operator code number;
the method comprises the steps of expanding an instruction format in the SIM card in advance to generate an expansion instruction, wherein the expansion instruction is used for writing, deleting, inquiring, switching and reading expansion information of an operator code number.
8. The system for fast switching carrier code numbers according to claim 7, wherein the computer program when executed by the processor further performs the steps of:
and adding an extension field in the operator code number in advance, wherein the extension field is used for storing an access point name, a preferred network list, an available area, an operator code number appointed type and a timer interval corresponding to the operator code number.
9. The system for fast switching of carrier code numbers according to claim 8, wherein the computer program when executed by the processor further performs the steps of:
the SIM card detects an operator code switching instruction in the AT instruction channel and analyzes operator code data issued by the AT channel;
or after the SIM card is started, a BIP channel is established;
and accessing the server IP address based on the BIP channel, detecting an operator code number switching instruction, and acquiring operator code number data issued by the server.
10. A non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by one or more processors, cause the one or more processors to perform the method of fast switching carrier code numbers of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310015550.XA CN116233822A (en) | 2023-01-06 | 2023-01-06 | Method and system for rapidly switching carrier code numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310015550.XA CN116233822A (en) | 2023-01-06 | 2023-01-06 | Method and system for rapidly switching carrier code numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116233822A true CN116233822A (en) | 2023-06-06 |
Family
ID=86576103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310015550.XA Pending CN116233822A (en) | 2023-01-06 | 2023-01-06 | Method and system for rapidly switching carrier code numbers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116233822A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314902A (en) * | 2020-02-10 | 2020-06-19 | 上海果通通信科技股份有限公司 | Method and device for adaptively configuring parameters of terminal of Internet of vehicles |
CN112738859A (en) * | 2020-12-25 | 2021-04-30 | 北京握奇智能科技有限公司 | Operator network switching method and system |
CN113518341A (en) * | 2021-04-13 | 2021-10-19 | 武汉天喻信息产业股份有限公司 | eSIM code number management method and device |
US11310654B1 (en) * | 2020-09-16 | 2022-04-19 | Sprint Communications Company L.P. | Electronic subscriber identity module (eSIM) profile delivery and activation system and methods |
CN114567912A (en) * | 2022-02-09 | 2022-05-31 | 阿里云计算有限公司 | Operator network switching method, system, device and storage medium |
-
2023
- 2023-01-06 CN CN202310015550.XA patent/CN116233822A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314902A (en) * | 2020-02-10 | 2020-06-19 | 上海果通通信科技股份有限公司 | Method and device for adaptively configuring parameters of terminal of Internet of vehicles |
US11310654B1 (en) * | 2020-09-16 | 2022-04-19 | Sprint Communications Company L.P. | Electronic subscriber identity module (eSIM) profile delivery and activation system and methods |
CN112738859A (en) * | 2020-12-25 | 2021-04-30 | 北京握奇智能科技有限公司 | Operator network switching method and system |
CN113518341A (en) * | 2021-04-13 | 2021-10-19 | 武汉天喻信息产业股份有限公司 | eSIM code number management method and device |
CN114567912A (en) * | 2022-02-09 | 2022-05-31 | 阿里云计算有限公司 | Operator network switching method, system, device and storage medium |
Non-Patent Citations (1)
Title |
---|
周章慧 等: "空中写卡的安全性分析及一种实现", 信息安全与通信保密, no. 09, 10 September 2007 (2007-09-10) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11019482B2 (en) | Method, system, and terminal device for realizing local profile assistant based on remote subscriber identification module provisioning | |
US9521543B2 (en) | Methods and devices for OTA subscription management | |
US11930558B2 (en) | Method for providing subscription profiles, subscriber identity module and subscription server | |
US10492075B2 (en) | Methods and devices for providing a secure element with a subscription profile | |
US10476671B2 (en) | Method and device for installing profile of eUICC | |
US10356606B2 (en) | Proxy platform for inter-operator provisioning of eSIM profiles | |
CN108702613B (en) | Embedded user identity module, device for sending command and communication system | |
US11064343B2 (en) | Management of subscriber profiles simultaneously active in an eUICC card using a plurality of separate links | |
FI104681B (en) | Method of administering a subscriber identity module in a telecommunication system and telecommunication system | |
WO2021118610A1 (en) | Secure privacy provisioning in 5g networks | |
US20040043788A1 (en) | Management of parameters in a removable user identity module | |
EP3073773B1 (en) | Methods for performing a remote management of a multi-subscription sim module, and corresponding sim module and computer program product | |
CN112400334B (en) | Updating user identity module | |
BRPI0418967B1 (en) | METHOD FOR USE IN A MOBILE COMMUNICATIONS NETWORK, SECURE MESSAGE SENDING SYSTEM, MOBILE STATION FOR USE IN A MOBILE COMMUNICATIONS NETWORK, AND, SUBSCRIBER IDENTITY MODULE. | |
CN103765934A (en) | A method to switch subscriptions of a personal device supporting multiple subscriptions | |
CN111629342B (en) | Method and device for mapping Beidou short message terminal number | |
CN111373781B (en) | Method for facilitating remote configuration of an EUICC card and system implementing such a method | |
KR102225216B1 (en) | Notification method for configuring a secure element | |
US11848929B2 (en) | IMEI storage | |
CN116233822A (en) | Method and system for rapidly switching carrier code numbers | |
CN108616861B (en) | Over-the-air card writing method and device | |
EP4364448A1 (en) | Flexible remote sim provisioning | |
Akman et al. | AKMA support in multi SIM user equipment | |
JPWO2018216745A1 (en) | Wireless communication device and control method thereof | |
CN106416192A (en) | Method and device for configuring embedded universal integrated circuit card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |