Unified Data File Querying for Online-Offline Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Data inconsistency occurs between online and offline query modes due to different data write timings, leading to inaccurate query results in scenarios involving large data sets.

Innovation Solution

Utilize a unified data file system for both online and offline queries, employing index information for online queries and address information based on keywords for offline queries to ensure consistency and accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If separate databases are used for online and offline queries, then query performance is optimized for each mode, but data inconsistency occurs between the two databases

Engineering Contradiction:
Improvedata consistencyVSAvoidstorage system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the storage systems for online and offline queries into a single data file system. Both query modes access the same underlying data storage, eliminating data inconsistency while maintaining separate query processing paths for optimized performance.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent segments the query processing into separate online and offline paths, but both paths access the unified storage system through different mechanisms (index-based for online, keyword-based for offline). This segmentation maintains performance optimization while ensuring data consistency.

Inventive Principle:
Principle #1Segmentation

2Productivity

If different storage systems are used for online and offline queries, then query efficiency is improved, but data query accuracy decreases due to deviations

Engineering Contradiction:
Improvequery efficiencyVSAvoiddata query accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

By merging the storage systems, the patent ensures that both online and offline queries access the same data source, eliminating deviations and ensuring query accuracy while maintaining efficiency through separate query processing paths.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces index information and keyword-based address information as intermediaries that map query requests to the unified data file system. These intermediaries enable efficient query processing while ensuring accurate data retrieval from the consistent storage source.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If a unified data file system is used for both query modes, then data consistency is ensured, but query performance may be impacted

Engineering Contradiction:
Improvedata consistencyVSAvoidquery performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the query processing into separate online and offline paths with different optimization strategies. Online queries use index-based access for fast retrieval, while offline queries use keyword-based address information for comprehensive search, both accessing the same unified storage system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different access methods (index-based vs. keyword-based) tailored to the specific needs of online and offline queries. This local quality approach optimizes performance for each query type while maintaining data consistency through the unified storage system.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12481622B2Data processing method and apparatus, computer device and storage medium
Publication Date: 2025.11.25 DOUYIN VISION CO LTD
  • US12481622B2 patent drawing
  • US12481622B2 patent drawing

AI summary

The present disclosure provides a data processing method and apparatus, a computer device and a storage medium. The method comprises: receiving a query instruction for data to be queried stored in a data file system; in response to the query instruction instructing to perform online query on the data, determining index information corresponding to the data, and querying the data in the data file system on the basis of the index information; and in response to the query instruction instructing to perform offline query on the data, determining address information of the data in the data file system on the basis of a keyword of the data, and querying the data in the data file system on the basis of the address information.