CN116955364A - Block chain-based data storage method, equipment and storage medium - Google Patents

Block chain-based data storage method, equipment and storage medium Download PDF

Info

Publication number
CN116955364A
CN116955364A CN202311219435.0A CN202311219435A CN116955364A CN 116955364 A CN116955364 A CN 116955364A CN 202311219435 A CN202311219435 A CN 202311219435A CN 116955364 A CN116955364 A CN 116955364A
Authority
CN
China
Prior art keywords
data
blockchain
storage
request
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311219435.0A
Other languages
Chinese (zh)
Inventor
毕涛
张晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zooking Software Co ltd
Original Assignee
Shenzhen Zooking Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zooking Software Co ltd filed Critical Shenzhen Zooking Software Co ltd
Priority to CN202311219435.0A priority Critical patent/CN116955364A/en
Publication of CN116955364A publication Critical patent/CN116955364A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to the field of data storage, and discloses a data storage method, device and storage medium based on a blockchain. The method comprises the following steps: the front-end receiving system receives the data updating request and analyzes the request type of the data updating request; when the data is of an aging type, sending a data updating request to an SQL data system; the SQL data system queries data corresponding to the data update request in a preset data list to obtain a query result, modifies a preset update cache queue according to the query result to generate a new update cache queue, and sends an update instruction to the blockchain storage system; the block chain storage system updates the preset storage block chain to generate a new storage block chain; the data synchronization system updates the SQL data system based on the timing polling setting. In the embodiment of the invention, the technical problems of low data storage response speed and poor user experience of the existing blockchain and database combination scheme are solved.

Description

Block chain-based data storage method, equipment and storage medium
Technical Field
The present invention relates to the field of data storage, and in particular, to a data storage method, apparatus and storage medium based on a blockchain.
Background
Blockchains are a distributed ledger technique that uses encryption algorithms and consensus mechanisms to ensure the security and trustworthiness of information. The main characteristics of the blockchain include decentralization, non-tampering, transparency, etc. By linking data together in blocks, forming an unalterable history, blockchain technology can provide a highly secure and reliable data storage solution. Databases are software systems for storing and managing large amounts of structured data. Database technology provides an efficient, reliable, and secure method of data storage and access. It uses indexing, caching, query optimization, etc. techniques to improve the efficiency of data querying and processing.
In practical applications, the method of storing digital assets in combination with blockchain and database techniques may be used in the fields of cryptocurrency, digital securities, rights management, etc. to ensure the security and efficient management of digital assets. However, the data storage response speed of the current blockchain and database combination scheme is low, and the user experience is poor, so a new technology is needed to solve the current problem.
Disclosure of Invention
The invention mainly aims to solve the technical problems of low data storage response speed and poor user experience of the existing block chain and database combination scheme.
The first aspect of the present invention provides a blockchain-based data storage method applied to a blockchain-based data storage system, the blockchain-based data storage system comprising: the front-end receiving system, the SQL data system, the blockchain storage system and the data synchronization system, wherein the blockchain-based data storage method comprises the following steps:
the front-end receiving system receives a data update request and analyzes the request type of the data update request, wherein the request type comprises: aging type;
when the request type of the data update request is an aging type, the data update request is sent to the SQL data system;
the SQL data system receives the data updating request, queries data corresponding to the data updating request in a preset data list to obtain a query result, modifies a preset updating cache queue according to the query result to generate a new updating cache queue, and sends an updating instruction to the block chain storage system based on the new updating cache queue;
the block chain storage system receives the update instruction, and updates the preset storage block chain based on the update instruction to generate a new storage block chain;
and the data synchronization system reads the storage data of the block chain storage system based on the timing polling setting, and updates the SQL data system based on the storage data.
Optionally, in a first implementation manner of the first aspect of the present invention, the request type further includes: the non-aging type, after the front-end receiving system receives the data update request and analyzes the transaction type of the data update request, further comprises:
when the request type of the data update request is a non-aging type, the front-end receiving system sends the data update request to the block chain storage system;
the block chain storage system receives the data updating request, and performs duplication checking processing on a pre-storage block chain based on the data updating request to obtain duplication checking results;
and based on the duplicate checking result, updating the storage block chain to generate a new storage block chain.
Optionally, in a second implementation manner of the first aspect of the present invention, performing a duplication checking process on a pre-storage blockchain based on the data update request, to obtain a duplication checking result includes:
disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
and based on the updated field, performing duplication checking processing on the storage block chain to obtain a field duplication checking result.
Optionally, in a third implementation manner of the first aspect of the present invention, the updating the storage blockchain based on the duplication checking result, and generating a new storage blockchain includes:
and when the field duplicate checking result is empty, writing the updated field into the storage block chain to generate a new storage block chain.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the querying data corresponding to the data update request in the preset data list, and obtaining a query result includes:
disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
and carrying out query processing on the data list based on the ith updated field to obtain an ith field query result, wherein i=1, 2,3, … and N.
Optionally, in a fifth implementation manner of the first aspect of the present invention, modifying the preset update cache queue according to the query result, and generating a new update cache queue includes:
and when the field query result is empty, writing the updated field into a preset updated cache queue to generate a new updated cache queue.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after querying data corresponding to the data update request in the preset data list to obtain a query result, the method further includes:
and when the field query result is not empty, performing query processing on the data list based on the i+1th updated field to obtain the i+1th field query result, wherein i=1, 2,3, … and N.
Optionally, in a seventh implementation manner of the first aspect of the present invention, the sending, based on the new update cache queue, an update instruction to the blockchain storage system includes:
reading the sequencing queue task of the new updating cache queue, and generating an updating instruction based on the sequencing queue task;
and sending the update instruction to the blockchain storage system.
A second aspect of the present invention provides a blockchain-based data storage device, comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line; the at least one processor invokes the instructions in the memory to cause the blockchain-based data storage device to perform the blockchain-based data storage method described above.
A third aspect of the present invention provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the blockchain-based data storage method described above.
In the embodiment of the invention, the data is stored in the blockchain through the insertion and updating of the data, each time the modified data is stored in the blockchain block mode, and the data is polled and modified through the data synchronization service to update the SQL database cache, so that the data of the blockchain and the database are synchronous, the query access with low timeliness requirement can be directly performed on the cached data in the SQL database with higher access speed for reading, thereby avoiding the problem of the direct access to the blockchain with lower speed, and the business query with the real-time performance required to be ensured can still access the blockchain to obtain the latest data, so that the stored digital asset has both safety and query efficiency. Finally, the invention solves the technical problems of low data storage response speed and poor user experience of the existing block chain and database combination scheme.
Drawings
FIG. 1 is a diagram of a first embodiment of a blockchain-based data storage method in accordance with an embodiment of the present invention;
FIG. 2 is a diagram of one embodiment of a blockchain-based data storage method after step 101 in accordance with embodiments of the present invention;
FIG. 3 is a diagram of one embodiment of the steps of a blockchain-based data storage method 102 in accordance with an embodiment of the present invention;
FIG. 4 is a diagram of one embodiment of the steps of a blockchain-based data storage method 103 in accordance with an embodiment of the present invention;
FIG. 5 is a diagram of one embodiment of a blockchain-based data storage device in accordance with an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data storage method, equipment and a storage medium based on a blockchain.
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the present disclosure has been illustrated in the drawings in some form, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and examples of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
In describing embodiments of the present disclosure, the term "comprising" and its like should be taken to be open-ended, i.e., including, but not limited to. The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first," "second," and the like, may refer to different or the same object. Other explicit and implicit definitions are also possible below.
For ease of understanding, a specific flow of an embodiment of the present invention is described below with reference to fig. 1, where in an embodiment of the present invention, a blockchain-based data storage method is applied to a blockchain-based data storage system, and the blockchain-based data storage system includes: the front-end receiving system, the SQL data system, the blockchain storage system and the data synchronization system, wherein the blockchain-based data storage method comprises the following steps:
101. the front-end receiving system receives a data update request and analyzes the request type of the data update request, wherein the request type comprises: aging type;
in this embodiment, the front-end receiving system is used for user operation data, the front-end receiving system may be a smart phone, a terminal computer, a tablet computer, etc., the data update request may be a transaction request of the user, and the transaction request is a composition data update request. After receiving the data update request, the emergency situation of the data update request can be analyzed, the data update request can be selected in the selection, if the request type is an aging type, the request data is required to be processed at a high speed, the blockchain storage system cannot be directly connected, the processing speed of the blockchain storage system is low, and the processing speed of the data can be influenced.
Further, referring to fig. 2, fig. 2 is a schematic diagram illustrating an embodiment of a blockchain-based data storage method after step 101 according to the embodiment of the present invention, where the request types further include: non-aging type, after step 101, further comprising:
1011. when the request type of the data update request is a non-aging type, the front-end receiving system sends the data update request to the block chain storage system;
1012. the block chain storage system receives the data updating request, and performs duplication checking processing on a pre-storage block chain based on the data updating request to obtain duplication checking results;
1013. and based on the duplicate checking result, updating the storage block chain to generate a new storage block chain.
In the step 1011-1013, if the request type is a non-aging type, it indicates that the transaction request received by the front end or the data update request may directly interface with the blockchain storage system, and the blockchain storage system sends the data update request to the blockchain storage system, and the blockchain storage system queries whether the data update request has been stored in the storage blockchain, and then generates a duplication query result after querying the blockchain. And determining an updating result of the data updating request in the storage block chain based on the data of the duplicate checking result, and generating a new updated storage block chain.
Specifically, step 1012 includes the steps of:
10121. disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
10122. and based on the updated field, performing duplication checking processing on the storage block chain to obtain a field duplication checking result.
In the step 10121-10122, 7-8 update fields exist in the data update request, or 7-8 transactions exist in the transaction request, so that the data update request needs to be disassembled first to obtain 7-8 update fields. And extracting one update field in 7-8 update fields, and performing check and repeat analysis in a storage block chain to obtain a check and repeat result of the extracted update field, wherein the check and repeat result is divided into hit and miss.
102. When the request type of the data update request is an aging type, the data update request is sent to the SQL data system;
in this embodiment, if the type in the data update request is an aging type, the data update request needs to be sent to the SQL data system, and the data update request is updated by the high-speed processing performance in the SQL data system.
Further, referring to fig. 3, fig. 3 is a schematic diagram showing a specific embodiment of a step 102 of a blockchain-based data storage method according to an embodiment of the present invention, the following steps may be performed in the step 102:
1021. disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
1022. and carrying out query processing on the data list based on the ith updated field to obtain an ith field query result, wherein i=1, 2,3, … and N.
In 1021-1022 steps, 7-8 update fields exist in the data update request, or 7-8 transactions exist in the transaction request, so that the data update request needs to be disassembled first to obtain 7-8 update fields. And extracting the 1 st update field in 7-8 update fields, and carrying out query processing on the data list to obtain a query result of the 1 st update field.
103. The SQL data system receives the data updating request, queries data corresponding to the data updating request in a preset data list to obtain a query result, modifies a preset updating cache queue according to the query result to generate a new updating cache queue, and sends an updating instruction to the block chain storage system based on the new updating cache queue;
in this embodiment, after receiving a data update request, the SQL data system performs query processing in a data list, and may query multiple update fields in parallel to obtain query results of the multiple update fields, write the update fields corresponding to the missed query results into an update cache queue, where the update cache queue is a persistent data update message queue, and gradually write data in the update cache queue into the blockchain device according to a certain speed, but the writing speed is slower.
Further, "query the preset data list for data corresponding to the data update request to obtain a query result" may execute the following steps:
1031. and when the field query result is empty, writing the updated field into a preset updated cache queue to generate a new updated cache queue.
In step 1031, the field query result is null, which indicates that the updated field is not in the list, and the updated field is new data. Thereby, the update field is written into the update cache queue, generating a new update cache queue.
Further, after step 103, the following steps may be performed:
1032. and when the field query result is not empty, performing query processing on the data list based on the i+1th updated field to obtain the i+1th field query result, wherein i=1, 2,3, … and N.
In step 1032, when the field query result is not null, it is indicated that the 1 st updated field is queried in the list, so that the 2 nd updated field is queried in the data list to obtain the 2 nd field query result, and then the 2 nd field query result is circularly judged.
Further, referring to fig. 4 specifically, fig. 4 is a schematic diagram showing an embodiment of a step 103 of a blockchain-based data storage method according to an embodiment of the present invention, in step 103, "based on the new update cache queue, an update command is sent to the blockchain storage system" the following steps may be performed:
1033. reading the sequencing queue task of the new updating cache queue, and generating an updating instruction based on the sequencing queue task;
1034. and sending the update instruction to the blockchain storage system.
In step 1033-1034, there are 200 tasks in the new update buffer queue, and 7 newly added tasks at the tail of the new update buffer queue can only read the 1 st sorting queue task of the update buffer queue first, and based on the 1 st sorting queue task, an update instruction corresponding to the 1 st sorting queue task is generated, where the update instruction frame is the content containing the update field, but the header file will not be changed. And sending an update instruction to the block chain storage system to finish the update operation of the 1 st sequencing queue task.
104. The block chain storage system receives the update instruction, and updates the preset storage block chain based on the update instruction to generate a new storage block chain;
in this embodiment, the update speed of the blockchain storage system is slow, and the new blocks are continuously added to the storage blockchain to generate a new storage blockchain based on the sequential queue tasks of the update buffer queue to be uplink one by one.
105. And the data synchronization system reads the storage data of the block chain storage system based on the timing polling setting, and updates the SQL data system based on the storage data.
In this embodiment, the above operation has a drawback that the blockchain storage system does not record by the SQL data system or store in the SQL data system when executing the block with the non-aging type request for data addition, so that the data synchronization data is set to be data-synchronized by polling every 30 minutes, the storage data marked as the non-aging request in the blockchain storage system can be read, and the storage data is written into the SQL data system to satisfy the check and repeat task of the aging type request, thereby solving the problem of updating the data synchronization of two systems. The information of the block chain technology is not tamperable and reliable, the security of the digital asset is ensured, and the access efficiency of the database technology is utilized as a cache to improve the query rate.
In the embodiment of the invention, the data is stored in the blockchain through the insertion and updating of the data, each time the modified data is stored in the blockchain block mode, and the data is polled and modified through the data synchronization service to update the SQL database cache, so that the data of the blockchain and the database are synchronous, the query access with low timeliness requirement can be directly performed on the cached data in the SQL database with higher access speed for reading, thereby avoiding the problem of the direct access to the blockchain with lower speed, and the business query with the real-time performance required to be ensured can still access the blockchain to obtain the latest data, so that the stored digital asset has both safety and query efficiency. Finally, the invention solves the technical problems of low data storage response speed and poor user experience of the existing block chain and database combination scheme.
Fig. 5 is a schematic diagram of a block chain based data storage device 500 according to an embodiment of the present invention, where the block chain based data storage device 500 may vary considerably in configuration or performance, and may include one or more processors (central processing units, CPU) 510 (e.g., one or more processors) and memory 520, one or more storage media 530 (e.g., one or more mass storage devices) storing applications 533 or data 532. Wherein memory 520 and storage medium 530 may be transitory or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a series of instruction operations on the blockchain-based data storage device 500. Still further, the processor 510 may be arranged to communicate with a storage medium 530 to execute a series of instruction operations in the storage medium 530 on the blockchain-based data storage device 500.
The blockchain-based data storage device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input/output interfaces 560, and/or one or more operating systems 531, such as Windows Server, mac OS X, unix, linux, free BSD, and the like. Those skilled in the art will appreciate that the blockchain-based data storage device structure shown in fig. 5 does not constitute a limitation of a blockchain-based data storage device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and which may also be a volatile computer readable storage medium, having stored therein instructions that, when executed on a computer, cause the computer to perform the steps of the blockchain-based data storage method.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. A blockchain-based data storage method, wherein the blockchain-based data storage method is applied to a blockchain-based data storage system, the blockchain-based data storage system comprising: the front-end receiving system, the SQL data system, the blockchain storage system and the data synchronization system, wherein the blockchain-based data storage method comprises the following steps:
the front-end receiving system receives a data update request and analyzes the request type of the data update request, wherein the request type comprises: aging type;
when the request type of the data update request is an aging type, the data update request is sent to the SQL data system;
the SQL data system receives the data updating request, queries data corresponding to the data updating request in a preset data list to obtain a query result, modifies a preset updating cache queue according to the query result to generate a new updating cache queue, and sends an updating instruction to the block chain storage system based on the new updating cache queue;
the block chain storage system receives the update instruction, and updates the preset storage block chain based on the update instruction to generate a new storage block chain;
and the data synchronization system reads the storage data of the block chain storage system based on the timing polling setting, and updates the SQL data system based on the storage data.
2. The blockchain-based data storage method of claim 1, wherein the request type further comprises: the non-aging type, after the front-end receiving system receives the data update request and analyzes the request type of the data update request, further comprises:
when the request type of the data update request is a non-aging type, the front-end receiving system sends the data update request to the block chain storage system;
the block chain storage system receives the data updating request, and performs duplication checking processing on a pre-storage block chain based on the data updating request to obtain duplication checking results;
and based on the duplicate checking result, updating the storage block chain to generate a new storage block chain.
3. The blockchain-based data storage method of claim 2, wherein performing a duplication checking process on a pre-stored blockchain based on the data update request to obtain a duplication checking result includes:
disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
and based on the updated field, performing duplication checking processing on the storage block chain to obtain a field duplication checking result.
4. The blockchain-based data storage method of claim 3, wherein the updating the blockchain to generate a new blockchain based on the duplicate checking result includes:
and when the field duplicate checking result is empty, writing the updated field into the storage block chain to generate a new storage block chain.
5. The blockchain-based data storage method of claim 1, wherein querying the preset data list for data corresponding to the data update request, to obtain a query result, includes:
disassembling the data updating request to generate N updating fields, wherein N is a positive integer;
and carrying out query processing on the data list based on the ith updated field to obtain an ith field query result, wherein i=1, 2,3, … and N.
6. The blockchain-based data storage method of claim 5, wherein the modifying the preset update cache queue according to the query result, generating a new update cache queue includes:
and when the field query result is empty, writing the updated field into a preset updated cache queue to generate a new updated cache queue.
7. The blockchain-based data storage method according to claim 5 or 6, wherein the querying the preset data list for the data corresponding to the data update request, after obtaining the query result, further comprises:
and when the field query result is not empty, performing query processing on the data list based on the i+1th updated field to obtain the i+1th field query result, wherein i=1, 2,3, … and N.
8. The blockchain-based data storage method of claim 1, wherein the sending an update instruction to the blockchain storage system based on the new update cache queue comprises:
reading the sequencing queue task of the new updating cache queue, and generating an updating instruction based on the sequencing queue task;
and sending the update instruction to the blockchain storage system.
9. A blockchain-based data storage device, the blockchain-based data storage device comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the blockchain-based data storage device to perform the blockchain-based data storage method of any of claims 1-8.
10. A computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the blockchain-based data storage method of any of claims 1-8.
CN202311219435.0A 2023-09-21 2023-09-21 Block chain-based data storage method, equipment and storage medium Pending CN116955364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311219435.0A CN116955364A (en) 2023-09-21 2023-09-21 Block chain-based data storage method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311219435.0A CN116955364A (en) 2023-09-21 2023-09-21 Block chain-based data storage method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116955364A true CN116955364A (en) 2023-10-27

Family

ID=88453270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311219435.0A Pending CN116955364A (en) 2023-09-21 2023-09-21 Block chain-based data storage method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116955364A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678752B1 (en) * 2000-09-28 2004-01-13 International Business Machines Corporation Data storage system with automatic storage request analysis and selection of optimal output media type
US20200142992A1 (en) * 2018-11-01 2020-05-07 Sap Se Dual-stack architecture that integrates relational database with blockchain
CN113918648A (en) * 2021-09-24 2022-01-11 杭州数梦工场科技有限公司 Data synchronization method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678752B1 (en) * 2000-09-28 2004-01-13 International Business Machines Corporation Data storage system with automatic storage request analysis and selection of optimal output media type
US20200142992A1 (en) * 2018-11-01 2020-05-07 Sap Se Dual-stack architecture that integrates relational database with blockchain
CN113918648A (en) * 2021-09-24 2022-01-11 杭州数梦工场科技有限公司 Data synchronization method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7451290B2 (en) Method and mechanism for on-line data compression and in-place updates
CN107273522B (en) Multi-application-oriented data storage system and data calling method
US20180011861A1 (en) Managing storage of individually accessible data units
US9507821B2 (en) Mail indexing and searching using hierarchical caches
CN111400308B (en) Processing method of cache data, electronic device and readable storage medium
US11709835B2 (en) Re-ordered processing of read requests
WO2017161540A1 (en) Data query method, data object storage method and data system
CN111737564A (en) Information query method, device, equipment and medium
US10747773B2 (en) Database management system, computer, and database management method
CN114201505A (en) Data query method and device and database system
CN115455058A (en) Cache data processing method and device, computer equipment and storage medium
CN110222046B (en) List data processing method, device, server and storage medium
CN112685417A (en) Database operation method, system, device, server and storage medium
CN111046106A (en) Cache data synchronization method, device, equipment and medium
CN107832121B (en) Concurrency control method applied to distributed serial long transactions
CN116955364A (en) Block chain-based data storage method, equipment and storage medium
CN114896215A (en) Metadata storage method and device
CN113051244A (en) Data access method and device, and data acquisition method and device
CN112527900A (en) Method, device, equipment and medium for database multi-copy reading consistency
CN114063931B (en) Data storage method based on big data
CN116719821B (en) Concurrent data insertion elastic search weight removing method, device and storage medium
CN114327293B (en) Data reading method, device, equipment and storage medium
CN116303125B (en) Request scheduling method, cache, device, computer equipment and storage medium
CN110413644B (en) Data caching method, electronic device and computer readable storage medium
AU2015258326B2 (en) Managing storage of individually accessible data units

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination