A blockchain data management system, method, apparatus, and storage medium

By centrally storing public data in the central memory module and utilizing heterogeneous computing modules in the blockchain data management system, the problems of waste of storage resources and low security in traditional blockchains are solved, efficient data management and transmission are achieved, and system performance is improved.

CN118353597BActive Publication Date: 2025-10-10SHANDONG INSPUR SCI RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410459843.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2025-10-10
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Traditional blockchain data storage methods lead to waste of storage resources, cumbersome and time-consuming data copying processes, low security of private data, bloated architecture and lack of a unified computing resource pool, making it impossible to achieve unified data management and centralized computing.

Method used

By building a blockchain data management system based on CXL technology, public data is centrally stored in the blockchain central memory module, and heterogeneous computing modules are used to offload CPU computing tasks, achieving unified data management and efficient transmission.

Benefits of technology

It improves resource utilization, enhances data security and transmission efficiency, reduces the load on the computing resource pool, and meets the high-performance exchange and processing needs of the big data era.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118353597B_ABST
    Figure CN118353597B_ABST
Patent Text Reader

Abstract

The application discloses a kind of blockchain data management system, method, device and storage medium, it is related to database design field, including: data processing module, for obtaining the transaction data of target user node by blockchain distributed server, and carries out format conversion processing, processed data is sent to blockchain center memory module;Data storage and update module are used to store the data after processing by blockchain center memory module, to complete the update of accessible public data;Data extraction module is used to send target public data extraction request package based on CXL Switch by blockchain database management server, so that the target public data is returned by blockchain center memory module;Data modification maintenance module is used to analyze target public data, and send the data after analysis to blockchain heterogeneous computing module for data processing, so as to modify and maintain target public data.Data unified management and centralized computing are realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of database design, in particular to a blockchain data management system, method, device and storage medium. BACKGROUND

[0002] Blockchain is a kind of accounting technology jointly maintained by multiple parties, using cryptography to ensure transmission and access security, and capable of realizing consistent storage of data, difficulty in tampering and prevention of denial, also known as distributed ledger technology (DLT).

[0003] The traditional blockchain has a plurality of user nodes, each node has a complete set of blockchain data, and the public data possessed by each node is completely the same (that is, a complete set of account books or databases), and any node performs a write or modification operation on the blockchain, which is synchronized to the local database of all participants (that is, other user nodes).

[0004] However, the above-mentioned traditional blockchain data storage method saves a copy of data in each node, and in the big data era, the data volume increases rapidly, which seriously wastes storage resources, and the data copying process involved in the process is complicated and time-consuming, which affects other application requirements of the blockchain. In addition, the private data of the node user and the public data of the blockchain are stored together in the node terminal, and the private data is easily accessed by other node users, and the data security is low. The traditional blockchain architecture is bloated, the information transmission efficiency is low, there is no unified computing resource pool, and the manager cannot realize unified management and centralized calculation of data. SUMMARY

[0005] Therefore, the purpose of the present application is to provide a blockchain data management system, method, device and storage medium, which can realize unified management and centralized calculation of data, improve data security and data transmission communication efficiency. The specific scheme is as follows:

[0006] In a first aspect, the present application discloses a blockchain data management system, comprising:

[0007] A data processing module is configured to obtain transaction data of a target user node through a blockchain distributed server, and control a blockchain distributed computing module to perform format conversion processing on the transaction data, and send the corresponding processed data to a blockchain center memory module;

[0008] A data storage and update module is configured to store the received processed data through the blockchain center memory module, and send an update completion signal to the blockchain distributed server to complete the update of the user accessible public data.

[0009] The data extraction module is configured to send a target public data extraction request package to the blockchain center memory module based on the CXL switch through the blockchain database management server, so that the blockchain center memory module returns target public data based on the target public data extraction request package.

[0010] The data modification and maintenance module is configured to parse the target public data through the blockchain database management server, pack and send corresponding parsed data to the blockchain heterogeneous computing module for data processing based on target data processing requirements, and modify and maintain the target public data based on corresponding data processing results returned by the blockchain heterogeneous computing module.

[0011] Optionally, the system further comprises:

[0012] The transaction data publishing module is configured to authenticate the target user node, and publish the transaction data through a terminal device of the target user node after successful authentication.

[0013] Optionally, the system further comprises:

[0014] The first heterogeneous acceleration device type determination module is configured to set the type of the heterogeneous acceleration device corresponding to the blockchain distributed computing module based on the scale of the blockchain user cluster.

[0015] The second heterogeneous acceleration device type determination module is configured to determine the type of the heterogeneous acceleration device corresponding to the blockchain heterogeneous computing module based on the computing requirement of the blockchain data scale.

[0016] Optionally, the system further comprises:

[0017] The user node division module is configured to divide all user nodes into a plurality of blockchain user clusters based on the computing power requirement of the blockchain distributed server.

[0018] Optionally, the data processing module comprises:

[0019] The format conversion unit is configured to control the blockchain distributed computing module to convert the ID of the target user node and the transaction data into a data format that can be stored by the blockchain center memory module through the blockchain distributed server.

[0020] Optionally, the system further comprises:

[0021] A communication module is used to communicate between components in the blockchain data management system based on a combination of target sub-protocols in the CXL protocol; the target sub-protocols include one or a combination of CXL.io, CXL.mem, and CXL.cache.

[0022] Optionally, the system further includes:

[0023] A centralized storage module is used to construct the blockchain central memory module based on a plurality of memory units, and the blockchain database management server controls the blockchain central memory module to centrally store all public data and the transaction data updated in real time by each blockchain distributed server.

[0024] In a second aspect, the present application discloses a blockchain data management method, comprising:

[0025] Obtain the transaction data of the target user node through the blockchain distributed server, control the blockchain distributed computing module to convert the transaction data into a format, and send the processed data to the blockchain central memory module;

[0026] The received processed data is stored in the blockchain central memory module, and an update completion signal is sent to the blockchain distributed server to complete the update of the public data accessible to the user;

[0027] Sending a target public data extraction request packet to the blockchain central memory module based on the CXL Switch through the blockchain database management server, so that the blockchain central memory module returns the target public data based on the target public data extraction request packet;

[0028] The target public data is parsed by the blockchain database management server, and the corresponding parsed data is packaged and sent to the blockchain heterogeneous computing module for data processing based on the target data processing requirements, so that the administrator can modify and maintain the target public data based on the corresponding data processing results returned by the blockchain heterogeneous computing module.

[0029] In a third aspect, the present application discloses an electronic device, comprising:

[0030] Memory, used to store computer programs;

[0031] A processor is configured to execute the computer program to implement the aforementioned blockchain data management method.

[0032] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, which implements the aforementioned blockchain data management method when executed by a processor.

[0033] The present application discloses a blockchain data management system, comprising a data processing module for obtaining transaction data of a target user node through a blockchain distributed server, controlling a blockchain distributed computing module to perform format conversion processing on the transaction data, and sending the processed data to a blockchain central memory module; a data storage and update module for storing the received processed data through the blockchain central memory module and sending an update completion signal to the blockchain distributed server to complete the update of user-accessible public data; a data extraction module for sending a target public data extraction request packet to the blockchain central memory module through a blockchain database management server based on a CXL Switch, so that the blockchain central memory module returns the target public data based on the target public data extraction request packet; and a data modification and maintenance module for parsing the target public data through the blockchain database management server, packaging the parsed data based on target data processing requirements, and sending the parsed data to a blockchain heterogeneous computing module for data processing, so that an administrator can modify and maintain the target public data based on the data processing results returned by the blockchain heterogeneous computing module. As can be seen, by constructing a storage module, this application transfers public data, which would otherwise be stored by individual blockchain user nodes, to a central blockchain memory pool for centralized storage and management. This significantly improves resource utilization and facilitates unified data management. Furthermore, by utilizing CXL technology, data transmission and communication efficiency is enhanced. Furthermore, by designing a heterogeneous computing module for the system, the computational resource pool load of the blockchain database management system is reduced, meeting the high-performance exchange and processing requirements of blockchain data in the big data era and significantly improving system performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0035] Figure 1 This is a schematic diagram of the structure of a blockchain data management system disclosed in this application;

[0036] Figure 2 This is a diagram of the blockchain data management system architecture disclosed in this application;

[0037] Figure 3 This is an application flow chart of the blockchain data management system disclosed in this application;

[0038] Figure 4 Another application flow chart of the blockchain data management system disclosed in this application;

[0039] Figure 5 A flowchart of a blockchain data management method disclosed in this application;

[0040] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.

[0042] At present, each node in the traditional blockchain data storage method stores a copy of the data. In the era of big data, the amount of data has increased dramatically, causing a serious waste of storage resources. The data copying process involved is cumbersome and time-consuming, which will affect other application needs of the blockchain. In addition, the private data of node users and the public data of the blockchain in the traditional blockchain are stored together in the node terminal. Private data is easily illegally accessed by other node users, and data security is low. The traditional blockchain architecture is bloated, the information transmission efficiency is low, and there is no unified computing resource pool. Managers cannot achieve unified management and centralized computing of data. In order to solve the above technical problems, the application discloses a blockchain data management system that can achieve unified management and centralized computing of data, improve data security and data transmission and communication efficiency.

[0043] See also Figure 1 As shown, an embodiment of the present invention discloses a blockchain data management system, including:

[0044] The data processing module 11 is used to obtain the transaction data of the target user node through the blockchain distributed server, and control the blockchain distributed computing module to perform format conversion processing on the transaction data, and send the corresponding processed data to the blockchain central memory module.

[0045] In this embodiment, Figure 2As shown in the figure, this application designs the overall architecture of a blockchain data management system based on CXL (Compute Express Link) technology. As can be seen from the figure, the blockchain data management system designed by the present invention based on CXL technology consists of a blockchain database server (Blockchain Database Server), a blockchain central computing pool (i.e., blockchain heterogeneous computing modules, CXL Type 1 / 2 devices), a blockchain central memory pool (blockchain central memory module, CXL Type 3 devices), several blockchain distributed servers (CXL Type 2 devices), several blockchain distributed computing pools (blockchain distributed computing modules, CXL Type 1 / 2 devices), several blockchain user clusters, several blockchain distributed servers, and a CXL switch connecting these components. In this embodiment, the blockchain distributed server is responsible for the coordinated collection of updated public data for user nodes in the current blockchain user cluster, data format conversion, and real-time transmission of the updated data to the blockchain central memory module via the CXL switch, informing the memory module to update the current blockchain public data. Furthermore, the blockchain distributed server is also responsible for computing the data of the current blockchain user cluster. It connects to the CXL Switch via CXL 3.1 and communicates with other blockchain devices across the switch using the three CXL sub-protocols CXL.io, CXL.mem, and CXL.cache. The blockchain distributed computing module is composed of several heterogeneous accelerators (CXL Type 1 / 2 devices), such as FPGAs (Field Programmable Gate Arrays), GPUs (Graphics Processing Units), and ASICs (Application Specific Integrated Circuits). These devices are responsible for tasks such as data format conversion and computational processing for the blockchain distributed server user cluster. The type of heterogeneous accelerator can be determined based on the scale of the blockchain user cluster. The heterogeneous accelerators are connected to the blockchain distributed server via a PCIe 5.0 (Peripheral Component Interconnect Express 5.0) interface and are unilaterally scheduled and controlled by the server. It should be noted that the data processing module includes a format conversion unit, which is used to control the blockchain distributed computing module through the blockchain distributed server to convert the target user node ID and transaction data into a data format that can be stored in the blockchain central memory module.Before obtaining the transaction data of the target user node through the blockchain distributed server, the system also includes a transaction data publishing module for authenticating the target user node and publishing the transaction data through the terminal device of the target user node after successful authentication. A first heterogeneous acceleration device type determination module is used to determine the type of heterogeneous acceleration device corresponding to the blockchain distributed computing module based on the size of the blockchain user cluster.

[0046] The data storage and update module 12 is used to store the received processed data through the blockchain central memory module and send an update completion signal to the blockchain distributed server to complete the update of the public data accessible to users.

[0047] In this embodiment, the blockchain central memory pool (i.e., the blockchain central memory module) consists of several memory units and is responsible for the centralized storage of public data for all blockchain users. This storage is managed by the blockchain database management server and receives and stores real-time updates of blockchain user node data from each blockchain distributed server. To facilitate reading and writing, each memory unit is defined and marked with a unique MEM_ID. The public data stored in the blockchain central memory pool is readable and accessible to all user nodes. The blockchain central memory pool is connected to the CXL Switch via CXL3.1 and exchanges data with all blockchain servers across the switch using the CXL protocol's two subprotocols, CXL.io and CXL.mem. The blockchain central memory pool receives user transaction data, updates the data to the storage address of the corresponding memory unit, and sends a data update completion signal to the distributed server associated with the user's node ID (identity document). Once the transaction public data update task for the user node is completed, all blockchain public data accessible to other users is also updated.

[0048] The data extraction module 13 is configured to send a target public data extraction request packet to the blockchain central memory module based on the CXL Switch through the blockchain database management server, so that the blockchain central memory module returns the target public data based on the target public data extraction request packet.

[0049] In this embodiment, the blockchain database management server is responsible for the coordinated management, analysis, calculation, and overall control of all public data for all blockchain users. It connects to a CXL switch via CXL3.1 and communicates with the blockchain distributed server across switches using the three CXL subprotocols, CXL.io, CXL.mem, and CXL.cache. The blockchain database management server sends a public data extraction request and the target data block extraction address to the blockchain central memory pool via the CXL switch. The blockchain central memory pool then packages the data to be read and sends it to the blockchain database management server via the CXL switch. The system also includes a centralized storage module, configured to construct the blockchain central memory module based on multiple memory cells. The blockchain database management server controls the blockchain central memory module to centrally store all public data and the transaction data updated in real time by each blockchain distributed server.

[0050] The data modification and maintenance module 14 is used to parse the target public data through the blockchain database management server, and package the corresponding parsed data based on the target data processing requirements and send it to the blockchain heterogeneous computing module for data processing, so that the administrator can perform corresponding modification and maintenance on the target public data based on the corresponding data processing results returned by the blockchain heterogeneous computing module.

[0051] In this embodiment, the blockchain central computing pool (blockchain heterogeneous computing module) is composed of several heterogeneous acceleration devices such as FPGAs, GPUs, and ASICs, responsible for blockchain data coordination computing tasks (such as sorting, aggregation, connection, filtering, and other tasks of large-scale data). The type of heterogeneous acceleration device can be set according to the computing requirements of the blockchain data scale. The heterogeneous acceleration device is connected to the blockchain database management server via a PCIe5.0 interface and is centrally scheduled and controlled by the blockchain database management server. It is responsible for the data processing and computing work of the current blockchain, which can significantly reduce the CPU (Central Processing Unit) load of the blockchain database management server and save computing power. Therefore, the system also includes: a second heterogeneous acceleration device type determination module, which is used to determine the type of heterogeneous acceleration device corresponding to the blockchain heterogeneous computing module based on the computing requirements of the blockchain data scale. During this process, the blockchain central server performs format parsing on the read data, extracts the target data from the received data block, packages the data and processing instructions according to the administrator's data processing requirements, and sends them to the corresponding FPGA, GPU, ASIC and other heterogeneous data acceleration processing devices through the PCIe5.0 interface; the corresponding heterogeneous data acceleration processing devices perform different data processing (such as sorting, aggregation, connection, filtering), and feed back the processing results to the blockchain database management server in real time; the administrator can directly view the required public data processing results, promptly discover hidden problems in the data, update and modify public data vulnerabilities in real time, and complete the overall maintenance of blockchain data.

[0052] It's also worth noting that due to the large number of user nodes in the blockchain, they need to be divided into several blockchain user clusters based on the computing power requirements of the distributed servers. Each blockchain user cluster is composed of several blockchain user nodes and is directly managed by the corresponding blockchain distributed server. Each user node terminal device (PC (Personal Computer) terminal, mobile phone, tablet) communicates with the distributed server via the network. These node devices transmit public data such as the current user's identity data, transaction data, transaction price, information modification, etc. to the distributed server in real time, and the server performs subsequent data processing operations. The user's private data is directly stored by the node terminal device and is not accessible to other node users.

