Storage method, device, system and storage medium of block chain system
A blockchain and block technology, which is applied to systems and storage media, storage methods of blockchain systems, and devices, can solve the problem of high cost, and achieve the effect of taking into account hardware costs and improving storage performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a storage method for a blockchain system provided by Embodiment 1 of the present invention. This embodiment is applicable to a hybrid disk storage system, which is a storage system used by any node in the blockchain system Of course, if the cloud is used for block storage, the hybrid disk storage system can also be applied to the cloud server. There is at least one high-performance storage unit and at least one low-performance storage unit in the mixed-disk storage system, that is, a storage system composed of storage units with different storage performances mixed. The so-called high performance and low performance refer to the performance of one aspect of the storage unit or a combination of performances of multiple aspects, such as storage space and / or read / write speed. A storage unit usually refers to a physically independent hard disk, or a storage unit with independent storage performance. For example, a high-performance storage uni...
Embodiment 2
[0048] figure 2 Embodiment 2 of the present invention provides a flow chart of a storage method for a blockchain system. The method is further optimized on the basis of the above-mentioned embodiments, and specifically provides specific procedures for migrating data from a high-performance storage unit to a low-performance storage unit. briefing. Such as figure 2 As shown, the method includes:
[0049] S201. When acquiring transaction data or processing and generating block data, write the transaction data or block data into the high-performance storage unit.
[0050] S202. When a migration trigger condition of the stored data is generated, determine data whose data storage performance meets the migration condition in the high-performance storage unit as data to be migrated.
[0051] Wherein, the migration condition is set according to data storage performance (that is, at least one of data reading and writing frequency, data importance, and data storage time), and is use...
Embodiment 3
[0064] image 3 It is a flow chart of a storage method for a blockchain system provided by Embodiment 3 of the present invention. This embodiment provides a preferred example based on the foregoing embodiments, which is applicable to the case of updating transactional data, such as image 3 As shown, the method includes:
[0065] S301. Obtain a data update request for a transaction;
[0066] Among them, a transaction is a data processing unit in the blockchain, which is a series of operations performed by a single logical work unit. For example, in a transaction, a transaction can be three operations: 1) Update the inventory information of the goods purchased by the customer; 2) Save the customer's payment information; 3) Generate an order to save three transactions. Since the three operations are controlled concurrently, any abnormality in any one will lead to the failure of the transaction.
[0067] When a transaction is executed, a data update request for the transaction ...
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