A real-time query method for massive data based on dynamic index structure
A technology of dynamic indexing and query method, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of increased query node overlap, decreased query efficiency, etc., to increase the query process access lock mechanism, realize Efficient concurrent processing and real-time capabilities, the effect of low query time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 2 with image 3 As shown, the present invention proposes a real-time query method for massive data based on a dynamic index structure (DC-Tree). The method includes the following steps:
[0046] Step 1: The multidimensional data record DR passes the Z Curve mapping function f in the MasterNode z , to generate a dimensionality reduction result set S;
[0047] Step 2: MasterNode selects k hash functions, maps the result set S through Bloom Filter, and generates node set NN;
[0048] Step 3: update the data record DR, and implement dynamic construction for each element in the node set NN;
[0049] Step 4: The user User queries the MDS results, obtains the node set NN through steps 1 and 2, and enables the parallel query method;
[0050] Step 5: The user User aggregates the result sets of all visited nodes in the node set NN to obtain the final query result Rset.
[0051] The present invention reduces the dimensionality of massive multidimensional data ...
specific Embodiment approach
[0053] Then its specific implementation method is:
[0054] (1) The multidimensional data record DR passes the Z Curve mapping function f in the MasterNode z , to generate a dimensionality reduction result set S;
[0055] (2) MasterNode selects k hash functions, maps the result set S through Bloom Filter, and generates node set NN;
[0056] (3) Update the data record DR, and implement dynamic construction for each element in the node set NN;
[0057] Dynamic insertion: apply for lock LOCK for the root node D; update the Measure value of the directory node; if DR is only included in the MDS of a child of D, then set D as the child node of this directory; if DR is included in multiple In the MDS of D’s children, then find out the child that contains the least data nodes among these children, and set D as the child node of this directory; if DR is not included in the MDS of any child of D, first copy a D, may as well set it as D', add DR to each child node of D, calculate the ...
Embodiment 2
[0063] Such as figure 1 As shown, the present invention provides the architecture of a massive data real-time query system, which consists of the following four parts: data management node (Master Node), dynamic index tree (DC-Tree), data storage node (Data Node) and user (User). MasterNode is responsible for the positioning of data query / update, mainly using dimensionality reduction and fast query technology. DC-Tree is mainly used to dynamically construct a multi-dimensional attribute data query tree to provide real-time query effects. DataNode is responsible for the storage of specific data. The user (User) sends a query request to the MasterNode, and the MasterNode will process the content of the query request, determine that the query content is on some DataNodes, and submit these DataNodes that meet the requirements to the user. After completing this operation, the user will disconnect from the MasterNode and actively access the submitted DataNode for query.
[0064]...
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