Method for initializing java card and java card

An initialization and initial vector technology, applied in the field of smart cards, can solve problems affecting the production efficiency of java cards, reduce initialization time and improve production efficiency

Active Publication Date: 2012-06-27
FEITIAN TECHNOLOGIES
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, for the java card that runs for the first time after masking, the java virtual machine needs a lot of time to initialize, and the initialization time has far exceeded the ATR sending time stipulated in ISO7816-3, resulting in the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for initializing java card and java card
  • Method for initializing java card and java card
  • Method for initializing java card and java card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] The first embodiment of the present invention provides a method for initializing a java card. In this method, the development software is used to obtain the mirror image from the simulation card, and the mirror image is processed and then applied to the uninitialized java card.

[0050] In this embodiment, before using the development software to initialize the uninitialized java card, first perform the following operations:

[0051] Download the binary file written in the ROM of the java card during the masking to the ROM of the emulator, and the emulator runs the two-level file to obtain operating environment data, and the operating environment data is stored in the NVM of the emulator in. The emulator is an emulation card, and the emulation card is in an inactive state after being powered on for the first time. The process of obtaining a mirror image from the simulation card is as follows:

[0052] Step A: Insert the simulated card into the card reader and power on for t...

Embodiment 2

[0192] The second embodiment of the present invention provides another method for initializing a java card, see image 3 ,details as follows:

[0193] Step 301: Power on the card;

[0194] Step 302: The card checks the current status flags of the card, and performs operations in corresponding states according to the status flags;

[0195] Specifically, in this embodiment, the current state flag of the card may be one of the following four states: inactive state, super administrator state, downloader state, virtual machine state;

[0196] If the current status flag is inactive, perform the following operations: Step 303-1: The card receives the command;

[0197] Specifically, in this embodiment, the value of the life cycle flag bit of the card when the card is in the inactive state is the fourth preset value, for example: 04;

[0198] In this embodiment, the card executes corresponding operations according to the received command, as follows:

[0199] If the command is an activation comman...

Embodiment 3

[0277] The third embodiment of the present invention provides a java card, such as Figure 4 Shown, including:

[0278] The receiving module 410 is used to receive commands;

[0279] The first judgment module 420 is configured to judge the command received by the receiving module 410;

[0280] The second judgment module 430 is configured to judge whether the activation success flag bit of the java card has been set when the first judgment module 420 judges that the received command is an activation command; in the first judgment When the module 420 determines that the received command is a switching command, it determines whether the value of the life cycle flag bit is the first preset value; the first determining module 420 determines that the received command is the first In the APDU command, determining whether the value of the life cycle flag bit is the second preset value;

[0281] The first setting module 440 is configured to: when the second judgment module 430 judges that the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for initializing a java card and the java card. The method comprises the following steps: the java card is electrified, receives commands, judges the received commands and executes different operations aiming at different commands; if the received commands are commands of a first APDU (Application Protocol Data Unit), the java card judges whether the value of a lifecycle flag bit is a preset value or not; if the value of the lifecycle flag bit is not the preset value, the java card returns error codes; otherwise, the java card acquires the data of an operating environment from the commands of the first APDU and writes the data of the operating environment into a non-volatile memory (NVM) of the java card. According to the method for initializing the java card and the java card, the data of the operating environment are written into the NVM of the java card through the commands of the APDU, so that the time for initializing the java card can be reduced, and the production efficiency of java cards is increased.

Description

Technical field [0001] The invention relates to the field of smart cards, in particular to a method for initializing a java card and a java card. Background technique [0002] In the prior art, for the java card that runs for the first time after masking, the java virtual machine needs a lot of time to initialize, and the initialization time has far exceeded the ATR sending time specified in ISO7816-3, resulting in the need to use a dedicated card reader to complete the java card The first run. This will seriously affect the production efficiency of java cards, especially when the card issuance is in units of 10,000. The problem becomes more prominent. Summary of the invention [0003] The present invention provides a method for initializing a java card and a java card to solve the problems existing in the prior art. [0004] The present invention provides a method for initializing a java card, including the following steps: [0005] ① Power on the java card; [0006] ②. The java ca...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/26G06K7/00
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products