CN113518341B - eSIM code number management method and device - Google Patents

eSIM code number management method and device Download PDF

Info

Publication number
CN113518341B
CN113518341B CN202110396158.5A CN202110396158A CN113518341B CN 113518341 B CN113518341 B CN 113518341B CN 202110396158 A CN202110396158 A CN 202110396158A CN 113518341 B CN113518341 B CN 113518341B
Authority
CN
China
Prior art keywords
instruction
code number
esim
card
interface
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.)
Active
Application number
CN202110396158.5A
Other languages
Chinese (zh)
Other versions
CN113518341A (en
Inventor
桂靖
张新访
董逢华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Tianyu Information Industry Co Ltd
Original Assignee
Wuhan Tianyu Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Tianyu Information Industry Co Ltd filed Critical Wuhan Tianyu Information Industry Co Ltd
Priority to CN202110396158.5A priority Critical patent/CN113518341B/en
Priority to PCT/CN2021/104182 priority patent/WO2022217759A1/en
Publication of CN113518341A publication Critical patent/CN113518341A/en
Application granted granted Critical
Publication of CN113518341B publication Critical patent/CN113518341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Abstract

The application relates to an eSIM code number management method and a device, relating to the technical field of communication, wherein the eSIM code number management method comprises the following steps: receiving an operation management instruction for an eSIM card; assembling and generating a corresponding standard APDU instruction according to the operation management instruction; and sending a standard APDU instruction to the eSIM card based on a machine-card channel interface corresponding to the eSIM card. According to the application, the corresponding standard APDU command is generated according to the operation management command, code number management is carried out through the corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is brought to code number management for developers.

Description

eSIM code number management method and device
Technical Field
The application relates to the technical field of communication, in particular to an eSIM code number management method and device.
Background
With the enhancement of processing capability and the expansion of memory space of an eSIM card, nowadays, multiple operator code numbers can be downloaded in one eSIM card, and the code numbers can be freely switched.
At present, many communication modules communicate with a built-in eSIM card by using an RTOS system, wherein communication with the eSIM card is involved, and a 7816 protocol is necessary to transmit a standard APDU command.
The developer wants to implement the code number management function, and needs to know the interaction flow and data format definition of the standard APDU instruction related to the interaction of the eSIM card. In addition, because the corresponding implementation modes of different module manufacturers are different, developers also need to know the implementation mode of different manufacturers so as to enable the application program to be adaptive to the terminal module equipment, which puts higher requirements on the capability of the developers and greatly improves the development difficulty of the application program.
In order to solve the above technical problems, a general eSIM code number management technology is now provided, which facilitates developers to manage eSIM cards.
Disclosure of Invention
The application provides an eSIM code number management method and device, wherein a corresponding standard APDU instruction is generated according to an operation management instruction, code number management is carried out through a corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is provided for a developer to manage the code number.
In a first aspect, the present application provides an eSIM code number management method, including the following steps:
receiving an operation management instruction for an eSIM card;
assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
sending the standard APDU instruction to the eSIM card based on a machine-card channel interface corresponding to the eSIM card; wherein the content of the first and second substances,
the function types of the machine-card channel interface comprise an opening channel interface, an instruction communication interface and a closing channel interface, and the machine-card channel interface is configured with a system interface and a memory application interface.
In step S1, specifically, the developer may call the open API interface to send an operation management instruction for the eSIM card by using the open API interface;
the machine card channel interface specifically comprises the following function types: opening a channel interface, an instruction communication interface and closing the channel interface, and configuring a system interface and a memory application interface simultaneously, thereby facilitating cross-platform transplantation;
in specific implementation, the machine-card channel interface may be a virtual AT + CSIM interface or a virtual AT + CGLA interface.
Specifically, the assembling and generating of the standard APDU command corresponding to the operation management command includes the following steps:
extracting operation management information in the operation management instruction;
and assembling and generating a standard APDU command according to the operation type corresponding to the operation management information.
Specifically, the operation types include code number inquiry, code number downloading, code number enabling, code number disabling and code number deleting.
Further, the method comprises the following steps:
and the eSIM card executes the standard APDU instruction, and if the execution fails, an error is reported.
Further, the method comprises the following steps:
and the eSIM card executes the standard APDU command, and feeds back corresponding response information if the execution is successful.
In a second aspect, the present application provides an eSIM code number management apparatus, the apparatus including:
an instruction receiving module for receiving an operation management instruction for the eSIM card;
the instruction processing module is used for assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
the adaptation layer module is used for sending the standard APDU instruction to the eSIM card through a machine-card channel interface corresponding to the eSIM card; wherein the content of the first and second substances,
the function types of the machine-card channel interface comprise an opening channel interface, an instruction communication interface and a closing channel interface, and the machine-card channel interface is configured with a system interface and a memory application interface.
The machine-card channel interface specifically comprises the following function types: opening a channel interface, an instruction communication interface and closing the channel interface, and configuring a system interface and a memory application interface simultaneously, thereby facilitating cross-platform transplantation;
in specific implementation, the machine-card channel interface may be a virtual AT + CSIM interface or a virtual AT + CGLA interface.
Further, the apparatus further comprises:
the instruction receiving module is configured with an open API interface;
the instruction receiving module receives the operation management instruction for the eSIM card based on the open API interface.
Further, the instruction processing module is further configured to extract operation management information in the operation management instruction;
and the instruction processing module is also used for assembling and generating a standard APDU instruction according to the operation type corresponding to the operation management information.
Specifically, the operation types include code number inquiry, code number downloading, code number enabling, code number disabling and code number deleting.
Further, the instruction processing module is further configured to receive and assemble response information fed back by the eSIM card when the eSIM card executes the standard APDU instruction and the execution is successful.
The beneficial effect that technical scheme that this application provided brought includes:
according to the application, a corresponding standard APDU instruction is generated according to the operation management instruction, code number management is carried out through a corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is brought to code number management for developers.
Drawings
Interpretation of terms:
eSIM: Embedded-SIM, virtual smart card;
RTOS: real Time Operating System, Real Time Operating System;
APDU: an Application Protocol Data Unit;
API: application Programming Interface, Application program Interface.
In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 only some embodiments of the present application, 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 flowchart illustrating steps of an eSIM code number management method provided in an embodiment of the present application;
fig. 2 is a block diagram of an eSIM code number management apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides an eSIM code number management method and device, wherein a corresponding standard APDU instruction is generated according to an operation management instruction, code number management is performed through a corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is provided for a developer to manage the code number.
In order to achieve the technical effects, the general idea of the application is as follows:
an eSIM code number management method comprises the following steps:
s1, receiving an operation management instruction for the eSIM card;
s2, assembling and generating a corresponding standard APDU command according to the operation management command;
and S3, sending a standard APDU instruction to the eSIM card based on the machine-card channel interface corresponding to the eSIM card.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In a first aspect, referring to fig. 1, an embodiment of the present application provides an eSIM code number management method, including the following steps:
s1, receiving an operation management instruction for the eSIM card;
s2, assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
and S3, sending a standard APDU instruction to the eSIM card based on the machine-card channel interface corresponding to the eSIM card.
In the embodiment of the application, the corresponding standard APDU instruction is generated according to the operation management instruction, code number management is carried out through the corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is provided for a developer to manage the code number.
In step S1, specifically, the developer may call the open API interface to send an operation management instruction for the eSIM card by using the open API interface;
the machine-card channel interface specifically comprises the following function types: opening a channel interface, an instruction communication interface and closing the channel interface, and configuring a system interface and a memory application interface simultaneously, thereby facilitating cross-platform transplantation;
in specific implementation, the card channel interface provides a code number management interface including NB modules, CAT1, CAT4, and other modules, which may be a virtual AT + CSIM interface or a virtual AT + CGLA interface.
Specifically, the assembling and generating of the standard APDU command corresponding to the operation management command includes the following steps:
extracting operation management information in the operation management instruction;
and assembling and generating a standard APDU instruction according to the operation type corresponding to the operation management information.
Specifically, the operation types include code number inquiry, code number downloading, code number enabling, code number disabling and code number deleting.
Further, the method for managing the eSIM code number further comprises the following steps:
and the eSIM card executes the standard APDU command, and if the execution fails, an error is reported.
Further, the method for managing the eSIM code number further comprises the following steps:
and the eSIM card executes the standard APDU command, and feeds back corresponding response information if the execution is successful.
It should be noted that, in the specific implementation process of the embodiment of the present application, the function of obtaining the code number list may be implemented.
In a second aspect, referring to fig. 2, an embodiment of the present application provides an eSIM code number management apparatus based on the eSIM code number management method mentioned in the first aspect, the apparatus including:
an instruction receiving module for receiving an operation management instruction for the eSIM card;
the instruction processing module is used for assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
and the adaptation layer module is used for sending a standard APDU instruction to the eSIM card through a machine-card channel interface corresponding to the eSIM card.
In the embodiment of the application, the corresponding standard APDU instruction is generated according to the operation management instruction, code number management is carried out through the corresponding machine-card channel interface, and the eSIM code number management work is subjected to generalized processing, so that convenience is provided for a developer to manage the code number.
The machine-card channel interface specifically comprises the following function types: opening a channel interface, an instruction communication interface and closing the channel interface, and configuring a system interface and a memory application interface simultaneously, thereby facilitating cross-platform transplantation;
in specific implementation, the machine-card channel interface may be a virtual AT + CSIM interface or a virtual AT + CGLA interface.
Further, the eSIM code number management apparatus further includes:
the instruction receiving module is configured with an open API interface;
the instruction receiving module receives an operation management instruction aiming at the eSIM card based on the open API interface;
specifically, based on the open API interface, the developer calls the open API interface to send an operation management instruction for the eSIM card to the instruction receiving module; .
Furthermore, in the eSIM code number management device, the instruction processing module is further configured to extract operation management information in the operation management instruction;
the instruction processing module is further used for assembling and generating a standard APDU instruction according to the operation type corresponding to the operation management information.
Specifically, the operation types include code number inquiry, code number downloading, code number enabling, code number disabling and code number deleting.
Further, in the eSIM code number management device, the instruction processing module is further configured to receive and assemble response information fed back by the eSIM card when the eSIM card executes the standard APDU instruction and the execution is successful.
It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present application and are presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An eSIM code number management method, characterized by comprising the steps of:
receiving an operation management instruction for an eSIM card;
assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
sending the standard APDU instruction to the eSIM card based on a machine-card channel interface corresponding to the eSIM card; wherein the content of the first and second substances,
the function types of the machine-card channel interface comprise an opening channel interface, an instruction communication interface and a closing channel interface, and the machine-card channel interface is configured with a system interface and a memory application interface.
2. The method for managing the number of eSIM codes according to claim 1, wherein the step of assembling and generating the corresponding standard APDU command according to the operation management command comprises the steps of:
extracting operation management information in the operation management instruction;
and assembling and generating a standard APDU instruction according to the operation type corresponding to the operation management information.
3. The eSIM code number management method of claim 2, wherein:
the operation types comprise code number inquiry, code number downloading, code number starting, code number forbidding and code number deleting.
4. The eSIM code number management method of claim 1, further comprising the steps of:
and the eSIM card executes the standard APDU instruction, and if the execution fails, an error is reported.
5. The eSIM code number management method of claim 1, further comprising the steps of:
and the eSIM card executes the standard APDU command, and feeds back corresponding response information if the execution is successful.
6. An eSIM code number management apparatus, the apparatus comprising:
an instruction receiving module for receiving an operation management instruction for the eSIM card;
the instruction processing module is used for assembling and generating a corresponding standard APDU instruction according to the operation management instruction;
the adaptation layer module is used for sending the standard APDU instruction to the eSIM card through a machine-card channel interface corresponding to the eSIM card; wherein the content of the first and second substances,
the function types of the machine-card channel interface comprise an opening channel interface, an instruction communication interface and a closing channel interface, and the machine-card channel interface is configured with a system interface and a memory application interface.
7. The eSIM code number management apparatus of claim 6, wherein the apparatus further comprises:
the instruction receiving module is configured with an open API interface;
the instruction receiving module receives the operation management instruction for the eSIM card based on the open API interface.
8. The eSIM code number management apparatus of claim 6, wherein:
the instruction processing module is also used for extracting operation management information in the operation management instruction;
and the instruction processing module is also used for assembling and generating a standard APDU instruction according to the operation type corresponding to the operation management information.
9. The eSIM code number management apparatus of claim 8, wherein:
the operation types comprise code number inquiry, code number downloading, code number starting, code number forbidding and code number deleting.
10. The eSIM code number management apparatus of claim 6, wherein:
the instruction processing module is further used for receiving and assembling response information fed back by the eSIM card when the eSIM card executes the standard APDU instruction and the execution is successful.
CN202110396158.5A 2021-04-13 2021-04-13 eSIM code number management method and device Active CN113518341B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110396158.5A CN113518341B (en) 2021-04-13 2021-04-13 eSIM code number management method and device
PCT/CN2021/104182 WO2022217759A1 (en) 2021-04-13 2021-07-02 Esim code-number management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110396158.5A CN113518341B (en) 2021-04-13 2021-04-13 eSIM code number management method and device

Publications (2)

Publication Number Publication Date
CN113518341A CN113518341A (en) 2021-10-19
CN113518341B true CN113518341B (en) 2022-05-10

Family

ID=78061830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110396158.5A Active CN113518341B (en) 2021-04-13 2021-04-13 eSIM code number management method and device

Country Status (2)

Country Link
CN (1) CN113518341B (en)
WO (1) WO2022217759A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363880A (en) * 2021-12-28 2022-04-15 武汉天喻信息产业股份有限公司 eSIM card multi-number management method, device, equipment and readable storage medium
CN117528493B (en) * 2024-01-02 2024-03-29 南京南瑞信息通信科技有限公司 Virtual communication method and system based on user identification module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848491A (en) * 2018-03-16 2018-11-20 深圳杰睿联科技有限公司 Virtual SIM card creates system
CN111480350A (en) * 2017-12-18 2020-07-31 华为技术有限公司 Method and equipment for data access of embedded SIM card

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874054B (en) * 2012-12-07 2017-09-15 中国移动通信集团公司 Data transmission method and mobile terminal, SIM card
KR102428002B1 (en) * 2018-02-01 2022-08-03 삼성전자 주식회사 Electronic device for installing a profile and method for the same
CN109257739B (en) * 2018-09-27 2022-02-22 努比亚技术有限公司 eSIM card operation method, mobile terminal and eSIM card device
CN109219039B (en) * 2018-09-27 2022-04-19 努比亚技术有限公司 eSIM card operation method, mobile terminal and eSIM card device
CN109379735B (en) * 2018-09-27 2022-04-19 努比亚技术有限公司 eSIM card operation method, mobile terminal and eSIM card device
CN109089258B (en) * 2018-09-27 2022-04-19 努比亚技术有限公司 eSIM card operation method, mobile terminal and eSIM card device
CN109819434A (en) * 2019-01-11 2019-05-28 深圳市斯凯荣科技有限公司 A kind of card cell system and control method based on eSIM
CN110446201B (en) * 2019-09-20 2022-03-18 恒宝股份有限公司 Communication module, communication method and system for realizing eSIM remote configuration
CN110958601B (en) * 2019-12-11 2021-10-15 深圳联想懂的通信有限公司 eSIM card management method, electronic device and storage medium
CN111142885B (en) * 2019-12-24 2023-07-07 中国联合网络通信集团有限公司 eSIM equipment management method, device, equipment and storage medium
CN111615099B (en) * 2020-04-28 2023-07-04 深圳市有方科技股份有限公司 eSIM card interaction control method and related equipment
CN112492548B (en) * 2020-10-31 2022-08-05 联通系统集成有限公司贵州省分公司 eSIM download communication system and communication method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111480350A (en) * 2017-12-18 2020-07-31 华为技术有限公司 Method and equipment for data access of embedded SIM card
CN108848491A (en) * 2018-03-16 2018-11-20 深圳杰睿联科技有限公司 Virtual SIM card creates system

Also Published As

Publication number Publication date
CN113518341A (en) 2021-10-19
WO2022217759A1 (en) 2022-10-20

Similar Documents

Publication Publication Date Title
EP2421216B1 (en) Enhanced near field communication terminal, smart card and communication method thereof
US8814051B2 (en) Personal token having enhanced communication abilities for a hosted application
KR100911604B1 (en) System and method for the management of wireless communications device system software downloads in the field
US7340276B2 (en) System for downloading program to general-purpose subscriber identification module
CN113518341B (en) eSIM code number management method and device
US7481373B2 (en) Triggering a proactive session from an applet in a smart card
US20100093396A1 (en) Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device
US20020137545A1 (en) Method for processing and transmitting data on a mobile telephone network and microchip onboard system
US20180181416A1 (en) Information processing apparatus, ic chip, information processing method, program, and information processing system
CN101739755B (en) Method and device for realizing smart card multi-service application
CN104471600A (en) Safety unit management method and terminal
CN107251069B (en) Near field communication payment method and terminal
CN101895883B (en) Smart card supporting authentication arithmetic update and method for updating authentication arithmetic
CN103455349A (en) Method and device for accessing intelligent card by application program
JP4780110B2 (en) Method, system, and microcontroller card for communicating application services from a microcontroller card to a terminal
US20170124339A1 (en) Implementing method for javacard application function expansion
CN111615099A (en) eSIM card interaction control method and related equipment
CN110414651A (en) Debug the method and device of smart card
US8844827B2 (en) Chip card, and method for the software-based modification of a chip card
CN111638860B (en) Implementation method for UHF printer and UHF printer
KR102037556B1 (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
CN113508411A (en) Virtual electronic card management method and system, security chip, terminal and storage medium
CN114417900A (en) System and method for realizing unified read-write card and peripheral access
EP3047660B1 (en) Method of communicating between a server and a secure element
CN107038038B (en) Method for operating large-capacity USIM applet

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