Method and device for restoring data in embedded database

A database and embedded technology, which is applied in the direction of data error detection, electrical digital data processing, special data processing applications, etc., to solve data anomalies, loss, and increase the burden of physical storage resources in embedded systems, etc. problem, to achieve the effect of improving fault tolerance and saving storage resources
CN101894137AInactive Publication Date: 2010-11-24ZTE CORP

Patent Information

Authority / Receiving Office
CN ¡ China
Current Assignee / Owner
ZTE CORP
Publication Date
2010-11-24
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 method and device for restoring data in an embedded database. The method comprises the following steps: judging whether the data files and the data file structures in a master database and a backup database are wrong; updating the data files in the master database into the data files in the backup database when the data files and / or the data file structures in the master database are wrong while the data files and the data file structures in the backup database are correct; and updating the data files in the backup database into the data files in the master database when the data files and the data file structures in the master database are correct while the data files and / or the data file structures in the backup database are wrong. The method and device provided by the invention restore the data in the embedded database with wrong data files and / or data file structures, thus saving the storage resources in the embedded system and improving the fault tolerance of the databases in the embedded system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of embedded systems, in particular to a method and device for restoring data in an embedded database. Background technique

[0002] In embedded systems, such as in large-capacity communication transmission equipment, the single-board software often needs to manage the data in the embedded system through the data management module during the operation process. The data management module generally uses Embedded databases, or file table structures similar to databases are managed. In order to ensure that the embedded system data is stable and persistent, these data tables need to be stored on physical storage media. With the rapid development of embedded technology, users have higher and higher requirements for data stability. However, when the single-board software encounters power failure or program abnormal reset during operation, data may be abnormal or lost. , so it is necessary to back up the data so tha...

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