Method for performing read-write operation on programmable read-only memory with cache by JAVA card

A read-only memory, read-write operation technology, applied in the field of smart cards, can solve problems such as slow application download and installation

Active Publication Date: 2011-05-18
HENGBAO
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you do not use a certain method to optimize the programming of EERP...

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 performing read-write operation on programmable read-only memory with cache by JAVA card
  • Method for performing read-write operation on programmable read-only memory with cache by JAVA card
  • Method for performing read-write operation on programmable read-only memory with cache by JAVA card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following specific embodiments further describe in detail how a JAVA card operating system utilizes cache to read and write EEPROM / FLASH, but it is not intended as a limitation to the invention patent.

[0019] Such as figure 1 As shown, when data programming starts 1, the JAVA card operating system first judges whether the cache is started 2. If not started, the operating system does not enable the cache mechanism, directly programs data to the corresponding physical address 6, and then ends the programming operation 11; otherwise, the system enables the cache mechanism.

[0020] The programming operation is based on three programming parameters, the source address of the programming data, the destination address of the programming data and the length of the programming data.

[0021] see figure 2 , the operating system can determine which pages of EEPROM / FLASH need to be programmed according to the target address and data length of the programming data, and 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 performing read-write operation on a programmable read-only memory (EEPROM/FLASH ROM) with cache by a JAVA card. The technical scheme is that: a JAVA card operating system distributes an RAM (random access memory) space several times larger than the page size for caching the dynamic data of the EEPROM/FLASH according to the page size of the EEPROM/FLASH. When the EEPROM/FLASH is programmed, the data is not written immediately, and the data to be written is cached in the cache RAM. The cache data is written into the EEPROM/FLASH only when an operating system refreshes a new cache RAM. When the operating system reads data, the data, if cached, is read from the cache RAM. Through the data caching method, the programming times of the EEPROM/FLASH can be reduced, and thus the card operation speed is improved and the service life of the card is prolonged.

Description

technical field [0001] The invention belongs to the field of smart cards, and in particular relates to a method for reading and writing EEPROM / FLASH by a JAVA card operating system using cache memory. Background technique [0002] Inside the JAVA card, there is a JAVA card operating system running, which is used to explain and execute the Java card Applet (application program) of the JAVA card, manage the download, installation, and deletion of the JAVA card application, implement security isolation between different JAVA card applications, accept And distribute and process the application protocol data unit (APDU) command sent by the external terminal. In order to realize these complicated functions, a large amount of data information needs to be managed inside the JAVA card operating system. These data information are usually stored in ROM, RAM and EERPOM / FLASH according to different data types and uses. [0003] The JAVA card operating system is generally stored in ROM ...

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): G06F12/08G06K19/07G06F9/44
Inventor 底明辉
Owner HENGBAO
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