Check patentability & draft patents in minutes with Patsnap Eureka AI!

Vector database storage and retrieval method

A database and vector technology, applied in the field of vector database storage and retrieval, can solve problems such as poor system performance and excessive data volume, and achieve the effect of reducing retrieval delay

Pending Publication Date: 2022-03-11
李明昊
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the above-mentioned defects of the prior art, the present invention provides a vector database storage and retrieval method, which solves the above-mentioned technical problems, and provides a method that can solve the problem of index sharing of the same data by multiple people and the large amount of data that leads to system performance. A Vector Database Storage and Retrieval Method for Poor Problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Vector database storage and retrieval method
  • Vector database storage and retrieval method
  • Vector database storage and retrieval method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0059] Explain the English terms in this scheme:

[0060] Raft, the abbreviation of Replicated And Fault Tolerant, is a widely used consensus, decentralized, and highly available distributed protocol in engineering.

[0061] Hash, called hash, hash, the corresponding English is Hash, the principle is to convert an input of any length into a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of computers and artificial intelligence, in particular to a vector database storage and retrieval method and device, electronic equipment and a storage medium. The vector database storage and retrieval method comprises the steps that a data table is obtained, the data table is horizontally segmented to form a plurality of fragments, and each fragment comprises a plurality of copies; the method comprises the following steps: acquiring data, carrying out first mapping according to key data contained in the data, carrying out Hash on the key data to obtain an integer, carrying out modulo calculation and remainder calculation on a plurality of fragments according to the integer to obtain fragment numbers, then carrying out second mapping, and acquiring a plurality of copies corresponding to the fragment numbers according to the fragment numbers; wherein the fragment numbers are used for representing fragments, and each fragment corresponds to one fragment number; according to the first mapping and the second mapping, a vector storage engine on the metadata server is established for obtaining the data, and the vector storage engine is used for representing a data searching mode. The method has the advantages that the retrieval accuracy is improved, the retrieval delay is reduced, and the reliability and usability are improved.

Description

technical field [0001] The invention relates to the field of computer and artificial intelligence, in particular to the field of distributed storage technology, and in particular to a vector database storage and retrieval method. Background technique [0002] With the popularity of artificial intelligence applications, "vector similarity retrieval" as the most basic service is applied to more and more artificial intelligence businesses. Such as face recognition, voice recognition, news recommendation, etc. Most of the usage methods are to first use the neural network model to convert pictures, text, etc. into feature vectors, and then choose a distance calculation method (such as inner product distance, cosine distance, etc.). In this way, given any vector, K vectors with similar distances can be found. We call this retrieval KNN retrieval (K Nearest Neighbors). However, although there are various open source algorithm libraries for KNN retrieval, most of them only stay a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/22G06F16/245G06F16/23G06F16/27
CPCG06F16/2237G06F16/2282G06F16/245G06F16/2365G06F16/27
Inventor 李明昊
Owner 李明昊
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More