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

CN102567146AInactive Publication Date: 2012-07-11BEIJING WATCH DATA SYST
5 Cites 22 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2012-07-11
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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...

Examples

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...