Removable Media Card Unmounting to Protect FAT Data Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The FAT file system used in removable media cards is prone to data loss due to its 'read-modify-erase-write' operation vulnerability during power loss or untimely removal, and lacks consistent backup mechanisms, putting file allocation tables and directory entries at risk.

Innovation Solution

A method and system for a handheld electronic device that includes a movable barrier to detect media card removal, updating file allocation table data, and providing user notifications and input options to ensure data integrity, utilizing a media memory preservation application to unmount the card and update data before removal.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the FAT file system uses read-modify-erase-write operations to update the allocation table, then the file system can be implemented with wide interoperability, but data loss occurs during power loss or untimely removal

Engineering Contradiction:
ImproveinteroperabilityVSAvoiddata integrity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary actions by detecting media card removal events and initiating data integrity preservation processes before the card is fully removed. The operating system is notified and can complete pending write operations or update backup copies of the allocation table, preventing data corruption that would occur with abrupt removal.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates and maintains backup copies of critical data structures, particularly the allocation table. When the primary allocation table is at risk of corruption, the backup copy can be used to restore data integrity. This copying mechanism ensures that even if the main allocation table is lost during a power failure or untimely removal, the data can be recovered.

Inventive Principle:
Principle #26Copying

2Quantity of substance

If backup copies of the allocation table are stored in the same sector, then storage space is optimized, but both copies are lost simultaneously during catastrophic events

Engineering Contradiction:
Improvestorage spaceVSAvoiddata redundancy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The system segments the backup storage by placing backup copies of the allocation table in different physical sectors on the media card. This spatial segmentation ensures that a catastrophic event affecting one sector (such as a head crash or localized corruption) will not destroy both the primary and backup allocation tables simultaneously, thereby maintaining data redundancy while using storage space efficiently.

Inventive Principle:
Principle #1Segmentation

3Quantity of substance

If directory entries are scattered throughout the disk to optimize storage, then storage capacity is maximized, but directory entries are vulnerable to loss without FAT redundancy protection

Engineering Contradiction:
Improvestorage capacityVSAvoiddirectory entry integrity
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The system creates backup copies of directory entries and stores them in protected locations on the media card. Similar to the allocation table backup mechanism, these backup directory entries are preserved even when the primary scattered directory entries are corrupted or lost, ensuring that file system metadata can be recovered and the file system can be remounted successfully.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS7986970B2Systems and methods for maintaining data integrity of removable media of an electronic device
Publication Date: 2011.07.26 MALIKIE INNOVATIONS LTD
  • US7986970B2 patent drawing
  • US7986970B2 patent drawing
  • US7986970B2 patent drawing

AI summary

The described embodiments relate generally to methods, systems and devices for maintaining data integrity of a removable media card of a handheld electronic device, particularly when such media card is removed from such device.