Distributed ledger management system, management node, and distributed ledger management method
The distributed ledger management system addresses the increasing storage capacity issue by creating new ledger nodes using snapshots and deleting old nodes, maintaining transaction processing capacity and reducing operational costs.
Patent Information
- Application Number
- JP2023026585
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-02-22
AI Technical Summary
The increasing storage capacity of distributed ledgers in each node continues to raise operational costs, making it difficult to maintain the nodes effectively, as deleting past blocks requires stopping all or some nodes, which affects transaction processing capacity.
A distributed ledger management system that identifies blocks for deletion based on predetermined criteria, creates a new ledger node using a snapshot function, and registers it in the configuration management information, while deleting the old node, ensuring transaction processing capacity is maintained.
Data from past blocks can be removed without reducing the blockchain's transaction processing ability, thereby reducing operational costs and maintaining system efficiency.
Smart Images

Figure 2024119581000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to technology for operating a distributed management ledger. [Background technology]
[0002] Distributed ledger technology using blockchain (hereinafter referred to as BC) is a technology that replaces transactions that have traditionally been conducted via trusted centralized institutions such as financial institutions and governments with direct P2P (Peer to Peer) transactions between users. Various derivative technologies related to distributed ledger technology have been proposed, and distributed ledger technology continues to evolve.
[0003] The main features of general blockchain-based distributed ledger technology are as follows (1) to (3).
[0004] (1) Transactions between participants on a distributed ledger are finalized by consensus or approval by voluntary or specific participants, rather than by a central authority.
[0005] (2) Multiple transactions are grouped together into blocks, which are then linked together to record in a distributed ledger called a blockchain. By applying a hash calculation to successive blocks, tampering with the blocks becomes virtually impossible.
[0006] (3) All participants share the same ledger data, and all participants can verify transactions.
[0007] Due to the above characteristics, distributed ledger technology based on BC is being considered for application in a wide range of fields, including financial institutions and manufacturing, as a mechanism for managing and sharing reliable data and for executing and managing transactions based on contracts.
[0008] There are also distributed ledger platforms that provide distributed ledger mechanisms, and for example, entities such as a consortium in a particular industry or multiple companies related to a supply chain can use the distributed ledger platform to build a distributed ledger, enabling multiple entities to share information and conduct transactions without the need for management by a centralized authority. Some of these distributed ledgers are not open to anyone, but only computers authorized by a specific organization can participate, and these distributed ledgers are sometimes called consortium-type distributed ledgers.
[0009] In a consortium-type distributed ledger system, there is a management entity that authenticates participants. Therefore, a consortium-type distributed ledger system has the advantage that transactions can be executed more quickly than other general distributed ledger systems because the authentication of participants is performed by a management entity. Therefore, when introducing a distributed ledger system within a specific industry, a consortium-type distributed ledger system is often used.
[0010] In addition, some distributed ledger platforms are now able to provide distributed ledgers that can manage not only transaction data but also logic describing transaction conditions so that they can be applied to applications with complex and diverse transaction conditions. A contract that manages the logic of transaction conditions in a distributed ledger and executes a transaction according to those transaction conditions is called a smart contract (hereinafter also referred to as SC).
[0011] Non-Patent Document 1 discloses technology related to a distributed ledger infrastructure that provides a distributed ledger with a function for executing SC transactions. In the distributed ledger infrastructure of Non-Patent Document 1, multiple nodes form an agreement that meets a predetermined consensus level, and accept a transaction (hereinafter also referred to as TX), and each of the multiple nodes executes the transaction and stores the results of the transaction execution. This allows transaction ledger data to be shared on multiple nodes. In addition, the distributed ledger infrastructure of Non-Patent Document 1 has an SC execution function that executes predetermined logic for SC transactions.
[0012] There are also attempts to streamline business processes by using a consortium-type BC for cross-sectional operations between multiple organizations. In this case, if multiple businesses share a ledger that stores the history of transactions between all businesses participating in the BC, it may not necessarily be desirable from the perspective of maintaining the confidentiality of each business. Therefore, it is also possible that the ledger will be shared only between organizations that have a certain business relationship.
[0013] In response to such cases, Non-Patent Document 1 shows a concept called "Channel" that logically divides the distributed ledger. In this case, the distributed ledger infrastructure is a single distributed ledger infrastructure in which all organizations participate, but is internally logically divided into multiple parts, and multiple distributed ledgers can exist. Hereinafter, a set of nodes that are computers of organizations belonging to each logically divided distributed ledger infrastructure is called a subgroup. Also, a distributed ledger system that manages the distributed ledger by a subgroup is called a subsystem. In this case, the SC can install different transaction conditions for each subsystem. The nodes belonging to the above-mentioned subgroup share the distributed ledger only with the nodes in the subgroup, and when executing a transaction, the SC installed for each subsystem is executed to update the data of the distributed ledger linked to each subgroup.
[0014] As mentioned above, in a consortium-type BC, it is necessary that only computers authorized by a management entity of a specific organization can participate in a transaction. In the distributed ledger platform technology shown in Non-Patent Document 1, client users participating in a transaction and nodes constituting the BC each hold a unique digital certificate to clarify the organization to which they belong and the authority they have. This certificate is issued by a certification authority owned by each organization, and a digital signature by the certification authority is attached. The public key of this certification authority itself is distributed to all organizations in advance, and each organization can verify the validity of the certificates of the client users and the nodes participating in the BC by verifying the signature written on the certificate using the public key.
[0015] The distributed ledger infrastructure technology described in Non-Patent Document 1 is a technology in which a specific node functions as a gateway that relays various requests from an application server that implements a business application to each node, queries the distributed ledgers of other nodes according to the content of the request by the business application, and performs processes related to forming a consensus on a transaction and approving the execution of the transaction based on the information obtained by the query. This technology eliminates the need for the business application to hold connection information for connecting to the distributed ledgers of all nodes, making it possible to reduce the workload of building a BC environment and the workload of changing the configuration of the BC environment.
[0016] In the distributed ledger infrastructure technology described in Non-Patent Document 1, blocks at a specific point in time are output as snapshots. When a new node that shares a distributed ledger is added to a BC, the new node is given a distributed ledger with the snapshot as the starting block, which makes it possible to reduce processing time by omitting the procedure of copying data of all past blocks from other distributed ledgers to the distributed ledger of the new node.
[0017] In recent years, several cloud vendors are beginning to provide consortium-type BC in the form of PaaS (Platform as a Service). Such services are called managed blockchain services (BC services). This type of BC service generally provides a management GUI (Graphical User Interface) to reduce the burden on customers of building blockchains themselves by acting as a proxy for building and operating nodes and certification authorities that share a distributed ledger, or to facilitate the work of building blockchains for customers. [Prior art documents] [Non-patent literature]
[0018] [Non-Patent Document 1] “Hyperledger Fabric”, [online], [Retrieved September 1, 2022], Internet<URL:http: / / hyperledger-fabric.readthedocs.io / en / latest / > Summary of the Invention [Problem to be solved by the invention]
[0019] BC, including that disclosed in Non-Patent Document 1, has a problem that the storage capacity of the distributed ledger in each node continues to increase because each node continues to record all past TX in the distributed ledger, and the cost borne by users who operate the nodes continues to increase over time. In response to this, it is required to suppress the increase in operational costs by having only some nodes hold the data of the history of past transactions, rather than having all nodes hold all the data.
[0020] However, in order to delete past blocks from the distributed ledger on a node, it is necessary to stop all or some of the nodes, or to change the nodes to which the application using the blockchain is connected. If all nodes are stopped, the application transactions cannot be processed. In addition, even stopping only some nodes reduces the transaction processing capacity per unit time, affecting the operation of the application.
[0021] One objective of this disclosure is to provide a technique that allows for the deletion of past blocks of data from a distributed ledger without slowing down the ability of the blockchain to process transactions. [Means for solving the problem]
[0022] A distributed ledger management system according to one aspect included in the present disclosure is a distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which the multiple organizations participate, using multiple distributed ledgers, the distributed ledger management system comprising: a plurality of distributed ledger nodes each belonging to one of the organizations and having a distributed ledger that stores a blockchain in which blocks each including one or more of the transactions are accumulated in a chain-like manner and a state database that records the latest state of the transaction; and a management node that manages configuration management information that associates each of the organizations with the distributed ledger nodes belonging to the organization, the management node identifying a block to be deleted in the blockchain owned by the distributed ledger node based on a predetermined criterion and creating a new distributed ledger node using a snapshot function, the new distributed ledger node having a blockchain composed of blocks excluding the block to be deleted and a distributed ledger that stores the state database, and belonging to the same organization as the distributed ledger node from which the block is to be deleted, the management node registering the new distributed ledger node in the configuration management information, and deleting the distributed ledger node from which the block is to be deleted from the configuration management information.
[0023] A management node according to one aspect of the present disclosure is a management node that is a device provided in a distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which multiple organizations participate, in multiple distributed ledgers. The management node is provided in the distributed ledger management system together with multiple distributed ledger nodes that belong to the organizations and share a distributed ledger that stores a blockchain in which blocks including one or more transactions are accumulated in a chain and a state database that records the latest state of the transaction, and the management node provides a configuration management system that associates each of the organizations with the distributed ledger nodes that belong to the organization. a management processing unit that manages configuration management information; and a past block deletion processing unit that identifies blocks to be deleted in the blockchain held by the distributed ledger node based on a set criterion, creates a new distributed ledger node using a snapshot function, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node from which the blocks are to be deleted from the configuration management information, wherein the new distributed ledger node created by the past block deletion processing unit has a blockchain composed of blocks excluding the blocks to be deleted and a distributed ledger that stores the state database, and belongs to the same organization as the distributed ledger node from which the blocks are to be deleted.
[0024] A distributed ledger management method according to one aspect included in the present disclosure is a distributed ledger management method executed by a management node provided in a distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which multiple organizations participate, using multiple distributed ledgers, wherein the management node is provided in the distributed ledger management system together with multiple distributed ledger nodes that belong to the organizations and share a distributed ledger that stores a blockchain in which blocks including one or more transactions are accumulated in a chain, and a state database that records the latest state of the transactions, and the management node performs The system stores configuration management information that associates each of these with a distributed ledger node belonging to the organization, identifies a block to be deleted in the blockchain held by the distributed ledger node based on set criteria, creates a new distributed ledger node using a snapshot function, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node from which the block is to be deleted from the configuration management information, wherein the new distributed ledger node has a blockchain composed of blocks excluding the block to be deleted and a distributed ledger that stores the state database, and belongs to the same organization as the distributed ledger node from which the block is to be deleted. Effect of the Invention
[0025] It allows past blocks of data to be deleted from the distributed ledger without slowing down the blockchain's ability to process transactions. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is a conceptual diagram showing an example of the configuration of a distributed ledger management system. [Diagram 2] FIG. 1 is a conceptual diagram showing an example of the structure of a blockchain, which is one of the data structures managed on a distributed ledger. [Diagram 3] FIG. 1 is a conceptual diagram showing an example of the structure of a blockchain, which is one of the data structures managed on a distributed ledger. [Figure 4]A conceptual diagram showing an example of the structure of state information managed on a distributed ledger. [Diagram 5] A conceptual diagram showing an example of the configuration of a smart contract management table held by a distributed ledger node. [Figure 6] A conceptual diagram showing an example of the configuration of an access log held by a distributed ledger node. [Figure 7] 11 is a conceptual diagram showing an example of the configuration of a BC configuration management table held by a management node. [Figure 8] FIG. 13 is a conceptual diagram illustrating an example of a configuration of a deletion policy held by a management node. [Figure 9] 13 is a flowchart illustrating an example of a new subgroup creation process of the subgroup management unit of the distributed ledger node. [Figure 10] 13 is a flowchart illustrating an example of a transaction execution process of a distributed ledger node. [Figure 11] 13 is a flowchart illustrating an example of a past block deleting process of a past block deleting processor included in the management node. [Figure 12] 11 is a conceptual diagram showing an example of the configuration of a BC configuration management table held by a management node. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. EXAMPLES
[0028] FIG. 1 is a conceptual diagram showing an example of the configuration of a distributed ledger management system.
[0029] A business application server 30000 is connected to a blockchain platform 40000, which is an example of a distributed ledger management system, via the Internet 41000. The distributed ledger management system provides a mechanism for sharing transactions between multiple organizations in a consortium in which multiple organizations participate, using multiple distributed ledgers.
[0030] The business application server 30000 includes a request issuing unit 31000 and a business application 32000 .
[0031] The business application 32000 corresponds to a higher-level application from the perspective of the distributed ledger node 20000 described below. The business application 32000 receives a request for a transaction defined on the SC from a client user (not shown). After that, the business application 32000 transmits the user's input content to the distributed ledger node 20000 on the blockchain platform 40000 via the request issuer 31000.
[0032] Issuer information is attached to the transaction. The issuer information includes an organization ID that is assigned in advance to link the transaction to the organization, and authentication information (private key) issued to each client user. When issuing a transaction, the client user signs the transaction with their own private key and also sends a certificate. The certificate and private key are issued in advance by the certification authority of the client user's organization.
[0033] The blockchain platform 40000 is composed of one or more management nodes 10000 and one or more distributed ledger nodes 20000. These devices are connected to each other through physical or logical communication lines, and are also connected to a load balancer. Each of the management node 10000, the distributed ledger node 20000, and the load balancer is implemented on a device having a processor and a memory.
[0034] The blockchain platform 40000 is connected to one or more business application servers 30000 via the Internet 41000.
[0035] This embodiment assumes that there are multiple distributed ledger nodes 20000, which are assigned to multiple organizations that make up the consortium. Furthermore, multiple distributed ledger nodes 20000 may exist within one organization, and multiple distributed ledger nodes 20000 may coexist while sharing the same information to ensure redundancy in the event of a node failure. Similarly, it is assumed that there are multiple management nodes 10000 and business application servers 30000, and multiple organizations each use a different management node 10000 and business application server 30000.
[0036] The physical entities of the business application server 30000, the distributed ledger node 20000, and the management node 10000 are general computing devices consisting of a processor, a memory, and a data bus.
[0037] The management node 10000 manages configuration management information that associates each organization with the distributed ledger node 20000 that belongs to that organization. The configuration management information corresponds to the BC configuration management table 13000 in FIG.
[0038] The distributed ledger nodes 20000 each belong to the organization and have a distributed ledger 26000 that stores a block chain 27000 in which blocks each containing one or more transactions are accumulated in a chain, and a state database in which the latest state of the transaction is recorded. The state database here corresponds to the state information 28000 in FIG. 1.
[0039] The processor of the management node 10000 realizes a management processing unit 11000, a past block deletion processing unit 12000, a BC configuration management table 13000, and a deletion policy 14000 by reading and executing various programs and data stored in memory.
[0040] The management processing unit 11000 executes BC management functions such as adding a distributed ledger node 20000 (described below) and adding an SC in response to a request from a user.
[0041] The processor of the distributed ledger node 20000 realizes a consensus management unit 21100, a smart contract execution / management unit 21200 (hereinafter also referred to as the SC execution / management unit), a transaction management unit 21300, a subgroup management unit 21400, a gateway management unit 21500, and a snapshot management unit 21600 by reading and executing various programs and data stored in memory.
[0042] The distributed ledger node 20000 stores, in a memory or the like, a BC configuration management table 21700, a smart contract management table 21800, an access log 21900, and a distributed ledger 26000. The distributed ledger 26000 is defined for each subgroup, and the same ledger is shared between nodes belonging to the subgroup.
[0043] The 20000 distributed ledger node accepts the TX using the function of the transaction manager 21300, and forms a consensus with other nodes on whether the TX can be accepted using the function of the consensus manager 21100. If a consensus is formed, the SC execution / management unit 21200 deploys the SC or executes an SC that has already been deployed, and records the transaction history and its execution results in the distributed ledger 26000.
[0044] Furthermore, the transaction manager 21300 of the distributed ledger node 20000 provides a function or interface for accepting transactions and acquiring and viewing transaction history information in response to requests from each node such as the business application server 30000. The logs of the transaction manager 21300 are accumulated in the access log 21900.
[0045] In the distributed ledger system of this embodiment, the members participating in the consortium, i.e., the organizations and distributed ledger nodes 20000, are managed by the distributed ledger 26000 of each organization. Furthermore, the subgroup management unit 21400 of the distributed ledger system realizes a function for registering and adding new organizations and subgroups. Furthermore, the distributed ledger system of this embodiment assumes that a pair of a private key and a public key is used to authenticate participating organizations, sign transactions, control SC execution authority, and so on.
[0046] The private key information of each distributed ledger node 20000 is stored and managed in the transaction manager 21300 of the distributed ledger node 20000. Meanwhile, the public key information is shared among all the distributed ledger nodes 20000. Whenever a transaction is accepted, the transaction manager 21300 of the distributed ledger node 20000 verifies whether the issuer of the transaction is a valid participant with authority. Note that the method of generating a pair of public and private keys and the method of signature verification can be any publicly known or well-known technology, and therefore will not be described in detail in this embodiment.
[0047] The distributed ledger 26000 stores and manages the results of transactions by the SC. In this embodiment, as a data structure for the results of transactions, the transaction history is stored as a block chain 27000, and state information 28000 based on the results of transaction execution is stored in table format.
[0048] The subgroup management unit 21400 of the distributed ledger system provides functions for registering and adding new organizations and subgroups. In addition, the distributed ledger system of this embodiment assumes that private keys and certificates are used to authenticate participating organizations, sign transactions, and control SC execution authority. The name of each distributed ledger node 20000 and information on the affiliated organizations are stored and managed in the BC configuration management table 21700.
[0049] FIG. 2 is a conceptual diagram showing an example structure of a blockchain 27000, which is one of the data structures managed on the distributed ledger 26000.
[0050] In distributed ledger management using BC, multiple transactions are grouped together as a block, and each block has the hash value of the previous block, so that data is managed in a chain. If even one bit of the value of the previous block changes, the hash values of all subsequent blocks change, making tampering difficult. In this embodiment, for simplicity, one transaction is described as one block. However, the present invention is also applicable to the case where multiple transactions are grouped together and stored in one block.
[0051] Reference numbers 27010 to 27040 indicate a series of blocks. Each block, except for a block storing the initial information of a subgroup described later, includes transaction information of either deployment or execution of an SC. Each block also includes a hash value 27100 of the previous block and a hash value 27200 generated from state information described later. With the data structure described above, history information of the creation of a subgroup and the deployment and execution of an SC is managed as a data chain in the BC.
[0052] The initial block 27300 is an example of a block that stores initial information of a subgroup. The initial block 27300 defines the ID of the subgroup linked to the distributed ledger 26000. In addition, the initial block 27300 defines the IDs and attributes of the participating organizations that belong to the subgroup, a list of root certificates, and the names of the distributed ledger nodes that represent each organization, that is, the representative nodes of the participating organizations. In addition, the initial block 27300 includes a timestamp that indicates the time when the block was generated.
[0053] Reference number 27020 shows an example of a block storing a deploy transaction of an SC. The deploy transaction 27400 includes a contract ID that uniquely identifies a contract, a TX ID that is a unique identifier of the transaction, and a timestamp that indicates the time when the transaction was issued. The deploy transaction 27400 also includes a signature of the client user of this transaction and a digital signature of the distributed ledger node that agreed to execute this transaction.
[0054] The structure of the block indicated by reference number 27030 is similar to the structure of the block indicated by reference number 27020, and therefore a detailed description thereof will be omitted.
[0055] Reference number 27040 is an example of a block that stores an execution transaction of an SC. The execution transaction 27500 includes the contract ID of the contract to be called, the function name of the contract to be called, and the argument information to be input. In this example, the function "Order placement" of the SC with the ID "SC1" is called, and the arguments are Org1, Org2, 101, MNF-1, and the order placement date, respectively.
[0056] The execution transaction 27500 further includes the signature of the client user of the transaction and the digital signature of the distributed ledger node that agreed to execute the transaction. The execution transaction 27500 also includes a TX ID, which is a unique identifier of the transaction, and a timestamp indicating the time when the transaction was issued.
[0057] FIG. 3 is a conceptual diagram showing an example structure of a blockchain 27000, which is one of the data structures managed on the distributed ledger 26000.
[0058] Reference number 27050 indicates a snapshot block generated by the snapshot creation function. The snapshot block 27600 according to this embodiment includes the ID of a subgroup linked to the distributed ledger. The snapshot block 27600 includes the IDs and attributes of participating organizations belonging to the subgroup, a list of root certificates, and the name of the distributed ledger node representing each organization.
[0059] The snapshot block 27600 includes the ID of the block at the time when the snapshot was created in the TX ID field. The snapshot block 27600 further includes the hash value of the block. The snapshot block 27600 further includes the ID of the deployed SC and a timestamp indicating the time when the block was generated.
[0060] Incidentally, the configuration of the parts other than the snapshot block 27050 is the same as that in FIG. 2, so a detailed description will be omitted.
[0061] FIG. 4 is a conceptual diagram showing an example of the structure of state information 28000 managed on a distributed ledger. In distributed ledger management using BC, it is usually necessary to trace the BC in order to obtain the latest state, such as the balance of an account in virtual currency. Since this is inefficient in processing, there is a method of caching the latest state information separately from the BC. This embodiment also assumes that the latest state information will be stored. In this embodiment, a state data area is prepared in the state information 28000 for each function that the contract has.
[0062] The state information 28000 includes a contract ID 28010, which is an identifier of a contract, and a subgroup ID 28020, which is an identifier of a subgroup linked to the contract. The state information 28000 also includes an internal table 28030 for holding the execution results of the SC. Each time a transaction is executed, the contents of this internal table 28030 are updated. The internal table 28030 of the state information 28000 is composed of, for example, a table called "transaction history data". Although it is only an example, the transaction history data table has configuration items such as an order / receive TX ID, a delivery TX ID, an ordering organization ID, an order receiving organization ID, a slip number, a model number, a delivery date, and a delivery date. Information specified by an argument of a transaction is overwritten and saved in each configuration item of the table as needed. The contents of the internal table 28030 are not limited to the "transaction history data" table shown as an example.
[0063] FIG. 5 is a conceptual diagram showing an example of the configuration of a smart contract management table 21800 possessed by a distributed ledger node 20000.
[0064] The smart contract management table 21800 includes, as configuration items, a contract ID 21810 that is an identifier of a contract, and a subgroup ID 21820 that is an identifier of a subgroup linked to the contract. The smart contract management table 21800 further includes a contract input specification 21830 for a user to understand the function name and its argument of the contract, a TX approval condition 21840 that is a condition required to obtain approval of a transaction between participating organizations, and an SC logic 21850. In the illustrated example, "Order / Placement", "Shipping", and "History Search" are defined as function names of an SC having a contract ID of "SC1". The arguments of the "Order / Placement" function are the ordering organization ID, the receiving organization ID, the slip number, the model number, and the delivery date. The arguments of the "Shipping" function are the slip number and the delivery date. The argument of the "History Search" function is the receiving organization ID. The specifications of the contract input specification 21830 are not limited to those illustrated. The logic 21850 of an SC is binary data that implements the algorithm executed by the contract.
[0065] FIG. 6 is a conceptual diagram showing an example of the configuration of an access log 21900 held by a distributed ledger node 20000.
[0066] The access log 21900 includes, as configuration items, a date and time 21910 when the access occurred, a client ID 21920 of the client that executed the access, a contract ID 21930 of the smart contract that the request is attempting to execute, a subgroup ID 21940 that is an identifier of a subgroup linked to the contract, and the name of the function on the smart contract that the request is calling. Note that the date and time 21910 when the access occurred corresponds to the date and time when the smart contract was executed by the request.
[0067] 7 is a conceptual diagram showing an example of the configuration of a BC configuration management table 13000 held by the management node 10000. The BC configuration management table 13000 includes, as configuration items, a node name 13010 of a distributed ledger node belonging to the BC network, and an organization ID 13020 of the organization to which the node belongs.
[0068] 8 is a conceptual diagram showing an example of the configuration of a deletion policy 14000 held by the management node 10000. The deletion policy 14000 corresponds to a past block deletion policy that defines the timing of executing a deletion process for deleting a block from the blockchain of a distributed ledger node, the distributed ledger node that is the target of the block deletion, and the conditions for determining the blocks to be deleted from the distributed ledger node. Note that the management node 10000 executes the deletion process based on the past block deletion policy.
[0069] The deletion policy 14000 includes, as configuration items, a policy 14010 indicating the conditions of the deletion policy, a value 14020 corresponding to the conditions, and an organization ID 14030 of the organization to which the policy applies. The value 14020 may be, for example, an upper limit value or a lower limit value. The value 14020 may also be a value indicating a range designation, such as one month to three months.
[0070] In addition, the past block deletion policy may be included in an initial block, which is a block created early on when multiple organizations participating in a blockchain build the blockchain.
[0071] The past block deletion policy may include information for identifying distributed ledger nodes 20000 that are not to be subject to block deletion. For example, the information corresponds to the node name information of distributed ledger nodes that are not to be subject to block deletion.
[0072] When adopting a specification that blocks of distributed ledger nodes that have not yet passed a certain block retention period since their creation are not subject to deletion, the past block deletion policy may include information that defines the block retention period for each organization. In this case, the management node 10000 determines for each organization whether the block retention period has passed since the block was created.
[0073] FIG. 9 is a flowchart showing an example of a new subgroup creation process of the subgroup manager 21400 included in the distributed ledger node 20000.
[0074] When multiple organizations on the blockchain intend to create a new subgroup, the administrator of the BC service agrees in advance with the participating organizations and determines the subgroup ID, participating organization ID, root certificate of the participating organization, and the name of the representative node of the participating organization, and inputs them to the subgroup management unit 21400. The subgroup management unit 21400 creates an initial block based on this information (step 51010).
[0075] The subgroup manager 21400 distributes the created initial block to the subgroup managers 21400 of other distributed ledger nodes (step 51020). The subgroup manager 21400 of each organization creates a distributed ledger 26000 including a blockchain 27000 starting from the initial block (step 51030).
[0076] 10 is a flowchart showing an example of transaction execution processing of the distributed ledger node 20000, i.e., deployment and execution of an SC. The distributed ledger node 20000 may include a gateway that transfers a transaction from a higher-level application of its own organization to another distributed ledger node and executes consensus building processing among multiple organizations. The management node 10000 or the business application server 30000 (hereinafter sometimes referred to as a client node) issues a transaction to the gateway management unit 21500 of a specific node (hereinafter sometimes referred to as a "gateway node") among the distributed ledger nodes 20000 of each participating organization in order to obtain the approval required to execute the transaction (step 52010).
[0077] The transaction issued in step 52010 includes the name of the SC to be executed, the function name, and arguments. When issuing a transaction, the client node signs the transaction using its own private key and sends it together with a certificate to the gateway management unit 21500 of the gateway node.
[0078] When the gateway management unit 21500 of the gateway node receives a transaction from the client node, it forwards the transaction to the distributed ledger node 20000 of each participating organization to obtain the approval required to execute the transaction (step 52020). Each distributed ledger node 20000 verifies whether the client node signature attached to the transaction and the certificate sent at the same time are valid by comparing them with the root certificate in the initial block (step 52030).
[0079] If the transaction is found to be valid in step 52030, the distributed ledger node 20000 signs the transaction using its own private key (step 52040). Next, the distributed ledger node 20000 returns the signed transaction to the gateway manager 21500 of the gateway node (step 52050).
[0080] When the gateway manager 21500 of the gateway node receives a signed transaction from each distributed ledger node 20000, it assumes that consensus has been reached and requests the transaction manager 21300 of its own organization's distributed ledger node 20000 to distribute the transaction (step 52060).
[0081] The transaction manager 21300 of the distributed ledger node 20000 sends the transaction to the transaction distributor 21000. The transaction distributor 21000 assigns an ID to the transaction and requests the representative distributed ledger nodes of other organizations recorded in the initial block to distribute the transaction (step 52070).
[0082] The representative distributed ledger node of each organization distributes the transaction to other distributed ledger nodes 20000 within its own organization (step 52080).
[0083] The SC execution / management unit 22000 of each distributed ledger node 20000 that receives the transaction registers the received transaction in the distributed ledger 26000. If the content of the transaction is related to the deployment of the SC, the SC execution / management unit 22000 registers the contract ID and the contract entity as state information 28000 on the distributed ledger 26000, and adds a block including this transaction to the end of the blockchain 27000. If the content of the transaction is related to the execution of a function defined in the SC, the SC execution / management unit 22000 executes the SC having the contract ID specified in the transaction by providing the call function and input arguments specified in the transaction. Then, based on the execution result, the content of the distributed ledger 26000 is updated. That is, each distributed ledger node 20000 that receives the transaction updates the state information 28000 related to this contract based on the execution result, and adds the executed transaction as the end block of the blockchain 27000 (step 52090).
[0084] In this embodiment, the broadcast processing in steps 52070 and 52080 is performed by the distributed ledger node 20000, but this may also be performed by another node dedicated to transaction distribution.
[0085] FIG. 11 is a flowchart showing an example of a past block deletion process of the past block deletion processor 12000 included in the management node 10000. As shown in FIG.
[0086] The past block deletion processing unit 12000 reads out the value described in the deletion policy 14000. For example, the past block deletion processing unit 12000 reads out the value of the "block deletion execution cycle" in the deletion policy 14000, and executes the past ledger deletion shown after step 53020 each time the block deletion execution cycle elapses (step 53010).
[0087] The past block deletion processing unit 12000 acquires the access log of each distributed ledger node 20000 listed in the BC configuration management table 13000, and checks whether there has been access from a client node within a certain period of time in the past (step 53020). The value of the certain period, i.e., the period of past logs to be referenced, is based on the value of the "past log confirmation period" listed in the deletion policy 14000. The processing from step 53040 to step 53080 is repeated for the distributed ledger nodes 20000 that have not been accessed within the certain period of time in the past (step 53030).
[0088] The past block deletion processing unit 12000 refers to the blockchain 27000 of the distributed ledger node 20000 in question, and also refers to the "block retention period" described in the deletion policy 14000 that corresponds to the organization to which the distributed ledger node 20000 in question belongs, and identifies the range of TX IDs of the blocks to be deleted (step 53040).
[0089] The past block deletion processing unit 12000 instructs the snapshot management unit 21600, via the management processing unit 11000 of the management node 10000, to create a snapshot whose head is the end of the range of TX IDs to be deleted (step 53050).
[0090] The snapshot management unit 21600 that receives the instruction creates the snapshot block 27050 shown in FIG. 3. The past block deletion processing unit 12000 creates a new distributed ledger node with the above-mentioned created snapshot as the head through the management processing unit 11000 of the management node 10000 (step 53060). Specifically, a unique node name is given to the new distributed ledger node, and the snapshot block 23050, state information 28000, BC configuration management table 21700, and smart contract management table 21800 created in step 53050 are copied to the new distributed ledger node. The new distributed ledger node has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and a state database, and belongs to the same organization as the distributed ledger node to be deleted. The management node 10000 registers the new distributed ledger node in the BC configuration management table 13000.
[0091] The new distributed ledger node 20000 created in step 53060 notifies other existing distributed ledger nodes of its node name, collects information on blocks after the block where the snapshot was created, and enters this information into the blockchain 27000, while also updating the state information 28000. Once the update is complete, it notifies the management processing unit 11000 of the management node 10000 that issued the instruction that the update has been completed (step 53070).
[0092] The past block deletion processing unit 12000 of the management node 10000 deletes the old distributed ledger node when the new distributed ledger node 20000 is completed (step 53080). The distributed ledger node periodically checks the life or death of other distributed ledger nodes and updates the BC configuration management table 21700. Therefore, the node name of the newly added distributed ledger node is added to the BC configuration management table 21700, and the node name of the deleted distributed ledger node is deleted from the BC configuration management table.
[0093] Next, an explanation will be given using an example of data shown in the drawing. The past block deletion processing unit 12000 executes the past ledger deletion shown below every time the "block deletion execution cycle" described in the deletion policy 14000 elapses. Since the "block deletion execution cycle" described in the deletion policy 14000 shown in Fig. 11 is one month, the following processing is executed every month.
[0094] The past block deletion processing unit 12000 acquires the access log 21900 of each distributed ledger node 20000 listed in the BC configuration management table 21700, and checks whether there has been access from a client within a certain period of time in the past. The value of the "past log confirmation period" listed in the deletion policy 14000 is checked to see which period of past logs to refer to. Since the "past log confirmation period" listed in the deletion policy shown in FIG. 11 is one month, the past block deletion processing unit 12000 acquires the access log of the distributed ledger node for the past month and checks whether there has been access from a client. If the timing when the past block deletion processing unit 12000 is operating is 0:00 on April 1, 2022, and the referenced access log is in the state of FIG. 6, the distributed ledger node is not subject to past block deletion because there has been access from a client within one month.
[0095] On the other hand, if no access has been made for a certain period of time in the past, the past block deletion processing unit 12000 refers to the blockchain 27000 of the distributed ledger node, and also refers to the "block retention period" described in the deletion policy 14000 that corresponds to the organization to which the distributed ledger node belongs, to identify the range of TXIDs held by the blocks to be deleted. Hereinafter, it is assumed that the distributed ledger node indicated by the ID org1.peer2 is the target for past block deletion.
[0096] The "block retention period" described in the deletion policy shown in Fig. 8 is three months when the applicable organization 14030 is org1. Therefore, the past block deletion processing unit 12000 identifies past blocks of the distributed ledger node that were generated more than three months ago, and identifies the TX ID at the end of those blocks. Here, the management node 10000 does not target blocks of the distributed ledger node 20000 that have not yet passed the specified block retention period since their creation for deletion.
[0097] Next, the past block deletion processing unit 12000 instructs the snapshot management unit 21600 to create a snapshot starting with the TX ID to be deleted, via the management processing unit 11000 of the management node 10000. The snapshot management unit 21600 that receives the instruction creates a snapshot block as shown in Fig. 3. For example, if the TX ID identified in the previous step is 30, the snapshot block as shown in Fig. 3 is generated.
[0098] Next, the past block deletion processing unit 12000 creates a new distributed ledger node with the snapshot created as above as the head via the management processing unit 11000 of the management node 10000. In the following, it is assumed that a newly created distributed ledger node is indicated by the ID org1.peer3.
[0099] The created new distributed ledger node, indicated by the ID org1.peer3, notifies other existing distributed ledger nodes of its node name, collects information on blocks after the block where the snapshot was created, and enters it into the blockchain 27000 while updating the state information 28000. As a result, like the other nodes, the blockchain 27000 will be in the state shown in Figure 3, and the state information 28000 will be in the state shown in Figure 4.
[0100] When the update is complete, the management processing unit 11000 of the management node 10000 that issued the instruction is notified of the completion of the update. The past block deletion processing unit 12000 of the management node 10000 deletes the old distributed ledger node indicated by the ID org1.peer2 when the new distributed ledger node indicated by the ID org1.peer3 has completed the update.
[0101] Each distributed ledger node 20000 adds the node name of the newly added distributed ledger node to the BC configuration management table 21700, and deletes the node name of the deleted distributed ledger node from the BC configuration management table. If the node name of the newly created distributed ledger node is "org1.peer3" and the node name of the deleted distributed ledger node is "org1.peer2", the BC configuration management table will change from the state shown in Figure 7 to the state shown in Figure 12. Figure 12 is a conceptual diagram showing an example of the configuration of the BC configuration management table 13000 held by the management node 10000.
[0102] The "block retention period" described in the above deletion policy 14000 may be a different value for each organization, or may be the same value across a plurality of organizations.
[0103] In the flowchart shown in Fig. 11, in the past block deletion process performed by the past block deletion processing unit 12000, the access log 21900 of each distributed ledger node 20000 listed in the BC configuration management table 21700 is acquired in step 53020, and after confirming whether or not there has been access from a client within a certain period of time in the past, it is determined whether or not to delete past blocks of the node. In this way, using the presence or absence of access within a certain period of time in the past as the deletion criterion is merely one example. It may be possible to determine in advance which distributed ledger node's past blocks should or should not be deleted based on deletion criteria other than the above, and define this in the deletion policy 14000.
[0104] In an embodiment of the present disclosure, when deleting past data on the distributed ledger 26000, a node having a gateway accessed from the business application server 30000 is identified as a node for storing past data and is excluded from deletion.
[0105] Although the form of storage for saving the data of each distributed ledger is not specified in the embodiments, for example, the ledgers of nodes that store past data may be stored in low-cost, low-throughput storage, and the ledgers of other nodes may be stored in high-cost, high-throughput storage, thereby optimizing storage costs.
[0106] In the above embodiment, blocks that have exceeded the "block retention period" described in the deletion policy 14000 are identified as blocks to be deleted. However, instead of determining blocks to be deleted based only on the elapsed time, it is also possible to determine whether or not a block is to be deleted based on whether or not the processing of data on the block has been completed in the business application.
[0107] For example, in the smart contract SC1 shown in FIG. 5, when both ordering and delivery have been completed for a specific slip number, there may be a case where the data of the block related to the slip number can be deleted without any problem. In such a case, in step 53040 shown in FIG. 11, the past block deletion processing unit 12000 may refer to the state information 28000, identify the oldest TX ID for which ordering and delivery have been completed but delivery has not been completed, and delete the block before that. That is, in the case of the state information shown in FIG. 4, the past block deletion processing unit 12000 identifies the number of the block to be deleted so that the blocks including the ordering transaction (TX ID=3) and the delivery transaction (TXID=4) related to slip number 101 are deleted, but the ordering transaction (TX ID=31) related to slip number 201 is not deleted.
[0108] In the above embodiment, the deletion policy 14000 is configured to be stored on the management node 10000, but it may also be stored in an initial block on the distributed ledger node 20000, for example.
[0109] The management node 10000 may be configured not to target for block deletion a distributed ledger node 20000 that includes a gateway that has processed a transaction from a higher-level application within a specified period of time in the past. When adopting such a specification, the management node 10000 refers to the access log 21900 on the distributed ledger node 20000 to determine whether or not a gateway included in the distributed ledger node 20000 has processed a transaction from a higher-level application within a specified period of time.
[0110] As described above, when adopting the specification that blocks of distributed ledger nodes that have not yet passed a predetermined block retention period since their creation are not to be deleted, the past block deletion policy may include information that defines the block retention period for each organization (see FIG. 8). In this case, the management node 10000 determines for each organization whether the block retention period has passed since the block was created.
[0111] The upper application that generates a transaction for the distributed ledger node 20000 may be a business application used for a business that processes data on a block. In this case, the management node 10000 excludes from the deletion targets blocks for which data processing on the block has not been completed in the distributed ledger node 20000 to be deleted, and blocks newer than the block.
[0112] According to the embodiment of the present disclosure, when deleting past blocks on a distributed ledger in a BC service, it is possible to avoid the occurrence of distributed ledger node shutdowns and configuration change operations in business applications that accompany the deletion. As a result, BC service vendors can provide BC service infrastructure at lower cost, thereby improving the value of their services.
[0113] The above-described embodiment is an example for the purpose of explanation, and the present invention is not limited to the embodiment. These embodiments may be used in combination, or some configurations may be changed, within the scope of the technical concept of the present invention.
[0114] Furthermore, the above-described embodiment includes the matters noted below, but the matters included in the embodiment are not limited to only those listed below.
[0115] Appendix 1 A distributed ledger management system that provides a mechanism for sharing transactions between organizations in a consortium in which multiple organizations participate, across multiple distributed ledgers, has a plurality of distributed ledger nodes each belonging to an organization and having a distributed ledger that stores a blockchain in which blocks each containing one or more transactions are accumulated in a chain and a state database that records the latest state of the transactions, and a management node that manages configuration management information that associates each organization with the distributed ledger nodes belonging to that organization, the management node identifies a block to be deleted in the blockchain owned by the distributed ledger node based on a predetermined criterion and creates a new distributed ledger node using a snapshot function, the new distributed ledger node has a blockchain composed of blocks excluding the block to be deleted and a distributed ledger that stores a state database, and belongs to the same organization as the distributed ledger node from which the block is to be deleted, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node from which the block is to be deleted from the configuration management information.
[0116] Appendix 10 A management node provided in a distributed ledger management system that provides a mechanism for sharing transactions between organizations in a consortium in which multiple organizations participate, across multiple distributed ledgers, is provided in the distributed ledger management system together with multiple distributed ledger nodes that each belong to an organization and share a distributed ledger that stores a blockchain in which blocks containing one or more transactions are accumulated in a chain-like manner, and a state database that records the latest state of the transactions. The management node has a management processing unit that manages configuration management information that associates each organization with the distributed ledger nodes that belong to that organization, and a past block deletion processing unit that identifies blocks to be deleted in the blockchain held by the distributed ledger node based on a set criterion, creates a new distributed ledger node using a snapshot function, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node for which the block is to be deleted from the configuration management information. The new distributed ledger node created by the past block deletion processing unit has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and a state database, and belongs to the same organization as the distributed ledger node for which the block is to be deleted.
[0117] Appendix 11 In a distributed ledger management method executed by a management node provided in a distributed ledger management system that provides a mechanism for sharing transactions between organizations in a consortium in which multiple organizations participate, using multiple distributed ledgers, the management node is provided in the distributed ledger management system together with multiple distributed ledger nodes that belong to respective organizations and share a distributed ledger that stores a blockchain in which blocks each containing one or more transactions are accumulated in a chain-like manner and a state database that records the latest state of the transactions, the management node stores configuration management information that associates each organization with the distributed ledger nodes that belong to that organization, identifies blocks to be deleted in the blockchain held by the distributed ledger node based on a set criterion, creates a new distributed ledger node using a snapshot function, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node whose block is to be deleted from the configuration management information, the new distributed ledger node has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and a state database, and belongs to the same organization as the distributed ledger node whose block is to be deleted.
[0118] As a result of the above, data from past blocks can be deleted from the distributed ledger without reducing the blockchain's ability to process transactions.
[0119] Appendix 2 The management node executes the deletion process based on the past block deletion policy, which defines the timing for executing a deletion process to delete blocks from the blockchain of a distributed ledger node, the distributed ledger node to be the target of block deletion, and the conditions for determining the blocks to be deleted from the distributed ledger node, and the management node executes the deletion process based on the past block deletion policy. As a result, blocks are deleted from the blockchain in accordance with the predetermined deletion policy, so that blocks can be deleted from an appropriate distributed ledger node at an appropriate time and from the blockchain.
[0120] Appendix 3 The past block deletion policy is included in an initial block, which is a block created when multiple organizations participating in a blockchain initially construct the blockchain. As a result, since the past block deletion policy is created when a blockchain is constructed by multiple organizations, the method of block deletion can be determined in advance with the agreement of multiple organizations when constructing the blockchain, and the risk of a shortage of computer processing power occurring after operation begins can be reduced in advance.
[0121] Appendix 4 The past block deletion policy includes information for identifying distributed ledger nodes that are not subject to block deletion. As a result, since the information for identifying distributed ledger nodes that are not subject to block deletion is determined as the past block deletion policy, all past blocks can be stored on the distributed ledger node.
[0122] Appendix 5 The distributed ledger node includes a gateway that transfers transactions from the upper application of its own organization to other distributed ledger nodes and executes consensus building processing between multiple organizations, and the management node does not target for block deletion a distributed ledger node including a gateway that executed processing of a transaction from the upper application within a predetermined period of time in the past. Changing the connection destination distributed ledger node set in the upper application forces the administrator of the application to perform work, and there is a need to avoid this as much as possible, but according to the above configuration, distributed ledger nodes including gateways that executed processing of transactions from the upper application within a predetermined period of time in the past are not targeted for block deletion, so it is possible to delete data of past blocks without making changes to the settings of the upper application that uses the blockchain.
[0123] Appendix 6 The management node refers to the access log on the distributed ledger node to determine whether the gateway included in the distributed ledger node has processed a transaction from a higher-level application within a predetermined period of time, which makes it easy to identify distributed ledger nodes to be excluded from block deletion targets from the access log of the distributed ledger node.
[0124] Appendix 7 The management node does not target blocks from distributed ledger nodes that have not yet passed a certain block retention period since their creation for deletion. This allows distributed ledger nodes that have not yet passed a certain block retention period since their creation to be excluded from block deletion targets, making it possible to preserve blocks that have been created for a certain period of time.
[0125] Appendix 8 The past block deletion policy includes information that defines the block retention period for each organization, and the management node determines for each organization whether the block retention period has elapsed since the block was created. This makes it possible to set the block retention period for each organization.
[0126] Appendix 9 The higher-level application that generates a transaction to the distributed ledger node is a business application used for a business that processes data on a block, and the management node excludes from the deletion targets blocks for which data processing on the block in the distributed ledger node to be deleted has not been completed and blocks newer than the blocks. This excludes blocks for which processing by business has not been completed and newer blocks from the deletion targets, making it possible to prevent blocks for which processing by business has not been completed from being deleted. [Explanation of symbols]
[0127] 10000...Management node, 11000...Management processing unit, 12000...Past block deletion processing unit, 13000...BC configuration management table, 14000...Deletion policy, 20000...Distributed ledger node, 21000...Transaction distribution unit, 21100...Consensus management unit, 21200...Management unit, 21300...Transaction management unit, 21400...Subgroup management unit, 21500...Gateway management unit, 21600...Snapshot management unit Management department, 21700...BC configuration management table, 21800...Smart contract management table, 21830...Contract input specifications, 21840...TX approval conditions, 21850...Logic, 21900...Access logs, 26000...Distributed ledger, 27000...Blockchain, 28000...State information, 30000...Business application server, 32000...Business application, 40000...Blockchain platform, 41000...Internet
Claims
1. A distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which multiple organizations participate, using multiple distributed ledgers, A plurality of distributed ledger nodes each belonging to the organization and having a distributed ledger storing a blockchain in which blocks including one or more of the transactions are accumulated in a chain and a state database in which the latest state of the transaction is recorded; A management node that manages configuration management information that associates each of the organizations with a distributed ledger node that belongs to the organization; The management node, Identifying blocks to be deleted in the blockchain held by the distributed ledger node based on predetermined criteria; A new distributed ledger node is created using the snapshot function. The new distributed ledger node has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and the state database, and belongs to the same organization as the distributed ledger node to be deleted; registering the new distributed ledger node in the configuration management information; Deleting the distributed ledger node to which the block is to be deleted from the configuration management information; Distributed ledger management system.
2. a past block deletion policy that defines conditions for determining the timing of executing a deletion process for deleting a block from the blockchain of a distributed ledger node, the distributed ledger node that is to be the target of the block deletion, and the block to be deleted from the distributed ledger node; The management node executes the deletion process based on the past block deletion policy.
2. The distributed ledger management system of claim 1.
3. The past block deletion policy is included in an initial block, which is a block created at the beginning when multiple organizations participating in the blockchain construct the blockchain.
3. The distributed ledger management system of claim 2.
4. The past block deletion policy includes information for identifying distributed ledger nodes that are not to be subject to block deletion.
3. The distributed ledger management system of claim 2.
5. The distributed ledger node includes a gateway that transfers transactions from a higher-level application of the own organization to other distributed ledger nodes and executes a consensus process among multiple organizations; The management node excludes a distributed ledger node including a gateway that has executed a transaction process from the higher-level application within a predetermined period in the past from the block deletion target.
3. The distributed ledger management system of claim 2.
6. the management node refers to an access log on the distributed ledger node to determine whether or not a gateway included in the distributed ledger node has executed processing of a transaction from the higher-level application within the predetermined period; 6. The distributed ledger management system of claim 5.
7. The management node does not target blocks of distributed ledger nodes that have not yet passed a predetermined block retention period since their creation for deletion.
2. The distributed ledger management system of claim 1.
8. The past block deletion policy includes information defining the block retention period for each organization, The management node determines, for each organization, whether or not the block retention period has elapsed since the block was created.
8. The distributed ledger management system of claim 7.
9. The upper application that generates the transaction on the distributed ledger node is a business application used for processing data on a block, The management node excludes from the deletion targets blocks for which data processing on the block has not been completed in the distributed ledger node to be deleted and blocks newer than the block.
2. The distributed ledger management system of claim 1.
10. A management node provided in a distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which the organizations participate, using multiple distributed ledgers, comprising: the management node is provided in the distributed ledger management system together with a plurality of distributed ledger nodes each belonging to the organization and sharing a distributed ledger in which a blockchain in which blocks including one or more of the transactions are accumulated in a chain and a state database in which the latest state of the transaction is recorded is stored; a management processing unit that manages configuration management information that associates each of the organizations with a distributed ledger node that belongs to the organization; a past block deletion processing unit that identifies blocks to be deleted in the blockchain owned by the distributed ledger node based on a set criterion, creates a new distributed ledger node using a snapshot function, registers the new distributed ledger node in the configuration management information, and deletes the distributed ledger node to be deleted from the configuration management information; having The new distributed ledger node created by the past block deletion processing unit has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and the state database, and belongs to the same organization as the distributed ledger node to be deleted. Management node.
11. A distributed ledger management method executed by a management node provided in a distributed ledger management system that provides a mechanism for sharing transactions between multiple organizations in a consortium in which multiple organizations participate, the method comprising: the management node is provided in the distributed ledger management system together with a plurality of distributed ledger nodes each belonging to the organization and sharing a distributed ledger that stores a blockchain in which blocks each including one or more of the transactions are accumulated in a chain and a state database in which the latest state of the transaction is recorded; The management node, storing configuration management information that associates each of the organizations with a distributed ledger node that belongs to the organization; Based on the prescribed criteria, a distributed ledger node identifies blocks to be deleted from the blockchain; A new distributed ledger node is created using the snapshot function. registering the new distributed ledger node in the configuration management information; Delete the distributed ledger node to be deleted from the configuration management information; The new distributed ledger node has a distributed ledger that stores a blockchain composed of blocks excluding the block to be deleted and the state database, and belongs to the same organization as the distributed ledger node to which the block is to be deleted. Distributed ledger management method.
Citation Information
Patent Citations
Migration support system, migration support method, and node
JP2021189638A
Management device, management method, and management program
JP6808109B1
Management device, management method, and management program
WO2021220360A1
Cited By
Evidence recording system, evidence recording method, and program
JP7902440B1
