A sqlite data recovery method suitable for merging non-integer primary keys and free blocks

A recovery method, a technology of free blocks, applied in the direction of data error detection, relational database, database model, etc.

Active Publication Date: 2020-05-12
CHONGQING UNIV OF POSTS & TELECOMM
View PDF6 Cites 0 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
  • A sqlite data recovery method suitable for merging non-integer primary keys and free blocks
  • A sqlite data recovery method suitable for merging non-integer primary keys and free blocks
  • A sqlite data recovery method suitable for merging non-integer primary keys and free blocks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions in the embodiments of the present invention will be described clearly and in detail below in conjunction with the drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the present invention.

[0030] The technical solution of the present invention to solve the above technical problems is:

[0031] Aiming at the problem of missing key information of free block types, this method notices that for integer primary keys and non-integer primary keys, the binary layout of the unit has a different meaning from each byte, and a numerical calculation method combining estimation and verification is proposed. Aiming at the situation of free block merging and reduction, the defragment mechanism that causes B+tree reorganization, free block merging and free block reduction is studied, and a recovery method based on split free block and free page data extraction is proposed.

[0032] The present inventio...

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, and mainly relates to data recovery of SQLite databases, and 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 number of smartphones produced reached 350 million units and maintained a growth trend. In electronic forensics, smart machine forensics is very important, and data extraction is the basis for forensic work. A large amount of user information such as short messages, browsing records, and address book are stored in SQLite. How to extract the deleted data is of great significance to forensics. [0003] Since 1983, many scholars have conducted research on the recovery of deleted data in SQLite. The existing research mainly focuses on four aspects. First, from the perspective of auxiliary files, transaction files...

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): G06F16/21G06F16/28G06F16/22G06F11/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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products