Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Information query method and device, electronic equipment and medium

A technology of attribute query and query object, which is applied in the field of information query, can solve problems such as lower query efficiency, abnormality, and database performance degradation, and achieve the effect of improving query efficiency, efficient query, and fast response speed

Pending Publication Date: 2021-09-28
JINGDONG TECH HLDG CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following technical problems in related technologies: most e-commerce systems currently use relational databases to store product attribute information, and in some relational database solutions, Construct a table of commodity types, and a large number of tables need to be created for different types of commodities. When performing high concurrent query of multi-type commodity attribute information, there is a problem of low query efficiency; in some relational database solutions, different types of Product attributes are stored in an aggregation table. Under high concurrent requests, the performance of the database will drop sharply or even appear abnormal, resulting in failure to query and update inventory, which greatly reduces the efficiency of query.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present disclosure provide an information query method, device, electronic device, and medium. The information query method includes: receiving a query request from a user, the query request carrying attribute query information for the query object; Querying information, performing information matching in a pre-built database, the above-mentioned database stores the attribute information of the storage object based on the AVL tree; and outputting the information query result according to the result of the above-mentioned information matching.

[0034]The AVL tree is a self-balancing binary search tree. When inserting and deleting nodes, it must always ensure that the height difference between the left and right subtrees of any node does not exceed 1. It is precisely because of this limitation that it is possible to adjust the imbalance of multiple nodes by inserting a node and deleting a node. The storage method in the form of AVL tree has the advanta...

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 an information query method and device, electronic equipment and a medium, and the information query method comprises the steps of: receiving a query request of a user, wherein the query request carries attribute query information for a query object; performing information matching in a pre-constructed database based on the attribute query information, the database storing attribute information of a storage object based on an AVL tree; and outputting an information query result according to an information matching result.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and in particular to an information query method, device, electronic equipment and media. Background technique [0002] With the development of Internet technology, it is necessary to store and query attribute information of various types of objects. Taking the field of e-commerce (referred to as e-commerce) as an example, the e-commerce system needs to store the attribute information of various commodities of different merchants in the database. When consumers need to inquire about the attribute information of related commodities, the intelligent response of the e-commerce system The bot will query from the database. [0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following technical problems in related technologies: most e-commerce systems currently use relational databases to store product attribute info...

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/2457G06F16/23G06F16/22
CPCG06F16/24573G06F16/23G06F16/2246
Inventor 谢彰桓
Owner JINGDONG TECH HLDG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products