A blockchain node service system for multiple blockchain platforms
By adopting the sharding mechanism and DAG structure of Ethereum and IOTA blockchain in the IoT system, the scalability and storage efficiency issues of blockchain technology in the IoT system are solved, and high throughput and real-time transaction confirmation are achieved. , simplifying management and maintenance.
Patent Information
- Application Number
- CN202210616008.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing blockchain technology has problems in the Internet of Things system such as poor scalability, low transaction throughput, information island phenomenon and large storage overhead. In particular, insufficient network scalability and storage efficiency due to decentralization characteristics.
Adopting the sharding mechanism of the Ethereum network and IOTA blockchain, by dividing the IOTA blockchain into the main network and sub-networks, using the DAG structure and sharding mechanism, nodes are bound to IP addresses, and users can choose to connect to available nodes and sub-networks. The network administrator controls the transaction node and uses the Lamport OTS signature method and specific flag fields (such as Tag) for transaction filtering and shard management to achieve cross-domain transaction processing.
It improves network scalability and overall throughput, optimizes node storage overhead, realizes real-time transaction confirmation and cross-domain transactions, simplifies management and maintenance, and facilitates users to select available nodes and transaction domains.
Smart Images

Figure CN115001816B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of blockchain, and in particular to a blockchain node service system for a multi-blockchain platform. Background Art
[0002] The security and availability of the current IoT system rely on large-scale centralized servers. The service provider of a single IoT system must ensure the security of the centralized server and invest a lot of resources to prevent malicious attacks and avoid single point failures. At the same time, users upload their personal sensitive information to the service provider for storage and management. The service provider has an obligation to protect the privacy and security of users. As IoT systems are proposed and put into use one after another, IoT systems have entered the cross-industry integration stage. The compatibility issues of IoT data in different fields have become increasingly prominent, and the demand for mutual integration is increasing. There is an urgent need for a more convenient and efficient data management and communication platform. Blockchain has technical advantages such as decentralization, openness, autonomy, anonymity and non-tamperability. The proof-of-work mechanism introduced by blockchain can solve the trust problem in mutually distrustful distributed systems. Blockchain allows both parties to complete the value transfer without knowing each other. The tamper-proof feature ensures that once the information is verified and added to the blockchain, it will be permanently stored. Unless more than 51% of the nodes in the system can be controlled at the same time, the modification of the database by a single node is invalid. In the related technology, a blockchain network node service device for a multi-blockchain platform is disclosed, including a distributed network service system, a virtual service node module and a network service control intermediate. The distributed network service system is internally provided with a virtual server node, and the signal end of the virtual server node is connected to the virtual service node module. The virtual service node module is internally provided with a buffer server group and an access controller, and the signal end of the buffer server group is connected to the access controller, and the signal end of the access controller is connected to the network service control intermediate. The system arranges a central manager at the gateway node to centrally authenticate the user group to access the network, define access policies, implement security level management, and centrally configure and manage the network. At the same time, the network fault situation is collected through the access controller and broadcast to the entire network in time to avoid network congestion.
[0003] However, there are still some shortcomings in the above structure, because the problems of information storage security and verifiable integrity in the IoT system that relies on centralized servers can be solved by blockchain technology. However, the decentralized nature of blockchain also brings about problems of weak scalability and storage overhead, which are mainly manifested in three aspects: first, the transaction throughput of the blockchain system is low; second, information exchange between blockchains is impossible, resulting in the phenomenon of information islands; third, a single node needs to store all blockchain data, and the storage overhead is large.
[0004] Therefore, it is necessary to provide a new blockchain node service system for multiple blockchain platforms to solve the above technical problems. Summary of the invention
[0005] The technical problem solved by the present invention is to provide a blockchain node service system for a multi-blockchain platform that can improve the scalability of the network, the overall throughput of the network and optimize node storage, thereby meeting user needs, optimizing the storage overhead of sub-network nodes, and facilitating management and maintenance.
[0006] In order to solve the above technical problems, the blockchain node service system of the multi-blockchain platform provided by the present invention includes: Ethereum network and IOTA blockchain;
[0007] The Ethereum network is divided into two layers, one is the Ethereum main network, and the other is the shard network, which conducts shard transactions;
[0008] The IOTA blockchain adopts a DAG structure blockchain, which adopts a sharding mechanism, so that IOTA can have multiple sub-networks while the main network exists;
[0009] The sharding mechanism includes multiple nodes, so in the IOTA network, the node can be bound to an IP address, so that the node's IP address is exposed to the entire network, so that users can choose to connect to any available node on the client;
[0010] When the IOTA network has sub-networks, users cannot randomly specify nodes when sending a transaction. For IOTA networks in multi-domain scenarios, IOTA network nodes in sub-domains are subject to security control by the administrator of the sub-domain, and users can only choose the domain to send the transaction.
[0011] The user sends a transaction request to the node through the client until the transaction is broadcast to the IOTA network. When the user sends a value transaction to the network, the following parameters need to be provided:
[0012] ①.Seed: Each user has a unique Seed, which is used to generate a signature;
[0013] ②.Address: specifies the recipient of the transaction;
[0014] When a user sends a zero-value transaction to the network, the following parameters are also required:
[0015] ①.Seed: Each user has a unique Seed, which is used to generate a signature;
[0016] ②.Address: specifies the recipient of the transaction;
[0017] ③.Value: specifies the amount of the transaction;
[0018] ④.Tag: transaction tag field, user-defined;
[0019] ⑤.Message: Additional information contained in the transaction, used to carry the transaction signature in value transactions and to carry user-defined information in zero-value transactions;
[0020] The transaction may constitute a Tangle network, and the Tangle network may be continuously extended as the number of transactions increases. The transaction is composed of 2673 ternary coded characters, and the character unit is represented by tryte;
[0021] The IOTA network adopts the Lamport OTS one-time signature method. Each signature will expose a part of the private key, which requires the Seed owner to change the address every time he sends a value transaction that requires a signature, making the Address field a field that cannot be controlled by the user. The Value field contains a small amount of data and its value is subject to the actual transaction restrictions of the two parties to the transaction. It can be used to distinguish between zero-value transactions and value transactions. The Message field needs to carry the user signature of the transaction initiator during value transactions. The content is uncontrollable and is not suitable as a sharding flag field. The Tag field has a data capacity of 27 tryte, which is moderate in size, and its value is completely controlled by the user. It meets the 5 characteristics of the selected flag field proposed above and is suitable as a sharding flag field.
[0022] As a further solution of the present invention, the sharding of IOTA usually uses a random algorithm to determine the randomly selected nodes. In the multi-domain scenario, the sub-network nodes are managed by the administrator of the regional network, and there is no need to use a random algorithm to select transaction nodes. The IOTA network is sharded, and specific fields are required to distinguish transaction types. The flag field is controlled by the administrator of the regional network. The selection of the flag field in the transaction needs to meet the following characteristics:
[0023] ①. The selected flag field is essential in the data structure of each transaction;
[0024] ②. The selected flag field is convenient for node verification and filtering;
[0025] ③. The selected flag field can be manually modified to facilitate subdomain generation and control to meet the needs of specific user groups and specific node ranges;
[0026] ④. The selected flag field needs to carry a certain length of information to distinguish different flags of different fragments;
[0027] ⑤. The selected flag field can be encrypted and decrypted to protect the privacy of flag fields of different shards.
[0028] As a further solution of the present invention, the IOTA network can implement cross-domain transaction processing, and the cross-domain transaction processing includes the following:
[0029] ①. The node connected to the user who sent the cross-domain transaction queries the Tag database to determine whether the transaction Tag is in the database. If it exists, proceed to step ②. Otherwise, throw an exception and terminate the transaction.
[0030] ②. Send the matching results of the transaction to the sub-network node;
[0031] ③. The sub-network node reconstructs a transaction based on the transaction request information and the IP address of the returned target domain node;
[0032] ④. The sub-network nodes complete the construction and sending of cross-domain transactions. Transactions can be queried in the IOTA main network and the sub-network.
[0033] Compared with the related art, the blockchain node service system of the multi-blockchain platform provided by the present invention has the following beneficial effects:
[0034] 1. The present invention divides the IOTA network into a main network and a sub-network, so as to improve the scalability of the network, the overall throughput of the network and optimize the node storage, so as to meet the needs of users;
[0035] 2. The present invention can conduct all transactions while connecting to the main network by using a sub-network, and the sub-network nodes only need to store the transactions of the sub-network and maintain the Tangle view of the sub-network, thereby optimizing the storage overhead of the sub-network nodes. There is no value transfer in the sub-network, and the generated transactions are confirmed in real time. The sub-network nodes can conduct cross-domain transactions, and finally the sub-network nodes can be fully controlled by the organizer who applies to establish the sub-network, which is convenient for management and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0037] Figure 1 It is a principle block diagram of the present invention;
[0038] Figure 2 The flowchart of the transaction of the present invention is shown in FIG. DETAILED DESCRIPTION
[0039] Please refer to Figure 1 and Figure 2 ,in, Figure 1 It is a principle block diagram of the present invention; Figure 2 The flowchart of the transaction of the present invention is shown in FIG. The blockchain node service system of the multi-blockchain platform includes: the Ethereum network and the IOTA blockchain;
[0040] The Ethereum network is divided into two layers, one is the Ethereum main network, and the other is the shard network, which conducts shard transactions;
[0041] The IOTA blockchain adopts a DAG structure blockchain, which adopts a sharding mechanism, so that IOTA can have multiple sub-networks while the main network exists;
[0042] The sharding mechanism includes multiple nodes, so in the IOTA network, the node can be bound to an IP address, so that the node's IP address is exposed to the entire network, so that users can choose to connect to any available node on the client;
[0043] When the IOTA network has sub-networks, users cannot randomly specify nodes when sending a transaction. For the IOTA network in a multi-domain scenario, the IOTA network nodes in the sub-domain are subject to the security control of the administrator of this sub-domain, and users can only choose the sending domain of the transaction by themselves.
[0044] The user sends a transaction request to the node through the client until the transaction is broadcast to the IOTA network. When the user sends a value transaction to the network, the following parameters need to be provided:
[0045] ①.Seed: Each user has a unique Seed, which is used to generate a signature;
[0046] ②.Address: specifies the recipient of the transaction;
[0047] When a user sends a zero-value transaction to the network, the following parameters are also required:
[0048] ①.Seed: Each user has a unique Seed, which is used to generate a signature;
[0049] ②.Address: specifies the recipient of the transaction;
[0050] ③.Value: specifies the amount of the transaction;
[0051] ④.Tag: transaction tag field, user-defined;
[0052] ⑤.Message: Additional information included in the transaction, used to carry the transaction signature in value transactions and to carry user-defined information in zero-value transactions.
[0053] The process of sending transactions on the IOTA network is as follows Figure 2As shown, the user sends a transaction request to the node through the client until the transaction is broadcast to the IOTA network. The process from creating a transaction to proof of work must be completed by the same node. The storage, propagation, and confirmation of the transaction are completed by the nodes together. The transaction input provided by the user needs to go through two processes: creating a transaction and constructing a transaction meta-unit. These processes require verification of the transaction data. The main verification items for creating a transaction include transaction timestamp, transaction value (Va l ue), transaction proof of work strength, and transaction address (Address). If all verifications are passed, the operation of constructing a transaction meta-unit is performed. The transactions in IOTA can be of two types: value transactions and zero-value transactions. The transaction meta-unit includes input transactions, output transactions, and meta-transactions in value transactions. Each address entered by the user in IOTA constitutes an input transaction, and each receiving address entered by the user in IOTA constitutes an output transaction. Meta-transactions carry signatures, and only meta-transactions carrying information are included in zero-value transactions. The verification items for constructing transaction meta-units mainly include the balance verification of all input and output transactions.
[0054] The transaction may constitute a Tangle network, and the Tangle network may continue to extend as the number of transactions increases. The transaction is composed of 2673 ternary coded characters, and the character unit is represented by tryte.
[0055] The IOTA network adopts the Lamport OTS one-time signature method. Each signature will expose a part of the private key, which requires the Seed owner to change the address every time he sends a value transaction that requires a signature, making the Address field a field that cannot be controlled by the user. The Value field contains a small amount of data and its value is subject to the actual transaction restrictions of the two parties to the transaction. It can be used to distinguish between zero-value transactions and value transactions. The Message field needs to carry the user signature of the transaction initiator during value transactions. The content is uncontrollable and is not suitable as a sharding flag field. The Tag field has a data capacity of 27 tryte, which is moderate in size, and its value is completely controlled by the user. It meets the 5 characteristics of the selected flag field proposed above and is suitable as a sharding flag field.
[0056] The IOTA network node can complete the construction of transaction units and broadcast transactions at a single point. The purpose of only accepting transactions that meet the conditions can be achieved by screening the field Tag. The node will reject transactions that do not meet the flag field Tag. This can not only form an isolated area network, but also store only transactions that meet specific conditions, reducing the storage overhead of the node. However, when sending value transactions, the field Tag cannot be selected, and the transaction data sent by the client needs to be modified to achieve the purpose of using the Tag as a sharding flag field. The optional flag fields only have Value and Tag.
[0057] Selecting the fields Value and Tag as the flag fields requires certain changes to the transaction verification stage. The processing rules for the field Value are: in the transaction creation stage of the transaction process, add a check on the field Value to separate value transactions from zero-value transactions. Value transactions are carried out on the main network. In this paper's solution, the field Tag belongs to an unchangeable field of the regional network node. When an organization or individual applies to form a regional network, the IOTA network administrator will send a specific field Tag to this organization or individual to distinguish between sub-network transactions and cross-domain transactions, and complete the construction of the IOTA regional network. Each user uses a specific field Tag when sending a transaction in order to verify the node during the transaction verification process. When sending a value transaction, the client automatically sends the transaction to the IOTA main network for processing.
[0058] The IOTA sharding usually uses a random algorithm to determine the randomly selected nodes. In the multi-domain scenario, the sub-network nodes are managed by the administrator of the regional network, and there is no need to use a random algorithm to select transaction nodes. Sharding the IOTA network requires specific fields to distinguish transaction types. The flag field is controlled by the administrator of the regional network. The selection of the flag field in the transaction needs to meet the following characteristics:
[0059] ①. The selected flag field is essential in the data structure of each transaction;
[0060] ②. The selected flag field is convenient for node verification and filtering;
[0061] ③. The selected flag field can be manually modified to facilitate subdomain generation and control to meet the needs of specific user groups and specific node ranges;
[0062] ④. The selected flag field needs to carry a certain length of information to distinguish different flags of different fragments;
[0063] ⑤. The selected flag field can be encrypted and decrypted to protect the privacy of flag fields of different shards.
[0064] The IOTA network can implement cross-domain transaction processing, which includes the following:
[0065] ①. The node connected to the user who sent the cross-domain transaction queries the Tag database to determine whether the transaction Tag is in the database. If it exists, proceed to step ②. Otherwise, throw an exception and terminate the transaction.
[0066] ②. Send the matching results of the transaction to the sub-network node;
[0067] ③. The sub-network node reconstructs a transaction based on the transaction request information and the IP address of the returned target domain node;
[0068] ④. The sub-network nodes complete the construction and sending of cross-domain transactions. Transactions can be queried in the IOTA main network and the sub-network.
Claims
1. A blockchain node service system for multiple blockchain platforms, It is characterized in that include: Ethereum network and IOTA blockchain; The Ethereum network is divided into two layers, one is the Ethereum main network, and the other is the shard network, which conducts shard transactions; The IOTA blockchain adopts a DAG structure blockchain, which adopts a sharding mechanism, so that IOTA can have multiple sub-networks while the main network exists; The sharding mechanism includes multiple nodes, so in the IOTA network, the node can be bound to an IP address, so that the node's IP address is exposed to the entire network, so that users can choose to connect to any available node on the client; When the IOTA network has sub-networks, users cannot randomly specify nodes when sending a transaction. For IOTA networks in multi-domain scenarios, IOTA network nodes in sub-domains are subject to security control by the administrator of the sub-domain, and users can only choose the domain to send the transaction. The user sends a transaction request to the node through the client until the transaction is broadcast to the IOTA network. When the user sends a value transaction to the network, the following parameters need to be provided: ①.Seed: Each user has a unique Seed, which is used to generate a signature; ②.Address: specifies the recipient of the transaction; When a user sends a zero-value transaction to the network, the following parameters are also required: ①.Seed: Each user has a unique Seed, which is used to generate a signature; ②.Address: specifies the recipient of the transaction; ③.Value: specifies the amount of the transaction; ④.Tag: transaction tag field, user-defined; ⑤.Message: Additional information contained in the transaction, used to carry the transaction signature in value transactions and to carry user-defined information in zero-value transactions; The transaction can constitute a Tangle network, which can be continuously extended as the number of transactions increases. The transaction is composed of 2673 ternary coded characters, and the character unit is represented by tryte; The IOTA network adopts the Lamport OTS one-time signature method. Each signature will expose a part of the private key, which requires the Seed owner to change the address every time he sends a value transaction that needs to be signed, making the Address field a field that cannot be controlled by the user. The Value field contains a small amount of data and its value is subject to the actual transaction restrictions of the two parties to the transaction. It can be used to distinguish between zero-value transactions and value transactions. The Message field needs to carry the user signature of the transaction initiator during value transactions. The content is uncontrollable and is not suitable as a sharding flag field. The Tag field has a data capacity of 27 tryte, which is moderate in size, and its value is completely controlled by the user. It meets the 5 characteristics of the selection flag field proposed above and is suitable as a sharding flag field.
2. The blockchain node service system of the multi-blockchain platform according to claim 1, Features: The IOTA sharding usually uses a random algorithm to determine the randomly selected nodes. In the multi-domain scenario, the sub-network nodes are managed by the administrator of the regional network, and there is no need to use a random algorithm to select transaction nodes. Sharding the IOTA network requires specific fields to distinguish transaction types. The flag field is controlled by the administrator of the regional network. The selection of the flag field in the transaction needs to meet the following characteristics: ①. The selected flag field is essential in the data structure of each transaction; ②. The selected flag field is convenient for node verification and filtering; ③. The selected flag field can be manually modified to facilitate subdomain generation and control to meet the needs of specific user groups and specific node ranges; ④. The selected flag field needs to carry a certain length of information to distinguish different flags of different fragments; ⑤. The selected flag field can be encrypted and decrypted to protect the privacy of flag fields of different shards.
3. The blockchain node service system of the multi-blockchain platform according to claim 1, Features: The IOTA network can implement cross-domain transaction processing, which includes the following: ①. The node connected to the user who sent the cross-domain transaction queries the Tag database to determine whether the transaction Tag is in the database. If it exists, proceed to step ②. Otherwise, throw an exception and terminate the transaction. ②. Send the matching results of the transaction to the sub-network node; ③. The sub-network node reconstructs a transaction based on the transaction request information and the IP address of the returned target domain node; ④. The sub-network nodes complete the construction and sending of cross-domain transactions. Transactions can be queried in the IOTA main network and the sub-network.
Citation Information
Patent Citations
PKI identity authentication system and method based on IOTA
CN112132581A
Transaction transfer realy method between compatible blockchain networks
KR102209852B1
