Method for recovering SQLite deleted data based on similar type matching and estimation

A similar type of data deletion technology, applied in the direction of electrical digital data processing, special data processing applications, computing, etc., can solve the problem of recovering discontinuous data units in free blocks, and achieve the effect of improving the recovery rate

Active Publication Date: 2015-08-26
SOUTHEAST UNIV
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a SQLite deleted data recovery method based on similar matching estimation, which is used to solve the problem that the existing

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
  • Method for recovering SQLite deleted data based on similar type matching and estimation
  • Method for recovering SQLite deleted data based on similar type matching and estimation
  • Method for recovering SQLite deleted data based on similar type matching and estimation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention will be further described below in conjunction with the accompanying drawings.

[0050] figure 1 Shown is the flowchart of recovery of free blocks by the SQLite deleted data recovery method based on similar type matching estimation of the present invention. Include the following steps:

[0051] 101. Set three free block feature rules in advance: feature rule 1, free block contains an incomplete data unit, and part of the data in the middle period is overwritten by the newly written unit; feature rule 2, free block contains a complete data unit; feature Rule 3. The free block contains two or more data units; then import the obtained SQLite database file.

[0052] 102. By parsing the sqlite_master table, the root page number of the internal page of the sqlite_master table can be obtained. The internal page only stores navigation information, and its pointer field points to the pointer of the lower-level page. All database records are stored in the...

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 method for recovering SQLite deleted data based on similar type matching and estimation. The method comprises the following main steps of firstly, importing a database file and analyzing an sqlite _master table to obtain a data segment of the data table and a root page number of an inner page, wherein the inner page points at a subpage; secondly, traversing all subpages to obtain all free block data; thirdly, reading each free block in sequence, matching with at least one predetermined characteristic rule for the free blocks, and judging whether each free block is provided with a complete data unit or not; if each free block is provided with the complete data unit, precisely recovering the free block; if each free block is incomplete, receiving uncovered data in the data unit; and lastly, decoding the recovered deleted data and recovering the deleted sqlite file data. According to the method, the deleted data unit can be quickly located, the method is suitable for the condition that a plurality of discontinuous data units exist in the free blocks, and the recovery rate for the deleted data is improved.

Description

technical field [0001] The invention relates to a data restoration technology, in particular to a method for restoring SQLite deleted data. Background technique [0002] Data recovery refers to the technology of rescuing and recovering electronic data lost on desktop hard disks, notebook hard disks, storage tape libraries, mobile hard disks, U disks, school bag memory cards, Mp3 and other devices through technical means. [0003] In recent years, with the continuous development of communication technology, the application of smart phones has become more and more popular. However, there are more and more high-tech crimes using mobile phones as crime tools. Therefore, it is particularly important to analyze the data of mobile terminals in the process of evidence collection and investigation. Public security departments urgently need to obtain user information data such as contacts, call records, short messages, emails, and social activities in mobile phones, and restore dele...

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): G06F17/30
CPCG06F16/2282
Inventor 宋宇波戚姗姗陈飞项睿清顾荣荣浦希益胡爱群
Owner SOUTHEAST UNIV
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