Key-value pair-based data structure implementation method, device, device and storage medium
A technology of data structure and implementation method, applied in the direction of database index, database management system, structured data retrieval, etc., can solve the data storage structure of limited KV storage system, cannot provide effective support for application layer storage requirements, and KV storage system cannot provide effective support. Support data structure management methods and other issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 2 It is a flow chart of a key-value pair-based data structure implementation method provided by Embodiment 1 of the present invention. This embodiment is applicable to how to convert a data structure into a key-value pair, and is especially applicable to blockchain node-based The scenario where the application layer in the system architecture, the data structure interface in the logical data interface layer, and the physical storage layer are progressively transformed into data key-value pairs. The following embodiments will be described by taking the conversion of the data structure in the blockchain system into a key-value pair as an example. However, those skilled in the art can understand that the technical solution of the embodiment of the present invention is not limited to be used in the blockchain system. The method can be executed by a data structure implementation device based on key-value pairs, which can be implemented in the form of software and / or...
Embodiment 2
[0057] image 3 It is a flow chart of a key-value pair-based data structure implementation method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, in this embodiment, when the data structure is an array, the data structure interface is further processed according to the data The mapping relationship between the structure and the key-value pair, and the logical address of the key-value pair to determine the target data of the logical data processing request are explained. Such as image 3 As shown, the method includes the following specific steps:
[0058] S310, the data structure interface acquires a logical data processing request of the application layer, where the logical data processing request is used to operate data stored in the data structure.
[0059] S320. The data structure interface determines the array name and subscript of the target data as the key identifier of the data key-value pair.
[0060] In this embod...
Embodiment 3
[0071] Figure 4 A flow chart of a data structure implementation method based on key-value pairs provided by Embodiment 3 of the present invention. On the basis of the above embodiments, in this embodiment, when the data structure is a linked list, the data structure interface is further implemented according to the data The mapping relationship between the structure and the key-value pair, and the logical address of the key-value pair to determine the target data of the logical data processing request are explained. Such as Figure 4 As shown, the method includes the following specific steps:
[0072] S410, the data structure interface acquires a logical data processing request of the application layer, where the logical data processing request is used to operate data stored in the data structure.
[0073] S420, the data structure interface determines the linked list node identifier of the target data as the key identifier of the data key-value pair; wherein, the previous n...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com