Uniform Cache for Rapid File Previewing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing complexity of file formats, such as RMVB, AVI, and PDF, leads to slower file information extraction and previewing due to the need for complicated decoding processes, affecting user experience.

Innovation Solution

Storing file information in a cache with a uniform format and using unique identification numbers to rapidly read and manage file information, avoiding decoding complexities by utilizing a two-tiered cache system and MD5 algorithm for identification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If file information is extracted by identifying file types and decoding according to different file formats, then accurate file information can be obtained, but the extraction speed is significantly reduced due to complicated decoding processes

Engineering Contradiction:
Improvefile information extraction accuracyVSAvoidfile information extraction speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-processing file information during the file saving process. File information is extracted and stored in a cache with a uniform format before preview is requested. This eliminates the need for complex decoding during preview operations, as the information is already prepared and standardized.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of file information in a standardized format and stores it in a cache. Instead of repeatedly decoding the original complex file formats during preview, the system uses these pre-extracted copies with uniform structure, significantly improving access speed while maintaining information accuracy.

Inventive Principle:
Principle #26Copying

2Productivity

If file information is cached with a uniform format using identification numbers, then preview speed is significantly improved, but additional storage space and cache management complexity are required

Engineering Contradiction:
Improvefile information preview speedVSAvoidcache management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a universal cache structure that stores file information from multiple different file formats using a single uniform format. By standardizing the data structure with consistent fields (filename, extension, size, creation time, preview data), the cache can handle various file types through a single management interface, reducing complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces an intermediary component (the cache with uniform format) between the diverse file formats and the preview function. This intermediary standardizes the data exchange format, allowing the preview system to work with a consistent structure regardless of the original file format, thereby simplifying management while improving speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If file information is stored in a cache with maximum capacity limits, then storage space is efficiently managed, but older file information must be deleted when the cache is full

Engineering Contradiction:
Improvecache storage capacityVSAvoidtime to delete and replace cache entries
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies preliminary action by implementing a deletion policy based on establishment time. When the cache reaches maximum capacity, the system automatically identifies and deletes the oldest entries (those with the earliest establishment time) before adding new ones. This pre-established time-based ordering enables efficient cache management without complex real-time decisions.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9881015B2Method and system for previewing file information
Publication Date: 2018.01.30 HUIZHOU TCL MOBILE COMM CO LTD
  • US9881015B2 patent drawing
  • US9881015B2 patent drawing
  • US9881015B2 patent drawing

AI summary

A method and a system for previewing file information are disclosed. The method includes: storing file information of files in a file system to a predetermined cache with a uniform file format, and establishing a file information identification number list including a unique identification number for each of the information in the cache; reading the file information identifying number list from the cache, and querying whether a file information identifying number of a file to be previewed exists in the file information identifying number list; and directly reading file information of the file to be previewed from the cache via the uniform file format if the file information identification number of the file to be previewed exists in the file information identifying number list. The present disclosure can avoid complicated decoding processes and implement a rapid preview of the file information.