Smart card power-off protection method

A power-off protection and smart card technology, which is applied in the direction of radio/inductive link selection arrangement, response error generation, redundant data error detection in calculation, etc., can solve the problem that the storage space of the smart card memory cannot be fully and effectively utilized , Occupying a large storage space and other issues, to achieve the effect of improving storage space utilization and less storage space

Inactive Publication Date: 2008-12-10
EASTCOMPEACE TECH
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, this power-off protection method needs to set a power-off protection area with the size of a seven-page storage block in the memory of the smart card. If the storage space of each page of storage block is large, the power-off protection area will take up a large amount of storage space. The storage space of the storage device cannot be fully and effectively utilized

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
  • Smart card power-off protection method
  • Smart card power-off protection method
  • Smart card power-off protection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] see image 3 , is a schematic diagram of the storage structure of the smart card memory in the embodiment of the present invention. In this embodiment, the smart card is provided with a central processing unit and a memory that can be read and written by the central processing unit, wherein the memory is a page-type virtual memory composed of multiple page memory blocks, and the memory space of each page memory block has a fixed size and equal.

[0026] In this embodiment, it is necessary to encode each page memory block in the memory, that is, to set the page flag of each page, and write the page flag to the start byte and end byte of each page memory block middle. like image 3 As shown, the encoding of the storage block is sequentially encoded from 0x01, and the encoding of the last storage block is set to 0xFF, and the last storage block is used as the data backup area. When the central processing unit reads the data in the memory, it reads the data according to...

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 provides a power-off protection method for a smart card, the smart card includes a central processing unit and a memorizer divided into a plurality of pages of storage blocks, the method comprises the steps of: setting, in the memorizer, a data backup region of one page of storage block which is a backup storage block; setting a page mark for each page of storage block and writing the page mark for each page of storage block into start-stop bytes of the corresponding storage block; searching for an updating storage block in need of being written with updating data, and computing the start byte and stop byte of the updating data in the updating storage block; orderly copying the data before the start byte corresponding to the updating data in the updating storage block, the updating data and the data after the stop byte corresponding to the updating data in the updating storage block to the backup storage block; erasing the data of the updating storage block and exchanging the page marks of the updating storage block and the backup storage block. The invention can reduce memorizer space occupied by a power-off protection region and improve utilization rate of storage space of the smart card memorizer.

Description

technical field [0001] The invention relates to a data recording method, in particular to a smart card power-off protection method for preventing data loss when the smart card is powered off. Background technique [0002] With the development of mobile communication technology, the use of mobile phones has become very popular, and most mobile phones use removable smart cards for communication, such as SIM cards and UIM cards. When a user communicates with a mobile phone, the mobile phone reads and writes the smart card, such as reading the user's personal data stored in the smart card, and writing the received update menu or the contact information input by the user to the smart card. However, when the mobile phone writes data to the smart card, the written data is temporarily stored in the smart card. Once the mobile phone is powered off before writing data to the smart card, the smart card will erase the original data. If the power is cut off, the updated data will not be...

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): H04Q7/32G06F11/14
Inventor 杨梦飞
Owner EASTCOMPEACE 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