Distributed storage and synchronization system based on block chain

By introducing dynamic weight adjustment algorithms, content addressing-based data segmentation strategy and load balancing algorithms into the blockchain distributed storage system, combined with cross-chain interaction modules, the challenges of existing systems in scalability, data consistency and interoperability are solved, and efficient and reliable data storage and synchronization effects are achieved.

CN119829674APending Publication Date: 2025-04-15YUNNAN KUNGANG ELECTRONICS INFORMATION TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411738981.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Existing blockchain-based distributed storage systems have challenges in scalability, data consistency and interoperability, and it is difficult to meet the data storage and synchronization requirements in large-scale and high-concurrency scenarios.

Method used

A distributed storage and synchronization system based on blockchain is designed, and the consensus mechanism is optimized by dynamic weight adjustment algorithm, combining data segmentation strategy based on content addressing and load balancing algorithm for data sharding and storage, and interoperation between different blockchain networks is realized through cross-chain interaction modules.

Benefits of technology

It significantly improves transaction processing efficiency and storage capacity scalability, ensures data consistency and synchronization, realizes seamless data interoperability and asset flow between different blockchain networks, and provides efficient and reliable data storage and synchronization solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829674A_ABST
    Figure CN119829674A_ABST
Patent Text Reader

Abstract

The invention relates to a distributed storage and synchronization system based on a block chain, and belongs to the technical field of distributed file storage. The system comprises a node management module, a data fragmentation and distributed storage module, a consensus mechanism module, a data synchronization module, a cross-chain interaction module, a client interaction module and a decentralized node network. By optimizing a consensus mechanism and introducing a fragmentation technology and a cross-chain technology, the problems of expansibility and consistency of an existing system are solved, and interoperability between different block chain networks is realized. The system has high expandability and flexibility, supports access of various block chain network protocols and intelligent contract standards, and is easy to popularize and apply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distributed file storage, and in particular relates to a distributed storage and synchronization system based on blockchain. Background Art

[0002] With the continuous advancement of Internet and IoT technologies, the amount of global data has exploded. Traditional centralized storage and synchronization systems are no longer able to cope with such large-scale, high-concurrency data. These traditional systems often rely on a single central server or data center, which has the risk of single point failure and limited scalability, making it difficult to meet the growing demand for data processing. In recent years, blockchain technology has brought new solutions to the field of distributed storage with its unique decentralization, data immutability and high transparency. Blockchain technology can achieve reliable storage and transmission of data in an untrusted environment by building a decentralized, distributed ledger system. However, there are still some key issues that need to be solved in the actual application of existing blockchain-based distributed storage systems.

[0003] First, the scalability issue is a major challenge facing blockchain technology. As the amount of data continues to increase, the transaction processing speed and storage capacity of the blockchain network have become bottlenecks, limiting its use in large-scale application scenarios. In addition, the problem of data consistency cannot be ignored. In a distributed environment, how to ensure that the data between each node remains consistent and synchronized is an important problem. Secondly, the existing blockchain network often forms an island effect, and it is difficult for different blockchain systems to interoperate. This results in the inability of data and information to flow freely between different blockchain networks, limiting the overall effectiveness and application scope of blockchain technology.

[0004] Therefore, how to overcome the shortcomings of the existing technology is an urgent problem to be solved in the field of distributed file storage technology. Summary of the invention

[0005] The purpose of the present invention is to solve the deficiencies of the prior art and provide a distributed storage and synchronization system based on blockchain.

[0006] To achieve the above purpose, the technical solution adopted by the present invention is as follows: A distributed storage and synchronization system based on blockchain, including a node management module, a data sharding and distributed storage module, a consensus mechanism module, a data synchronization module, a cross-chain interaction module, a client interaction module and a decentralized node network; The decentralized node network is connected to the node management module, data sharding and distributed storage module, consensus mechanism module, data synchronization module, and cross-chain interaction module respectively; The node management module is used to set network parameters, consensus mechanism rules, and data sharding and storage strategies. It is also used to add new nodes to the network through dynamic node discovery and registration mechanisms, and to perform health checks and identity verification on newly added nodes. The client interaction module is used for users to upload data; The data sharding and distributed storage modules are connected to the node management module and the client interaction module respectively. When the user uploads data through the client interaction module, the uploaded data is sharded according to the data sharding strategy set by the node management module. Each data slice is processed by a hash algorithm to generate a unique hash value. Then, according to the data storage strategy set by the node management module, the data slices are evenly distributed to each node for storage according to the node status and data volume in the network. After each node receives the data slice, it verifies and stores it, and broadcasts the storage information to the decentralized node network. The consensus mechanism module is connected to the data sharding and distributed storage module and the node management module respectively, and is used to select block producers from the nodes using the consensus mechanism rules set by the node management module; the block producer is responsible for packaging network transactions and data changes within a period of time to generate new blocks; the new block automatically executes the voting and verification process through the smart contract; the blocks that pass the verification will be added to the blockchain to form an unalterable data record; The data synchronization module is connected to the data sharding and distributed storage module, and is used to perform data verification and synchronization using the Merkle tree verification mechanism and incremental synchronization algorithm. When a new node is added or an existing node fails, the data synchronization module will start the fault recovery and fault tolerance mechanism to recover data blocks from other healthy nodes. The cross-chain interaction module is connected to the data synchronization module and is used to realize message transmission and data parsing between different blockchain networks through the cross-chain communication protocol stack; and uses side chain or relay chain technology as a bridge to realize cross-chain transfer of assets and information; it is also used to initiate, verify and settle cross-chain transactions using the cross-chain smart contract jnx.

[0007] Furthermore, preferably, the data sharding strategy set by the node management module is a data segmentation strategy based on content addressing.

[0008] Further, preferably, the data storage strategy set by the node management module is a load balancing algorithm.

[0009] Furthermore, preferably, the consensus mechanism rule set by the node management module is a dynamic weight adjustment algorithm.

[0010] Furthermore, preferably, a security audit module is also included, and the security audit module is used to perform security protection and audit on the decentralized node network.

[0011] In the present invention, the data segmentation strategy based on content addressing is an existing one, and the present invention does not impose too many restrictions on this. The core of the "data segmentation strategy based on content addressing" is to determine the segmentation method based on the content of the data itself, which can make full use of the inherent characteristics of the data and facilitate subsequent storage, retrieval and other operations. For example, when processing file storage, a hash value is generated based on the file content to locate the segment.

[0012] The present invention provides a distributed storage and synchronization system based on blockchain, which significantly improves transaction processing efficiency by optimizing the consensus mechanism; utilizes the sharding storage technology to effectively enhance the scalability of storage capacity; and with the help of the cross-chain interaction technology, realizes seamless data interoperability and asset flow between different blockchain ecosystems.

[0013] The consensus mechanism of the present invention particularly adopts a dynamic weight adjustment algorithm, which comprehensively considers multiple key dimensions such as the node's currency holdings, online time, historical contribution, etc., and elects block producers in a fair and efficient manner; at the same time, the voting and block verification processes are automatically executed through smart contracts, which significantly reduces human intervention, thereby improving the overall security and automation of the system.

[0014] The data sharding and distributed storage module of the present invention innovatively adopts a data segmentation strategy based on content addressing, and combines it with an advanced hash algorithm to ensure the uniqueness and non-tamperability of each data block; the module also uses a load balancing algorithm to evenly distribute data slices to each node in the network, thereby improving storage efficiency and data access speed; at the same time, the module also designs an efficient indexing mechanism to support fast data retrieval and cross-node data synchronization.

[0015] The cross-chain interaction module realizes message transmission and data parsing between different blockchain networks by building a cross-chain communication protocol stack; this module specifically adopts side chain or relay chain technology as a bridge to realize the cross-chain transfer of assets and information; at the same time, the cross-chain smart contract, as the core control unit, is responsible for the initiation, verification and settlement of cross-chain transactions, thereby ensuring the security and consistency of cross-chain operations.

[0016] The data synchronization module integrates the Merkle tree verification mechanism and the incremental synchronization algorithm; the Merkle tree is used to construct summary information of transactions within the block, and the integrity and consistency of the block data can be quickly verified by comparing the Merkle root hash value; the incremental synchronization algorithm synchronizes based on the difference data blocks between nodes, significantly reducing unnecessary data transmission and improving synchronization efficiency.