[0053] In this application, a blockchain data management system based on CXL technology adopts a new blockchain database hybrid storage pool interconnection technology. Using a switch network based on the CXL protocol as the primary connection method, it constructs a scalable system architecture that interconnects heterogeneous blockchain computing resource pools (central computing pool and distributed computing pool), public memory pool, and heterogeneous resource pools. The core of this design is to transfer public data, which would otherwise be stored by individual blockchain user nodes, to the blockchain's central memory pool for centralized storage and management, significantly improving resource utilization and facilitating unified data management. This application separates private storage data from public data of blockchain node users, preventing illegal access to private data by other node users and improving data security. Furthermore, the CXL-based blockchain data management system achieves higher data transmission and communication efficiency. Furthermore, the design architecture incorporates a centralized heterogeneous computing resource pool, which can offload tedious computational tasks that would otherwise be handled by the CPU through heterogeneous acceleration devices such as FPGAs, GPUs, and ASICs, reducing the load on the blockchain database management system's computing resource pool. This meets the needs of high-performance blockchain data exchange and processing in the big data era, significantly improving system performance.

[0054] In summary, the blockchain data management system disclosed in the application comprises a data processing module, which is used to acquire transaction data of a target user node through a blockchain distributed server, and control a blockchain distributed computing module to perform format conversion processing on the transaction data, and send the corresponding processed data to a blockchain center memory module; a data storage and update module, which is used to store the received processed data through the blockchain center memory module, and send a signal of update completion to the blockchain distributed server to complete the update of public data accessible by users; a data extraction module, which is used to send a target public data extraction request package to the blockchain center memory module based on a CXL Switch through a blockchain database management server, so that the blockchain center memory module returns target public data based on the target public data extraction request package; and a data modification and maintenance module, which is used to analyze the target public data through the blockchain database management server, pack and send the corresponding analyzed data to a blockchain heterogeneous computing module for data processing based on target data processing requirements, so that an administrator performs corresponding modification and maintenance on the target public data based on the corresponding data processing result returned by the blockchain heterogeneous computing module. It can be seen that the application transfers the public data that needs to be stored by each user node of the blockchain to the centralized storage and management of the blockchain center memory pool through the construction of the storage module, greatly improves the resource utilization rate, facilitates the unified management of data, and improves the data transmission communication efficiency by using the CXL technology. Further, the heterogeneous computing module of the system is designed to reduce the load of the computing resource pool of the blockchain database management system, meet the high-performance exchange processing needs of the blockchain data in the big data era, and significantly improve the system performance.

[0055] Based on the above embodiments, the application discloses a blockchain data management system based on CXL technology, and the specific application of the system mainly includes two parts: public data release and change of blockchain user cluster nodes, and overall management and analysis calculation of the center memory pool public data by a blockchain database manager. Next, the public data release and change process of the blockchain user cluster nodes will be described in detail.

[0056] As Figure 3As shown in the figure, the blockchain data management system based on CXL technology is applied to the publication and modification of public data of blockchain user cluster nodes: 1. After a user node on the blockchain is authenticated and all information is confirmed to be correct, the user can initiate transactions such as transfers, contract calls, and evidence storage, and publish relevant transaction data through the user node terminal device (PC, mobile phone, tablet); 2. The user cluster distributed server corresponding to the node user receives the current user's blockchain transaction information, packages the user node ID and transaction data, and performs format conversion. The distributed computing pool converts the transaction ID / public key / address into a data format that can be stored in the memory pool; 3. After the format conversion is complete, the corresponding distributed server configures a specific CXL opcode and CXL memory pool storage address for the transaction data in accordance with the CXL3.1 protocol, and sends the data to the blockchain central memory pool through the CXLSwitch; 4. The blockchain central memory pool receives the user transaction data, updates the data to the storage address of the corresponding memory unit, and sends a data update completion signal to the distributed server to which the user node ID belongs; 5. The transaction public data update task of the user node is completed, and all blockchain public data accessible to other users is also updated.

[0057] In this way, unified management of data is achieved, resource utilization is greatly improved, and unified management of data is facilitated. At the same time, CXL technology is used to improve data transmission and communication efficiency.

