Block chain data retrieval network acceleration technology

Optimize blockchain data retrieval through distributed cache and smart contracts, preload high-frequency access data and combine it with automated execution, solving the problem of inefficient data retrieval in traditional blockchain, and achieving efficient and fast data retrieval and real-time improvement .

CN119311740APending Publication Date: 2025-01-14SHENZHEN ZHONGCHUANG SYST TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411069780.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Traditional blockchain data retrieval methods are limited by network bandwidth and number of nodes, resulting in low retrieval efficiency and cannot meet the application needs of high real-time requirements.

Method used

Through distributed cache mechanism and smart contract optimization, high-frequency access data to the cache layer is preloaded, data retrieval path is optimized, combined with the automated execution of smart contracts, and load balancing and fault tolerance is used for load balancing and fault tolerance, providing data retrieval with in-memory database and consistent hashing algorithms. Result caching and prefetching mechanisms.

Benefits of technology

It significantly improves the efficiency and real-time nature of blockchain data retrieval, improves data reading and writing speed, ensures the availability and performance of caches, and further improves the retrieval efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311740A_ABST
    Figure CN119311740A_ABST
Patent Text Reader

Abstract

The invention discloses a block chain data retrieval network acceleration technology, which effectively solves the problems of low efficiency and response delay in the traditional block chain data retrieval process by utilizing a distributed cache mechanism and intelligent contract optimization. According to the technology, efficient indexing and rapid positioning of data are achieved by optimizing a data retrieval path; according to the technology, high-frequency access data is preloaded to a cache layer, so that rapid data retrieval is realized; and in combination with automatic execution of the smart contract, the efficiency and accuracy of data retrieval are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain data retrieval network acceleration technology. Background Art

[0002] With the widespread application of blockchain technology, the amount of data has exploded. How to efficiently retrieve blockchain data has become an urgent problem to be solved. Traditional blockchain data retrieval methods are limited by factors such as network bandwidth and number of nodes, resulting in low retrieval efficiency and unable to meet the needs of applications with high real-time requirements. Therefore, it is of great significance to develop a blockchain data retrieval network acceleration technology. Summary of the invention

[0003] The technical problem of the present invention is to solve the problem of low efficiency of blockchain data retrieval and provide a blockchain data retrieval network acceleration technology.

[0004] The technical solution adopted by the present invention to solve the above problems is: a blockchain data retrieval network acceleration technology, which effectively solves the problems of low efficiency and response delay in the traditional blockchain data retrieval process by utilizing a distributed caching mechanism and smart contract optimization; the technology optimizes the data retrieval path to achieve efficient indexing and rapid positioning of data; the technology preloads high-frequency access data to the cache layer to achieve rapid data retrieval; the combination of the automated execution of smart contracts further improves the efficiency and accuracy of data retrieval.

[0005] The present invention provides a blockchain data retrieval network acceleration technology, which includes the following steps:

[0006] In the first step, the technology analyzes the frequently accessed data based on the historical data access records and loads it into the cache layer;

[0007] The second step is that when a data retrieval request is received, a search is performed in the cache layer, and if the required data exists in the cache, the result is directly returned;

[0008] In the third step, if the required data does not exist in the cache, the data is retrieved through the blockchain network and the data is added to the cache layer;

[0009] The fourth step is to return the processed data to the requesting party to complete the data retrieval process.

[0010] Preferably, the cache layer is implemented using an in-memory database to increase data read and write speeds. At the same time, the cache layer supports dynamic expansion and automatic cleanup mechanisms to ensure cache availability and performance.

[0011] Preferably, the distributed parallel retrieval strategy uses a consistent hashing algorithm for node allocation and data routing to achieve load balancing and fault tolerance.

[0012] Preferably, the present invention also provides a data retrieval result cache and pre-fetch mechanism. For historical retrieval requests, the present invention will cache the retrieval results so that the results can be directly returned for subsequent identical requests. At the same time, based on user behavior prediction and big data analysis, the present invention can also pre-fetch some data that may be frequently accessed and load it into the cache layer to further improve retrieval efficiency.

[0013] Compared with the prior art, the present invention has the following beneficial effects:

[0014] (1) By caching high-frequency access data and distributed parallel retrieval strategies, the efficiency and real-time performance of blockchain data retrieval are significantly improved.

[0015] (ii) Using an in-memory database to implement a cache layer increases data read and write speeds and further improves retrieval performance.

[0016] (III) Supports dynamic cache expansion and automatic cleanup mechanism to ensure cache availability and performance.

[0017] (iv) It provides a data retrieval result caching and pre-fetching mechanism, further improving retrieval efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 This is an accompanying diagram of a blockchain data retrieval network acceleration technology of the present invention.