[0017] The data synchronization module has a fault recovery and fault tolerance mechanism; when a node fails or data is lost, the mechanism can automatically recover data blocks from other healthy nodes to ensure data integrity and system stability.

[0018] The node management module adopts a dynamic node discovery and registration mechanism, allowing new nodes to dynamically join the network and participate in the storage and consensus process; at the same time, the module also designs a node health detection and fault isolation mechanism to ensure that the impact of malicious or faulty nodes in the network on the system is minimized.

[0019] The client interaction module is user-friendly and feature-rich, supporting users to upload, download and synchronize data through a graphical interface. In addition, the client interaction module also provides functions such as transaction history query, account balance monitoring and smart contract interaction to meet the diverse needs of users.

[0020] The security audit module integrates multi-level security protection mechanisms, including data encryption, access control, transaction monitoring and anomaly detection. It implements automated security audit processes through smart contracts to ensure the authenticity and compliance of system transactions. At the same time, the module also supports access by third-party audit agencies to enhance system transparency and credibility.

[0021] The system of the present invention is highly scalable and flexible, and supports the access of multiple blockchain network protocols and smart contract standards. Through modular design and plug-in expansion mechanism, the system can be easily adapted to different application scenarios and business needs, providing users with customized distributed storage and synchronization solutions.

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

[0023] The present invention provides a distributed storage and synchronization system based on blockchain, which solves the scalability and consistency problems of the existing system by optimizing the consensus mechanism, introducing sharding technology and cross-chain technology, and realizes interoperability between different blockchain networks. This innovative system will provide an efficient and reliable solution for data storage and synchronization in large-scale, high-concurrency scenarios.

[0024] 1. The scalability of traditional centralized storage and synchronization systems is limited, and it is difficult to meet the growing data processing needs. By introducing sharding technology and a decentralized node network, the present invention stores data in a dispersed manner on multiple nodes, significantly improving the storage capacity and scalability of the system. The data sharding and distributed storage module adopts a content-addressed data segmentation strategy, combined with a load balancing algorithm, to ensure that data is evenly distributed among nodes, effectively avoiding single point failures and capacity bottlenecks. Compared with the prior art, the sharding storage solution of the present invention can support PB-level or even EB-level data storage while maintaining high performance, meeting the data storage needs in large-scale, high-concurrency scenarios.

[0025] 2. In a distributed environment, how to ensure the consistency and synchronization of data between nodes is an important problem. The consensus mechanism module in the present invention adopts a dynamic weight adjustment algorithm, comprehensively considers multiple key dimensions of the node, elects block producers, and automatically executes voting and block verification processes through smart contracts to ensure the legitimacy and validity of the blocks. The data synchronization module uses the Merkle tree verification mechanism and incremental synchronization algorithm to achieve efficient verification and synchronization of data between nodes, ensuring data consistency and integrity. Experiments show that the data synchronization mechanism of the present invention can shorten the synchronization time to less than 50% of the prior art, while maintaining data consistency of up to 99.999%, significantly improving the synchronization efficiency and data reliability of the system.

[0026] 3. Existing blockchain networks often form an island effect, and it is difficult to achieve interoperability between different blockchain systems. The cross-chain interaction module of the present invention builds a cross-chain communication protocol stack and uses side chain or relay chain technology as a bridge to achieve message transmission and data parsing between different blockchain networks. The cross-chain smart contract is responsible for the initiation, verification and settlement of cross-chain transactions to ensure the security and consistency of cross-chain operations. In practical applications, the cross-chain interaction technology of the present invention has successfully realized the flow of assets and information between multiple blockchain networks, reduced the cost and time of cross-chain transactions, and improved the overall efficiency and application scope of blockchain technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is a schematic diagram of the structure of the distributed storage and synchronization system based on blockchain of the present invention; Figure 2 This is another structural diagram of the distributed storage and synchronization system based on blockchain of the present invention; Figure 3 This is a workflow step diagram of the distributed storage and synchronization system based on blockchain of the present invention. DETAILED DESCRIPTION

