CN-118473684-B - Block link point access method, device, equipment and storage medium
Abstract
The application relates to a block link point admittance method, a device, equipment and a storage medium, relates to the technical field of block chains, and can solve the problem of lower efficiency of admittance of block link points under the condition of cooperation of a plurality of transaction systems. The blockchain link point admittance method comprises the steps of receiving a blockchain admittance request of a target node to be accessed, which is sent by a first transaction system, generating a first contract transaction, sending the first contract transaction to a pre-created KYC contract, enabling the KYC contract to create a first transaction event corresponding to the blockchain admittance request based on the first contract transaction, obtaining an admittance result generated by a blockchain network based on a first consensus result, and when the first consensus result indicates that a plurality of consensus nodes in the blockchain network agree on the basis of the first transaction event, determining the target node as the blockchain node in the blockchain network by the admittance result.
Inventors
- Mu changchun
- DI GANG
- LV YUAN
- QIAN YOUCAI
- SU LIN
- PENG YUXIANG
Assignees
- 中国人民银行数字货币研究所
Dates
- Publication Date
- 20260508
- Application Date
- 20230208
Claims (10)
- 1. The block chain link point admittance method is applied to a first consensus node in a block chain network, wherein the block chain network is used for realizing transactions among a plurality of transaction systems, each transaction system corresponds to at least one consensus node, the first consensus node is any consensus node corresponding to the first transaction system, the first transaction system is any transaction system in the plurality of transaction systems, and the node admittance method comprises the following steps: Receiving a blockchain access request of a target node to be accessed, which is sent by the first transaction system; Generating a first contract transaction and transmitting the first contract transaction to a pre-created KYC contract to cause the KYC contract to create a first transaction event corresponding to the blockchain admission request based on the first contract transaction; And when the first consensus result indicates that a plurality of consensus nodes in the blockchain network agree on the basis of the first transaction event, the admission result is used for indicating the target node to be determined as the blockchain node in the blockchain network.
- 2. The block link point admission method of claim 1, further comprising: monitoring the first transaction event; obtaining an audit result generated by a background management end in the first transaction system based on the first transaction event; Broadcasting the auditing results to the blockchain network, so that the blockchain network generates the first consensus result based on the auditing results of the plurality of consensus nodes, and generates the admittance result based on the first consensus result.
- 3. The block link point admittance method according to claim 2, wherein when a target value satisfies a preset consensus condition, said first consensus result indicates that said plurality of consensus nodes agree on said first transaction event, said target value is one of said plurality of consensus nodes, and said audit result indicates the number of audits passed.
- 4. The block link point admittance method according to claim 2, wherein said obtaining an audit result generated by a background manager in said first transaction system based on said first transaction event comprises: receiving a query request sent by the background management end; Responding to the query request, and sending the first transaction event to the background management end so that the background management end generates the auditing result; and receiving the auditing result.
- 5. The block link point admittance method according to claim 1, characterized in that said node type corresponding to said target node comprises a common node or a common node in said block chain network; After the obtaining the access result generated by the blockchain network based on the first access result, the method further comprises: When the node type is the consensus node, indicating the connection between the target node and any one of the plurality of consensus nodes; And when the node type is the common node, indicating the connection between the target node and any one of the consensus nodes corresponding to the first transaction system.
- 6. The blocklink point admission method of claim 5, wherein the blockchain admission request includes node information of the target node, the blocklink point admission method further comprising: storing node information of the target node in the KYC contract to obtain an updated KYC contract; broadcasting the updated KYC contract to the blockchain network, so that any one of the consensus nodes or common nodes in the blockchain network can acquire the node information of the target node based on the updated KYC contract.
- 7. The block link point admission method of claim 6, further comprising: the information updating request is used for updating the node information of the target node in the updated KYC contract; generating a second contract transaction and sending the second contract transaction to the updated KYC contract to cause the updated KYC contract to create a second transaction event corresponding to the information update request based on the second contract transaction; And when the second consensus result indicates that the plurality of consensus nodes reach consensus for the second transaction event, the updating result is used for indicating to update the node information of the target node in the updated KYC contract.
- 8. The block chain link point admittance device is characterized by being applied to a first consensus node in a block chain network, wherein the block chain network is used for realizing transactions among a plurality of transaction systems, each transaction system corresponds to at least one consensus node, the first consensus node is any consensus node corresponding to the first transaction system, and the first transaction system is any transaction system in the plurality of transaction systems; The communication unit is used for receiving a blockchain access request of a target node to be accessed, which is sent by the first transaction system; The processing unit is used for generating a first contract transaction and sending the first contract transaction to a pre-created KYC contract so that the KYC contract creates a first transaction event corresponding to the blockchain access request based on the first contract transaction; The processing unit is further configured to obtain an admission result generated by the blockchain network based on a first consensus result, where the admission result is used to indicate that the target node is determined to be a blockchain node in the blockchain network when the first consensus result indicates that a plurality of consensus nodes in the blockchain network agree on the basis of the first transaction event.
- 9. An electronic device, the electronic device comprising: A processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the block link point admission method of any of claims 1-7.
- 10. A computer readable storage medium having instructions stored thereon, which when executed by a processor of an electronic device, enable the electronic device to perform the block link point admission method of any of claims 1-7.
Description
Block link point access method, device, equipment and storage medium Technical Field The present application relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for admitting blockchain link points. Background In a conventional internet technology (internet technology, IT) system, a central bank can maintain knowledge of customer information (know your customer, KYC), transaction information, etc. within the environment. The admission of nodes in the system is particularly important in view of the security of data within the environment and the like. However, the universal block link point access method needs to initiate access to a plurality of bank IT systems for collaborative operation respectively so as to realize participation in collaborative operation after the access. Therefore, the general method needs to be accessed by multiple cross-system requests, and has complex steps and lower efficiency. Disclosure of Invention The application provides a block link point admittance method, a device, equipment and a storage medium, which are used for solving the problem of lower efficiency of admittance of block link points under the condition that a plurality of transaction systems cooperate. The technical scheme of the embodiment of the application is as follows: According to a first aspect of the embodiment of the application, a block link point access method is provided, the block link point access method is applied to a first consensus node in a block chain network, the block chain network is used for achieving transactions among a plurality of transaction systems, each transaction system corresponds to at least one consensus node in the plurality of transaction systems, the first consensus node is any consensus node corresponding to the first transaction system, the first transaction system is any transaction system in the plurality of transaction systems, the block link point access method comprises the steps of receiving a block chain access request of a target node to be accessed, sent by the first transaction system, of generating a first contract transaction, sending the first contract transaction to a pre-created KYC contract, enabling the KYC contract to create a first transaction event corresponding to the block chain access request based on the first contract transaction, obtaining a block chain access result generated by the block chain network based on the first consensus result, and determining the target node as the block chain node in the block chain network when the first consensus result indicates that the plurality of consensus nodes in the block chain network reach the consensus based on the first transaction event. Optionally, the block link point access method further comprises the steps of monitoring a first transaction event, obtaining an audit result generated by a background management end in the first transaction system based on the first transaction event, broadcasting the audit result to the block chain network, enabling the block chain network to generate a first consensus result based on the audit result of the plurality of consensus nodes, and generating an access result based on the first consensus result. Optionally, when the target value meets a preset consensus condition, the first consensus result indicates that the plurality of consensus nodes agree on the first transaction event, and the target value is one of the plurality of consensus nodes, and the auditing result indicates the number of audits passing. Optionally, the method for obtaining the auditing result generated by the background management end based on the first transaction event comprises the steps of receiving a query request sent by the background management end, responding to the query request, sending the first transaction event to the background management end so as to enable the auditing result generated by the background management end to be obtained, and receiving the auditing result. Optionally, the node type corresponding to the target node comprises a common node or a common node in the blockchain network, and after an admission result generated by the blockchain network based on the first common result is acquired, the blockchain node admission method further comprises the steps of indicating that the target node is connected with any one of a plurality of common nodes when the node type is the common node, and indicating that the target node is connected with any one of the common nodes corresponding to the first transaction system when the node type is the common node. Optionally, the blockchain access request comprises node information of a target node, the blockchain link point access method further comprises the steps of storing the node information of the target node in a KYC contract to obtain an updated KYC contract, and broadcasting the updated KYC contract to a blockchain network so that any one consensus node