Table implementation method and device based on key value pair storage system, equipment and medium
A storage system and implementation method technology, applied in other database retrieval, structured data retrieval, database indexing and other directions, can solve the application layer storage requirements to provide effective support, unable to support table management methods, limited KV storage system data storage structural issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a flowchart of a table implementation method based on a key-value pair storage system provided by Embodiment 1 of the present invention. This embodiment can be applied to how to convert table data into a key-value pair storage system, so that the application layer can It is especially applicable to the scenario of how to implement the management of tabular data on the basis of the underlying storage system of the blockchain, including the key-value pair storage system.
[0032] The following embodiments will be described by taking the conversion of table data in the blockchain system into key-value pairs as an example. Among them, the so-called table is a data structure with rows and columns, and a typical example is an excel table. A table may include at least one row of row data, and the row data includes the specific values of each column according to each column set in the table.
[0033] The method can be implemented by a table implementation dev...
Embodiment 2
[0055] Figure 2A It is a flow chart of a method for implementing a table based on a key-value pair storage system provided by Embodiment 2 of the present invention. This embodiment introduces an index on the basis of the above embodiment for further optimization. see Figure 2A , the method specifically includes:
[0056] S210. Obtain a form data processing request transmitted by the application layer.
[0057] S220. Determine the key identifier of the row data to be processed according to the form data processing request, wherein the key identifier is the value of at least one column in the row data to be processed, and the column corresponding to the key identifier is used as the key identifier column of the row data.
[0058] S230, determine the corresponding row data key-value pair according to the key identifier, and process the value in the row data key-value pair according to the form data processing request, wherein, the key field of the row data key-value pair is u...
Embodiment 3
[0088] image 3 A flowchart of a table implementation method based on a key-value pair storage system provided by Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment uses the method of Embodiment 2 to construct index key-value pairs in the underlying storage system. , and when an index block is introduced, when the table data processing request is a row data write request, the update of the index will be described in detail. see image 3 , the method specifically includes:
[0089] S310. Acquire a form data processing request transmitted by the application layer.
[0090] S320. Determine the key identifier of the row data to be processed according to the table data processing request, wherein the key identifier is the value of at least one column in the row data to be processed, and the column corresponding to the key identifier is used as the key identifier column of the row data.
[0091] S330. Determine the correspondin...
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