CN112398908B - Block chain network node deleting method, system, storage medium and device - Google Patents

Block chain network node deleting method, system, storage medium and device Download PDF

Info

Publication number
CN112398908B
CN112398908B CN202011125803.1A CN202011125803A CN112398908B CN 112398908 B CN112398908 B CN 112398908B CN 202011125803 A CN202011125803 A CN 202011125803A CN 112398908 B CN112398908 B CN 112398908B
Authority
CN
China
Prior art keywords
node
deleting
information
sequencing
organization
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
CN202011125803.1A
Other languages
Chinese (zh)
Other versions
CN112398908A (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.)
Hangzhou Yunxiang Network Technology Co Ltd
Original Assignee
Hangzhou Yunxiang Network 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 Hangzhou Yunxiang Network Technology Co Ltd filed Critical Hangzhou Yunxiang Network Technology Co Ltd
Priority to CN202011125803.1A priority Critical patent/CN112398908B/en
Publication of CN112398908A publication Critical patent/CN112398908A/en
Application granted granted Critical
Publication of CN112398908B publication Critical patent/CN112398908B/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
    • 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
    • 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
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention discloses a block chain network node deleting method and a system, and the specific implementation steps comprise: the deleting node is completed by setting an intelligent contract, and meanwhile, the intelligent contract is triggered to update information of the database in the node deleting process, and the specific design steps comprise: and (3) deleting the user node: deleting the user node container; deleting the sequencing node: firstly, deleting a sequencing node container; then, the relevant configuration information in the configuration block is deleted on the block chain. The invention realizes a method and a system for deleting the block chain network nodes, and the method can realize a high-efficiency node deleting process.

Description

Block chain network node deleting method, system, storage medium and device
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a method, a system, a storage medium and a device for deleting network nodes of a block chain.
Background
The block chain is a novel application mode of distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm computer technology, is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, is guaranteed to be untrustable and untrustworthy in a cryptographic mode, and has the characteristics of decentralization, openness, untrustable information and the like. The block chain is mainly divided into a public chain, a alliance chain and a private chain. The alliance chain is a block chain type commonly used among alliance organizations, and serves as an infrastructure platform for data exchange among the alliance organizations, namely, a trading platform is provided for all alliance organization members, and all organizations realize trading processes on the alliance block chain. With the application and popularization of a alliance chain, various technologies are gradually improved, block chain link points face the situation of needing to be added or deleted, an efficient method is needed in the aspect of node deletion at present, and some existing schemes are low in efficiency and cannot adapt to a network with dynamically changed block chains.
Patent CN2019103148198, a block chain visualized node organization and configuration management method, discloses a block chain visualized organization and configuration management method, which provides a block chain link point (peer node, orderer node) organization and configuration interface, and the management function of the block chain nodes in the same time zone can be operated by the method through actions of adding nodes, revoking nodes, configuring user users under node organization and the like through an integrated page, and the node addition, revoking and configuration nodes also need to be operated manually.
Patent No. CN2019108387335 "method for deleting node in blockchain network and blockchain system" discloses a method for deleting node in blockchain network and blockchain system, where the method includes: a first consensus node in the block chain network receives a transaction request of a deleting node and initiates consensus aiming at the transaction request of the deleting node; after the consensus is achieved, the consensus node executes the transaction of the deletion node so as to sequentially number the rest consensus nodes except the nodes to be deleted; the consensus node initiates view switching; and after the view switching is finished, the residual nodes participate in the consensus process of the block chain. This method of deleting nodes is implemented by commonly recognizing illegal and switching views, and its efficiency and range of use have certain limitations.
In response, there is a need to provide a new method for blockchain network node deletion.
Disclosure of Invention
Based on the above background and the problems in the prior art, the present invention proposes to design a method for deleting a network node of a block chain, which can improve the efficiency of deleting the node of the block chain. The scheme of the invention realizes an efficient automatic node deleting process of the block chain by combining the interaction of the intelligent contract and the database.
In order to achieve these objects and other advantages of the present invention, a method for deleting nodes in a blockchain network is provided, where the deleting nodes include a node adding process and a node deleting process, the node adding and deleting process is completed by setting an intelligent contract, and meanwhile, the method further includes triggering the intelligent contract to update information of a database in the node deleting process, and the specific design implementation steps include:
(A) Deleting the user node: deleting the user node container; the deleting user node deletes the corresponding user node through the user node name, wherein the corresponding node is the node of the local organization, and the local organization is the added organization of the deleting node; after the user node is deleted successfully, other organizations can update the node routing information of the other organizations when acquiring the information;
(B) Deleting the sequencing node: firstly, deleting a sequencing node container; then, the relevant configuration information in the configuration blocks on the block chain is deleted. Deleting the corresponding sequencing node by the deleting sequencing node through a sequencing node name, wherein the corresponding node is a sequencing node of the local organization, and the local organization is an organization added with the sequencing node by the deleting node; the sequencing node can only delete one at a time.
Further, the deleting the user node further includes:
verifying whether a corresponding user node can be deleted, wherein the corresponding user node is an added user node and cannot be a No. 0 user node, and the No. 0 user node is an initialization user node;
revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data;
deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files;
deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned;
deleting related node information in an organization on a public chain, wherein the related node is a deleted user node, and other organizations update own routing information and delete the routing information of the user node when acquiring the information;
and deleting the user node information in the database.
Further, the step of specifically implementing the deletion of the sorting node further includes:
checking whether the sequencing node needing to be deleted really exists or not, wherein the sequencing node is an added sequencing node, and the real existence is really existing in the block chain network;
acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization;
deleting the container of the sequencing node; deleting the container of the sequencing node further comprises deleting certificate information, deleting service, deleting an instance, deleting a file saved during initialization and account book data generated on a subsequent block chain and saved to the local.
Updating and deleting the configuration blocks related to the sequencing nodes;
deleting the related routing information;
deleting the sequencing node information in the organization information on the public chain;
and deleting the sequencing node information in a database, wherein the database is a local database.
Further, the specific implementation step of updating and deleting the configuration block related to the sorting node includes:
deleting the address information and the consensus node information corresponding to the sequencing node on the configuration block;
signing the configuration block;
broadcasting the configuration block onto a blockchain.
On the other hand, the invention provides a block chain deleting node system, which specifically comprises the following components:
adding a user node module: the system is used for applying for a certificate and synchronizing account book data from the sequencing node;
a user node deleting module: the method is used for deleting the user node container, and specifically further comprises the following steps: verifying whether the corresponding user node can be deleted; revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data; deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files; deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned; deleting the relative node information in the organization on the public chain, and updating the routing information of other organizations and deleting the routing information of the user node when the other organizations acquire the information; and deleting the user node information in the database.
A sequencing node deletion module: the method is used for deleting the related configuration information in the configuration blocks on the sequencing node container and the block chain, and further comprises the following steps: checking whether the sequencing node needing to be deleted really exists or not; acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization; deleting the container of the sequencing node; updating and deleting the configuration blocks related to the sequencing nodes, and deleting the related configuration information in the configuration blocks on the block chain; deleting the related routing information; deleting the sequencing node information in the organization information on the public chain; and deleting the sequencing node information in the database.
The node deleting intelligent contract module: the intelligent contract management system is used for managing and maintaining the intelligent contracts related to the added nodes, realizing the triggering and calling of the intelligent contracts and the installation, deployment and instantiation of related intelligent contract configuration modules; for implementing the method steps of any one of the above when executed by a processor;
the node deletes the database module: the method is used for storing various information related to the node addition in the node addition method step. The database is a local database.
In a third aspect, the invention proposes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method and steps of any of the above.
In a fourth aspect, the present invention provides a blockchain deletion node apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor can implement the method and steps of any one of the above items when executing the computer program.
The invention at least comprises the following beneficial effects: the invention designs and realizes a method for automatically deleting user nodes and sequencing nodes, wherein the automatic deletion is realized by setting a triggering intelligent contract, the process of triggering the intelligent contract also comprises the interaction with a database, the stability of block chain (alliance chain) whole network related organization and node data in the real-time synchronization and updating process is ensured, and the information updating of the block chain nodes is automatically maintained through the intelligent contract, so that the process of efficiently deleting the nodes by the block chain is realized. Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts, and the contents of the drawings of the present invention as embodiments of the present invention fall into the protection scope of the present invention.
FIG. 1 is a flow chart of an implementation of deleting a user node according to the present invention;
FIG. 2 is a flow chart of an implementation of deleting a sequencing node according to the present invention.
Detailed Description
In order to clearly illustrate the present invention and make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, so that those skilled in the art can implement the technical solutions in reference to the description text. The technology of the present invention will be described in detail with reference to the accompanying drawings.
The invention realizes a design method for automatically deleting nodes of a block chain, wherein the deleted nodes comprise a node adding process and a node deleting process, the node adding and deleting process is completed by setting an intelligent contract, and meanwhile, the method also comprises the step of triggering the intelligent contract to update information of a database (for example, a CouchDB database) in the node deleting process, and the specific implementation steps comprise:
detailed description of the preferred embodiment 1
Step1: fig. 1 shows an implementation form of deleting a user node according to the present invention, which is implemented by deleting a user node container; the deleting user node deletes the corresponding user node through the user node name, wherein the corresponding user node is the user node added by the organization; after the user node is deleted successfully, other organizations can update the node routing information of the other organizations when acquiring the information; the deleting user node further comprises:
s11: verifying whether a corresponding user node can be deleted, wherein the corresponding user node is an added user node and cannot be a No. 0 user node, and the No. 0 user node is an initialization user node;
s12: revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data;
s13: deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files;
s14: deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned;
s15: deleting related node information in an organization on a public chain, wherein the related node is a deleted user node, and other organizations update own routing information and delete the routing information of the user node when acquiring the information;
s16: and deleting the user node information in the database.
Specific example 2
Step2: fig. 2 shows an implementation form of deleting a sorting node according to the present invention, which mainly includes: firstly, deleting a sequencing node container; then, the relevant configuration information in the configuration blocks on the block chain is deleted. Deleting the corresponding sequencing node by the deleting sequencing node through a sequencing node name, wherein the corresponding node is a sequencing node of the local organization, and the local organization is an organization added with the sequencing node by the deleting node; the sequencing nodes can only delete one at a time; the specific implementation step of deleting the sequencing node further comprises:
s21: checking whether the sequencing node needing to be deleted really exists or not, wherein the sequencing node is an added sequencing node, and the real existence is really existing in the block chain network;
s22: acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization;
s23: deleting the container of the sequencing node; deleting the container of the sequencing node further comprises deleting certificate information, deleting service, deleting an instance, deleting a file stored during initialization and account book data generated on a subsequent block chain and stored to the local;
s24: updating and deleting the configuration blocks related to the sequencing nodes; the specific implementation steps for updating and deleting the configuration blocks related to the sequencing nodes comprise:
s241: deleting the address information and the consensus node information corresponding to the sequencing node on the configuration block;
s242: signing the configuration block;
s243: broadcasting the configuration block onto a blockchain.
S25: deleting the related routing information;
s26: deleting the sequencing node information in the organization information on the public chain;
s27: and deleting the sequencing node information in a database, wherein the database is a local database.
Specific example 3
The embodiment provides a system for deleting a block chain node, which specifically comprises:
A. and deleting the user node module: the method is used for deleting the user node container, and specifically further comprises the following steps: verifying whether the corresponding user node can be deleted; revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data; deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files; deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned; deleting the relative node information in the organization on the public chain, and updating the routing information of other organizations and deleting the routing information of the user node when the other organizations acquire the information; and deleting the user node information in the database.
B. Deleting the sequencing node module: the method is used for deleting the related configuration information in the configuration blocks on the sequencing node container and the block chain, and further comprises the following steps: checking whether the sequencing node needing to be deleted really exists or not; acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization; deleting the container of the sequencing node; updating and deleting the configuration blocks related to the sequencing nodes, and deleting the related configuration information in the configuration blocks on the block chain; deleting the related routing information; deleting the sequencing node information in the organization information on the public chain; and deleting the sequencing node information in the database.
C. Deleting the node intelligent contract module: the intelligent contract management system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and is used for managing and maintaining intelligent contracts related to deleted nodes, realizing triggering and calling of the intelligent contracts and installing, deploying and instantiating related intelligent contract configuration modules; the processor, when executing the computer program, performs the method steps of any of steps 1 to 2 above;
D. deleting the node database module: the method is used for storing various information related to the deletion of the node in any one of the above method steps, such as user node information, sequencing node information, environment variable information at the time of node startup, operating port information, mounted file information (certificate information), used certificate information, node identification information (identity identification information), configuration block information, container information, startup user container information, ledger data, routing information, organization information, consensus cluster node information, creation block data, address information, consensus node information, various update information, and the like. The database is a local database.
Specific example 4
The embodiment provides a computer-readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, may implement the following method and steps, where the deleting a node is completed by setting an intelligent contract, and the triggering the intelligent contract to update information of a database in the process of deleting the node includes:
step1: deleting the user node: deleting the user node container;
step2: deleting the sequencing node: firstly, deleting a sequencing node container; then, the relevant configuration information in the configuration block is deleted on the block chain.
In one embodiment, when the processor executes the computer program, the deleting user node deletes the corresponding user node through the user node name, the corresponding user node is a user node of the local organization, and the local organization is an added organization of the deleting node; after the user node is deleted successfully, other organizations update the node routing information of the other organizations when acquiring the information.
In one embodiment, when the processor executes the computer program, the deleting the user node specifically includes:
step1: verifying whether a corresponding user node can be deleted, wherein the corresponding user node is an added user node and cannot be a No. 0 user node, and the No. 0 user node is an initialization user node;
step2: revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data;
and 3, step 3: deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files;
and 4, step 4: deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned;
and 5, step 5: deleting related node information in an organization on a public chain, wherein the related node is a deleted user node, and other organizations update own routing information and delete the routing information of the user node when acquiring the information;
and 6, step 6: and deleting the user node information in the database.
In one embodiment, when the processor executes the computer program, the deleting and sorting node deletes the corresponding sorting node by the name of the sorting node, where the corresponding node is the sorting node of the local organization, and the local organization is the organization in which the sorting node is added to the organization of the deleting node; the sequencing node can only delete one at a time.
In one embodiment, when the processor executes the computer program, the specific implementation step of deleting the sorting node includes:
step1: checking whether the sequencing node needing to be deleted really exists or not, wherein the sequencing node is the added sequencing node, and the real existence is really existing in the block chain network;
step2: acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization;
and 3, step 3: deleting the container of the sequencing node;
and 4, step 4: updating and deleting the configuration blocks related to the sequencing nodes;
and 5, step 5: deleting the related routing information;
and 6, step 6: deleting the sequencing node information in the organization information on the public chain;
and 7, step 7: and deleting the sequencing node information in a database, wherein the database is a local database.
In one embodiment, when the processor executes the computer program, the deleting the container of the sorting node further includes deleting the certificate information, deleting the service, deleting the instance, deleting the file saved at initialization and the ledger data generated on the subsequent blockchain and saved to the local.
In one embodiment, when the processor executes the computer program, the step of updating and deleting the configuration block associated with the sorting node includes:
step1: deleting the address information and the consensus node information corresponding to the sequencing node on the configuration block;
step2: signing the configuration block;
and 3, step 3: broadcasting the configuration block onto a blockchain.
Example 5:
the embodiment provides a device for deleting a blockchain network node, where the device for deleting a blockchain node may be a server or a mobile terminal. The apparatus is also a computer device comprising a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database is used for storing all data of the computer equipment. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a blockchain network delete node method.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments described above are presented to facilitate one of ordinary skill in the art to understand and practice the present invention. It will be readily apparent to those skilled in the art that various modifications to the above-described embodiments may be made, and the generic principles defined herein may be applied to other embodiments without the use of inventive faculty. Therefore, the present invention is not limited to the above embodiments, and those skilled in the art should make improvements and modifications to the present invention based on the disclosure of the present invention within the protection scope of the present invention.

