Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SQLite data recovery method applicable to merging of non-integral primary keys with free blocks

A recovery method, technology of free blocks, applied to data error detection, database indexing, relational database, etc. in the direction of redundancy in computing

Active Publication Date: 2017-06-13
CHONGQING UNIV OF POSTS & TELECOMM
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A method is proposed to make up for the lack of parsing ability of the existing methods for non-primary key data. It also takes into account the situation of splitting free blocks to improve the recovery rate, and comprehensively considers the phenomenon of increasing the number of free pages that affects the recovery rate. Recovery rate method for SQLite deleted data

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
  • SQLite data recovery method applicable to merging of non-integral primary keys with free blocks
  • SQLite data recovery method applicable to merging of non-integral primary keys with free blocks
  • SQLite data recovery method applicable to merging of non-integral primary keys with free blocks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The technical solutions in the embodiments of the present invention will be described clearly and in detail below with reference to the drawings in the embodiments of the present invention. The described embodiments are only some of the embodiments of the invention.

[0031] The technical scheme that the present invention solves the above-mentioned technical problem is,

[0032] Aiming at the problem of missing key information of free block type, this method notices that for integer primary keys and non-integer primary keys, the binary layout of units and the meaning of each byte are different, and a numerical calculation method combining estimation and verification is proposed. Aiming at the merging and reduction of free blocks, the defragment mechanism that causes B+tree reorganization, merging of free blocks and reduction of free blocks is studied, and a recovery method based on splitting free blocks and extracting free page data is proposed.

[0033] The present in...

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 provides an SQLite data recovery method applicable to merging of non-integral primary keys and free blocks and relates to the field of computer forensics. The method includes the steps of 1), starting from a root page and a file header to search all the free blocks and free pages; 2), analyzing difference of cell layout of integral primary keys and the non-integral primary keys as well as difference of meanings of bytes, temporarily assuming each free block contains one cell, calculating information of types covered, analyzing the type information and a data field and performing data recovery; 3), for the free blocks cannot pass the step 2), believing that each of the free blocks contains multiple cell, pre-estimating length of the cells stored in the free blocks is from 4 to free block length on the basis of splitting and verifying, and judging pre-estimated values with a single free block extraction module; 4), in response to decreasing of the free blocks due to B+tree reorganization, extracting the data from the free pages collected in the step 1). With the method, the data deleted can be easily recovered from SQLite3 database files, and the data is provided for follow-up electronic forensics work.

Description

technical field [0001] The invention relates to the field of computer forensics, mainly relates to data recovery of SQLite databases, in particular to a database recovery method based on SQLite file structure and deletion and reorganization mechanisms. Background technique [0002] According to the Trend Force research report, in the third quarter of 2016 alone, the production volume of smartphones reached 350 million units and maintained a growth trend. In electronic forensics, smartphone forensics is very important, and data extraction is the basis for forensics work. A large amount of user information such as text messages, browsing records, and address books are stored in SQLite. How to extract deleted data is of great significance to forensics work. [0003] Since 1983, many scholars have conducted research on the recovery of deleted data in SQLite. Existing research mainly focuses on four aspects. First, from the perspective of auxiliary files, transaction files, WA...

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
CPCG06F11/1469G06F16/21G06F16/22G06F16/2246G06F16/284G06F2201/80
Inventor 杜江李明建
Owner CHONGQING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products