File Sharding With Simultaneous Vector Database Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing methods for storing vectors in vector databases rely on manual processing, leading to low storage and update efficiency of files.

Innovation Solution

Perform a shard process on the file only once and store the file and its corresponding vectors simultaneously, using pre-configured storage configuration information to determine storage size, model, and path, thereby improving storage efficiency and update efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual processing is used to upload files and store vectors separately, then the system maintains simple architecture, but the storage efficiency and update efficiency are low

Engineering Contradiction:
Improvestorage efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent combines the file storage process and vector storage process into a single automated workflow. When a file is uploaded, the system automatically performs shard processing and stores both the file shards and their corresponding vectors in one operation, eliminating the need for separate manual processing steps and significantly improving storage efficiency

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system pre-configures storage parameters including shard size, vectorization models, and storage paths for different folders. This preliminary configuration enables the automated processing pipeline to operate efficiently without requiring manual intervention during file upload, resolving the contradiction between automation and system complexity

Inventive Principle:
Principle #10Preliminary action

2Productivity

If separate shard processes are performed for file storage and vector generation, then the processing steps are clear and manageable, but the overall storage efficiency is reduced

Engineering Contradiction:
Improvestorage efficiencyVSAvoidprocessing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent implements a continuous automated processing pipeline where file upload triggers immediate shard processing and vector generation without interruption. The system continuously processes files as they are uploaded, eliminating idle time and manual intervention gaps, thereby improving storage efficiency while reducing total processing time

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

Storage configuration parameters such as shard size, vectorization models, and storage paths are pre-configured before file upload. This preliminary setup eliminates the need for manual configuration during processing, enabling the system to execute the entire workflow automatically and efficiently

Inventive Principle:
Principle #10Preliminary action

3Productivity

If vectors are stored manually after file upload, then the system maintains operational control, but the update efficiency of the vector database is low

Engineering Contradiction:
Improveupdate efficiencyVSAvoidautomation level
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The system performs self-service by automatically generating vectors and storing them in the vector database immediately after file upload. The automated pipeline includes built-in vectorization using pre-configured models and automatic storage with proper indexing, eliminating the need for manual vector database updates and significantly improving update efficiency

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms where the storage configuration information guides the automated processing pipeline. The pre-configured parameters for shard size, vectorization models, and storage paths provide continuous feedback to ensure consistent and efficient automated processing, resolving the contradiction between automation level and update efficiency

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250335396A1File storage method, device, and storage medium
Publication Date: 2025.10.30 BEIJING VOLCANO ENGINE TECH CO LTD
  • US20250335396A1 patent drawing
  • US20250335396A1 patent drawing
  • US20250335396A1 patent drawing

AI summary

Embodiments of the present disclosure provide a file storage method, a device, and a storage medium. The method includes: in response to receiving an upload request for a target file, determining a target folder where the target file is located, and determining storage configuration information corresponding to the target folder from storage configuration information corresponding to multiple folders that are pre-configured, the storage configuration information including storage size configuration information, model configuration information and storage path; performing a shard process on the target file according to the storage size configuration information to obtain multiple shards corresponding to the target file; storing the multiple shards corresponding to the target file into a relationship database, determining vectors corresponding to the multiple shards respectively according to the model configuration information, and storing the vectors corresponding to the multiple shards respectively into a vector database according to the storage path configuration information.