CN111291060A - Method, device and computer readable medium for managing block chain nodes - Google Patents

Method, device and computer readable medium for managing block chain nodes Download PDF

Info

Publication number
CN111291060A
CN111291060A CN202010037114.9A CN202010037114A CN111291060A CN 111291060 A CN111291060 A CN 111291060A CN 202010037114 A CN202010037114 A CN 202010037114A CN 111291060 A CN111291060 A CN 111291060A
Authority
CN
China
Prior art keywords
consensus
node
common
attribute information
block
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.)
Granted
Application number
CN202010037114.9A
Other languages
Chinese (zh)
Other versions
CN111291060B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010037114.9A priority Critical patent/CN111291060B/en
Publication of CN111291060A publication Critical patent/CN111291060A/en
Application granted granted Critical
Publication of CN111291060B publication Critical patent/CN111291060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a method and a device for managing a block chain node, a computer readable medium and an electronic device. The method for managing the blockchain node comprises the following steps: acquiring a first common node group for performing common identification operation in a next common period after the common period and attribute information of the first common node group; generating a target block based on the attribute information of the first common node group; and issuing the target block to the block chain network, and updating the configuration information of the nodes by the block chain nodes in the block chain network according to the target block after the second consensus node group performing the consensus operation in the current consensus period agrees with the target block. According to the technical scheme of the embodiment of the application, the group formed by the common identification nodes is switched by dynamically adding and deleting the common identification nodes, and the safety and the high efficiency of node management in the block chain network are ensured.

Description

Method, device and computer readable medium for managing block chain nodes
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for managing a blockchain node, a computer-readable medium, and an electronic device.
Background
In the working process of the blockchain network, accounting is generally performed based on a workload certification mode, but a concept of consensus node switching is not provided, and even if the consensus nodes appear in other blockchain networks based on rights and interests certification and are used for accounting, the consensus nodes in the blockchain network cannot be guaranteed to be switched under the condition that accounting of the blockchain network is not interrupted, so that the consistency and effectiveness of data are threatened.
Disclosure of Invention
Embodiments of the present application provide a method, an apparatus, a computer-readable medium, and an electronic device for managing a blockchain node, so that security and efficiency of node management in a blockchain network can be ensured at least to a certain extent.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method for managing a blockchain node, including: acquiring a first common node group for performing common identification operation in a next common period after the current common period and attribute information of the first common node group; generating a target block based on the attribute information of the first common node group; and issuing the target block to a block chain network, and updating configuration information of nodes by block chain nodes in the block chain network according to the target block after a second consensus node group performing consensus operation in the current consensus period identifies the target block.
According to an aspect of an embodiment of the present application, there is provided a method for updating a blockchain node, including: acquiring a target block in a block chain network, wherein the target block comprises attribute information of a first consensus node group performing consensus operation in a next consensus period after the current consensus period; analyzing the target block to obtain attribute information in the target block; updating the configuration information of the block nodes based on the attribute information.
According to an aspect of an embodiment of the present application, there is provided an apparatus for managing a blockchain node, including: a first obtaining unit, configured to obtain a first common node group for performing common identification operation in a next common period after the current common period, and attribute information of the first common node group; a block unit, configured to generate a target block based on the attribute information of the first common node group; and the synchronization unit is used for issuing the target block to a block chain network, so that after a second consensus node group performing consensus operation in the current consensus period identifies the target block, the block chain nodes in the block chain network update the configuration information of the nodes according to the target block.
In some embodiments of the present application, based on the foregoing solution, the apparatus for managing a blockchain node further includes: a first determining unit, configured to determine whether a second common node in the second common node group is selected as a first common node based on attribute information of the first common node group in the target block; a first updating unit, configured to update configuration information of the second common node to information of the first common node group when the common period ends if the second common node is selected as the first common node.
In some embodiments of the present application, based on the foregoing solution, the apparatus for managing a blockchain node further includes: a second updating unit, configured to update the state of the second consensus node to a candidate state after the current consensus period ends and suspend the consensus service if the second consensus node is not selected as the first consensus node.
In some embodiments of the present application, based on the foregoing solution, the apparatus for managing a blockchain node further includes: a selecting unit, configured to select the first common node from the block link points; a first generating unit, configured to generate attribute information of the first common node group based on the information of the first common node.
In some embodiments of the present application, based on the foregoing solution, the selecting unit is configured to: and in a preset time period before the end of the consensus period, electing in the candidate nodes of the block chain network to obtain the first consensus node.
In some embodiments of the present application, based on the foregoing solution, the apparatus for managing a blockchain node further includes: a second generating unit for generating a virtual block having a block header containing attribute information bits; and the information acquisition unit is used for recording the acquired attribute information of the first common node group in the attribute information bit.
In some embodiments of the present application, based on the foregoing scheme, the block unit includes: a third generating unit, configured to generate the target block based on the attribute information of the first consensus node group at a height of a last block before the end of the current consensus period.
In some embodiments of the present application, based on the foregoing scheme, the block unit is configured to: and generating the target block based on a consensus node election proof in the attribute information, the node list of the first consensus node group and the expiration duration of the first consensus node in the next consensus period.
In some embodiments of the present application, based on the foregoing solution, the apparatus for managing a blockchain node is further configured to: consensus is performed on the data in the target block in the second consensus node; after consensus is achieved on the data in the target block, the target block is written to a blockchain ledger.
According to an aspect of an embodiment of the present application, there is provided an apparatus for updating a blockchain node, including: the block acquisition unit is used for acquiring a target block in a block chain network, wherein the target block comprises attribute information of a first consensus node group which performs consensus operation in a next consensus period after the current consensus period; the block analysis unit is used for analyzing the target block to obtain attribute information in the target block; and the information updating unit is used for updating the configuration information of the block nodes based on the attribute information.
In some embodiments of the present application, based on the foregoing scheme, the information updating unit is configured to: judging whether the target block is selected as a first common node or not based on the attribute information in the target block; if the node is selected as the first consensus node, updating the configuration information to the configuration of the consensus node when the current consensus period is finished, and starting the consensus service.
In some embodiments of the present application, based on the foregoing solution, the means for updating a blockchain node is further configured to: and checking whether the first common node in the first common node group is in compliance or not based on the expiration time of the first common node in the attribute information in the next common period, the number of the first common nodes, the node identification, the node list and the election proof.
According to an aspect of embodiments of the present application, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method of managing blockchain nodes or a method of updating blockchain nodes as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of managing blockchain nodes or a method of updating blockchain nodes as described in the above embodiments.
In the technical solutions provided in some embodiments of the present application, by obtaining attribute information of a first common node group in a next common period after the current common period, and generating a target block based on the attribute information, the target block is synchronized to each block chain node in a block chain network, so as to indicate each block chain node to update configuration information of the node based on common node information of the next common period in the attribute information in the target block. Under the condition of ensuring that the accounting of the block chain network is not interrupted, the group formed by the consensus nodes is switched by dynamically adding and deleting the consensus nodes, and the safety and the high efficiency of the node management in the block chain network are ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 schematically shows an alternative structure diagram of a distributed system applied to a blockchain system according to an embodiment of the present application;
FIG. 2 schematically illustrates an alternative schematic diagram of a tile structure according to an embodiment of the present application;
FIG. 3 schematically illustrates a flow diagram of a method of managing blockchain nodes according to one embodiment of the present application;
fig. 4 schematically shows a flow chart for generating attribute information of a first group of common nodes based on information of the first common nodes according to an embodiment of the present application;
FIG. 5 schematically shows a schematic diagram of a target block according to an embodiment of the present application;
FIG. 6 schematically shows a schematic diagram of recording attribute information according to an embodiment of the present application;
FIG. 7 is a diagram that schematically illustrates a second consensus node update state for a present consensus period, in accordance with an embodiment of the present application;
FIG. 8 schematically illustrates a flow diagram of a method of updating blockchain nodes according to one embodiment of the present application;
FIG. 9 schematically illustrates a flow diagram for updating configuration information for a block node based on attribute information according to one embodiment of the present application;
FIG. 10 schematically illustrates a diagram of updating a state of a node other than a second consensus node, according to an embodiment of the present application;
FIG. 11 schematically illustrates a block diagram of an apparatus for managing blockchain nodes according to one embodiment of the present application;
fig. 12 schematically shows a block diagram of an apparatus for updating a blockchain node according to an embodiment of the present application;
FIG. 13 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
The system related to the embodiment of the present application may be a distributed system formed by connecting a client 120 and a plurality of blockchain nodes 110 (any form of computing device in an access network, such as a server and a user terminal) through a network communication form.
Taking a distributed system as an example of a blockchain system, referring To fig. 1, fig. 1 is an optional structural schematic diagram of a distributed system 100 applied To a blockchain system, which is formed by a plurality of blockchain nodes (computing devices in any form in an access network, such as servers and user terminals) and clients, a Peer-To-Peer (P2P) network is formed between the blockchain nodes 110, and a P2P protocol is an application layer protocol operating on a Transmission Control Protocol (TCP) protocol. In a distributed system, any machine such as a server and a terminal can be added to form a blockchain node, and the blockchain node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
In one embodiment of the present application, there are some common nodes in the blockchain nodes, and these common nodes may be selected from blockchain nodes. In addition, the consensus node in this embodiment is not always a consensus node, and after the end of the current consensus period, a new batch of block link nodes become the consensus nodes.
Referring to the functions of each node in the blockchain system shown in fig. 1, the functions involved include:
1) routing, a basic function that block-linked points have, is used to support communication between block-linked points.
The block link point may have the following functions in addition to the routing function:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
2.2) sharing the account book, which is used for providing the functions of operations such as storage, inquiry and modification of account data, sending the record data of the operation on the account data to other nodes in the block chain system, and after the other nodes verify the account data to be valid, storing the record data into a temporary block as a response for acknowledging that the account data is valid, and also sending confirmation to the block chain node initiating the operation.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, the new blocks cannot be removed once being added into the Block chain, and the recorded data submitted by the Block chain nodes in the Block chain system are recorded in the blocks.
Referring to fig. 2, fig. 2 is an alternative diagram of a Block Structure 200(Block Structure) provided in this embodiment of the present application, where each Block includes a hash value 210 (hash value of this Block) of a transaction record stored in this Block, a hash value 220 of a previous Block, and data 230 stored therein, and the blocks are connected by the hash value to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 3 shows a flowchart of a method for managing blockchain nodes according to an embodiment of the present application, where the method for managing blockchain nodes may be performed by a computer device, and the computer device may be a consensus node in a current consensus period or an electronic device independent of a blockchain network.
Referring to fig. 3 and 4, the method for managing blockchain nodes at least includes steps S310 to S330, and further includes steps S410 to S420 before the process of acquiring the first common node group performing the common operation in the next common period after the current common period in step S310, which are described in detail as follows:
in step S410, the computer device selects a first common node from the block link points.
In an embodiment of the present application, before each consensus period is performed, a consensus node is selected from the block link points, in this embodiment, a consensus node in a next consensus period after the selected current consensus period is used as a first consensus node, and the first consensus node is used for performing a consensus operation in the next consensus period.
In an embodiment of the present application, the process of selecting the first common node from the block link points in step S410 includes the following steps:
and in a preset time period before the end of the consensus period, electing in the candidate nodes of the block chain network to obtain a first consensus node.
In an embodiment of the present application, the timing of selecting the first consensus node is within a preset time period before the end of the current consensus period, and in addition, the timing may be a fixed time in the operation process of the blockchain network, which is not limited herein.
In the process of selecting the first common node, the first common node is obtained by electing among candidate nodes of the block chain network. Specifically, in the selection process of the first consensus node, all the block chain nodes in the block chain network vote and select a certain number of node representatives from the candidate nodes, that is, the first consensus node, and the first consensus node acts on all the block chain nodes to confirm the block, perform accounting and maintain the ordered operation of the system.
For example, in the embodiment, the candidate node is a node that joins the block chain network after a certain right is mortgage, and when the tenure of each round of consensus nodes is about to end, a next round of consensus nodes generated from the candidate nodes needs to be elected to serve as a consensus committee, so that after the tenure is ended, the next consensus node composed of the first consensus nodes is elected to connect the block chain accounting right of the block chain.
Further, the block link point in this embodiment may have the right to strike the node at any time. If necessary, all the nodes can make the existing node representative lose the representative qualification by voting, and a new consensus node is elected again, so that the real-time node fairness and the data security are realized.
In step S420, the computer device generates attribute information of the first common node group based on the information of the first common node.
In an embodiment of the application, after the first common node is determined, information of the first common node is acquired, and attribute information of the first common node group is generated based on the information of the first common node.
In this embodiment, the attribute information of the first common node group is used to construct the target block based on the attribute information, and synchronize the attribute information of the first common node group to other blockchain nodes in the blockchain network in a block form, so that the other blockchain nodes update their current node attributes based on the attribute information.
The attribute information of the first common node group in this embodiment may include a node identifier of the first common node, a node address, a total number of nodes, configuration information of the first common node group, and the like, which is not limited herein.
In addition, the target block may further include newly generated committee information, related election certification, new configuration information, and the like, which is not limited herein.
It should be noted that, in the embodiment of the present application, the first common node is selected to participate in all the block chain nodes in the block chain network, and the attribute information for generating the first common node group may be generated by a certain block chain node therein, or may be generated in each block chain node.
In step S310, the computer device obtains a first common node group performing a common identification operation in a next common identification period after the current common identification period, and attribute information of the first common node group.
In an embodiment of the present application, a first common node group and attribute information thereof of a first common period are obtained.
It should be noted that the main body of the step may be a second consensus node of the current consensus period, or may be an external device of the block chain network, such as a server, an upper computer, and the like, which is not limited herein.
If the execution main body is the second consensus node, the attribute information can be acquired in a mode of synchronizing data in the block link points; if the execution main body is an external device of the block chain network, the attribute information may be obtained in a wired or wireless manner, which is not limited herein.
Referring to fig. 6, in an embodiment of the present application, after the process of acquiring the first common node group for performing the common identification operation in the next common identification period after the current common identification period and the attribute information of the first common node group in step S310, steps S610 to S620 are included, and the following detailed description is provided:
in step S610, a virtual block with a block header containing attribute information bits is generated.
Fig. 5 is a schematic diagram of a target block according to an embodiment of the present disclosure.
As shown in fig. 5, in an embodiment of the present application, after the attribute information is acquired, a target block containing the attribute information is generated. Before generating the target block, a virtual block 500 is constructed, and the attribute information bits 510, the data bits 520, the previous block hash bits 530, and the local block hash bits 540 are set in the block header of the virtual block. The attribute information bit 510 is used to record the acquired attribute information 550 of the first common node group; bit 520 is used to store data for each blockchain node; the previous chunk hash bit 530 is used to record the hash of the adjacent previous chunk chain node; the local chunk hash bit 540 is used to record the hash of the local chunk.
In step S620, the acquired attribute information of the first common node group is recorded in the attribute information bit.
In one embodiment of the present application, after the virtual block is generated and the attribute information is written into the virtual block, the acquired attribute information 550 of the first common node group is recorded based on the attribute information bits 510 in the virtual block.
For example, the attribute information 550 may be recorded in the attribute information bit 510 by real-time acquisition and real-time recording, or by real-time acquisition and recording at a set time period, which is not limited herein.
In an embodiment of the present application, the process of generating the target block based on the attribute information of the first common node group in step S320 includes the following steps:
and generating a target block at the height of the last block before the end of the consensus period based on the attribute information of the first consensus node group.
In an embodiment of the present application, before the end of the consensus period, when the block height is switched to the last block height, the target block is generated based on the attribute information of the first consensus node group.
In an embodiment of the present application, the process of generating the target block based on the attribute information of the first common node group in step S320 includes the following steps:
and generating a target block based on the consensus node election certificate in the attribute information, the node list of the first consensus node group and the expiration time of the first consensus node in the next consensus period.
In an embodiment of the present application, during data processing, when the height of the last block of the current due period is switched to, a special block, i.e. a virtual block, is constructed by the node of the block, and the block does not contain a transaction, and the consensus node election certificate in the attribute information, the node list of the first consensus node group, and the due period duration of the first consensus node in the next due period are written into the target block.
In an embodiment of the present application, the expiration time of each round of the common identification period may be a random time length, may be different, or may be the same, and in this embodiment, the expiration time of the next common identification period is written into the target block, so as to ensure that the first common identification node can operate based on the expiration time, and instruct other block chain nodes in the block chain network to supervise the operation of the first common identification node based on the expiration time.
In an embodiment of the present application, before the process of issuing the target tile to the blockchain network in step S330, the method includes the following steps:
performing consensus on the data in the target block in a second consensus node;
after consensus is achieved for the data in the target block, the target block is written to the blockchain ledger.
In an embodiment of the present application, after the target block is generated, the block exit node of the target block is generated to sign the target block, and perform consensus in the current second consensus node, so as to write a special block into the block chain ledger after achieving consensus, thereby achieving the purpose of data recording.
In step S330, the target block is distributed to the block chain network, and after the second common node group performing the common identification operation in the common identification period identifies the target block, the block chain nodes in the block chain network update the configuration information of the nodes according to the target block.
In one embodiment of the present application, after the target block is generated, the target block is published to the blockchain network, all nodes in the blockchain network receive the target block, and update their current configuration information based on the information in the target block.
In an embodiment of the present application, the method for managing blockchain nodes of this embodiment further includes the following steps:
judging whether a second common node in a second common node group is selected as a first common node or not based on the attribute information of the first common node group in the target block;
and if the second consensus node is selected as the first consensus node, updating the configuration information of the second consensus node into the information of the first consensus node group when the consensus period is finished.
Fig. 7 is a schematic diagram of an update state of a second consensus node in the current consensus period according to the embodiment of the present application.
As shown in fig. 7, when the current consensus period 710 is performed, the second consensus node 711 acquires the attribute information of the first consensus node group and determines whether the first consensus node is selected. If the second consensus node 711 is selected as the first consensus node 721, at the end of the current consensus period 710, the configuration information of the second consensus node is updated to the information of the first consensus node group, i.e. when the next consensus period 720 is reached, the accounting operation is still performed with the identity of the first consensus node 721.
Referring to fig. 7 again, if the second consensus node 711 is not selected as the first consensus node, after the current consensus period 710 is finished, the status of the second consensus node is updated to a candidate status, and the consensus service is suspended. Or at the next consensus cycle 720, perform data processing tasks with the identity of the normal chunk link point 722.
According to the scheme, the first common node of the next common period is selected from the candidate nodes in the block chain network, the attribute information of the first common node group is generated based on the information of the first common node, the target block is generated based on the attribute information, the target block is synchronized to the block chain link point in the block chain network after the second common node of the current period performs common identification on the target block, so that the second common node can check whether the second common node is in the first common node of the next common period or not based on the attribute information in the target block, and the node state is updated according to the checking result. Under the condition of ensuring that the accounting of the blockchain network is not interrupted, the embodiment not only ensures the safety and the high efficiency of node management in the blockchain network through the consensus committee formed by dynamically adding and deleting the consensus nodes and switching the consensus nodes.
Fig. 8 is a flowchart illustrating a method for updating blockchain nodes according to an embodiment of the present application, where the method for updating blockchain nodes may be performed by a computer device, and the computer device may be another blockchain node in the blockchain network except for a current consensus node in the current consensus period. Referring to fig. 8, the method for updating a blockchain node at least includes steps S810 to S830, which are described in detail as follows:
in step S810, a target block in the blockchain network is obtained, where the target block includes attribute information of a first common node group performing a common operation in a next common period after the current common period.
In an embodiment of the present application, the obtaining of the target block in the blockchain network may be performed in a block synchronization manner. In this embodiment, the target block is generated based on information of a first common node in a next common period, where the next common period is a period after the current common period, the common node in the current period is a second common node, and the common node in the next common period is the first common node.
In an embodiment of the present application, the attribute information of the first common node group may include a node identifier of the first common node, a node address, a total number of nodes, configuration information of the first common node group, and the like. In addition, the target block may further include newly generated committee information, related election certification, configuration information, and the like, which is not limited herein.
In step S820, the target block is analyzed to obtain attribute information in the target block.
In an embodiment of the present application, after the target block is obtained, the target block is analyzed to obtain attribute information in the target block.
In this embodiment, the method of analyzing the target block corresponds to the method of generating the target block. For example, if the attribute information is written in the block header of the target block when the target block is generated, the block header data may be directly analyzed to obtain the attribute information in the target block.
In step S830, the configuration information of the block nodes is updated based on the attribute information.
In an embodiment of the present application, after obtaining the attribute information of the target block, it is determined whether the target block is selected as the first common node of the next common node cycle based on information such as a node identifier in the attribute information, and the configuration information of the block node is updated according to the determination result.
In an embodiment of the present application, as shown in fig. 9, the process of updating the configuration information of the block nodes in step S830 based on the attribute information includes steps S910 to S920, which are described in detail as follows:
in step S910, it is determined whether the first common node is selected based on the attribute information in the target block.
In an embodiment of the present application, the attribute information includes a node identifier, a node address, a total number of nodes, configuration information of the first common node group, a relevant election proof, and the like. The nodes in the block chain network can search whether the nodes are in the first common node or not according to the attribute information.
Illustratively, a node in the blockchain network searches whether its own node identifier appears in the node identifiers in the attribute information according to the node identifiers in the attribute information, and if the node identifier appears in the node identifiers in the attribute information, it indicates that the node is selected as the first common node.
In step S920, if the node is selected as the first consensus node, the configuration information is updated to the configuration of the consensus node when the current consensus period is over, and the consensus service is started.
In an embodiment of the present application, when determining whether to be selected as the first consensus node based on the attribute information, if the first consensus node is selected, the configuration information is updated to the configuration of the consensus node when the current consensus period is finished, and the consensus service is started; if the node is not selected as the first common node, the state is not updated, and the common block in the block chain network is monitored in real time.
Fig. 10 is a schematic diagram of updating states of nodes other than the second common node according to an embodiment of the present disclosure.
As shown in fig. 10, in an embodiment of the present application, in the blockchain network of the present consensus period 1010, there are two common nodes 1011 and 1012, when the two common nodes respectively determine whether to be selected as the first consensus node based on the attribute information, the node 1011 is selected as the first consensus node, and when the present consensus period ends, the configuration information is updated to the configuration of the consensus node, that is, when the next consensus node period 1020 starts, the identity information is updated to the first consensus node 1020, and the consensus service is started.
For example, the consensus service of the present embodiment may include block chain accounting, and the like, which is not limited herein.
Referring again to fig. 10, if node 1012 is not selected as the first common node, the status is not updated, and the original status is still maintained at the beginning of the next common node period 1020, i.e. the common node 1022, and the common node blocks in the blockchain network are monitored in real time.
In one embodiment of the present application, the method of updating a blockchain node may further include the steps of:
and checking whether the first common node in the first common node group is in compliance or not based on the expiration time of the first common node in the attribute information in the next common period, the number of the first common nodes, the node identification, the node list and the election proof.
In an embodiment of the present application, at the beginning of the next consensus period until the end of the next consensus period, the common node in the block chain may perform a check on the first consensus node in the next consensus period based on the attribute information.
In an embodiment of the application, a specific checking manner may be based on the expiration time in the attribute information, the number of the first common node, the node identifier, the node list, and the election proof, to determine whether the information of the current first common node is consistent with the attribute information, if so, the checking is passed, and if not, a full-network notification or an early warning may be performed, which is not limited herein.
In an embodiment of the present application, when the block link node checks the first common node, the check content may include identity information, working content, a data processing result, and the like of the first common node, which is not limited herein.
In one embodiment of the present application, the change of the consensus node is notified by means of the blockchain consensus, the consensus committee that is intended to be composed of the current due consensus node selects the next due consensus committee before the due period expires, and the current due consensus committee necessarily notifies the node that is selected to be the next due consensus committee to switch to the next due period without interrupting the accounting of the blockchain network, and the node is accounted by the next due consensus committee.
Embodiments of the apparatus of the present application are described below, which may be used to perform the method for managing blockchain nodes in the above embodiments of the present application. It will be appreciated that the apparatus may be a computer program (comprising program code) running on a computer device, for example an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for managing blockchain nodes described above in the present application.
Fig. 11 shows a block diagram of an apparatus for managing blockchain nodes according to an embodiment of the present application.
Referring to fig. 11, an apparatus 1100 for managing blockchain nodes according to an embodiment of the present application includes:
a first obtaining unit, configured to obtain a first common node group for performing common identification operation in a next common period after the current common period, and attribute information of the first common node group;
the block unit is used for generating a target block based on the attribute information of the first common node group;
and the synchronization unit is used for releasing the target block to the block chain network, and updating the configuration information of the nodes by the block chain nodes in the block chain network according to the target block after the second common node group performing the common identification operation in the common identification period identifies the target block.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1100 for managing blockchain nodes further includes:
a first determining unit, configured to determine whether a second common node in a second common node group is selected as a first common node based on attribute information of the first common node group in the target block;
a first updating unit, configured to update the configuration information of the second common node to the information of the first common node group when the common period ends if the second common node is selected as the first common node.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1100 for managing blockchain nodes further includes:
and a second updating unit, configured to update the state of the second consensus node to a candidate state after the current consensus period ends and suspend the consensus service if the second consensus node is not selected as the first consensus node.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1100 for managing blockchain nodes further includes:
a selecting unit, configured to select a first common node from the block link points;
and the first generation unit is used for generating the attribute information of the first common node group based on the information of the first common node.
In some embodiments of the present application, based on the foregoing scheme, the selecting unit is configured to:
and in a preset time period before the end of the consensus period, electing in the candidate nodes of the block chain network to obtain a first consensus node.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1100 for managing blockchain nodes further includes:
a second generating unit for generating a virtual block having a block header containing attribute information bits;
and the information acquisition unit is used for recording the acquired attribute information of the first common node group in the attribute information bit.
In some embodiments of the present application, based on the foregoing scheme, the block unit includes:
and the third generating unit is used for generating a target block at the height of the last block before the end of the consensus period based on the attribute information of the first consensus node group.
In some embodiments of the present application, based on the foregoing scheme, the block unit includes:
and generating a target block based on the consensus node election certificate in the attribute information, the node list of the first consensus node group and the expiration time of the first consensus node in the next consensus period.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1100 for managing blockchain nodes further includes:
performing consensus on the data in the target block in a second consensus node;
after consensus is achieved for the data in the target block, the target block is written to the blockchain ledger.
Embodiments of the apparatus of the present application are described below, which may be used to perform the method for updating blockchain nodes in the above embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for updating blockchain nodes described above in the present application.
Fig. 12 shows a block diagram of an apparatus 1200 for updating a blockchain node according to an embodiment of the present application. It will be appreciated that the apparatus may be a computer program (comprising program code) running on a computer device, for example an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application.
A block obtaining unit 1210, configured to obtain a target block in a block chain network, where the target block includes attribute information of a first consensus node group performing a consensus operation in a next consensus period after the current consensus period;
a block analyzing unit 1220, configured to analyze the target block to obtain attribute information in the target block;
an information updating unit 1230 is configured to update the configuration information of the block nodes based on the attribute information.
In some embodiments of the present application, based on the foregoing scheme, the information updating unit 1230 is configured to:
judging whether the target block is selected as a first common node or not based on the attribute information in the target block;
if the node is selected as the first consensus node, updating the configuration information into the configuration of the consensus node when the current consensus period is finished, and starting the consensus service.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1200 for updating a blockchain node is further configured to:
and checking whether the first common node in the first common node group is in compliance or not based on the expiration time of the first common node in the attribute information in the next common period, the number of the first common nodes, the node identification, the node list and the election proof.
FIG. 13 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 1300 of the electronic device shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 13, a computer system 1300 includes a processor (CPU) 1301 that can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1302 or a program loaded from a storage portion 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for system operation are also stored. The CPU 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An Input/Output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input portion 1306 including a keyboard, a mouse, and the like; an output section 1307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage portion 1308 including a hard disk and the like; and a communication section 1309 including a network interface card such as a LAN (Local area network) card, a modem, or the like. The communication section 1309 performs communication processing via a network such as the internet. A drive 1310 is also connected to the I/O interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1110 as necessary, so that a computer program read out therefrom is mounted into the storage section 1108 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the removable medium 1111. When the computer program is executed by a Central Processing Unit (CPU)1101, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by a processor of the electronic device, cause the electronic device to implement the method described in the embodiments above.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A method of managing blockchain nodes, comprising:
acquiring a first common node group for performing common identification operation in a next common period after the current common period and attribute information of the first common node group;
generating a target block based on the attribute information of the first common node group;
and issuing the target block to a block chain network, and updating configuration information of nodes by block chain nodes in the block chain network according to the target block after a second consensus node group performing consensus operation in the current consensus period identifies the target block.
2. The method of claim 1, further comprising:
judging whether a second common node in a second common node group is selected as a first common node or not based on the attribute information of the first common node group in the target block;
if the second consensus node is selected as the first consensus node, updating the configuration information of the second consensus node to the information of the first consensus node group when the consensus period is finished.
3. The method of claim 2, further comprising:
and if the second consensus node is not selected as the first consensus node, updating the state of the second consensus node into a candidate state after the current consensus cycle is ended, and suspending the consensus service.
4. The method of claim 1, wherein before obtaining the first common node group that performs the common identification operation in the next common identification period after the current common identification period and the attribute information of the first common node group, the method further comprises:
selecting the first common node from the block chain link points;
generating attribute information of the first common node group based on the information of the first common node.
5. The method of claim 4, wherein selecting the first common node from the block link points comprises:
and in a preset time period before the end of the consensus period, electing in the candidate nodes of the block chain network to obtain the first consensus node.
6. The method of claim 1, wherein after acquiring the first common node group that performs the common identification operation in the next common identification period after the current common identification period and the attribute information of the first common node group, the method further comprises:
generating a virtual block with a block header containing attribute information bits;
and recording the acquired attribute information of the first common node group in the attribute information bit.
7. The method of claim 1, wherein generating a target block based on the attribute information of the first group of common nodes comprises:
and generating the target block at the height of the last block before the end of the consensus period based on the attribute information of the first consensus node group.
8. The method of claim 1, wherein generating a target block based on the attribute information of the first group of common nodes comprises:
and generating the target block based on a consensus node election proof in the attribute information, the node list of the first consensus node group and the expiration duration of the first consensus node in the next consensus period.
9. The method of claim 1, wherein prior to publishing the target tile into a network of blockchains, further comprising:
consensus is performed on the data in the target block in the second consensus node;
after consensus is achieved on the data in the target block, the target block is written to a blockchain ledger.
10. A method of updating blockchain nodes, comprising:
acquiring a target block in a block chain network, wherein the target block comprises attribute information of a first consensus node group performing consensus operation in a next consensus period after the current consensus period;
analyzing the target block to obtain attribute information in the target block;
updating the configuration information of the block nodes based on the attribute information.
11. The method of claim 10, wherein updating the configuration information of the blockchain nodes based on the attribute information comprises:
judging whether the target block is selected as a first common node or not based on the attribute information in the target block;
if the node is selected as the first consensus node, updating the configuration information to the configuration of the consensus node when the current consensus period is finished, and starting the consensus service.
12. The method of claim 10, further comprising:
and checking whether the first common node in the first common node group is in compliance or not based on the expiration time of the first common node in the attribute information in the next common period, the number of the first common nodes, the node identification, the node list and the election proof.
13. An apparatus for managing blockchain nodes, comprising:
a first obtaining unit, configured to obtain a first common node group for performing common identification operation in a next common period after the current common period, and attribute information of the first common node group;
a block unit, configured to generate a target block based on the attribute information of the first common node group;
and the synchronization unit is used for issuing the target block to a block chain network, so that after a second consensus node group performing consensus operation in the current consensus period identifies the target block, the block chain nodes in the block chain network update the configuration information of the nodes according to the target block.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of managing blockchain nodes according to any one of claims 1 to 9 or the method of updating blockchain nodes according to any one of claims 10 to 12.
15. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of managing blockchain nodes of any one of claims 1 to 9 or the method of updating blockchain nodes of any one of claims 10 to 12.
CN202010037114.9A 2020-01-14 2020-01-14 Method, device and computer readable medium for managing blockchain nodes Active CN111291060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010037114.9A CN111291060B (en) 2020-01-14 2020-01-14 Method, device and computer readable medium for managing blockchain nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010037114.9A CN111291060B (en) 2020-01-14 2020-01-14 Method, device and computer readable medium for managing blockchain nodes

Publications (2)

Publication Number Publication Date
CN111291060A true CN111291060A (en) 2020-06-16
CN111291060B CN111291060B (en) 2023-10-27

Family

ID=71030671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010037114.9A Active CN111291060B (en) 2020-01-14 2020-01-14 Method, device and computer readable medium for managing blockchain nodes

Country Status (1)

Country Link
CN (1) CN111291060B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040015A (en) * 2020-11-06 2020-12-04 腾讯科技(深圳)有限公司 Consensus node list generation method and related device
CN112200680A (en) * 2020-12-03 2021-01-08 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN112256305A (en) * 2020-11-04 2021-01-22 暗链科技(深圳)有限公司 Block chain software updating method and system
CN112398956A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112822267A (en) * 2021-01-05 2021-05-18 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain
CN112954009A (en) * 2021-01-27 2021-06-11 咪咕音乐有限公司 Block chain consensus method, device and storage medium
CN113179320A (en) * 2021-04-27 2021-07-27 顶象科技有限公司 Storage method and device for public letter files
CN113256297A (en) * 2021-07-02 2021-08-13 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN113919846A (en) * 2021-12-15 2022-01-11 腾讯科技(深圳)有限公司 Block link point dynamic grouping method and device, computer equipment and storage medium
WO2022095778A1 (en) * 2020-11-06 2022-05-12 深圳前海微众银行股份有限公司 Attribute value-based blockchain consensus method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246179A (en) * 2018-06-30 2019-01-18 华为技术有限公司 Safeguard method and apparatus, server and the computer readable storage medium of block chain
US20190342078A1 (en) * 2017-02-17 2019-11-07 Alibaba Group Holding Limited Blockchain system and data storage method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190342078A1 (en) * 2017-02-17 2019-11-07 Alibaba Group Holding Limited Blockchain system and data storage method and apparatus
CN109246179A (en) * 2018-06-30 2019-01-18 华为技术有限公司 Safeguard method and apparatus, server and the computer readable storage medium of block chain

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256305B (en) * 2020-11-04 2022-05-10 暗链科技(深圳)有限公司 Block chain software updating method and system
CN112256305A (en) * 2020-11-04 2021-01-22 暗链科技(深圳)有限公司 Block chain software updating method and system
CN112040015A (en) * 2020-11-06 2020-12-04 腾讯科技(深圳)有限公司 Consensus node list generation method and related device
WO2022095778A1 (en) * 2020-11-06 2022-05-12 深圳前海微众银行股份有限公司 Attribute value-based blockchain consensus method and device
CN112200680A (en) * 2020-12-03 2021-01-08 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN112200680B (en) * 2020-12-03 2021-03-05 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN113162971B (en) * 2020-12-03 2022-07-22 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN113162971A (en) * 2020-12-03 2021-07-23 腾讯科技(深圳)有限公司 Block link point management method, device, computer and readable storage medium
CN112822267A (en) * 2021-01-05 2021-05-18 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain
CN112398956A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112398956B (en) * 2021-01-20 2021-04-13 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112954009A (en) * 2021-01-27 2021-06-11 咪咕音乐有限公司 Block chain consensus method, device and storage medium
CN113179320A (en) * 2021-04-27 2021-07-27 顶象科技有限公司 Storage method and device for public letter files
CN113256297A (en) * 2021-07-02 2021-08-13 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN113919846A (en) * 2021-12-15 2022-01-11 腾讯科技(深圳)有限公司 Block link point dynamic grouping method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111291060B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN111291060B (en) Method, device and computer readable medium for managing blockchain nodes
CN110599173B (en) Block chain consensus node determination method, device, equipment and storage medium
CN112527912B (en) Data processing method and device based on block chain network and computer equipment
CN112291372B (en) Asynchronous posting method, device, medium and electronic equipment for block chain
CN110673938B (en) Task processing method, system, server and storage medium
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN109995737B (en) Decentralized digital certificate management method and device, node and system
CN111311211A (en) Data processing method and device based on block chain
CN110599144B (en) Network access method and device for blockchain nodes
CN112995357B (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN111858751A (en) Data storage method and device based on block chain
CN110866289A (en) Data processing method and device based on block chain, server and storage medium
KR20190078668A (en) Apparatus and Methods for Verifiable Lottery
CN111833190A (en) Annuity data processing method, device, medium and electronic equipment
CN112231755A (en) Data authorization method, device and system based on block chain
CN111274597A (en) Data processing method and equipment
CN110599384A (en) Organization relation transfer method, device, equipment and storage medium
CN112417052B (en) Data synchronization method, device, equipment and storage medium in block chain network
CN112231414B (en) Data synchronization method and device of block chain system, readable medium and electronic equipment
CN116112506A (en) Transaction information processing method, device, medium and equipment based on alliance chain system
CN112200680B (en) Block link point management method, device, computer and readable storage medium
CN112181599B (en) Model training method, device and storage medium
CN112926981B (en) Transaction information processing method, device and medium for block chain and electronic equipment

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: 40024845

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