Block chain node service system under block chain platform

By designing a blockchain node service system on the blockchain platform, the problem of inconsistent blockchain technology standards has been solved, data security and system reliability have been improved, and user trust and widespread application have been enhanced.

CN120034545APending Publication Date: 2025-05-23CHENGDU UNIV OF INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510141564.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The lack of unified blockchain technology standards at present has led to differences in standards for financial blockchain products and related applications, affecting user trust and widespread application.

Method used

A blockchain node service system under the blockchain platform is designed, including blockchain node data storage unit, consensus unit, data encryption unit, verification unit, transmission service unit, client data communication unit and broadcast unit. Distributed storage, hybrid encryption algorithm and P2P transmission technologies are used to ensure data security and system reliability.

Benefits of technology

By improving data security and system reliability, users' trust in blockchain technology has been enhanced, application obstacles caused by inconsistent standards have been solved, and wider application and promotion have been achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034545A_ABST
    Figure CN120034545A_ABST
Patent Text Reader

Abstract

The invention provides a block chain node service system under a block chain platform, and relates to the technical field of block chains. Comprising a block chain node data storage unit, a block chain node-to-transaction consensus unit, a block chain node data encryption unit, a block chain node-to-transaction verification unit, and a transmission service providing unit between block chain nodes. The block chain node service system integrates a plurality of functional units, and the functional units cooperate with one another to form a complete and efficient block chain node service system, so that the service efficiency of the block chain node service system is improved, and the service efficiency of the block chain node service system is improved. According to the method and the system, diversified requirements of block chain application are comprehensively met, and the problems that financial block chain products and related application standards are not unified and trust and application of users are hindered due to the fact that no unified block chain technical standard exists at present are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain node service system under a blockchain platform. Background Art

[0002] As the field of network information continues to expand, along with the increasing scope of people's application of information technology, blockchain technology has gradually become a focus of attention. Blockchain technology, also known as distributed ledger technology, is essentially an Internet database technology. Unlike traditional network databases, blockchain technology presents the characteristics of decentralization, openness and transparency, and is a unique distributed ledger technology.

[0003] The database built on blockchain technology integrates a variety of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism and encryption algorithm to form an innovative application model. Its core lies in solving the trust and security problems in the transaction process and providing solid trust guarantee and security support for transaction activities. Specifically, blockchain technology manages data through block structure and uses cryptographic methods to ensure the security of data transmission and access. It aims to achieve efficient and secure peer-to-peer data transmission between multiple nodes in a peer-to-peer network environment without the need to establish a trust relationship in advance, with the help of cryptographic principles and mathematical calculation methods, thereby effectively solving the bottlenecks of traditional databases in terms of efficiency and access security.

[0004] The application of blockchain technology in the financial field is particularly typical, and many financial institutions have invested a lot of enthusiasm and resources in it. However, since there is no unified blockchain technology standard, there are differences in standards for financial blockchain products and related applications, which not only affects users' trust in the technology, but also hinders its widespread application and promotion to a certain extent. Summary of the invention

[0005] The present invention relates to a blockchain node service system under a blockchain platform, which solves the problem that there is no unified blockchain technology standard at present, so financial blockchain products and related application standards are not unified, which hinders user trust and application.

[0006] The present invention provides a blockchain node service system under a blockchain platform, specifically comprising: Blockchain node data storage unit, used to store all transaction record data, block data and smart contract data in the blockchain network; The blockchain node data storage unit adopts a distributed storage architecture with a redundant backup mechanism to ensure data reliability and availability, and can dynamically adjust storage capacity according to system scale and performance requirements; Blockchain nodes are consensus units for transactions, which are used to allow each node in the blockchain network to reach consensus on transaction information, package the confirmed information into blocks and store them permanently in the distributed ledger; A blockchain node data encryption unit, used to perform transmission operations on data in transmission or encrypted data using a hybrid encryption algorithm; The blockchain node verifies the transaction, and is used to verify the legitimacy of the transaction obtained by the blockchain node and determine its validity; Provides a transmission service unit between blockchain nodes, which is used to form a blockchain network with multiple blockchain nodes connected to each other to complete data transmission; The data communication unit between the blockchain node and the client is used for data communication between the client and the blockchain node, and writes the transaction sent by the client into the encrypted transaction pool after verification; The blockchain node is a unit that broadcasts transactions or blocks. It is used to extract encrypted transaction information from the encrypted transaction pool for broadcasting, allowing each blockchain node to reach consensus on the broadcasted transaction information, and package the transaction information that has successfully reached consensus into blocks and store them in the distributed ledger.

[0007] Furthermore, the transaction record data is created by the client, and after verification by the blockchain node, it is packaged into blocks by the consensus unit of the blockchain node and stored in the distributed ledger; The block data is composed of blockchain nodes, which store blocks formed by consensus packaging, and the blocks are stored in a distributed ledger; The smart contract data storage unit stores text data of the smart contract, including the creation, code and transaction information of the smart contract. The client initiates the creation and calling operations of the smart contract through the blockchain node and the data communication unit of the client.

[0008] Furthermore, the blockchain node consensus unit for transactions includes: The transaction information acquisition module enables blockchain nodes to obtain transaction information from other blockchain nodes or clients; A transaction information verification module, used to verify the acquired transaction information; The transaction information storage module temporarily stores the verified transaction information in the local storage module of the blockchain node, waiting to be packaged into blocks; The transaction information is packaged into block units, the temporarily stored transaction information is packaged into blocks, and the node timestamp and hash value of the block are obtained; The transaction information broadcast module broadcasts the packaged transaction information to other blockchain nodes.

[0009] Furthermore, the blockchain node consensus unit for transactions also includes: An encrypted transaction pool is established in each blockchain node, and consensus is confirmed on the acquired transactions. The confirmed transactions are stored in the encrypted transaction pool, packaged into blocks after a preset time threshold, and sent to other blockchain nodes through the P2P network. After consensus is confirmed by each blockchain node on the blocks containing legal and valid transaction information, they are packaged and written into the distributed ledger for chain storage.

[0010] Furthermore, the hybrid encryption algorithm includes: Symmetric encryption algorithm, custom encryption of transaction information in the block; Asymmetric encryption algorithm, to sign the transaction information encrypted by the symmetric encryption algorithm and obtain the public key and private key; Custom encryption algorithm, which mixes symmetric and asymmetric encryption algorithms to form hybrid encryption for transaction information.

[0011] Furthermore, the transmission service unit providing the transmission service between blockchain nodes includes: Data transmission module, which realizes data transmission between blockchain nodes through P2P; The data storage module temporarily stores the transaction information sent by other nodes in the local storage module; Chain data structure creation module, which creates a chain data structure including block header and block body; The transaction data interaction module is used by the blockchain node to verify the transaction data sent by other nodes, and generate and record the hash value and block number of the transaction; The smart contract data interaction module is used by blockchain nodes to verify the smart contracts sent by other nodes, and generate and record the smart contract hash value and block number.

[0012] Furthermore, the block header includes a block version number, a hash value of a previous block, a hash value of the current block, a timestamp, and a target value; The block body includes the hash value of the block header, the number of transactions, and the union of all transactions.

[0013] Furthermore, the data communication unit between the blockchain node and the client includes: The transmission service module provides the client with the function of calling the transmission service to send and receive data to the blockchain node, and provides a P2P transmission mechanism; The access control module limits the access scope of blockchain network nodes for visitors of different levels. Only visitors who meet the access restrictions can access, ensuring data security.

[0014] Furthermore, the blockchain node broadcasts transactions or blocks including: The transaction or block broadcast module broadcasts the block or transaction data information to be broadcast to other nodes and waits for responses; The response module receives information from other nodes on the validity, existence or update of block or transaction information, and replies to the node that sent the block.

[0015] The present invention provides a blockchain node service system under a blockchain platform, which has the following beneficial effects: In terms of data security, the present invention uses blockchain technology to make the data stored in the system highly secure. Based on the traceability and immutability unique to blockchain technology, it ensures that the data is difficult to be tampered with or stolen, greatly improving the credibility of the data and making the data stored in the blockchain safe and reliable.

[0016] At the system reliability level, the present invention builds a highly reliable system through distributed deployment. The system is not affected or limited by single node failure, has excellent disaster recovery capabilities, and effectively ensures the stable operation of the system.

[0017] In terms of data transmission security, the system of the present invention adopts a hybrid encryption algorithm, which first encrypts the transmitted data symmetrically and then asymmetrically encrypts the encrypted data. This encryption method significantly improves the security and confidentiality of data transmission, and effectively protects the security of data during transmission.

