Data backup system for embedded database, and data backup and recovery method

An embedded system and data backup technology, applied in the field of database processing, can solve problems such as the inability to restore backups

Inactive Publication Date: 2009-06-10
ZTE CORP
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The fundamental purpose of data backup is to reuse, that is to say, the core of bac

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 system for embedded database, and data backup and recovery method
  • Data backup system for embedded database, and data backup and recovery method
  • Data backup system for embedded database, and data backup and recovery method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0032] Such as figure 1 As shown, the data backup system of the embedded system database of the present invention comprises a system hardware storage device, and the system hardware storage device is provided with a main database storage area for storing data; it is also provided with a standby database storage area and two Check code storage space, where one check code storage space is used to store the check code calculated based on the data in the primary database, and the other check code storage space is used to store the check code calculated based on the data in the standby database , the above-mentioned standby database storage area is used to store the data of backup; a database backup recovery module is also arranged on the software layer of the data backup system, which is connected to the central processing unit of the system ha...

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 present invention discloses a data backup system for an embedded database, and a method for backing up and restoring data. A backup database storage region and two check code storage spaces are arranged on system hardware storage equipment. A database backup and storage module is also arranged in the data backup system to carry out reading and writing operation on a main database storage region, the backup database storage region and the check code storage spaces and compute, store and judge the check codes. The system achieves a 1+1 protecting function on the database through adding the database backup and storage module in a software layer, reserving data backup space with the same size as that of database space and respectively providing storage space used for storing the check codes for the main database and the backup database simultaneously, thereby guaranteeing that the system can restore the data from the other database when the database has abnormities.

Description

technical field [0001] The invention relates to a database processing method in an embedded real-time operating system in the field of computers, in particular to a data backup system and a data backup and recovery method of an embedded database capable of preventing database data from occurring abnormally. Background technique [0002] The support of the database is often needed during the operation of the single-board software, and with the improvement of user requirements, the requirements for the system database are even higher. However, due to many reasons such as sudden power failure of the system during use, the data in the system database may be abnormal. Once the data is abnormal, it may cause data loss or even the collapse of the entire operating system. Therefore, it is necessary to back up the data in the system database, and then use the backup data to restore the database when there is a problem with the system data. [0003] As the name suggests, data backup ...

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/14G06F17/30
Inventor 王光辉张晋谢大
Owner ZTE CORP
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