Journaling File System Data Processing Module

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Electronic devices experience delays during data storage processes, particularly when handling large files, due to the combination of foreground and background tasks in journaling file systems, which can inconvenience users by slowing down screen applications and memory operations.

Innovation Solution

An electronic device with a memory and storage system that supports journaling, employing a data processing module to determine the appropriate journaling method (writeback mode or ordered mode) based on the properties of the application and file, minimizing delays by optimizing data storage processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If journaling file system processes both foreground and background tasks through the same transaction, then data integrity is maintained, but processing delay increases

Engineering Contradiction:
Improvedata integrityVSAvoidprocessing delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the journaling transaction into two separate transactions: one for foreground tasks and another for background tasks. This segmentation allows foreground applications to complete their data storage operations without being blocked by background tasks, thereby reducing processing delay while maintaining data integrity through separate transaction commits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent dynamically adjusts the journaling mode based on the type of task being executed. For foreground tasks, it uses ordered mode to ensure data integrity, while for background tasks, it uses writeback mode to improve performance. This dynamic adaptation resolves the contradiction by optimizing the trade-off between reliability and speed according to task characteristics.

Inventive Principle:
Principle #15Dynamics

2Reliability

If large files are stored in memory through journaling, then data integrity is ensured, but storage speed decreases

Engineering Contradiction:
Improvedata integrityVSAvoidstorage speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments large file storage operations into foreground and background transactions. Foreground storage operations that require data integrity use ordered journaling mode, while background operations use writeback mode. This segmentation allows large files to be stored faster by bypassing unnecessary journaling overhead for non-critical operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the journaling parameter (ordered mode vs. writeback mode) based on the storage task characteristics. For large file storage in background tasks, it switches to writeback mode which improves storage speed by not waiting for journal commit, while still ensuring data integrity through the overall transaction mechanism.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If journaling is enabled for all file operations, then data integrity is maintained, but system performance deteriorates

Engineering Contradiction:
Improvedata integrityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies different journaling qualities to different parts of the system based on their requirements. Critical foreground operations receive full journaling protection (ordered mode), while non-critical background operations use simplified journaling (writeback mode). This local differentiation maintains data integrity where needed while improving overall system performance.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically selects the appropriate journaling mode based on the operation type. The system transitions between ordered mode and writeback mode depending on whether the operation is a foreground or background task, thereby optimizing the balance between data integrity and system performance for each specific operation.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10042856B2Method and electronic device for processing data
Publication Date: 2018.08.07 SAMSUNG ELECTRONICS CO LTD
  • US10042856B2 patent drawing
  • US10042856B2 patent drawing
  • US10042856B2 patent drawing

AI summary

An electronic device is provided. The electronic device includes a memory configured to store a file, a storage configured to support journaling of the file stored in the memory, and a data processing module configured to process a journaling method of the file in one mode of a writeback mode and an ordered mode in correspondence to at least one of a property of an application relating to the file and a property of the file.