[0058] In another embodiment, Figure 4 As shown, the blockchain data management system based on CXL technology is applied to the coordinated management and analytical calculation of public data in the central memory pool by blockchain database managers: 1. The blockchain database management server sends a public data extraction request command and the target data block extraction address to the blockchain central memory pool through the CXL switch; 2. The blockchain central memory pool packages the data to be read and sends the data to be read to the blockchain database management server through the CXL switch; 3. The blockchain central server performs format parsing on the read data, extracts the target data from the received data block, packages the data and processing instructions according to the administrator's data processing requirements, and sends them to the corresponding heterogeneous data acceleration processing device such as FPGA, GPU, ASIC, etc. through the PCIe5.0 interface; 4. The corresponding heterogeneous data acceleration processing device performs different data processing (such as sorting, aggregation, connection, filtering) and feeds back the processing results to the blockchain database management server in real time; 5. The administrator can directly view the required public data processing results, promptly discover hidden problems in the data, and update and modify public data vulnerabilities in real time to complete the coordinated maintenance of blockchain data.

[0059] It should be noted that in addition to the two main operations described above, the blockchain data management system based on CXL technology also includes the expansion of the central memory pool and the expansion of the blockchain user cluster and other applications.

[0060] In this way, the application transfers the public data that needs to be stored by each user node of the blockchain to the centralized storage and management of the blockchain central memory pool by constructing a storage module, greatly improves the resource utilization rate, facilitates unified management of data, and improves the data transmission communication efficiency using CXL technology. Further, by designing a heterogeneous computing module of the system, the load of the computing resource pool of the blockchain database management system is reduced, the high-performance exchange processing needs of the blockchain data in the big data era are met, and the system performance is significantly improved.

[0061] Referring to Figure 5 The embodiment of the application discloses a blockchain data management method, comprising:

[0062] Step S11, acquiring transaction data of a target user node through a blockchain distributed server, and controlling a blockchain distributed computing module to perform format conversion processing on the transaction data, and sending the corresponding processed data to a blockchain central memory module.

[0063] Step S12, storing the received processed data through the blockchain central memory module, and sending an update completion signal to the blockchain distributed server to complete the update of the public data accessible by the user.

[0064] Step S13, sending a target public data extraction request package to the blockchain central memory module based on CXL Switch through a blockchain database management server, so that the blockchain central memory module returns target public data based on the target public data extraction request package.

[0065] Step S14, analyzing the target public data through the blockchain database management server, and packaging the corresponding analyzed data to a blockchain heterogeneous computing module for data processing based on target data processing requirements, so that the target public data is modified and maintained based on the corresponding data processing results returned by the blockchain heterogeneous computing module.

[0066] To summarize, the present application discloses a blockchain data management method, which first obtains the transaction data of the target user node through the blockchain distributed server, controls the blockchain distributed computing module to perform format conversion processing on the transaction data, and sends the corresponding processed data to the blockchain central memory module; then, the received processed data is stored through the blockchain central memory module, and an update completion signal is sent to the blockchain distributed server to complete the update of the public data accessible to the user; then, the blockchain database management server sends a target public data extraction request package to the blockchain central memory module based on the CXLSwitch, so that the blockchain central memory module returns the target public data based on the target public data extraction request package; finally, the target public data is parsed by the blockchain database management server, and the corresponding parsed data is packaged and sent to the blockchain heterogeneous computing module for data processing based on the target data processing requirements, so that the administrator can modify and maintain the target public data based on the corresponding data processing results returned by the blockchain heterogeneous computing module. As can be seen, by constructing a storage module, this application transfers public data, which would otherwise be stored by individual blockchain user nodes, to a central blockchain memory pool for centralized storage and management. This significantly improves resource utilization and facilitates unified data management. Furthermore, by utilizing CXL technology, data transmission and communication efficiency is enhanced. Furthermore, by designing a heterogeneous computing module for the system, the computational resource pool load of the blockchain database management system is reduced, meeting the high-performance exchange and processing requirements of blockchain data in the big data era and significantly improving system performance.

[0067] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram should not be considered as any limitation to the scope of application of the present application.

[0068] Figure 6 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the blockchain data management method disclosed in any of the aforementioned embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0069] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device. The communication protocol it follows is any communication protocol that can be applied to the technical solution of this application and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world. Its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0070] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0071] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to including computer programs that can be used to implement the blockchain data management method executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.

[0072] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when executed by a processor, the computer program implements the aforementioned blockchain data management method. The specific steps of this method can be referred to the corresponding content disclosed in the aforementioned embodiments and will not be repeated here.

[0073] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.

[0074] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0075] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0076] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0077] The above is a detailed introduction to the technical solution provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A blockchain data management system, characterized in that: include: The data processing module is used to obtain the transaction data of the target user node through the blockchain distributed server, control the blockchain distributed computing module to perform format conversion processing on the transaction data, and send the corresponding processed data to the blockchain central memory module; A data storage and update module, configured to store the received processed data through the blockchain central memory module and send an update completion signal to the blockchain distributed server to complete the update of the public data accessible to users; A data extraction module is configured to send a target public data extraction request packet to the blockchain central memory module based on the CXL Switch via the blockchain database management server, so that the blockchain central memory module returns the target public data based on the target public data extraction request packet; The data modification and maintenance module is used to parse the target public data through the blockchain database management server, and package the corresponding parsed data based on the target data processing requirements and send it to the blockchain heterogeneous computing module for data processing, so that the administrator can perform corresponding modification and maintenance on the target public data based on the corresponding data processing results returned by the blockchain heterogeneous computing module.

2. The blockchain data management system according to claim 1, characterized in that: Also includes: The transaction data publishing module is used to authenticate the identity of the target user node and publish the transaction data through the terminal device of the target user node after successful authentication.

3. The blockchain data management system according to claim 1, characterized in that: Also includes: A first heterogeneous acceleration device type determination module, configured to set the type of heterogeneous acceleration device corresponding to the blockchain distributed computing module based on the size of the blockchain user cluster; The second heterogeneous acceleration device type determination module is used to determine the type of heterogeneous acceleration device corresponding to the blockchain heterogeneous computing module based on the computing requirements of the blockchain data scale.

4. The blockchain data management system according to claim 3, characterized in that: Also includes: The user node division module is used to divide all user nodes into several blockchain user clusters based on the computing power requirements of the blockchain distributed server.

5. The blockchain data management system according to claim 1, characterized in that: The data processing module includes: The format conversion unit is used to control the blockchain distributed computing module through the blockchain distributed server to convert the ID of the target user node and the transaction data into a data format that can be stored in the blockchain center memory module.

6. The blockchain data management system according to claim 1, characterized in that: Also includes: A communication module for communicating between components of the blockchain data management system based on a combination of target sub-protocols in the CXL protocol; The target sub-protocol includes one or a combination of CXL.io, CXL.mem, and CXL.cache.

7. The blockchain data management system according to any one of claims 1 to 6, characterized in that: Also includes: A centralized storage module is used to construct the blockchain central memory module based on a plurality of memory units, and the blockchain database management server controls the blockchain central memory module to centrally store all public data and the transaction data updated in real time by each blockchain distributed server.

8. A blockchain data management method, characterized in that: include: Obtain the transaction data of the target user node through the blockchain distributed server, control the blockchain distributed computing module to convert the transaction data into a format, and send the processed data to the blockchain central memory module; The received processed data is stored in the blockchain central memory module, and an update completion signal is sent to the blockchain distributed server to complete the update of the public data accessible to the user; Sending a target public data extraction request packet to the blockchain central memory module based on the CXL Switch through the blockchain database management server, so that the blockchain central memory module returns the target public data based on the target public data extraction request packet; The target public data is parsed by the blockchain database management server, and the corresponding parsed data is packaged and sent to the blockchain heterogeneous computing module for data processing based on the target data processing requirements, so that the administrator can modify and maintain the target public data based on the corresponding data processing results returned by the blockchain heterogeneous computing module.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the blockchain data management method according to claim 8.

10. A computer-readable storage medium, characterized in that Used to store a computer program, which, when executed by a processor, implements the blockchain data management method as claimed in claim 8.

Citation Information

Patent Citations

  • Decentralization system and method based on different heterogeneous instruction sets

    CN115065690A

  • Data processing method and related equipment

    CN117376364A