[0028] The present invention is further described in detail below in conjunction with embodiments.

[0029] Those skilled in the art will appreciate that the following examples are only used to illustrate the present invention and should not be considered to limit the scope of the present invention. If no specific techniques or conditions are specified in the examples, the techniques or conditions described in the literature in the art or the product specifications are used. If the manufacturer of the materials or equipment used is not specified, they are all conventional products that can be purchased. Example 1

[0030] like Figure 1 As shown, a distributed storage and synchronization system based on blockchain includes a node management module 100, a data sharding and distributed storage module 200, a consensus mechanism module 300, a data synchronization module 400, a cross-chain interaction module 500, a client interaction module 700 and a decentralized node network 800; The decentralized node network 800 is respectively connected to the node management module 100, the data sharding and distributed storage module 200, the consensus mechanism module 300, the data synchronization module 400, and the cross-chain interaction module 500; The node management module 100 is used to set network parameters, consensus mechanism rules, and data sharding and storage strategies. It is also used to add new nodes to the network through a dynamic node discovery and registration mechanism, and to perform health checks and identity verification on newly added nodes. The client interaction module 700 is used for users to upload data; The data sharding and distributed storage module 200 is connected to the node management module 100 and the client interaction module 700 respectively, and is used to shard the uploaded data according to the data sharding strategy set by the node management module 100 when the user uploads data through the client interaction module 700; each data slice is processed by a hash algorithm to generate a unique hash value; and then the data slices are evenly distributed to each node for storage according to the node status and data volume in the network according to the data storage strategy set by the node management module 100; after each node receives the data slice, it verifies and stores it, and broadcasts the storage information to the decentralized node network 800; The consensus mechanism module 300 is connected to the data sharding and distributed storage module 200 and the node management module 100, respectively, and is used to select block producers from the nodes using the consensus mechanism rules set by the node management module 100; the block producer is responsible for packaging network transactions and data changes within a period of time to generate new blocks; the new block automatically executes the voting and verification process through the smart contract; the blocks that pass the verification will be added to the blockchain to form an unalterable data record; The data synchronization module 400 is connected to the data sharding and distributed storage module 200 and is used to perform data verification and synchronization using the Merkle tree verification mechanism and the incremental synchronization algorithm. When a new node is added or an existing node fails, the data synchronization module 400 will start the fault recovery and fault tolerance mechanism to recover the data block from other healthy nodes. The cross-chain interaction module 500 is connected to the data synchronization module 400, and is used to realize message transmission and data parsing between different blockchain networks through the cross-chain communication protocol stack; and uses the side chain or relay chain technology as a bridge to realize the cross-chain transfer of assets and information; and is also used to initiate, verify and settle cross-chain transactions using the cross-chain smart contract jnx. Example 2

[0031] like Figure 2 As shown, a distributed storage and synchronization system based on blockchain includes a node management module 100, a data sharding and distributed storage module 200, a consensus mechanism module 300, a data synchronization module 400, a cross-chain interaction module 500, a client interaction module 700 and a decentralized node network 800; The decentralized node network 800 is respectively connected to the node management module 100, the data sharding and distributed storage module 200, the consensus mechanism module 300, the data synchronization module 400, and the cross-chain interaction module 500; The node management module 100 is used to set network parameters, consensus mechanism rules, and data sharding and storage strategies. It is also used to add new nodes to the network through a dynamic node discovery and registration mechanism, and to perform health checks and identity verification on newly added nodes. The client interaction module 700 is used for users to upload data; The data sharding and distributed storage module 200 is connected to the node management module 100 and the client interaction module 700 respectively, and is used to shard the uploaded data according to the data sharding strategy set by the node management module 100 when the user uploads data through the client interaction module 700; each data slice is processed by a hash algorithm to generate a unique hash value; and then the data slices are evenly distributed to each node for storage according to the node status and data volume in the network according to the data storage strategy set by the node management module 100; after each node receives the data slice, it verifies and stores it, and broadcasts the storage information to the decentralized node network 800; The consensus mechanism module 300 is connected to the data sharding and distributed storage module 200 and the node management module 100, respectively, and is used to select block producers from the nodes using the consensus mechanism rules set by the node management module 100; the block producer is responsible for packaging network transactions and data changes within a period of time to generate new blocks; the new block automatically executes the voting and verification process through the smart contract; the blocks that pass the verification will be added to the blockchain to form an unalterable data record; The data synchronization module 400 is connected to the data sharding and distributed storage module 200 and is used to perform data verification and synchronization using the Merkle tree verification mechanism and the incremental synchronization algorithm. When a new node is added or an existing node fails, the data synchronization module 400 will start the fault recovery and fault tolerance mechanism to recover the data block from other healthy nodes. The cross-chain interaction module 500 is connected to the data synchronization module 400, and is used to realize message transmission and data parsing between different blockchain networks through the cross-chain communication protocol stack; and uses the side chain or relay chain technology as a bridge to realize the cross-chain transfer of assets and information; and is also used to initiate, verify and settle cross-chain transactions using the cross-chain smart contract jnx.

