File Sync Hash Metadata Rename Move Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current file synchronization systems face challenges in efficiently detecting and managing file renames and moves across multiple computing devices, leading to unnecessary data retransmissions and deletion/recreation processes.

Innovation Solution

The system employs hash identifiers to encode files and folders within metadata, allowing for the identification of renamed or moved files and folders, and reorders synchronization operations to avoid deleting and recreating files, instead performing moves and renames directly, thus optimizing data transfer and reducing redundant processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional file synchronization methods are used, then file updates are replicated across computing devices, but renamed or moved files are incorrectly deleted and recreated, causing unnecessary data retransmissions and synchronization inefficiency

Engineering Contradiction:
Improvesynchronization efficiencyVSAvoiddata retransmission
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system performs preliminary actions by creating metadata before synchronization occurs. This metadata includes hash identifiers and filenames that are used to identify renamed or moved files during the synchronization process, allowing the system to recognize these files and avoid unnecessary deletion and recreation operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback mechanisms by comparing current metadata with previous metadata to detect file renames and moves. This comparison feedback allows the synchronization system to identify when files have been renamed or moved and adjust its behavior accordingly, preventing incorrect deletion and recreation operations.

Inventive Principle:
Principle #23Feedback

2Reliability

If files are synchronized by deleting and recreating, then consistency is maintained across devices, but redundant processes are executed and data transfer is wasted

Engineering Contradiction:
Improvefile consistencyVSAvoidsynchronization speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system employs feedback by comparing metadata between different states to detect file renames and moves. This metadata comparison feedback enables the system to distinguish between actual file changes and renames/moves, allowing it to maintain consistency without executing redundant deletion and recreation processes.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system uses metadata copying instead of full file copying during synchronization. By copying and comparing metadata (hash identifiers and filenames) rather than copying actual file data, the system can efficiently identify renamed or moved files and avoid unnecessary data retransmissions while maintaining consistency.

Inventive Principle:
Principle #26Copying

3Difficulty of detecting and measuring

If hash identifiers are used to identify files, then renamed or moved files can be detected, but metadata management complexity increases

Engineering Contradiction:
Improvefile rename detectionVSAvoidmetadata management
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The system extracts only the essential metadata elements (hash identifiers and filenames) needed for file identification and comparison. By taking out only these critical components rather than managing complete file metadata, the system simplifies metadata management while maintaining the ability to detect file renames and moves effectively.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS9672221B2Identification of moved or renamed files in file synchronization
Publication Date: 2017.06.06 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9672221B2 patent drawing
  • US9672221B2 patent drawing
  • US9672221B2 patent drawing

AI summary

A method for synchronizing files is provided. Current metadata including a filename and a hash identifier for each file of the synchronized folder is created. The current metadata is compared to previous metadata. Based on the comparison, a first file and a first folder added to the synchronized folder and a second file and a second folder deleted from the synchronized folder are identified. The hash identifiers of the first and second files are compared. If the hash identifiers match, the filenames of the first and second files are compared. If the filenames do not match, the first file is identified as a renamed file. Metadata is sent to a synchronized device with information related to the first folder sent before information related to the first file, which is sent before information related to the second folder.