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

Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device

A data recovery device and data backup technology, which are applied in the direction of data error detection, response error generation, etc., using redundancy in computing, can solve problems such as the performance degradation of smart card applications, and achieve the effect of improving performance.

Inactive Publication Date: 2010-06-30
BEIJING WATCH DATA SYST
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The more storage space used to save backup items in NORFLASH, the less storage space for other applications, for example, the less storage space for storing codes related to smart card applications, which leads to the reduction of smart card application performance

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
  • Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device
  • Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device
  • Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] In the first embodiment, a data writing process carried out by NANDFLASH of the smart card is described, as image 3 shown, including:

[0066] Step S301, start the current data writing process.

[0067] Step S302, determine the sector corresponding to the current data writing, that is, determine the current sector.

[0068] Step S303 , judging whether the original data stored in the current sector has been backed up, if so, go to step 306 ; otherwise, go to step S304 . Since multiple data write operations may be performed on a sector during a data write process, this step can realize that only when the first data write operation is performed on a sector, the original data stored in the sector can be backup.

[0069] Step S304, find out a free sector in each sector of FAT2 in the FAT32 file system, you can search in order from front to back, and write the data stored in the current sector into the found free sector middle.

[0070] Step S305, creating a backup item...

Embodiment 2

[0076] When creating a backup item corresponding to the current sector in the above step S305, if there is no free backup storage space in the first backup item sector of NORFLASH, then use the invalid second backup item sector of NANDFLASH to create a corresponding backup item , which is described in detail below through the complete flow of backup item creation, such as Figure 4 shown, including:

[0077] Step S401, start the backup item creation.

[0078] Step S402, judging whether there is free backup item storage space in the first backup item sector of NORFLASH, if yes, proceed to step S403; otherwise, proceed to step S404.

[0079] Step S403, creating a backup item corresponding to the current backup item in the first backup item sector. The information of the specifically created backup item can be the same as that of the prior art, for example, as figure 2 As shown, it may include four parts, valid flag, original sector number, target sector number and check code...

Embodiment 3

[0090] In the third embodiment of the present invention, based on the above data backup method, a method for erasing backup items is provided, which can be used in the above step S308, and the process is as follows Figure 5 shown, including:

[0091] Step S501, setting the second flag in the valid second backup item sector of NANNFLASH to be invalid.

[0092] Step S502, erasing the content stored in the first backup item sector of NORFLASH.

[0093] A better specific implementation method is provided below, such as Image 6 shown, including:

[0094] Step S601, start backup item erasure.

[0095] Step S602, judging whether there is a valid second backup item sector in each second backup item sector of NANDFLASH, if yes, go to step S603; otherwise, go to step S604.

[0096] In this step, it may specifically be: determine the valid second backup item sector according to whether the second flag in each second backup item sector is valid; or it may be: the third backup item s...

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 data backup method, a data backup device, a backup item erasing method, a backup item erasing device, a data recovery method and a data recovery device. When an idle backup storage space is absent in a first backup item sector of a second nonvolatile flash memory of an intelligent card, a corresponding backup item is established by using an invalid second backup item sector of a first nonvolatile flash memory. Corresponding marks can also be set to effectively represent that the first backup item sector and the second backup item sector are valid and are used for erasing the backup item and recovering data. Compared with the prior art, by adopting the methods and the devices provided by the invention, an atomicity operation in the process of writing the data once and simultaneously the use of a space in the NORFLASH for writing the backup item so as to improve the application performance of the intelligent card.

Description

technical field [0001] The invention relates to the field of data protection in the technical field of smart cards, in particular to a data backup, backup item erasure and data recovery method and device. Background technique [0002] At present, smart cards are usually microprocessor cards, and the core of the microprocessor card is a microprocessor, which usually includes the following additional modules: ROM (Read Only Memory), which has different types of ROM, including electrical erasable Programmable read-only memory EEPROM and non-volatile flash memory NORFLASH, random access memory RAM (Random Access Memory) and I / O interface. [0003] One of the most important high-performance indicators of high-performance smart cards is reflected in "mass memory". In addition to RAM and ROM, the large-capacity memory of high-performance smart cards may be integrated in the microprocessor or expanded through the I / O interface. Non-volatile flash memory NANDFLASH is used as a data ...

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/14
Inventor 戴敏
Owner BEIJING WATCH DATA SYST