Method, system and computer program product for service management of blockchain networks
By using allocation, grouping and implementation components to manage nodes in the blockchain network, the problem of inefficient node management in the blockchain network is solved, uninterrupted service management and smooth transactions are achieved, and the availability and efficiency of the network are improved. .
Patent Information
- Application Number
- CN201980013930.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-02-26
- Filing Date
- 2019-01-31
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-01-31
AI Technical Summary
In blockchain networks, existing technology is difficult to efficiently manage different types of nodes, resulting in inefficient service management. Especially in large blockchain networks, node updates and maintenance may lead to transaction interruptions and reduced efficiency.
By introducing allocation components, grouping components and implementation components into the blockchain network, different types of nodes are allocated to different operation time slots, and service management operations are performed by aggregating nodes to satisfy the consensus algorithm and ensure the correct ordering of transactions. and verification.
It achieves uninterrupted service management, improves the availability and efficiency of the blockchain network, ensures smooth transactions and efficient node updates, and avoids transaction interruptions.
Smart Images

Figure CN111742295B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to distributed computing systems, and more particularly, to service management for interdependent blockchain network functions. Background Art
[0002] In a blockchain network, different types of nodes can be hosted as containers of servers. A collection of various types of nodes can provide different functions, so the management of nodes should be performed considering the different functions of the nodes.
[0003] For example, Carlen et al. (U.S. Pat. No. 9,645,811) discuss "a method for detecting a failure of a container in a controller node—wherein the container includes a service that is executing and is isolated from other services that are executing in other containers on the controller node." See Abstract. "The controller node terminates the container that includes the service and determines a known state of the service." See Ibid. "The controller node restarts the service in a new container that replaces the terminated container, wherein the restarted service starts from the known state without using changes." See Ibid. Summary of the invention
[0004] A summary of the contents is given below to provide a basic understanding of one or more embodiments of the present invention. This summary is not intended to identify key or important elements, or to delineate any scope of a particular embodiment or any scope of the claims. Its sole purpose is to present concepts in a simplified form as a prelude to a more detailed description presented later. In one or more embodiments described herein, a system, computer-implemented method, apparatus, and / or computer program product that facilitates service management of the infrastructure of a blockchain network is provided.
[0005] According to an embodiment, the system may include a memory storing computer executable components and a processor executing the computer executable components stored in the memory. The computer executable components may include an allocation component that allocates a first group of nodes of a first node type to a first group of operation slots within a blockchain network, and allocates a second group of nodes of a second node type different from the first node type to a second group of operation slots. The computer executable components may also include a grouping component that aggregates the second group of nodes allocated to the second group of operation slots with the first group of nodes within the first group of operation slots. One or more of the first group of operation slots may include multiple allocated nodes corresponding to both the first group of nodes and the second group of nodes. Further, the computer executable components may include an implementation component that can perform service management operations based on a grouping component that aggregates the first group of nodes and the second group of nodes within the first group of operation slots. A consensus algorithm may be satisfied during the execution of the service management operation.
[0006] In an example, the allocation component may allocate the first set of nodes independently of the allocation of the second set of nodes. According to another example, the first node type may be a first function present in the blockchain network. Further, for this example, the second node type may be a second function present in the blockchain network. The first function may be different from the second function.
[0007] In another example, the implementation component may perform service management operations within the blockchain network based on an endorsement policy associated with a first set of nodes and a consensus algorithm associated with a second set of nodes. Further with respect to this example, the endorsement policy may determine a minimum number of nodes from the second set required to endorse a transaction by applying a digital signature to the transaction. Even while maintaining the minimum number of nodes, individual transactions may be canceled if the service management operation removes a node from service for an ongoing transaction. In this case, the client may reissue the transaction. Thus, a verified transaction may be ensured to be entered on the blockchain.
[0008] According to an example, the consensus algorithm may provide both correct ordering and verification for a set of transactions within a corresponding block of the blockchain by maintaining a minimum number of first and second sets of nodes in service. According to other examples, the consensus algorithm may provide both correct ordering and verification for a set of transactions within a corresponding block of the blockchain by maintaining a minimum number of nodes within each of the plurality of node groups in service. According to another example, the grouping component may minimize the number of steps performed to update the first and second sets of nodes during the execution of the service management operation by the implementation component.
[0009] Another embodiment relates to a computer-implemented method, which may include, by a system operably coupled to a processor and within a blockchain network, assigning a first group of nodes of a first node type to a first group of operating slots, and assigning a second group of nodes of a second node type different from the first node type to a second group of operating slots. The method may also include aggregating, by the system, the second group of nodes assigned to the second group of operating slots with the first group of nodes within the first group of operating slots. One or more of the first group of operating slots may include a plurality of assigned nodes corresponding to both the first group of nodes and the second group of nodes. Further, the method may include performing, by the system, a service management operation based on aggregating the first group of nodes and the second group of nodes aggregated within the first group of operating slots. A consensus algorithm may be satisfied during the execution of the service management operation.
[0010] According to an example, the second set of nodes may be endorsing entities. Further with respect to this example, the method may include receiving, by the system, a transaction submitted to the blockchain network and determining, by the system, two or more nodes of the second set of nodes that endorse the transaction. The method may also include completing, by the system, the transaction during execution of the service management operation.
[0011] Yet another embodiment relates to a computer program product for facilitating service management of a blockchain infrastructure. The computer program product may include a computer-readable storage medium having program instructions embodied therewith. The program instructions may be executed by a processing component to cause the processing component to assign a first group of nodes of a first node type to a first group of operating time slots by the processing component and within a blockchain network, and assign a second group of nodes of a second node type different from the first node type to a second group of operating time slots. The program instructions may also cause the processing component to aggregate the second group of nodes assigned to the second group of operating time slots with the first group of nodes within the first group of operating time slots by the processing component. One or more of the first group of operating time slots may include a plurality of allocated nodes corresponding to both the first group of nodes and the second group of nodes. The program instructions may also cause the processing component to perform a service management operation by the processing component based on the aggregation of the first group of nodes and the second group of nodes aggregated within the first group of operating time slots. A consensus algorithm may be satisfied during the execution of the service management operation.
[0012] Another embodiment may relate to a blockchain network, which may include a first group of nodes that perform a first function in the blockchain network and a second group of nodes that perform a second function in the blockchain network. The first function may be different from the second function. The blockchain network may also include a service management engine, which includes a memory storing computer executable components and a processor that executes the computer executable components stored in the memory. The computer executable components may also include a classification component that determines that the first group of nodes performs the first function and the second group of nodes performs the second function. The computer executable component may also include a rule component that determines a first number of steps to be performed for performing a service management operation on the first group of nodes and a second number of steps to be performed for performing a service management operation on the second group of nodes. Further, the computer executable component may include an implementation component that performs a service management operation based on an aggregation of the first number of steps and the second number of steps. The aggregation may define a minimum number of steps for performing a service management operation.
[0013] In an example, the rule component may determine that the number of nodes in the first set of nodes is less than a predetermined number of nodes specified for the service management operation. Further with respect to this example, the computer executable component may also include an insertion component that adds one or more nodes to the first set of nodes. The insertion component may determine the number of nodes to add based on a difference between the number of nodes in the first set of nodes and the predetermined number of nodes.
[0014] According to another example, the rule component can determine that the number of nodes in the first set of nodes is greater than a predetermined number of nodes specified for the service management operation. In addition, the implementation component can perform the service management operation on the first set of nodes without losing the availability of the blockchain network.
[0015] Yet another embodiment relates to a computer-implemented method, which may include determining, by a system operably coupled to a processor, that a first set of nodes in a blockchain network performs a first function, and determining that a second set of nodes in the blockchain network performs a second function different from the first function. The method may also include determining, by the system, a first number of steps to be performed to perform a service management operation on the first set of nodes and a second number of steps to be performed to perform the service management operation on the second set of nodes. Further, the method may include performing, by the system, the service management operation based on an aggregation of the first number of steps and the second number of steps. The aggregation may define a minimum number of steps for performing the service management operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A block diagram illustrating an example non-limiting system that facilitates service management of an infrastructure of a blockchain network in accordance with one or more embodiments described herein.
[0017] Figure 2 An example non-limiting representation of a simplified version of a blockchain network is shown in accordance with one or more embodiments described herein.
[0018] Figure 3 A block diagram of an example non-limiting blockchain network that facilitates service management according to one or more embodiments described herein is shown.
[0019] Figure 4 A flowchart is shown of an example, non-limiting computer-implemented method that facilitates performing service management in a blockchain network in accordance with one or more embodiments described herein.
[0020] Figure 5 A flow diagram is shown of an example, non-limiting computer-implemented method that facilitates performing service management operations within a blockchain network in accordance with one or more embodiments described herein.
[0021] Figure 6 An example non-limiting blockchain network environment is shown in accordance with one or more embodiments described herein.
[0022] Figure 7 Another implementation of an example, non-limiting blockchain network environment according to one or more embodiments described herein is shown.
[0023] Figure 8 A flow diagram is shown of an example, non-limiting computer-implemented method for facilitating service management of an infrastructure of a blockchain network in accordance with one or more embodiments described herein.
[0024] Fig. 9A flow diagram illustrating an example, non-limiting computer-implemented method that facilitates determining node types corresponding to a plurality of nodes associated with an infrastructure of a blockchain network in accordance with one or more embodiments described herein.
[0025] Fig.10 A flow diagram is shown of an example, non-limiting computer-implemented method that facilitates optionally optimizing assignment of nodes to different communication channels in accordance with one or more embodiments described herein.
[0026] Fig.11A An example non-limiting representation of uncontrolled usage of a node is shown.
[0027] Fig. 11B An example non-limiting representation of controlled usage of nodes is shown in accordance with one or more embodiments described herein.
[0028] Fig.12 A flow chart is shown that illustrates an example, non-limiting computer-implemented method that facilitates determining a number of operating time slots required to allocate a service management operation in accordance with one or more embodiments described herein.
[0029] Fig.13 A flow chart is shown that facilitates continuing to determine a number of operating time slots required to allocate a service management operation in accordance with one or more embodiments described herein.
[0030] Fig.14 Illustrated is a flow diagram of an example, non-limiting computer-implemented method of proceeding to determine a number of operating time slots required to allocate a service management operation in accordance with one or more embodiments described herein.
[0031] Fig.15 A flow chart illustrating an example, non-limiting computer-implemented method for allocating one or more nodes to a maximum number of operating time slots required to perform service management operations in accordance with one or more embodiments described herein.
[0032] Fig.16 A flow chart is shown of an example, non-limiting, computer-implemented method for continuing to assign one or more nodes to a maximum number of operating time slots required to perform service management operations in accordance with one or more embodiments described herein.
[0033] Fig.17 Shown are non-limiting schematic representations of multiple role instances according to one or more embodiments described herein.
[0034] Fig.18The present invention shows a method according to one or more embodiments described herein. Fig.17 An example non-restrictive endorsement policy representation of .
[0035] Fig.19 The present invention shows a method according to one or more embodiments described herein. Fig.17 An example non-restrictive sorter node strategy representation of .
[0036] Fig. 20 The present invention shows a method according to one or more embodiments described herein. Fig.17 An example non-restrictive Kafka node policy representation shows Figure 1 An example non-restrictive node policy representation of .
[0037] Fig.21 An example non-limiting representation of multiple roles merged in accordance with one or more embodiments described herein is shown.
[0038] Fig. 22 An example, non-limiting blockchain network service manager program is shown in accordance with one or more embodiments described herein.
[0039] Fig.23 A block diagram is shown of an example non-limiting operating environment in which one or more embodiments described herein may be facilitated.
[0040] Fig.24 A cloud computing environment is shown according to one or more embodiments described herein.
[0041] Fig.25 Abstract model layers are shown according to one or more embodiments described herein. DETAILED DESCRIPTION
[0042] The following detailed description is illustrative only and is not intended to limit the embodiments and / or the application or uses of the embodiments. In addition, there is no intention to be bound by any express or implied information presented in the previous background or summary sections or in the detailed description section.
[0043] One or more embodiments are now described with reference to the accompanying drawings, wherein the same reference numerals are used to refer to the same elements throughout the text. In the following description, for the purpose of explanation, many specific details are set forth in order to provide a more thorough understanding of one or more embodiments. However, it is apparent that one or more embodiments may be practiced without these specific details in different circumstances.
[0044] Various aspects discussed herein relate to management and specifically to service management activities on a network of nodes, such as a blockchain network. As used herein, a "node" is a specific function that exists in a network. Further, various aspects relate to a blockchain network, and in blockchain terminology, a network refers to a network of nodes. A node (or set of nodes) within a network may have different functions. Further, there may be multiple nodes working together in a cluster.
[0045] One or more embodiments discussed herein may relate to enterprise-level service management of blockchain infrastructure across trusted business networks for availability, performance, compliance, and security. For example, in the context of service management, unique characteristics of nodes of corresponding types on a blockchain network may be captured. Further, the possibility of performing maintenance operations on the infrastructure without interrupting transactions between business participants on the blockchain network may be identified.
[0046] Further, the various embodiments provided herein may identify the problem of inefficiency in service management operations caused by uncontrolled assignment of proxy sets. In an example, if there is a large blockchain network and data should only be shared with certain participants, dedicated channels may be created only with those participants. This problem may be solved by explicitly assigning proxy sets to one or more channels to increase the efficiency of service management operations.
[0047] Furthermore, the present invention provides an overall design for a non-disruptive and effective maintenance program. Thus, one or more embodiments may be utilized by all types of businesses from different industries that operate based on an uninterrupted flow of transactions on a blockchain network.
[0048] One implementation of a blockchain framework implementation may be a Hyperledger Fabric. For purposes of explaining various aspects, examples related to a Hyperledger Fabric implementation may be provided. However, note that the disclosed aspects are not limited to a Hyperledger Fabric implementation, and other types of blockchain framework implementations may also be used with the disclosed aspects. Further, although various aspects are explained herein using different names for nodes, implementations of the disclosed aspects are not limited to such naming conventions.
[0049] As discussed herein, for a blockchain protocol, in order to update and / or repair a node, one or more nodes may be taken down (e.g., for update, repair, etc.). In some implementations, in order to update and / or repair (multiple) nodes, there may be redundancy based on other nodes when the target node is taken down, and thus efficiency is not lost. For each node type, there may be f fault-tolerant nodes, where f is an integer. Note that the formula may be different depending on the type of node under consideration. In an example, in connection with a first type of node (e.g., an ordering node), there may be a formula indicating that for a crash consensus with up to f faulty nodes, the number of nodes should be no less than 2f+1,. Thus, for this formula, there must be a minimum of three ordering nodes in the system. Further, if there are five ordering nodes in the system, the failure of two nodes can be tolerated. For a Byzantine consensus in which malicious nodes may exist, the formula becomes 3f+1. Note, however, that other formulas may be used with other implementations.
[0050] Figure 1 A block diagram of an example non-limiting system 100 for facilitating service management of the infrastructure of a blockchain network according to one or more embodiments described herein is shown. Aspects of the systems (e.g., system 100, etc.), apparatuses, or processes explained in this disclosure may constitute (multiple) machine-executable components embodied in (multiple) machines (e.g., embodied in one or more computer-readable media (or media) associated with one or more machines). Such components, when executed by one or more machines (e.g., computers, computing devices, virtual machines, etc.), may cause the machines to perform the described operations.
[0051] System 100 and / or components of system 100 may be used to solve new problems arising from advances in the above-mentioned technologies, computer architectures, etc. One or more embodiments of system 100 may provide technical improvements to computing systems, processor systems, artificial intelligence systems, and / or other systems. One or more embodiments of system 100 may also provide technical improvements by improving processing performance, improving processing efficiency, and / or improving processing characteristics.
[0052] exist Figure 1In the embodiment shown in , the system 100 may include an allocation component 102, a grouping component 104, an implementation component 106, a processing component 108, a memory 110, and / or a storage device 112. The memory 110 may store computer executable components and instructions. The processing component 108 (e.g., a processor) may facilitate the execution of instructions (e.g., computer executable components and corresponding instructions) by the allocation component 102, the grouping component 104, the implementation component 106, and / or other system components. As shown, in some embodiments, one or more of the allocation component 102, the grouping component 104, the implementation component 106, the processing component 108, the memory 110, and / or the storage device 112 may be electrically coupled, communicatively coupled, and / or operatively coupled to each other to perform one or more functions of the system 100.
[0053] The allocating component 102 can allocate a first group of nodes 114 of a first node type to a first group of operating time slots within the blockchain network. Further, the allocating component 102 can allocate a second group of nodes 116 of a second node type different from the first node type to a second group of operating time slots within the blockchain network. The allocating component 102 can allocate the first group of nodes 114 to the first group of operating time slots independently of the allocation of the second group of nodes 116 to the second group of operating time slots.
[0054] In some implementations, the first node type may be a first function present in the blockchain network, and the second node type may be a second function present in the blockchain network. The first function may be different from the second function. In a specific non-limiting example, within the blockchain network, the first group of nodes may be peer nodes, and the second group of nodes may be orderer nodes.
[0055] On a blockchain network, peer nodes are used by business participants. Peer nodes endorse each other for transactions on the network. The one or more types of transactions may be associated with a specific endorsement policy, which is agreed upon by the business participants. Examples of endorsement policies include, but are not limited to: T(2,'A','B','C') requests signatures from any two principals of 'A', 'B', 'C'; T(1,'A',T(2,'B','C')) requests one signature from principal A or corresponding signatures from principals B and C. Maintenance of peer nodes should be performed in a way that interacts with business participants who create different types of transactions and propose endorsement policies. For example, if a transaction has a policy T(3,'A','B','C'), no node can be stopped. Further, there should be communication with business participants before performing operations.
[0056] On a blockchain network, an orderer node is a gateway between peer nodes and the infrastructure. An orderer node is a public facility. A peer node can connect to any orderer node it chooses for the ordering service. At no time can an orderer node be used exclusively by any business participant. Further, orderer nodes can be homogeneous, and no orderer node is special. Due to these characteristics, during maintenance of an orderer node, it should be ensured that there are enough orderer nodes available near the peer node for one or more peer nodes.
[0057] The grouping component 104 may aggregate the second set of nodes 116 assigned to the second set of operating time slots with the first set of nodes 114 within the first set of operating time slots. Further, one or more of the first set of operating time slots may include a plurality of assigned nodes corresponding to both the first set of nodes 114 and the second set of nodes 116. The implementation component 106 may perform a service management operation based on the grouping component 104 aggregating the first set of nodes 114 and the second set of nodes 116 within the first set of operating time slots. A consensus algorithm may be satisfied during the execution of the service management operation.
[0058] According to some implementations, the implementation component 106 can perform service management operations based on an endorsement policy associated with the first set of nodes 114 and a consensus algorithm associated with the second set of nodes 116 within the blockchain network. Further with respect to these implementations, the endorsement policy can determine a minimum number of the second set of nodes required to endorse a transaction by applying a digital signature to the transaction.
[0059] In an example, the consensus algorithm can provide both correct ordering and verification for a set of transactions within one or more blocks of a blockchain by maintaining a minimum number of the first set of nodes and a minimum number of the second set of nodes in service. Further, according to some implementations, the grouping component 104 can minimize the number of steps performed to update the first set of nodes and the second set of nodes during the implementation component performing the service management operation.
[0060] In various embodiments, the system 100 may be any type of component, machine, device, facility, apparatus, and / or instrument that includes a processor and / or is capable of effective and / or operational communication with a wired and / or wireless network. The components, machines, devices, equipment, facilities, and / or instruments that may constitute the system 100 may include a tablet computing device, a handheld device, a server-type computing machine and / or database, a laptop computer, a notebook computer, a desktop computer, a cellular phone, a smart phone, a consumer appliance and / or instrument, an industrial and / or commercial device, a handheld device, a digital assistant, a phone suitable for multimedia Internet, a multimedia player, and the like.
[0061] In various embodiments, the system 100 may employ hardware and / or software to solve problems that are highly technical in nature, are not abstract, and are performed by humans in a series of intellectual activities. Further, in certain embodiments, some of the processing performed may be performed by one or more special-purpose computers (e.g., one or more special-purpose processing units, special-purpose computers with quantum computing components, etc.) to perform defined tasks related to service management.
[0062] It will be understood that the system 100 (e.g., the allocation component 102, the grouping component 104, the implementation component 106, and / or other system components) performs service management of the blockchain network that is not performable by humans (e.g., beyond the thinking ability of a single human). For example, the amount of data processed by the system 100 (e.g., the allocation component 102, the grouping component 104, the implementation component 106, and / or other system components) over a period of time, the speed of the data processed, and / or the type of data processed may be greater, faster, and different than the amount of data, the speed of processing, and the type of data that can be processed by a single human mind over the same period of time. The system 100 (e.g., the allocation component 102, the grouping component 104, the implementation component 106, and / or other system components) may also be fully operational (e.g., fully powered on, fully executed, etc.) for performing one or more other functions while also performing the above-mentioned service management for the blockchain network. In addition, the operation time slots generated and coordinated by the system 100 (e.g., the allocation component 102, the grouping component 104, the implementation component 106, and / or other system components) may include information that is not possible to obtain manually by a user. For example, the types of information, variety of information, and / or optimizations used by a system to generate and output one or more service management operations may be more complex than what a user can obtain and process manually.
[0063] In more detail, Figure 2 An example non-limiting representation of a simplified version of a blockchain network 200 is shown according to one or more embodiments described herein. As used herein, a "transaction" is a business logic between clients of a blockchain network. In a use case example, a transaction can be a money transfer from a first team member to a second team member, or another type of transfer (e.g., a vehicle transfer).
[0064] A "channel" is a private overlay that allows for data isolation and confidentiality. In a use case example, a channel may be a subset of team members between whom money transfers are invisible to outsiders. There may be multiple business entities working on a blockchain network. Business entities working together for an application may belong to a channel. For example, there may be two or more different financial entities working on a channel, however, these entities do not participate in a channel that includes different subsets of business entities (e.g., car dealers) on different channels. As described above, transactions occurring on a particular channel are invisible to other entities on the channel according to one or more established rules and / or policies.
[0065] A "state" represents the latest (e.g., most current) values of all keys included in the transactions of a channel. In a use case example, the state may be the respective balances of members in a subset of team members. For example, when a transfer is performed, the balance of a first entity (e.g., a first customer) may decrease and the balance of a second entity (e.g., a second customer) may increase.
[0066] A "ledger" is a verifiable history of all state changes on one or more channels. In a use case example, a ledger could be a history of all balance changes between a subset of team members. A "block" is an ordered and encrypted list of transactions. In a use case example, a block is all transactions among a subset of team members during a defined time frame (e.g., a week), ordered in time, and sealed in an envelope (which could be a virtual electronic envelope).
[0067] Thus, a "blockchain" includes blocks that can be cryptographically linked to their previous blocks. A blockchain can represent an implementation of a ledger. In a use case example, a blockchain can be a stack of envelopes, ordered by a defined time frame (e.g., a week), and each envelope can be glued to the previous envelope. In more detail, multiple transactions can be added to a block and the block enters the blockchain in a way that it points to the previous block. In an example, a hash operation can be performed, and if the previous block is changed by a malicious entity, the node can be removed.
[0068] 2 are two different transactions, shown as a first transaction 2021 and a second transaction 2022. Note that although only two transactions are shown, there may be more than two transactions occurring substantially simultaneously in a blockchain network. These transactions may be submitted on respective applications such as a banking application, a car sales application, or another type of application.
[0069] The one or more applications may be deployed on separate channels (shown as long rounded boxes). For example, a first transaction 2021 utilizing a first application may be deployed on a first channel 2041, while a second transaction 2022 utilizing a second application may be deployed on a second channel 2042.
[0070] Additionally, there can be nodes that participate in consensus, which can be independent nodes. As shown in the figure, these nodes (represented by circles) are not included in the channel. In the example, when a client submits a request to the application, all transactions that belong to the channel are part of the transaction. Further, regardless of the application used, the transaction attempts to obtain consensus from a set of independent nodes that are not associated with the channel. Note that consensus occurs outside of the transaction.
[0071] In an example use case, an application may indicate that a certain amount of money should be transferred from a first account to a second account (e.g., a transaction). Another application may indicate that a vehicle is to be transferred from a dealer to a customer and that ownership of the vehicle is transferred between the two entities. These two different transactions occur on different channels. However, when independent consensus is achieved, these transactions can be merged into the same block. Thus, multiple transactions can be added to the same block, which is what consensus achieves. Further, consensus can facilitate the ordering of transactions. For example, consensus puts transactions into blocks, adds blocks to the blockchain, and then adds the blockchain to the commit node, which can occur outside of transactions.
[0072] In more detail, a first channel 2041 is in a defined state 206 to be persisted. The defined state 206 may include the latest values of all keys included in the channel's transactions. In the use case example, the state includes the balances of each person in a subset of team members. When the one or more transactions are completed, there is a blockchain 208 in which all blocks 210 are persisted, which can provide a verifiable history of all state changes on one or more channels.
[0073] Figure 3 A block diagram of an example non-limiting blockchain network 300 that facilitates service management according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0074] The blockchain network 300 may include one or more of the components and / or functions of the system 100, or vice versa. The blockchain network 300 may include a first group of nodes 302 that may perform a first function in the blockchain network 300. A second group of nodes 304 that may perform a second function in the blockchain network 300 may also be included. The first function performed by the first group of nodes 302 may be different from the second function performed by the second group of nodes 304.
[0075] The blockchain network 300 may also include a service management engine 306, a classification component 308, a rule component 310, an implementation component 312, and an insertion component 314. Further, the service management engine 306 may include a memory (e.g., memory 110) that can store computer executable components and a processor (e.g., processing component 108) that can execute computer executable components stored in the memory.
[0076] The classification component 308 can determine that the first group of nodes 302 performs a first function and the second group of nodes 304 performs a second function. The rule component 310 can determine a first number of steps to be performed to perform the service management operation on the first group of nodes 302 and a second number of steps to be performed to perform the service management operation on the second group of nodes 304. Further, the implementation component 312 can perform the service management operation based on an aggregation of the first number of steps and the second number of steps. For example, the aggregation can define a minimum number of steps for performing the service management operation.
[0077] Depending on the implementation, the rule component 310 can determine that the number of nodes in the first set of nodes 302 is less than the predetermined number of nodes specified for the service management operation. Further for this implementation, the insertion component 314 can add one or more nodes to the first set of nodes 302. For example, the insertion component 314 can determine the number of nodes to add based on the difference between the number of nodes in the first set of nodes 302 and the predetermined number of nodes.
[0078] According to some implementations, the rule component 310 can determine that the number of nodes in the first set of nodes 302 is greater than the predetermined number of nodes specified for the service management operation. Further with respect to these implementations, the implementation component 312 can perform the service management operation on the first set of nodes 302 without a failure of the blockchain network 300.
[0079] Figure 4 A flowchart of an example, non-limiting, computer-implemented method 400 for facilitating service management in a blockchain network according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0080] At 402, a system operably coupled to a processor and within a blockchain network (e.g., via an assignment component 102) may assign a first group of nodes of a first node type (e.g., first group of nodes 114, first group of nodes 302) to a first group of operating slots, and assign a second group of nodes of a second node type different from the first node type (e.g., second group of nodes 116, second group of nodes 304) to a second group of operating slots. Depending on the implementation, the first group of nodes may be assigned to the first group of operating slots independently of the second group of nodes being assigned to the second group of operating slots.
[0081] In an example, the first node type may be a first function present in the blockchain network. Further with respect to this example, the second node type may be a second function present in the blockchain network. The first function and the second function may be different functions. In a specific example, the first group of nodes may be peer nodes, and the second group of nodes may be sorter nodes. However, it should be noted that one or more embodiments provided herein are not limited to this implementation, and other types of nodes may be used for the first group of nodes, the second group of nodes, and / or subsequent groups of nodes.
[0082] At 404, the second set of nodes assigned to the second set of operating time slots can be aggregated with the first set of nodes within the first set of operating time slots by the system (e.g., by grouping component 104). One or more of the first set of operating time slots can include a plurality of assigned nodes corresponding to both the first set of nodes and the second set of nodes.
[0083] Further, at 406, the system (eg, by implementing component 106) can perform a service management operation based on the first set of nodes and the second set of nodes being gathered within the first set of operation time slots. A consensus algorithm can be satisfied during the performance of the service management operation.
[0084] For example, a service management operation can be performed within the blockchain network based on an endorsement policy associated with a first set of nodes and a consensus algorithm associated with a second set of nodes. Further with respect to this example, a minimum number of the second set of nodes required to endorse the transaction can be determined based on applying a digital signature to the transaction.
[0085] According to some implementations, in order to aggregate the second set of nodes, the number of steps performed to update the first set of nodes and the second set of nodes may be determined. For example, determining the number of steps performed may be performed while the service management operation is being performed.
[0086] In another example, the consensus algorithm may provide both correct ordering and validation for a set of transactions within one or more blocks of the blockchain by maintaining a minimum number of first and second sets of nodes in service. According to other examples, the consensus algorithm may provide both correct ordering and validation for a set of transactions within a corresponding block of the blockchain by maintaining a minimum number of nodes within each of the plurality of sets of nodes in service.
[0087] The service management operation may be performed during the processing of the transaction. For example, the transaction may be submitted to the blockchain network before or after the service management operation begins. In this case, if one or more nodes in the second set of nodes will be used to endorse the transaction, the service management operation may be temporarily stopped. Upon or after determining that the transaction is complete (e.g., one or more nodes have completed endorsing (or refusing to endorse) the transaction), the service management operation as indicated at 406 of the computer-implemented method may be performed.
[0088] Figure 5 A flowchart of an example, non-limiting, computer-implemented method 500 for facilitating performing service management operations within a blockchain network according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0089] At 502, a system operably coupled to a processor may determine that a first set of nodes in a blockchain network performs a first function and a second set of nodes in the blockchain network performs a second function different from the first function (e.g., via classification component 308).
[0090] At 504, a first number of steps to be performed for a first set of nodes to perform a service management operation and a second number of steps to be performed for a second set of nodes to perform a service management operation can be determined by the system (eg, via rules component 310).
[0091] Further, at 506, the system can perform the service management operation based on an aggregation of the first number of steps and the second number of steps (eg, by implementing component 312). The aggregation can define a minimum number of steps for performing the service management operation.
[0092] As discussed herein, various aspects can manage servers that maintain different types of nodes in a non-disruptive manner so that business participants on the network do not notify the service management program. Further, management can be performed in an efficient manner in terms of server utilization and time consumption.
[0093] It should be noted that on a blockchain network, consensus should be guaranteed on all channels, but service management activities (such as shutting down a participant's server / container / service for management purposes) may have an impact on consensus. Further, applications are not controlled by any one blockchain service entity. Moreover, applications are not even completely controlled by the blockchain service provider. Instead, multiple business participants and service providers should cooperate to deliver consensus. This brings additional complexity to management operations, which can be overcome using various aspects disclosed.
[0094] Figure 6An example, non-limiting blockchain network environment 600 is shown according to one or more embodiments described herein. As shown, one or more wireless (or wired) communication links may be established between different entities, such as through a communication network 602. In an example, the communication network 602 may be a cloud computing network. A blockchain service management device 604 may facilitate the execution of one or more aspects discussed herein.
[0095] As shown, different nodes may be included within the blockchain network environment 600, and one or more client applications may be docked with node groups representing multiple locations and / or multiple regions (e.g., through one or more channels). For example, one or more client applications 605 may interact with a first group of nodes 606, which may include endorser nodes (E0), endorser nodes (E1), endorser nodes (E2), submission nodes (C0), and sorter nodes 608. Further, another client application 610 may interact with a second group of nodes 612, which may include endorser nodes (E3), submission nodes (C1), and sorter nodes 614. In addition, client applications 616 may interact with a third node set 618, which may include endorser nodes (E4), submission nodes (C2), and sorter nodes 620. Although sorter nodes are shown as being located in different node groups, sorter nodes may be shared by all channels within the blockchain network. It should be noted that although a certain number of nodes is illustrated and described with respect to one or more groups of nodes, the disclosed aspects are not limited to this embodiment.
[0096] Figure 7 Another implementation of an example, non-limiting, blockchain network environment 700 according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0097] In this example blockchain network environment 700, one or more sorter nodes 702 can support one or more channels between nodes (e.g., endorser nodes, commit nodes, or other types of nodes) shown by black and light lines. E0, E2, E3, and C2 are in one channel (e.g., represented by light lines), and E1, E2, E4, C0, and C1 are in another channel (represented by black lines). In this example, there is no client-specific sorter node. As shown, both channels use endorser node node E2. In addition, as shown, one or more other client applications 605, 616, 704, and 706 can be connected to a given channel. A client connected to a channel is unaware of the existence of other channels, however, a client can be connected to multiple channels.
[0098] Figure 8A flowchart of an example, non-limiting, computer-implemented method 800 for facilitating service management of an infrastructure of a blockchain network according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0099] At 802, node types corresponding to a plurality of nodes associated with an infrastructure of a blockchain network may be determined. Optionally, at 804, allocation of nodes corresponding to one of the determined node types may be optimized to different communication channels established within the blockchain network.
[0100] Further, at 806, for one or more nodes (N x ) (e.g., x=1…n), the number of operation time slots required for allocating service management operations (S x ). The number of operation slots required can be determined while maintaining the consensus process of the entire blockchain network. For example, a specific node of a node type can be removed from service. Further with respect to this example, a specific node can be removed and a software patch can be deployed.
[0101] According to the operation plan, at 808, a required maximum number of operation time slots (Smax) may be allocated based on nodes of one of the node types that require the most operation time slots for performing service management operations. x ), at 810, it can be determined whether a node dependency exists.
[0102] Further, at 812, for one or more nodes (Nx) corresponding to the node type (x=1...n), it can be determined whether there is a node leader of the node type. According to one or more aspects discussed herein, the node leader can be the last node to be shut down to prevent and / or mitigate excessive leader switching.
[0103] Based on the operation plan, node dependencies, and node leaders, one or more nodes may be assigned to one or more of a maximum number of operation time slots (Smax) required to perform the service management operation, at 814. At least one of the maximum number of operation time slots (Smax) required may include an aggregation of nodes of different node types.
[0104] Fig. 9A flowchart illustrating an example, non-limiting, computer-implemented method 900 that facilitates determining node types corresponding to a plurality of nodes associated with an infrastructure of a blockchain network according to one or more embodiments described herein. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0105] The computer-implemented method 900 may correspond to Figure 8 802. In more detail, at 902, a request for node information updates associated with nodes within a particular blockchain network and their corresponding node types may be requested from a network management center (NMC).
[0106] At 904, it may be determined whether a response is received from the NMC. If a response is received ("yes"), the computer-implemented method 900 may continue at 906 and return to Figure 8 804 for further processing. Alternatively, if the determination at 904 is that no response is received ("No"), then at 908, node information associated with the corresponding node type of one or more nodes may be polled. For example, one or more nodes within a particular blockchain network may be polled.
[0107] At 910, it may be determined whether a response has been received from one or more nodes in a particular blockchain network. If a corresponding response "yes" has been received from one or more nodes, the computer-implemented method 900 may continue at 912 and return to Figure 8 804 for further processing.
[0108] Alternatively, if it is determined at 910 that a corresponding response has not been received from one or more nodes ("No"), the computer-implemented method 900 may wait for a predetermined time interval at 914 and then may return to 902 for further processing. For example, if only one set of nodes has responded, processing according to the computer-implemented method 900 may be repeated for the remaining set of nodes that have not responded.
[0109] Fig.10 A flow chart of an example, non-limiting, computer-implemented method 1000 is shown that facilitates optionally optimizing assignment of nodes to different communication channels according to one or more embodiments described herein. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0110] The computer-implemented method 1000 may correspond to Figure 8 804. The allocation of nodes may be an allocation of nodes corresponding to one of the determined node types. Further, the different communication channels may be different communication channels established within the blockchain network.
[0111] At 1002, it may be determined whether a Kafka node is detected. If no Kafka node is detected ("No"), the computer-implemented method 1000 may continue at 1004 and may return to Figure 8 806 for corresponding processing. If it is determined at 1002 that a Kafka node is detected ("yes"), then at 1006, it can be determined whether channel optimization should be performed. If channel optimization should not be performed ("no"), the computer-implemented method 1000 can continue at 1004 and can return to Figure 8 806 for further processing.
[0112] Alternatively, if channel optimization should be performed ("yes"), then at 1010, the number of Kafka nodes (K) can be received. Based on the number of Kafka nodes (K), at 1012, the number of replicas (replicationfactor) (M) of the Kafka node (K) can be received. Further, at 1014 of the computer-implemented method 1000, the number of replicas (replicationfactor) (M) per channel (CH0-CH1) can be received. n )The minimum number of Kafka nodes (N) required.
[0113] For the specific example of six Kafka nodes with a replica count equal to three, at 1016, for one or more even channels (CH0, CH2, CH4), even-numbered Kafka nodes (K0, K2, K4) may be allocated. In a similar manner, at 1018, for one or more odd channels (CH1, CH3, CH5, etc.), odd-numbered Kafka nodes (K1, K3, K5) may be allocated. Thereafter, the computer-implemented method 1000 may continue at 1020 and may return to Figure 8 806 for further processing.
[0114] It should be noted that the above examples of odd and even nodes apply to Fig.10 The following general algorithm can be adapted to any given number of Kafka nodes, channels, number of replicas, and minimum number of in-sync replicas.
[0115] A general algorithm for distributing Kafka nodes across channels
[0116]
[0117]
[0118] Three example channel assignments generated by the general algorithm are provided below:
[0119] Example 1
[0120]
[0121]
[0122] Example 2
[0123]
[0124] Example 3
[0125] Fig.11A An example, non-limiting representation 1100 of an uncontrolled use of a Kafka node is shown. Channels 1102 are shown on the vertical axis and Kafka nodes 1104 are shown on the horizontal axis. Kafka nodes (also referred to as agents) provide replicated storage of transaction logs. As utilized herein, constant fault tolerance is utilized. Fault tolerance is defined by default.replication.factor (default value for the number of replicas) and min.insync.replicas (minimum synchronized state replicas), which remain unchanged in one or more aspects. In this example, the following applies: default.replication.factor = 3 and min.insync.replicas = 2. Thus, for a channel, its log is replicated on three Kafka agents, at least two of which are to be active to keep the channel accessible. In the default setting, channels select their own set of agents in an uncontrolled manner. The result is that Kafka nodes may be mutually exclusive of each other. For example, agents K1 and K3 are mutually exclusive because they cannot be stopped at the same time, otherwise, channel Ch0 will be inaccessible. Note that in this example, all agent pairs are mutually exclusive.
[0126] As more channels are created, Kafka nodes may become easily tangled, which may cause challenges to management operations. For example, it may be difficult to identify an effective maintenance sequence (e.g., how to form a maintenance group so that operations can be completed without interrupting operations on the channel.) In addition, short maintenance sequences may not exist. In this example, since the agent pairs are mutually exclusive, the only possible approach is to deploy six agents on six different servers and operate them one by one. This approach is inefficient in terms of time consumption and server utilization, especially when the network scale increases (e.g., when more Kafka nodes are incorporated into the network). The various aspects discussed in this article can overcome these inefficiencies.
[0127] Fig. 11BAn example, non-limiting representation 1106 of controlled use of a Kafka node according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0128] Note that the controlled use of the Kafka nodes in representation 1106 is an example, and other ways of controlling the use may be utilized in accordance with the disclosed aspects. In this case, rather than letting the channel arbitrarily select a proxy, a set of proxies may be explicitly specified for the channel as discussed herein. Different benefits may be achieved in this manner. For example, an effective maintenance sequence may be easily identified. Kafka proxies K0 and K1 may be stopped at the same time, then proxies K2 and K3 may be stopped at the same time, and finally proxies K4 and K5 may be stopped at the same time. During this process, all channels may be accessed without any interruption.
[0129] Another benefit may be the ability to perform operations efficiently. Fig. 11B The implementation has only three steps instead of six (for Fig.11A ). This is an adequate solution for this example, since at most one broker can be down at any time for any channel. Furthermore, the benefits become more pronounced as the network scales. In fact, in this example, only three steps are used for any number of Kafka nodes.
[0130] By keeping the Kafka nodes under control, maintenance sequences can be easily and clearly identified without interrupting channel operations. Further, efficient management operations can be achieved in terms of both time consumption and server utilization. Scalability can be handled with a maintenance sequence of constant length as the network scales. Further, constant fault tolerance can be achieved. Fault tolerance can be defined by default.replication.factor and min.insync.replicas, and according to the various aspects provided herein, fault tolerance remains constant.
[0131] Fig.12 A flow chart illustrating an example, non-limiting, computer-implemented method 1200 that facilitates determining the number of operation time slots required to allocate a service management operation according to one or more embodiments described herein. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0132] The computer-implemented method 1200 may correspond to Figure 8806. The determination of the operation time slots required for the allocation of service management operations can be performed while maintaining a consensus process across the entire blockchain network. At 1202, for node N1 corresponding to node type 1, a smart contract including an endorsement policy for node N1 can be accessed. According to one implementation, node type 1 can be a peer node. Further for this implementation, the endorsement policy can be, for example, endorsement policy P1, P2, P3, etc.
[0133] At 1204, the node may be taken out of service and assigned to an operating time slot. For example, the node may be a node with an endorsement policy (e.g., endorsement policy P1). In addition, the node may be assigned to an operating time slot selected from operating time slots S0, S1, S2, S3, etc.
[0134] At 1206, a determination may be made as to whether it is possible to assign another node to the same operating time slot. If not possible ("No"), return to 1204 and the other node may be taken out of service and assigned to a different operating time slot. If it is determined that the other node may be assigned to the same operating time slot ("Yes"), the other node may be taken out of service and assigned to the same operating time slot at 1208. For example, the other node may be a node with a different endorsement policy (e.g., endorsement policy P3).
[0135] At 1210, another determination may be made as to whether it is possible to assign another node to the same operating time slot. If the determination is that another node may be assigned to the same operating time slot ("yes"), then return to 1208 and an additional node may be taken out of service and assigned to the operating time slot. Note that this process may be recursive.
[0136] If the determination at 1210 is that another node cannot be assigned to the same operating time slot, then continue at 1212 to determine whether all nodes N1 of the first node type 1 have been assigned to the time slot. If not all nodes N1 of the first type 1 have been assigned to the time slot ("No"), then return to 1204. If all nodes N1 of the first type 1 have been assigned to the time slot ("Yes"), then continue at 1214, as will be referred to in Fig.13 As discussed in computer implemented method 1300.
[0137] Fig.13 A flowchart is shown of an example, non-limiting, computer-implemented method 1300 that facilitates continued determination of the number of operation time slots required to allocate service management operations according to one or more embodiments described herein. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0138] At 1302, for a node N2 corresponding to a node type 2, a fault tolerance rule of the node N2 may be accessed. In an example, the node N2 may be a sorter node. At 1304, the node corresponding to the node N2 may be taken out of service and assigned to an operating time slot. For example, the operating time slot may be a time slot selected from operating time slots S'0, S'1, S'2, S'3, etc.
[0139] At 1306, it may be determined whether another node may be assigned to the same operating time slot. If another node may not be assigned ("No"), then the process returns to 1304. If another node may be assigned ("Yes"), then at 1308, another node corresponding to node N2 may be removed from service and assigned to the same operating time slot.
[0140] Proceeding to 1310, a determination may be made as to whether another node may be assigned to the same operating time slot. If so ("yes"), return to 1308. However, if another node cannot be assigned ("no"), then at 1312, a determination may be made as to whether all nodes N2 of node type 2 have been assigned to the time slot.
[0141] If not all nodes N2 of node type 2 are assigned to the time slot ("No"), then return to 1304 and another node can be taken out of service. Alternatively, if the determination at 1312 is that all nodes N2 of node type 2 have been assigned to the time slot ("Yes"), then continue at 1314, as will be referred to in Fig.14 As discussed in computer implemented method 1400.
[0142] Fig.14 A flowchart of an example, non-limiting, computer-implemented method 1400 is shown according to one or more embodiments described herein, the method 1400 proceeding to determine the number of operation time slots required for allocating service management operations. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0143] At 1402, for a node N3 corresponding to a node type 3, a fault tolerance rule for the node N3 may be accessed. In an example, the node N3 may be a Kafka node. At 1404 of the computer-implemented method 1400, the node corresponding to the node N3 may be taken out of service and assigned to an operation time slot. For example, the operation time slot may be a time slot selected from operation time slots S"0, S"1, S"2, S"3, etc.
[0144] At 1406, it may be determined whether another node may be assigned to the same operating time slot. If another node may not be assigned ("No"), the process returns to 1404 and another node may be assigned to a different operating time slot. If it is determined at 1406 that another node may be assigned ("Yes"), at 1408, another node corresponding to node N2 may be removed from service and assigned to the same operating time slot.
[0145] Proceeding to 1410, it may be determined whether another node may be assigned to the same operating time slot. If so ("yes"), return to 1408. However, if another node cannot be assigned ("no"), then at 1412, it is determined whether all nodes N3 of node type 3 have been assigned to the time slot.
[0146] If not all nodes N3 of node type 3 are assigned to the time slot ("No"), then return to 1404 and another node can be taken out of service. Alternatively, if the determination at 1412 is that all nodes N3 of node type 3 have been assigned to the time slot, then continue at 1414 and may return to Figure 8 808 is further processed according to the computer-implemented method 800.
[0147] Fig.15 A flowchart of an example, non-limiting, computer-implemented method 1500 for allocating one or more nodes to a maximum number of required operating time slots for performing service management operations according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0148] The computer-implemented method 1500 may correspond to Figure 8 At 1502, a maximum number of operation time slots (S max ) of one of the types (e.g., N1). max ), at 1504, determining whether there are any other nodes (e.g., slave nodes N1) that have a dependency relationship with any one of the nodes (e.g., N1). D ).
[0149] At 1506, based on having a correlation (N D ) of one or more other nodes, and the slave node (N D ) is placed in the operation time slot of the corresponding node with which it has correlation.
[0150] At 1508, a determination may be made as to whether a node leader may be determined for the selected node (e.g., N1). If a node leader may be determined ("yes"), at 1510, the node leader may be reallocated by switching the node leader and any other nodes in the time slot having the node leader to the last time slot. For example, reallocating the node leader may occur when one or more nodes in the last time slot are reallocated to a time slot position previously occupied by the node leader.
[0151] At or after the node leader is reassigned at 1510, or if it is determined at 1508 that a node leader cannot be determined ("No"), then at 1512, a node of one of the other node types (e.g., N2) may be assigned to an operating slot of the node (e.g., N1) that includes the maximum number of operating slots (Smax). The computer-implemented method 1500 may continue to Fig.16 .
[0152] Fig.16 A flowchart illustrating an example, non-limiting, computer-implemented method 1600 for continuing to allocate one or more nodes to a maximum number of required operating time slots for performing service management operations according to one or more embodiments described herein. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0153] At 1602, for a node (e.g., N2) of one or more nodes assigned to an operation time slot, it is determined whether there are any other nodes (N2) that have a dependency relationship with one of those nodes (e.g., N2). D At 1604, based on one or more other nodes (N′) having a dependency relationship with any one of the nodes (eg, N2) assigned to the operation time slot, D ), the slave node (N' D ) is placed in an operation time slot together with the corresponding node with which it has a dependency relationship.
[0154] At 1606, for the selected node (e.g., N2), a determination may be made as to whether a node leader can be determined. If a node leader can be determined ("yes"), then at 1608, the node leader may be reallocated by switching the node leader and any other nodes in the time slot with the node leader to the last time slot. For example, reallocating the node leader may occur when one or more nodes in the last time slot are reallocated to a time slot position previously occupied by the node leader.
[0155] At or after the node leader has been reassigned at 1608, or if it is determined at 1606 that the node leader cannot be determined ("No"), then at 1610, a determination is made as to whether there are any other nodes of another node type (e.g., N3) within the network. If there are nodes of another node type within the network ("Yes"), the computer-implemented method 1600 may return to Fig.15 If no nodes of the other node type exist within the network ("NO"), the computer-implemented method 1600 may end.
[0156] Fig.17 A non-limiting schematic representation of multiple role examples 1700 according to one or more embodiments described herein is shown. The example shows three different nodes. Shown in the upper left of the figure are one or more zookeeper nodes 1702, which may alternatively be ordering nodes (e.g., zookeeper nodes and ordering nodes behave similarly). In the upper right are one or more endorsement nodes 1704, and in the lower left are one or more Kafka nodes 1706.
[0157] Zookeeper nodes can coordinate the behavior of Kafka nodes by presenting distributed and consistent configurations. For example, a configuration can specify, for example, Fig.11A As shown in , all transaction histories of the first channel 4 can be replicated by three Kafka agents numbered 3, 5, and 0. The animal manager nodes are at the core of the blockchain network and follow a simple rule from the consensus protocol: N>2f+1. Therefore, during maintenance, it should be strictly ensured that more than half of the animal manager nodes are turned on at any time. Otherwise, the entire blockchain network will be paralyzed.
[0158] As shown, there are five animal manager nodes, namely animal manager node F 17021, animal manager node G 17022, animal manager node H 17023, animal manager node I 17024, and animal manager node J 17025. Animal manager node J 17025 is the leader animal manager node. There are five peer nodes or endorsement nodes, namely endorsement node A 17041, endorsement node B 17042, endorsement node C 17043, endorsement node D 17044, and endorsement node E 17045.
[0159] Peer nodes (e.g., endorser node 1704) are shown as having policy tags P1, P2, and / or P3. There can be multiple policies, and endorser node 1704 can represent three different policies. For example, the first policy P1 is that at least three nodes in the network should be active (e.g., not shut down). Thus, it is necessary for at least one peer node among the corresponding business participants to endorse the transaction proposal. The second policy P2 is that at least two nodes in the network should be active. Further, the third policy P3 is that at least one node in the network should be active. As will be shown in Fig.18 One or more peer nodes can be taken down (e.g., removed from the service at least temporarily) in a way that does not affect endorsement. It should be noted that a smart contract can be chaincode in the hyperledger fabric as chaincode.
[0160] In addition, there are four Kafka nodes, namely Kafka node K 17061, Kafka node L 17062, Kafka node M 17063, and Kafka node N 17064. In the case of Kafka nodes, policies can be defined. Further, for Kafka nodes (K) where K equals 4, min.insync.replicas M can equal 2. In addition, for default.replication.factor, N can equal 3. In this example, there can be the following policy: M can be less than N, and N can be less than K (M < N < K). This policy can be determined according to the deployment of Kafka nodes in the consensus mechanism. In this example, M equals 2 and N equals 3. In some implementations, there can be a larger K, which can allow M and N to take different values. It should be noted that there can be more than three types of nodes, but for simplicity, only three types of nodes are shown and described.
[0161] Fig.18 An example non - restrictive endorsement policy representation 1800 according to one or more embodiments described herein is shown. For the sake of brevity, the repeated description of similar elements employed in other embodiments described herein is omitted. Fig.17
[0162] In this example, Node B (e.g., Endorsing Node B 17042) is first selected to be shut down. Even if Node B is shut down, P1, P2, and P3, one instance of each node, will also be shut down, and therefore, one node will not be available for executing P1. This is acceptable because there are three other nodes, namely Endorsing Node A 17041, Endorsing Node D 17044, and Endorsing Node E 17045, that can serve the P1 policy. Therefore, if a transaction requires responses from three nodes, one response can be provided even if Node B is shut down.
[0163] For policy P2, the situation is similar because if two responses should be returned, endorsement node D 17044 and endorsement node E 17045 are active. In addition, for policy P3, since endorsement node C 17043 is active, a response can be received from endorsement node C 17043.
[0164] As shown in this example, there are four operating time slots for the endorsement peer role. The first time slot 1802 is shown with B, however, B does not need to be in the first time slot 1802. The second time slot 1804 is used for nodes C and E, which can be shut down because, even if node C is shut down, P3 is still active because node B has been patched and restored at this time, so node B is still active. In addition, node E can be shut down because B is available even if P2 is shut down. The third time slot 1806 is used for node A, and the fourth time slot 1808 is used for node D. Therefore, there are nodes A, node B, and node D that can all serve policy P1. There are also nodes D and node B that can also serve policy P2. Note that nodes A and D can be shut down in any order.
[0165] In other words, for the first role, the requirement has been broken down into four different time slots, namely, first time slot 1802, second time slot 1804, third time slot 1806, and fourth time slot 1808. Thus, a determination can be made as to how many time slots are needed, which can be performed independently for different types of nodes. In this example, four operating time slots are determined for the endorsement peer role, such as Fig.18 As shown, this is also the maximum number in this example.
[0166] It should be pointed out that Fig.18 A multi-channel is shown with multiple endorsement policies (chaincodes installed on nodes) within a single channel. Further other roles may include but are not limited to orderers, Kafka, zookeepers, CouchDB, ChainCode, etc.
[0167] Fig.19The present invention shows a method according to one or more embodiments described herein. Fig.17 An example non-limiting sorter node strategy is represented 1900. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0168] For the sorter node, to tolerate f failures, N equals 2f+1. There are five nodes and up to f=2 nodes can be down at a time. A set with five zookeeper nodes may require three to form a quorum. Thus, a set of five allows two peers to fail and still maintain quorum. Fig.19 The example of utilizes three time slots, illustrated by the operation time slot for the animal manager role. First, nodes F and G can be shut down, then nodes H and I can be shut down, and then node J can be shut down. The reason why node J is shut down last is because node J is the leader.
[0169] Fig. 20 The present invention shows a method according to one or more embodiments described herein. Fig.17 An example non-limiting Kafka node policy representation 2000. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0170] The operation of a Kafka node is similar to Fig.18 and 19 For Kafka, only one node can be shut down at a time without affecting channel creation. Although the operation time slots of the Kafka roles show a specific order, i.e., node K, node L, node M, and then node N, the nodes can be shut down in any order.
[0171] Fig.21 An example non-limiting representation 2100 of multiple roles merged according to one or more embodiments described herein is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted.
[0172] Multiple roles can be combined to maintain a balanced load. The final operation time slot illustrates how the service management operation can be performed. In the first time slot 2102, node B, node F, node J, and node K are shut down. In the second time slot 2104, node C, node E, and node L are shut down. In the third time slot 2106, node A, node H, node I, and node M are shut down. In the fourth time slot 2108, node D, node J, and node N are shut down.
[0173] According to some embodiments, there may be a minimum number of nodes, and therefore, no nodes may be shut down. In this case, additional temporary nodes may be added for the intended roles. Then, the nodes may be shut down one at a time until all nodes are patched. Alternatively, completely new nodes may be started that replace all nodes in the cluster (e.g., simply destroying all old nodes).
[0174] Fig. 22 An example, non-limiting blockchain network service manager program 2200 is shown in accordance with one or more embodiments described herein. The internal components 2202 may include a blockchain network service manager (BNSM) program 2204 and one or more operating systems 2206, which may be at least partially included in one or more tangible storage devices 2208. The internal components may also include one or more processors 2210, one or more random access memories (RAM) 2212, and one or more read-only memories (ROM) 2214, which may be operatively coupled via a bus 2216. Further, a network adapter or interface 2218 may be operatively coupled to the bus 2216. A read / write driver or interface 2220 may be operatively coupled to the bus 2216 and one or more portable tangible storage devices 2222, which may be included in a set of external components 2224. Further, one or more device drivers 2226 may be connected to the bus 2216 and may interface with one or more of the set of external components 2224. For example, one or more device drivers 2226 may interface with a computing device 2228 and one or more input devices (shown as a keyboard 2230 and a mouse 2232).
[0175] In order to simplify the explanation, the computer-implemented method is depicted and described as a series of actions. It should be understood that the present invention is not limited to the actions shown and / or the order of the actions, for example, the actions can occur in different orders and / or simultaneously, and can occur together with other actions not presented and described herein. In addition, not all the actions shown are necessary for realizing the computer-implemented method according to the disclosed subject matter. In addition, it will be understood and appreciated by those skilled in the art that the computer-implemented method can be represented as a series of interrelated states alternatively by state diagrams or events. In addition, it should be further understood that the computer-implemented method disclosed hereinafter and throughout this specification can be stored on an article of manufacture so that such a computer-implemented method can be transmitted and transferred to a computer. As used herein, the term article of manufacture is intended to cover a computer program accessible from any computer-readable device or storage medium.
[0176] To provide context for various aspects of the disclosed subject matter, Fig.23 The following discussion is intended to provide a general description of a suitable environment in which aspects of the disclosed subject matter may be implemented. Fig.23A block diagram of an example non-limiting operating environment in which one or more embodiments described herein may be facilitated is shown. For the sake of brevity, repeated descriptions of similar elements employed in other embodiments described herein are omitted. Fig.23 , a suitable operating environment 2300 for implementing various aspects of the present disclosure may also include a computer 2312. The computer 2312 may also include a processing unit 2314, a system memory 2316, and a system bus 2318. The system bus 2318 couples system components including, but not limited to, the system memory 2316 to the processing unit 2314. The processing unit 2314 may be any of a variety of available processors. Dual microprocessors and other multi-processor architectures may also be used as the processing unit 2314. The system bus 2318 may be any of several types of bus structures, including a memory bus or memory controller, a peripheral bus or external bus, and / or a local bus using a variety of available bus architectures, including, but not limited to, Industry Standard Architecture (ISA), Micro Channel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB), Peripheral Component Interconnect (PCI), Card Bus, Universal Serial Bus (USB), Advanced Graphics Port (AGP), FireWire (IEEE1394), and Small Computer System Interface (SCSI). The system memory 2316 may also include volatile memory 2320 and non-volatile memory 2322. A basic input / output system (BIOS) containing basic routines such as transferring information between elements within the computer 2312 during startup is stored in the non-volatile memory 2322. As an illustration and not limitation, the non-volatile memory 2322 may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a non-volatile random access memory (RAM) (e.g., a ferroelectric RAM (FeRAM)). The volatile memory 2320 may also include a random access memory (RAM) that acts as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), direct Rambus RAM (DRRAM), direct Rambus dynamic RAM (DRDRAM), and Rambus dynamic RAM.
[0177] The computer 2312 may also include removable / non-removable, volatile / nonvolatile computer storage media. Fig.23For example, disk storage 2324 is shown. Disk storage 2324 may also include, but is not limited to, devices such as disk drives, floppy disk drives, tape drives, Jaz drives, Zip drives, LS-100 drives, flash memory cards, or memory sticks. Disk storage 2324 may also include storage media, either individually or in combination with other storage media, including but not limited to optical disk drives such as compact disk ROM devices (CD-ROM), CD recordable drives (CD-R drives), CD rewritable drives (CD-RW drives), or digital versatile disk ROM drives (DVD-ROM). To facilitate the connection of disk storage 2324 to system bus 2318, a removable or non-removable interface, such as interface 2326, is typically used. Fig.23 Also depicted is software that acts as an intermediary between a user and the basic computer resources described in the appropriate operating environment 2300. Such software may also include, for example, an operating system 2328. The operating system 2328, which may be stored on disk storage 2324, is used to control and allocate the resources of the computer 2312. System applications 2330 utilize the management of resources by the operating system 2328 through program modules 2332 and program data 2334 (e.g., stored in system memory 2316 or on disk storage 2324). It should be understood that the present disclosure may be implemented with various operating systems or combinations of operating systems. A user enters commands or information into the computer 2312 through an input device 2336. The input device 2336 includes, but is not limited to, a pointing device such as a mouse, a trackball, a stylus, a touchpad, a keyboard, a microphone, a joystick, a game pad, a satellite dish, a scanner, a TV tuner card, a digital camera, a digital video camera, a webcam, etc. These and other input devices are connected to the processing unit 2314 through the system bus 2318 via an interface port 2338. Interface ports 2338 include, for example, serial ports, parallel ports, game ports, and universal serial bus (USB). Output devices 2340 use some of the same types of ports as input devices 2336. Thus, for example, a USB port can be used to provide input to computer 2312, and output information to output device 2340 from computer 2312. Output adapter 2342 is provided to illustrate that there are some output devices 2340 that require special adapters, such as monitors, speakers, and printers and other output devices 2340. As an illustration and not limitation, output adapter 2342 includes a video and sound card that provides a connection method between output device 2340 and system bus 2318. It should be noted that other devices and / or device systems provide both input and output capabilities, such as remote computer 2344.
[0178] The computer 2312 can operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 2344. The remote computer 2344 can be a computer, a server, a router, a network PC, a workstation, a microprocessor-based device, a peer device or other public network node, etc., and can also generally include many or all of the elements described with respect to the computer 2312. For the sake of simplicity, only the memory storage device 2346 is shown with the remote computer 2344. The remote computer 2344 is logically connected to the computer 2312 through a network interface 2348 and then physically connected through a communication connection 2350. The network interface 2348 includes a wired and / or wireless communication network, such as a local area network (LAN), a wide area network (WAN), a cellular network, etc. LAN technologies include fiber distributed data interface (FDDI), copper distributed data interface (CDDI), Ethernet, token ring, etc. WAN technologies include, but are not limited to, point-to-point links, circuit switching networks (such as integrated services digital network (ISDN)) and its variants, packet switching networks, and digital subscriber lines (DSL). The communication connection 2350 refers to the hardware / software used to connect the network interface 2348 to the system bus 2318. Although the communication connection 2350 is shown internal to the computer 2312 for clarity of illustration, it can also be external to the computer 2312. The hardware / software used for connection to the network interface 2348 can also include (for exemplary purposes only) internal and external technologies such as modems including conventional telephone grade modems, cable modems and DSL modems, ISDN adapters and Ethernet cards.
[0179] The present invention can be any possible system, method, device and / or computer program product of integrated technical detail level.Computer program product can include computer readable storage medium (or multiple media) having computer readable program instructions for making processor execute various aspects of the present invention thereon.Computer readable storage medium can be a tangible device that can retain and store instructions for use by instruction execution device.Computer readable storage medium can be, for example, but not limited to, electronic storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any suitable combination of the foregoing.A non-exhaustive list of more specific examples of computer readable storage medium can also include the following: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device such as punch card or convex structure in the groove with instructions recorded thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein should not be interpreted as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0180] Computer-readable program instructions as described herein can be downloaded to corresponding computing / processing equipment from computer-readable storage media, or downloaded to external computers or external storage devices through networks (e.g., the Internet, local area networks, wide area networks, and / or wireless networks). Networks can include copper transmission cables, optical transmission optical fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. Network adapter cards or network interfaces in each computing / processing equipment receive computer-readable program instructions from the network, and forward computer-readable program instructions to be stored in computer-readable storage media in corresponding computing / processing equipment. Computer-readable program instructions for performing operations of the present invention can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcodes, firmware instructions, state setting data, configuration data of integrated circuits, or source code or object code written in one or more programming languages (including object-oriented programming languages, such as Smalltalk, C++, etc.) and procedural programming languages (such as "C" programming languages or similar programming languages). These computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any type of network (including a local area network (LAN) or a wide area network (WAN)), or can be connected to an external computer (for example, by using the Internet of an Internet service provider). In some embodiments, electronic circuits (including, for example, programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs)) can execute computer-readable program instructions to personalize the electronic circuits by utilizing the state information of computer-readable program instructions, so as to perform aspects of the present invention.
[0181] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each square block of a flowchart and / or block diagram and the combination of square blocks in a flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, so that the instructions executed by the processor of a computer or other programmable data processing device create a method for implementing the function / action specified in one or more boxes of a flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can direct a computer, a programmable data processing device and / or other equipment to work in a particular manner, so that a computer-readable storage medium with instructions stored therein includes a product, and the product includes instructions for implementing various aspects of the function / action specified in one or more boxes in a flowchart and / or block diagram. Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational actions to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0182] The flow charts and block diagrams in the accompanying drawings illustrate the possible architectures, functions and operations of the systems, methods and computer program products according to different embodiments of the present invention. To this end, each box in the flow chart or block diagram may represent a part of a module, segment or instruction, which includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box may not occur in the order marked in the figure. For example, depending on the functions involved, the two boxes shown in succession can actually be executed substantially simultaneously, or these boxes can sometimes be executed in reverse order. It will also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a system based on special-purpose hardware, and the system based on special-purpose hardware performs a specified function or action or performs a combination of special-purpose hardware and computer instructions.
[0183] Although the present subject matter has been described above in the general context of computer executable instructions of a computer program product running on a computer and / or multiple computers, it will be appreciated by those skilled in the art that the present disclosure may also be implemented in conjunction with other program modules. Typically, program modules include routines, programs, components, data structures, etc. It performs specific tasks and / or implements specific abstract data types. In addition, it will be appreciated by those skilled in the art that the computer-implemented method of the present invention may be practiced with other computer system configurations, including single-processor or multi-processor computer systems, small computing devices, large computers, and computers, handheld computing devices (e.g., PDAs, phones), microprocessor-based or programmable consumer or industrial electronic products, etc. The illustrated aspects may also be practiced in a distributed computing environment in which tasks are performed by a remote processing device linked by a communication network. However, some aspects of the present disclosure (if not all) may be practiced on a stand-alone computer. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0184] It should be understood that although the present disclosure includes detailed descriptions about cloud computing, the implementation of the teachings cited herein is not limited to cloud computing environments. Instead, embodiments of the present invention can be implemented in conjunction with any other type of computing environment now known or later developed.
[0185] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be quickly provisioned and released with minimal management effort or interaction with the service provider. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models. The characteristics are as follows: On-demand self-service: Cloud consumers can automatically and unilaterally provision computing capabilities, such as server time and network storage, on demand without human interaction with the service provider. Wide area network access: Capabilities are available over the network and accessed through standard mechanisms that facilitate use by heterogeneous, thin or thick client platforms (e.g., mobile phones, laptops, and PDAs). Resource pooling: The provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated as needed. There is a sense of location independence because consumers generally have no control or knowledge of the exact location of the provided resources, but may be able to specify the location at a high level of abstraction (e.g., country, state, or data center). Rapid elasticity: Capacity can be quickly and elastically provisioned (in some cases, automatically) to scale down quickly and released quickly to scale up quickly. To the consumer, the capacity available for provisioning generally appears unlimited and can be purchased in any quantity at any time. Measured services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both the provider and consumer of the utilized service.
[0186] The service models are as follows: Software as a Service (SaaS): The capability provided to the consumer is to use the provider's applications running on the cloud infrastructure. The applications can be accessed from different client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
[0187] Platform as a Service (PaaS): The capability provided to consumers is the ability to deploy applications created or acquired by consumers onto the cloud infrastructure, where the applications are created using programming languages and tools supported by the provider. Consumers do not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but have control over deployed applications and possible configuration of the application hosting environment. Infrastructure as a Service (IaaS): The capability provided to consumers is capable of providing processing, storage, networking, and other basic computing resources, where consumers can deploy and run arbitrary software, which may include operating systems and applications. Consumers do not manage or control the underlying cloud infrastructure, but have control over operating systems, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).
[0188] The deployment models are as follows: Private cloud: The cloud infrastructure is operated only for an organization. It can be managed by the organization or a third party and can exist inside or outside a building. Community cloud: The cloud infrastructure is shared by several organizations and supports a specific community with shared concerns (e.g., mission, security requirements, policies, and compliance considerations). It can be managed by an organization or a third party and can exist inside or outside a building. Public cloud: The cloud infrastructure is made available to the public or a large industry group and is owned by an organization that sells cloud services. Hybrid cloud: The cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).
[0189] The cloud computing environment is service-oriented and focuses on statelessness, low coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure that includes a network of interconnected nodes.
[0190] Now refer to Fig.24 , depicts an illustrative cloud computing environment 2450. As shown, cloud computing environment 2450 includes one or more cloud computing nodes 2410, and local computing devices used by cloud consumers (such as personal digital assistants (PDAs) or cellular phones 2454A, desktop computers 2454B, laptop computers 2454C, and / or automotive computer systems 2454N) can communicate with cloud computing nodes 2410. Nodes 2410 can communicate with each other. They can be physically or virtually grouped (not shown) in one or more networks, such as the private clouds, community clouds, public clouds, or hybrid clouds described above, or a combination thereof. This allows cloud computing environment 2450 to provide infrastructure, platforms, and / or software as services without the cloud consumer having to maintain resources on local computing devices. It should be understood that Fig.24The types of computing devices 2454A-N shown in are intended to be illustrative only, and computing node 2410 and cloud computing environment 2450 may communicate with any type of computerized device over any type of network and / or network addressable connection (eg, using a web browser).
[0191] Now refer to Fig.25 , showing the cloud computing environment 2450 ( Fig.24 ) provides a collection of functional abstraction layers. It should be understood in advance that Fig.25 The components, layers, and functions shown in are intended to be illustrative only, and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided: Hardware and software layer 2560 includes hardware and software components. Examples of hardware components include: host 2561; server 2562 based on RISC (Reduced Instruction Set Computer) architecture; server 2563; blade server 2564; storage device 2565; and network and networking components 2566. In some embodiments, software components include network application server software 2567 and database software 2568.
[0192] Virtualization layer 2570 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 2571 ; virtual storage 2572 ; virtual networks 2573 , including virtual private networks; virtual applications and operating systems 2574 ; and virtual clients 2575 .
[0193] In one example, the management layer 2580 may provide the functionality described below. Resource provisioning 2581 provides dynamic acquisition of computing resources and other resources for performing tasks within a cloud computing environment. Metering and pricing 2582 tracks costs when resources are utilized in a cloud computing environment and bills or invoices for consumption of those resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks, as well as protection for data and other resources. User portal 2583 provides access to the cloud computing environment for consumers and system administrators. Service level management 2584 provides cloud computing resource allocation and management so that the required service levels are met. Service level agreement (SLA) planning and fulfillment 2585 pre-arranges and purchases the provision of cloud computing resources in anticipation of future requirements according to the SLA.
[0194] Workload layer 2590 provides examples of functionality that can take advantage of a cloud computing environment. Examples of workloads and functionality that can be provided from this layer include: mapping and navigation 2591; software development and lifecycle management 2592; virtual classroom education delivery 2593; data analytics processing 2594; transaction processing 2595; and service management engine 2596.
[0195] As used in this application, the terms "component", "system", "platform", "interface", etc. may refer to and / or may include computer-related entities or entities related to an operating machine having one or more specific functions. The entities disclosed herein may be hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process, a processor, an object, an executable file, a thread of execution, a program, and / or a computer running on a processor. As an illustration, both an application running on a server and a server may be a component. One or more components may reside in a process and / or an execution thread, and a component may be located on one computer and / or distributed between two or more computers. In another example, a corresponding component may be executed from different computer-readable media having different data structures stored thereon. Components may communicate via local and / or remote processes, such as according to signals with one or more data packets (e.g., data from a component interacting with another component in a local system, a distributed system, and / or interacting with other systems via signals across a network (such as the Internet)). As another example, a component may be a device having a specific function provided by a mechanical part operated by an electrical or electronic circuit, which is operated by a software or firmware application executed by a processor. In this case, the processor may be internal or external to the device and may execute at least a portion of a software or firmware application. As yet another example, a component may be a device that provides a particular functionality through an electronic component without mechanical parts, where the electronic component may include a processor or other means for executing software or firmware that at least partially imparts the functionality of the electronic component. In one aspect, the component may emulate an electronic component through, for example, a virtual machine within a cloud computing system.
[0196] In addition, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X employs A or B" is intended to mean any natural inclusive arrangement. That is, if X employs A; X employs B; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing cases. In addition, the articles "one / a" and "one" used in this specification and the drawings should generally be interpreted as meaning "one or more" unless otherwise specified or clear from the context that they are for the singular form. As used herein, the terms "example" and / or "exemplary" are used to mean serving as an example, instance, or illustration. For the avoidance of doubt, the subject matter disclosed herein is not limited to such examples. In addition, any aspect or design described herein as "example" and / or "exemplary" is not necessarily to be construed as being preferred or advantageous over other aspects or designs, nor is it intended to exclude equivalent exemplary structures and techniques known to those of ordinary skill in the art.
[0197] As used in this specification, the term "processor" may refer to substantially any computing processing unit or device, including but not limited to a single-core processor; a single processor with software multithreaded execution capability; a multi-core processor; a multi-core processor with software multithreaded execution capability; a multi-core processor with hardware multithreading technology; a parallel platform; and a parallel platform with distributed shared memory. In addition, a processor may refer to an integrated circuit, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic controller (PLC), a complex programmable logic device (CPLD), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. Further, the processor may utilize nanoscale architectures, such as, but not limited to, transistors, switches, and gates based on molecules and quantum dots, in order to optimize space usage or enhance the performance of user devices. The processor may also be implemented as a combination of computing processing units. In the present disclosure, terms such as "storage area", "memory", "data storage area", "data storage", "database", and substantially any other information storage component related to the operation and function of the component are used to refer to a "memory component", an entity embodied in a "memory", or a component including a memory. It should be understood that the memory and / or memory components described herein may be volatile memory or non-volatile memory, or may include both volatile memory and non-volatile memory. As an illustration and not limitation, non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), flash memory, or non-volatile random access memory (RAM) (e.g., ferroelectric RAM (FeRAM)). Volatile memory may include RAM, which may, for example, act as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), direct Rambus RAM (DRRAM), direct Rambus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM). In addition, the memory components of the system or computer-implemented method disclosed herein are intended to include, but are not limited to, including these and any other suitable types of memory.
[0198] The foregoing includes only examples of systems and computer-implemented methods. Of course, for the purpose of describing the present disclosure, it is not possible to describe every conceivable combination of components or computer-implemented methods, but one of ordinary skill in the art will recognize that many further combinations and arrangements of the present disclosure are possible. In addition, with respect to the use of the terms "including," "having," "having," and the like in the detailed description, claims, appendices, and drawings, such terms are intended to be inclusive in a manner similar to that in which the term "comprising" is interpreted when "comprising" is used as a transitional word in the claims. Descriptions of different embodiments have been presented for illustrative purposes, but the descriptions are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to one of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements in technology found on the market, or to enable one of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for service management of a blockchain network, include: allocating, by a system operably coupled to the processor and within the blockchain network, a first group of nodes of a first node type to a first group of operating time slots and a second group of nodes of a second node type different from the first node type to a second group of operating time slots; aggregating, by the system, a second set of nodes assigned to a second set of operating time slots with a first set of nodes within a first set of operating time slots, wherein one or more of the first set of operating time slots includes a plurality of assigned nodes corresponding to both the first set of nodes and the second set of nodes; and A service management operation is performed by the system based on aggregating the first set of nodes and the second set of nodes aggregated within the first set of operation time slots, and wherein a consensus algorithm is satisfied during the performance of the service management operation.
2. The method according to claim 1, in, Allocating the first set of nodes is performed independently of allocating the first set of nodes.
3. The method according to claim 1, in, Within a blockchain network, the first set of nodes are peer nodes and the second set of nodes are orderer nodes.
4. The method according to claim 1, in, The first node type is a first function present in the blockchain network, and the second node type is a second function present in the blockchain network, the first function being different from the second function.
5. The method according to claim 1, further comprising: include: Service management operations are performed by the system within the blockchain network based on an endorsement policy associated with the first set of nodes and a consensus algorithm associated with the second set of nodes.
6. The method according to claim 5, further comprising: include: A minimum number of second set nodes required to endorse the transaction based on applying a digital signature to the transaction is determined by the system.
7. The method according to claim 1, in, The consensus algorithm provides both correct ordering and validation for a set of transactions within each block of the blockchain by maintaining a minimum number of the first set of nodes and the second set of nodes in service.
8. The method according to claim 1, in, The second set of nodes are endorsing entities, and wherein the method further comprises: Receiving, by the system, a transaction submitted to a blockchain network; determining, by the system, that two or more nodes of the second set of nodes endorsed the transaction; and The transaction is completed by the system during the execution of a service management operation.
9. The method according to claim 1, in, Aggregating the second set of nodes includes minimizing, by the system, a number of steps performed to update the first set of nodes and the second set of nodes during performance of the service management operation.
10. A system for service management of a blockchain network, comprising a device adapted to perform all steps of the method according to any one of claims 1 to 9.
11. A computer program product comprising instructions which, when executed on a computer system, cause the computer system to perform all the steps of the method according to any one of claims 1 to 9.
12. A system for service management of a blockchain network, include: A first set of nodes performing a first function in a blockchain network; a second set of nodes performing a second function in the blockchain network, wherein the first function is different than the second function; and The service management engine includes a memory storing computer executable components and a processor executing the computer executable components stored in the memory, wherein the computer executable components include: a classification component that determines that a first group of nodes performs a first function and a second group of nodes performs a second function; a rules component that determines a first number of steps to be performed for performing a service management operation on a first set of nodes and a second number of steps to be performed for performing a service management operation on a second set of nodes; and A component is implemented that performs a service management operation based on an aggregation of the first number of steps and the second number of steps, wherein the aggregation defines a minimum number of steps for performing the service management operation.
13. The system according to claim 12, in, The rule component determines that the number of nodes in the first set of nodes is less than a predetermined number of nodes specified for the service management operation, and wherein the computer executable components further include: An insertion component is provided to add one or more nodes to the first set of nodes, wherein the insertion component determines the number of nodes to be added based on a difference between the number of nodes in the first set of nodes and the predetermined number of nodes.
14. The system according to claim 12, in, The rule component determines that the number of nodes in the first set of nodes is greater than a predetermined number of nodes specified for the service management operation, and wherein the implementation component performs the service management operation on the first set of nodes without losing processing efficiency within the blockchain network.
15. A method for service management of a blockchain network, include: determining, by a system operably coupled to the processor, that a first group of nodes in the blockchain network performs a first function and a second group of nodes in the blockchain network performs a second function different from the first function; Determining, by the system, a first number of steps to be performed to perform a service management operation on a first group of nodes and a second number of steps to be performed to perform a service management operation on a second group of nodes; and A service management operation is performed by the system based on an aggregation of the first number of steps and the second number of steps, wherein the aggregation defines a minimum number of steps for performing the service management operation.
16. The method according to claim 15, further comprising: include: determining, by the system, whether the number of nodes in the first group of nodes satisfies a predetermined number of nodes specified for a service management operation; and One or more nodes are added by the system to the first set of nodes based on determining that the number of nodes is less than a predetermined number of nodes, wherein the number of nodes to be added is determined based on a difference between the number of nodes in the first set of nodes and the predetermined number of nodes.
Citation Information
Patent Citations
Fault tolerance for a distributed computing system
US9645811B2
Network transaction method and apparatus based on block chain system
CN107239940A
Blockchain consensus method, device and system
CN107360206A
Business acceptance and common method and device
CN107395659A
Systems and methods of blockchain transaction recordation
CN107615317A
