Data query method based on left-right value infinite classification implementation algorithm

A data query, left and right value technology, applied in the field of data processing, can solve the problems of occupying service resources, long recursion time, low efficiency, etc., to achieve the effect of improving utilization, reducing load, and reducing occupation

Pending Publication Date: 2021-01-22
北京神州数字科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For tree-shaped data with a complex hierarchical structure, the recursion time is long, which takes up service resources and requires frequent interaction with the database, resulting in low efficiency.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030]The present invention will be specifically introduced below in conjunction with specific embodiments.

[0031]The data query method based on the infinite classification of left and right values ​​provided by the embodiments of the present invention includes the following steps:

[0032]S101: Receive a data query request carrying a minimum lower limit value and a maximum upper limit value;

[0033]S102: Obtain data that meets the requirements according to the preset left and right values ​​of each piece of data in the database to obtain a data set;

[0034]S103: Send the data set to the client.

[0035]Optionally, before obtaining the data that meets the requirements according to the preset left and right values ​​of each piece of data in the database, the method further includes:

[0036]Use the left and right value infinite classification to realize the algorithm, and set the left value and right value for each piece of data in the database.

[0037]Optionally, after sending the data set to the c...

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 discloses a data query method based on a left-right value infinite classification implementation algorithm, which relates to the technical field of data processing, and comprises the following steps of: receiving a data query request carrying a minimum lower limit value and a maximum upper limit value, and obtaining data meeting requirements according to preset left and right valuesof each piece of data in a database to obtain a data set; and sending the data set to a client, so that efficiency is improved, the server load is reduced, and user experience is improved.

Description

Technical field[0001]The invention relates to the technical field of data processing, in particular to a data query method based on an infinite classification of left and right values ​​to realize an algorithm.Background technique[0002]At present, the query of multi-level data is mainly carried out by way of traversal. For tree-shaped data with a more complex hierarchical structure, the recursion time is longer, it takes up more service resources, and requires frequent interaction with the database, resulting in low efficiency.Summary of the invention[0003]In order to solve the shortcomings of the prior art, the embodiment of the present invention provides a data query method based on the infinite classification of left and right values ​​to realize an algorithm, the method includes the following steps:[0004]Receive data query requests carrying the minimum lower limit value and the maximum upper limit value;[0005]According to the preset left and right values ​​of each piece of data ...

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/2453G06F16/22
CPCG06F16/24534G06F16/22
Inventor 王小帅
Owner 北京神州数字科技有限公司
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