Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Power failure protection method for intelligent IC (integrated circuit) card data

A technology to prevent power failure and data, which is applied to the redundancy in computing for data error detection, the record carrier used by the machine, and the generation of response errors, etc., which can solve the problems of slow erasing and writing speed, unstable function of smart IC card, etc. problem, to achieve the effect of reducing the number of erasing and writing, shortening the card issuance time, and prolonging the service life

Inactive Publication Date: 2012-07-25
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the characteristic of EEPROM is that the erasing and writing speed is relatively slow and has a limited service life. Since the backup operation occurs frequently, if the EEPROM in the backup area reaches its service life, the function of the smart IC card will be unstable.

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
  • Power failure protection method for intelligent IC (integrated circuit) card data
  • Power failure protection method for intelligent IC (integrated circuit) card data
  • Power failure protection method for intelligent IC (integrated circuit) card data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] When implementing the present invention, it is necessary to open up a space in the RAM and EEPROM of the smart IC card as a backup area, and how much the space needs to be opened specifically needs to be determined according to the actual application.

[0015] Design a data structure for the backup area, such as figure 1 As shown, the data structure of the backup area includes two parts: header data area and data area.

[0016] The header data area includes a backup restoration mark of two bytes, a backup restoration record number of one byte, a check value of the data area of ​​two bytes, and a check value of the header data area of ​​two bytes.

[0017] The data area stores data in record format, and each record includes two bytes of data restoration address, one byte of data length and specific data determined according to the data length.

[0018] combine figure 2 As shown, in one embodiment, the smart IC card data anti-power-down protection method specifically i...

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 power failure protection method for intelligent IC (integrated circuit) card data. When an IC card is applied, data in the card are frequently modified, and if power fails after the data are erased in the process of modification, data to be written are not normally written while the original data are erased, and important data are lost. When the data in the card are modified, information to be written is firstly backed up to an RAM (random access memory), backup checking information is then computed, a backup and restore mark is set in a restore state, the information is written into the RAM together, all data are organized in the RAM and then written into an EEPROM (electrically erasable programmable read-only memory) backup area, the data are restored, effective data are written into a target data area, and then the backup and restore mark in the backup area is modified into a backup state. Data backup time is shortened by the aid of rapid access features of the RAM, the data are organized in the RAM and then written into the EEPROM backup area once, the frequency of writing the data into an EEPROM is effectively decreased, and the service life of the IC card is prolonged.

Description

technical field [0001] The invention relates to the application field of smart IC (integrated circuit) cards, in particular to a method for preventing data loss in the card due to sudden power failure in the smart IC card application. Background technique [0002] The application fields of smart IC cards are very extensive. In the application, it is often necessary to modify the data. If the power is lost during the data modification process, such as a sudden power failure or a card is inserted or unplugged by mistake, then it is assumed that the original data has been erased and the data to be written has not. Start to write or not write completely, in this case, data will be lost; if it is important data, the smart IC card will not be able to complete the normal application function, resulting in a waste card. In order to prevent the above-mentioned situation, when the data in the smart IC card is modified, the data must be backed up and restored. The backup is generally...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06K19/07
Inventor 施燕
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products