CN112188477B - eSIM card quick downloading method - Google Patents

eSIM card quick downloading method Download PDF

Info

Publication number
CN112188477B
CN112188477B CN202010959551.6A CN202010959551A CN112188477B CN 112188477 B CN112188477 B CN 112188477B CN 202010959551 A CN202010959551 A CN 202010959551A CN 112188477 B CN112188477 B CN 112188477B
Authority
CN
China
Prior art keywords
transaction
downloading
profile
download
apdu
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
CN202010959551.6A
Other languages
Chinese (zh)
Other versions
CN112188477A (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.)
Beijing CEC Huada Electronic Design Co Ltd
Original Assignee
Beijing CEC Huada Electronic Design 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 Beijing CEC Huada Electronic Design Co Ltd filed Critical Beijing CEC Huada Electronic Design Co Ltd
Priority to CN202010959551.6A priority Critical patent/CN112188477B/en
Publication of CN112188477A publication Critical patent/CN112188477A/en
Application granted granted Critical
Publication of CN112188477B publication Critical patent/CN112188477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • 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/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Abstract

The invention discloses a rapid downloading method of an eSIM card, which performs atomic protection on key data writing through a cross APDU transaction mechanism, thereby solving the problem of unstable NVM data caused by power failure in the downloading process and solving the problem of slow downloading performance. The method provided by the invention comprises the following steps: when the eSIM card starts to download profile, starting transaction processing; submitting transaction processing when profile downloading is finished after a plurality of APDUs are processed; in the course of multiple APDUs processing, only one transaction is enabled.

Description

