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

Mobile communication terminal-based database index repair method and device

A mobile communication terminal and database technology, which is used in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as terminal crashes, cannot be turned on, and database abnormalities, so as to reduce the impact and ensure normal use.

Active Publication Date: 2012-08-01
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, while compressing, the mobile communication terminal can perform other operations, so conflicts may occur, resulting in database exceptions
At the same time, writing a large amount of data to the database quickly when the database is working may also cause abnormalities in the database
At present, there is no perfect fault-tolerant mechanism in the mobile communication terminal based on the Brew platform. It can only simply judge whether the reading of the database is normal. It will cause an infinite loop because the database cannot skip the bad area when reading, causing the terminal to crash or fail to boot, which affects the normal use of the mobile communication terminal

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
  • Mobile communication terminal-based database index repair method and device
  • Mobile communication terminal-based database index repair method and device
  • Mobile communication terminal-based database index repair method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In the database file of the mobile communication terminal, the identifier of each record is unique, and when the index table is established, sorting is performed according to the size of the record identifier. When obtaining a record through the index table, first obtain the record identifier, and then search the offset address of the corresponding record in the database file according to the obtained record identifier, so as to obtain the record corresponding to the record identifier. Whenever an operation is performed on a database file, it is necessary to read the entire database file, that is, first find the offset address of the index table from the database file, and then find the index table in the database file according to the record identifier and the corresponding offset address contained in the obtained index table. Record and read accordingly. Among them, when reading the index table sequentially, according to the currently obtained record identifier A, sea...

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 mobile communication terminal-based database index repair method and a mobile communication terminal-based database index repair device, which are used for reducing the influence of an abnormal database on a mobile communication terminal. The method comprises the following steps of: acquiring a database file and a first index table corresponding to the database file; when the first index table containing repeated record identifiers is determined, deleting the first index table, and establishing a second index table aiming at the database file; acquiring the record identifiers contained in the database file sequentially and confirming whether the acquired record identifiers are saved to the second index table or not; and when the record identifiers are not saved to the second index table, saving the acquired record identifiers and corresponding record offset addresses to the second index table. By the method, the abnormal database can be repaired, the influence of the abnormal database on the mobile communication terminal can be reduced effectively, and the normal use of the mobile communication terminal can be ensured. Simultaneously, the invention discloses the mobile communication terminal-based database index repair device.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for repairing a database index based on a mobile communication terminal. Background technique [0002] At present, many applications in mobile communication terminals are managed and controlled by databases. For example, applications such as phone book, call records, and calendars are implemented by databases. However, there are many unstable factors in the database in the mobile communication terminal, and data abnormalities may occur. Once the data in the database is abnormal, it may cause data loss in the mobile communication terminal, or the function cannot be used, or even crash or The serious consequence of not being able to start the machine seriously affects the development efficiency. [0003] The following is an example of a mobile communication terminal based on the Brew platform. In a mobile communication terminal based on the Brew platform, a relational...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 刘刚刘薇
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD