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

Android-system-based device and data storage method

A data storage and data technology, applied in the redundant operation of data error detection, electrical digital data processing, special data processing applications, etc., can solve the problem that the Sqlite database cannot meet the requirements, achieve high access speed, High speed and high reliability, the effect of ensuring access security

Inactive Publication Date: 2012-05-16
BEIJING ERENEBEN INFORMATION TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the existing Sqlite database under the Android system cannot meet the requirements when there are extremely high requirements for data security and data access speed at the same time.

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
  • Android-system-based device and data storage method
  • Android-system-based device and data storage method
  • Android-system-based device and data storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0031] see figure 1 , in the first embodiment of the method for storing data based on the Android system, the present invention includes the following steps:

[0032] Step 101: Real-time storage step: when storing data, store the data to be stored in a real-time database running in memory mode;

[0033] Step 102: redundant storage step: synchronously storing the data to be stored in the redundant database running in safe mode while storing the data to be stored in the real-time database;

[0034] Step 103: Data recovery step: when the real-time database is damaged, restore the data in the redundant database to the real-time database.

[0035] In this embodiment, when storing data, the data that needs to be stored is stored in a real-time database running in memory mode and a redundant database running in safe mode at the same time, and the real-time...

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 an Android-system-based device and a data storage method. The method comprises the following steps of: when data is stored, storing the data to be stored into a real-time database which is run in a memory mode, and synchronously storing the data to be stored into a redundant database which is run in a safe mode, wherein the real-time database which is run in the memory mode can realize high-speed access; and the redundant database which is run in the safe mode can ensure the safety of the data. The real-time database can realize the high-speed access of the data under a normal condition, and when the real-time database is damaged, the redundant database can recover the data to ensure the access safety of the data, so that the requirements of high rate and high reliability are finally met at the same time.

Description

technical field [0001] The invention relates to the field of embedded electronics, in particular to an Android system-based device and a data storage method. Background technique [0002] The Sqlite database is a popular lightweight embedded database nowadays. Because it requires very little disk storage space, CPU and memory and other system resources, it is the first choice for storing data under the Android system. [0003] There is a problem when using the Sqlite database based on the Android system. Usually, the Sqlite database can run in two modes: memory mode and safe mode. When running in memory mode, the data access speed of the database is very fast, but the security is not high, and the database may be damaged in extreme situations such as a sudden power failure of the system. When running in safe mode, although the security is extremely high, the database will not be damaged under any extreme circumstances, but its data access speed is much lower than that in me...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F11/14
Inventor 刘涛韩澍青周佳杜国楹
Owner BEIJING ERENEBEN INFORMATION TECH