[0032] The data sharding strategy set by the node management module 100 is a data segmentation strategy based on content addressing.

[0033] The data storage strategy set by the node management module 100 is a load balancing algorithm.

[0034] The consensus mechanism rule set by the node management module 100 is a dynamic weight adjustment algorithm.

[0035] It also includes a security audit module 600, which is used to perform security protection and auditing on the decentralized node network 800.

[0036] A distributed storage and synchronization system based on blockchain, the workflow is as follows Figure 3 As shown, the details are as follows: 1. System initialization and node network construction; When the system is initialized, network parameters, consensus mechanism rules, and data sharding and storage strategies are set; Nodes join the network through a dynamic node discovery and registration mechanism, and each node has the ability to store, verify, and transmit data; The node management module performs health checks and identity verification on newly added nodes to ensure the security of the network.

[0037] 2. Data sharding and storage; When users upload data through the client, the data sharding and distributed storage module first shards the data according to the data segmentation strategy based on content addressing; Each piece of data is processed through an advanced hash algorithm to generate a unique hash value, ensuring the uniqueness and immutability of the data; The load balancing algorithm intelligently distributes data slices evenly to each node for storage based on the node status and data volume in the network; After each node receives a piece of data, it will verify and store it, and broadcast the stored information to the network to ensure the consistency and traceability of the data.

[0038] 3. Consensus mechanism and block generation; The consensus mechanism module adopts a dynamic weight adjustment algorithm, comprehensively considering multiple key dimensions of the node to elect block producers; Block producers are responsible for packaging network transactions and data changes within a period of time and generating new blocks; The new block automatically executes the voting and verification process through smart contracts to ensure the legitimacy and validity of the block; The verified blocks will be added to the blockchain, forming an unalterable data record.

[0039] 4. Data synchronization and consistency guarantee; The data synchronization module uses the Merkle tree verification mechanism and incremental synchronization algorithm to ensure the consistency and synchronization efficiency of data between nodes; When a new node joins or an existing node fails, the data synchronization module will start the fault recovery and fault tolerance mechanism to recover data blocks from other healthy nodes; Through regular data verification and synchronization operations, the consistency of data in the entire network is ensured.

[0040] 5. Cross-chain interaction and asset flow; The cross-chain interaction module realizes message transmission and data analysis between different blockchain networks through the cross-chain communication protocol stack; Use sidechain or relay chain technology as a bridge to achieve cross-chain transfer of assets and information; Cross-chain smart contracts are responsible for the initiation, verification and settlement of cross-chain transactions, ensuring the security and consistency of cross-chain operations.

[0041] 6. Security and audit; The security audit module protects system security through multi-level security protection mechanisms such as data encryption, access control, transaction monitoring and anomaly detection; Smart contracts implement automated security audit processes to ensure the authenticity and compliance of system transactions; Support access by third-party auditing agencies to enhance system transparency and credibility.

[0042] The present invention improves the consensus mechanism by adopting a dynamic weight adjustment algorithm. In traditional blockchain consensus mechanisms, such as proof of work (PoW) or proof of stake (PoS), node weights are usually based on computing power or the amount of coins held. However, these methods may lead to an uneven distribution of resources and potential centralization risks. To solve this problem, the present system introduces a dynamic weight adjustment algorithm. The algorithm comprehensively considers multiple key dimensions, including the amount of coins held by the node, the length of time online, and the historical contribution. By dynamically adjusting the weights of these dimensions, block producers can be elected more fairly and efficiently. For example, if a node has more tokens but is online for a shorter time or has a lower historical contribution, its weight will be adjusted accordingly to ensure that more nodes that actively participate in network maintenance have the opportunity to become block producers. In addition, the voting and block verification processes are automatically executed through smart contracts. In traditional blockchain networks, the voting and verification processes often require a lot of manual intervention, which not only reduces efficiency but also increases the possibility of errors. Through smart contracts, these processes can be automated, thereby significantly reducing human intervention and improving the overall security and automation of the system. In specific implementation, the smart contract will automatically vote and verify according to the node weights calculated by the dynamic weight adjustment algorithm. Once the block producer is elected, the smart contract will automatically trigger the block generation and verification process to ensure the rapid processing and confirmation of transactions. In this way, the system can significantly improve transaction processing efficiency while maintaining the decentralization and security of the blockchain network. This not only helps to meet the data storage and synchronization needs in large-scale, high-concurrency scenarios, but also promotes the application and development of blockchain technology in more fields.

[0043] This system builds a cross-chain communication protocol stack to achieve message transmission and data parsing between different blockchain networks. The protocol stack is highly compatible and scalable, and can support the access of multiple blockchain network protocols and smart contract standards. Through this protocol stack, different blockchain networks can exchange information and share data safely and efficiently. In order to achieve cross-chain transfer of assets and information, side chain or relay chain technology is specially used as a bridge. These technologies allow us to establish connections between different blockchain networks, thereby realizing the cross-chain flow of assets. For example, users can transfer assets on one blockchain network to another blockchain network without going through centralized exchanges or other intermediaries. At the same time, by introducing cross-chain smart contracts as the core control unit, it is responsible for the initiation, verification and settlement of cross-chain transactions. These smart contracts are deployed on the blockchain networks participating in cross-chain interactions and ensure the security and consistency of cross-chain operations. When a cross-chain transaction is initiated, the smart contract will automatically verify the validity of the transaction and trigger the corresponding settlement process after confirmation. Through this cross-chain interaction technology, this system breaks the island effect between different blockchains and achieves seamless interoperability of data and free flow of assets. This not only improves the overall performance and application scope of blockchain technology, but also provides users with a more convenient and efficient blockchain service experience. For example, users can freely transfer assets between different blockchain ecosystems, or use cross-chain data for complex business logic processing and data analysis.

[0044] This system adopts a data segmentation strategy based on content addressing. This means that when data is uploaded to the system, it is segmented into multiple smaller data blocks, each of which generates a unique hash value based on its content. This strategy not only ensures the integrity and consistency of the data, but also provides a basis for distributed storage and efficient retrieval of data. Next, by utilizing advanced hashing algorithms such as SHA-256, each data block is hashed to generate a unique identifier. These identifiers are used to quickly locate and retrieve data blocks in the system, greatly improving the speed of data access. In order to achieve uniform distribution and load balancing of data, a load balancing algorithm is designed. The algorithm intelligently distributes data blocks to various nodes based on factors such as the number of nodes in the network, storage capacity, and performance. In this way, not only does it avoid overloading certain nodes, but it also ensures that data is evenly distributed among various nodes, thereby improving overall storage efficiency. In addition, this system has developed an efficient indexing mechanism that can support fast data retrieval and cross-node data synchronization. The indexing mechanism maintains a global data block mapping table that records the location information and hash value of each data block. When a user needs to access certain data, the system can quickly locate the node storing the data by querying the mapping table and obtain the data from the node. Through this data sharding and distributed storage technology, the system can significantly improve storage efficiency and data access speed. This not only helps to meet the needs of large-scale data storage, but also provides strong support for data synchronization in high-concurrency scenarios. At the same time, since the data is stored in a dispersed manner on multiple nodes, the fault tolerance and reliability of the system are also significantly improved. Even if some nodes fail, the system can still ensure the integrity and availability of the data.