[0020] Figure 1 The entire workflow of a blockchain data retrieval network acceleration technology of the present invention is shown in detail. The figure contains four main steps, which correspond to the key technical points of the present invention.

[0021] In the first step, the system first analyzes the data based on the historical data access records to identify the frequently accessed data, and then loads these frequently accessed data into the cache layer for subsequent fast retrieval.

[0022] In the second step, when the system receives a data retrieval request, it will first search in the cache layer. If the required data exists in the cache, the result is directly returned to the requester without further operation.

[0023] In the third step, if the required data does not exist in the cache layer, the system will turn to the blockchain network for retrieval. In the blockchain network, the system finds the required data through specific algorithms and mechanisms and adds it to the cache layer for subsequent quick retrieval.

[0024] In the fourth step, no matter whether the data is retrieved from the cache layer or the blockchain network, the system will process the retrieved data and then return the processed data to the requester, completing the entire data retrieval process. DETAILED DESCRIPTION

[0025] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] Example 1

[0027] according to Figure 1 As shown, a blockchain data retrieval network acceleration technology of the present invention includes the following steps:

[0028] In the first step, the technology analyzes the frequently accessed data based on the historical data access records and loads it into the cache layer;

[0029] The second step is that when a data retrieval request is received, a search is performed in the cache layer, and if the required data exists in the cache, the result is directly returned;

[0030] In the third step, if the required data does not exist in the cache, the data is retrieved through the blockchain network and the data is added to the cache layer;

[0031] The fourth step is to return the processed data to the requesting party to complete the data retrieval process.

[0032] Through Example 1, a blockchain data retrieval network acceleration technology can be implemented, which effectively solves the problems of inefficiency and response delay in the traditional blockchain data retrieval process by utilizing a distributed cache mechanism and smart contract optimization; the technology optimizes the data retrieval path to achieve efficient indexing and rapid positioning of data; the technology preloads high-frequency access data to the cache layer to achieve rapid data retrieval; the combination of the automated execution of smart contracts further improves the efficiency and accuracy of data retrieval. Obviously, the above embodiments are merely examples for clearly illustrating the technical solutions of the present invention, and are not limitations on the implementation methods of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. The present invention discloses a blockchain data retrieval network acceleration technology, which effectively solves the problems of low efficiency and response delay in the traditional blockchain data retrieval process by utilizing a distributed cache mechanism and smart contract optimization; the technology optimizes the data retrieval path to achieve efficient indexing and rapid positioning of data; the technology preloads high-frequency access data to the cache layer to achieve rapid data retrieval; the technology is combined with the automated execution of smart contracts to further improve the efficiency and accuracy of data retrieval.

2. A blockchain data retrieval network acceleration technology according to claim 1, characterized in that: The technology includes a dynamic cache management strategy, which can dynamically adjust the storage and update strategy of data in the cache according to the access frequency and real-time requirements of the data, thereby ensuring the timeliness and accuracy of the cache layer data.

3. A blockchain data retrieval network acceleration technology according to claim 1 or claim 2, characterized in that: The technology also adopts a distributed indexing mechanism based on blockchain, which can establish index associations between multiple nodes, realize rapid location and retrieval of data, and further improve the efficiency and reliability of data retrieval.

4. According to claim 1, a blockchain data retrieval network acceleration technology is characterized in that: The following steps are involved: In the first step, the technology analyzes the frequently accessed data based on the historical data access records and loads it into the cache layer; The second step is that when a data retrieval request is received, a search is performed in the cache layer, and if the required data exists in the cache, the result is directly returned; In the third step, if the required data does not exist in the cache, the data is retrieved through the blockchain network and the data is added to the cache layer; The fourth step is to return the processed data to the requesting party to complete the data retrieval process.

5. A blockchain data retrieval network acceleration technology according to claim 1, characterized in that: The technology also includes a security mechanism that ensures the security and privacy of data in the cache layer and blockchain network, preventing the data from being illegally accessed and tampered with.

6. A blockchain data retrieval network acceleration technology according to claim 2, characterized in that: The dynamic cache management strategy also includes an adaptive learning algorithm, which can automatically adjust cache strategies and parameters according to historical data access patterns and real-time data access conditions to achieve dynamic optimization of cache layer data.

7. A blockchain data retrieval network acceleration technology according to claim 3, characterized in that: The blockchain-based distributed indexing mechanism also includes a fault-tolerant mechanism that can ensure the reliability and accuracy of data retrieval even when some nodes fail.

8. A blockchain data retrieval network acceleration technology according to any one of the claims, characterized in that: The technology can also be integrated and expanded with other blockchain technologies and tools to meet data retrieval needs in different scenarios.