Data query method and device, index generation method and device and electronic equipment
A data query and index technology, applied in the computer field, can solve the problems of index data expansion, inability to meet usage requirements, and occupying large storage space.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] refer to figure 1 , shows a flow chart of steps of a data query method according to Embodiment 1 of the present invention.
[0033] The data query method of the present embodiment includes the following steps:
[0034] Step S102: Obtain information to be queried for querying multidimensional data.
[0035] In this embodiment, the data query method is described by taking multidimensional data including spatial data and / or spatiotemporal data as an example. Of course, multidimensional data may also include document word frequency data, user rating data, and the like.
[0036] For example, the data query method can be applied to TSDB (spatio-temporal database). Multidimensional data can be used to store spatial coordinate data of spatial objects, and can also be used to store other attribute data of spatial objects. Spatial objects can be points, lines or surfaces in space, etc. For example, objects such as roads can be indicated by lines in space. Objects such as ve...
Embodiment 2
[0060] refer to image 3 , shows a flowchart of steps of a data query method according to Embodiment 2 of the present invention.
[0061] The data query method of this embodiment includes the aforementioned steps S102 to S108.
[0062] In this embodiment, the multidimensional data index is generated according to the node information of the multidimensional data index tree, and the node information of the multidimensional data index tree is generated according to the second one-dimensional code corresponding to the second multidimensional data; wherein, the node information includes Leaf node information and non-leaf node information, the leaf node information is generated according to the second one-dimensional code stored in the leaf nodes in the multidimensional data index tree, and the leaf nodes in the multidimensional data index tree are from the breadth level according to The adjacent sequence of the second one-dimensional code stores the second one-dimensional code in ...
Embodiment 3
[0075] refer to Figure 4 , shows a flowchart of steps of an index generation method according to Embodiment 3 of the present invention.
[0076] The index generation method of this embodiment includes the following steps:
[0077] Step S302: Obtain multiple second one-dimensional codes corresponding to multiple partitions of the second multidimensional data.
[0078] The second multidimensional data may be spatio-temporal data and / or spatial data. The second multidimensional data can be used to store spatial coordinate data of the spatial object. Spatial objects can be points, lines or surfaces in space, etc. For example, objects such as roads can be indicated by lines in space. Objects such as vehicles and people can be indicated by points in space, and the space coordinate data of vehicles at different times can be recorded through multi-dimensional data to determine their running trajectories and the relative positional relationship between space objects.
[0079] The...
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