[0045] Application Example 1

[0046] Cross-border payment and asset settlement in the financial sector; In cross-border financial transactions, banks and financial institutions in different countries and regions use a variety of systems, some are blockchain, and some are traditional systems, which makes cross-border payments and asset settlements particularly troublesome. Our invention can solve this big problem and build a super powerful cross-border payment and settlement platform.

[0047] To join our network, banks and financial institutions must first pass the strict review of the node management module, including identity verification and health testing. Only reliable institutions can come in. For example, Bank A, Bank B, and Financial Institution C, after submitting their applications, they must go through a series of strict checks to ensure that there are no problems before they can join the network, thus ensuring the security and reliability of the entire network.

[0048] When a customer wants to make a cross-border payment, the client interaction module starts working. It receives payment instructions and related data, and then the data sharding and distributed storage modules shard the data. For example, important data such as payment amount and payee information will be divided into many pieces according to the content-based addressing strategy. Each piece has a unique hash value and is then stored in each node through a load balancing algorithm. It is like dividing a payment data into 10 pieces and reasonably distributing them according to the situation of 100 nodes. After each node is stored, it will broadcast the storage information, so that data security and traceability can be guaranteed.

[0049] The consensus mechanism module plays a big role at this time. The block producer is selected through a dynamic weight adjustment algorithm, which takes many factors into consideration. For example, Bank A may be selected as a block producer because it holds a large amount of coins, has been online for a long time, and has processed many transactions in the past (large historical contribution). It packages transactions within a period of time into blocks, and new blocks are automatically verified and voted through smart contracts. As long as most nodes agree, the block will be added to the blockchain, so that payment transactions are safe and reliable, and no one can change it.

[0050] If it involves asset liquidation between different blockchain networks, the cross-chain interaction module comes in handy. For example, Bank A and Bank B need to conduct asset liquidation in different blockchain networks. The cross-chain interaction module transmits messages and parses data through the protocol stack, and then uses side chain or relay chain technology to realize asset transfer. The cross-chain smart contract ensures that the transaction is accurate, and the initiation, verification, and settlement are completed in one go. In the past, cross-border payments may take several days and the handling fees are high. Now, with our system, it can be done in a few minutes, and the handling fees can be saved by more than half.

[0051] The data synchronization module ensures data consistency between nodes. When a new node joins or an old node fails, it can quickly restore data from other healthy nodes. For example, when Bank D joins, the data synchronization module can immediately allow it to obtain the latest data to ensure the stable operation of the entire system.

[0052] The security audit module protects the system security in all aspects. Data encryption prevents information leakage, access control ensures that only authorized personnel can view data, and transaction monitoring and anomaly detection detect problems in a timely manner. Smart contracts are automatically audited and can also be checked by third-party audit agencies, so that everyone can use this system with confidence.

[0053] Application Example 2

[0054] Medical data sharing and management; In the medical industry, data sharing between different medical institutions has always been a big problem. Data is scattered, difficult to share, and privacy is easily leaked. Our invention can make medical data management simple and secure.

[0055] If a medical institution wants to join the network, it must pass the strict review of the node management module to ensure that it is legal and credible. For example, only those with good qualifications and stable networks can join, such as hospital X, clinic Y, and medical research institution Z.

[0056] Medical data generated by medical institutions, such as medical records and examination reports, are uploaded through the client. The data sharding and distributed storage modules will be sharded according to the content addressing strategy. For example, the basic information, diagnosis results, treatment plans, etc. in the medical records are sharded separately, and the hash values ​​are generated and stored in the nodes. A medical record is divided into 20 pieces, which are reasonably allocated according to the situation of 50 nodes. After the nodes are stored, they are broadcasted, so that the data can be safely stored and traced.

[0057] The consensus mechanism module selects block producers. Medical research institution Z is selected to package data and change it into blocks because of its great contribution, stable online status, and certain rights and interests. After the smart contract automatically verifies the vote, the block is added to the blockchain to ensure the authenticity and integrity of the data, providing a reliable basis for medical research.

