Flash File-System Data Restoration Through F2FS Metadata Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional digital forensic methods are inadequate for analyzing and restoring data from flash memory-based file systems, particularly those optimized for environments like F2FS, due to insufficient research and ongoing updates, making it difficult to collect digital evidence effectively.

Innovation Solution

A method for analyzing the metadata structure of a flash memory-based file system, including steps to analyze a superblock, node address table, and main area, and generating a target file for restoration, utilizing a computer-readable storage medium and processor to execute these steps.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional digital forensic methods are used for flash memory-based file systems, then existing knowledge can be applied, but the methods become inadequate and ineffective due to structural differences and ongoing updates

Engineering Contradiction:
Improveapplicability of forensic methodsVSAvoideffectiveness of data restoration
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent changes the approach parameters from conventional HDD-optimized forensic methods to F2FS-specific methods. It analyzes F2FS metadata structures (superblock, checkpoint, segment information table, node address table, segment summary area, main area) to adapt forensic techniques to flash memory-based file systems, thereby improving both adaptability and reliability.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the F2FS metadata structure into distinct components (superblock at offset 0x400, checkpoint, segment information table, node address table, segment summary area, and main area). This segmentation allows systematic analysis of each component to understand the file management scheme and enable effective data restoration.

Inventive Principle:
Principle #1Segmentation

2Productivity

If flash memory-based file systems are continuously updated, then performance and optimization improve, but forensic analysis becomes more difficult due to structural changes

Engineering Contradiction:
Improvefile system performanceVSAvoidforensic analysis complexity
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent performs preliminary analysis of the F2FS metadata structure by first examining the superblock to understand block size, then systematically analyzing other metadata components. This preliminary mapping of the file management scheme enables forensic analysts to understand current structures before encountering updated or modified versions.

Inventive Principle:
Principle #10Preliminary action

3Speed

If sequential write approach is used in flash memory-based file systems, then write performance improves, but inode map placement at last position creates reading challenges

Engineering Contradiction:
Improvewrite operation speedVSAvoiddata reading ease
Core Design Contradiction:
SpeedVSEase of operation

Solution Approach 1:

The patent uses the node address table (NAT) as an intermediary structure that maps inode numbers to node block addresses. This intermediary enables efficient data retrieval despite the sequential write approach and inode map placement at the last position, as the NAT provides direct access pathways through the metadata structure.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250321887A1Data restoration method and device in flash memory-based file system
Publication Date: 2025.10.16 AJOU UNIV IND ACADEMIC COOP FOUND
  • US20250321887A1 patent drawing
  • US20250321887A1 patent drawing
  • US20250321887A1 patent drawing

AI summary

A method for restoring data in a flash memory-based file system according to an aspect of the present disclosure includes receiving a file system image file; analyzing a metadata structure of the image file; and generating a target file to be restored based on the analysis of the metadata structure.