CN111615099A - eSIM card interaction control method and related equipment - Google Patents
eSIM card interaction control method and related equipment Download PDFInfo
- Publication number
- CN111615099A CN111615099A CN202010352804.3A CN202010352804A CN111615099A CN 111615099 A CN111615099 A CN 111615099A CN 202010352804 A CN202010352804 A CN 202010352804A CN 111615099 A CN111615099 A CN 111615099A
- Authority
- CN
- China
- Prior art keywords
- esim card
- interaction
- information
- instruction
- esim
- 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.)
- Granted
Links
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
-
- 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
-
- 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)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an eSIM card interaction control method and related equipment.A host computer sends an eSIM card interaction instruction to eSIM card equipment, and the eSIM card equipment executes an operation corresponding to the eSIM card interaction instruction so as to acquire interaction result information corresponding to the eSIM card interaction instruction; the upper computer receives the interaction result information sent by the eSIM card equipment; when the eSIM card is interacted with the eSIM card, only one eSIM card interaction instruction needs to be sent, a control instruction does not need to be sent for multiple times, interaction time is effectively saved, interaction efficiency with the eSIM card is improved, and user experience is improved.
Description
Technical Field
The invention relates to the technical field of SIM cards, in particular to an eSIM card interaction control method and related equipment.
Background
An eSIM card, i.e., Embedded-SIM, Embedded SIM card. The eSIM card concept is to embed a conventional SIM card directly onto the device chip rather than adding it as a separate removable component to the device, without the user having to insert a physical SIM card. This will allow the user more flexibility in choosing a package of operators or changing operators at any time without having to unlock the equipment or purchase new equipment.
For the eSIM card equipment without an operation interface, when a user interacts with the eSIM card, the user communicates through a serial port channel and realizes interaction by using an AT command for multiple times. For example, querying the operator information list of the eSIM card amounts to five steps, and the five steps all use the normal SIM access command + csim, and the user needs to extract the desired information from a plurality of characters returned by the eSIM card. Therefore, in the existing method, in order to complete a certain function, a user repeatedly utilizes the + csim instruction, and then obtains the key information required by the user from the reply. The user repeats the mechanical operation, and interaction with the eSIM card is time-consuming and labor-consuming.
Disclosure of Invention
The embodiment of the invention provides an eSIM card interaction control method and related equipment, which can improve the interaction efficiency with an eSIM card.
In a first aspect, an embodiment of the present invention provides an eSIM card interaction control method, which is applied to an upper computer, and the method includes:
sending an eSIM card interaction instruction to an eSIM card device, wherein the eSIM card interaction instruction is used for instructing the eSIM card device to execute an operation corresponding to the eSIM card interaction instruction so as to acquire interaction result information corresponding to the eSIM card interaction instruction;
and receiving the interaction result information sent by the eSIM card equipment.
Optionally, the eSIM card interaction instruction includes an eSIM card information query instruction or an eSIM card operation instruction for modifying eSIM card information, and when the eSIM card interaction instruction is an eSIM card information query instruction, the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful; and when the eSIM card interactive instruction is an eSIM card operating instruction, the interactive result information comprises interactive success information and interactive failure information.
Optionally, the eSIM card information includes carrier information and an ID of the eSIM card, the carrier information including an ICCID, an ICCID status, and a card type.
In a second aspect, an embodiment of the present invention provides an eSIM card interaction control method, which is applied to an eSIM card device, and the method includes:
receiving an eSIM card interactive instruction sent by an upper computer;
executing an operation corresponding to the eSIM card interactive instruction to acquire interactive result information corresponding to the eSIM card interactive instruction;
and sending the interaction result information to the upper computer.
Optionally, the eSIM card interaction instruction includes an eSIM card information query instruction, and the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful;
the executing the operation corresponding to the eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction includes:
acquiring an eSIM card information character corresponding to the eSIM card information inquiry instruction, and storing the eSIM card information character as an eSIM card information character string;
and analyzing the eSIM card information character string to acquire the eSIM card information.
Optionally, when the eSIM card interaction instruction includes an eSIM card operation instruction for modifying eSIM card information, the interaction result information includes interaction success information and interaction failure information;
the executing the operation corresponding to the eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction includes:
modifying the eSIM card information of the eSIM card;
judging whether the eSIM card information is successfully modified, if so, the interaction result information is interaction success information; and if the judgment result is negative, the interaction result information is interaction failure information.
In a third aspect, an embodiment of the present invention provides an upper computer, including:
a first sending module, configured to send an eSIM card interaction instruction to an eSIM card device, where the eSIM card interaction instruction is used to instruct the eSIM card device to execute an operation corresponding to the eSIM card interaction instruction, so as to obtain interaction result information corresponding to the eSIM card interaction instruction;
a first receiving module, configured to receive the interaction result information sent by the eSIM card device.
In a fourth aspect, an embodiment of the present invention provides an eSIM card device, including:
the second receiving module is used for receiving an eSIM card interactive instruction sent by the upper computer;
the processing module is used for executing an operation corresponding to the eSIM card interactive instruction so as to acquire interactive result information corresponding to the eSIM card interactive instruction;
and the second sending module is used for sending the interaction result information to the upper computer.
In a fifth aspect, an embodiment of the present invention provides an eSIM card interaction control device, including: a processor and a memory;
the processor is connected to the memory, wherein the memory is used for storing program codes, and the processor is used for calling the program codes to execute the eSIM card interaction control method according to the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the eSIM card interaction control method according to the first aspect or the second aspect.
In the embodiment of the invention, the upper computer sends an eSIM card interactive instruction to the eSIM card equipment, and the eSIM card equipment executes the operation corresponding to the eSIM card interactive instruction so as to acquire the interactive result information corresponding to the eSIM card interactive instruction; the upper computer receives the interaction result information sent by the eSIM card equipment; when the eSIM card is interacted with the eSIM card, only one eSIM card interaction instruction needs to be sent, a control instruction does not need to be sent for multiple times, interaction time is effectively saved, interaction efficiency with the eSIM card is improved, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of an eSIM card interaction control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an eSIM card interaction control method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an eSIM card interaction control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of internal processing logic of an eSIM card device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of internal processing logic of an eSIM card device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of internal processing logic of an eSIM card device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of internal processing logic of an eSIM card device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an upper computer provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an eSIM card device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an eSIM card interaction control device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be understood that the terms "first," "second," and the like in the description and claims of this application and in the drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by the person skilled in the art that the described embodiments of the invention can be combined with other embodiments.
In this application, the upper computer may include a computer, a notebook computer, a tablet computer, a palm computer, and other terminal devices.
The eSIM card is also a SIM card physically, is only embedded in communication terminals such as mobile phones and the like, is pre-installed in a communication terminal assembly, can support different operators in a remote programming mode, or can switch services of different operators by the communication terminals such as the mobile phones and the like, and a user does not need to take out and replace the SIM card. The eSIM card device refers to a communication terminal including an eSIM card, and the communication terminal may be a mobile phone, an intelligent bracelet, a pedometer, an intelligent watch, or the like. And a wireless or wired communication connection is established between the upper computer and the eSIM card equipment, the wireless connection mode comprises Bluetooth, WiFi and the like, and the wired connection mode comprises USB interface connection, serial port connection and the like.
In the prior art, a user needs to use an AT command for multiple times to realize interaction with an eSIM card, which wastes time and labor and has low interaction efficiency.
Referring to fig. 1, fig. 1 is a schematic view of a scene of an eSIM card interaction control method according to an embodiment of the present invention; in fig. 1, the upper computer takes a computer 12 as an example, and the computer 12 and the eSIM card device 11 are in communication connection through a serial port line. When the user 13 needs to interact with the eSIM card in the eSIM card device 11, the user 13 operates the computer 12 to send an eSIM card interaction instruction to the eSIM card device 11, after receiving the eSIM card interaction instruction, the eSIM card device 11 executes an operation corresponding to the eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction, and returns the interaction result information to the computer 12, where the interaction result information may be displayed on the computer 12, so that the user knows an interaction result.
Therefore, by using the interaction control method of the embodiment of the invention, when interacting with the eSIM card, the interaction result information can be obtained by only sending the eSIM card interaction instruction once without using AT instructions for multiple times, thereby efficiently and quickly realizing interaction and effectively improving user experience.
Please refer to fig. 2, which is a flowchart illustrating an eSIM card interaction control method according to an embodiment of the present invention; the eSIM card interaction control method is applied to an upper computer and comprises the following steps:
201. sending an eSIM card interactive instruction to the eSIM card equipment, wherein the eSIM card interactive instruction is used for indicating the eSIM card equipment to execute an operation corresponding to the eSIM card interactive instruction so as to acquire interactive result information corresponding to the eSIM card interactive instruction;
specifically, unlike the prior art, it requires interaction with the AT command multiple times. The embodiment of the invention packs a plurality of AT instructions corresponding to a certain eSIM card interactive function into one eSIM card interactive instruction by using instruction packing. When the eSIM card interaction is performed, the upper computer only needs to send one eSIM card interaction instruction to the eSIM card device, and then can instruct the eSIM card device to perform an interaction operation (i.e., a multi-step operation corresponding to a certain interaction function) corresponding to the eSIM card interaction instruction, so as to obtain interaction result information corresponding to the eSIM card interaction instruction, and the eSIM card device sends the interaction result information to the upper computer.
202. And receiving interaction result information sent by the eSIM card equipment.
Therefore, by using the interaction control method shown in fig. 2, when interacting with the eSIM card, only one eSIM card interaction instruction needs to be sent, and the control instruction does not need to be sent for multiple times, so that the method is simpler and more efficient, effectively saves interaction time, improves interaction efficiency with the eSIM card, and improves user experience. In particular, the eSIM card interaction control method in the embodiment of the present invention is particularly effective for interaction of a user with an eSIM card in an eSIM card device without an operation interface.
In one possible embodiment, the eSIM card interaction control method further includes:
and displaying the interaction result information.
Specifically, the upper computer displays the received interaction result information so as to facilitate the user to check.
In one possible embodiment, the eSIM card interaction instruction includes an eSIM card information query instruction or an eSIM card operation instruction for modifying eSIM card information, and when the eSIM card interaction instruction is the eSIM card information query instruction, the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful; further, when the interaction is successful, the interaction result information may include interaction success information in addition to the eSIM card information. And when the eSIM card interactive instruction is an eSIM card operating instruction, the interactive result information comprises interactive success information and interactive failure information.
Further, the eSIM card information includes carrier information and an ID (abbreviated as EID) of the eSIM card, and the carrier information includes an ICCID (integrated circuit card identification number, i.e., a SIM card number, which is equivalent to an identification card of a mobile phone number), an ICCID status, and a card type. The ICCID is a unique identification number of the IC card and is composed of 20 digits, and the coding format is as follows: XXXXXXX 0MFSS YYGXXXXXX. Wherein: the first six digits are the operator code: china moves about: 898600, respectively; 898602, respectively; 898604, respectively; 898607, China Union: 898601, 898606, 898609, china telecom 898603, 898611. The ICCID status includes a failure status and an activation status, and may be represented by 00 and 01, for example. The card types include a seed card and a service card, and for example, the seed card may be denoted by 01 and the service card may be denoted by 02. In fact, the eSIM card information is stored in a configuration file of the eSIM card, and one eSIM card can store a plurality of different eSIM card information at the same time, and may be a plurality of eSIM card information of the same operator (i.e., a plurality of mobile phone numbers of the same operator), or a plurality of eSIM card information of three operators including the internet, the mobile, and the telecommunication at the same time (i.e., a plurality of mobile phone numbers of different operators).
Further, when the ID of the eSIM card is queried, the instruction name of the eSIM card information query instruction may be + HWEID. In this embodiment, when querying the carrier information, the eSIM card information querying instruction may be an instruction for querying only the ICCID of the eSIM card, or may be an instruction for querying the ICCID and the ICCID state of the eSIM card at the same time, or may be an instruction for querying the ICCID and the card type of the eSIM card at the same time, or may be an instruction for querying the ICCID, the ICCID state, and the card type of the eSIM card at the same time, and at this time, the instruction name of the eSIM card information querying instruction may be + HWICCIDLIST.
And the eSIM card operating command may be to modify the ICCID status, for example, to activate or deactivate an ICCID, which corresponds to switching operators when the operator of the activated ICCID is different from the operator of the currently activated ICCID. Whether the ICCID is activated or deactivated, when sending an eSIM card operation command to the eSIM card device, it is necessary to carry the ICCID to be activated or the ICCID to be deactivated.
Taking the example of activating a certain ICCID, the command name of the eSIM card operating command at this time may be + HWICCIDENABLE. Referring to fig. 1, when the user operates the computer 12, the user needs to determine the ICCID that is desired to be enabled and carry the ICCID in the eSIM card operating instruction (for example, + HWICCIDENABLE), for example, the ICCID is 89852019919070111180, and here, the computer 12 sends the instruction to the eSIM card device 11 as: AT + HWICCIDENABLE 89852019919070111180; after receiving the instruction, the eSIM card device 11 controls the state of the ICCID to be an activated state, and when the state of the ICCID is successfully modified, the eSIM card device 11 returns information of successful interaction to the computer 12; otherwise, interaction failure information is returned to the computer 12.
Please refer to fig. 3, which is a flowchart illustrating an eSIM card interaction control method according to an embodiment of the present invention; the embodiment of the invention also provides an eSIM card interaction control method, which is applied to the eSIM card equipment and comprises the following steps:
301. receiving an eSIM card interactive instruction sent by an upper computer;
specifically, the eSIM card device receives an eSIM card interaction instruction sent by the upper computer.
302. Executing an operation corresponding to the eSIM card interactive instruction to acquire interactive result information corresponding to the eSIM card interactive instruction;
specifically, corresponding interactive operation is executed according to the received eSIM card interactive instruction, so as to obtain interactive result information corresponding to the eSIM card interactive instruction.
303. And sending the interaction result information to the upper computer.
Specifically, the eSIM card device sends the interaction result information to the upper computer so that the upper computer obtains the interaction result information, and further, the user can obtain the interaction result information through the upper computer, thereby realizing interaction between the user and the eSIM card.
By using the method of fig. 3, the user can interact with the eSIM card simply, conveniently and efficiently, and the user experience is improved.
Further, the eSIM card information includes carrier information including an ICCID, an ICCID status, and a card type, and an ID (abbreviated as EID) of the eSIM card.
In one possible embodiment, the eSIM card interaction instruction includes an eSIM card information query instruction, and the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful; further, when the eSIM card interaction instruction is an eSIM card information query instruction, the interaction result information returned when the interaction is successful processes the eSIM card information, and besides, the interaction success information can be returned at the same time. Step 302 includes:
3021. acquiring an eSIM card information character corresponding to the eSIM card information inquiry instruction, and storing the eSIM card information character as an eSIM card information character string;
specifically, what the different eSIM card information query instructions correspond to the eSIM card information to be queried is preset, and then the corresponding eSIM card information characters can be obtained according to the eSIM card information query instructions. For example, when the eSIM card information query command is + HWICCIDLIST, the eSIM card information is the ICCID of the eSIM card, the corresponding ICCID status, and the card type. And after obtaining the information characters of the eSIM card, storing the information characters of the eSIM card in a character string mode.
3022. And analyzing the eSIM card information character string to acquire the eSIM card information.
Specifically, in the eSIM card information characters returned by the eSIM card, the occurrence positions of the included eSIM card information have a certain rule, for example, 20-bit ICCID information is stored after the character string 5A0A, 2-bit ICCID status information (00 represents failure, 01 represents activation) is stored after the character string 9F700100, and 2-bit card types (01 represents a seed card, and 02 represents a service card) are stored after the character string 950101. Therefore, the eSIM card information string can be parsed based on the string matching principle to obtain the eSIM card information contained in the string. For example, when the eSIM card information character string obtained in step 3021 is subjected to character string matching, when the character string 5A0A is matched, the following 20-bit character is the ICCID.
In the following, taking the eSIM card information query command to query the operator information as an example, specifically, taking the eSIM card to query the ICCID, the ICCID status, and the card type of the eSIM card at the same time as an example, at this time, the command name of the eSIM card information query command may be + HWICCIDLIST. Referring to fig. 1, the instructions sent by the computer 12 to the eSIM card device 11 are: after the AT + HWICCIDLIST, eSIM card device 11 receives the instruction, its internal processing logic is as shown in fig. 4, and fig. 4 is a schematic diagram of the internal processing logic of the eSIM card device according to the embodiment of the present invention, where:
401. after receiving the information inquiry command of the eSIM card, the eSIM card equipment establishes a data channel between the eSIM card equipment and the eSIM card. If the establishment is successful, the step 402 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
402. The eSIM card device specifies a file to be read, and since the eSIM card information query command is for eSIM card information, which is stored in a configuration file of the eSIM card, the file to be read is specified as the configuration file at this time. If the designation is successful, the step 403 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
403. The eSIM card acquires eSIM card information characters from the configuration file, the eSIM card information characters are operator information characters at the moment, if the eSIM card information characters are acquired successfully, the step 404 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
404. The eSIM card equipment acquires response information of the eSIM card, wherein the response information is operator information characters acquired from the configuration file, if the response information is successfully acquired, the step 405 is executed, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
405. And the eSIM card equipment analyzes the returned operator information characters to acquire the operator information contained in the returned operator information characters, then closes the data channel, enters step 406 if the data channel is successfully closed, otherwise, finishes the processing, and returns interaction failure information to the upper computer, for example, returns error.
406. The eSIM card device returns operator information to the upper computer, and may also return interaction success information, such as the character "ok".
Further, in step 405, the operator information characters are analyzed, referring to fig. 5, fig. 5 is a schematic diagram of an internal processing logic of an eSIM card device according to an embodiment of the present invention; the analysis process is as follows:
501. the eSIM card equipment stores the operator information character returned by the eSIM card in a character string form, so that the operator information character string can be obtained;
502. traversing the operator information character string according to the appearance position rule of the operator information to obtain more than one operator information contained in the operator information character string, namely the ICCID, the corresponding card type and the card state; specifically, the traversal is performed by using the character string matching principle, referring to step 3022, when the character string 9F700100 is traversed, the subsequent 2 bits are ICCID, and the traversal method of the card status and the card type is the same as the traversal method of the ICCID.
503. Storing the traversed operator information;
504. combining the traversed operator information in a preset manner, where the preset manner may be set as needed, for example, it is assumed that 3 pieces of operator information can be obtained: the first ICCID is 89445007031960702347, card type is 01, and card status is 00; the second ICCID is 9868209B128105003143, card type is 02, and card status is 01; the third ICCID is 89852019919070111180, card type 02, and card status 00. The combination can be carried out by adopting brackets and commas, for example, the form returned to the upper computer is as follows:
{[9445007031960702347,01,00],
[9868209B128105003143,02,01],
[89852019919070111180,02,00]}。
when only 1 operator information exists, if only the first ICCID exists, the character returned to the upper computer at this time is { [9445007031960702347, 01, 00] }.
On the other hand, when the eSIM card information inquiry instruction is to inquire the ID of the eSIM card, it is assumed that the instruction name at this time is + HWEID. Referring to fig. 1, at this time, the computer 12 sends to the eSIM card device 11 instructions of: after the AT + HWEID, eSIM card device 11 receives the instruction, its internal processing logic is as shown in fig. 6, fig. 6 is a schematic diagram of the internal processing logic of the eSIM card device according to the embodiment of the present invention, where:
601. after receiving the information inquiry command of the eSIM card, the eSIM card equipment establishes a data channel between the eSIM card equipment and the eSIM card. If the establishment is successful, the step 602 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
602. The eSIM card device specifies the files that need to be read. If the assignment is successful, the step 603 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
603. And the eSIM card acquires the EID character from the configuration file, if the EID character is successfully acquired, the step 604 is carried out, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, such as error.
604. The eSIM card equipment acquires response information of the eSIM card, at the moment, the response information is an EID character, if the response information is successfully acquired, the step 605 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
605. And the eSIM card equipment analyzes the returned EID character to obtain the EID contained in the returned EID character, then closes the data channel, if the data channel is successfully closed, the step 606 is carried out, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned. Referring to fig. 5, similarly, the EID character is stored into an EID character string, and then the EID character string is analyzed, where the method for analyzing the EID character string is to determine the EID by using a character string matching method according to the occurrence position of the EID in the EID character string, and details are not repeated.
606. The eSIM card equipment returns the EID to the upper computer, and can also return interaction success information, such as a character ok.
Referring to fig. 4 to 6, in the embodiment of the present invention, by using the operations of command packing and character parsing, user operations are reduced, and interaction result information can be directly presented to a user without being extracted by the user, so that user experience is effectively improved.
In one possible embodiment, when the eSIM card interaction instruction includes an eSIM card operation instruction for modifying eSIM card information, the interaction result information includes interaction success information and interaction failure information; step 302 includes:
3023. modifying the eSIM card information of the eSIM card;
specifically, the modification of the eSIM card information according to the eSIM card operating instruction may be a modification of an ICCID status, such as activating or deactivating an ICCID. Whether the ICCID is activated or deactivated, when sending an eSIM card operation command to the eSIM card device, it is necessary to carry the ICCID to be activated or the ICCID to be deactivated.
3024. Judging whether the information of the eSIM card is successfully modified, if so, judging that the interaction result information is successful interaction information; and if the judgment result is negative, the interaction result information is interaction failure information.
In the following description, taking the example of activating a certain ICCID, assuming that the command name of the eSIM card operation command is + HWICCIDENABLE, and referring to fig. 1, assuming that the ICCID to be enabled is 89852019919070111180, the command sent by the computer 12 to the eSIM card device 11 is: after the AT + HWICCIDENABLE 89852019919070111180 receives the instruction, the processing logic inside the eSIM card device 11 is as shown in fig. 7, and fig. 7 is a schematic diagram of the processing logic inside the eSIM card device according to the embodiment of the present invention, where:
701. after receiving the information inquiry command of the eSIM card, the eSIM card equipment establishes a data channel between the eSIM card equipment and the eSIM card. If the establishment is successful, the step 702 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
702. The eSIM card device specifies the files that need to be read. If the assignment is successful, the step 703 is entered, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, an error is returned.
703. enabling the appointed ICCID by the eSIM card, if the enabling is successful, entering a step 704, otherwise, ending the processing, and returning interaction failure information to the upper computer, for example, returning error.
704. The eSIM card device obtains response information of the eSIM card, if the response information is successfully obtained, step 705 is performed, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
705. The eSIM card equipment judges whether the appointed ICCID is successfully enabled, if so, the data channel is closed, if the data channel is successfully closed, the step 706 is carried out, otherwise, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned. If the enabling fails, the processing is finished, and interaction failure information is returned to the upper computer, for example, error is returned.
Specifically, the eSIM card device may obtain the current state of the designated ICCID by querying the current carrier information again, determine whether it is in an activated state, and if so, enable successfully, otherwise, disable unsuccessfully.
706. The eSIM card equipment returns the information of successful interaction to the upper computer, for example, the information of successful interaction is the character ok.
Based on the description of the above eSIM card interaction control method embodiment, an embodiment of the present invention further discloses an upper computer, referring to fig. 8, where fig. 8 is a schematic structural diagram of the upper computer provided in the embodiment of the present invention, and the upper computer includes:
a first sending module 801, configured to send an eSIM card interaction instruction to an eSIM card device, where the eSIM card interaction instruction is used to instruct the eSIM card device to perform an operation corresponding to the eSIM card interaction instruction, so as to obtain interaction result information corresponding to the eSIM card interaction instruction;
the first receiving module 802 is configured to receive interaction result information sent by an eSIM card device.
In one possible embodiment, the eSIM card interaction instruction includes an eSIM card information query instruction or an eSIM card operation instruction for modifying eSIM card information, and when the eSIM card interaction instruction is the eSIM card information query instruction, the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful; and when the eSIM card interactive instruction is an eSIM card operating instruction, the interactive result information comprises interactive success information and interactive failure information. Further, the eSIM card information includes carrier information including an ICCID, an ICCID status, and a card type, and an ID of the eSIM card.
It is worth pointing out that, the specific function implementation manner of the upper computer may refer to the description of the eSIM card interaction control method, which is not described herein again. Each unit or module in the upper computer may be respectively or completely combined into one or a plurality of other units or modules to form the unit or module, or some unit(s) or module(s) may be further split into a plurality of units or modules with smaller functions to form the unit or module(s), which may realize the same operation without affecting the realization of the technical effect of the embodiment of the present invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may also be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Based on the description of the above eSIM card interaction control method embodiment, an embodiment of the present invention further discloses an eSIM card device, referring to fig. 9, where fig. 9 is a schematic structural diagram of an eSIM card device provided in an embodiment of the present invention, and the eSIM card device includes:
a second receiving module 901, configured to receive an eSIM card interaction instruction sent by an upper computer;
a processing module 902, configured to execute an operation corresponding to an eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction;
and the second sending module 903 is used for sending interaction result information to the upper computer.
In one possible embodiment, the eSIM card interaction instruction includes an eSIM card information query instruction, and the interaction result information includes eSIM card information and interaction failure information returned when the interaction is successful; the processing module 902 includes:
a first sub-module 9021, configured to acquire an eSIM card information character corresponding to the eSIM card information query instruction, and store the eSIM card information character as an eSIM card information character string;
the second sub-module 9022 is configured to parse the eSIM card information character string to obtain eSIM card information.
In one possible embodiment, when the eSIM card interaction instruction includes an eSIM card operation instruction for modifying eSIM card information, the interaction result information includes interaction success information and interaction failure information; the processing module 902 includes:
a third sub-module 9023, configured to modify eSIM card information of the eSIM card;
a fourth sub-module 9024, configured to determine whether the eSIM card information is successfully modified, and if the determination result is yes, the interaction result information is interaction success information; and if the judgment result is negative, the interaction result information is interaction failure information.
It is to be noted that, for a specific implementation manner of the eSIM card device, reference may be made to the description of the eSIM card interaction control method, which is not described herein again. The units or modules in the eSIM card device may be respectively or completely combined into one or several other units or modules to form the unit or module, or some unit(s) or module(s) may be further split into multiple units or modules with smaller functions to form the unit or module(s), which may implement the same operation without affecting the implementation of the technical effects of the embodiments of the present invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may also be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides an eSIM card interaction control device.
Fig. 10 is a schematic structural diagram of an eSIM card interaction control device according to an embodiment of the present invention. As shown in fig. 10, the eSIM card interaction control apparatus 100 can include: the processor 101, the network interface 104, and the memory 105, and the eSIM card interaction control apparatus 100 may further include: a user interface 103, and at least one communication bus 102. Wherein the communication bus 102 is used for enabling connection communication between these components. The user interface 103 may include a Display (Display) and a Keyboard (Keyboard), and the optional user interface 103 may also include a standard wired interface and a standard wireless interface. The network interface 104 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 105 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 105 may optionally be at least one memory device located remotely from the processor 101. As shown in fig. 10, the memory 105, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the eSIM card interaction control device 100 shown in fig. 10, the network interface 104 may provide a network communication function; and the user interface 103 is primarily an interface for providing input to a user; and processor 101 may be configured to invoke the device control application stored in memory 105 to implement the steps of the eSIM card interaction control method described above.
It should be understood that the eSIM card interaction control device 100 described in the embodiment of the present invention can perform the eSIM card interaction control method described above, and details thereof are not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the eSIM card interaction control method can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. An eSIM card interaction control method is applied to an upper computer, and the method comprises the following steps:
sending an eSIM card interaction instruction to an eSIM card device, wherein the eSIM card interaction instruction is used for instructing the eSIM card device to execute an operation corresponding to the eSIM card interaction instruction so as to acquire interaction result information corresponding to the eSIM card interaction instruction;
and receiving the interaction result information sent by the eSIM card equipment.
2. The method according to claim 1, wherein the eSIM card interaction instruction comprises an eSIM card information query instruction or an eSIM card operation instruction for modifying eSIM card information, and when the eSIM card interaction instruction is an eSIM card information query instruction, the interaction result information comprises eSIM card information and interaction failure information returned when an interaction is successful; and when the eSIM card interactive instruction is an eSIM card operating instruction, the interactive result information comprises interactive success information and interactive failure information.
3. The method of claim 2, wherein the eSIM card information comprises carrier information and an ID of an eSIM card, and wherein the carrier information comprises an ICCID, an ICCID status, and a card type.
4. An eSIM card interaction control method, applied to an eSIM card device, the method comprising:
receiving an eSIM card interactive instruction sent by an upper computer;
executing an operation corresponding to the eSIM card interactive instruction to acquire interactive result information corresponding to the eSIM card interactive instruction;
and sending the interaction result information to the upper computer.
5. The method according to claim 4, wherein the eSIM card interaction instruction comprises an eSIM card information query instruction, and the interaction result information comprises eSIM card information and interaction failure information returned when the interaction is successful;
the executing the operation corresponding to the eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction includes:
acquiring an eSIM card information character corresponding to the eSIM card information inquiry instruction, and storing the eSIM card information character as an eSIM card information character string;
and analyzing the eSIM card information character string to acquire the eSIM card information.
6. The method according to claim 4 or 5, wherein when the eSIM card interaction instruction comprises an eSIM card operation instruction for modifying eSIM card information, the interaction result information comprises interaction success information and interaction failure information;
the executing the operation corresponding to the eSIM card interaction instruction to obtain interaction result information corresponding to the eSIM card interaction instruction includes:
modifying the eSIM card information of the eSIM card;
judging whether the eSIM card information is successfully modified, if so, the interaction result information is interaction success information; and if the judgment result is negative, the interaction result information is interaction failure information.
7. A host computer, comprising:
a first sending module, configured to send an eSIM card interaction instruction to an eSIM card device, where the eSIM card interaction instruction is used to instruct the eSIM card device to execute an operation corresponding to the eSIM card interaction instruction, so as to obtain interaction result information corresponding to the eSIM card interaction instruction;
a first receiving module, configured to receive the interaction result information sent by the eSIM card device.
8. An eSIM card device, comprising:
the second receiving module is used for receiving an eSIM card interactive instruction sent by the upper computer;
the processing module is used for executing an operation corresponding to the eSIM card interactive instruction so as to acquire interactive result information corresponding to the eSIM card interactive instruction;
and the second sending module is used for sending the interaction result information to the upper computer.
9. An eSIM card interaction control device, comprising: a processor and a memory;
the processor is coupled to a memory, wherein the memory is configured to store program code, and the processor is configured to invoke the program code to perform the eSIM card interaction control method of any of claims 1-6.
10. A computer storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the eSIM card interaction control method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010352804.3A CN111615099B (en) | 2020-04-28 | 2020-04-28 | eSIM card interaction control method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010352804.3A CN111615099B (en) | 2020-04-28 | 2020-04-28 | eSIM card interaction control method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111615099A true CN111615099A (en) | 2020-09-01 |
CN111615099B CN111615099B (en) | 2023-07-04 |
Family
ID=72201175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010352804.3A Active CN111615099B (en) | 2020-04-28 | 2020-04-28 | eSIM card interaction control method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111615099B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738790A (en) * | 2020-12-24 | 2021-04-30 | 联通物联网有限责任公司 | File processing method and device |
CN113518341A (en) * | 2021-04-13 | 2021-10-19 | 武汉天喻信息产业股份有限公司 | eSIM code number management method and device |
CN114363880A (en) * | 2021-12-28 | 2022-04-15 | 武汉天喻信息产业股份有限公司 | eSIM card multi-number management method, device, equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699464A (en) * | 2013-12-18 | 2014-04-02 | 北京星河亮点技术股份有限公司 | Communication terminal automatically testing method and device |
CN105704702A (en) * | 2016-04-20 | 2016-06-22 | 中国联合网络通信集团有限公司 | Applet downloading method and device |
CN106506575A (en) * | 2015-09-07 | 2017-03-15 | 奇点新源国际技术开发(北京)有限公司 | Communication means and device |
CN106658688A (en) * | 2017-01-11 | 2017-05-10 | 中科院微电子研究所昆山分所 | System and method for realizing GSM module controlling in single-chip microcomputer |
CN108206998A (en) * | 2016-12-20 | 2018-06-26 | 北京小米移动软件有限公司 | Obtain the method and device of end message |
CN109068314A (en) * | 2018-09-27 | 2018-12-21 | 努比亚技术有限公司 | Operator's configuration file switching method, smart machine and readable storage medium storing program for executing |
CN109257740A (en) * | 2018-09-27 | 2019-01-22 | 努比亚技术有限公司 | Profile method for down loading, mobile terminal and readable storage medium storing program for executing |
US20190028881A1 (en) * | 2017-07-20 | 2019-01-24 | T-Mobile Usa, Inc. | Subscription management service data feeds |
-
2020
- 2020-04-28 CN CN202010352804.3A patent/CN111615099B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699464A (en) * | 2013-12-18 | 2014-04-02 | 北京星河亮点技术股份有限公司 | Communication terminal automatically testing method and device |
CN106506575A (en) * | 2015-09-07 | 2017-03-15 | 奇点新源国际技术开发(北京)有限公司 | Communication means and device |
CN105704702A (en) * | 2016-04-20 | 2016-06-22 | 中国联合网络通信集团有限公司 | Applet downloading method and device |
CN108206998A (en) * | 2016-12-20 | 2018-06-26 | 北京小米移动软件有限公司 | Obtain the method and device of end message |
CN106658688A (en) * | 2017-01-11 | 2017-05-10 | 中科院微电子研究所昆山分所 | System and method for realizing GSM module controlling in single-chip microcomputer |
US20190028881A1 (en) * | 2017-07-20 | 2019-01-24 | T-Mobile Usa, Inc. | Subscription management service data feeds |
CN109068314A (en) * | 2018-09-27 | 2018-12-21 | 努比亚技术有限公司 | Operator's configuration file switching method, smart machine and readable storage medium storing program for executing |
CN109257740A (en) * | 2018-09-27 | 2019-01-22 | 努比亚技术有限公司 | Profile method for down loading, mobile terminal and readable storage medium storing program for executing |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738790A (en) * | 2020-12-24 | 2021-04-30 | 联通物联网有限责任公司 | File processing method and device |
CN112738790B (en) * | 2020-12-24 | 2022-08-05 | 联通物联网有限责任公司 | File processing method and device |
CN113518341A (en) * | 2021-04-13 | 2021-10-19 | 武汉天喻信息产业股份有限公司 | eSIM code number management method and device |
CN114363880A (en) * | 2021-12-28 | 2022-04-15 | 武汉天喻信息产业股份有限公司 | eSIM card multi-number management method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111615099B (en) | 2023-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121568B (en) | APP calling method and device, electronic equipment and readable storage medium | |
CN111615099B (en) | eSIM card interaction control method and related equipment | |
US9043936B2 (en) | Communications device | |
SK452004A3 (en) | Method for launching an application with a mobile station | |
CN107318098B (en) | Terminal control method, SIM card, communication module and terminal | |
CN107370804B (en) | Software application processing method and device | |
JP2017506450A (en) | Dual SIM mobile communication device cloud identification method, device and system | |
CN109561002B (en) | Voice control method and device for household electrical appliance | |
CN113518341B (en) | eSIM code number management method and device | |
CN104424241A (en) | Website link processing method, device and system based on two-dimension code | |
CN114727275A (en) | Method and related device for processing active command | |
EP2620897A1 (en) | Method, device and system for displaying radio frequency identification application information | |
KR100734693B1 (en) | Information processing system, interrogator and method for reading ic tag | |
CN101500335B (en) | Dual mode terminal and method for processing data service thereof | |
CN111147402A (en) | Method and device for customizing factory setting items of switch, switch and system | |
CN101247599A (en) | STK command processing method, device and mobile terminal in multi-card mobile terminal | |
CN103079190A (en) | Method, system and host machine for realizing webpage browsing function by wireless terminal | |
CN112887958A (en) | Data storage method, storage medium and terminal equipment | |
CN114065084A (en) | Page jump method, device, equipment and storage medium | |
CN111061776A (en) | Method, system, terminal device and storage medium for realizing automatic data analysis | |
JP2017521938A (en) | Method and apparatus for realizing virtual communication card | |
CN105611068B (en) | Mobile terminal and method for upgrading system | |
CN110769409B (en) | Virtual SIM card transplanting method, system and computer readable storage medium | |
CN113365260B (en) | Profile downloading method and device, intelligent terminal and storage medium | |
KR101086754B1 (en) | Mobile Devices for Using Multi Mobile Devices |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |