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

Log backup method and device and smart card

A smart card and log technology, applied in the communication field, can solve problems such as backup time extension, large memory consumption, and inability to ensure the atomicity and integrity of restored data, so as to achieve the effect of ensuring accuracy

Inactive Publication Date: 2012-07-11
BEIJING WATCH DATA SYST
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] (1) Each sub-log item of the communication data is directly written into the non-volatile storage medium in turn. Therefore, it is necessary to perform multiple read or write operations on the non-volatile storage medium, which not only consumes a large memory, but also And the backup time is longer;
[0011] (2) A corresponding check value is set for each sub-log item of the communication data. Therefore, when the subsequent power failure occurs, when restoring the data in the backup area of ​​the non-volatile storage medium, it is necessary to check the value of each sub-log item. The check value is checked to determine the recoverable sub-log items and the unrecoverable sub-log items; the data recovered by the existing power-off protection method may not be complete. For a data transaction, if If the recovered communication data is incomplete, it cannot be used; therefore, the existing power-down protection method not only cannot ensure the atomicity (ie integrity) of the recovered data, but also has low fault tolerance

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
  • Log backup method and device and smart card
  • Log backup method and device and smart card
  • Log backup method and device and smart card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] Embodiments of the present invention provide a log backup method and device thereof, and a smart card, so as to increase the speed of backing up data in the smart card and reduce the memory consumed by data backup. The method for implementing log backup includes: dividing the communication data corresponding to this business communication into multiple sub-log items, and caching the multiple sub-log items in a volatile storage medium; The plurality of sub-log items cached in the volatile storage medium are written into corresponding backup areas in the non-volatile storage medium at one time.

[0054] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0055] see figure 2 , which is a flowchart of a method for implementing log backup in an embodiment of the present invention, including:

[0056] Step 201. Divide the communication data corresponding to this business communication into mult...

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 log backup method, a log backup device and a smart card. By the method and the device, the backup speed of data in the smart card is improved, and a memory consumed by data backup is reduced. The log backup method comprises the following steps of: dividing communication data corresponding to the current service communication into a plurality of log sub-items, and caching the log sub-items to a volatile storage medium; and when the current service communication is finished, writing the log sub-items cached in the volatile storage medium in the corresponding backup area in a non-volatile storage medium at one time.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for realizing log backup, a device thereof, and a smart card. Background technique [0002] At present, after using smart cards for data transactions (ie, business communications), it is necessary to back up the transaction data (ie, communication data) for subsequent operations such as data recovery; in order to protect the security of the backup data, how can It is particularly important to ensure the data security of the smart card. If the data in the smart card is lost or restored inaccurately, it may cause various problems during the use of the smart card, and in severe cases, the smart card may not be usable. At present, with the rapid development of smart cards, the performance of different types of smart cards varies widely, but in general, the operating systems used by smart cards are COS systems, and COS systems are relatively stable on some smart cards but not on so...

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/14G06K19/07
Inventor 刁春强孙婉丽
Owner BEIJING WATCH DATA SYST
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