eSIM card quick downloading method
Technical Field
The invention relates to the technical field of smart cards, in particular to the field of smart cards which are required to support eSIM functions.
Background
The eSIM card supports remote subscription services, supporting multiple telecommunications Profile remote downloads. In the process of downloading the telecom Profile, a large number of telecom files are created, MNSDs and SSDs are created, packages are downloaded, and applets are installed. All of these operations involve NVM region space allocation. The NVM region space allocation, and the writing of NVM addresses in system entries (including object management tables and file management tables, etc.), need to guarantee atomicity to avoid power down instability and space leakage (which cannot be recovered after space allocation).
At present, eSIM cards are realized based on Java card platforms. In the Java platform, the atomicity of the NVM is guaranteed by a transaction mechanism. But the transaction mechanism only supports NVM atomic erasure in one APDU process.
A common telecommunications Profile is about several K bytes, and tens to tens APDUs are required to complete the downloading process. If a transaction mechanism of a Java platform is adopted, multiple transactions are required to complete. While the two most predominant operations of the transaction mechanism are to initiate a transaction and commit a transaction. When a transaction is committed, it is necessary to write the NVM multiple times to set the backup data to invalid, which can introduce some performance overhead. Thus, during Profile download, if transactions are committed multiple times, the Profile download performance is slow.
Disclosure of Invention
Aiming at the problem of low download performance of the existing eSIM card, the invention provides a high-performance eSIM card download method, which can obviously reduce the transaction submission times in the Profile download process and promote the remote download speed of eSIM card products.
The invention ensures the atomicity protection of the writing of key data (such as a space allocation table and an object management table/file management table) by reducing the number of transactions, starting the transactions when the Profile starts downloading, not submitting the transactions when the APDU processing is finished, but submitting the transactions when the Profile ends downloading after a plurality of APDUs are processed. And the repeated transaction processing in the Profile downloading process is reduced to only 1 transaction processing, so that the eSIM card downloading performance can be remarkably improved. The processing mode provided by the invention is first initiated, and the existence of similar technologies is not found.
In order to achieve the above purpose, the technical method adopted by the invention comprises the following steps:
step one, receiving APDU.
And step two, judging whether Profile downloading starts or not, if yes, executing downwards, otherwise, jumping to step four and executing backwards.
And step three, starting the transaction.
And step four, processing the APDU.
Step five, judging whether an abnormality occurs in the APDU processing process, and executing step six if the abnormality occurs; otherwise, executing the step seven and executing the step backwards.
And step six, aborting the transaction, returning to the downloading failure, and ending the downloading flow.
Step seven, judging whether Profile downloading is finished, if so, executing step eight; otherwise, executing step nine.
And step eight, submitting the transaction, returning successful downloading, and ending the downloading flow.
And step nine, returning to the successful execution of the APDU, jumping to the step one, and continuing the downloading procedure.
Drawings
FIG. 1 is a flow chart of a Java platform transaction process
FIG. 2 is a flow chart of an eSIM download cross-APDU transaction process according to the present invention
Fig. 3 is a flow chart of a fast download of an embodiment eSIM card
FIG. 4 is a flow chart of an embodiment of a start transaction
FIG. 5 is a flow chart of an embodiment commit transaction
Detailed Description
The general transaction flow of the Java card platform is shown in figure 1.
The eSIM download of the present invention spans APDU transaction flows, see fig. 2.
The method for rapidly downloading the eSIM card provided by the invention is further described below with reference to the accompanying drawings and examples. 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 be within the scope of the invention.
1. An exemplary eSIM fast download flow diagram is shown in fig. 3. Considering that an eSIM card is a multi-application card, multiple logical channels are supported, and when a certain channel downloads profiles (the eSIM card does not support simultaneous downloading of multiple profiles), other channels may have a transaction mechanism that an application needs to use the Java platform to provide. Thus, a Profile download channel number is introduced for compatible eSIM download cross APDU transactions and Java platform generic transactions. The process comprises the following steps:
s3001, powering up the card, initializing (setting the downloading channel number invalid), and sending reset information.
S3002, receive APDU command.
S3003, judging whether the Profile downloading starts, if yes, executing step S3004, otherwise, jumping to step S3006.
S3004, record the download channel number, set the download channel number as the current APDU channel number.
S3005, executing a start transaction flow.
S3006, processing the APDU command, analyzing the Profile, creating a file, installing an SD or Applet, and the like.
S3007, judging whether the downloading process is abnormal, if so, jumping to a step S3013; otherwise, step S3008 is performed.
S3008, judging whether Profile downloading is finished, and if so, jumping to step S3010; otherwise, step S3009 is executed.
S3009, returning to APDU processing success, jumping to step S3002, and continuing the download flow.
S3010, clearing the download channel number and setting the download channel number as an invalid value.
S3011, executing the transaction flow.
S3012, returning Profile downloading success information, and jumping to step S3016.
S3013, clearing the download channel number and setting the download channel number as an invalid value.
S3014, aborting the transaction, wherein the processing is consistent with the Java platform aborting the transaction flow.
S3015, returning Profile downloading failure information.
S3016, finishing the Profile downloading process.
2. An embodiment initiates a transaction flow diagram, as shown in FIG. 4, comprising the steps of:
s4001, starting a transaction flow, and acquiring a current channel number.
S4002, judging whether the current channel number is equal to the downloading channel number, if so, jumping to step S4005; if not, it is stated that the Java platform transaction mechanism is invoked for the application, and step S4003 is performed.
S4003, judging whether the download channel number is valid, if so, executing step S4004 if the download channel number is valid, and if so, indicating that the Profile is being downloaded in a non-current channel; otherwise, step S4005 is skipped.
S4004, finishing cross APDU transaction processing of the current Profile download, and preparing to start a Java platform transaction mechanism called by the application.
S4005, starting Java platform transaction processing of application call.
S4006, the starting transaction flow ends.
3. An embodiment commits a transaction flow diagram, as shown in FIG. 5, comprising the steps of:
s5001, the transaction flow is submitted, and the current channel number is acquired.
S5002, ending the current transaction may include clearing the atomic protection flag, updating the NVM data, setting the backup data to be invalid, etc.
S5003, judging whether the current channel number is equal to the downloading channel number, if so, stopping the downloading process normally, and jumping to the step S5006; if not, the execution of the commit flow by calling the Java platform transaction mechanism for the application is described, and step S5004 is executed.
S5004, judging whether the download channel number is valid, if so, executing step S5005 if the download channel number is valid, indicating that the Profile is being downloaded in a non-current channel; otherwise, the process jumps to step S5006.
S5005, restarting the transaction for Profile downloading, and starting the transaction processing.
S5006, ending the transaction flow.

Claims (4)

