Unlock instant, AI-driven research and patent intelligence for your innovation.

Backup data storage and loading method and device and storage medium

A technology for backing up data and data areas, applied in the field of data processing, can solve problems such as difficult maintenance and update, cumbersome process, etc.

Inactive Publication Date: 2019-07-12
WUHAN KOTEI INFORMATICS
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the data that needs to be backed up is often defined in different compiled codes or modules. When backing up these data, developers need to back up these data to ROM one by one. The process is not only cumbersome but also not easy to maintain and update.

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
  • Backup data storage and loading method and device and storage medium
  • Backup data storage and loading method and device and storage medium
  • Backup data storage and loading method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] figure 1 It is a structural diagram of the backup data storage and loading device in this embodiment. Please refer to figure 1 , the device in this embodiment includes a memory and a processing unit. The prior art includes at least an example of the same architecture, such as an electronic terminal.

[0051] An electronic terminal may be a device providing voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem, such as: the electronic terminal may be a mobile phone (or It can be a "cellular" phone), a computer with a mobile terminal, etc., it can also be a portable, pocket, handheld, computer built-in or vehicle-mounted mobile device, and of course it can also be a wearable device (such as a smart watch, smart bracelet, etc. ), tablet computer, personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), POS (sales terminal, P...

Embodiment 2

[0069] Please refer to figure 2 , this embodiment discloses a flowchart of a method for storing and loading backup data. The steps of the method of this embodiment can be completely executed on a processor connected with RAM and ROM.

[0070] S110. Configure the backup data area and storage information of the backup data area in the RAM.

[0071] S120. Store backup data in the backup data area corresponding to the stored information.

[0072] S210. Generate a first hash according to the backup data in the backup data area.

[0073] S221. Query the version index number index of the backup data in the backup data area, or assign the version index number index to 0 when the version index number does not exist.

[0074] S222. Make the version index number index+1.

[0075] S230. Allocate two areas for storing data in the ROM.

[0076] S240. Store the combination of the backup data version index number index and the first hash in the backup data area respectively in the stora...

Embodiment 3

[0085] To further illustrate the method of this embodiment, this embodiment discloses a storage medium for storing computer instructions that can be executed by a processor such as an electronic terminal and its peripheral circuits. When the computer instructions in this embodiment are executed by a processor, the steps of the above methods are implemented.

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 backup data storage and loading method and device and a storage medium. The method comprises: when data is stored, generating first verification data according to the backupdata in the backup data area, inquiring the version index number of the backup data in the backup data area, updating the version index number, distributing at least two data storage areas in the read-only memory, and respectively storing the backup data in the backup data area, and the combination of the version index number and the first check data in the data storage area; in data loading, calculating second verification data of the backup data in the data storage area, when the first check data and the second check data are the same, selecting a corresponding data storage area as an effective data area, comparing version index numbers of different effective data areas, selecting the effective data area corresponding to the version index number meeting a preset condition as a latest data area, and loading backup data in the latest data area to the backup data area.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a backup data storage and loading method, device and storage medium. Background technique [0002] In the current TBOX software system, more data needs to be backed up and stored. However, the data that needs to be backed up is often defined in different compiled codes or modules. When backing up these data, developers need to back up these data to ROM one by one. The process is not only cumbersome but also not easy to maintain and update. Contents of the invention [0003] The embodiment of the present invention at least discloses a backup data storage and loading method, which can store the backup data in a unified manner, and at the same time ensure the timeliness of the backup data through algorithm verification and version index comparison. [0004] The methods include: [0005] S100. Allocate a backup data area for storing the backup data in the random a...

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/14
CPCG06F11/1448G06F11/1456G06F11/1458
Inventor 程德心肖洋林肖胜红
Owner WUHAN KOTEI INFORMATICS