Index generation method and device based on KV storage, equipment and medium

A technology for indexing and indexing data, applied in the field of distributed deployment, can solve problems such as no construction method, and achieve the effect of avoiding dimensional disaster, improving effectiveness, and avoiding data explosion

Pending Publication Date: 2021-01-12
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of this application is to provide an index generation method, device, device, and medium based on KV storage, aiming to solve the problem of how to meet the requirements of multiple scenarios when using the KV storage engine of Redis in the prior art. Build an inverted index to support multi-dimensional queries, and there is no technical problem with an effective construction method

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
  • Index generation method and device based on KV storage, equipment and medium
  • Index generation method and device based on KV storage, equipment and medium
  • Index generation method and device based on KV storage, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0045] In order to solve the technical problem that there is no effective construction method for how to build an inverted index to support multi-dimensional queries when using the Redis KV storage engine to meet the needs of multiple scenarios in the prior art, this paper The application proposes an index generation method based on KV storage, and the method is applied in the technical field of distributed deployment. The described methods are applicable to numerous general purpose or special purpose computer system environments or configurations. Examples: personal comp...

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 technical field of distributed deployment, and discloses an index generation method, device and equipment based on KV storage, and a medium, and the method comprises the steps: obtaining to-be-generated index data which comprises a plurality of pieces of target service data, service classifications and service labels; determining service category data according to theindex data to be generated; according to all the target service data, the service classification, the service label, the service category data and the algorithm data, establishing an inverted index according to a KV generation rule to obtain index data to be evaluated, the index data to be evaluated comprising Key data and Value data; and performing effective estimation and effectiveness processing on the to-be-evaluated index data to obtain target index data. Therefore, enough inverted indexes can be constructed when the number of the candidate sets is small, multi-dimensional query is supported, recall requirements of most of recommended services are met, dimension disasters and data explosion of data in the target index data are avoided, and the effectiveness of the target index data isimproved.

Description

technical field [0001] The present application relates to the technical field of distributed deployment, in particular to a KV storage-based index generation method, device, device and medium. Background technique [0002] In the recommendation scenario, the most critical thing is how to store the candidate set, which can not only meet the high-performance requirements, but also meet the multi-dimensional requirements. Among many databases, high-performance distributed storage engines - ES or Redis - are often chosen. [0003] As a search engine, ES (Elasticsearch) automatically builds indexes, supports multi-dimensional combined queries, and quickly searches out the desired data, which is loved by developers. However, ES maintenance is required when there are not many candidate sets and needs to meet the needs of various scenarios. The cost far outweighs its contribution. At this time, developers are more inclined to use Redis's KV (Key-Value) storage engine, which can me...

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/31G06F16/35G06F16/9536G06Q30/02
CPCG06F16/319G06F16/35G06F16/9536G06Q30/0271Y02D10/00
Inventor 李茂昌
Owner CHINA PING AN LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products