Application loading running method for intelligent card, and intelligent card

A technology of application loading and running methods, applied in the field of smart cards, which can solve the problems of small capacity and limited ability of smart cards to process business, etc.

Active Publication Date: 2017-07-07
TENDYRON CORP
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But at present, the capacity of the non-volatile memory RAM in the smart card and the capacity of the on-chip F

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
  • Application loading running method for intelligent card, and intelligent card
  • Application loading running method for intelligent card, and intelligent card
  • Application loading running method for intelligent card, and intelligent card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] This embodiment provides a smart card. figure 1 It is a structural block diagram of the smart card in the embodiment of the present invention. Such as figure 1 As shown, the smart card 100 includes: a virtual machine 10 , on-chip FLASH 20 , RAM 30 and off-chip FLASH 40 . Wherein, the virtual machine 10 in this embodiment can be used to manage the loading and running of the system application of the smart card and multiple APP applications of the smart card, for example, it can be a Java card virtual machine. The virtual machine 10 converts the class file (class file) downloaded from the external device to the smart card to generate a bytecode file (.cap file), and dynamically links the bytecode file into an intermediate code file, and converts the Intermediate code files are stored in corresponding memory. The on-chip FLASH20, RAM30 and off-chip FLASH40 can all store the code segment of the intermediate code file (for example, the code segment of the system applicati...

Embodiment 2

[0114] This embodiment provides a method for loading and running an application of a smart card, which can be realized by the smart card and the virtual machine described in Embodiment 1 above. The following mainly describes the flow of the method for loading and running the application of the smart card provided by this embodiment, and other related content may refer to the description of Embodiment 1.

[0115] image 3 It is a flowchart of a smart card application loading and running method provided in this embodiment. Such as image 3 As shown, the method includes the following steps:

[0116] S101: The virtual machine receives the download instruction and obtains the intermediate code file of the application to be loaded. The intermediate code file at least includes: the code segment of the application to be loaded and the first base address of the code segment of the application to be loaded, wherein the first base address is The base address allocated by the virtual m...

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 provides an application loading running method for an intelligent card, and the intelligent card. The method comprises the steps of receiving a downloading instruction by a virtual machine, and obtaining an intermediate code file of a to-be-loaded application, wherein the intermediate code file at least comprises a code segment of the to-be-loaded application and a first base address of the code segment; generating an application registry entry of the to-be-loaded application, wherein the application registry entry comprises identifier information of the to-be-loaded application, a current running address of the code segment and a current storage address, the current running address is the first base address, and the current storage address comprises the first basis address; according to the type of the to-be-loaded application, a running speed demand or a moving request input by a user, judging whether the code segment of the to-be-loaded application needs to be moved or not; and when the code segment needs to be moved, allocating a second base address at an external FLASH to the code segment of the to-be-loaded application, storing the code segment of the to-be-loaded application in the external FLASH, modifying the current running address to the second base address, and adding the second base address to the current storage address.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an application loading and running method of a smart card and the smart card. Background technique [0002] As an important tool for identification and security authentication, smart cards have been widely used. In particular, the combination of Java technology and smart card technology makes smart cards more and more widely used. This smart card is often called a Java card because it can support Java virtual machines and various operating platforms. [0003] The Java card is suitable for over-the-air downloading, multimedia information management, short-distance payment and other services, and can also support the operation and management of multiple APP applications. As the Java card can carry and process more and more services, it is stored in the card cache And the scale of the processed data is also increasing. Therefore, the requirement on the capacity of the memory c...

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): G06F9/30G06F9/445G06K19/07
CPCG06F9/30043G06F9/44521G06K19/07G06F3/0608G06F3/0649G06F3/0658G06F3/0679G06F8/61
Inventor 李东声
Owner TENDYRON CORP
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