CN111290776B - Management device and method for managing blockchain nodes - Google Patents

Management device and method for managing blockchain nodes Download PDF

Info

Publication number
CN111290776B
CN111290776B CN201811505444.5A CN201811505444A CN111290776B CN 111290776 B CN111290776 B CN 111290776B CN 201811505444 A CN201811505444 A CN 201811505444A CN 111290776 B CN111290776 B CN 111290776B
Authority
CN
China
Prior art keywords
node
information
blockchain
intelligent contract
blockchain node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811505444.5A
Other languages
Chinese (zh)
Other versions
CN111290776A (en
Inventor
张盼
何丽
王申
田心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN201811505444.5A priority Critical patent/CN111290776B/en
Publication of CN111290776A publication Critical patent/CN111290776A/en
Application granted granted Critical
Publication of CN111290776B publication Critical patent/CN111290776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention discloses a management device and a method for managing blockchain nodes, wherein the device comprises the following steps: the system comprises a receiving unit, a monitoring unit and a judging unit, wherein the receiving unit is used for receiving an intelligent contract installation request sent by a supervision party, and the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed; and the sending unit is used for sending the intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract. In the embodiment of the invention, a user can send the identification information of the blockchain node needing to be configured with the intelligent contract to the management device according to the requirement, and the management device sends the intelligent contract to the blockchain node corresponding to the identification information, so that the flexible configuration of the intelligent contract is realized.

Description

Management device and method for managing blockchain nodes
Technical Field
The present invention relates to the field of blockchain management technologies, and in particular, to a management device and method for managing blockchain nodes.
Background
In recent years, blockchain technology has been developed rapidly, and currently, blockchains can be classified into public chains, private chains and alliance chains according to different application scenarios and user requirements.
With the development of blockchain technology, attention is paid to gradually shift from public chains to alliance chains, and gradually shift from virtual currency transactions to physical economic asset value shifts. The alliance chain has higher transaction speed than the public chain, can partially decentralize, and can realize more complex authority control. The alliance chain is more suitable for applications focusing on privacy protection, transaction speed and internal supervision, such as tax, food safety, supply chain finance, insurance, copyright protection and other business fields.
In the prior art, when the intelligent contracts are set in the nodes of the blockchain, a user generally configures the intelligent contracts into the corresponding blockchain nodes manually, and after configuration, if the intelligent contracts need to be changed, the intelligent contracts need to be reconfigured, and the configuration process is low in efficiency and completely uncontrollable.
Disclosure of Invention
The embodiment of the invention provides a management device and a management method for managing blockchain nodes, which are used for solving the problem that node attributes cannot be changed in the prior art.
The embodiment of the invention provides a management device for managing blockchain nodes, which comprises:
the system comprises a receiving unit, a monitoring unit and a judging unit, wherein the receiving unit is used for receiving an intelligent contract installation request sent by a supervision party, and the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed;
And the sending unit is used for sending the intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract.
Further, the receiving unit is further configured to receive ledger information sent by each blockchain node;
the apparatus further comprises:
and the verification unit is used for judging whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if the inconsistent account book information exists, notifying the blockchain node to be verified corresponding to the inconsistent account book information to send intelligent contract version information and/or software version information.
Further, the receiving unit is further configured to receive intelligent contract version information and/or software version information sent by the blockchain node to be verified;
the verification unit is further configured to determine whether the intelligent contract version information of the blockchain node to be verified is consistent with the intelligent contract version information stored in advance if the intelligent contract version information sent by the blockchain node to be verified exists, and if not, notify the sending unit to send the intelligent contract version information stored in advance to the blockchain node to be verified, so that the blockchain node to be verified updates the intelligent contract version information stored in the blockchain node to be verified according to the intelligent contract version information; if the software version information sent by the blockchain node to be verified exists, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, informing a sending unit to send the pre-stored software version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored software version information according to the software version information.
Further, the receiving unit is further configured to receive node information sent by each blockchain node and/or information of a server where the node is located;
the verification unit is further used for judging whether the node and/or the server are normal or not according to the node information of each blockchain node and/or the information of the server where the node is located, which are sent by each blockchain node, and if not, notifying the sending unit to send an abnormal alarm.
Further, the node information comprises node state information and node log information;
the information of the server where the node is located includes: server resource occupancy information.
Further, the receiving unit is further configured to receive a node management request sent by a supervisor, where the node management request carries identification information of a node;
the apparatus further comprises:
and the control unit is used for processing the corresponding nodes according to the received node management request and the identification information of each node stored in the control unit.
Further, the node management request includes a node creation request, a node deletion request and a node query request.
Further, the receiving unit is further configured to receive an enterprise management request, where the enterprise management request includes identification information of the enterprise and identification information of a blockchain organization to which the enterprise belongs;
the apparatus further comprises:
and the management unit is used for verifying the enterprise management request according to the enterprise management request and the stored identification information of each blockchain organization, and operating the information corresponding to the blockchain organization corresponding to the enterprise after the verification is passed.
Further, the enterprise management request includes adding an enterprise request, deleting the enterprise request, and querying the enterprise request.
Further, the receiving unit is further configured to receive a user registration request, where the user registration request includes identification information of a user to be registered;
the management unit is further configured to determine whether there is identification information of the user to be registered according to the user registration request and the stored information of the registered user, and if not, store the identification information of the user to be registered in the information of the registered user, allocate a corresponding right for the user to be registered and allocate a certificate corresponding to the right.
The embodiment of the invention provides a management method for managing blockchain nodes, which comprises the following steps:
receiving an intelligent contract installation request sent by a supervisor, wherein the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed;
and sending the intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract.
The embodiment of the invention provides a management device and a method for managing blockchain nodes, wherein the device comprises the following components: the system comprises a receiving unit, a monitoring unit and a judging unit, wherein the receiving unit is used for receiving an intelligent contract installation request sent by a supervision party, and the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed; and the sending unit is used for sending the intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract.
In the embodiment of the invention, a user can send the identification information of the blockchain node needing to be configured with the intelligent contract to the management device according to the requirement, and the management device sends the intelligent contract to the blockchain node corresponding to the identification information, so that the flexible configuration of the intelligent contract is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a management apparatus for managing blockchain nodes according to embodiment 1 of the present invention;
FIG. 2 is a schematic diagram of a management apparatus for managing blockchain nodes according to embodiment 6 of the present invention;
fig. 3 is a flowchart of a management method for managing blockchain nodes according to embodiment 7 of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the attached drawings, wherein it is apparent that the embodiments described are only some, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
in recent years, blockchain technology has been rapidly developed, and blockchains can be roughly classified into public chains, private chains and alliance chains according to different application scenes and user requirements. The alliance chain has higher transaction speed than the public chain, can partially decentralize, and can realize more complex authority control. Therefore, the alliance chain is more suitable for applications focusing on privacy protection, transaction speed and internal supervision, such as tax, food safety, finance, copyright protection and other business fields.
The embodiment of the invention provides a management device for managing blockchain nodes, as shown in fig. 1, the device comprises:
a receiving unit 101, configured to receive an intelligent contract installation request sent by a supervisor, where the intelligent contract installation request includes identification information of a blockchain node of an intelligent contract to be installed;
and a sending unit 102, configured to send the smart contract to the blockchain node of the identification information, so that the blockchain node of the identification information receives and configures the smart contract.
Blockchain is considered a subverted technique primarily because intelligent contracts can be implemented on blockchain nodes and enable blockchain nodes to automatically run according to logic set in the intelligent contracts. In the prior art, when intelligent contracts are configured on the blockchain nodes, the intelligent contracts are manually configured into the corresponding blockchain nodes by a user, namely, the attribute of each blockchain node is unchangeable in the subsequent operation, and if the attribute needs to be changed, the user needs to manually configure again.
One blockchain organization corresponds to one set of blockchain nodes, another blockchain organization corresponds to another set of blockchain nodes, and one blockchain organization may contain multiple enterprises. For example, "grain" is one of the blockchain organizations that includes the following enterprises: ancient boat, wudeli, goldfish, north Dawang and the like. In order for these enterprises to commonly use blockchain nodes and to ensure safe and reliable operation of blockchain nodes, the management and supervision of trusted regulators are not separated.
The management device for managing the blockchain nodes is provided with a receiving unit and a sending unit, wherein the receiving unit is mainly used for receiving various requests generated by a supervisor, managing the blockchain nodes through various requests generated by the supervisor, and the sending unit is used for sending information to the blockchain nodes or the supervisor; the supervisor is used to manage and supervise blockchain nodes.
The management device may further include a display interface in which the supervisor inputs the corresponding request. Specifically, the receiving unit receives an intelligent contract installation request sent by a supervisor, wherein the intelligent contract installation request contains identification information of a blockchain node of an intelligent contract to be installed. In particular embodiments, each blockchain node has an identification that is unique. The transmitting unit holds in advance the smart contracts transmitted by the supervisory party. In a specific implementation process, a supervisor can specify which blockchain nodes are configured with the intelligent contract, and specifically, the supervisor can send an intelligent contract installation request to a receiving unit, wherein the intelligent contract installation request comprises identification information of the blockchain nodes to be provided with the intelligent contract, and after the receiving unit receives the intelligent contract installation request, a sending unit sends the locally pre-stored intelligent contract to the blockchain nodes with the identification information; after receiving the intelligent contract sent by the sending unit, the blockchain node of the identification information installs the intelligent contract in the blockchain node so that the blockchain node can operate according to the logic set in the intelligent contract.
In the specific implementation process, when the intelligent contract is configured, the node with authority to carry out endorsement and consensus operation is selected, so that the execution safety of the intelligent contract is ensured. Alternatively, most policies or sharding policies may be selected to prevent single or multiple malicious nodes from averting. Specifically, most strategies refer to that after most nodes in each blockchain organization are subjected to endorsement consensus, the nodes can have permission to execute intelligent contracts; the slicing strategy refers to dividing each node into groups according to a certain rule, selecting one or more nodes in each group to be identified according to a certain rule, and then carrying out unified identification party executable intelligent contract on the results obtained after the identification of each group according to the rule approved by the blockchain organization.
In the embodiment of the invention, a user can send the identification information of the blockchain node needing to be configured with the intelligent contract to the management device according to the requirement, and the management device sends the intelligent contract to the blockchain node corresponding to the identification information, so that the flexible configuration of the intelligent contract is realized.
Example 2:
in order to better monitor the blockchain nodes, on the basis of the above embodiment, in the embodiment of the present invention, the receiving unit 101 is further configured to receive ledger information sent by each blockchain node;
The apparatus further comprises:
and the verification unit 103 is configured to determine whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if there is inconsistent account book information, notify the blockchain node to be verified corresponding to the inconsistent account book information of the blockchain node to be verified of sending intelligent contract version information and/or software version information.
In order to better realize supervision on the blockchain nodes, whether each blockchain node operates normally is determined by comparing account information stored by each blockchain node. In order to determine the operation condition of each blockchain node, the management device for managing blockchain nodes according to the embodiments of the present invention may further include a verification unit.
Specifically, each block link transmits its own identification information and its own account book information to the receiving unit. The checking unit judges whether account book information of each blockchain node is consistent, if inconsistent account book information exists, the checking unit takes the blockchain node corresponding to the account book information as the blockchain node to be checked, and the checking unit informs the blockchain node to be checked of intelligent contract information and/or software version information. Specifically, if the account book information of a certain blockchain node is inconsistent with the account book information of other blockchain nodes, the situation that the configuration information of the blockchain node is inconsistent with the configuration information of other blockchain nodes may exist, wherein the configuration information may be intelligent contract version information or software version information. In the implementation process, when the checking unit determines that account book information of a certain blockchain node is inconsistent with account book information of other blockchain nodes, specifically, the account book height of the certain blockchain node is inconsistent with the account book height of other blockchain nodes, the checking unit can take the blockchain node as the blockchain node to be checked and send notification information to the blockchain node to be checked, wherein the notification information is used for notifying that the blockchain node to be checked needs to send intelligent contract version information and/or software version information stored by the blockchain node to be checked to the receiving unit.
Therefore, in the embodiment of the present invention, the receiving unit 101 is further configured to receive intelligent contract version information and/or software version information sent by a blockchain node to be verified;
the verification unit 103 is further configured to determine whether the intelligent contract version information of the blockchain node to be verified is consistent with the pre-stored intelligent contract version information if the intelligent contract version information sent by the blockchain node to be verified exists, and if not, notify the sending unit to send the pre-stored intelligent contract version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored intelligent contract version information according to the intelligent contract version information; if the software version information sent by the blockchain node to be verified exists, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, informing a sending unit to send the pre-stored software version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored software version information according to the software version information.
When there is a blockchain node for which ledger information is inconsistent with ledger information of other blockchain nodes, it may be caused by the intelligent contract installed in the blockchain node not being updated or by the software used in the blockchain node not being updated. Preferably, before starting or configuring each block link point, the supervisor will send the intelligent contract and software information to the sending unit, and the sending unit receives and stores the version information of the intelligent contract and software sent by the supervisor. Therefore, when the checking unit determines that the blockchain node to be checked exists, the checking unit can send a notification to the blockchain node to be checked, and when the blockchain node receives the notification, the receiving unit sends the intelligent contract version information and/or the software version information locally stored in the blockchain node to be checked, and receives the intelligent contract version information and/or the software version information sent by the blockchain node to be checked.
When receiving the intelligent contract version information sent by the blockchain node to be checked, judging whether the intelligent contract version information of the blockchain node to be checked is consistent with the pre-stored intelligent contract version information, if not, the checking unit informs the sending unit to send the pre-stored intelligent contract version information to the blockchain node to be checked, and after the blockchain node to be checked receives the intelligent contract version information, updating the intelligent contract version information stored by the blockchain node to be checked according to the intelligent contract version information. When receiving the software version information sent by the blockchain node to be verified, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, the verification unit informs the sending unit to send the pre-stored software version information to the blockchain node to be verified, and after receiving the software version information, the blockchain node to be verified updates the software version information stored by the blockchain node to be verified according to the software version information.
Example 3:
in order to better implement supervision on the blockchain nodes, in the embodiments of the present invention, the receiving unit 101 is further configured to receive node information sent by each blockchain node and/or information of a server where the node is located;
the verification unit 103 is further configured to determine, according to the node information sent by each blockchain node and/or the information of the server where the node is located, whether the node and/or the server are normal, and if not, notify the sending unit to send an abnormal alarm.
In the running process of the block chain link points, in order to better monitor the block chain nodes, in the embodiment of the invention, the management device for managing the block chain nodes can monitor the node running state of each block chain node or the information of the server where each block chain point is located.
Specifically, each blockchain node sends node information of the blockchain node and/or information of a server where the node is located to a receiving unit, the receiving unit receives the node information sent by each blockchain node and/or information of the server where the node is located, and a checking unit judges whether the node and/or the server are normal or not according to the node information of each blockchain node and/or the information of the server where the node is located.
Specifically, if the node information is abnormal, determining that the blockchain node is abnormal, and notifying a sending unit to send an abnormal alarm, wherein the node information can be the running state of the node, for example, the node is in the running state or in the pause state; if the information of the server where the node is located is abnormal, determining that the server where the node is located is abnormal, and notifying the sending unit to send an abnormal alarm, wherein the information of the server where the node is located can be the resource occupancy rate in the server, when the resource occupancy rate of the server exceeds a preset threshold, determining that the server is abnormal, for example, the resource occupancy rate of the server is 90% and exceeds the preset threshold 70%, and determining that the server is abnormal. In the specific implementation process, an abnormal alarm can be sent to the supervisor, specifically, the supervisor is informed of the abnormality by means of early warning mail or short message notification, so that the supervisor is informed of the abnormality of the block link point, and the supervisor performs subsequent operations, such as restarting operations, according to the abnormal alarm.
In the implementation process, the blockchain node may send the node information of the blockchain node or the information of the server where the node is located to the receiving unit in real time or at a fixed time.
In the embodiment of the invention, the node information comprises node state information and node log information;
the information of the server where the node is located includes: server resource occupancy information.
The node information includes node state information and node log information, wherein the node state information refers to an operation state of a node, for example, the node is in an operation state or a suspension state; the information of the server where the node is located includes server resource occupancy information. The specific operation condition of the node is recorded in the node log information, wherein the specific operation condition comprises a normal operation condition and an abnormal operation condition, so that whether the node is abnormal or not can be determined according to the node log information.
Example 4:
in order to better implement supervision on blockchain nodes, in the embodiments of the present invention, the receiving unit 101 is further configured to receive a node management request sent by a supervision party, where the node management request carries identification information of a node;
the apparatus further comprises:
and the control unit 104 is configured to process the corresponding node according to the received node management request and the identification information of each node stored in the control unit.
In order to realize the management of the blockchain node, the supervisor can realize the functions of creating the blockchain node, deleting the blockchain node or inquiring the blockchain node, and therefore, the management device for managing the blockchain node further comprises a control unit. Specifically, when the supervisor needs to manage the blockchain node, the supervisor may send a node management request, and the receiving unit receives the node management request sent by the supervisor, where the node management request carries identification information of the node, where the identification information is unique, for example, the identification information may be address information of the node, or may be information that uniquely identifies the node such as a number of the node. Because the corresponding relation between each blockchain node and the identification information of the node is saved when the blockchain node is created. Therefore, the control unit performs corresponding processing on the blockchain node corresponding to the identification information of each node according to the received node management request and the pre-stored identification information of the node.
Thus, in an embodiment of the present invention, the node management request includes a node creation request, a node deletion request, and a node query request.
Specifically, when the node management request is a node creation request, a blockchain node is created, specifically, an IP network segment to which the blockchain node belongs and a domain name corresponding to the IP network segment may be created, the blockchain node is created in the server, and after the blockchain node is created, information of the blockchain node may be recorded in the control unit, for example, identification information of a blockchain organization to which the blockchain node belongs, identification information of the blockchain node, and the like; deleting the block chain node of the identification information when the node management request is a node deletion request; when the node management request is a node query request, the control unit queries various information of the blockchain node of the identification information, such as information of an operation state of the node.
Optionally, the node types can be divided into an accounting node, a consensus node and a supervision node, wherein the node issues a node certificate for identifying the identity to the node after verifying the identity of the node by generating an admission request to a trusted organization. Wherein, the accounting node records the complete account book data of the blockchain system; the consensus node ensures that the blockchain system achieves the whole network consensus according to a certain rule, and ensures the consistency and the effectiveness of the transaction; the supervising node can supervise all data in the nodes in the blockchain organization, and ensure the supervising requirement of the blockchain organization on the nodes in the organization.
Example 5:
in order to better implement the supervision on the blockchain node, in the embodiments of the present invention, the receiving unit 101 is further configured to receive an enterprise management request, where the enterprise management request includes identification information of the enterprise and identification information of a blockchain organization to which the enterprise belongs;
the apparatus further comprises:
and the management unit 105 is configured to verify the enterprise management request according to the enterprise management request and the stored identification information of each blockchain organization, and operate information corresponding to the blockchain organization corresponding to the enterprise after the verification is passed.
In order to achieve management of blockchain organizations, a supervisor may achieve a function of managing an enterprise joining blockchain nodes, and thus the management apparatus for managing blockchain nodes further includes a management unit. Specifically, when the supervisor needs to manage the enterprise, the supervisor may send an enterprise management request, and the receiving unit receives the enterprise management request sent by the supervisor, where the enterprise management request carries identification information of the enterprise and carries identification information of a blockchain organization to which the enterprise belongs, where the identification information of the enterprise is unique, for example, the identification information of the enterprise may be information that uniquely identifies the enterprise, such as a serial number of the enterprise; the identification information of the blockchain organization to which the enterprise belongs may be information that uniquely identifies the blockchain organization, such as a serial number of the blockchain organization.
Because the corresponding relationship between each blockchain organization and the corresponding enterprise is preserved when the corresponding enterprise in the blockchain organization is created. Therefore, the management unit verifies the enterprise management request according to the received enterprise management request and the prestored identification information of each blockchain organization, and when the verification is passed, the management unit operates the information corresponding to the blockchain organization corresponding to the enterprise. And carrying out corresponding processing on the blockchain node corresponding to the identification information of the node. The specific verification process is to verify by comparing the identification information of the blockchain organizations carried in the enterprise management request with the stored identification information of each blockchain organization.
Thus, in an embodiment of the present invention, the enterprise management request includes an add enterprise request, a delete enterprise request, and a query enterprise request.
Specifically, when the enterprise management request is an add enterprise request, the management unit adds the enterprise to the blockchain organization; when the enterprise management request is an enterprise deletion request, the management unit performs deletion operation on the enterprise corresponding to the identification information of the enterprise in the corresponding blockchain organization; when the enterprise management request is a query enterprise request, the management unit queries information of the enterprise for the identification information.
In implementations, different blockchain organizations create different nodes, and enterprises within a blockchain organization may share blockchain nodes within the organization, so that multiple blockchain points in a blockchain organization correspond to one chain, e.g., there are 5 blockchain organizations, and there are 5 chains. The different chains should be completely isolated to ensure data isolation between different applications and services, meet the requirement of privacy protection of users, and support writing the data which need to be isolated into different chains. Optionally, data privacy protection based on cryptography can be provided for sensitive data, so that the security of the data is ensured and the requirements of various privacy protection are met. Meanwhile, the management system has authority to dynamically add the block chain organization and organization members which are newly added in the established chain, so that dynamic allocation is realized.
Example 6:
in order to better implement supervision on blockchain nodes, in the above embodiments, the receiving unit 101 is further configured to receive a user registration request, where the user registration request includes identification information of a user to be registered;
the management unit 105 is further configured to determine whether there is identification information of the user to be registered according to the user registration request and the stored information of the registered user, and if not, store the identification information of the user to be registered in the information of the registered user, allocate a corresponding right for the user to be registered and allocate a certificate corresponding to the right.
There are also multiple users in each registered enterprise that can be employees in the enterprise, so that each user has different rights in the blockchain node. For example, some users may only query the data in the blockchain node, some users may write data in the blockchain node, and some users may query the data in the blockchain node, may write data, etc. Therefore, when registering a user, the rights corresponding to the user should also be allocated.
Specifically, when a new user wants to access data in a blockchain node or write data in the blockchain node, the new user first needs to register in the management device, and after the registration is completed, the user can perform corresponding operation according to the corresponding authority.
Specifically, the receiving unit receives a user registration request sent by a supervisor, where the user registration request includes identification information of a user to be registered, where the identification information of the user to be registered is unique, for example, the identification information of the user to be registered may be information that uniquely identifies the user, such as an identification card number of the user. The management unit judges whether the identification information of the user to be registered exists in the information of the user according to the identification information of the user to be registered in the user registration request and the pre-stored information of the user which is already registered, if not, the identification information of the user to be registered is stored in the information of the user which is already registered, and corresponding permission and corresponding certificates are allocated to the user to be registered, wherein the certificates can comprise a signature certificate and an encryption certificate, and the signature certificate is used for identifying the identity of the user so as to access a blockchain network; the encryption certificate is used for data privacy protection of the user. In particular implementations, the user's rights include administrator rights, guest rights, and specific rights, such as rights that can only apply for certificates. In the specific implementation process, the supervisor can input the authority corresponding to the user to be registered to the management unit; the user may apply for an attribute certificate through which the corresponding rights are assigned to the user.
In the specific implementation process, the supervisor can also send a user logout request or a user update information request to the receiving unit; when the request is a user logout request, the receiving unit also receives identification information of a user sent by a monitoring party, and the management unit completes logout operation of the user according to the user logout request and the identification information of the user; when the request is a user update information request, the receiving unit also receives the identification information of the user and the user information to be updated sent by the monitoring party, and the management unit completes the update operation of the user information of the user according to the user update information request and the user information to be updated.
For example, fig. 2 is a schematic diagram of a management device for managing blockchain nodes according to an embodiment of the present invention, where the management device is divided according to functions that can be implemented, including organization management, node management, multi-chain management, intelligent contract management, early warning management, and data analysis, and the specific processes include:
the block chain organization obtains a trusted organization certificate through a trusted third party CA application, and the verification certificate chain can be accessed to the block chain node only after being safe. Specifically, the blockchain organization may be accessed through a unique third party CA that is trusted, or through a different third party CA that is trusted by the management device. The third party CA can issue a national secret certificate so as to meet the requirements of domestic policies and simultaneously ensure the security requirements of autonomous security controllable blockchain nodes. The receiving unit processes the corresponding nodes according to the received node management request and the identification information of each node stored by the control unit, and specifically, the operations of creating the nodes, deleting the nodes or inquiring the nodes and the like can be realized, so that the management of the nodes is realized.
The receiving unit receives an enterprise management request sent by a supervisor, and the management unit verifies the enterprise management request according to the enterprise management request and the stored identification information of each blockchain organization, and operates the information corresponding to the blockchain organization corresponding to the enterprise after the verification is passed, so that the operations of adding the enterprise, deleting the enterprise or inquiring the enterprise and the like can be realized, and the management of the enterprise is realized. After the initialization of the blockchain system, each organization node is started to operate, one or more chains are created after the operation is normal, and the blockchain organization and nodes required by each chain are selected to be added into the appointed chain, so that the function of multi-chain management is realized.
The receiving unit receives an intelligent contract installation request sent by a supervision party, and the sending unit sends an intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract to realize the management of the intelligent contract. The receiving unit also receives node information sent by each block chain node and information of a server where the node is located; the verification unit judges whether the node or the server is normal according to the node information of each blockchain node or the information of the server where the node is located, and if not, the notification sending unit sends an abnormal alarm, so that the function of early warning management of the blockchain node is realized.
The receiving unit can also receive account information sent by each blockchain node; the checking unit judges whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if the inconsistent account book information exists, the checking unit informs the blockchain node to be checked of the intelligent contract version information and/or the software version information to be sent by the blockchain link node to be checked according to the blockchain node to be checked corresponding to the inconsistent account book information so as to realize the function of data analysis of the blockchain nodes.
In summary, the embodiments of the present invention provide a management apparatus for managing blockchain nodes, where the management apparatus may implement supervision on blockchain nodes, blockchain organizations, enterprises, and the like; through the supervision of the trusted supervision party, the blockchain system is suitable for various business fields such as tax, food safety, supply chain finance, copyright, insurance, logistics and the like, and provides safe, trusted and supervision blockchain management service.
Example 7:
fig. 3 is a flowchart of a management method for managing blockchain nodes according to an embodiment of the present invention, where the process includes the following steps:
s301: and receiving an intelligent contract installation request sent by a supervisor, wherein the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed.
Blockchain is considered a subverted technique primarily because intelligent contracts can be implemented on blockchain nodes and enable blockchain nodes to automatically run according to logic set in the intelligent contracts. In the prior art, when intelligent contracts are configured on the blockchain nodes, the intelligent contracts are manually configured into the corresponding blockchain nodes by a user, namely, the attribute of each blockchain node is unchangeable in the subsequent operation, and if the attribute needs to be changed, the user needs to manually configure again.
One blockchain organization corresponds to one set of blockchain nodes, another blockchain organization corresponds to another set of blockchain nodes, and one blockchain organization may contain multiple enterprises. For example, "grain" is one of the blockchain organizations that includes the following enterprises: ancient boat, wudeli, goldfish, north Dawang and the like. In order for these enterprises to commonly use blockchain nodes and to ensure safe and reliable operation of blockchain nodes, the management and supervision of trusted regulators are not separated.
The management device for managing the blockchain nodes is provided with a receiving unit and a sending unit, wherein the receiving unit is mainly used for receiving various requests generated by a supervisor, managing the blockchain nodes through various requests generated by the supervisor, and the sending unit is used for sending information to the blockchain nodes or the supervisor; the supervisor is used to manage and supervise blockchain nodes.
The management device may further include a display interface in which the supervisor inputs the corresponding request. Specifically, the receiving unit receives an intelligent contract installation request sent by a supervisor, wherein the intelligent contract installation request contains identification information of a blockchain node of an intelligent contract to be installed. In particular embodiments, each blockchain node has an identification that is unique.
S302: and sending the intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract.
The transmitting unit holds in advance the smart contracts transmitted by the supervisory party. In a specific implementation process, a supervisor can specify which blockchain nodes are configured with the intelligent contract, and specifically, the supervisor can send an intelligent contract installation request to a receiving unit, wherein the intelligent contract installation request comprises identification information of the blockchain nodes to be provided with the intelligent contract, and after the receiving unit receives the intelligent contract installation request, a sending unit sends the locally pre-stored intelligent contract to the blockchain nodes with the identification information; after receiving the intelligent contract sent by the sending unit, the blockchain node of the identification information installs the intelligent contract in the blockchain node so that the blockchain node can operate according to the logic set in the intelligent contract.
In the specific implementation process, when the intelligent contract is configured, the node with authority to carry out endorsement and consensus operation is selected, so that the execution safety of the intelligent contract is ensured. Alternatively, most policies or sharding policies may be selected to prevent single or multiple malicious nodes from averting. Specifically, most strategies refer to that after most nodes in each blockchain organization are subjected to endorsement consensus, the nodes can have permission to execute intelligent contracts; the slicing strategy refers to dividing each node into groups according to a certain rule, selecting one or more nodes in each group to be identified according to a certain rule, and then carrying out unified identification party executable intelligent contract on the results obtained after the identification of each group according to the rule approved by the blockchain organization.
The method further comprises the steps of:
receiving account book information sent by each blockchain node;
and judging whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if the account book information is inconsistent, notifying the blockchain nodes to be checked corresponding to the inconsistent account book information of the blockchain nodes to be checked to send intelligent contract version information and/or software version information.
In order to better realize supervision on the blockchain nodes, whether each blockchain node operates normally is determined by comparing account information stored by each blockchain node. In order to determine the operation condition of each blockchain node, the management device for managing blockchain nodes according to the embodiments of the present invention may further include a verification unit.
Specifically, each block link transmits its own identification information and its own account book information to the receiving unit. The checking unit judges whether account book information of each blockchain node is consistent, if inconsistent account book information exists, the checking unit takes the blockchain node corresponding to the account book information as the blockchain node to be checked, and the checking unit informs the blockchain node to be checked of intelligent contract information and/or software version information. Specifically, if the account book information of a certain blockchain node is inconsistent with the account book information of other blockchain nodes, the situation that the configuration information of the blockchain node is inconsistent with the configuration information of other blockchain nodes may exist, wherein the configuration information may be intelligent contract version information or software version information. In the implementation process, when the checking unit determines that account book information of a certain blockchain node is inconsistent with account book information of other blockchain nodes, specifically, the account book height of the certain blockchain node is inconsistent with the account book height of other blockchain nodes, the checking unit can take the blockchain node as the blockchain node to be checked and send notification information to the blockchain node to be checked, wherein the notification information is used for notifying that the blockchain node to be checked needs to send intelligent contract version information and/or software version information stored by the blockchain node to be checked to the receiving unit.
After notifying the block chain node to be verified corresponding to the inconsistent account information to send the intelligent contract version information and/or the software version information, the method further comprises:
receiving intelligent contract version information and/or software version information sent by a blockchain node to be verified;
if the intelligent contract version information sent by the blockchain node to be verified exists, judging whether the intelligent contract version information of the blockchain node to be verified is consistent with the intelligent contract version information stored in advance, if not, informing a sending unit to send the intelligent contract version information stored in advance to the blockchain node to be verified so that the blockchain node to be verified updates the intelligent contract version information stored in the blockchain node to be verified according to the intelligent contract version information; if the software version information sent by the blockchain node to be verified exists, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, informing a sending unit to send the pre-stored software version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored software version information according to the software version information.
When there is a blockchain node for which ledger information is inconsistent with ledger information of other blockchain nodes, it may be caused by the intelligent contract installed in the blockchain node not being updated or by the software used in the blockchain node not being updated. Preferably, before starting or configuring each block link point, the supervisor will send the intelligent contract and software information to the sending unit, and the sending unit receives and stores the version information of the intelligent contract and software sent by the supervisor. Therefore, when the checking unit determines that the blockchain node to be checked exists, the checking unit can send a notification to the blockchain node to be checked, and when the blockchain node receives the notification, the receiving unit sends the intelligent contract version information and/or the software version information locally stored in the blockchain node to be checked, and receives the intelligent contract version information and/or the software version information sent by the blockchain node to be checked.
When receiving the intelligent contract version information sent by the blockchain node to be checked, judging whether the intelligent contract version information of the blockchain node to be checked is consistent with the pre-stored intelligent contract version information, if not, the checking unit informs the sending unit to send the pre-stored intelligent contract version information to the blockchain node to be checked, and after the blockchain node to be checked receives the intelligent contract version information, updating the intelligent contract version information stored by the blockchain node to be checked according to the intelligent contract version information. When receiving the software version information sent by the blockchain node to be verified, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, the verification unit informs the sending unit to send the pre-stored software version information to the blockchain node to be verified, and after receiving the software version information, the blockchain node to be verified updates the software version information stored by the blockchain node to be verified according to the software version information.
The method further comprises the steps of:
judging whether the node and/or the server are normal or not according to the node information of each blockchain node and/or the information of the server where the node is located, and if not, informing the sending unit of sending an abnormal alarm.
In the running process of the block chain link points, in order to better monitor the block chain nodes, in the embodiment of the invention, the management device for managing the block chain nodes can monitor the node running state of each block chain node or the information of the server where each block chain point is located.
Specifically, each blockchain node sends node information of the blockchain node and/or information of a server where the node is located to a receiving unit, the receiving unit receives the node information sent by each blockchain node and/or information of the server where the node is located, and a checking unit judges whether the node and/or the server are normal or not according to the node information of each blockchain node and/or the information of the server where the node is located.
Specifically, if the node information is abnormal, determining that the blockchain node is abnormal, and notifying a sending unit to send an abnormal alarm, wherein the node information can be the running state of the node, for example, the node is in the running state or in the pause state; if the information of the server where the node is located is abnormal, determining that the server where the node is located is abnormal, and notifying the sending unit to send an abnormal alarm, wherein the information of the server where the node is located can be the resource occupancy rate in the server, when the resource occupancy rate of the server exceeds a preset threshold, determining that the server is abnormal, for example, the resource occupancy rate of the server is 90% and exceeds the preset threshold 70%, and determining that the server is abnormal. In the specific implementation process, an abnormal alarm can be sent to the supervisor, specifically, the supervisor is informed of the abnormality by means of early warning mail or short message notification, so that the supervisor is informed of the abnormality of the block link point, and the supervisor performs subsequent operations, such as restarting operations, according to the abnormal alarm.
In the implementation process, the blockchain node may send the node information of the blockchain node or the information of the server where the node is located to the receiving unit in real time or at a fixed time.
In the embodiment of the invention, the node information comprises node state information and node log information;
the information of the server where the node is located includes: server resource occupancy information.
The node information includes node state information and node log information, wherein the node state information refers to an operation state of a node, for example, the node is in an operation state or a suspension state; the information of the server where the node is located includes server resource occupancy information. The specific operation condition of the node is recorded in the node log information, wherein the specific operation condition comprises a normal operation condition and an abnormal operation condition, so that whether the node is abnormal or not can be determined according to the node log information.
The method further comprises the steps of:
receiving a node management request sent by a supervisor, wherein the node management request carries identification information of a node;
and processing the corresponding nodes according to the received node management request and the identification information of each node stored by the node management request.
In order to realize the management of the blockchain node, the supervisor can realize the functions of creating the blockchain node, deleting the blockchain node or inquiring the blockchain node, and therefore, the management device for managing the blockchain node further comprises a control unit. Specifically, when the supervisor needs to manage the blockchain node, the supervisor may send a node management request, and the receiving unit receives the node management request sent by the supervisor, where the node management request carries identification information of the node, where the identification information is unique, for example, the identification information may be address information of the node, or may be information that uniquely identifies the node such as a number of the node. Because the corresponding relation between each blockchain node and the identification information of the node is saved when the blockchain node is created. Therefore, the control unit performs corresponding processing on the blockchain node corresponding to the identification information of each node according to the received node management request and the pre-stored identification information of the node.
Thus, in an embodiment of the present invention, the node management request includes a node creation request, a node deletion request, and a node query request.
Specifically, when the node management request is a node creation request, a blockchain node is created, specifically, an IP network segment to which the blockchain node belongs and a domain name corresponding to the IP network segment may be created, the blockchain node is created in the server, and after the blockchain node is created, information of the blockchain node may be recorded in the control unit, for example, identification information of a blockchain organization to which the blockchain node belongs, identification information of the blockchain node, and the like; deleting the block chain node of the identification information when the node management request is a node deletion request; when the node management request is a node query request, the control unit queries various information of the blockchain node of the identification information, such as information of an operation state of the node.
Optionally, the node types can be divided into an accounting node, a consensus node and a supervision node, wherein the node issues a node certificate for identifying the identity to the node after verifying the identity of the node by generating an admission request to a trusted organization. Wherein, the accounting node records the complete account book data of the blockchain system; the consensus node ensures that the blockchain system achieves the whole network consensus according to a certain rule, and ensures the consistency and the effectiveness of the transaction; the supervising node can supervise all data in the nodes in the blockchain organization, and ensure the supervising requirement of the blockchain organization on the nodes in the organization.
The method further comprises the steps of:
receiving an enterprise management request, wherein the enterprise management request comprises identification information of an enterprise and identification information of a blockchain organization to which the enterprise belongs;
and verifying the enterprise management request according to the enterprise management request and the stored identification information of each blockchain organization, and operating the information corresponding to the blockchain organization corresponding to the enterprise after the verification is passed.
In order to achieve management of blockchain organizations, a supervisor may achieve a function of managing an enterprise joining blockchain nodes, and thus the management apparatus for managing blockchain nodes further includes a management unit. Specifically, when the supervisor needs to manage the enterprise, the supervisor may send an enterprise management request, and the receiving unit receives the enterprise management request sent by the supervisor, where the enterprise management request carries identification information of the enterprise and carries identification information of a blockchain organization to which the enterprise belongs, where the identification information of the enterprise is unique, for example, the identification information of the enterprise may be information that uniquely identifies the enterprise, such as a serial number of the enterprise; the identification information of the blockchain organization to which the enterprise belongs may be information that uniquely identifies the blockchain organization, such as a serial number of the blockchain organization.
Because the corresponding relationship between each blockchain organization and the corresponding enterprise is preserved when the corresponding enterprise in the blockchain organization is created. Therefore, the management unit verifies the enterprise management request according to the received enterprise management request and the prestored identification information of each blockchain organization, and when the verification is passed, the management unit operates the information corresponding to the blockchain organization corresponding to the enterprise. And carrying out corresponding processing on the blockchain node corresponding to the identification information of the node. The specific verification process is to verify by comparing the identification information of the blockchain organizations carried in the enterprise management request with the stored identification information of each blockchain organization.
Thus, in the embodiment of the present invention, the enterprise management request includes adding an enterprise request, deleting an enterprise request, and querying an enterprise request.
Specifically, when the enterprise management request is an add enterprise request, the management unit adds the enterprise to the blockchain organization; when the enterprise management request is an enterprise deletion request, the management unit performs deletion operation on the enterprise corresponding to the identification information of the enterprise in the corresponding blockchain organization; when the enterprise management request is a query enterprise request, the management unit queries information of the enterprise for the identification information.
In implementations, different blockchain organizations create different nodes, and enterprises within a blockchain organization may share blockchain nodes within the organization, so that multiple blockchain points in a blockchain organization correspond to one chain, e.g., there are 5 blockchain organizations, and there are 5 chains. The different chains should be completely isolated to ensure data isolation between different applications and services, meet the requirement of privacy protection of users, and support writing the data which need to be isolated into different chains. Optionally, data privacy protection based on cryptography can be provided for sensitive data, so that the security of the data is ensured and the requirements of various privacy protection are met. Meanwhile, the management system has authority to dynamically add the block chain organization and organization members which are newly added in the established chain, so that dynamic allocation is realized.
The method further comprises the steps of:
receiving a user registration request, wherein the user registration request comprises identification information of a user to be registered;
judging whether the identification information of the user to be registered exists or not according to the user registration request and the stored information of the registered user, if not, storing the identification information of the user to be registered in the information of the registered user, distributing corresponding permission for the user to be registered and distributing a certificate corresponding to the permission.
There are also multiple users in each registered enterprise that can be employees in the enterprise, so that each user has different rights in the blockchain node. For example, some users may only query the data in the blockchain node, some users may write data in the blockchain node, and some users may query the data in the blockchain node, may write data, etc. Therefore, when registering a user, the rights corresponding to the user should also be allocated.
Specifically, when a new user wants to access data in a blockchain node or write data in the blockchain node, the new user first needs to register in the management device, and after the registration is completed, the user can perform corresponding operation according to the corresponding authority.
Specifically, the receiving unit receives a user registration request sent by a supervisor, where the user registration request includes identification information of a user to be registered, where the identification information of the user to be registered is unique, for example, the identification information of the user to be registered may be information that uniquely identifies the user, such as an identification card number of the user. The management unit judges whether the identification information of the user to be registered exists in the information of the user according to the identification information of the user to be registered in the user registration request and the pre-stored information of the user which is already registered, if not, the identification information of the user to be registered is stored in the information of the user which is already registered, and corresponding permission and corresponding certificates are allocated to the user to be registered, wherein the certificates can comprise a signature certificate and an encryption certificate, and the signature certificate is used for identifying the identity of the user so as to access a blockchain network; the encryption certificate is used for data privacy protection of the user. In particular implementations, the user's rights include administrator rights, guest rights, and specific rights, such as rights that can only apply for certificates. In the specific implementation process, the supervisor can input the authority corresponding to the user to be registered to the management unit; the user may apply for an attribute certificate through which the corresponding rights are assigned to the user.
In the specific implementation process, the supervisor can also send a user logout request or a user update information request to the receiving unit; when the request is a user logout request, the receiving unit also receives identification information of a user sent by a monitoring party, and the management unit completes logout operation of the user according to the user logout request and the identification information of the user; when the request is a user update information request, the receiving unit also receives the identification information of the user and the user information to be updated sent by the monitoring party, and the management unit completes the update operation of the user information of the user according to the user update information request and the user information to be updated.
In the embodiment of the invention, a user can send the identification information of the blockchain node needing to be configured with the intelligent contract to the management device according to the requirement, and the management device sends the intelligent contract to the blockchain node corresponding to the identification information, so that the flexible configuration of the intelligent contract is realized.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. A management apparatus for managing blockchain nodes, the apparatus comprising:
the system comprises a receiving unit, a monitoring unit and a judging unit, wherein the receiving unit is used for receiving an intelligent contract installation request sent by a supervision party, and the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed;
a transmitting unit, configured to transmit an intelligent contract to the blockchain node of the identification information, so that the blockchain node of the identification information receives and installs the intelligent contract;
the receiving unit is further used for receiving account information sent by each blockchain node;
the apparatus further comprises:
the checking unit is used for judging whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if the account book information is inconsistent, notifying the blockchain node to be checked corresponding to the inconsistent account book information to send intelligent contract version information and/or software version information;
The receiving unit is further used for receiving intelligent contract version information and/or software version information sent by the blockchain node to be verified;
the verification unit is further configured to determine whether the intelligent contract version information of the blockchain node to be verified is consistent with the intelligent contract version information stored in advance if the intelligent contract version information sent by the blockchain node to be verified exists, and if not, notify the sending unit to send the intelligent contract version information stored in advance to the blockchain node to be verified, so that the blockchain node to be verified updates the intelligent contract version information stored in the blockchain node to be verified according to the intelligent contract version information; if the software version information sent by the blockchain node to be verified exists, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, informing a sending unit to send the pre-stored software version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored software version information according to the software version information.
2. The apparatus of claim 1, wherein the receiving unit is further configured to receive node information sent by each blockchain node and/or information of a server where the node is located;
The verification unit is further used for judging whether the node and/or the server are normal or not according to the node information of each blockchain node and/or the information of the server where the node is located, which are sent by each blockchain node, and if not, notifying the sending unit to send an abnormal alarm.
3. The apparatus of claim 2, wherein the node information comprises node state information, node log information;
the information of the server where the node is located includes: server resource occupancy information.
4. The apparatus of claim 1, wherein the receiving unit is further configured to receive a node management request sent by a supervisor, where the node management request carries identification information of a node;
the apparatus may further comprise a device for controlling the operation of the apparatus,
and the control unit is used for processing the corresponding nodes according to the received node management request and the identification information of each node stored in the control unit.
5. The apparatus of claim 4, wherein the node management request comprises a node creation request, a node deletion request, and a node query request.
6. The apparatus of claim 1, wherein the receiving unit is further configured to receive an enterprise management request, where the enterprise management request includes identification information of the enterprise and identification information of a blockchain organization to which the enterprise belongs;
The apparatus further comprises:
and the management unit is used for verifying the enterprise management request according to the enterprise management request and the stored identification information of each blockchain organization, and operating the information corresponding to the blockchain organization corresponding to the enterprise after the verification is passed.
7. The apparatus of claim 6, wherein the enterprise management request comprises, add enterprise request, delete enterprise request, query enterprise request.
8. The apparatus of claim 1, wherein the receiving unit is further configured to receive a user registration request, wherein the user registration request includes identification information of a user to be registered;
the management unit is used for judging whether the identification information of the user to be registered exists or not according to the user registration request and the stored information of the registered user, if not, the identification information of the user to be registered is stored in the information of the registered user, corresponding permission is allocated to the user to be registered, and a certificate corresponding to the permission is allocated.
9. A management method for managing blockchain nodes, the method comprising:
receiving an intelligent contract installation request sent by a supervisor, wherein the intelligent contract installation request comprises identification information of a blockchain node of an intelligent contract to be installed;
Transmitting an intelligent contract to the blockchain node of the identification information so that the blockchain node of the identification information receives and installs the intelligent contract;
the method further comprises the steps of:
receiving account book information sent by each blockchain node;
judging whether the account book information of each blockchain node is consistent according to the account book information sent by each blockchain node, and if the account book information is inconsistent, notifying the blockchain nodes to be checked corresponding to the inconsistent account book information of the blockchain nodes to be checked of intelligent contract version information and/or software version information;
after notifying the block chain node to be verified corresponding to the inconsistent account information to send the intelligent contract version information and/or the software version information, the method further comprises:
receiving intelligent contract version information and/or software version information sent by a blockchain node to be verified;
if the intelligent contract version information sent by the blockchain node to be verified exists, judging whether the intelligent contract version information of the blockchain node to be verified is consistent with the intelligent contract version information stored in advance, if not, informing a sending unit to send the intelligent contract version information stored in advance to the blockchain node to be verified so that the blockchain node to be verified updates the intelligent contract version information stored in the blockchain node to be verified according to the intelligent contract version information; if the software version information sent by the blockchain node to be verified exists, judging whether the software version information of the blockchain node to be verified is consistent with the pre-stored software version information, if not, informing a sending unit to send the pre-stored software version information to the blockchain node to be verified, so that the blockchain node to be verified updates the self-stored software version information according to the software version information.
CN201811505444.5A 2018-12-10 2018-12-10 Management device and method for managing blockchain nodes Active CN111290776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811505444.5A CN111290776B (en) 2018-12-10 2018-12-10 Management device and method for managing blockchain nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811505444.5A CN111290776B (en) 2018-12-10 2018-12-10 Management device and method for managing blockchain nodes

Publications (2)

Publication Number Publication Date
CN111290776A CN111290776A (en) 2020-06-16
CN111290776B true CN111290776B (en) 2023-05-16

Family

ID=71029808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811505444.5A Active CN111290776B (en) 2018-12-10 2018-12-10 Management device and method for managing blockchain nodes

Country Status (1)

Country Link
CN (1) CN111290776B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824674B (en) * 2020-06-19 2023-06-30 株式会社理光 Alliance chained data structure network management method, management node and medium
CN113872923B (en) * 2020-06-30 2023-06-06 成都质数斯达克科技有限公司 Transaction method, updating method, device, equipment and storage medium based on blockchain system
CN112712371A (en) * 2020-12-30 2021-04-27 东软集团股份有限公司 Federation chain system and method for same

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302632A (en) * 2016-07-21 2017-01-04 华为技术有限公司 The method for down loading of a kind of foundation image and management node
CN106528262A (en) * 2015-09-10 2017-03-22 华为技术有限公司 Image deployment method and device
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node
CN107342858A (en) * 2017-07-05 2017-11-10 武汉凤链科技有限公司 A kind of intelligent contract guard method and system based on trusted context
CN107846278A (en) * 2017-10-30 2018-03-27 中国联合网络通信集团有限公司 Intelligent contract processing method and processing device
CN107943469A (en) * 2017-11-17 2018-04-20 深圳圣马歌科技有限公司 A kind of dissemination method and device of intelligence contract
CN107943580A (en) * 2017-11-13 2018-04-20 上海点融信息科技有限责任公司 For managing the method and equipment of user's intelligence contract at block chain link point
CN108021808A (en) * 2017-11-30 2018-05-11 北京博晨技术有限公司 Account book safety encryption, device and electronic equipment
CN108173850A (en) * 2017-12-28 2018-06-15 杭州趣链科技有限公司 A kind of identity authorization system and identity identifying method based on block chain intelligence contract
US10135607B1 (en) * 2017-08-11 2018-11-20 Dragonchain, Inc. Distributed ledger interaction systems and methods
CN108921694A (en) * 2018-06-21 2018-11-30 北京京东尚科信息技术有限公司 Block chain management method and block chain node and computer readable storage medium
US10146792B1 (en) * 2017-05-31 2018-12-04 Symbiont.Io, Inc. Systems and methods for implementing a programming model for smart contracts within a decentralized computer network
CN108965468A (en) * 2018-08-16 2018-12-07 北京京东尚科信息技术有限公司 Block chain network service platform and its chain code installation method, storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085544A1 (en) * 2014-09-19 2016-03-24 Microsoft Corporation Data management system
EP3479251A4 (en) * 2016-12-30 2019-06-26 Beijing Didi Infinity Technology and Development Co., Ltd. Systems and methods for intelligent information management
EP3583562A1 (en) * 2017-02-17 2019-12-25 Nokia Technologies Oy Changing smart contracts recorded in block chains
CN107248074A (en) * 2017-03-29 2017-10-13 阿里巴巴集团控股有限公司 A kind of method for processing business and equipment based on block chain
US10713963B2 (en) * 2017-05-25 2020-07-14 International Business Machines Corporation Managing lifelong learner events on a blockchain
GB2569278A (en) * 2017-10-23 2019-06-19 Cygnetise Ltd Methods and apparatus for verifying a user transaction

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528262A (en) * 2015-09-10 2017-03-22 华为技术有限公司 Image deployment method and device
CN106302632A (en) * 2016-07-21 2017-01-04 华为技术有限公司 The method for down loading of a kind of foundation image and management node
US10146792B1 (en) * 2017-05-31 2018-12-04 Symbiont.Io, Inc. Systems and methods for implementing a programming model for smart contracts within a decentralized computer network
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node
CN107342858A (en) * 2017-07-05 2017-11-10 武汉凤链科技有限公司 A kind of intelligent contract guard method and system based on trusted context
US10135607B1 (en) * 2017-08-11 2018-11-20 Dragonchain, Inc. Distributed ledger interaction systems and methods
CN107846278A (en) * 2017-10-30 2018-03-27 中国联合网络通信集团有限公司 Intelligent contract processing method and processing device
CN107943580A (en) * 2017-11-13 2018-04-20 上海点融信息科技有限责任公司 For managing the method and equipment of user's intelligence contract at block chain link point
CN107943469A (en) * 2017-11-17 2018-04-20 深圳圣马歌科技有限公司 A kind of dissemination method and device of intelligence contract
CN108021808A (en) * 2017-11-30 2018-05-11 北京博晨技术有限公司 Account book safety encryption, device and electronic equipment
CN108173850A (en) * 2017-12-28 2018-06-15 杭州趣链科技有限公司 A kind of identity authorization system and identity identifying method based on block chain intelligence contract
CN108921694A (en) * 2018-06-21 2018-11-30 北京京东尚科信息技术有限公司 Block chain management method and block chain node and computer readable storage medium
CN108965468A (en) * 2018-08-16 2018-12-07 北京京东尚科信息技术有限公司 Block chain network service platform and its chain code installation method, storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Mattias Scherer.Performance and Scalability of Blockchain Networks and Smart Contracts.Master of Science Programme in Computing Science and Engineering.全文. *
刘勇 ; 李飞 ; 高路路 ; 徐翔 ; .基于区块链技术的车联网汽车身份认证可行性研究.汽车技术.2018,(06),全文. *
朱晓娜 ; 李先贤 ; 李沁 ; .面向服务网格的虚拟环境部署运行管理系统.计算机工程与应用.2007,(36),全文. *

Also Published As

Publication number Publication date
CN111290776A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
US11463241B2 (en) Transmitting or receiving blockchain information
EP3149583B1 (en) Method and apparatus for automating the building of threat models for the public cloud
EP3120290B1 (en) Techniques to provide network security through just-in-time provisioned accounts
CN111290776B (en) Management device and method for managing blockchain nodes
CN113169952B (en) Container cloud management system based on block chain technology
CN101411163B (en) System and method for tracking the security enforcement in a grid system
US9436832B2 (en) System and method for virtual image security in a cloud environment
Vignesh et al. Modifying security policies towards BYOD
US11513910B2 (en) Compliance as a service for multi-cloud backup systems
US20200053069A1 (en) Authenticating a device based on communication patterns in a group of devices
US11604890B2 (en) Accessing information based on privileges
US20170099292A1 (en) Systems and Methods for Access Permission Revocation and Reinstatement
CN105302092A (en) Process control software security architecture based on least privileges
WO2015180690A1 (en) Method and device for reading verification information
CN109446259B (en) Data processing method and device, processor and storage medium
CN105531692A (en) Security policies for loading, linking, and executing native code by mobile applications running inside of virtual machines
KR20130095197A (en) Cloud based real time app privacy dashboard
US11381603B2 (en) User-based visibility and control of a segmentation policy
CN112818328A (en) Multi-system authority management method, device, equipment and storage medium
US10909516B2 (en) Basic input/output system (BIOS) credential management
US20190303935A1 (en) System and methods for preventing reverse transactions in a distributed environment
US8042158B2 (en) Management of user authorizations
KR101994664B1 (en) Vulnerability checking system based on cloud service
CN112037055A (en) Transaction processing method and device, electronic equipment and readable storage medium
US11087020B2 (en) Providing transparency in private-user-data access

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant