Information processing device, information processing method, and program
The information processing device addresses the inefficiencies and security issues in blockchain networks by selectively setting adjacent nodes within the same shard, reducing the burden on nodes and enhancing transaction/block transmission speeds within the network.
Patent Information
- Application Number
- PCT/JP2023/015643
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-24
AI Technical Summary
Conventional blockchain networks face challenges in securely and efficiently transferring information between nodes, particularly in shard-based configurations, due to inadequate neighboring node settings, leading to increased burdens and security vulnerabilities.
An information processing device that functions as a node in a blockchain network, with an adjacent node selection unit that sets only nodes belonging to the same shard as adjacent nodes, and adjusts these settings based on predefined upper limits to minimize out-of-region nodes, thereby enhancing security and transfer efficiency.
This approach reduces the load on nodes by confining data transfers within shards, improves security by limiting exposure to malicious nodes, and accelerates transaction/block transmission speeds within shards by minimizing the number of hops required.
Smart Images

Figure JP2023015643_24102024_PF_FP_ABST
Abstract
Description
Information processing device, information processing method, and program
[0001] The present invention relates to an information processing device as a node that constitutes a blockchain network.
[0002] Blockchain is a database that stores data by generating encrypted data units called blocks and linking the blocks together like a chain. Blockchain technology is widely used as a platform for trading NFTs (Non-fungible Tokens) such as digital art, as typified by Ethereum (registered trademark).
[0003] In Ethereum (registered trademark), it is being considered to speed up each Tx process by dividing multiple nodes into multiple shards and processing Tx (or blocks) in parallel for each shard.
[0004] Tennakoon Deepal and Gramoli Vincent, "Dynamic Blockchain Sharding", 5th International Symposium on Foundations and Applications of Blockchain 2022 (FAB 2022), 2022. https: / / drops.dagstuhl.de / opus / volltexte / 2022 / 16273Hiroshi Matsuura, Yoshinori Goto, and Hidehiro Sao, "New Neighbor Selection Method for Blockchain Network With Multiple Regions", IEEE Access, Aug. 2022. https: / / ieeexplore.ieee.org / stamp / stamp.jsp?tp=&arnumber=9906015
[0005] However, with conventional technology, nodes that make up a blockchain network are unable to properly set the neighboring nodes with which they send and receive information, which results in weak security and increases the load of information transfer.
[0006] The above issue is not limited to Ethereum (registered trademark), which uses a shard structure, but can occur in any blockchain network in which nodes are divided into groups and processing is performed for each group.
[0007] The present invention has been made in consideration of the above points, and aims to provide a technology that enables nodes that make up a blockchain network to appropriately set adjacent nodes with which to send and receive information.
[0008] According to the disclosed technology, there is provided an information processing device that functions as a specific node constituting a blockchain network in which there is one or more groups each having one or more nodes, and processing is performed for each group, and that includes an adjacent node selection unit that sets only nodes that belong to the specific group to which the specific node belongs as adjacent nodes of the specific node.
[0009] The disclosed technology enables nodes that make up a blockchain network to appropriately set adjacent nodes with which to send and receive information.
[0010] FIG. 1 is a configuration diagram of a system according to the present embodiment. FIG. 2 is a diagram illustrating a sharding framework on Ethereum (registered trademark). FIG. 3 is a diagram illustrating an example of creating a shard in an admin node and an example of replacing shard members. FIG. 4 is a diagram illustrating an example of default adjacent node settings in a blockchain. FIG. 5 is a diagram illustrating an example of adjacent node settings in Non-Patent Document 2. FIG. 6 is a diagram illustrating a technology according to the present embodiment. FIG. 7 is a diagram illustrating a technology according to the present embodiment. FIG. 8 is a diagram illustrating a configuration diagram of a node 10 (information processing device). FIG. 9 is a diagram illustrating an example of the hardware configuration of a device.
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.
[0012] Furthermore, while the following mainly describes issues related to Ethereum (registered trademark), which employs a sharded structure, and how to solve them, the application of the technology according to the present invention is not limited to this. The technology according to the present invention can be applied to any blockchain network that divides nodes into groups and performs processing for each group.
[0013] (Example of Overall System Configuration) Fig. 1 shows an example of the overall configuration of a system in this embodiment. As shown in Fig. 1, this system has a plurality of nodes provided on an IP network. Any two nodes can communicate with each other via the IP network. Note that in this embodiment, an IP network is used as the network, but a network other than an IP network may also be used.
[0014] Each node is a computer (which may be called an information processing device) with a communication function. The computer may be a physical machine or a virtual machine built on the cloud.
[0015] Each node manages a blockchain. In the technology according to this embodiment, the blockchain may be of any type, but the following description will be given using the Ethereum (registered trademark) blockchain as an example. Note that a node may also be called a "blockchain node." Also, as shown in FIG. 1, a network including multiple nodes may also be called a blockchain network.
[0016] (Regarding the Blockchain Assumed in the Present Embodiment) As mentioned above, a blockchain is a database that stores data by generating encrypted data units called blocks and linking the blocks like a chain. Blockchain technology is widely used as a platform for trading NFTs (Non-fungible Tokens) such as digital art, as typified by Ethereum (registered trademark).
[0017] In Ethereum (registered trademark), it is being considered to speed up each Tx processing by dividing many nodes into multiple shards (sets of nodes) and processing Tx (or blocks) in parallel for each shard.
[0018] The shard structure of Ethereum (registered trademark) is shown in Figure 2. Note that Figure 2 is based on the diagram found at "https: / / hashhub-research.com / articles / 2019-08-01-ethereum2-overview."
[0019] As shown in Figure 2, the blockchain (main chain) created when PoW (Proof of Work), which was used before PoS (Proof of Stake), was adopted, remains linked to the beacon chain. The beacon chain links to multiple shard chains and manages the shard blockchains.
[0020] Each shard runs its own blockchain, the shard chain. Shards propose blocks to the beacon chain, and the proposed blocks are incorporated into the beacon chain after being approved by the validation nodes in the admin nodes that manage the beacon chain.
[0021] In Figure 2, the State root associated with each block is the hash value of the Root value that summarizes all account states in a Merkle-Patricia tree after all transactions in that block have been executed. If the Tx of this block is tampered with, the value of the State root will change, so the State root is used to prevent tampering of each block.
[0022] The beacon chain is managed by admin nodes, which are a subset of blockchain nodes, and the node configuration of each shard is decided by consensus among the admin nodes belonging to the beacon chain. In addition, the nodes belonging to each shard are periodically replaced at the discretion of the admin nodes to protect them from malicious attacks such as Sybil attacks.
[0023] Figure 3 shows an example of creating a shard by an admin node and replacing its member nodes (Non-Patent Document 1). In this example, Epoch indicates the interval (in seconds) at which shard members are replaced. In this way, the nodes to which each shard belongs change over time (Epoch).
[0024] In the example shown in Figure 3, three shards are created in Epoch 1, and the admin node sets that each shard has nine node members. Additionally, nine nodes are randomly assigned to each shard from among the nodes that have expressed their desire to join the shard (nodes that have sent the Join function to the beacon chain's smart contract). These nodes are selected based on the consensus of the admin nodes.
[0025] Each node receives the shard tag in which it participates and a list of IP addresses of all nodes participating in that shard from the beacon chain smart contract, allowing each node to exchange Tx and blocks with other nodes belonging to its own shard.
[0026] Also, in Epoch 2 of Figure 3, there is a possibility that the participating nodes of each shard will change, so each shard node will receive a list of IP addresses of new member nodes from the beacon chain smart contract and will be able to exchange Tx and blocks with shard members by recognizing the new shard members.
[0027] As shown in Non-Patent Document 1, it is known that assigning shards to each application unit of DApps (Decentralized Applications) makes it more effective because it makes it less likely that cross-shard transactions will occur between shards.
[0028] (Regarding neighboring nodes) As shown in the default settings of Bitcoin nodes (https: / / github.com / bitcoin / bitcoin), each node belonging to a blockchain network normally maintains eight neighboring nodes as outbound neighboring nodes, and directly transmits blocks generated by the node itself or blocks / transactions transferred from other nodes to the outbound neighboring nodes. Note that "block / transaction" means a block or transaction.
[0029] Each node also maintains inbound neighboring nodes in addition to outbound neighboring nodes. An inbound neighboring node of a node is a neighboring node from which the node can directly receive blocks / transactions. Each node can maintain up to 125 outbound and inbound neighboring nodes combined. Note that a maximum of 125 neighboring nodes is just an example. The value may be greater than or less than 125.
[0030] In conventional blockchain technology, each node has two tables containing node information, from which outbound neighbors are selected. The first table, the new table, lists nodes with which the node that owns this table has never maintained an adjacent relationship, and initially stores information obtained from the Domain Name System (DNS) in the new table.
[0031] The second table is the tried table, which lists the nodes that have had adjacent relationships with the node in question. Inbound adjacent node settings are also configured in response to requests from adjacent nodes.
[0032] Each node that makes up a blockchain network can change its neighboring nodes after the outbound / inbound neighboring nodes have been set, but prior art has not proposed changing neighboring nodes depending on the node configuration within a shard.
[0033] (Regarding member replacement) As shown in Figure 3, in the technology of Non-Patent Document 1, admin nodes belonging to a beacon chain decide the number of shards and the number of nodes in each shard through discussion among themselves, and assign nodes to each shard. In addition, the admin node replaces the members of a shard in response to a shard member replacement request from a node belonging to the shard.
[0034] Shards are also assigned to each DApps application service (SNS, video streaming, etc.). In order to process the huge number of transactions (Tx) for each service in each shard, Tx can be stored in a block generated by a certain node and approval can be requested from the nodes in the shard to which that node belongs.
[0035] (Regarding Issues) However, Non-Patent Document 1 does not clearly state the method for selecting adjacent nodes in the nodes of each shard.
[0036] One possible method for selecting adjacent nodes is for each node to randomly select up to eight adjacent nodes by default from the new / tried table that the node maintains. Figure 4 shows that node 10 belonging to a certain shard has randomly selected seven nodes from the new / tried table as outbound adjacent nodes. Figure 4 also shows that node A has requested node 10 to add an inbound adjacent node, and if the number of inbound adjacent nodes of node 10 has not yet reached eight, node A will be selected as an inbound adjacent node.
[0037] However, this information (e.g., Tx / block) sent to nodes belonging to other shards not only places a load on the shard node that receives the information, but also exposes information that is only required by the shard node and admin node to nodes belonging to other shards, which is vulnerable in terms of security. Also, since it passes through many other shard nodes, sharing Tx / blocks within the same shard takes time.
[0038] Non-Patent Document 2 discloses a technique for increasing the transfer speed of a block to the entire network by relatively reducing the number of adjacent nodes outside the region to which the node belongs. For example, when node 10 sets outbound adjacent nodes under the condition that the number of nodes outside the region is ≦2 and the number of nodes within the region is ≦6, and sets inbound adjacent nodes under the condition that the number of nodes outside the region is ≦2 and the number of nodes within the region is ≦6, an outbound adjacent node list and an inbound adjacent node list such as those shown in FIG. 5 are generated.
[0039] However, Non-Patent Document 2 does not disclose the setting of adjacent nodes for each shard, as will be described later. Therefore, the technology according to Non-Patent Document 2 also has the same problems as those described above, that is, security is weak and it takes time to share Tx / blocks within the same shard.
[0040] (Overview of the technology related to this embodiment) In order to solve the above problem, in this embodiment, a node belonging to a shard sets only nodes belonging to the shard to which the node belongs as outbound and inbound adjacent nodes to the node.
[0041] In addition, if the configuration of the nodes participating in the shard changes and a node from another shard is set as the outbound / inbound adjacent node, the node will replace the adjacent node with a node belonging to the shard to which the node belongs.
[0042] Furthermore, in this embodiment, for each of the outbound and inbound adjacent nodes of a node belonging to a shard, an upper limit is set for the number of in-region adjacent nodes belonging to the region to which the node belongs, and an upper limit is set for the number of out-region adjacent nodes belonging to a region different from the region to which the node belongs, and the node sets in-region / out-region adjacent nodes that are equal to or less than these upper limits as adjacent nodes for outbound and inbound, respectively.
[0043] (Example) As a detailed example of the technology according to the present embodiment, an example will be described below. The system in this example (e.g., FIG. 1) basically employs the shard configuration described with reference to FIGS. 2 and 3.
[0044] In this embodiment, similar to Non-Patent Document 1, the admin node that manages the beacon chain decides the number of shards and the number of nodes in each shard through consultation between the admin nodes, and assigns nodes to each shard. The admin node also replaces the members of the shard in response to a shard member replacement request from the shard node.
[0045] Shards are also allocated to each DApps application service (SNS, video streaming, etc.), and in order to process the huge number of transactions (Tx) for each service, Tx are stored in a block generated by a node and approval is requested from the node in the shard to which that node belongs. In other words, Tx and blocks are transferred within the shard. Note that the allocation of each shard to a DApps application service is just one example, and is not limited to this.
[0046] As described above, the present embodiment also performs operations similar to those of the conventional technology, but as mentioned above, the conventional technology has problems. Therefore, in order to solve these problems, the present embodiment performs operations not found in the conventional technology. The following mainly describes the operations not found in the conventional technology.
[0047] In this embodiment, an example of operation focusing on a node 10 belonging to a certain shard will be described with reference to Fig. 6. Fig. 7 is a sequence diagram showing transmission and reception of information between the node 10 and the admin node 20. In the description with reference to Fig. 6, Fig. 7 will be referred to as appropriate.
[0048] 6 shows node 10 and node A that sends an inbound adjacent node addition request to node 10. Node A may belong to the same shard to which node 10 belongs, or may belong to a different shard from the shard to which node 10 belongs.
[0049] Basically, the configuration and replacement of neighboring nodes at each node (e.g., node 10) is performed based on ShardNodes events sent to each node from the beacon chain smart contract managed by the admin node 20.
[0050] As shown in Figure 6, the smart contract has a Join function, which is used when an external node applies to become a shard node.
[0051] When the number of Join nodes (nodes running to become shard nodes) reaches a specified number or more, the Create function is called at the discretion of the admin node 20, and as a result, a shard is generated. S101 in Fig. 7 shows the generation of this shard.
[0052] As shown in FIG. 6, the tag of the shard, the IP address list of the nodes participating in the shard, and the wallet account list of the nodes participating in the shard are broadcast to the nodes participating in the shard (S102 in FIG. 7).
[0053] As shown in Figure 6, a node (e.g., node 10) newly joining a shard can receive the broadcasted information and use that information to set (select) other nodes belonging to its own shard as adjacent nodes (S103 in Figure 7).
[0054] <Regarding Adjacent Node Selection Operation> The operation of node 10 for selecting an adjacent node will be described. In the example shown in Fig. 6, it is assumed that "upper limit on number of adjacent nodes: 8, upper limit on number of adjacent nodes outside the area: 2, upper limit on number of adjacent nodes within the area: 6" are set as pre-set parameters for node 10. In the example of Fig. 6, "upper limit on number of adjacent nodes: 8, upper limit on number of adjacent nodes outside the area: 2, upper limit on number of adjacent nodes within the area: 6" are applied to both the outbound adjacent node and the inbound adjacent node, but different parameters may be set for the outbound adjacent node and the inbound adjacent node.
[0055] The node 10 determines whether each node is inside or outside the region to which the node 10 belongs, based on each IP address in the shard participating node IP list (a list of IP addresses of each node in the shard to which the node 10 belongs) which is based on the IP address list received from the admin node 20. For example, the node 10 can determine the region for each IP address by using the IP address system defined by ICANN.
[0056] As a result, node 10 can select and set outbound / inbound adjacent nodes based on the preset parameters, with a maximum of six in-region adjacent nodes and two outside-region adjacent nodes. In the example shown in Fig. 6, "A, K" outside the region and "M, D, H, FJ, G, KM" inside the region are selected as outbound adjacent nodes. Also, "C, AB" outside the region and "I, J, L, M, X, Y" inside the region are selected as inbound adjacent nodes.
[0057] If a node is already included in the outbound adjacent node list, the node 10 replaces only the adjacent node that is not included in the shard participating node IP list received from the admin node 20. A specific example of this operation will be described later.
[0058] In this embodiment, no changes to the member configuration of a shard are allowed for one Epoch time, but during that time, honest, non-malicious participating nodes of each shard call the Replace function of the smart contract to prevent member fixation and protect the shard from malicious attacks. If the number of calls to the Replace function reaches a threshold, the Create function of the smart contract is called again to replace the members of that shard, and a new ShardNodes event is broadcast to all participating nodes of the shard whose members have been replaced (S104 and S105 in FIG. 7).
[0059] Therefore, each node participating in the shard (e.g., node 10) can update the IP address list of the members of its own shard (shard participating node IP list). As a result, for example, node 10 replaces neighboring nodes that no longer exist in its own shard in the outbound neighboring node list with nodes that belong to its own shard. In addition, node 10 can delete nodes that no longer exist in its own shard in the inbound neighboring node list and again accept neighboring node addition requests from other nodes up to the upper limit of in-region / out-of-region neighboring nodes. In node 10, these operations are performed in S106 of FIG. 7.
[0060] In the example shown in Figure 6, if the five nodes K, H, FJ, G, and KM in the Outbound neighboring node list and the five nodes AB, I, J, L, and M in the Inbound neighboring node list are not included in the IP address list of the ShardNodes event sent from the smart contract after a certain epoch, it means that these 10 nodes have left the shard. Note that all nodes participating in the shard can grasp the IP address lists of all nodes belonging to the shard.
[0061] Node 10 that receives this IP address list can replace K, H, FJ, G, and KM in the outbound neighboring node list with other nodes belonging to the shard. At that time, the newly set neighboring nodes can be randomly selected from the IP address list sent from the smart contract (the IP address list of nodes belonging to the shard).
[0062] Furthermore, based on the received IP address list, node 10 deletes five nodes A, B, I, J, L, and M from the inbound adjacent node list. As a result, based on the pre-set parameters, node 10 can accept new inbound adjacent node addition requests within the ranges of the number of external adjacent nodes≦2 and the number of internal adjacent nodes≦6. As a condition for this, it is necessary to confirm that the node that has made the inbound adjacent node addition request belongs to the shard in question; this process is performed by checking whether the address of the requesting node is included in the sent IP address list.
[0063] (Device Configuration Example) Fig. 8 shows an example of the functional configuration of the node 10. The node 10 may also be called an information processing device. The node 10 is one of multiple nodes that make up a blockchain network in which multiple nodes are divided into multiple shards and blocks are processed in parallel for each shard.
[0064] 8, the node 10 includes a communication unit 11, a management unit 12, an adjacent node selection unit 13, and a data storage unit 14. The communication unit 11 transmits and receives data (Tx, blocks, events, setting information, etc.) to and from other nodes.
[0065] The management unit 12 performs processes related to the blockchain (block generation, Tx processing, event processing, etc.) and manages the blockchain. Processing by the management units 12 of multiple nodes realizes, for example, the blockchain configuration shown in Figure 2. The processing content of the management unit 12 itself is an existing technology.
[0066] The adjacent node selection unit 13 executes the process related to the selection (setting) of adjacent nodes described above. The data storage unit 14 stores the blockchain, pre-set parameters, shard participating node IP list, outbound adjacent node list, inbound adjacent node list, etc. The adjacent node selection unit 13 executes the process by referencing this data in the data storage unit 14. An example of the operation of the adjacent node selection unit 13 is as follows. The following operation shows the operation of node 10, but the following operation is performed in each node in the shard to which node 10 belongs.
[0067] <Operation Example 1> The adjacent node selection unit 13 sets only nodes that belong to the shard to which the node 10 belongs as the outbound adjacent nodes and the inbound adjacent nodes of the node 10.
[0068] <Operation Example 2> In Operation Example 1, if the configuration of the nodes belonging to the shard to which node 10 belongs changes, the adjacent node selection unit 13 reconfigures each of the outbound adjacent nodes and inbound adjacent nodes of node 10 so that all of the outbound and inbound adjacent nodes become nodes belonging to the shard.
[0069] <Operation Example 3> In Operation Example 2, if the configuration of nodes belonging to the shard to which node 10 belongs changes, the adjacent node selection unit 13 minimizes changes to adjacent nodes by replacing only nodes that do not belong to the shard among the outbound adjacent nodes or inbound adjacent nodes of node 10 with nodes that belong to the shard.
[0070] <Operation Example 4> In any of Operation Examples 1 to 3, an upper limit value for the number of in-area adjacent nodes, which are adjacent nodes belonging to the area to which node 10 belongs, and an upper limit value for the number of out-area adjacent nodes, which are adjacent nodes belonging to an area different from the area to which node 10 belongs, are set for node 10. This setting may be performed commonly for both the outbound adjacent node and the inbound adjacent node, or may be performed separately for the outbound adjacent node and the inbound adjacent node.
[0071] The adjacent node selection unit 13 sets the in-area adjacent nodes whose number of in-area adjacent nodes is less than or equal to the upper limit value and the out-area adjacent nodes whose number of out-area adjacent nodes is less than or equal to the upper limit value as outbound adjacent nodes, and sets the in-area adjacent nodes whose number of in-area adjacent nodes is less than or equal to the upper limit value and the out-area adjacent nodes whose number of out-area adjacent nodes is less than or equal to the upper limit value as inbound adjacent nodes.
[0072] <Operation Example 5> In Operation Example 4, the upper limit value of the number of adjacent nodes outside the area for an Outbound adjacent node is the same as the upper limit value of the number of adjacent nodes outside the area for an Inbound adjacent node, and the upper limit value of the number of adjacent nodes within the area for an Outbound adjacent node is the same as the upper limit value of the number of adjacent nodes within the area for an Inbound adjacent node.
[0073] <Operation Example 6> In Operation Example 4 or Operation Example 5, the upper limit of the number of out-of-area adjacent nodes for an Outbound adjacent node is a value smaller than the average number of out-of-area adjacent nodes selected when an Outbound adjacent node is selected randomly. Also, the upper limit of the number of out-of-area adjacent nodes for an Inbound adjacent node is a value smaller than the average number of out-of-area adjacent nodes selected when an Inbound adjacent node is selected randomly.
[0074] For example, if outbound adjacent nodes are selected randomly three times, and the number of selected outside-area adjacent nodes is "first time = 5, second time = 2, third time = 5," the average value will be 4, so the upper limit for the number of outside-area adjacent nodes for outbound adjacent nodes will be set to a number smaller than 4. The same applies to inbound adjacent nodes.
[0075] (Hardware Configuration Example) The node 10 (information processing device) described in this embodiment can be realized, for example, by causing a computer to execute a program. This computer may be a physical computer or a virtual machine on a cloud.
[0076] That is, the device can be realized by executing a program corresponding to the processing performed by the device using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.
[0077] Fig. 9 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 9 includes a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, and the like, all of which are interconnected via a bus B. The computer may further include a GPU.
[0078] The program that realizes the processing on the computer is provided by a recording medium 1001, such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0079] The memory device 1003 reads and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes functions related to the node 10 in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, etc. The display device 1006 displays a GUI (Graphical User Interface) or the like according to the program. The input device 1007 is composed of a keyboard, mouse, buttons, a touch panel, etc., and is used to input various operation instructions. The output device 1008 outputs the results of calculations.
[0080] (Effects of the embodiment) As described above, the technology described in this embodiment allows for the transfer of Tx / blocks confined to each shard, so that nodes belonging to a certain shard are not burdened with the load of Tx / block transfers from other shards. This not only reduces the load on each node, but also strengthens security by enabling data transfers confined to each shard. Furthermore, the number of hops required for Tx / blocks to be transmitted to all nodes within a shard is reduced, improving the Tx / block transmission speed within each shard.
[0081] Furthermore, it has been shown that the speed at which Tx / blocks are transmitted to the entire blockchain network can be increased by reducing the number of extra-regional adjacent nodes, which are adjacent nodes belonging to a region different from the region to which the node belongs, relative to the number of intra-regional adjacent nodes (Non-Patent Document 2), and by applying this theory to each shard, the Tx / block transmission speed within the shard can be improved.
[0082] The following additional notes are provided regarding the above-described embodiments.
[0083] <Additional Notes> (Additional Item 1) An information processing device that functions as a specific node constituting a blockchain network in which there is one or more groups, each having one or more nodes, and processing is performed for each group, comprising: a memory; and at least one processor connected to the memory, wherein the processor sets only nodes that belong to the specific group to which the specific node belongs as adjacent nodes of the specific node. (Additional Item 2) When a configuration of a node belonging to the specific group is changed, the processor reconfigures adjacent nodes so that all outbound and inbound adjacent nodes to the specific node become nodes that belong to the specific group. The information processing device according to Additional Item 1. (Additional Item 3) When a configuration of a node belonging to the specific group is changed, the processor replaces only nodes that do not belong to the specific group, among the outbound or inbound adjacent nodes to the specific node, with nodes that belong to the specific group. (Supplementary Item 4) In the information processing device, a first upper limit value that is an upper limit value for the number of in-area adjacent nodes that are adjacent nodes belonging to an area to which the specific node belongs, and a second upper limit value that is an upper limit value for the number of out-area adjacent nodes that are adjacent nodes that belong to an area different from the area to which the specific node belongs are set, and the processor sets a number of in-area adjacent nodes that is equal to or less than the first upper limit value and a number of out-area adjacent nodes that is equal to or less than the second upper limit value as adjacent nodes of the specific node. (Supplementary Item 5) The information processing device according to Supplementary Item 4, wherein the upper limit value for the number of outbound out-area adjacent nodes is the same as the upper limit value for the number of inbound out-area adjacent nodes, and the upper limit value for the number of outbound in-area adjacent nodes is the same as the upper limit value for the number of inbound in-area adjacent nodes. (Supplementary Item 6) The information processing device according to Supplementary Item 4, wherein the second upper limit value is a value smaller than the average number of out-area adjacent nodes that would be selected when adjacent nodes are selected at random.(Supplementary Item 7) An information processing method executed by an information processing device that functions as a specific node constituting a blockchain network in which there is one or more groups each having one or more nodes, and processing is performed for each group, the information processing method comprising: setting only nodes that belong to a specific group to which the specific node belongs as adjacent nodes of the specific node. (Supplementary Item 8) A non-transitory storage medium that stores a program for causing a computer to function as an adjacent node selection unit in the information processing device described in any one of Supplementary Items 1 to 6.
[0084] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims.
[0085] REFERENCE SIGNS LIST 10 Node 11 Communication unit 12 Management unit 13 Adjacent node selection unit 14 Data storage unit 20 Admin node 1000 Drive device 1001 Recording medium 1002 Auxiliary storage device 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input device 1008 Output device
Claims
1. An information processing device that functions as a specific node constituting a blockchain network in which there is one or more groups, each group having one or more nodes, and processing is performed for each group, and that is equipped with an adjacent node selection unit that sets only nodes that belong to a specific group to which the specific node belongs as adjacent nodes of the specific node.
2. The information processing device according to claim 1, wherein when the configuration of a node belonging to the specific group is changed, the adjacent node selection unit reconfigures the adjacent nodes so that all outbound and inbound adjacent nodes to the specific node become nodes belonging to the specific group.
3. The information processing device according to claim 2, wherein when the configuration of a node belonging to the specific group is changed, the adjacent node selection unit replaces only nodes that do not belong to the specific group among the outbound or inbound adjacent nodes to the specific node with nodes that belong to the specific group.
4. The information processing device according to claim 1, wherein the information processing device is configured to set a first upper limit value which is an upper limit value for the number of in-area adjacent nodes which are adjacent nodes belonging to the area to which the specific node belongs, and a second upper limit value which is an upper limit value for the number of out-of-area adjacent nodes which are adjacent nodes belonging to an area different from the area to which the specific node belongs, and the adjacent node selection unit sets in-area adjacent nodes whose number is equal to or less than the first upper limit value and out-of-area adjacent nodes whose number is equal to or less than the second upper limit value as adjacent nodes of the specific node.
5. An information processing device as described in claim 4, wherein the upper limit of the number of outbound adjacent nodes outside the region is the same as the upper limit of the number of inbound adjacent nodes outside the region, and the upper limit of the number of outbound adjacent nodes within the region is the same as the upper limit of the number of inbound adjacent nodes within the region.
6. The information processing device according to claim 4, wherein the second upper limit value is a value smaller than the average number of external adjacent nodes that would be selected when adjacent nodes are randomly selected.
7. An information processing method executed by an information processing device that functions as a specific node constituting a blockchain network in which there is one or more groups, each group having one or more nodes, and processing is performed for each group, the information processing method comprising: setting only nodes that belong to a specific group to which the specific node belongs as adjacent nodes of the specific node.
8. A program for causing a computer to function as an adjacent node selection unit in the information processing device according to any one of claims 1 to 6.
Citation Information
Patent Citations
Information processing device, method for selecting adjacent node, and program
WO2022149239A1
Information processing device, node selection method, and program
WO2023012867A1