[0018] The blockchain node service system of the present invention is a comprehensive system, which integrates multiple functional units such as a blockchain node data storage unit, a blockchain node consensus unit for transactions, a blockchain node data encryption unit, a blockchain node transaction verification unit, a transmission service unit between blockchain nodes, a data communication unit between blockchain nodes and clients, and a blockchain node transaction or block broadcasting unit. The functional units cooperate with each other to form a complete and efficient blockchain node service system, which fully meets the diverse needs of blockchain applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings of the embodiment are briefly introduced below.

[0020] The drawings described below are only related to some embodiments of the present invention, but are not intended to limit the present invention.

[0021] In the attached picture: Figure 1 The block diagram of the blockchain node service system of the present application is shown; Figure 2 The block diagram of the blockchain node data storage unit of the present application is shown; Figure 3The block diagram of the blockchain node of the present application for consensus on transactions is shown; Figure 4 The block diagram of the blockchain node data encryption unit of the present application is shown; Figure 5 The block diagram of the block chain node of the present application for verifying transactions is shown; Figure 6 The block diagram of the composition of the transmission service unit providing the blockchain nodes of the present application is shown; Figure 7 The block diagram of the data communication unit between the blockchain node and the client of the present application is shown; Figure 8 A block diagram showing the composition of a unit for broadcasting transactions or blocks in a blockchain node of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] Example: Please refer to Figures 1 to 8 : The present invention proposes a blockchain node service system under a blockchain platform, including: Blockchain node data storage unit, used to store all transaction record data, block data and smart contract data in the blockchain network; the blockchain node data storage unit adopts a distributed storage architecture, has a redundant backup mechanism to ensure data reliability and availability, and can dynamically adjust storage capacity according to system scale and performance requirements; Among them, the transaction record data is created by the client, and after being verified by the blockchain node, it is packaged into blocks by the consensus unit of the blockchain node and stored in the distributed ledger; Block data is composed of blockchain nodes, which store blocks formed by consensus packaging and stored in distributed ledgers; The smart contract data storage unit stores the text data of the smart contract, including the creation, code and transaction information of the smart contract. The client initiates the creation and call operation of the smart contract through the blockchain node and the client's data communication unit; Blockchain nodes are consensus units for transactions, which are used to allow each node in the blockchain network to reach consensus on transaction information, package the confirmed information into blocks and store them permanently in the distributed ledger; Blockchain nodes are consensus units for transactions, including the following modules: The transaction information acquisition module enables blockchain nodes to obtain transaction information from other blockchain nodes or clients; A transaction information verification module, used to verify the acquired transaction information; The transaction information storage module temporarily stores the verified transaction information in the local storage module of the blockchain node, waiting to be packaged into blocks; The transaction information is packaged into block units, the temporarily stored transaction information is packaged into blocks, and the node timestamp and hash value of the block are obtained; The transaction information broadcast module broadcasts the packaged transaction information to other blockchain nodes; Preferably, the blockchain node consensus unit for transactions also includes establishing an encrypted transaction pool in each blockchain node, performing consensus confirmation on the acquired transactions, storing the confirmed transactions in the encrypted transaction pool, packaging them into blocks after a preset time threshold, and sending them to other blockchain nodes through the P2P network. After each blockchain node performs consensus confirmation on the blocks containing legal and valid transaction information, they are packaged and written into the distributed ledger to be uploaded to the chain; A blockchain node data encryption unit, used to perform transmission operations on data in transmission or encrypted data using a hybrid encryption algorithm; The specific operations include: When the client sends data to the blockchain node, the verification unit of the blockchain node verifies the legitimacy of the data, and after successful verification, notifies the client to encrypt the data. After the client completes encryption, it sends the encrypted data through the data communication unit; The blockchain node receives the encrypted data transmitted by the client, decrypts it using a hybrid encryption algorithm, and executes transactions in the smart contract with the decrypted data; Hybrid encryption algorithms include: Symmetric encryption algorithm, custom encryption of transaction information in the block; Asymmetric encryption algorithm, to sign the transaction information encrypted by the symmetric encryption algorithm and obtain the public key and private key; Customized encryption algorithm, which mixes symmetric and asymmetric encryption algorithms to form hybrid encryption for transaction information; When encrypting transaction information, encrypt the string hash value information in the block header (including the block version number, the hash value of the previous block, the hash value of this block, the timestamp and the target value plaintext) and save the private key information, and send the encrypted ciphertext to the blockchain network for other nodes to perform consensus operations; When transmitting encrypted data, the identifier of the transaction information in the block body (including the hash value of the block header, the number of transactions, and the union of all transactions) is encrypted with the public key information to form a hash value, which is sent to the blockchain network for other nodes to compare the hash values ​​to complete the verification operation; The blockchain node verifies the transaction, and is used to verify the legitimacy of the transaction obtained by the blockchain node and determine its validity; The specific steps are: The blockchain node verifies the consistency of input and output data through the verification module. Verify whether the smart contract corresponding to the transaction information has been authenticated and signed by the CA. If it passes, the result will be submitted to the verification module of other nodes for consensus confirmation. If it fails, the transaction information will be discarded. Provides a transmission service unit between blockchain nodes, which is used to form a blockchain network with multiple blockchain nodes connected to each other to complete data transmission; It includes the following modules: Data transmission module, which realizes data transmission between blockchain nodes through P2P; The data storage module temporarily stores the transaction information sent by other nodes in the local storage module; Chain data structure creation module, which creates a chain data structure including the block header (including the block version number, the hash value of the previous block, the hash value of the current block, the timestamp and the target value) and the block body (including the hash value of the block header, the number of transactions and the union of all transactions); It also includes: Data interaction is carried out through the P2P transmission protocol or P2P message communication mechanism, in which the transaction data interaction module verifies the transaction data sent by other nodes and generates a hash value and block number to record the transaction, and the smart contract data interaction module verifies the smart contract sent by other nodes and generates a hash value and block number to record the smart contract; Preferably, for different transmission modes, if it is point-to-point transmission, the data is transmitted according to the transmission mode between the client and the blockchain node, the transmission layer uses cryptography technology to encrypt the data and transmits it according to the application layer data format; if it is P2P transmission, the node data is packaged into blocks, and the encrypted block data is transmitted to other connected nodes; The data communication unit between the blockchain node and the client is used for data communication between the client and the blockchain node, and writes the transaction sent by the client into the encrypted transaction pool after verification; Provide network layer services between the blockchain platform and the client, use TCP / IP protocol to communicate and pass data and business information to the upper layer; It contains the following modules: The transmission service module provides the client with the function of calling the transmission service to send and receive data to the blockchain node, and provides a P2P transmission mechanism; The access control module limits the access scope of blockchain network nodes for visitors of different levels. Only visitors who meet the access restrictions can access the nodes, thus ensuring data security. Preferably, cryptographic technology is used to encrypt the transmitted data, and a data chain is established for the transmitted data, including a main chain and a branch chain. The main chain serves as the backbone, and its nodes establish a network connection with the blockchain nodes. The branch chain has the same nodes as the main chain and contains connected clients or blockchain nodes. The client and the blockchain node are connected through the main chain. The main chain is generated by a blockchain node and confirmed by consensus of other nodes, and the branch chain is generated by the client and confirmed by consensus of the blockchain nodes. Blockchain nodes are used to broadcast transactions or blocks, extract encrypted transaction information from the encrypted transaction pool for broadcasting, and allow each blockchain node to reach consensus on the broadcasted transaction information, and package the transaction information that has reached consensus into blocks and store them in the distributed ledger; It contains the following modules: The transaction or block broadcast module broadcasts the block or transaction data information to be broadcast to other nodes and waits for responses; The response module receives information from other nodes on the validity, existence or update of block or transaction information, and replies to the node that sent the block; Preferably, it includes extracting encrypted transaction information from the encrypted transaction pool, broadcasting it to all blockchain nodes through the P2P network after consensus confirmation; the blockchain nodes receive and save the broadcasted encrypted transactions, and at the same time broadcast the last batch of transactions or block data information saved by themselves; after all nodes have consensus confirmation on the received transactions or blocks, they are packaged into new blocks and stored in the distributed ledger; Furthermore, for systems that include P2P networks, blockchain nodes receive new transaction information initiated by clients, and after legitimacy verification, internal consensus confirmation, and packaging into new blocks, they immediately broadcast the new blocks to the entire P2P network.

Claims

1. A blockchain node service system under a blockchain platform, characterized in that: include: Blockchain node data storage unit, used to store all transaction record data, block data and smart contract data in the blockchain network; The blockchain node data storage unit adopts a distributed storage architecture with a redundant backup mechanism to ensure data reliability and availability, and can dynamically adjust storage capacity according to system scale and performance requirements; Blockchain nodes are consensus units for transactions, which are used to allow each node in the blockchain network to reach consensus on transaction information, package the confirmed information into blocks and store them permanently in the distributed ledger; A blockchain node data encryption unit, used to perform transmission operations on data in transmission or encrypted data using a hybrid encryption algorithm; The blockchain node verifies the transaction, and is used to verify the legitimacy of the transaction obtained by the blockchain node and determine its validity; Provides a transmission service unit between blockchain nodes, which is used to form a blockchain network with multiple blockchain nodes connected to each other to complete data transmission; The data communication unit between the blockchain node and the client is used for data communication between the client and the blockchain node, and writes the transaction sent by the client into the encrypted transaction pool after verification; The blockchain node is a unit that broadcasts transactions or blocks. It is used to extract encrypted transaction information from the encrypted transaction pool for broadcasting, allowing each blockchain node to reach consensus on the broadcasted transaction information, and package the transaction information that has successfully reached consensus into blocks and store them in the distributed ledger.