Claims (8)

1. A method for deleting nodes of a block chain network is characterized in that node deletion comprises a node deletion process, the node deletion is completed by setting an intelligent contract, and meanwhile, information updating is carried out on a database in the node deletion process by triggering the intelligent contract, and the specific design implementation steps comprise:
deleting the user node: deleting the user node container; the specific implementation step of deleting the user node comprises the following steps:
verifying whether the corresponding user node can be deleted, wherein the corresponding user node is an added user node and cannot be an initialized user node;
revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data;
deleting the instance of the user node and related contents, wherein the related contents comprise account book data and certificate files;
deleting the routing information of each node of a related organization, wherein the related organization is the organization where the user node to be deleted is located;
deleting related node information in an organization on a public chain, wherein the related node is a user node to be deleted, and other organizations update own routing information and delete the routing information of the user node when acquiring the information;
deleting user node information in the database;
deleting the sequencing node: firstly, deleting the sequencing node container; then, deleting the relevant configuration information in the configuration block on the block chain; the specific implementation steps of deleting the sequencing node include:
checking whether the sequencing node needing to be deleted really exists or not, wherein the sequencing node is an added sequencing node, and the real existence is really existing in the block chain network;
acquiring the organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization;
deleting the container of the sequencing node;
updating the configuration blocks related to the sequencing nodes in the deleting process, and deleting the related configuration information in the configuration blocks on the block chain;
deleting the related routing information;
deleting the sequencing node information in the organization information on the public chain;
and deleting the sequencing node information in a database, wherein the database is a local database.
2. The method according to claim 1, wherein the deleting user node is a user node that is deleted by a user node name, and the corresponding user node is a user node added by the organization; after the user node is deleted successfully, other organizations update the node routing information of the other organizations when acquiring the information.
3. The method according to claim 1, wherein the deleting an ordering node is specifically a corresponding ordering node deleted by an ordering node name, the corresponding ordering node is an ordering node of a local organization, and the local organization is an organization to which the ordering node is added by an organization of the deleting node; the sequencing node can only delete one at a time.
4. A method for deleting nodes in a blockchain network as claimed in claim 1, wherein the process of deleting the sequencing node container specifically includes deleting certificate information, deleting services, deleting instances, deleting files saved at initialization and ledger data generated on subsequent blockchains and saved locally.
5. The method of claim 1, wherein the step of updating the configuration block associated with the sorting node during deletion comprises:
deleting the address information and the consensus node information corresponding to the sequencing node on the configuration block;
signing the configuration block;
broadcasting the configuration block onto a blockchain.
6. A system for supporting deletion of blockchain network nodes, comprising:
a user node deleting module: the method is used for deleting the user node container, and specifically comprises verifying whether the corresponding user node can be deleted; revoking the certificate information of the user node, and setting the certificate state in a database to be nonexistent, wherein the database is used for storing local data; deleting the user node instance and related contents, wherein the related contents comprise account book data and certificate files; deleting the routing information of each node of a related organization, wherein the related organization is an organization in which a deleted user node is positioned; deleting the relative node information in the organization on the public chain, and updating the routing information of other organizations and deleting the routing information of the user node when the other organizations acquire the information; deleting user node information in the database;
a sequencing node deletion module: the method is used for deleting the related configuration information in the configuration blocks on the sequencing node container and the block chain, and also comprises the step of checking whether the sequencing nodes needing to be deleted really exist or not; acquiring an organization list of the added sequencing nodes from the public chain, and checking whether the nodes are added before the current organization; deleting the container of the sequencing node; updating and deleting the configuration blocks related to the sequencing nodes, and deleting the related configuration information in the configuration blocks on the block chain; deleting the related routing information; deleting the sequencing node information in the organization information on the public chain; deleting sequencing node information in the database;
the node deleting intelligent contract module: the intelligent contract management system is used for managing and maintaining the intelligent contracts related to the deleted nodes, realizing the triggering and calling of the intelligent contracts and the installation, deployment and instantiation of related intelligent contract configuration modules;
the node deletes the database module: the method is used for storing the information related to the nodes deleted in the node deletion method steps, and the database is a local database.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
8. A block link point deletion apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
CN202011125803.1A 2020-10-20 2020-10-20 Block chain network node deleting method, system, storage medium and device Active CN112398908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011125803.1A CN112398908B (en) 2020-10-20 2020-10-20 Block chain network node deleting method, system, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011125803.1A CN112398908B (en) 2020-10-20 2020-10-20 Block chain network node deleting method, system, storage medium and device

Publications (2)

Publication Number Publication Date
CN112398908A CN112398908A (en) 2021-02-23
CN112398908B true CN112398908B (en) 2023-04-07

Family

ID=74596030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011125803.1A Active CN112398908B (en) 2020-10-20 2020-10-20 Block chain network node deleting method, system, storage medium and device

Country Status (1)

Country Link
CN (1) CN112398908B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314374B (en) * 2022-07-06 2024-02-06 京东科技信息技术有限公司 Block chain node deployment method, device, storage medium and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138586A (en) * 2019-04-04 2019-08-16 平安科技(深圳)有限公司 Block chain node administration method, electronic device, system and readable storage medium storing program for executing
CN110224854A (en) * 2019-05-06 2019-09-10 深圳壹账通智能科技有限公司 Dispositions method, device and the storage medium of block chain node
CN110399373A (en) * 2019-06-26 2019-11-01 杭州慧牧科技有限公司 A kind of block chain account book storage system, storage querying method and delet method
CN110598454A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device in block chain, storage medium and computer equipment
CN111324672A (en) * 2020-03-25 2020-06-23 中国工商银行股份有限公司 Block chain safety processing system and method
CN111581277A (en) * 2020-04-07 2020-08-25 浙商银行股份有限公司 Block chain management method based on container technology
CN111611310A (en) * 2020-04-28 2020-09-01 深圳壹账通智能科技有限公司 Block chain data clipping method, node recovery method, device, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730204B (en) * 2019-09-05 2022-09-02 创新先进技术有限公司 Method for deleting nodes in block chain network and block chain system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138586A (en) * 2019-04-04 2019-08-16 平安科技(深圳)有限公司 Block chain node administration method, electronic device, system and readable storage medium storing program for executing
CN110224854A (en) * 2019-05-06 2019-09-10 深圳壹账通智能科技有限公司 Dispositions method, device and the storage medium of block chain node
CN110399373A (en) * 2019-06-26 2019-11-01 杭州慧牧科技有限公司 A kind of block chain account book storage system, storage querying method and delet method
CN110598454A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device in block chain, storage medium and computer equipment
CN111324672A (en) * 2020-03-25 2020-06-23 中国工商银行股份有限公司 Block chain safety processing system and method
CN111581277A (en) * 2020-04-07 2020-08-25 浙商银行股份有限公司 Block chain management method based on container technology
CN111611310A (en) * 2020-04-28 2020-09-01 深圳壹账通智能科技有限公司 Block chain data clipping method, node recovery method, device, equipment and medium

Also Published As

Publication number Publication date
CN112398908A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN107911421B (en) Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN109728954B (en) Federation node point management system and method
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
CN109493072B (en) Privacy contract protection method based on alliance block chain
CN110413304B (en) Intelligent contract hot upgrading method and device based on block chain network
CN102945175A (en) Terminal software online upgrading system and method based on cloud computing environment
CN110008665B (en) Authority control method and device for blockchain
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
WO2015131603A1 (en) Differential upgrade method, serving end and terminal
CN110599177A (en) Transaction verification method and related equipment
US20210176328A1 (en) Management Services for Distributed Computing Architectures Using Rolling Changes
CN112291318B (en) Block chain network node adding method, system, storage medium and device
CN109495874A (en) The method and apparatus of Profile downloading
CN109885612A (en) The synchronization take-effective method and device of block chain intelligence contract
CN112398908B (en) Block chain network node deleting method, system, storage medium and device
CN110599175A (en) Block processing method and related equipment
WO2018209986A1 (en) Method and device for downloading euicc subscription data
CN112181441A (en) Construction and application deployment method and system using chaos engineering and gray scale release
CN102197390B (en) Providing functionality to client services by implementing and binding contracts
CN114616807A (en) Method and system for managing and controlling a communication network
CN113497720A (en) Firmware server, electric power internet of things proxy gateway and firmware remote upgrading method
CN101616002B (en) User identity authentication method and device thereof
CN112685136A (en) Intelligent contract operation method, device, equipment and storage medium
CN113721938A (en) Edge-edge cooperative task processing method, device and system suitable for power Internet of things
CN113222596A (en) Electric power data storage method and system based on block chain intelligent contract

Legal Events

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