Index-based smart card record backup and recovery method

A recovery method and smart card technology, applied to the record carrier used by the machine, the generation of response errors, the error detection of redundant data in the operation, etc., can solve the problem of damage to the backup area, time waste, and repeated erasure of blocks in the backup area Write and other issues to achieve the effect of reducing time waste, improving transaction efficiency, and reducing the number of bytes

Active Publication Date: 2014-04-23
BEIJING UNIV OF TECH
View PDF16 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this technology can guarantee the integrity of the data, there are two shortcomings: first, the original record must be backed up every time the record is written, which is equivalent to spending twice the time for writing the record
Due to the slow writing speed of semiconductor memory, in a transaction, the main time consumption comes from data writing, so the time waste caused by backup becomes serious; the second is that the address of the backup area is fixed and the amount of data is large. Records must be re-erased in the backup area and then re-written, resulting in multiple erasing and writing of a large number of blocks in the backup area
This is prone to rapid corruption of the backup area, thus greatly reducing the life of the smart card

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
  • Index-based smart card record backup and recovery method
  • Index-based smart card record backup and recovery method
  • Index-based smart card record backup and recovery method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The content of the present invention will be further described below with reference to the drawings and embodiments.

[0042] The method of the present invention includes two parts: a recording backup method during writing and a recording recovery method after power-on. figure 1 It is a flow chart of the method of recording and backup when the smart card is written, including the following steps:

[0043] Step 1. Calculate the index number I according to the data in the index area 0 .

[0044] Calculate the number of 0s based on the data in the index area and return this value to I 0 , That is, the index number is obtained.

[0045] Step 2. Calculate the current effective record address according to the index number.

[0046] Different types of records have different index areas. The recording area of ​​the same type is composed of consecutive records of equal length, and the length, start address and index number of different types of records are different. First determine th...

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 relates to an index-based smart card record backup and recovery method. The index-based smart card record backup and recovery method achieves a backup and recovery function by arranging an index area and a backup area inside a smart card. The index area stores index numbers and is used for computing the write-in address locations of corresponding records. For a specific sort of fixed-length records, when the starting address of a record area is fixed, the index number of every record and the starting address of the record are in a one-to-one relation. The backup area contains a front protection mark, a record length, a currently-latest effective record address, a recovery record address and a rear protection mark. Whether to perform record recovery can be determined according to the protection marks, when new record writing fails and the record recovery is required, a previous effective record can be restored according the two stored addresses and the record length. The index-based smart card record backup and recovery method replaces backup recording with backup indexing, thereby greatly reducing the number of bytes written in during every backup, improving the transaction efficiency of the smart card and reducing the damage rate of the backup area.

Description

Technical field [0001] The invention relates to a method for backup and recovery of records in a smart card, in particular to a method for ensuring the correctness of records in the case of accidental power failure caused by illegal plugging and unplugging. Background technique [0002] IC card is an integrated circuit card with a chip embedded inside. The concept of IC card was first proposed in 1969, and was improved in 1974 and continues to this day. It is a new information carrier with more powerful functions after the magnetic stripe card, which is also called a smart card. [0003] Magnetic stripe cards use magnetic carriers to record data and read and write data through magnetic induction. Unlike magnetic stripe cards, smart cards use semiconductors to store data, and are coded and controlled by logic circuits or microprocessors, and then read and write data through radio frequency interfaces or contact interfaces. The devices in the smart card are all active devices and ...

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/14G06F17/30G06K19/07
Inventor 林超林平分胡杰吴旭文
Owner BEIJING UNIV OF TECH
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