[0058] When patient referrals or research requires sharing of data, the data synchronization module uses the Merkle tree and incremental synchronization algorithm to quickly and accurately synchronize. For example, if a patient is transferred from hospital X to clinic Y, clinic Y can quickly obtain complete data, improving the efficiency of medical services.

[0059] The cross-chain interaction module can realize the interaction between different medical blockchain networks or blockchain networks in other fields. Hospital X can share information with drug suppliers, optimize drug management, and improve the quality of medical services.

[0060] The security audit module ensures data security and compliance. Encryption protects privacy, access control limits permissions, automatic audit processes ensure legal data operations, and third-party audits enhance trust. Medical data sharing used to be troublesome and unsafe, but now with our system, data can be shared efficiently without worrying about privacy issues, which is of great help to the development of the medical industry.

[0061] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A distributed storage and synchronization system based on blockchain, characterized in that: It includes a node management module (100), a data sharding and distributed storage module (200), a consensus mechanism module (300), a data synchronization module (400), a cross-chain interaction module (500), a client interaction module (700) and a decentralized node network (800); The decentralized node network (800) is respectively connected to the node management module (100), the data sharding and distributed storage module (200), the consensus mechanism module (300), the data synchronization module (400), and the cross-chain interaction module (500); The node management module (100) is used to set network parameters, consensus mechanism rules, and data sharding and storage strategies, and is also used to add new nodes to the network through a dynamic node discovery and registration mechanism, and to perform health checks and identity verification on the newly added nodes; The client interaction module (700) is used for users to upload data; The data sharding and distributed storage module (200) is connected to the node management module (100) and the client interaction module (700) respectively, and is used to shard the uploaded data according to the data sharding strategy set by the node management module (100) when the user uploads data through the client interaction module (700); each data slice is processed by a hash algorithm to generate a unique hash value; Then, the data slices are evenly distributed to each node for storage according to the node status and data volume in the network through the data storage strategy set by the node management module (100); after each node receives the data slice, it verifies and stores it, and broadcasts the storage information to the decentralized node network (800); The consensus mechanism module (300) is connected to the data sharding and distributed storage module (200) and the node management module (100) respectively, and is used to select block producers from the nodes using the consensus mechanism rules set by the node management module (100); the block producers are responsible for packaging network transactions and data changes within a period of time to generate new blocks; the new blocks automatically execute voting and verification processes through smart contracts; the blocks that pass the verification will be added to the blockchain to form data records that cannot be tampered with; The data synchronization module (400) is connected to the data sharding and distributed storage module (200) and is used to perform data verification and synchronization using a Merkle tree verification mechanism and an incremental synchronization algorithm. When a new node is added or an existing node fails, the data synchronization module (400) will start a fault recovery and fault tolerance mechanism to recover data blocks from other healthy nodes. The cross-chain interaction module (500) is connected to the data synchronization module (400) and is used to realize message transmission and data parsing between different blockchain networks through the cross-chain communication protocol stack; and to use the side chain or relay chain technology as a bridge to realize the cross-chain transfer of assets and information; and is also used to initiate, verify and settle cross-chain transactions using the cross-chain smart contract jnx.

2. The distributed storage and synchronization system based on blockchain according to claim 1, characterized in that: The data sharding strategy set by the node management module (100) is a data segmentation strategy based on content addressing.

3. The distributed storage and synchronization system based on blockchain according to claim 1, characterized in that: The data storage strategy set by the node management module (100) is a load balancing algorithm.

4. The distributed storage and synchronization system based on blockchain according to claim 1, characterized in that: The consensus mechanism rule set by the node management module (100) is a dynamic weight adjustment algorithm.

5. The distributed storage and synchronization system based on blockchain according to claim 1, characterized in that: It also includes a security audit module (600), which is used to perform security protection and audit on the decentralized node network (800).

Citation Information

Cited By

  • Data asset secure storage method based on block chain technology

    CN120257332A

  • Optical transmission system management platform based on distributed storage and multi-protocol adaptation

    CN120264177A

  • Transaction data synchronous management system and method for multiple payment platforms

    CN120450701A

  • Transaction data synchronization management system and method for multiple payment platforms

    CN120450701B