WO2021012811A1 - 一种基于公链的地址管理*** - Google Patents
一种基于公链的地址管理*** Download PDFInfo
- Publication number
- WO2021012811A1 WO2021012811A1 PCT/CN2020/094355 CN2020094355W WO2021012811A1 WO 2021012811 A1 WO2021012811 A1 WO 2021012811A1 CN 2020094355 W CN2020094355 W CN 2020094355W WO 2021012811 A1 WO2021012811 A1 WO 2021012811A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- node
- transaction
- chain
- address management
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/02—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Definitions
- This application relates to the technical field of blockchain transactions, and in particular to an address management system based on a public chain.
- the main task of blockchain technology is to create a relatively objective non-repudiation digital environment based on the requirements of the decentralized system and based on public consensus. Based on blockchain technology, the authenticity of network information can be guaranteed. For example, if a transaction occurs in the blockchain network, the nodes in the network will generate block data recording the transaction content based on the transaction information, and complete the block data. In network broadcasting, other nodes in the network store block data at the same time, forming an unchangeable blockchain.
- the transaction is in a broad sense, and it does not refer to "commodity trading" or “item exchange” in the traditional sense, but refers to a certain data operation content or operation result on the blockchain network, for example, a certain operation on the network
- the blockchain node A initiates a query request a for the performance of a certain type of communication device, and the query request a is a transaction for the blockchain node B that undertakes the query service. In the same way, it is also a transaction for node B to send the performance table b of this type of communication device obtained by the query to node A.
- Information A, a and information B, b will be written into the data block of the blockchain as transaction information.
- transactions based on blockchain technology are essentially transactions between two nodes.
- Traditional transactions require the initiating node to clearly or have known the address information of the target node in order to find the target node through the address information, and then complete the transaction.
- the information of each blockchain is independent and incompatible with each other. Therefore, in the case of cross-chain transactions, one blockchain is used as the transaction initiator The node of the other party cannot directly obtain the address information of the node of the transaction target of the other blockchain.
- the address list of other blockchain nodes can be stored in the current blockchain network, and the address list records any block chain in the block chain set that can be used as the transaction target Node address information. If the initiating node initiates a transaction, it needs to query the address information of the corresponding target node in the address list, and conduct a transaction with the target node according to the queried address information.
- this method is only applicable to the network environment where cross-chain transactions have been signed. In the actual blockchain deployment process, according to different application areas, different types of public chains, alliance chains or industry chains will be deployed. Cross-chain transactions may occur between these chains. Therefore, it is necessary to in each chain Each node in the storage address list, occupying a large amount of storage resources.
- This application provides an address management system based on a public chain to solve the problems of traditional blockchain networks occupying more network bandwidth and low transaction efficiency.
- this application provides an address management system based on a public chain, which includes a public chain and a sub-chain connected to the public chain.
- the nodes in the public chain and the sub-chain establish a network connection with each other, characterized in that the public chain
- Some nodes in are configured as address management nodes, storing and synchronizing all node address data in the public chain and the sub-chain;
- the address management node is further configured to receive an address query transaction sent by a transaction initiating node or a node adjacent to the address management node when a transaction occurs; and, according to the address query transaction, send a transaction target to the transaction initiation node The address data corresponding to the node.
- the address management node is further configured to receive the address change information broadcast by the child chain node, and to update the stored address data according to the address change information.
- the address management node is elected by a node in the public chain through internal elections in the public chain;
- the node configuration is periodically changed in some nodes in the public chain.
- multiple address management nodes form a multi-level address management network
- At least one of the address management nodes is configured to store the address data; and at least one of the address management nodes is configured to: send a transaction target to the transaction initiation node according to the address query transaction The address data corresponding to the node.
- the address data includes one of a network address of a node, a terminal MAC address, and a unified identification address;
- the address management node stores an address index table;
- the address index table includes address data corresponding to each node ,
- the address public key is composed of an encrypted HASH value;
- the address management node is further configured as:
- Parse the address public key according to a preset encryption algorithm obtain address data corresponding to the address public key, and generate an address index table.
- the transaction initiating node initiates an address query transaction to the address management node, and the address query transaction includes a transaction summary of the pre-initiated cross-chain transaction;
- the address management node is configured to query transaction traversal storage address data according to the address; and, extract transaction target node address data corresponding to the transaction summary, and send the transaction target node address data to the transaction initiation point .
- the address management node is further configured to calculate network idleness according to the number of transactions that occur in a unit time in the public chain network; and, when the network idleness is lower than a preset threshold, report to the public All nodes in the chain and sub-chain broadcast address confirmation information;
- the nodes in the public chain and the sub-chain are configured to send current address information to the address management node after receiving the address confirmation information.
- the address management node is further configured to match the stored address data according to the current address information; and delete address data that does not match the current address information.
- this application also provides an address management system based on a public chain, including a public chain and a third-party blockchain connected to the public chain, and nodes in the public chain and the third-party blockchain establish network connections with each other , Some nodes in the public chain are configured as address management nodes, storing and synchronizing all node address data in the public chain and the third-party blockchain;
- the address management node is further configured to receive an address query transaction sent by a transaction initiating node or a node adjacent to the address management node when a transaction occurs; and, according to the address query transaction, send a transaction target to the transaction initiation node The address data corresponding to the node.
- the address management node is also configured to receive the address change information broadcast by the third-party blockchain node, and to update the stored address data according to the address change information.
- the address management system further includes a parachain composed of the public chain nodes and/or third-party blockchain nodes;
- the parachain node is configured to be able to perform all data operations of the public chain node, and has all the functions and information of the public chain node; it is also configured to be able to perform all the data operations of the third-party blockchain node, and has a third-party block All functions and information of the chain node; at least one of the parachain nodes is configured as the address management node.
- the transaction initiating node initiates an address query transaction to the address management node, and the address query transaction includes a transaction summary;
- the address management node is configured to traverse and store address data according to the address query transaction
- the system includes a public chain and sub-chains connected to the public chain.
- some nodes in the public chain are configured as address management nodes and store , Synchronize the address data of all nodes in the public chain and the sub-chain; when a transaction occurs, the address management node can receive an address query transaction; and send the address data corresponding to the transaction target node to the transaction initiating node according to the address query transaction.
- the address management node is also configured to receive the address change information broadcast by the child chain nodes, and to update the stored address data according to the address change information.
- the address management system provided by this application can configure some nodes in the public chain as address management nodes, and combine the characteristics of blockchain transactions, so that the transaction initiating node can quickly obtain the address of the transaction target node, so in the transaction initiating node , There is no need to store the address information of all nodes, and the process of obtaining the address of the transaction target node only occurs between the transaction initiating node and the address management node. There is no need to broadcast the transaction to obtain the address of the transaction target node, which can significantly reduce the network bandwidth Occupancy and improve transaction efficiency.
- Figure 1 is a schematic diagram of the structure of a public chain-based address management system of this application.
- Figure 2 is a schematic diagram of an address query transaction process of an address management system based on a public chain of this application;
- FIG. 3 is a schematic diagram of the process of updating the address index table of a public chain-based address management system according to this application;
- Figure 4 is a schematic diagram of the parachain structure of the application.
- the blockchain refers to the accounting data generated by transactions in the network system on the one hand, and refers to the network running blockchain technology, that is, the blockchain network.
- the blockchain network refers to a point-to-point (P2P) network with a decentralized application architecture, which can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. That is, a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
- P2P point-to-point
- Blockchain or blockchain information is accounting information generated based on transaction information when transactions occur in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form a blockchain.
- the blockchain network includes nodes that establish a peer-to-peer network connection with each other. Each node is equipped with a corresponding consensus mechanism, such as a smart contract, and has sufficient computing power to perform transaction verification and accounting procedures.
- the node also has an interface specification that conforms to a certain unified standard to realize access to more nodes or other types of blockchain networks through the interface specification.
- FIG. 1 is a schematic structural diagram of an address management system based on a public chain of this application.
- the address management system provided by this application includes a public chain and a sub-chain connected to the public chain, and nodes in the public chain and the sub-chain establish network connections with each other.
- some nodes in the public chain are configured as address management nodes to store and synchronize all node address data in the public chain and sub-chains.
- both the public chain and the sub-chain are peer-to-peer P2P networks.
- the P2P network is composed of multiple nodes, each of which has independent computing capabilities, application operating capabilities, storage capabilities, and the ability to provide human-computer interaction.
- a node in a P2P network is not only a gateway device that provides network information transmission, but also any computer device certified by the blockchain network, such as personal computers, computer units, servers, and smart terminal devices.
- the public chain is a blockchain network that provides a basic platform, that is, by setting a unified transaction standard, under this transaction standard, each blockchain network connected to the public chain can Through the public chain, the transaction information is transmitted and uniformly verified to realize cross-chain transactions.
- the blockchain network connected to the public chain can include sub-chains and third-party blockchains.
- the sub-chain is a blockchain network with the same transaction standards as the public chain, that is, it is established based on the public chain network form Private chain, industry chain, alliance chain, etc.
- a node as a public chain can be divided into multiple roles according to its position in the network and its own hardware configuration. That is, in the actual transaction process, not all public chain nodes complete the same transaction In order to complete the transaction quickly and avoid the delay of high-concurrency transactions, it performs different tasks according to its own roles. Therefore, in this application, some nodes in the public chain can be further configured as address management nodes, that is, in the actual transaction process, the address management nodes can be used to store and synchronize all node address data in the public chain and sub-chains. .
- the address management node when a transaction occurs, is further configured to receive an address query transaction sent by a transaction initiating node or a neighboring node of the address management node; The transaction initiating node sends address data corresponding to the transaction target node.
- the transaction initiating node initiates an address query transaction to the address management node, and the address query transaction includes a transaction summary of the pre-initiated cross-chain transaction; the address management node is configured To query transaction traversal and store address data according to the address; and extract the transaction target node address data corresponding to the transaction summary, and send the transaction target node address data to the transaction initiation point.
- the transaction initiating node can be a node in a sub-chain network, or a node in a public chain network.
- the transaction initiation node Before the transaction initiation node initiates a formal transaction, it can initiate an address query transaction to the address management node based on the content of the actual transaction information.
- This address query transaction needs to include the transaction content information in the pre-initiated formal transaction or describe the formal transaction For example, the transaction content of the formal transaction is compressed and packaged in the form of transaction summary and sent to the address to query the transaction.
- the form of query transaction between the transaction initiation point and the address management node is also different. If the transaction initiation node can directly exchange transactions or information with the address management node, it can directly initiate a query transaction to the address management node through the transaction initiation node. This method is most suitable for the transaction initiation node and the address management node in the same area Transactions within the blockchain network, that is, the transaction initiating node is also a node within the scope of the public chain network. If the transaction initiating node cannot directly exchange transactions or information with the address management node, it can broadcast an address query transaction through the transaction initiating node. Specifically, it can broadcast the query transaction to the neighboring node first, and the neighboring node combines its own role to determine Whether to complete the transaction or continue broadcasting until the address management node receives the query transaction.
- the address management node can extract the transaction summary in the query transaction, determine the transaction target function specified in the query transaction, and then match the transaction target node corresponding to the function from the stored address information table, and The corresponding address data is packaged into a transaction result and sent to the transaction initiating node, so that the transaction initiating node can obtain the address data.
- the address data corresponding to the corresponding transaction target node can be directly designated to directly complete the transaction.
- the address query transaction is essentially the same transaction process as a formal transaction, that is, an undocumented transaction completed through the built-in consensus mechanism and smart contract of the public chain network The transaction process of the number of pass or designated pass.
- the transaction initiating node does not need to store the address information of the transaction target node, only the address information of the address management node is stored, and even any address information does not need to be stored, but is queried by broadcasting in the public chain network
- the address of the target node of the transaction Therefore, the address management system provided by this application can reduce the requirements on the storage performance of the node.
- the address management node is further configured to receive the address change information broadcast by the child chain node, and to update the stored address data according to the address change information.
- a node in the public chain or sub-chain network goes online or goes offline, it will cause the node address information to change.
- a newly online node needs to register to the public chain network to characterize the type of transaction it supports, that is, to generate an address change message.
- the newly online nodes can broadcast address change information in the sub-chain network or the public chain network.
- all nodes in the public chain network can receive the broadcast address change information, but only the node that is the address management node can analyze and transform the address change information, and store it in the address management node in a unified way.
- the storage space of the address management node can be fully utilized, and the storage space of other nodes is not occupied.
- the transmission of address change information can only occur between the address management node and the node that changes the address, without synchronizing to all nodes, which can greatly reduce the occupation of network bandwidth.
- the address management node can preferentially select nodes with higher storage resource capacity as address management nodes to provide storage capacity for address data; sub-chains and public chain connection nodes can also be selected Or the node adjacent to the connecting node serves as the address management node, so that the address management node can quickly receive the address change information to improve the efficiency of information update.
- the address management node is generated by the nodes in the public chain through elections within the public chain; or, is randomly generated by some nodes in the public chain, and is in some nodes in the public chain Periodically switch node configuration.
- the address management node can use the voting mechanism inside the public chain to elect nodes whose hardware conditions meet the requirements to complete the address management service through secure and stable nodes.
- nodes in the public chain it is also possible to use some nodes in the public chain as candidate nodes in practical applications. However, not all nodes as candidate nodes complete the above address management service, but in these candidate nodes, periodic Randomly select a specified number of nodes as address management nodes. In this way, the method of randomly changing the address management node can prevent the network system from being attacked and the stored information to be tampered with, and reduce the risk of illegal transactions. It can also complete the address management service through other nodes when individual nodes fail to ensure the transaction process Went smoothly.
- a data synchronization mechanism can be defined between all nodes that can be used as address management nodes, so that all candidate nodes store the address data of each node.
- a candidate node that is not an address management node receives an address query transaction, it can forward the address query transaction to the nearest address management node, so that the address management node can receive the address query transaction as soon as possible.
- a plurality of the address management nodes constitute a multi-level address management network; in the address management network, at least one of the address management nodes is configured to store the address data; and at least one address management node The address management node is configured to send address data corresponding to the transaction target node to the transaction initiating node according to the address query transaction.
- the address management network composed of multiple address management nodes is also a kind of blockchain network.
- address information can be distributedly stored through multiple address management nodes to enhance address data Storage capacity.
- the address query can be completed through some nodes in the address management network, and other nodes are only stored as addresses, so that the distributed storage capacity of the network can be used more efficiently and the query transaction can be completed as quickly as possible.
- the address data includes one of a node's network address, a terminal MAC address, and a unified identification address;
- the address management node stores an address index table;
- the address index table includes the address data corresponding to each node and the address public key corresponding to the address data;
- the address public key is composed of encrypted HASH values;
- the address management node is further configured as:
- the data can be applied to multiple different networks, and can adopt one of a network address in the form of a unified identification, a terminal MAC address, and a unified identification address.
- the address public key of each sub-chain node Before querying the address data, the address public key of each sub-chain node can be facilitated, and the address index table can be created according to the correspondence between the address public key and the address data, so that the address index can be directly used for subsequent address data query
- the table determines the address information of the transaction target node.
- the address management node is further configured to calculate the network idleness according to the number of transactions that occur per unit time in the public chain network; and, when the network idleness is lower than a preset threshold , Broadcast address confirmation information to all nodes in the public chain and sub-chains; the nodes in the public chain and the sub-chain are configured to send current address information to the address management node after receiving the address confirmation information.
- the update method can include two methods. One method is that the newly connected public chain or sub-chain node actively sends the address change information to Address management node; this method of updating address information is more suitable for situations where the public chain and each sub-chain have the same address management form. Another way is that the address management node actively issues confirmations to each node.
- This update method can be applied to various public chain and sub-chain network forms. However, this update method is used when the number of transactions in the current system is large. Part of the bandwidth resources will be occupied. Therefore, in this embodiment, the network idleness can be calculated, and synchronization can be implemented when the number of transactions in the network is low.
- the network of this application is a blockchain network, thanks to the transaction accounting form of the blockchain network, all transactions need to be broadcast in the entire network to complete the creation of the blockchain. Therefore, this embodiment can obtain the number of transactions indirectly through the creation of the blockchain, so that this embodiment can easily calculate the network idleness.
- different preset thresholds can be set to take into account the update rate and the occupation of network bandwidth.
- the address management node is further configured to match the stored address data according to the current address information; and delete address data that does not match the current address information. That is, after receiving the current address information sent by the node in the sub-chain or public chain, the current address information can be matched with the information stored in the address index table. If the address information corresponding to the node has not changed, the address index table is retained Corresponding data; if the address information corresponding to the node changes, the information in the address index table can be exchanged for current address information. In addition, through the foregoing address confirmation information process, if an unmatched node or corresponding address data appears in the process of confirming the information, the data in the address index table can be deleted or added.
- the present application also provides an address management system based on a public chain, including a public chain and a third-party blockchain connected to the public chain. Establish a network connection between the nodes in the public chain, and some nodes in the public chain are configured as address management nodes to store and synchronize all node address data in the public chain and the third-party blockchain;
- the address management node is further configured to receive an address query transaction sent by a transaction initiating node or a node adjacent to the address management node when a transaction occurs; and, according to the address query transaction, send to the transaction initiation node The address data corresponding to the transaction target node.
- the address management node is also configured to receive the address change information broadcast by the third-party blockchain node, and to update the stored address data according to the address change information.
- the third-party blockchain can have different transaction standards from the public chain, which mainly refers to the docking of the existing blockchain network, such as the mature Ethereum, Bitcoin network, etc., or It is a third-party private chain, a third-party industry chain, and a third-party alliance chain that are self-organizing according to the principle of blockchain network.
- This third-party blockchain network generally does not have the same consensus mechanism and smart contract as the public chain, so it is more difficult to communicate directly and complete transactions directly.
- the address management system also includes a public chain node and/or third-party zone.
- Parallel chain composed of block chain nodes.
- the parachain node is configured to be able to perform all data operations of the public chain node, and has all the functions and information of the public chain node; it is also configured to be able to perform all the data operations of the third-party blockchain node, and has a third-party block All functions and information of the chain node; at least one of the parachain nodes is configured as the address management node.
- parachain nodes can transmit transaction information during transactions and bridge transactions.
- the nodes in the sub-chain need to conduct transactions across the chain, they can first broadcast the block data within the sub-chain, and then broadcast the transaction within the public chain through the parachain node, that is, on the sub-chain and the public chain at the same time
- the creation, verification, and storage of blockchain data for the same transaction is completed in the network to form blockchain data.
- the cross-chain transaction is completed.
- This cross-chain transaction method bridged by parallel chains can achieve the purpose of cross-chain transactions with the smallest amount of node transformation.
- the transaction initiating node initiates an address query transaction to the address management node, and the address query transaction includes a transaction summary; the address management node is configured to traverse and store address data according to the address query transaction Find the transaction target chain corresponding to the transaction summary, and extract the address data of the parachain node corresponding to the transaction target chain, and send the address data of the parachain node to the transaction initiation point.
- the system includes a public chain and sub-chains connected to the public chain.
- some nodes in the public chain are configured as address management nodes and store , Synchronize the address data of all nodes in the public chain and the sub-chain; when a transaction occurs, the address management node can receive an address query transaction; and send the address data corresponding to the transaction target node to the transaction initiating node according to the address query transaction.
- the address management node is also configured to receive the address change information broadcast by the child chain nodes, and to update the stored address data according to the address change information.
- the address management system provided by this application can configure some nodes in the public chain as address management nodes, and combine the characteristics of blockchain transactions, so that the transaction initiating node can quickly obtain the address of the transaction target node, so in the transaction initiating node , There is no need to store the address information of all nodes, and the process of obtaining the address of the transaction target node only occurs between the transaction initiating node and the address management node. There is no need to broadcast the transaction to obtain the address of the transaction target node, which can significantly reduce the network bandwidth Occupancy and improve transaction efficiency.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
一种基于公链的地址管理***包括公链和接入公链的子链或第三方区块链,其中,公链的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据;在发生交易时,地址管理节点可接收地址查询交易;并发送交易目标节点对应的地址数据。所述***通过将公链中的部分节点配置为地址管理节点,可以使交易发起节点快速获取到交易目标节点的地址,因此在交易发起节点中,可无需存储全部节点的地址信息,并且交易目标节点地址的获取过程仅发生在交易发起节点和地址管理节点之间,无需通过广播交易来获取交易目标节点的地址,可以显著减小对网络带宽的占用,提高交易效率。
Description
本申请要求在2019年7月19日提交中国专利局、申请号为201910656220.2、发明名称为“基于公链的地址管理***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及区块链交易技术领域,尤其涉及一种基于公链的地址管理***。
区块链技术的主要任务,是按照去中心化的***要求,基于公众共识的方式,创建一个相对客观的抗抵赖数字环境。基于区块链技术,可以保证网络信息的真实性,例如,区块链网络中发生一笔交易,网络中的节点会根据交易信息生成记载交易内容的区块数据,并将区块数据进行全网广播,网络中的其他节点同时存储区块数据,形成不可更改的区块链。其中,所述交易具有广义性,不是指传统意义上的“商品买卖”、“物品交换”,而是指区块链网络上的某种数据操作内容或操作结果,例如,在网络上某个区块链节点A发起一个某型号通信设备性能的查询请求a,所述查询请求a对于承担查询服务的区块链节点B来说就是一笔交易。同理,节点B将查询得到的该型号通信设备的性能表b发送给节点A也是一笔交易。信息A、a和信息B、b作为交易信息会被写入区块链的数据块中。
可见,基于区块链技术的交易,本质上是两个节点之间的交易。传统交易需要发起节点明确或已经获知目标节点的地址信息,以通过该地址信息查找到目标节点,进而完成交易。然而,由于跨链交易发生在两个不同的区块链之间,每个区块链的信息彼此独立、互不兼容,因此,在跨链交易的情况下,一个区块链的作为交易发起方的节点无法直接获取到另一个区块链的作为交易目标方的节点的地址信息。
为了获取到目标节点的地址信息,可以在当前区块链网络中存储其它区块链节点的地址列表,所述地址列表中记载有区块链集合中任何一个区块链的能够作为交易目标的节点地址信息。如果发起节点发起交易,需要在地址列表中查询对应目标节点的地址信息,并按照查询到的地址信息与目标节点进行交易。然而,这种方法仅适用于已经签约的可以进行跨链交易的网络环境下。在实际的区块链部署过程中,根据应用领域不同,会布置不同类型的公链、联盟链或行业链,这些链之间均有发生跨链交易的可能,因此,需要在每个链中的每个节点都存储地址列表,占据大量的存储资源。
另外,大部分区块链具有动态调整功能,即每一个区块链中随时都有节点上线或下线,使得节点地址动态变化,因此,对于区块链中的任意节点来说,需要不断更新存储的地址列表,以适应其它区块链中节点的上线或下线,或地址的变化。这使得区块链网络需要不断更新地址列表,浪费或占用网络带宽较多,降低交易效率。
发明内容
本申请提供了一种基于公链的地址管理***,以解决传统区块链网络占用网络带宽较多、交易效率低的问题。
一方面,本申请提供一种基于公链的地址管理***,包括公链和接入公链的子链,所述公链和子链中的节点相互建立网络连接,其特征在于,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据;
所述地址管理节点被进一步配置为在发生交易时,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。
所述地址管理节点还被配置为接收所述子链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。
可选的,所述地址管理节点由所述公链中的节点,通过公链内部的选举产生;
或者,由所述公链中的部分节点随机产生,且在所述公链中的部分节点内周期性转换节点配置。
可选的,多个所述地址管理节点组成多级地址管理网络;
所述地址管理网络中,至少一个所述地址管理节点被配置为存储所述地址数据;以及至少一个所述地址管理节点被配置为:根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。
可选的,所述地址数据包括节点的网络地址、终端MAC地址以及统一标识地址中的一种;所述地址管理节点存储有地址索引表;所述地址索引表中包括各节点对应的地址数据,以及与地址数据对应的地址公钥;所述地址公钥由加密HASH值组成;所述地址管理节点被进一步配置为:
遍历各子链节点的地址公钥;
根据预设加密算法解析所述地址公钥,获取与所述地址公钥对应的地址数据,以及生成地址索引表。
可选的,所述地址管理***在进行交易前,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括预发起跨链交易的交易摘要;
所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;以及,提取与所述交易摘要对应的交易目标节点地址数据,并发送所述交易目标节点地址数据至所述交易发起点。
可选的,所述地址管理节点还被配置为根据公链网络中单位时间内发生的交易数量,计算网络空闲度;以及,在所述网络空闲度低于预设阈值时,向所述公链和子链中的所有节点广播地址确认信息;
所述公链和子链中的节点被配置为在接收到所述地址确认信息后,发送当前地址 信息至所述地址管理节点。
可选的,所述地址管理节点还被配置为根据所述当前地址信息匹配所存储的地址数据;以及,删除未匹配到所述当前地址信息的地址数据。
另一方面,本申请还提供一种基于公链的地址管理***,包括公链和接入公链的第三方区块链,所述公链和第三方区块链中的节点相互建立网络连接,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和第三方区块链中的全部节点地址数据;
所述地址管理节点被进一步配置为在发生交易时,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。
所述地址管理节点还被配置为接收所述第三方区块链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。
可选的,所述地址管理***还包括由所述公链节点和/或第三方区块链节点组成的平行链;
所述平行链节点被配置为能够执行公链节点的全部数据操作,具有公链节点的全部功能和信息;还被配置为能够执行第三方区块链节点的全部数据操作,具有第三方区块链节点的全部功能和信息;至少一个所述平行链节点被配置为所述地址管理节点。
可选的,所述地址管理***在进行交易时,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括交易摘要;
所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;
查找与所述交易摘要对应的交易目标链,以及提取所述交易目标链对应平行链节点的地址数据,并发送所述平行链节点的地址数据至所述交易发起点。
由以上技术方案可知,本申请提供一种基于公链的地址管理***,所述***包括公链和接入公链的子链,并且,公链中的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据;在发生交易时,地址管理节点可接收地址查询交易;并根据地址查询交易向交易发起节点发送交易目标节点对应的地址数据。地址管理节点还被配置为接收子链节点广播的地址变更信息,以及将存储的地址数据按照地址变更信息进行更新。
本申请提供的地址管理***,可以通过将公链中的部分节点配置为地址管理节点,结合区块链交易特点,可以使交易发起节点快速获取到交易目标节点的地址,因此在交易发起节点中,可无需存储全部节点的地址信息,并且交易目标节点地址的获取过程仅发生在交易发起节点和地址管理节点之间,无需通过广播交易来获取交易目标节点的地址,可以显著减小对网络带宽的占用,提高交易效率。
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一种基于公链的地址管理***结构示意图;
图2为本申请一种基于公链的地址管理***地址查询交易流程示意图;
图3为本申请一种基于公链的地址管理***更新地址索引表流程示意图;
图4为本申请平行链结构示意图。
下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的***和方法的示例。
在本申请提供的技术方案中,所述区块链一方面指网络***中交易产生的记账数据,另一方面指运行区块链技术的网络,即区块链网络。其中,区块链网络是指具有去中心化应用架构的点对点(P2P)网络,所述区块链网络能够进行分布式存储、公共共识、数字加密、交易记账以及验证。即涵盖了分布式技术、密码学、P2P网络架构以及各种可能被应用的共识算法的交易平台。
区块链或区块链信息是在区块链网络中发生交易时,根据交易信息生成的记账信息,即多笔具体的交易组成一个区块,多个区块形成一条区块链。区块链网络中,包括相互建立点对点网络连接的节点,每一个节点都配置有相应的共识机制,如智能合约,并且具有足够的运算能力,以进行交易验证和记账程序。节点上还具有符合某种统一标准的接口规范,以实现通过接口规范接入更多的节点或者其他类型的区块链网络。
参见图1,为本申请一种基于公链的地址管理***结构示意图。由图1可知,本申请提供的地址管理***,包括公链和接入公链的子链,所述公链和子链中的节点相互建立网络连接。其中,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据。实际应用中,公链和子链均为点对点形式的P2P网络,P2P网络由多个节点组成,每个节点具有独立的运算能力、应用运行能力、存储能力以及提供人机交互的能力。P2P网络中的节点不仅是提供网络信息传递的网关设备,而且可以是被区块链网络认证的任何计算机设备,如个人计算机、计算机机组、服务器以及智能终端设备等。
在所述地址管理***中,所述公链是提供基础平台的区块链网络,即通过设定一个统一的交易标准,以在此交易标准下,各个接入公链的区块链网络可以通过公链,将交易信息进行传递和统一验证,以实现跨链交易。实际应用中,接入公链的区块链网络可以包括子链和第三方区块链,其中,子链是与公链具有相同交易标准的区块链 网络,即基于公链网络形式而建立的私链、行业链、联盟链等。
本申请提供的技术方案中,作为公链的节点可以根据其在网络中的位置以及自身硬件配置情况,进行多种角色划分,即在实际交易过程中,并非所有公链节点都完成同一个交易的验证、记账工作,而是根据自身的角色不同进行不同的工作,以快速完成交易,避免高并发交易的延时。因此,在本申请中,可以将公链中的部分节点进一步配置为地址管理节点,即在实际交易过程中,地址管理节点可以用于存储、同步所述公链和子链中的全部节点地址数据。
如图2所示,在发生交易时,所述地址管理节点被进一步配置为,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。
具体的,所述地址管理***在进行交易前,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括预发起跨链交易的交易摘要;所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;以及,提取与所述交易摘要对应的交易目标节点地址数据,并发送所述交易目标节点地址数据至所述交易发起点。
实际应用中,交易发起节点可以是子链网络中的节点,也可以是公链网络中的节点。在交易发起节点发起正式的交易之前,可以根据实际交易信息的内容,向地址管理节点发起一个地址查询交易,这个地址查询交易中,需要包含预发起的正式交易中的交易内容信息或描述正式交易的信息,例如,以交易摘要的方式将正式交易的交易内容进行压缩打包,发送给地址查询交易。
根据实际应用环境的不同,交易发起点与地址管理节点之间的查询交易形式也不同。如果交易发起节点可以与地址管理节点之间直接进行交易或信息交互,则可以直接通过交易发起节点向地址管理节点发起查询交易,这种方式最适合于交易发起节点与地址管理节点处于同一个区块链网络内的交易,即交易发起节点也是公链网络范围内的节点。如果交易发起节点不能直接与地址管理节点之间进行交易或信息交互,则可以通过交易发起节点广播一个地址查询交易,具体可以为先向邻近节点广播查询交易,邻近节点再结合自身的角色,确定是完成交易还是继续广播,直到地址管理节点接收到该查询交易。
地址管理节点在接收到查询交易以后,可以提取查询交易中的交易摘要,确定查询交易中指定的交易目标功能,再通过从存储的地址信息表中匹配该功能所对应的交易目标节点,并将其对应的地址数据打包成交易结果发送给交易发起节点,以使交易发起节点获得地址数据。在后续正式交易时,可以直接指定对应的交易目标节点对应的地址数据,以直接完成交易。
需要说明的是,本申请提供的技术方案中,所述地址查询交易本质上是一种与正式交易相同的交易过程,即通过公链网络内置的共识机制和智能合约,完成的一种无证通或指定证通数量的交易过程。
通过上述地址查询过程,交易发起节点中不必存储交易目标节点的地址信息,只 需存储地址管理节点的地址信息即可,甚至任何地址信息都无需存储,而通过在公链网络中广播的方式查询交易目标节点的地址,因此,本申请提供的地址管理***可以减小对节点存储性能的要求。并且在跨链交易过程中,仅需在正式交易前进行地址查询即可获得交易目标节点的地址信息,而跨链交易也需要前置查询交易,因此可以将地址查询交易与前置查询交易合并为同一个交易进行广播,无需额外进行数据传输,避免实际应用时占用过多的网络带宽,提高交易效率。
所述地址管理节点还被配置为接收所述子链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。实际应用中,每当公链或子链网络中的节点上线或下线,则会导致节点地址信息的改变。例如,新上线的节点需要注册至公链网络以表征其支持的交易类型,即生成一个地址变更信息。新上线的节点可以在子链网络或公链网络中,广播地址变更信息。理论上,公链网络中的所有节点都可以接收到广播的地址变更信息,但只有作为地址管理节点的节点才对地址变更信息进行解析、转化,以及通过统一的方式存储在地址管理节点中。
通过地址管理节点更新地址数据,可以充分利用地址管理节点的存储空间,并且不占用其他节点的存储空间。同时,地址变更信息的传递可以仅发生在地址管理节点和变更地址的节点之间,无需向所有节点同步,从而可以大大减小对网络带宽的占用。另外,地址管理节点为了实现对地址信息的存储和快速同步,可以优先选取存储资源能力较高的节点作为地址管理节点,以提供对地址数据的存储能力;也可以选取子链和公链连接节点或连接节点邻近的节点作为地址管理节点,以使地址管理节点可以快速接收到地址变更信息,以提高信息的更新效率。
进一步地,所述地址管理节点由所述公链中的节点,通过公链内部的选举产生;或者,由所述公链中的部分节点随机产生,且在所述公链中的部分节点内周期性转换节点配置。实际应用中,地址管理节点可以通过公链内部的投票机制,对硬件条件符合要求的节点进行选举,以通过安全稳定的节点完成地址管理服务。
还可以在实际应用时,将公链节点中的部分节点作为备选节点,但作为备选节点的节点中,并非所有节点均完成上述地址管理服务,而是在这些备选节点中,周期性的随机选取指定数量的节点作为地址管理节点。这样随机变更地址管理节点的方式可以避免网络***遭到攻击而使存储的信息被篡改,降低产生非法交易的风险,还可以在个别节点出现故障时,通过其他节点完成地址管理服务,保证交易过程的顺利进行。
需要说明的是,为了降低信息冗余程度,可作为地址管理节点的所有节点之间可以定义一种数据同步机制,使得所有备选节点均存储有各节点的地址数据。而不作为地址管理节点的备选节点在接收到地址查询交易时,可以将地址查询交易进行就近转发,发送至最近的地址管理节点,以使地址管理节点尽快接收到地址查询交易。
在本申请的部分实施例中,多个所述地址管理节点组成多级地址管理网络;所述地址管理网络中,至少一个所述地址管理节点被配置为存储所述地址数据;以及至少一个所述地址管理节点被配置为:根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。即在本实施例中,多个地址管理节点组成的地址管理网 络也是一种区块链网络,在地址管理网络中,可以通过多个地址管理节点对地址信息进行分布式存储,以增强地址数据的存储能力。而在实际交易过程中,可以通过地址管理网络中的部分节点完成地址查询,而其他节点仅作为地址存储,这样可以更高效的利用网络的分布式存储能力,以及尽可能快的完成查询交易。
但在当前网络***在短时间内出现大量交易时,为了避免大规模高并发运算造成数据拥堵和延迟,还可以根据实际交易处理数量或当前时间段,启用多个节点完成根据地址查询交易向交易发起节点发送交易目标节点对应的地址数据的操作。
在本申请的部分实施例中,如图3所示,所述地址数据包括节点的网络地址、终端MAC地址以及统一标识地址中的一种;所述地址管理节点存储有地址索引表;所述地址索引表中包括各节点对应的地址数据,以及与地址数据对应的地址公钥;所述地址公钥由加密HASH值组成;所述地址管理节点被进一步配置为:
遍历各子链节点的地址公钥;再根据预设加密算法解析所述地址公钥,获取与所述地址公钥对应的地址数据,以及生成地址索引表。
由于在实际应用中,不同的网络对应的地址信息形式不同,而不同的网络对于地址信息的设定方式也不同,因此,在本申请提供的技术方案中,为了使地址管理节点中存储的地址数据能够适用于多个不同的网络,可以采用统一标识形式的网络地址、终端MAC地址以及统一标识地址中的一种。在实际查询交易中,可以优先在地址索引表中查询与交易发起节点地址形式相同的地址数据,以能够直接确定交易目标节点。
在地址数据查询之前,可以通过便利各子链节点的地址公钥,并根据地址公钥与地址数据之间的对应关系来创建地址索引表,以便在后续地址数据查询时,可以直接通过地址索引表确定交易目标节点的地址信息。
在本申请的部分实施例中,所述地址管理节点还被配置为根据公链网络中单位时间内发生的交易数量,计算网络空闲度;以及,在所述网络空闲度低于预设阈值时,向所述公链和子链中的所有节点广播地址确认信息;所述公链和子链中的节点被配置为在接收到所述地址确认信息后,发送当前地址信息至所述地址管理节点。
实际应用中,地址管理节点中存储的地址数据需要根据实际情况进行不断更新,其更新方式可以包括两种,一种方式为,新接入的公链或子链节点主动将地址变更信息发送给地址管理节点;这种地址信息的更新方式更适用于公链和各子链的地址管理形式相同的情况下。而另一种方式为,地址管理节点主动向各节点发布确认的方式,这种更新方式可适用于各种公链和子链网络形式,但这种更新方式在当前***中的交易数量很多时,会占用部分带宽资源,因此,本实施例可以通过计算网络空闲度,并在网络中交易数量较低的情况下在再实施同步。
由于本申请网络是区块链网络,因此,得益于区块链网络的交易记账形式,所有交易均需要在整个网络中进行广播,以完成区块链创建。因此,本实施例可以通过区块链的创建情况间接获得交易数量,使得本实施例可以很轻松地计算网络空闲度。实际应用中,根据不同的网络特点,可以设置不同的预设阈值,以兼顾更新速率和网络带宽的占用情况。
进一步地,所述地址管理节点还被配置为根据所述当前地址信息匹配所存储的地址数据;以及,删除未匹配到所述当前地址信息的地址数据。即在接收到子链或公链中的节点发送的当前地址信息后,可以通过当前地址信息与地址索引表中存储的信息进行匹配,如果节点对应的地址信息没有改变,则保留地址索引表中对应的数据;如果节点对应的地址信息发生改变,则可将地址索引表中的信息兑换为当前地址信息。并且,通过上述地址确认信息过程,如果在确认信息的过程中出现未匹配成功的节点或对应的地址数据,则可以删除或新增地址索引表中的数据。
在本申请的另一个实施例中,本申请还提供一种基于公链的地址管理***,包括公链和接入公链的第三方区块链,所述公链和第三方区块链中的节点相互建立网络连接,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和第三方区块链中的全部节点地址数据;
其中,所述地址管理节点被进一步配置为在发生交易时,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。所述地址管理节点还被配置为接收所述第三方区块链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。
在本申请提供的技术方案中,第三方区块链可以与公链具有不同的交易标准,主要指代对接现有的区块链网络,如已经成熟的以太坊、比特币网络等,也可能是根据区块链网络原理自行组网的第三方私链、第三方行业链和第三方联盟链等。这种第三方区块链网络一般不具有和公链相同的共识机制和智能合约,因此较难直接进行通信以及直接完成交易。
因此,如图4所示,为了使不同的第三方区块链网络与公链之间能够通信以及完成跨链交易,所述地址管理***还包括由所述公链节点和/或第三方区块链节点组成的平行链。所述平行链节点被配置为能够执行公链节点的全部数据操作,具有公链节点的全部功能和信息;还被配置为能够执行第三方区块链节点的全部数据操作,具有第三方区块链节点的全部功能和信息;至少一个所述平行链节点被配置为所述地址管理节点。实际应用中,平行链节点可以在交易时对交易的信息进行传递,并将交易进行桥接。
例如,子链中的节点需要跨链进行交易时,可先在子链范围内完成区块数据的广播,再通过平行链节点将交易在公链范围内广播,即同时在子链和公链网络中完成对于同一个交易的区块链数据创建、验证、存储等,以形成区块链数据,对交易信息进行分布存储后,完成跨链交易。这种通过平行链进行桥接的跨链交易方式,可以通过最小的节点改造量,实现跨链交易的目的。
地址管理***在进行交易时,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括交易摘要;所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;查找与所述交易摘要对应的交易目标链,以及提取所述交易目标链对应平行链节点的地址数据,并发送所述平行链节点的地址数据至所述交易 发起点。
由以上技术方案可知,本申请提供一种基于公链的地址管理***,所述***包括公链和接入公链的子链,并且,公链中的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据;在发生交易时,地址管理节点可接收地址查询交易;并根据地址查询交易向交易发起节点发送交易目标节点对应的地址数据。地址管理节点还被配置为接收子链节点广播的地址变更信息,以及将存储的地址数据按照地址变更信息进行更新。
本申请提供的地址管理***,可以通过将公链中的部分节点配置为地址管理节点,结合区块链交易特点,可以使交易发起节点快速获取到交易目标节点的地址,因此在交易发起节点中,可无需存储全部节点的地址信息,并且交易目标节点地址的获取过程仅发生在交易发起节点和地址管理节点之间,无需通过广播交易来获取交易目标节点的地址,可以显著减小对网络带宽的占用,提高交易效率。
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。
Claims (10)
- 一种基于公链的地址管理***,包括公链和接入公链的子链,所述公链和子链中的节点相互建立网络连接,其特征在于,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和子链中的全部节点地址数据;所述地址管理节点被进一步配置为在发生交易时,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据;所述地址管理节点还被配置为接收所述子链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。
- 根据权利要求1所述的地址管理***,其特征在于,所述地址管理节点由所述公链中的节点,通过公链内部的选举产生;或者,由所述公链中的部分节点随机产生,且在所述公链中的部分节点内周期性转换节点配置。
- 根据权利要求1所述的地址管理***,其特征在于,多个所述地址管理节点组成多级地址管理网络;所述地址管理网络中,至少一个所述地址管理节点被配置为存储所述地址数据;以及至少一个所述地址管理节点被配置为:根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据。
- 根据权利要求1所述的地址管理***,其特征在于,所述地址数据包括节点的网络地址、终端MAC地址以及统一标识地址中的一种;所述地址管理节点存储有地址索引表;所述地址索引表中包括各节点对应的地址数据,以及与地址数据对应的地址公钥;所述地址公钥由加密HASH值组成;所述地址管理节点被进一步配置为:遍历各子链节点的地址公钥;根据预设加密算法解析所述地址公钥,获取与所述地址公钥对应的地址数据,以及生成地址索引表。
- 根据权利要求1所述的地址管理***,其特征在于,所述地址管理***在进行交易前,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括预发起跨链交易的交易摘要;所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;以及,提取与所述交易摘要对应的交易目标节点地址数据,并发送所述交易目标节点地址数据至所述交易发起点。
- 根据权利要求1所述的地址管理***,其特征在于,所述地址管理节点还被配置为根据公链网络中单位时间内发生的交易数量,计算网络空闲度;以及,在所述网络空闲度低于预设阈值时,向所述公链和子链中的所有节点广播地址确认信息;所述公链和子链中的节点被配置为在接收到所述地址确认信息后,发送当前地址信息至所述地址管理节点。
- 根据权利要求6所述的地址管理***,其特征在于,所述地址管理节点还被配置为根据所述当前地址信息匹配所存储的地址数据;以及,删除未匹配到所述当前地址信息的地址数据。
- 一种基于公链的地址管理***,包括公链和接入公链的第三方区块链,所述公链和第三方区块链中的节点相互建立网络连接,其特征在于,所述公链中的部分节点被配置为地址管理节点,存储、同步所述公链和第三方区块链中的全部节点地址数据;所述地址管理节点被进一步配置为在发生交易时,接收交易发起节点或所述地址管理节点的临近节点发送的地址查询交易;以及,根据所述地址查询交易向所述交易发起节点发送交易目标节点对应的地址数据;所述地址管理节点还被配置为接收所述第三方区块链节点广播的地址变更信息,以及将存储的地址数据按照所述地址变更信息进行更新。
- 根据权利要求8所述的地址管理***,其特征在于,所述地址管理***还包括由所述公链节点和/或第三方区块链节点组成的平行链;所述平行链节点被配置为能够执行公链节点的全部数据操作,具有公链节点的全部功能和信息;还被配置为能够执行第三方区块链节点的全部数据操作,具有第三方区块链节点的全部功能和信息;至少一个所述平行链节点被配置为所述地址管理节点。
- 根据权利要求9所述的地址管理***,其特征在于,所述地址管理***在进行交易时,由交易发起节点向所述地址管理节点发起地址查询交易,所述地址查询交易包括交易摘要;所述地址管理节点被配置为根据所述地址查询交易遍历存储地址数据;查找与所述交易摘要对应的交易目标链,以及提取所述交易目标链对应平行链节点的地址数据,并发送所述平行链节点的地址数据至所述交易发起点。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021571322A JP2022535781A (ja) | 2019-07-19 | 2020-06-04 | パブリックチェーンに基づくアドレス管理システム |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910656220.2 | 2019-07-19 | ||
CN201910656220.2A CN112241888B (zh) | 2019-07-19 | 2019-07-19 | 基于公链的地址管理*** |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021012811A1 true WO2021012811A1 (zh) | 2021-01-28 |
Family
ID=74167815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/094355 WO2021012811A1 (zh) | 2019-07-19 | 2020-06-04 | 一种基于公链的地址管理*** |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP2022535781A (zh) |
CN (1) | CN112241888B (zh) |
FR (1) | FR3099326A1 (zh) |
WO (1) | WO2021012811A1 (zh) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528746A (zh) * | 2016-10-26 | 2017-03-22 | 江苏通付盾科技有限公司 | 交易信息查询方法、装置及*** |
CN109462505A (zh) * | 2018-11-12 | 2019-03-12 | 上海点融信息科技有限责任公司 | 实现多个区块链网络之间的跨链通信的方法和装置 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018120121A1 (zh) * | 2016-12-30 | 2018-07-05 | 深圳前海达闼云端智能科技有限公司 | 区块链权限控制方法、装置及节点设备 |
CN106919419A (zh) * | 2017-02-03 | 2017-07-04 | 中钞***产业发展有限公司北京智能卡技术研究院 | 区块链上的智能合约程序的更新方法及装置 |
EP3593519B1 (en) * | 2017-03-09 | 2021-05-05 | Gulbrandsen, Magnus Skraastad | Core network access provider |
CN108323232B (zh) * | 2017-05-16 | 2020-01-24 | 北京大学深圳研究生院 | 一种多层级区块链***之间索引与链拓扑结构的维护方法 |
CN107231299A (zh) * | 2017-06-07 | 2017-10-03 | 众安信息技术服务有限公司 | 一种链路由及实现区块链跨链通信的*** |
CN111356995B (zh) * | 2017-10-04 | 2021-05-28 | 邓白氏公司 | 跨全异的不可变分布式账本网络进行身份解析的***和方法 |
KR101984254B1 (ko) * | 2018-09-21 | 2019-05-30 | 김성완 | 블록체인 네트워크를 구성하는 노드 장치 및 그 노드 장치의 동작 방법 |
CN109981814A (zh) * | 2019-03-19 | 2019-07-05 | 全链通有限公司 | 基于区块链网络服务节点的域名信息查询方法和*** |
-
2019
- 2019-07-19 CN CN201910656220.2A patent/CN112241888B/zh active Active
-
2020
- 2020-06-04 JP JP2021571322A patent/JP2022535781A/ja active Pending
- 2020-06-04 WO PCT/CN2020/094355 patent/WO2021012811A1/zh active Application Filing
- 2020-07-17 FR FR2007541A patent/FR3099326A1/fr active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528746A (zh) * | 2016-10-26 | 2017-03-22 | 江苏通付盾科技有限公司 | 交易信息查询方法、装置及*** |
CN109462505A (zh) * | 2018-11-12 | 2019-03-12 | 上海点融信息科技有限责任公司 | 实现多个区块链网络之间的跨链通信的方法和装置 |
Non-Patent Citations (2)
Title |
---|
JIA, DAYU ET AL.: "fficient Query Model for Storage Capacity Scalable Blockchain System", JOURNAL OF SOFTWARE, 10 April 2019 (2019-04-10), XP055775125 * |
RYOSUKE ABE: "Blockchain Storage Load Balancing Among DHT Clustered Nodes", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 6 February 2019 (2019-02-06), 201 Olin Library Cornell University Ithaca, NY 14853, XP081025990 * |
Also Published As
Publication number | Publication date |
---|---|
CN112241888B (zh) | 2024-03-26 |
CN112241888A (zh) | 2021-01-19 |
FR3099326A1 (fr) | 2021-01-29 |
JP2022535781A (ja) | 2022-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11018980B2 (en) | Data-interoperability-oriented trusted processing method and system | |
WO2022105498A1 (zh) | 一种基于区块链网络的数据处理方法、装置、计算机设备以及计算机可读存储介质 | |
CN107888562B (zh) | 一种平行链接入互联链的数据验证和收发方法、节点及*** | |
US11157487B2 (en) | Trusted storage method and system based on directed acyclic graph structure | |
WO2018112805A1 (zh) | 区块链存储方法、装置及节点设备 | |
US11444783B2 (en) | Methods and apparatuses for processing transactions based on blockchain integrated station | |
WO2021012812A1 (zh) | 一种基于公链的区块链网络寻址方法 | |
US11336660B2 (en) | Methods and apparatuses for identifying replay transaction based on blockchain integrated station | |
US11665234B2 (en) | Methods and apparatuses for synchronizing data based on blockchain integrated station | |
US11783339B2 (en) | Methods and apparatuses for transferring transaction based on blockchain integrated station | |
CN112200681B (zh) | 区块链网络的业务处理方法、信息处理方法及节点设备 | |
US20210329093A1 (en) | Methods and apparatuses for identifying to-be-filtered transaction based on blockchain integrated station | |
CN111108734A (zh) | 基于存储空间互换的改进的防重放设备 | |
CN110956463B (zh) | 基于可扩展分布式查询***的可信存证方法与*** | |
WO2023050966A1 (zh) | 验证区块链数据 | |
CN113238996A (zh) | 基于dht的区块链数据归档方法、电子设备及存储介质 | |
WO2021189846A1 (zh) | 物联网的通信方法、中心服务器、设备及介质 | |
CN110149221B (zh) | 一种基于联盟链的自适应网络的构建方法及装置 | |
WO2024140698A1 (zh) | 一种会话处理方法、***、装置及存储介质 | |
WO2020042929A1 (zh) | 一种区块链*** | |
KR20210087721A (ko) | 라프트 합의를 이용한 블록체인 동기화 방법 및 블록체인 시스템 | |
CN110909030A (zh) | 一种信息处理方法及服务器集群 | |
WO2021012811A1 (zh) | 一种基于公链的地址管理*** | |
EP3939236B1 (en) | Node and cluster management on distributed self-governed ecosystem | |
CN113741818A (zh) | 一种数据分离及分散存储的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20843163 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021571322 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20843163 Country of ref document: EP Kind code of ref document: A1 |