Unlock instant, AI-driven research and patent intelligence for your innovation.

Intelligent card and method for recovering data

A technology for recovering data and smart cards, which is applied in the direction of error detection of data redundancy in computing, record carriers used by machines, generation of response errors, etc., and can solve problems such as inability to correctly restore data in the data area of ​​smart cards

Inactive Publication Date: 2014-03-26
BEIJING WATCH DATA SYST
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a smart card and its data recovery method, which are used to solve the problem that if the current smart card is abnormally powered off when operating the backup area, different results may be obtained when the data in the backup area is read multiple times, resulting in failure to restore the smart card correctly. Data area data problem

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
  • Intelligent card and method for recovering data
  • Intelligent card and method for recovering data
  • Intelligent card and method for recovering data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The specific implementation of a smart card and its data recovery method according to the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0029] The invention provides a method for recovering data of a smart card, which is used for data recovery after a smart card is abnormally powered off, such as figure 2 shown, including:

[0030] Step 201, read the backup items in the backup area in the flash memory of the smart card into the preset storage space outside the backup area at one time, if the reading into the preset storage space cannot be completed, reload the items on the smart card Re-read at power-up until complete;

[0031] Step 202 , after the reading into the preset storage space is completed, verify the validity of the read backup items in the preset storage space, and restore the data of the smart card according to the valid backup items after successful verification.

[0...

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 an intelligent card and a method for recovering data; the method comprises the step of reading a backup item in a backup region in an intelligent card flash memory into a preset storage space outside the backup region once, wherein if the operation that the backup item is read to the preset storage space is not finished, the backup item is read again until reading is finished when the intelligent card is electrified again; after the backup item read to the preset storage space is finished, the read backup item is subjected to the effectiveness verification in the preset storage space; and the intelligent card is subjected to the data recovery according to the effective backup item verified successfully. In the invention, all backup items in the backup region are read into the preset storage space; afterwards, the backup items are subjected to the effectiveness verification and data recovery in a data region based on the read backup items at this time; when the backup items are read for a plurality of times, consistent data can be read; and when the intelligent card is in an abnormal power failure in a process for operating the backup region, any data recovery of the intelligent card is ensured to be effective.

Description

technical field [0001] The invention relates to the technical field of data backup, in particular to a smart card and a data recovery method thereof. Background technique [0002] The transaction operation of the smart card is atomic, that is, when a transaction modifies a batch of data, it either completes all of them and replaces the original data with the modified data, or does not modify any data. However, the power failure of the smart card often destroys the atomicity of smart card transaction operations. For example, after a write operation is completed, the smart card is suddenly powered off, and the update operation of the data area is only partially completed; or a write operation takes a long time. In the middle of the operation, the smart card is suddenly powered off, resulting in the incomplete completion of the write operation. [0003] In order to ensure the atomicity of transaction operations, the smart card uses a backup mechanism, that is, when the write o...

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 Patents(China)
IPC IPC(8): G06F11/14G06K19/07
Inventor 张楠
Owner BEIJING WATCH DATA SYST