Block chain node data storage and data reading method and storage system
A node data and blockchain technology, applied in the field of blockchain, can solve the problems of high technical requirements, affecting the performance of block generation and transaction execution of blockchain nodes, wasting space, etc., to improve data reading operations, improve and operational efficiency, the effect of solving the lack of space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] like figure 1 As shown, this embodiment provides a blockchain node data storage method, which is applicable to any node in the blockchain network, and the nodes include a node server, a primary storage server, a secondary storage server, and a tertiary storage server. Storage server, this embodiment discloses a storage method for data archiving, which is used to archive and store a type of business data that has lost its timeliness to a tertiary storage server, so as to facilitate later query of business data and effectively prevent The out-of-time service data hinders the occupation of the high-cost primary storage server and secondary storage server with fast operation speed. The method includes step S1, step S2, step S3, step S4 and step S5.
[0045] Step S1. The node server receives archiving operation data, the archiving operation data includes a business identity, the archiving operation data is used to trigger the node to perform a business data archiving operation,
Embodiment 2
[0051] like figure 2 As shown, this embodiment provides a blockchain node data reading method, the method is applicable to any node in the blockchain network, the node includes a node server and a primary storage server, including steps S6 and S711 :
[0052] Step S6. The primary storage server obtains the first service data read request sent by the node server, and the service data read request includes the first service identity and the first data generation time;
[0053] Step S711. The primary storage server determines whether the first business data is stored in the primary storage server according to the generation time of the first data. If the first business data is stored in the primary storage server, Then send the corresponding first service data to the node server according to the service data reading request.
[0054] This implementation discloses a scheduling method when business data is stored in a first-level storage server. By detecting the time when the first
Embodiment 3
[0056] Based on Embodiment 2, this embodiment provides a method that when the absolute difference between the generation time of the business data that needs to be read and the current time is greater than the first time period, that is, the business data that needs to be read is no longer stored in the first business A method for reading business data in a server, the method comprising steps S721 and S722:
[0057] Step S721. The primary storage server determines whether the first business data is stored in the primary storage server according to the first data generation time, that is, the absolute difference between the generation time of the business data to be read and the current time greater than the first time period, it is determined that the business data to be read is no longer in the primary storage server, and if the first business data is not stored in the primary storage server, the first business data The read request is marked as the immediate execution state, th
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap