A key-value pair-based memory database query method and device
A data query and database technology, applied in the field of data query, can solve the problems of query interference, the system can not work, the database can not meet the demand and so on
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0044] Concrete embodiment: a kind of memory database query method based on key-value pairs comprises:
[0045] Step 1: Encrypt the random value with a hash algorithm to form a query key, and use the structure to form a key-value pair with the query key and the string;
[0046] Step 2: The memory database maintenance module sets the memory database maintenance module to apply for a data operation buffer whose memory size can be set; construct an RB_Tree as the real-time data area; apply for a piece of shared memory as the query data area, and set the query data area for the query data area header, data query block pointer, data preparation block pointer, data query block, data preparation block;
[0047] Step 3: the memory database maintenance module opens an interface thread for performing instruction operations and a data update thread for real-time data update; the opening thread receives data operation commands and data through the Socket, and writes the data operation ins...
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