2. According to a blockchain node service system under a blockchain platform according to claim 1, it is characterized in that: The transaction record data is created by the client, verified by the blockchain node, and packaged into blocks by the consensus unit of the blockchain node and stored in the distributed ledger; The block data is composed of blockchain nodes, which store blocks formed by consensus packaging, and the blocks are stored in a distributed ledger; The smart contract data storage unit stores text data of the smart contract, including the creation, code and transaction information of the smart contract. The client initiates the creation and calling operations of the smart contract through the blockchain node and the data communication unit of the client.

3. According to a blockchain node service system under a blockchain platform according to claim 1, it is characterized in that: The blockchain node consensus unit for transactions includes: The transaction information acquisition module enables blockchain nodes to obtain transaction information from other blockchain nodes or clients; A transaction information verification module, used to verify the acquired transaction information; The transaction information storage module temporarily stores the verified transaction information in the local storage module of the blockchain node, waiting to be packaged into blocks; The transaction information is packaged into block units, the temporarily stored transaction information is packaged into blocks, and the node timestamp and hash value of the block are obtained; The transaction information broadcast module broadcasts the packaged transaction information to other blockchain nodes.

4. According to a blockchain node service system under a blockchain platform according to claim 3, it is characterized in that: The blockchain node also includes a consensus unit for transactions: An encrypted transaction pool is established in each blockchain node, and consensus is confirmed on the acquired transactions. The confirmed transactions are stored in the encrypted transaction pool, packaged into blocks after a preset time threshold, and sent to other blockchain nodes through the P2P network. After consensus is confirmed by each blockchain node on the blocks containing legal and valid transaction information, they are packaged and written into the distributed ledger for chain storage.

5. The blockchain node service system under the blockchain platform according to claim 1, characterized in that: The hybrid encryption algorithm includes: Symmetric encryption algorithm, custom encryption of transaction information in the block; Asymmetric encryption algorithm, to sign the transaction information encrypted by the symmetric encryption algorithm and obtain the public key and private key; Custom encryption algorithm, which mixes symmetric and asymmetric encryption algorithms to form hybrid encryption for transaction information.

6. The blockchain node service system under the blockchain platform according to claim 1, characterized in that: The transmission service unit providing the transmission service between blockchain nodes includes: Data transmission module, which realizes data transmission between blockchain nodes through P2P; The data storage module temporarily stores the transaction information sent by other nodes in the local storage module; Chain data structure creation module, which creates a chain data structure including block header and block body; The transaction data interaction module is used by the blockchain node to verify the transaction data sent by other nodes, and generate and record the hash value and block number of the transaction; The smart contract data interaction module is used by blockchain nodes to verify the smart contracts sent by other nodes, and generate and record the smart contract hash value and block number.

7. The blockchain node service system under the blockchain platform according to claim 6, characterized in that: The block header includes a block version number, a hash value of the previous block, a hash value of the current block, a timestamp, and a target value; The block body includes the hash value of the block header, the number of transactions, and the union of all transactions.

8. The blockchain node service system under the blockchain platform according to claim 1, characterized in that: The data communication unit between the blockchain node and the client includes: The transmission service module provides the client with the function of calling the transmission service to send and receive data to the blockchain node, and provides a P2P transmission mechanism; The access control module limits the access scope of blockchain network nodes for visitors of different levels. Only visitors who meet the access restrictions can access, ensuring data security.

9. The blockchain node service system under the blockchain platform according to claim 1, characterized in that: The blockchain node broadcasts transactions or blocks including: The transaction or block broadcast module broadcasts the block or transaction data information to be broadcast to other nodes and waits for responses; The response module receives information from other nodes on the validity, existence or update of block or transaction information, and replies to the node that sent the block.