CN111464353B - Block link point management method, device, computer and readable storage medium - Google Patents

Block link point management method, device, computer and readable storage medium Download PDF

Info

Publication number
CN111464353B
CN111464353B CN202010243700.9A CN202010243700A CN111464353B CN 111464353 B CN111464353 B CN 111464353B CN 202010243700 A CN202010243700 A CN 202010243700A CN 111464353 B CN111464353 B CN 111464353B
Authority
CN
China
Prior art keywords
node
consensus
target
network node
attribute
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
CN202010243700.9A
Other languages
Chinese (zh)
Other versions
CN111464353A (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.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
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 Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN202010243700.9A priority Critical patent/CN111464353B/en
Publication of CN111464353A publication Critical patent/CN111464353A/en
Application granted granted Critical
Publication of CN111464353B publication Critical patent/CN111464353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0826Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a block link point management method, a block link point management device, a computer and a readable storage medium, wherein the method comprises the following steps: acquiring a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining the node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and the consensus validation time; adding target node identity information of a target network node to consensus configuration information stored in an intelligent contract; and when the consensus validation time is reached, switching the node attribute in the target node identity information in the consensus configuration information into the consensus attribute based on the intelligent contract to obtain updated consensus configuration information, and adding the target network node to the consensus network according to the updated consensus configuration information. By adopting the method and the device, the efficiency can be improved and the cost can be reduced when the consensus configuration information is updated.

Description

Block link point management method, device, computer and readable storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method, an apparatus, a computer, and a readable storage medium for managing block chain link points.
Background
With the development of the blockchain technology, the application of blockchains is becoming more and more extensive due to the characteristics of the blockchain such as decentralization, and therefore, management of blockchains becomes an important issue. Specifically, when a transaction block is linked in the blockchain, the transaction block must be identified by a common node in the blockchain network, and the transaction block can be added to the blockchain after the common node passes the common node. The network formed by the consensus nodes is recorded as a consensus network, when a new consensus node needs to be added or an existing consensus node needs to be deleted in the consensus network, the consensus configuration information of the consensus nodes needs to be updated, and since the consensus configuration information of each consensus node in the consensus network is configured in the system bottom architecture of the block chain, when the consensus configuration information needs to be updated, the system bottom architecture of the block chain needs to be adjusted, so that the whole updating process is slow and the cost is high.
Disclosure of Invention
The embodiment of the application provides a block chain link point management method, a block chain link point management device, a computer and a readable storage medium, which can improve efficiency and reduce cost when common identification configuration information in a block chain is updated.
An embodiment of the present application provides a block link point management method, including:
acquiring a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining the node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time;
adding the target node identity information of the target network node to consensus configuration information stored in the intelligent contract;
when the consensus becomes effective, triggering the intelligent contract, acquiring the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into a consensus attribute to obtain updated consensus configuration information, and adding the target network node to a consensus network according to the updated consensus configuration information.
Wherein, the method further comprises:
when the consensus data of the target network node is received, triggering the intelligent contract, and acquiring the node attribute of the target network node based on the intelligent contract;
and when the node attribute is the candidate attribute, deleting the network access authority of the target network node, wherein the network access authority is the authority for joining the block chain network.
Wherein, when the node attribute is the candidate attribute, deleting the network access permission of the target network node includes:
when the node attribute is the candidate attribute, determining that the target network node is an abnormal node, accumulating the times of the target network node being the abnormal node as abnormal times, and acquiring the authority deletion duration of the target network node according to the abnormal times;
and deleting the network access authority of the target network node within the authority deletion duration.
Wherein, the method further comprises:
broadcasting the target network node to a consensus node for consensus, wherein the node attribute of the consensus node is the consensus attribute;
if the consensus does not pass, deleting the network access authority of the target network node;
and if the consensus passes, executing the step of adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract.
Wherein, the identity information of the target node also comprises the weight of the target node of the target network node; the method further comprises the following steps:
when receiving consensus data of the target network node aiming at the transaction block, acquiring a consensus weight pool from the intelligent contract; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing certificates for consensus of the corresponding network nodes;
searching the target node weight of the target network node in the consensus weight pool based on the intelligent contract;
if the consensus weight pool comprises the target node weight, adding the consensus data of the target network node aiming at the transaction block into a consensus information set aiming at the transaction block;
and if the consensus weight pool does not comprise the target node weight, deleting the network access authority of the target network node.
Wherein, the method further comprises:
when a consensus network exit request of the target network node is received, triggering the intelligent contract based on the consensus network exit request, and acquiring the consensus weight pool from the intelligent contract;
acquiring the target node weight from the consensus weight pool based on the intelligent contract; the target node weight comprises a node sub-weight and a network node to which the weight corresponding to the node sub-weight belongs; the network node to which the weight belongs includes the target network node;
and transferring the sub-weight of the node to the network node to which the corresponding weight belongs.
Wherein, if the consensus weight pool includes the target node weight, adding the consensus data of the target network node for the transaction block into the consensus information set for the transaction block comprises:
if the consensus weight pool comprises the target node weight, acquiring the node attribute of the target network node;
when the node attribute of the target network node is the candidate attribute, determining the abnormal behavior weight of the target network node;
removing the weight of the abnormal behavior weight from the weight of the target node to obtain a legal weight, and transferring the legal weight to the target network node;
and when the node attribute of the target network node is the consensus attribute, adding the consensus data of the target network node aiming at the transaction block into the consensus information set aiming at the transaction block.
Wherein, when the consensus becomes effective, the intelligent contract is triggered, the target node identity information in the consensus configuration information is obtained based on the intelligent contract, the node attribute in the target node identity information is switched to a consensus attribute to obtain updated consensus configuration information, and the target network node is added to a consensus network according to the updated consensus configuration information, including:
when the consensus takes effect, triggering the intelligent contract, acquiring the minimum consensus passing node number in the consensus configuration information based on the intelligent contract, and determining the total number of consensus nodes according to a node identity information set in the consensus configuration information, wherein the node identity information set comprises the target node identity information; the minimum consensus passing node number is the minimum consensus node number required by the block passing consensus in the consensus configuration information;
updating the minimum consensus pass node number in the consensus configuration information according to a consensus algorithm and the total number of the consensus nodes, and switching the node attribute of the target network node in the consensus configuration information into the consensus attribute to obtain updated consensus configuration information;
and adding the target network node to the consensus network according to the updated consensus configuration information.
Wherein, the method further comprises:
acquiring a candidate network node set with the node attribute as the candidate attribute in the consensus configuration information based on the intelligent contract, wherein the candidate network node set comprises at least three candidate network nodes, and the at least three candidate network nodes comprise the target network node;
acquiring the candidate node weight of each candidate network node from the consensus weight pool;
determining a node to be worked and commonly recognized from the at least three candidate network nodes according to the weight of the candidate nodes;
and if the node to be worked is the target network node, determining the consensus validation time of the target network node as the next block generation time.
An aspect of an embodiment of the present application provides a block link point management device, where the block link point management device includes:
the device comprises a request acquisition module, a common network adding request acquisition module and a common network adding module, wherein the request acquisition module is used for acquiring a common network adding request of a target network node, triggering an intelligent contract based on the common network adding request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and common validation time;
an identity adding module, configured to add target node identity information of the target network node to consensus configuration information stored in the intelligent contract;
and the configuration updating module is used for triggering the intelligent contract when the consensus validation time is reached, acquiring the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into a consensus attribute to obtain updated consensus configuration information, and adding the target network node to a consensus network according to the updated consensus configuration information.
Wherein, above-mentioned device still includes:
the attribute acquisition module is used for triggering the intelligent contract when the consensus data of the target network node is received, and acquiring the node attribute of the target network node based on the intelligent contract;
and the permission deleting module is used for deleting the network access permission of the target network node when the node attribute is the candidate attribute, and the network access permission is the permission for joining the block chain network.
Wherein, the permission deleting module comprises:
an abnormal node determining unit, configured to determine that the target network node is an abnormal node when the node attribute is the candidate attribute, accumulate the number of times that the target network node is the abnormal node as an abnormal number, and obtain an authority deletion duration of the target network node according to the abnormal number;
and the permission deleting unit is used for deleting the network access permission of the target network node within the permission deleting duration.
Wherein, above-mentioned device still includes:
a node consensus module, configured to broadcast the target network node to a consensus node for consensus, where a node attribute of the consensus node is the consensus attribute;
the permission deleting module is further configured to delete the network access permission of the target network node if the common identification fails;
the node consensus module is further configured to, if the consensus passes, execute, by the identity addition module, the step of adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract.
Wherein, the identity information of the target node also comprises the weight of the target node of the target network node; the above-mentioned device still includes:
the weight pool acquisition module is used for acquiring a consensus weight pool from the intelligent contract when consensus data of the target network node for the transaction block is received; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing certificates for consensus of the corresponding network nodes;
a weight searching module, configured to search the target node weight of the target network node in the consensus weight pool based on the intelligent contract;
a consensus adding module, configured to add consensus data of the target network node for the transaction block into a consensus information set for the transaction block if the consensus weight pool includes the target node weight;
the weight searching module is further configured to delete the network access permission of the target network node through the permission deleting module if the consensus weight pool does not include the target node weight.
Wherein, above-mentioned device still includes:
a quit receiving module, configured to, when a consensus network quit request of the target network node is received, trigger the intelligent contract based on the consensus network quit request, and obtain the consensus weight pool from the intelligent contract;
the quit receiving module is further configured to obtain the weight of the target node from the consensus weight pool based on the intelligent contract; the target node weight comprises a node sub-weight and a network node to which the weight corresponding to the node sub-weight belongs; the network node to which the weight belongs includes the target network node;
and the weight transfer module is used for transferring the node sub-weight to the network node to which the corresponding weight belongs.
Wherein, the consensus adding module comprises:
an attribute obtaining unit, configured to obtain a node attribute of the target network node if the consensus weight pool includes the target node weight;
an abnormal weight determination unit, configured to determine an abnormal behavior weight of the target network node when the node attribute of the target network node is the candidate attribute;
a legal weight transfer unit, configured to transfer the legal weight to the target network node, where the target node weight is removed from the abnormal behavior weight and is used as a legal weight;
a consensus data adding unit, configured to add the consensus data of the target network node for the transaction block to the consensus information set for the transaction block when the node attribute of the target network node is the consensus attribute.
Wherein, the configuration updating module comprises:
a consensus node obtaining unit, configured to trigger the intelligent contract when the consensus validation time is reached, obtain a minimum consensus passing node number in the consensus configuration information based on the intelligent contract, and determine a total number of consensus nodes according to a node identity information set in the consensus configuration information, where the node identity information set includes the target node identity information; the minimum consensus passing node number is the minimum consensus node number required by the block passing consensus in the consensus configuration information;
a configuration information updating unit, configured to update the minimum consensus passing node number in the consensus configuration information according to a consensus algorithm and the total number of the consensus nodes, and switch the node attribute of the target network node in the consensus configuration information to the consensus attribute, so as to obtain updated consensus configuration information;
and a node adding unit, configured to add the target network node to the consensus network according to the updated consensus configuration information.
Wherein, above-mentioned device still includes:
a candidate node obtaining module, configured to obtain, based on the intelligent contract, a candidate network node set in the consensus configuration information, where the node attribute is the candidate attribute, where the candidate network node set includes at least three candidate network nodes, and the at least three candidate network nodes include the target network node;
a candidate weight obtaining module, configured to obtain a candidate node weight of each candidate network node from the consensus weight pool;
a consensus node determining module, configured to determine a consensus node to be worked from the at least three candidate network nodes according to the candidate node weights;
and the time updating module is used for determining the consensus validation time of the target network node as the next block generation time if the to-be-worked consensus node is the target network node.
In one aspect, an embodiment of the present application provides a computer device, including a processor, a memory, and an input/output interface;
the processor is respectively connected to the memory and the input/output interface, where the input/output interface is used for data interaction between nodes in a block chain, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the block chain link point management method implemented in an aspect of the embodiment of the present application.
An aspect of the present embodiments provides a computer-readable storage medium storing a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, perform a block link point management method as implemented in an aspect of the present embodiments.
The embodiment of the application has the following beneficial effects:
the method comprises the steps of obtaining a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus effective time; adding target node identity information of a target network node to consensus configuration information stored in an intelligent contract; when the consensus becomes effective, the intelligent contract is triggered, the target node identity information in the consensus configuration information is obtained based on the intelligent contract, the node attribute in the target node identity information is switched to the consensus attribute, the updated consensus configuration information is obtained, and the target network node is added to the consensus network according to the updated consensus configuration information. Because the consensus configuration information can be updated through the intelligent contract, the management of the nodes can be realized in the upper-layer application of the block chain without adjusting the system bottom-layer architecture of the block chain, and therefore, when the consensus configuration information in the block chain is updated, the efficiency can be improved and the cost can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1a is a schematic diagram of a consensus network provided in an embodiment of the present application;
fig. 1b is a block link node management architecture diagram according to an embodiment of the present application;
fig. 2 is a schematic diagram of a block link node management scenario provided in an embodiment of the present application;
fig. 3 is a flowchart of a block link point management method according to an embodiment of the present disclosure;
fig. 4 is a schematic block link point management flowchart according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a consensus node adding scenario provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a node weight processing scenario provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a scenario of updating consensus configuration information according to an embodiment of the present application;
fig. 8 is a schematic diagram of a block link point management device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, the block chains, blocks and consensus network mentioned in the embodiments of the present application will be described.
1. Block chains: in a narrow sense, a block chain is a chain data structure taking a block as a basic unit, and the prior transaction history is verified by utilizing a digital abstract in the block, so that the block chain is suitable for the requirements of tamper resistance and expandability under a distributed accounting scene; in a broad sense, blockchain also refers to distributed accounting techniques implemented by blockchain architecture, including distributed consensus, privacy and security protection, peer-to-peer communication techniques, network protocols, intelligent contracts, and the like. The goal of the blockchain is to implement a distributed data record ledger that allows only additions and not deletions. The basic structure of the ledger bottom layer is a linear linked list. The linked list is composed of a series of 'blocks', the Hash (Hash) value of the previous block is recorded in the subsequent block, and whether each block (and the transaction in the block) is legal or not can be quickly checked by calculating the Hash value. If a node in the network proposes to add a new block, the block must be acknowledged via a consensus mechanism.
2. Block (Block): all transactions and status results, etc. occurring over a period of time are recorded, which is a consensus on the current ledger status. Specifically, for a block chain, each time data is written, i.e. the above transaction process, a block is created.
3. A consensus network: the network consists of network nodes with consensus authority, at least three consensus nodes exist in the consensus network, the at least three consensus nodes can perform consensus on the received transaction blocks, and the transaction blocks can be uploaded to a block chain after passing through the consensus network. In this application, the consensus node refers to a network node whose node attribute is a consensus attribute.
Specifically, reference may be made to fig. 1a, where fig. 1a is a schematic diagram of a consensus network provided in an embodiment of the present application. As shown in fig. 1a, the consensus network 100 is a system for performing data sharing between nodes, the consensus network 100 may include a plurality of nodes 101, the plurality of nodes 101 may be clients in the consensus network 100, and each node 101 is a network node having a consensus right to perform consensus on a block. Each node 101 may receive input information and maintain shared data within the consensus network 100 based on the received input information while operating normally. In order to ensure information intercommunication in the consensus network 100, an information connection may exist between each node 101 in the consensus network 100, and information transmission may be performed between the nodes 101 through the information connection. For example, when an arbitrary node 101 in the consensus network 100 receives input information, other nodes 101 in the consensus network 100 acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all nodes in the consensus network 100 are consistent. Each node 101 may perform consensus on the transaction blocks formed by the input information, and if the consensus of the transaction blocks passes, each node 101 may add the transaction blocks passing the consensus to the block chain stored by itself to store the input information, so as to achieve consistency of data stored on all nodes in the consensus network 100.
Each node 101 in the consensus network 100 has a corresponding node identifier, and each node 101 in the consensus network 100 may store the node identifiers of other nodes in the consensus network 100, so that the generated block is broadcast to other nodes in the consensus network 100 according to the node identifiers of other nodes. Each node 101 may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an Internet Protocol (IP) address and any other information that can be used to identify the node, such as a character string that can be used as a unique identifier, and only the character string that is used as the unique identifier is described in table 1. As shown in table 1 below:
node name Node identification
Node 1 A154267
Node 2 A154468
Node N A154254
Each node 101 in the consensus network 100 may broadcast the obtained transaction block to other nodes through the maintained node identification list, so that all nodes 101 in the consensus network 100 can agree on the transaction block, and if the agreement passes, each node 101 adds the transaction block to a stored block chain.
Referring to fig. 1b, fig. 1b is a block link node management architecture diagram provided in an embodiment of the present application, as shown in fig. 1b, when a network node is added to a consensus network, a consensus network addition request is sent, and after a computer device obtains the consensus network addition request sent by the network node, the computer device manages the network node, where the network node may be one network node, or may be at least two network nodes, such as a network node 102 and a network node 103. Specifically, taking the network node 102 as an example, the network node 102 is used as a target network node, when the target network node joins in a consensus network, a consensus network addition request is sent, when a computer device obtains the consensus network addition request, an intelligent contract is triggered, a node attribute of the target network node is determined as a candidate attribute based on the intelligent contract, and target node identity information of the target network node is added to consensus configuration information stored in the intelligent contract. And when the consensus validation time of the target network node is reached, triggering an intelligent contract, and switching the node attribute of the target network node into the consensus attribute based on the intelligent contract so as to add the target network node into the consensus network. Optionally, when consensus network addition requests of multiple network nodes are obtained, for example, when consensus network addition requests of the network nodes 102 and 103 are obtained, each network node may be selected based on node identity information of each network node, one or at least two network nodes are obtained from the multiple network nodes as new consensus nodes to be added into the consensus network, and node attributes of the network nodes serving as the new consensus nodes are switched to the consensus attributes. According to the method and the device, the network nodes in the consensus network are managed through the process, under the condition that the consensus network is not required to be redeployed, the consensus nodes in the consensus network are added or deleted on the basis of the intelligent contract, namely, the management of each network node in the consensus network is realized, the system bottom layer framework of the block chain is not required to be adjusted, the time and the resources consumed by updating the consensus configuration information in the block chain when the consensus network is changed are reduced, the management efficiency of the consensus network is improved, and the cost is reduced.
It is understood that the method provided by the embodiment of the present application may be executed by a computer device, which includes but is not limited to a terminal device or a server. In the embodiment of the present application, an execution subject for performing the management of the blockchain node may be a computer device. The computer device may be a server or a terminal device, or a system composed of a server and a terminal device, where the above-mentioned terminal device may be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, a palmtop computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart band, etc.), and the like. Optionally, the embodiment of the present application may also be executed through an intelligent contract in the block chain, specifically, when a target network node sends a consensus network addition request, the intelligent contract monitors the consensus network addition request, acquires target node identity information of the target network node according to the consensus network addition request, and switches a node attribute of the target network node based on the target node identity information, so as to add the target network node to the consensus network.
Further, please refer to fig. 2, wherein fig. 2 is a schematic view of a block link point management scenario provided in an embodiment of the present application. As shown in fig. 2, when a target network node 201 needs to join a consensus network 202, a consensus network addition request 203 is sent, a computer device 204 obtains the consensus network addition request 203 of the target network node, the computer device 204 obtains target node identity information of the target network node 201 through the consensus network addition request 203, the target node identity information includes a node attribute 205 of the target network node 201 and a consensus validation time 206, the computer device 204 determines the node attribute 205 of the target network node 201 as a candidate attribute based on an intelligent contract, generates target node identity information according to the node attribute 205 of the target network node 201, and adds the target node identity information of the target network node 201 to consensus configuration information to indicate that the target network node 201 is a node that is about to join the consensus network or has already joined the consensus network. When the computer device 204 determines that the consensus validation time 206 is reached based on the intelligent contract, the intelligent contract is triggered, the node attribute 205 of the target network node 201 is switched from the candidate attribute to the consensus attribute based on the intelligent contract, and the computer device 204 updates the target node identity information in the consensus configuration information according to the switched node attribute of the target network node 201, so that the target network node 201 is added to the consensus network, and the target network node 201 has the consensus right. Optionally, when the node information of the target network node 201 is only stored in the consensus configuration information, the computer device 204 switches the node attribute of the target node identity information in the consensus configuration information to the consensus attribute when the consensus validation time is reached, so as to add the target network node 201 to the consensus network.
Further, please refer to fig. 3, wherein fig. 3 is a flowchart of a block link point management method according to an embodiment of the present disclosure. As shown in fig. 3, the above-mentioned computer device is used as an execution subject to describe, and the block link point management process includes the following steps:
step S301, acquiring a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and the consensus validation time.
Specifically, the computer device obtains a consensus network addition request of a target network node, triggers an intelligent contract based on the consensus network addition request, determines a node attribute of the target network node as a candidate attribute (which is equivalent to marking the target network node as a candidate network node) based on the intelligent contract to indicate that the target network node is a node to be added to the consensus network, and generates target node identity information of the target network node according to the node attribute of the target network node and the consensus validation time. Optionally, the consensus network addition request further includes a target node weight of the target network node, where the target node weight may be a virtual asset of the target network node, or may be weight data that the target network node may use for mortgage, and the like, which is not limited herein. When the computer equipment acquires the consensus network adding request, determining the node attribute of the target network node as a candidate attribute based on an intelligent contract, and distributing consensus effective time for the target network node, wherein the consensus effective time is used for indicating the time that the target network node can be used as a consensus node to perform consensus on the transaction blocks. The node attribute, the consensus validation time and the like of the target network node are used as the target node identity information of the target network node, wherein the target node identity information may further include a target node identifier or a target node weight and the like.
Step S302, the target node identity information of the target network node is added to the consensus configuration information stored in the intelligent contract.
Specifically, the consensus configuration information includes node identity information of each consensus node, a minimum consensus node number, a node weight of each consensus node, and the like, where the consensus node is a network node whose node attribute is a consensus attribute, and optionally, the consensus configuration information further includes node identity information of a candidate network node, where the candidate network node is a network node whose node attribute is a candidate attribute, and the candidate network node is used to indicate a network node about to join the consensus network. The node identity information includes a node identifier, a node attribute, a node weight, a consensus validation time and the like of a corresponding consensus node. The consensus validation time of the consensus node may be a fixed consensus value, and the fixed consensus value is used to indicate that the corresponding consensus node has the consensus right. Specifically, the target node identity information of the target network node is added to the consensus configuration information stored in the intelligent contract, and represents the consensus validation time when the target network node is reached, so that the target network node has the consensus right and can perform consensus on the received transaction blocks. The consensus configuration information may be stored in a blockchain network in a format such as a graph, and is used to maintain a consensus network in the blockchain network and manage all consensus nodes in the consensus network. For example, assuming that the consensus arrangement information is stored in a table format in a blockchain network, the consensus arrangement information can be as shown in table 2 below:
Figure BDA0002433393130000121
Figure BDA0002433393130000131
table 2 stores node identity information of each consensus node in the current consensus network and node identity information of a candidate network node, where the consensus node is a network node whose node attribute is a consensus attribute, and the candidate network node is a network node whose node attribute is a candidate attribute in the consensus configuration information. As can be seen from table 2, the consensus network includes network nodes with node identifiers a154267, a154468 and a154254, etc., where the node weight of the network node with node identifier a154267 is 20, the node weight of the network node with node identifier a154468 is 25, the node weight of the network node with node identifier a154254 is 30, and so on. The computer device obtains a target node identifier of a target network node as a152648, sets the node attribute of the target network node as a candidate attribute, sets the node attribute of the target node identifier a152648 in the consensus configuration information as a candidate attribute, and writes the target node weight 20 of the target network node into the consensus configuration information.
And step S303, when the consensus validation time is reached, triggering an intelligent contract, acquiring target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into the consensus attribute to obtain updated consensus configuration information, and adding the target network node to the consensus network according to the updated consensus configuration information.
Specifically, when the consensus is valid, the target node identity information of the target network node still exists in the consensus configuration information, or the target network node has a network access right, which indicates that no abnormal behavior occurs in the target network node before the target network node is used as the consensus node, so that the node attribute of the target network node is switched to the consensus attribute, the target node identity information in the consensus configuration information in table 2 is updated according to the switched node attribute (that is, the node attribute of the target node identity information is updated to the consensus attribute in the consensus configuration information), the updated consensus configuration information is obtained, and the target network node is added to the consensus network according to the updated consensus configuration information. Optionally, if the target network node does not carry the node attribute, but only stores the node attribute of the target network node in the consensus configuration information, when the consensus validation time is reached, the node attribute of the target node identity information in the consensus configuration information is updated to be the consensus attribute, so that the target network node is added to the consensus network according to the updated consensus configuration information.
According to the embodiment of the application, through the block chain node management process, the computer equipment acquires the consensus network adding request of the target network node, triggers an intelligent contract based on the consensus network adding request, determines the node attribute of the target network node as a candidate attribute based on the intelligent contract, generates the target node identity information of the target network node according to the node attribute of the target network node and the consensus effective time, and adds the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract; when the consensus validation time is reached, triggering an intelligent contract, acquiring target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into the consensus attribute to obtain updated consensus configuration information, and adding the target network node into the consensus network according to the updated consensus configuration information. According to the method and the device, each network node in the consensus network is managed through the intelligent contract, the consensus network is updated, the network nodes in the consensus network are added and deleted, the bottom data of the block chain does not need to be called, and therefore resource loss of block chain link point management is reduced, and management efficiency of the block chain nodes is improved.
Further, referring to fig. 4, fig. 4 is a schematic block link point management flowchart provided in an embodiment of the present application. As shown in fig. 4, the method comprises the following steps:
step S401, acquiring a consensus network adding request of a target network node, determining a node attribute of the target network node as a candidate attribute based on an intelligent contract, and generating target node identity information of the target network node.
Specifically, the computer device obtains a consensus network addition request of the target network node, triggers an intelligent contract based on the consensus network addition request, determines a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generates target node identity information of the target network node according to the node attribute of the target network node and the consensus validation time, which may be specifically described in step S301 in fig. 3. Further, the target network node may be cached in a set of candidate network nodes, the set of candidate network nodes including at least three candidate network nodes including the target network node.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram of a consensus node addition scenario provided in the embodiment of the present application. As shown in fig. 5, when a target network node 501 sends a consensus network addition request to join a consensus network 502, a computer device acquires the consensus network addition request, triggers an intelligent contract, determines a node attribute of the target network node 501 as a candidate attribute based on the intelligent contract, and adds the target network node 501 as a candidate network node to a candidate network node set 503.
And step S402, carrying out consensus on the target network nodes.
Specifically, the target network node is broadcasted to the consensus node for consensus, and the node attribute of the consensus node is a consensus attribute; if the consensus fails (the consensus fails), indicating that the target network node is abnormal, executing step S405 to delete the network access permission of the target network node, where the network access permission is a permission to join the blockchain network; if the consensus passes, step S403 is executed to add the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract. Specifically, the target network node is identified by a consensus node in a consensus network, assuming that 4 consensus nodes (node a, node B, node C, and node D, respectively) exist in the consensus network, the used consensus algorithm is byzantine 2/3, and the target network node is node E, the computer device broadcasts the target network node to the 4 consensus nodes in the consensus network, and when any 3 consensus nodes or more than 3 consensus nodes exist in the node a, the node B, the node C, and the node D identify the target network node, the target network node is considered to be identified as passing, otherwise, the target network node is considered to be identified as not passing.
Step S403, adding the target node identity information of the target network node to the consensus configuration information.
Specifically, the computer device adds the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract based on the intelligent contract, specifically referring to the specific description shown in step S302 in fig. 3. The target node identity information includes a target node identifier, a node attribute, and a consensus validation time, and optionally, the target node identity information may further include a target node weight, and the like. And when the target node identity information also comprises the target node weight of the target network node, acquiring the target node weight and transferring the target node weight to the consensus weight pool. The consensus weight pool comprises node weights of network nodes of which the node attributes are consensus attributes or candidate attributes, wherein the node weights are weights of mortgages when the corresponding network nodes join the consensus network. For example, if the node of node a is identified as a154267, the node of node B is identified as a154468, the node of node C is identified as a154254, the node of node D is identified as a154356, and the node of node E is identified as a152648, the consensus weight pool includes the node weight of node a, the node weight of node B, the node weight of node C, the node weight of node D, and the node weight of node E, 20.
Step S404, verifying the target network node, and detecting whether the verification passes.
Specifically, when consensus data of a target network node is received, a node attribute of the target network node is obtained; and when the node attribute is the candidate attribute, executing the step S405, and deleting the network access authority of the target network node, wherein the network access authority is the authority for joining the block chain network. When the consensus data of the target network node is received, the target network node is indicated to perform consensus on the transaction block, the computer device triggers an intelligent contract to obtain the node attribute of the target network node, and when the node attribute is a candidate attribute, the target network node is determined not to have consensus authority, so that the computer device determines that the target network node has abnormal behavior, and step S405 is executed to delete the network access authority of the target network node.
When the target node weight of the target network node is detected, when the target node weight is transferred to the consensus weight pool, transfer failure may occur, or the target node weight is abnormal (for example, the target node weight is null, etc.), or abnormal situations such as the target node weight submitted by the target network node is not obtained, and the like may occur. Therefore, when the consensus data of the target network node for the transaction block is received, acquiring a consensus weight pool from the intelligent contract; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing certificates for consensus of the corresponding network nodes; searching a target node weight of a target network node in a consensus weight pool based on an intelligent contract; if the consensus weight pool comprises the target node weight, indicating that the target network node has weight mortgage, and adding the consensus data of the target network node aiming at the transaction block into the consensus information set aiming at the transaction block; if the consensus weight pool does not include the target node weight, step S405 is executed to delete the network access permission of the target network node.
Further, if the consensus weight pool comprises a target node weight, when consensus data of the target network node for the transaction block is received, acquiring a node attribute of the target network node based on an intelligent contract; when the node attribute of the target network node is a candidate attribute, determining the abnormal behavior weight of the target network node; the weight of the target node after the weight of the abnormal behavior is removed is taken as a legal weight, and the legal weight is transferred to the target network node; and when the node attribute of the target network node is the consensus attribute, adding the consensus data of the target network node aiming at the transaction block into the consensus information set aiming at the transaction block. For example, when the node weight of the node E is 20, the node E generates consensus data for the transaction block, and when the computer device acquires the consensus data of the node E for the transaction block, the node attribute of the node E is acquired as a candidate attribute, the abnormal behavior weight of the node E is determined to be 5, the abnormal behavior weight 5 is removed from the target node weight 20, the legal weight 15 is obtained, and the legal weight 15 is transferred to the node E. The abnormal behavior weight is determined based on the number of times of the abnormal behavior of the target network node or the abnormal degree, and the larger the number of times of the abnormal behavior of the target network node is or the larger the abnormal degree is, the larger the abnormal behavior weight is. If the consensus data of the target network node is not received and the identity information of the target node includes the target node weight, the consensus weight pool includes the target node weight, and it is determined that the target network node is verified, and step S406 is performed.
Specifically, referring to fig. 6, fig. 6 is a schematic view of a node weight processing scenario provided in the embodiment of the present application. As shown in fig. 6, the target network node 601 broadcasts the consensus data 602 for the transaction block to other network nodes in the consensus network 603, where the consensus data 602 includes the block height of the transaction block and the data of approving the transaction block, when the computer device receives the consensus data 602, the node attribute of the target network node 601 is obtained from the consensus configuration information 604, the node attribute of the target network node 601 is obtained as a candidate attribute, the target node weight 606 of the target network node 601 is obtained from the consensus weight pool 605, the abnormal behavior weight 607 of the target network node 601 is determined, the weight of the target node 606 after the abnormal behavior weight 607 is removed is taken as the legal weight 608, the legal weight 608 is transferred to the target network node 601, and the abnormal behavior weight 607 is added into the consensus weight pool 605.
And step S405, deleting the network access authority of the target network node.
Specifically, when the node attribute of the target network node is a candidate attribute, determining that the target network node is an abnormal node, accumulating the times that the target network node is the abnormal node as the abnormal times of the target network node, and acquiring the authority deletion duration of the target network node according to the abnormal times; and deleting the network access authority of the target network node within the authority deletion duration. When the consensus configuration information comprises the target node identity information of the target network node, deleting the target node identity information in the consensus configuration information.
Step S406, determining a consensus node to be worked from the candidate network node set, and determining consensus effective time of the target network node when the consensus node to be worked is the target network node.
Specifically, a candidate network node set with node attributes as candidate attributes in the consensus configuration information is obtained based on an intelligent contract, the candidate network node set comprises at least three candidate network nodes, and the at least three candidate network nodes comprise target network nodes; acquiring the candidate node weight of each candidate network node from the consensus weight pool; determining a node to be worked common knowledge from at least three candidate network nodes according to the candidate node weight; and if the node to be worked is the target network node, determining the consensus effective time of the target network node as the next block generation time. Optionally, the candidate network node set may also be generated when there is a network node sending a consensus network addition request. Specifically, referring to fig. 5, a to-be-operated consensus node is determined from at least three candidate network nodes in the candidate network node set 503, and if the to-be-operated consensus node is the target network node 501, the consensus effective time 504 of the target network node 501 is determined as the next block generation time. For example, if the maximum block height in the current consensus network is 100, and the node to be worked is determined to be the target network node 501, the consensus effective time of the target network node 501 is updated to the generation time of the block with the block height of 101.
The computer network obtains the node weight of each candidate network node in the consensus weight pool, and determines the consensus node to be worked in the at least three candidate network nodes according to the node weight of each candidate network node and a node selection algorithm. The node selection algorithm may be a maximum weight selection algorithm, or an algorithm for performing selection based on the node weight, the node identity information, and the like, which is not limited herein.
And step S407, when the consensus validation time of the target network node is reached, adding the target network node into the consensus network based on the intelligent contract.
Specifically, when the consensus becomes effective, an intelligent contract is triggered, target node identity information in the consensus configuration information is obtained based on the intelligent contract, the node attribute in the target node identity information is switched to the consensus attribute to obtain updated consensus configuration information, and the target network node is added to the consensus network according to the updated consensus configuration information, which is specifically described in step S303 in fig. 3. Specifically, referring to fig. 5, the intelligent contract includes a timer, and when the timer reaches the consensus validation time 504, the node attribute of the target network node 501 is switched to the consensus attribute based on the intelligent contract, and the target network node 501 is added to the consensus network 505. Optionally, the target node identifier of the target network node may be broadcast to other consensus nodes in the consensus network, the other consensus nodes add the target node identifier of the target network node to the node identifier list maintained by the other consensus nodes to obtain an updated node identifier list, and the target network node stores the updated node identifier list, so that all the consensus nodes (including the target network node) in the current consensus network store the updated node identifier list. In the method for adding the target network node to the consensus network, other methods that can establish a network connection between the target network node and other consensus nodes may also be used, which is not limited herein.
Further, acquiring the minimum consensus passing node number in the consensus configuration information based on the intelligent contract, and determining the total number of consensus nodes according to a node identity information set in the consensus configuration information, wherein the node identity information set comprises target node identity information; the minimum consensus passing node number is the minimum consensus node number required by the block passing consensus in the consensus configuration information; updating the minimum consensus passing node number in the consensus configuration information according to the consensus algorithm and the total number of the consensus nodes, and switching the node attribute of the target network node in the consensus configuration information into the consensus attribute to obtain updated consensus configuration information; and adding the target network node to the consensus network according to the updated consensus configuration information.
For example, referring to fig. 7, fig. 7 is a schematic view of a scenario for updating consensus configuration information provided in an embodiment of the present application. As shown in fig. 7, before the target network node 702 is added to the consensus network 701, the consensus network 701 includes 4 consensus nodes, and assuming that the consensus algorithm is byzantine 2/3, the minimum consensus passing node number 704a in the obtained consensus configuration information 703a is 3, and the node attribute 705a of the target network node 702 in the consensus configuration information 703a is a candidate attribute. Acquiring a node identity information set in the consensus configuration information 703a, taking the number of node identity information included in the node identity information set as the total number of consensus nodes, to obtain that the total number of the consensus nodes is 5 (4 consensus nodes and a target network node which has just become a consensus node), updating the minimum consensus passing node number 704a in the consensus configuration information 703a according to a consensus algorithm byzantine 2/3 and the total number of the consensus nodes 5, that is, updating the minimum consensus passing node number from 3 to 4, to obtain an updated minimum consensus passing node number 704b. And the node attribute 705a of the target network node 702 in the consensus configuration information 703a is switched to the consensus attribute to obtain an updated node attribute 705b, so as to obtain updated consensus configuration information 703b, and the target network node 702 is added to the consensus network 701 according to the updated consensus configuration information 703 b.
Step S408, when the consensus network quit request of the target network node is received, the target node identity information in the consensus configuration information is deleted based on the intelligent contract, and the target network node is deleted from the consensus network.
Specifically, when a consensus network quit request of a target network node is received, an intelligent contract is triggered based on the consensus network quit request, and a consensus weight pool is obtained from the intelligent contract; acquiring a target node weight from the consensus weight pool based on an intelligent contract; the target node weight comprises a node sub weight and a network node to which the weight corresponding to the node sub weight belongs; the network node to which the weight belongs comprises a target network node; and transferring the node sub-weight to the network node to which the corresponding weight belongs. For example, when the node E joins the consensus network, the node E1 provides the node E with the node sub-weight 5, and the node E2 provides the node E with the node sub-weight 2, wherein the node E (target network node) can only use the node sub-weight as a basis for selecting but does not have a use weight of the node sub-weight, for example, the node E can use the node sub-weight 5 provided by the node E1 as a basis for selecting the consensus node, and cannot use the node sub-weight 5. When computer equipment receives a consensus network exit request of a node E, target node weight 20 is obtained from a consensus weight pool based on an intelligent contract, the target node weight 20 comprises node sub-weight 13 of the node E, node sub-weight 5 of the node E1 and node sub-weight 2 of the node E2, the node sub-weight 13 is transferred to the node E, the node sub-weight 5 is transferred to the node E1, and the node sub-weight 2 is transferred to the node E2.
Optionally, between the step S407 and the step S408, step S404 may also be executed to verify the target network node, in which, when the consensus data of the target network node is received, the node of the target network node belongs to the consensus attribute, and when the target node identity information includes the target node weight, the consensus weight pool includes the target node weight, and it is determined that the target network node is verified.
The method comprises the steps of acquiring a consensus network adding request of a target network node, triggering an intelligent contract, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time; adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract; when the consensus validation time is reached, triggering an intelligent contract, acquiring target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into the consensus attribute to obtain updated consensus configuration information, and adding the target network node to the consensus network according to the updated consensus configuration information. The nodes in the consensus network are managed through the intelligent contract, and the consensus configuration information can be updated, so that the nodes in the consensus network can be updated under the condition that the system bottom layer architecture of the block chain is not required to be adjusted, the efficiency can be improved, and the cost can be reduced when the consensus configuration information in the block chain is updated. Meanwhile, when the network node is added into the consensus network, the network node is not directly added into the consensus network, but the network node is verified firstly to determine the legality of the network node, so that the safety of the consensus network is improved.
Further, referring to fig. 8, fig. 8 is a schematic diagram of a block link point management device according to an embodiment of the present disclosure. The above block link point management device may be a computer program (including program code) running in a computer device, for example, the block link point management device is an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. As shown in fig. 8, the block link point management device 80 may be used in the computer apparatus in the embodiment corresponding to fig. 3 or fig. 4, specifically, the block link point management device 80 may include: a request acquisition module 11, an identity adding module 12 and a configuration updating module 13.
A request obtaining module 11, configured to obtain a consensus network addition request of a target network node, trigger an intelligent contract based on the consensus network addition request, determine a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generate target node identity information of the target network node according to the node attribute of the target network node and consensus validation time;
an identity adding module 12, configured to add target node identity information of the target network node to consensus configuration information stored in the intelligent contract;
and the configuration updating module 13 is configured to, when the consensus validation time is reached, trigger the intelligent contract, obtain the target node identity information in the consensus configuration information based on the intelligent contract, switch the node attribute in the target node identity information to a consensus attribute to obtain updated consensus configuration information, and add the target network node to the consensus network according to the updated consensus configuration information.
Wherein, the above device 80 further comprises:
the attribute obtaining module 14 is configured to, when the consensus data of the target network node is received, trigger the intelligent contract, and obtain a node attribute of the target network node based on the intelligent contract;
and an authority deleting module 15, configured to delete the network access authority of the target network node when the node attribute is the candidate attribute, where the network access authority is an authority for joining the blockchain network.
Wherein, the permission deleting module 15 includes:
an abnormal node determining unit 151, configured to determine that the target network node is an abnormal node when the node attribute is the candidate attribute, accumulate the number of times that the target network node is the abnormal node as an abnormal number, and obtain an authority deletion duration of the target network node according to the abnormal number;
and an authority deleting unit 152, configured to delete the network access authority of the target network node within the authority deleting duration.
Wherein, the above device 80 further comprises:
a node consensus module 16, configured to broadcast the target network node to a consensus node for consensus, where a node attribute of the consensus node is the consensus attribute;
the permission deleting module 15 is further configured to delete the network access permission of the target network node if the common identification fails;
the node consensus module 16 is further configured to, if the consensus passes, execute the step of adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract through the identity adding module 12.
Wherein, the target node identity information also comprises the target node weight of the target network node; the above-mentioned device still includes:
a weight pool obtaining module 17, configured to obtain a consensus weight pool from the intelligent contract when consensus data of the target network node for the transaction block is received; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing certificates for consensus of the corresponding network nodes;
a weight searching module 18, configured to search the target node weight of the target network node in the consensus weight pool based on the intelligent contract;
a consensus adding module 19, configured to add consensus data of the target network node for the transaction block into a consensus information set for the transaction block if the consensus weight pool includes the target node weight;
the weight searching module 18 is further configured to delete the network access right of the target network node through the right deleting module 15 if the consensus weight pool does not include the target node weight.
Wherein, the above device 80 further comprises:
a quit receiving module 20, configured to, when receiving a consensus network quit request of the target network node, trigger the intelligent contract based on the consensus network quit request, and obtain a consensus weight pool from the intelligent contract;
the quit receiving module 20 is further configured to obtain the weight of the target node from the consensus weight pool based on the intelligent contract; the target node weight comprises a node sub-weight and a network node to which the weight corresponding to the node sub-weight belongs; the network node to which the weight belongs includes the target network node;
and a weight transfer module 21, configured to transfer the node sub-weights to the network nodes to which the corresponding weights belong.
Wherein, the consensus adding module 19 includes:
an attribute obtaining unit 191, configured to obtain a node attribute of the target network node if the consensus weight pool includes the target node weight;
an abnormal weight determining unit 192, configured to determine an abnormal behavior weight of the target network node when the node attribute of the target network node is the candidate attribute;
a legal weight transfer unit 193 configured to transfer the target node weight to the target network node as a legal weight by using the weight obtained by removing the abnormal behavior weight from the target node weight;
a consensus data adding unit 194, configured to add the consensus data of the target network node for the transaction block to the consensus information set for the transaction block when the node attribute of the target network node is the consensus attribute.
The configuration update module 13 includes:
a consensus node obtaining unit 131, configured to trigger the intelligent contract when the consensus validation time is reached, obtain a minimum consensus passing node number in the consensus configuration information based on the intelligent contract, and determine a total number of consensus nodes according to a node identity information set in the consensus configuration information, where the node identity information set includes the target node identity information; the minimum common-knowledge passing node number is the minimum common-knowledge node number required by the block common-knowledge in the common-knowledge configuration information;
a configuration information updating unit 132, configured to update the minimum consensus number in the consensus configuration information according to a consensus algorithm and the total number of the consensus nodes, and switch the node attribute of the target network node in the consensus configuration information to the consensus attribute to obtain updated consensus configuration information;
a node adding unit 133, configured to add the target network node to the consensus network according to the updated consensus configuration information.
Wherein, the above device 80 further comprises:
a candidate node obtaining module 22, configured to obtain, based on the intelligent contract, a candidate network node set in the consensus configuration information, where the node attribute is the candidate attribute, where the candidate network node set includes at least three candidate network nodes, and the at least three candidate network nodes include the target network node;
a candidate weight obtaining module 23, configured to obtain a candidate node weight of each candidate network node from the consensus weight pool;
a consensus node determining module 24, configured to determine a consensus node to be worked from the at least three candidate network nodes according to the candidate node weights;
a time updating module 25, configured to determine, if the to-be-worked consensus node is the target network node, a consensus validation time of the target network node as a next block generation time.
The embodiment of the application describes a block link point management device, which comprises a first module, a second module, a third module and a fourth module, wherein the first module is used for acquiring a consensus network addition request of a target network node, triggering an intelligent contract based on the consensus network addition request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time; adding target node identity information of a target network node to consensus configuration information stored in an intelligent contract; when the consensus becomes effective, the intelligent contract is triggered, the target node identity information in the consensus configuration information is obtained based on the intelligent contract, the node attribute in the target node identity information is switched to the consensus attribute, the updated consensus configuration information is obtained, and the target network node is added to the consensus network according to the updated consensus configuration information. The consensus configuration information can be updated through the intelligent contract, so that the management of the nodes can be realized in the upper-layer application of the block chain without adjusting the system bottom-layer architecture of the block chain, and therefore, when the consensus configuration information in the block chain is updated, the efficiency can be improved, and the cost can be reduced. Meanwhile, when the network node is added into the consensus network, the network node is not directly added into the consensus network, but the network node is verified firstly to determine the legality of the network node, so that the security of the consensus network is improved, and the flexibility of node configuration in a block chain is improved by managing the nodes in the block chain through the consensus configuration information.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. As shown in fig. 9, the computer device 900 in the embodiment of the present application may include: one or more processors 901, memory 902, and input-output interface 903. The processor 901, the memory 902, and the input/output interface 903 are connected by a bus 904. The memory 902 is used for storing a computer program including program instructions, and the input/output interface 903 is used for data interaction among nodes in a blockchain, including data interaction among network nodes (such as a target network node, other consensus nodes in a consensus network, other candidate network nodes and the like), data interaction among network nodes and an intelligent contract, and the like; processor 901 is configured to execute program instructions stored in memory 902 to perform the following operations:
acquiring a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining the node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time;
adding the target node identity information of the target network node to consensus configuration information stored in the intelligent contract;
when the consensus becomes effective, triggering the intelligent contract, acquiring the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into a consensus attribute to obtain updated consensus configuration information, and adding the target network node to the consensus network according to the updated consensus configuration information.
In some possible embodiments, the processor 901 may be a Central Processing Unit (CPU), and the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 902 may include a read-only memory and a random access memory, and provides instructions and data to the processor 901 and the input-output interface 903. A portion of the memory 902 may also include non-volatile random access memory. For example, the memory 902 may also store device type information.
In a specific implementation, the computer may execute, through each built-in functional module, the implementation manner provided in each step in fig. 3 or fig. 4, which may be specifically referred to the implementation manner provided in each step in fig. 3 or fig. 4, and is not described herein again.
The embodiment of the present application provides a computer device, including: the processor, the input/output interface and the memory, the processor obtains the computer instructions in the memory, and executes the steps of the method shown in fig. 3 or fig. 4 to perform the block link node management operation. With computer instructions in the memory, the processor performs the steps of: acquiring a consensus network addition request of a target network node, triggering an intelligent contract based on the consensus network addition request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time; adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract; when the consensus validation time is reached, triggering the intelligent contract, acquiring target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into the consensus attribute to obtain updated consensus configuration information, and adding the target network node to the consensus network according to the updated consensus configuration information. The consensus configuration information can be updated through the intelligent contract, so that the management of the nodes can be realized in the upper-layer application of the block chain without adjusting the system bottom-layer architecture of the block chain, and therefore, when the consensus configuration information in the block chain is updated, the efficiency can be improved, and the cost can be reduced. Meanwhile, when the network node is added into the consensus network, the network node is not directly added into the consensus network, but the network node is verified firstly to determine the legality of the network node, so that the security of the consensus network is improved, and the flexibility of node configuration in a block chain is improved by managing the nodes in the block chain through the consensus configuration information.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by the processor, the block link point management method provided in each step in fig. 3 or fig. 4 may be implemented, which may specifically refer to the implementation manner provided in each step in fig. 3 or fig. 4, and details of the implementation manner are not described herein again. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. By way of example, program instructions may be deployed to be executed on one computer device or on multiple computer devices at one site or distributed across multiple sites and interconnected by a communication network.
The computer-readable storage medium may be the block link point management device provided in any of the foregoing embodiments or an internal storage unit of the computer, such as a hard disk or a memory of the computer. The computer readable storage medium may also be an external storage device of the computer, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like, provided on the computer. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the computer. The computer-readable storage medium is used for storing the computer program and other programs and data required by the computer. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
The term "comprises" and any variations thereof in the description and claims of the embodiments of the present application and in the drawings is intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to the listed steps or modules, but may alternatively include other steps or modules not listed or inherent to such process, method, apparatus, product, or apparatus.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically 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 or blocks of the block diagram. 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 or blocks of the block diagram. 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.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (14)

1. A block link point management method, the method comprising:
acquiring a consensus network adding request of a target network node, triggering an intelligent contract based on the consensus network adding request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and consensus validation time;
adding target node identity information of the target network node to consensus configuration information stored in the intelligent contract;
when the consensus becomes effective, triggering the intelligent contract, acquiring the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into a consensus attribute to obtain updated consensus configuration information, and adding the target network node to a consensus network according to the updated consensus configuration information;
when a consensus network quit request of the target network node is received, triggering the intelligent contract based on the consensus network quit request, and acquiring a consensus weight pool from the intelligent contract; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing a certificate for consensus of the corresponding network nodes;
acquiring a target node weight from the consensus weight pool based on the intelligent contract; the target node weight comprises a node sub-weight and a network node to which the weight corresponding to the node sub-weight belongs; the network node to which the weight belongs comprises the target network node;
and transferring the node sub-weight to the network node to which the corresponding weight belongs.
2. The method of claim 1, wherein the method further comprises:
when consensus data of the target network node is received, triggering the intelligent contract, and acquiring the node attribute of the target network node based on the intelligent contract;
and when the node attribute is the candidate attribute, deleting the network access authority of the target network node, wherein the network access authority is the authority for joining the block chain network.
3. The method of claim 2, wherein deleting the network access permission of the target network node when the node attribute is the candidate attribute comprises:
when the node attribute is the candidate attribute, determining that the target network node is an abnormal node, accumulating the times that the target network node is the abnormal node as abnormal times, and acquiring the authority deletion duration of the target network node according to the abnormal times;
and deleting the network access authority of the target network node within the authority deletion duration.
4. The method of claim 1, wherein the method further comprises:
broadcasting the target network node to a consensus node for consensus, wherein the node attribute of the consensus node is the consensus attribute;
if the consensus does not pass, deleting the network access authority of the target network node;
and if the consensus passes, adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract.
5. The method of claim 1, wherein the target node identity information further comprises a target node weight for the target network node; the method further comprises the following steps:
when consensus data of the target network node for a transaction block is received, acquiring the consensus weight pool from the intelligent contract;
searching for a target node weight for the target network node in the consensus weight pool based on the intelligent contract;
if the consensus weight pool comprises the target node weight, adding the consensus data of the target network node aiming at the transaction block into a consensus information set aiming at the transaction block;
and if the consensus weight pool does not comprise the target node weight, deleting the network access authority of the target network node.
6. The method of claim 5, wherein the adding the consensus data of the target network node for the transaction block to the set of consensus information for the transaction block if the target node weight is included in the consensus weight pool comprises:
if the consensus weight pool comprises the target node weight, acquiring the node attribute of the target network node;
when the node attribute of the target network node is the candidate attribute, determining the abnormal behavior weight of the target network node;
taking the weight of the target node after the weight of the abnormal behavior is removed as a legal weight, and transferring the legal weight to the target network node;
when the node attribute of the target network node is the consensus attribute, adding the consensus data of the target network node aiming at the transaction block into the consensus information set aiming at the transaction block.
7. The method as claimed in claim 1, wherein the triggering the intelligent contract when the consensus validation time is reached, obtaining the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information to a consensus attribute to obtain updated consensus configuration information, and adding the target network node to a consensus network according to the updated consensus configuration information comprises:
when the consensus validation time is reached, triggering the intelligent contract, acquiring the minimum consensus passing node number in the consensus configuration information based on the intelligent contract, and determining the total number of consensus nodes according to a node identity information set in the consensus configuration information, wherein the node identity information set comprises the target node identity information; the minimum consensus passing node number is the minimum consensus node number required by block passing consensus in the consensus configuration information;
updating the minimum consensus passing node number in the consensus configuration information according to a consensus algorithm and the total number of the consensus nodes, and switching the node attribute of the target network node in the consensus configuration information into the consensus attribute to obtain updated consensus configuration information;
and adding the target network node to the consensus network according to the updated consensus configuration information.
8. The method of claim 5, wherein the method further comprises:
acquiring a candidate network node set of which the node attribute is the candidate attribute in the consensus configuration information based on the intelligent contract, wherein the candidate network node set comprises at least three candidate network nodes, and the at least three candidate network nodes comprise the target network node;
acquiring the candidate node weight of each candidate network node from the consensus weight pool;
determining a node to be worked and commonly recognized from the at least three candidate network nodes according to the candidate node weight;
and if the to-be-worked consensus node is the target network node, determining the consensus effective time of the target network node as the next block generation time.
9. A block link point management apparatus, the apparatus comprising:
the device comprises a request acquisition module, a common network adding request acquisition module and a common network adding module, wherein the request acquisition module is used for acquiring a common network adding request of a target network node, triggering an intelligent contract based on the common network adding request, determining a node attribute of the target network node as a candidate attribute based on the intelligent contract, and generating target node identity information of the target network node according to the node attribute of the target network node and common validation time;
the identity adding module is used for adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract;
the configuration updating module is used for triggering the intelligent contract when the consensus validation time is reached, acquiring the target node identity information in the consensus configuration information based on the intelligent contract, switching the node attribute in the target node identity information into a consensus attribute to obtain updated consensus configuration information, and adding the target network node to a consensus network according to the updated consensus configuration information;
the quitting receiving module is used for triggering the intelligent contract based on the consensus network quitting request and acquiring a consensus weight pool from the intelligent contract when the consensus network quitting request of the target network node is received; the consensus weight pool comprises node weights of the network nodes in the block chain, and the node weights are used for representing a certificate for consensus of the corresponding network nodes;
the quit receiving module is further used for acquiring the weight of the target node from the consensus weight pool based on the intelligent contract; the target node weight comprises a node sub-weight and a network node to which the weight corresponding to the node sub-weight belongs; the network node to which the weight belongs comprises the target network node;
and the weight transfer module is used for transferring the node sub-weights to the network nodes to which the corresponding weights belong.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the attribute acquisition module is used for triggering the intelligent contract when the consensus data of the target network node is received, and acquiring the node attribute of the target network node based on the intelligent contract;
and the permission deleting module is used for deleting the network access permission of the target network node when the node attribute is the candidate attribute, wherein the network access permission has the permission of joining the block chain network.
11. The apparatus of claim 10, wherein the rights deletion module comprises:
an exception determining unit, configured to determine that the target network node is an exception node when the node attribute is the candidate attribute, accumulate the number of times that the target network node is the exception node as an exception number, and obtain an authority deletion duration of the target network node according to the exception number;
and the permission deleting unit is used for deleting the network access permission of the target network node within the permission deleting duration.
12. The apparatus of claim 9, wherein the apparatus further comprises:
a node consensus module, configured to broadcast the target network node to a consensus node for consensus, where a node attribute of the consensus node is the consensus attribute;
the permission deleting module is used for deleting the network access permission of the target network node if the consensus does not pass;
the node consensus module is further configured to, if consensus passes, execute, by the identity addition module, the step of adding the target node identity information of the target network node to the consensus configuration information stored in the intelligent contract.
13. A computer device comprising a processor, a memory, an input output interface;
the processor is connected to the memory and the input/output interface respectively, wherein the input/output interface is used for data interaction between nodes in a block chain, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method according to any one of claims 1 to 8.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-8.
CN202010243700.9A 2020-03-31 2020-03-31 Block link point management method, device, computer and readable storage medium Active CN111464353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010243700.9A CN111464353B (en) 2020-03-31 2020-03-31 Block link point management method, device, computer and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010243700.9A CN111464353B (en) 2020-03-31 2020-03-31 Block link point management method, device, computer and readable storage medium

Publications (2)

Publication Number Publication Date
CN111464353A CN111464353A (en) 2020-07-28
CN111464353B true CN111464353B (en) 2022-12-09

Family

ID=71680929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010243700.9A Active CN111464353B (en) 2020-03-31 2020-03-31 Block link point management method, device, computer and readable storage medium

Country Status (1)

Country Link
CN (1) CN111464353B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726370B (en) * 2020-08-21 2020-11-27 支付宝(杭州)信息技术有限公司 Method, system and device for automatically switching block chain consensus protocol
CN112291318B (en) * 2020-10-20 2022-11-11 杭州云象网络技术有限公司 Block chain network node adding method, system, storage medium and device
CN112436962B (en) * 2020-11-12 2023-04-18 迅鳐成都科技有限公司 Block chain consensus network dynamic expansion method, electronic device, system and medium
CN113162971B (en) * 2020-12-03 2022-07-22 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN112822267B (en) * 2021-01-05 2022-08-26 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain
CN114710504A (en) * 2022-03-31 2022-07-05 蚂蚁区块链科技(上海)有限公司 Rotation method of common nodes in block chain system, nodes and block chain system
CN115190130B (en) * 2022-09-13 2022-12-02 北京笔新互联网科技有限公司 Data processing method and device based on block chain, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768665A (en) * 2018-07-02 2018-11-06 上海达家迎信息科技有限公司 Block chain generation method, device, computer equipment and storage medium
CN109743182A (en) * 2019-01-21 2019-05-10 中国联合网络通信集团有限公司 Intelligent contract based on block chain checks and approves method and system
CN110661658A (en) * 2019-09-23 2020-01-07 腾讯科技(深圳)有限公司 Node management method and device of block chain network and computer storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768665A (en) * 2018-07-02 2018-11-06 上海达家迎信息科技有限公司 Block chain generation method, device, computer equipment and storage medium
CN109743182A (en) * 2019-01-21 2019-05-10 中国联合网络通信集团有限公司 Intelligent contract based on block chain checks and approves method and system
CN110661658A (en) * 2019-09-23 2020-01-07 腾讯科技(深圳)有限公司 Node management method and device of block chain network and computer storage medium

Also Published As

Publication number Publication date
CN111464353A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN111464353B (en) Block link point management method, device, computer and readable storage medium
US11693746B2 (en) Systems and methods for enabling a highly available managed failover service
CN110661658B (en) Node management method and device of block chain network and computer storage medium
CN111291060B (en) Method, device and computer readable medium for managing blockchain nodes
US11366728B2 (en) Systems and methods for enabling a highly available managed failover service
US20230037932A1 (en) Data processing method and apparatus based on blockchain network, and computer device
US11341005B2 (en) Systems and methods for enabling a highly available managed failover service
CN108683668B (en) Resource checking method, device, storage medium and equipment in content distribution network
CN110597918B (en) Account management method, account management device and computer readable storage medium
CN110602108B (en) Data communication method, device, equipment and storage medium based on block chain network
CN111447069B (en) Low-frequency access data processing method based on block chain
CN113595788B (en) API gateway management method and device based on plug-in
CN112612856B (en) Block chain-based data processing method and device
CN111461885A (en) Consensus network management method, device, computer and readable storage medium
CN112671908B (en) Network management method and device, electronic equipment and readable storage medium
CN111339183A (en) Data processing method, edge node, data center and storage medium
CN110808839A (en) Processing method, device, equipment and medium for block chain abnormal data
CN112671881A (en) Node organization management method and device, electronic equipment and readable storage medium
CN112200680B (en) Block link point management method, device, computer and readable storage medium
CN110708383B (en) Network connection method of block chain node and related equipment
CN117057913A (en) Block chain management method, device, computer, storage medium and program product
CN115842866A (en) Data processing method and device, computer readable medium and electronic equipment
CN110933155B (en) Novel block chain network
CN115375304A (en) Data processing method, device, equipment and medium based on block chain
CN115409506A (en) Block chain-based data processing method, related equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40026363

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant