Data query method and device, and electronic equipment

A data query and database technology, applied in the field of data query, can solve problems such as incomplete lists, inaccurate query results, and long time-consuming

Pending Publication Date: 2020-12-11
BEIJING 58 INFORMATION TTECH CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the scanned list is not complete enough, and the query results returned to the user are not accurate enough
And the truncation threshold is large, and the threshold amount of data in the scanning phase also takes a long time

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
  • Data query method and device, and electronic equipment
  • Data query method and device, and electronic equipment
  • Data query method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particu...

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 embodiment of the invention provides a data query method and device, and electronic equipment. The method comprises the following steps: presetting an index of a list of which each chain length isgreater than a preset threshold in a database; receiving a query request input by a user; wherein the query request carries a query condition and a target identifier; determining a query list in thedatabase according to the target identifier; wherein the query list is a list corresponding to a user identifier matched with the target identifier; and when the chain length of the query list is greater than a preset threshold and the query condition conforms to a first preset condition, querying in the query list in an index manner to obtain a query result. According to the method of the invention, an index does not need to be set for each list in the database, so that the storage data volume of the indexes is reduced, and the storage space is saved. And the query is performed in the list ofwhich the chain length is greater than the preset threshold in an index manner, so that the query time can be greatly shortened, and the query performance is improved.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a data query method, device and electronic equipment. Background technique [0002] With the continuous development of Internet technology, the amount of information on the network is increasing. Therefore, a large amount of data needs to be stored in the database. Usually, a structured query language (Structured Query Language, SQL for short) is used to build a database, such as MySql or some other common SQL products. [0003] In order to focus on meeting the needs of reading, writing, filtering, and sorting in multiple scenarios, a distributed key-list storage form can be used to build a database and store data. Where key is an identifier, and list is a list of corresponding identifiers. For example, when the key is a user ID, the list is all information about the user indicated by the user ID. This form of storage can provide stronger performance, better stability, large...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22G06F16/2453G06F16/2455
CPCG06F16/2228G06F16/2453G06F16/2455
Inventor 李延朋
Owner BEIJING 58 INFORMATION TTECH 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