Data searching method and device
A data query and data technology, applied in the field of data query, can solve the problems of huge processing volume and low data query efficiency, and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] The embodiment of the present invention provides a method for data query, such as figure 1 As shown, the processing flow of the method may include the following steps:
[0029] Step 101, based on a preset encoding algorithm, determine the encoding corresponding to the numerical data in the database, wherein the preset encoding algorithm includes performing multi-layer binary processing on the numerical range corresponding to the numerical data according to the preset number of layers, and according to the numerical value The numerical range to which the numerical data belongs in each numerical range divided by each layer determines the encoding corresponding to the numerical data.
[0030] In step 102, a bit vector query tree is established according to the code corresponding to each numerical data in the database.
[0031] Step 103: When receiving a query request carrying a numerical range condition, based on the above-mentioned preset encoding algorithm, respectively...
Embodiment 2
[0035] The embodiment of the present invention provides a data query method, and the execution body of the method is a database server. The method can be a range query method for numerical data, and the numerical data targeted by the method can be an object of a triple, or it can be independent data. In this embodiment, the numerical data is mainly a triple The object is taken as an example to illustrate the scheme, other situations are similar and will not be repeated here. There may be a large number of triples in the database, and some of the triples may contain numerical data, such as the value of height, the value of age, and so on.
[0036] The following will combine specific implementation methods, figure 1 The processing flow shown is described in detail, and the content can be as follows:
[0037] Step 101, based on a preset encoding algorithm, determine the encoding corresponding to the numerical data in the database, wherein the preset encoding algorithm includes ...
Embodiment 3
[0083] Based on the same technical idea, the embodiment of the present invention also provides a device for data query, such as Figure 4 As shown, the device includes:
[0084] The encoding module 410 is configured to determine the encoding corresponding to the numerical data in the database based on a preset encoding algorithm, wherein the preset encoding algorithm includes multiplexing the numerical range corresponding to the numerical data according to the preset number of layers. Layer bisection processing, and according to the numerical range to which the numerical data belongs in each numerical range divided by each layer, determine the encoding corresponding to the numerical data;
[0085] The tree building module 420 is used to build a bit vector query tree according to the corresponding encoding of each numerical data in the database;
[0086] The encoding module 410 is configured to determine, based on the preset encoding algorithm, the first encoding corresponding...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com