1. A rapid download method of an eSIM card is characterized in that transaction processing spans a plurality of APDUs, when Profile begins to download, the number of a channel is recorded, the transaction processing is started, and when each APDU in the middle is ended, the transaction is not submitted; when the Profile finishes downloading, the transaction is submitted after the last APDU processing is completed, and the downloading channel number is cleared.
2. The method of claim 1, wherein the transaction is only enabled once during Profile download.
3. The method of claim 1, wherein during Profile download, the transaction supports cross APDU transactions, unlike Java platform transactions.
4. The method of claim 1, wherein during the Profile downloading process, the download channel number is recorded for compatibility with cross APDU transactions and Java platform generic transactions.
CN202010959551.6A 2020-09-14 2020-09-14 eSIM card quick downloading method Active CN112188477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010959551.6A CN112188477B (en) 2020-09-14 2020-09-14 eSIM card quick downloading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010959551.6A CN112188477B (en) 2020-09-14 2020-09-14 eSIM card quick downloading method

Publications (2)

Publication Number Publication Date
CN112188477A CN112188477A (en) 2021-01-05
CN112188477B true CN112188477B (en) 2023-10-13

Family

ID=73921862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010959551.6A Active CN112188477B (en) 2020-09-14 2020-09-14 eSIM card quick downloading method

Country Status (1)

Country Link
CN (1) CN112188477B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434710B1 (en) * 1998-06-22 2002-08-13 Kabushiki Kaisha Toshiba Commit controlling scheme for transaction processing in system utilizing check point/roll back scheme
CN102135899A (en) * 2010-01-26 2011-07-27 华为技术有限公司 Transaction control method and device
CN106664544A (en) * 2014-07-19 2017-05-10 三星电子株式会社 Method and device for embedded sim provisioning

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099344B2 (en) * 2002-02-04 2006-08-29 Telefonaktiebolaget Lm Ericsson (Publ) Multiple dialogues on connection-oriented TCAP transaction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434710B1 (en) * 1998-06-22 2002-08-13 Kabushiki Kaisha Toshiba Commit controlling scheme for transaction processing in system utilizing check point/roll back scheme
CN102135899A (en) * 2010-01-26 2011-07-27 华为技术有限公司 Transaction control method and device
CN106664544A (en) * 2014-07-19 2017-05-10 三星电子株式会社 Method and device for embedded sim provisioning

Also Published As

Publication number Publication date
CN112188477A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN105893084A (en) Version upgrading method and terminal equipment
US7454199B2 (en) System and method for temporary application component deletion and reload on a wireless device
US8140064B2 (en) Methods and apparatus to use an identity module in telecommunication services
US7861238B2 (en) Configuration tool and method of updating an archive file property relating to at least one point-of-sale peripheral
CN1918932B (en) Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
EP2799993A1 (en) Method and device for system differential upgrade and mobile terminal
CN101771804B (en) Backup and restore method for DTV receiving terminal software system
CN102542444A (en) Method, device and system for carrying out identity verification of mobile payment
US20170323105A1 (en) Virtual machine creation method and apparatus
CN107664989B (en) Customized information automatic binding and collecting method
CN112188477B (en) eSIM card quick downloading method
CN101989294B (en) Distributed file resolving method and resolving system
CN101895883A (en) Smart card supporting authentication arithmetic update and method for updating authentication arithmetic
CN110427192A (en) A kind of IT system continuous integrating and lasting dissemination method
US8966618B2 (en) License management system, and computer-readable recording medium storing license management program
CN108279988B (en) Message processing method and system based on Lua script language
US7925556B1 (en) Streaming conversion
CN105653904A (en) Application screen-locking processing method and apparatus as well as mobile terminal
CN104994493A (en) Method, robot and system for opening an account with real-name system
CN112035219B (en) Virtual machine data access method, device, equipment and storage medium
CN102629209B (en) Method, single board and system for realizing plug-and-play of single board
CN112950370A (en) Service processing method, device, equipment and storage medium
CN111178996A (en) Method and system for avoiding reopening bills
CN117093880B (en) Single sign-on user management method and system based on medical integrated platform
CN114528585A (en) Page modification control method for H5 webpage development platform

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