Information management and access control in databases

By creating multiple blockchains in a blockchain network and leveraging a subset of validating peer nodes for identity management and key distribution, the single point of failure and insufficient data redundancy issues of centralized databases are solved, enabling Efficient and secure data access control.

CN111797159BActive Publication Date: 2024-09-24INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010271263.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-09
Filing Date
2020-04-08
Publication Date
2024-09-24
Estimated Expiration
2040-04-08

AI Technical Summary

Technical Problem

Due to single points of failure, network dependency and insufficient data redundancy, centralized databases lead to data loss and low access efficiency, making it difficult to meet the needs of simultaneous access by multiple devices.

Method used

Efficient and secure access control to different data is achieved by creating multiple blockchains in a blockchain network, utilizing a subset of verified peer nodes for identity management and key distribution.

Benefits of technology

It improves the functionality of the blockchain network and the management capabilities of the computing system, ensures access level control of different data, protects the privacy and security of stakeholders, and solves the single point of failure and insufficient data redundancy of centralized databases. problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111797159B_ABST
    Figure CN111797159B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to information management and access control in a database. Example operations may include one or more of the following: receiving a request to create a second blockchain in a network including a first blockchain; sending a message to one or more validating peer nodes in the network, the one or more validating peer nodes corresponding to a subset of validating peer nodes in the network that have access to the first blockchain, the message requesting authorization for the second blockchain; analyzing responses to the message from the subset of validating peer nodes; and authorizing the creation of the second blockchain based on the analyzed responses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates generally to database storage systems, and more particularly to information management and access control in databases. Background Art

[0002] A centralized database stores and maintains data in a single database (e.g., a database server) at one location. The location is typically a central computer, such as a desktop central processing unit (CPU), a server CPU, or a mainframe computer. The information stored in a centralized database is typically accessible from multiple different points. For example, based on a client / server configuration, multiple users or client workstations can work on a centralized database at the same time. Because it is in a single location, a centralized database is easy to manage, maintain, and control, especially for security purposes. In a centralized database, because all data is in a single storage location, data redundancy is minimized, which also means that a given set of data has only one master record.

[0003] However, centralized databases suffer from significant drawbacks. For example, centralized databases have a single point of failure. In particular, if there is no fault tolerance consideration and a hardware failure (e.g., hardware, firmware, and / or software failure) occurs, all data within the database will be lost, and the work of all users will be interrupted. In addition, centralized databases are highly dependent on network connectivity. Therefore, the slower the connection, the longer the time required for each database access. Another disadvantage is that when a centralized database experiences high business, a bottleneck occurs due to a single location. In addition, since the database maintains only one copy of the data, a centralized database provides limited access to the data. Therefore, multiple devices cannot access the same piece of data simultaneously without causing serious problems or the risk of overwriting the stored data. In addition, since the database storage system has little or no data redundancy, it is difficult to retrieve accidentally lost data except by manually retrieving it from a backup storage device. Summary of the invention

[0004] An example embodiment provides a system comprising: a first interface for accessing a ledger for a first blockchain in a blockchain network, the first blockchain comprising or referencing first data to be accessed by a plurality of validating peer nodes; a second interface for accessing a ledger for a second blockchain in the blockchain network, the second blockchain comprising or referencing second data to be accessed by a subset of the plurality of validating peer nodes that have access to the first blockchain; and a processor for performing one or more of the following: creating a second blockchain based on a message from a validating peer node in the subset, the message comprising information identifying the subset of the plurality of validating peer nodes, wherein the processor is to send one or more key keys to the subset of validating peer nodes, the one or more key keys being used to allow the validating peer nodes in the subset to access the second data in the second blockchain or transmit information to append a block to the second blockchain.

[0005] Another example embodiment provides a method comprising one or more of: receiving a request to create a second blockchain in a network including a first blockchain; sending a message to one or more validating peer nodes in the network, the one or more validating peer nodes corresponding to a subset of validating peer nodes in the network that have access to the first blockchain, the message requesting authorization for the second blockchain; analyzing responses to the message from the subset of validating peer nodes; and authorizing creation of the second blockchain based on the analyzed responses.

[0006] Another example embodiment provides a non-transitory computer-readable medium comprising instructions that, when read by a processor, cause the processor to perform one or more of the following: receiving a request to create a second blockchain in a network including a first blockchain; sending a message to one or more validating peer nodes in the network, the one or more validating peer nodes corresponding to a subset of validating peer nodes in the network that have access to the first blockchain, the message requesting authorization for the second blockchain; analyzing responses to the message from the subset of validating peer nodes; and authorizing creation of the second blockchain based on the analyzed responses. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1A A network diagram of a system including a database according to an example embodiment is illustrated.

[0008] Figure 1B A network diagram of components operating with a database according to an example embodiment is illustrated.

[0009] Figure 2A An example peer node configuration according to an example embodiment is illustrated.

[0010] Figure 2BAnother peer node configuration according to an example embodiment is illustrated.

[0011] Figure 3 A permission network according to an example embodiment is illustrated.

[0012] Figure 4 A system messaging diagram is illustrated according to an example embodiment.

[0013] Figure 5A A flow chart according to an example embodiment is illustrated.

[0014] Figure 5B Another flow chart according to an example embodiment is illustrated.

[0015] Figure 5C Another flow chart according to an example embodiment is illustrated.

[0016] Figure 5D Another flow chart according to an example embodiment is illustrated.

[0017] Figure 5E Another flow chart according to an example embodiment is illustrated.

[0018] Fig. 5F Another flow chart according to an example embodiment is illustrated.

[0019] Fig. 6A An example system configured to perform one or more operations described herein is illustrated according to an example embodiment.

[0020] Figure 6B Another example system configured to perform one or more operations described herein is illustrated according to an example embodiment.

[0021] Figure 6C Illustrated is a smart contract configuration between contracting parties and an intermediary server configured to enforce the terms of the smart contract on a blockchain according to an example embodiment.

[0022] Fig.6D Still additional example systems according to example embodiments are illustrated.

[0023] Fig. 7A A process in which new data is added to a database according to an example embodiment is illustrated.

[0024] Figure 7B The contents of a data block including new data according to an example embodiment are illustrated.

[0025] Figure 8 An example system is illustrated that supports one or more example embodiments. DETAILED DESCRIPTION

[0026] It will be readily understood that the present components, as generally described and illustrated in the figures herein, may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of embodiments of one or more of the methods, apparatus, non-transitory computer-readable media, and systems, as represented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments.

[0027] The present features, structures, or characteristics described throughout the specification may be combined in any suitable manner in one or more embodiments. For example, throughout the specification, the use of the phrases "example embodiments," "some embodiments," or other similar language refers to the fact that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment. Thus, throughout the specification, the appearance of the phrases "example embodiments," "in some embodiments," "in other embodiments," or other similar language does not necessarily all refer to the same set of embodiments, and in one or more embodiments, the described features, structures, or characteristics may be combined in any suitable manner.

[0028] In addition, although the term "message" may have been used in the description of the embodiments, the present application can be applied to many types of network data, such as packets, frames, datagrams, etc. The term "message" also includes packets, frames, datagrams, and any equivalent thereof. In addition, although certain types of messages and signaling may be depicted in exemplary embodiments, they are not limited to specific types of messages, and the present application is not limited to specific types of signaling.

[0029] Example embodiments provide methods, systems, components, non-transitory computer-readable media, devices, and / or networks that receive a request to create a second blockchain in a network including a first blockchain, and then send a message to one or more validating peer nodes in the network requesting authorization to create the second blockchain. The one or more validating peer nodes correspond to a subset of validating peer nodes of the network that have access to the first blockchain. Responses to the message are analyzed, and creation of the second blockchain is authorized based on the responses.

[0030] A decentralized database is a distributed storage system that includes multiple nodes that communicate with each other. Blockchain is an example of a decentralized database that includes an append-only immutable data structure similar to a distributed ledger that is capable of maintaining records between mutually untrusted parties. Untrusted parties are referred to herein as peers or peer nodes. Each peer maintains a copy of the database record, and no single peer can modify the database record without reaching a consensus between the distributed peers. For example, peers can execute a consensus protocol to verify blockchain storage transactions, group storage transactions into blocks, and build hash chains on these blocks. For consistency, this process forms a ledger by sorting storage transactions when necessary. In a public or permissionless blockchain, anyone can participate without a specific identity. Public blockchains often involve native cryptocurrencies and use consensus based on various protocols such as proof of work (PoW). On the other hand, a permissioned blockchain database provides a system that can ensure interactions between groups of entities that share a common goal but do not fully trust each other, such as commerce that exchanges funds, goods, information, and the like.

[0031] Blockchain operations are arbitrary programmable logic that is customized for decentralized storage solutions and is called a "smart contract" or "chaincode". In some cases, there may be a dedicated chaincode for managing functions and parameters, which is called a system chaincode. Smart contracts are trusted distributed applications that take advantage of the tamper-proof properties of the blockchain database and the underlying agreements between nodes, which are called endorsements or endorsement policies. Typically, blockchain transactions must be "endorsed" before being submitted to the blockchain, and unendorsed transactions will be ignored. Typical endorsement policies allow chaincodes to specify endorsers for transactions in the form of a set of peer nodes required for endorsement. When a client sends a transaction to the peers specified in the endorsement policy, the transaction is executed to verify the transaction. After verification, the transaction enters the sorting phase, in which a consensus protocol is used to produce an ordered sequence of endorsed transactions grouped into blocks.

[0032] A node is a communication entity of a blockchain system. A "node" can perform a logical function in the sense that multiple nodes of different types can run on the same physical server. Nodes are grouped in a trust domain and are associated with logical entities that control them in various ways. Nodes can include different types, such as client or submitting client nodes, which submit transaction calls to endorsers (e.g., peers) and broadcast transaction proposals to a sorting service (e.g., sorting nodes). Another type of node is a peer node, which can receive transactions submitted by clients, submit transactions, and maintain the state and copy of blockchain transaction ledgers. Although not required, peers can also play the role of endorsers. An ordering service node or orderer is a node that runs a communication service for all nodes, and it implements delivery guarantees, such as broadcasting to each peer node in the system when submitting transactions and modifying the world state of the blockchain. The world state is another name for the initial blockchain transaction, which typically includes control and setup information.

[0033] The ledger is an ordered, tamper-resistant record of all state transitions of the blockchain. State transitions can be caused by chaincode invocations (i.e., transactions) submitted by participating parties (e.g., client nodes, ordering nodes, endorsing nodes, peer nodes, etc.). Transactions can result in a set of asset key-value pairs being submitted to the ledger as one or more operands such as create, update, delete, etc. The ledger includes a blockchain (also referred to as a chain), which is used to store immutable, ordered records in blocks. The ledger also includes a state database, which maintains the current state of the blockchain. Each channel typically has a ledger. Each peer node maintains a copy of the ledger for each channel of which it is a member.

[0034] A chain is a transaction log that is structured as hash-linked blocks, and each block contains a sequence of N transactions, where N is equal to or greater than one. The block header includes the hash of the transactions of the block, as well as the hash of the header of the previous block. In this way, all transactions on the ledger can be ordered and cryptographically linked together. Therefore, it is impossible to tamper with the ledger data without breaking the hash links. The hash of the most recently added blockchain block represents every transaction that occurred before it on the chain, so that all peer nodes can be ensured to be in a consistent and trusted state. The chain can be stored on a peer node file system (i.e., local, attached storage, cloud, etc.), thereby efficiently supporting the append-only nature of blockchain workloads.

[0035] The current state of the immutable ledger represents the latest values ​​of all keys included in the chain's transaction log. Because the current state represents the latest key values ​​known to the channel, it is sometimes referred to as the world state. Chaincode invocations execute transactions against the current state data of the ledger. To make these chaincode interactions efficient, the latest values ​​of the keys can be stored in a state database. The state database can be just an indexed view into the chain's transaction log, so it can be regenerated from the chain at any time. The state database can be automatically restored (or generated on demand) after a peer node is started and before a transaction is accepted.

[0036] In many blockchain networks, validating peer nodes are jointly owned by different entities, sometimes referred to as blockchain stakeholders. Some users of these networks may be assigned to one stakeholder, while other users may be assigned to one or more other stakeholders. It is not uncommon for stakeholders and their users to have different interests, needs, privacy concerns, or security levels. However, all users in such a single blockchain network have full access to all data stored in or referenced by the blockchain.

[0037] In some cases, in order to try to meet scalability issues and satisfy the interests and needs of stakeholders, blockchain networks can be partitioned. However, care must be taken not to lose track of how many parts the network has been partitioned into. Similarly, in order to try to control data access, complex smart contracts can be used. However, smart contracts often prove to be insufficient for this purpose and have an adverse effect on efficiency.

[0038] Some benefits of the present solution described and depicted herein relate to: providing a new solution to a previously existing gap by providing a single blockchain (or blockchain network) with the ability to trigger the creation of one or more other blockchains in the same network. A single (or root) blockchain can reference data that is relevant to and accessible to all stakeholders, validating peer nodes, and users of the blockchain network. Each created (or child) blockchain can reference data that is only relevant to or accessible to stakeholders, validating peer nodes, and users assigned to the child blockchain. The data stored or referenced in the root blockchain may be related or unrelated to the data stored or referenced in one or more child blockchains in the blockchain network. The smart contracts and policies of the child blockchains may be similar or different from the smart contracts and policies of the root blockchain. By using a single blockchain to trigger the creation of a child blockchain, the different interests, needs, privacy concerns, or security levels of the stakeholders and users of the root blockchain network can be fully protected.

[0039] Blockchain differs from conventional databases in that blockchain is not a central storage device, but a decentralized, immutable and secure storage device, where nodes must share changes to records in the storage device. Some properties inherent in blockchain that contribute to the implementation of blockchain include, but are not limited to: immutable ledger, smart contracts, security, privacy, decentralization, consensus, endorsement, accessibility, etc., which will be further described herein. According to various aspects and according to one or more embodiments described herein, a single blockchain (or blockchain network) triggers the creation of one or more second blockchains in the same network through identity management or transactions of the first blockchain. For example, identity management can be performed according to one or more predetermined protocols executed relative to a subset of verification nodes assigned to the second blockchain. Transactions using the first blockchain to create a second blockchain can be performed in association with requirements embodied in one or more smart contracts or policy information.

[0040] One of the benefits of example embodiments is that it improves the functionality of a computing system by increasing the capabilities of a blockchain network. Through the blockchain system described herein, a computing system can manage multiple blockchains in the same network and simultaneously restrict or otherwise control user access to at least some of the blockchains and their corresponding data. This serves to protect the interests of stakeholders who own nodes and may have privacy or other concerns. Through the concept of a shared ledger, the blockchain system also provides a way to efficiently and securely disseminate information to different subsets of users in the network.

[0041] Example embodiments provide numerous benefits over conventional databases. For example, through blockchain, embodiments provide a way to create one or more second blockchains in an existing network including a first (or root) blockchain. Since the users / nodes of the second blockchain represent a subset of the users of the first blockchain, access levels to different data can be efficiently and securely controlled within the same blockchain network.

[0042] Meanwhile, conventional databases cannot be used to implement the example embodiments because conventional databases do not include nodes that share copies of ledgers of multiple blockchains in the same network. Therefore, the example embodiments provide specific solutions to problems in the field of information management and control.

[0043] Figure 1AA logical diagram of an embodiment of a blockchain network 100 is illustrated, which includes a processor 105, a first interface 110, and a second interface 115. The processor 105 manages operations of the network including or related to: blockchain creation, appending blocks to the blockchain, ledger management, key material access and distribution, trust verification, requests, messaging, verification, consensus, and other operations. To perform these operations, the processor 105 may include or be coupled to one or more of the following: identity management infrastructure, certificate authority, processing platform, regulator, administrator, one or more applications, smart contracts, and policy information. The applications, smart contracts, and policy information are stored in one or more storage areas in the processor 110 or coupled to the processor 110.

[0044] The first interface 110 allows the network processor to access the ledger of the first blockchain 130 and any storage area storing data included in or referenced by the first blockchain. Copies of the ledger (or first blockchain) are distributed to be stored in or accessed by peer connections of the network nodes 120, which may include but are not limited to verifying peer nodes and non-verifying peer nodes. The nodes themselves can be any type of active device or software. Examples include workstations, computers, mobile terminals, applications, or other devices or software that are maintained or otherwise accessed through a network address. The first interface can be a communication protocol, signal line, port connection, or any other type of signal path that allows data transmission at a specific layer.

[0045] The second interface 115 allows the network processor to access the ledger of the second blockchain 140 and any storage area storing data included in or referenced by the second blockchain. The second blockchain 140 is in the same network as the first blockchain, but, for example, the second blockchain 140 may be managed by only a subset of the nodes 120 of the first blockchain 130 and accessed only by it. Copies of the ledger (or second blockchain) are distributed for storage in or accessed only by the network nodes 120 in the subset. Similar to the first interface 110, the second interface 115 may be a communication protocol, signal line, port connection, or any other type of signal path that allows data transmission at a specific layer. In one embodiment, the first interface and the second interface may be the same interface. In another embodiment, the first interface and the second interface may be different from each other.

[0046] The first blockchain 130 and the second blockchain 140 are different in many aspects. For example, the first and second blockchains may store or reference different data or different types of data, for example, depending on the interests, needs, privacy issues, or security levels of the users of the first and second blockchains. In one embodiment, the data stored in or referenced by the second blockchain 140 may be related to the data stored in or referenced by the first blockchain 130, for example, the data of the second blockchain may be a more specific version or additional data relative to the data of the first blockchain 140. In another embodiment, the data of the first and second blockchains may be unrelated. The types of data stored in the first and second blockchains, the identities of the nodes assigned to the second blockchain, the users who can access the blockchain, and other permissions and management operations may be determined in part by the interests and policies of the stakeholders who own the nodes. Specific management operations and policies may be incorporated into a smart contract, for example, which guides or controls the operation of the processor 105 and / or the node 120 in relation to the blockchain.

[0047] Figure 1B Picture shows Figure 1A 160 of a blockchain network 100 in which examples of the first and second blockchains are depicted in more detail. Figure 1B , all validating peer nodes 120 can access the first blockchain 130. Therefore, in some embodiments, the first blockchain can be referred to as the root blockchain of the network. However, only a subset 150 of validating peer nodes 120 can access the second blockchain 140. Therefore, in some embodiments, the second blockchain can be referred to as a child blockchain.

[0048] For illustrative purposes, only four verification peer nodes VP1-VP4 are shown in the network, and only two of these nodes, VP1 and VP3, are in the node subset corresponding to the second blockchain 140. In another embodiment, a different number of verification peer nodes 120 may be included in the network and / or subset. The blockchain network may include other nodes, but these nodes may not be able to perform the same operations as the verification peer nodes.

[0049] Each validation peer node 120 may be owned by a different stakeholder, or the same stakeholder may own more than one validation peer node. Likewise, different subsets of users may be assigned to stakeholders, or one or more users may be collectively assigned to different subsets of stakeholders. Because stakeholders own validation nodes, users of the blockchain network access the root blockchain 130 through corresponding validation peer nodes in the validation peer nodes VP1-VP4. Examples of user subsets are shown as being associated with peer nodes 120.

[0050] In the blockchain network 100, the same processing resources and identity management infrastructure can be used to create the root and child blockchains. In another embodiment, different processing resources and / or identity management infrastructure can create blockchains. In this case, different policies and / or smart contracts can be used to create and manage blockchains. An example of how to create a child blockchain 130 is explained in more detail below.

[0051] Figure 1B 1 shows that the network 100 includes only one sub-blockchain. In other embodiments, the blockchain network 100 may include two or more sub-blockchains assigned to different subsets of verification peer nodes VP1-VP4 in the network. The verification peer nodes in different subsets may all be different, or one or more may be shared in common in the subsets. Because the verification peer nodes assigned to (multiple) sub-blockchains are themselves part of the entire root blockchain network 100, each verification peer node in the subset 150 can store, maintain, or otherwise access the ledger of the root blockchain and its corresponding sub-blockchain. Smart contracts can be read and executed by verification peer nodes to query, append blocks to the blockchain, or otherwise access data from the blockchain.

[0052] The different child blockchains and their corresponding validating peer nodes may be determined, for example, by the different interests, needs, privacy concerns, or security levels of the users in the blockchain network 100. As an added level of protection, different key encryption schemes may be employed to access data stored in or referenced by each child blockchain, and these schemes may be different from the key encryption used to access the root blockchain 130 in the network. The key material for the child blockchain 140 may be delivered to the validating peer nodes (VP1 and VP3 in this example) by, for example, the root blockchain 130, a network processor, a certificate authority, and / or another network entity. The blockchain network 100 and its processors, storage, management, and / or other structural features may perform the operations of the method embodiments discussed in detail below.

[0053] In one embodiment, the processor 105 creates the second blockchain 140 based on a message from a validating peer node 120 in a subset of validating peer nodes. The message may include information identifying a subset of multiple validating peer nodes 150. As will be explained in more detail, the processor 110 may send one or more key keys to the subset of validating peer nodes 150. The one or more key keys that allow the validating peer nodes VP1 and VP3 in the subset to access data of the second blockchain 140 or the validating peer nodes VP1 and VP3 in the subset may transmit information to append a block to the second blockchain 140.

[0054] Figure 2AA blockchain architecture configuration 200 is illustrated according to an example embodiment. Figure 2A , the blockchain architecture 200 may include certain blockchain elements, such as a group of blockchain nodes 202. The blockchain nodes 202 may include one or more nodes 204-210 (these four nodes are depicted by way of example only). These nodes participate in many activities, such as blockchain transaction addition and verification processes (consensus). One or more of the blockchain nodes 204-210 may endorse transactions based on endorsement policies and may provide ordering services for all blockchain nodes in the architecture 200. The blockchain node may initiate a blockchain authentication and attempt to write to the blockchain immutable ledger stored in the blockchain layer 216, a copy of which may also be stored on the underlying physical infrastructure 214. The blockchain configuration may include one or more applications 224, which are linked to an application programming interface (API) 222 to access and execute stored program / application code 220 (e.g., chain code, smart contracts, etc.), which may be created according to the customized configuration sought by the participants, and may maintain its own state, control its own assets, and receive external information. This may be deployed as a transaction and installed on all blockchain nodes 204-210 via appending to the distributed ledger.

[0055] The blockchain base or platform 212 may include various layers of blockchain data, services (e.g., cryptographic trust services, virtual execution environments, etc.), and underlying physical computer infrastructure that may be used to receive and store new transactions and provide access to auditing parties seeking access to data entries. The blockchain layer 216 may expose an interface that provides access to the virtual execution environment necessary to process program code and use the physical infrastructure 214. Cryptographic trust services 218 may be used to confirm transactions such as asset exchange transactions and keep information private.

[0056] Figure 2A The blockchain architecture configuration of the blockchain platform 212 can process and execute program / application code 220 via one or more interfaces exposed by the blockchain platform 212 and the services provided. The code 220 can control blockchain assets. For example, the code 220 can store and transmit data and can be executed by the nodes 204-210 in the form of smart contracts and chain codes associated with conditions or other code elements executed by them. As a non-limiting example, smart contracts can be created to perform reminders, updates, and / or other notifications of changes, updates, etc. The smart contracts themselves can be used to identify rules associated with the use of the ledger and authorization and access requirements.

[0057] For example, information 226 may include information and data associated with multiple sub-blockchains in the network. For example, information 226 may include: a request to create a sub-blockchain in the network, authorization to create a sub-blockchain from a corresponding subset of validating peer nodes, information identifying validating peer nodes in each subset, references to one or more smart contracts including instructions on how to create a sub-blockchain, key material for the sub-blockchain, and a ledger for the sub-blockchain. In addition, information 226 may include: transaction requests from validating peer nodes for the root blockchain and the sub-blockchain after creating the sub-blockchain(s). Information 226 and associated transactions and smart contracts may be processed by one or more processing entities (e.g., virtual machines) included in blockchain layer 216.

[0058] The result 228 of this processing may include a message generated in response to a request to create a new sub-blockchain. The message may be sent to a validating peer node to be assigned to the new sub-blockchain for which authorization is requested. Information 228 may also include key material (e.g., one or more public or private keys used to transmit messages and submit transactions in the new sub-blockchain). The key material may be included in a certificate to be sent to the validating peer node, or may be sent separately from the certificate. Information 228 may include results from the execution of a smart contract associated with a root blockchain or one or more sub-blockchains, including access to data or ledgers of these blockchains. Physical infrastructure 214 may be utilized to retrieve any data or information described herein.

[0059] Within chaincode, smart contracts can be created via high-level applications and programming languages ​​and then written to blocks in the blockchain. A smart contract can include executable code that is registered, stored, and / or replicated with a blockchain (e.g., a distributed network of blockchain peers). A transaction is the execution of smart contract code that can be executed in response to a condition associated with a smart contract being satisfied. The execution of a smart contract can trigger (multiple) trusted modifications to the state of a digital blockchain ledger. The (multiple) modifications to the blockchain ledger caused by the execution of a smart contract can be automatically replicated throughout the distributed network of blockchain peers through one or more consensus protocols.

[0060] Smart contracts can write data to the blockchain in the format of key-value pairs. In addition, smart contract code can read values ​​stored in the blockchain and use them in application operations. Smart contract code can write the output of various logical operations to the blockchain. The code can be used to create temporary data structures in a virtual machine or other computing platform. The data written to the blockchain can be public and / or can be encrypted and maintained as private. Temporary data used / generated by smart contracts is saved in memory by the provided execution environment and deleted once the data required by the blockchain is identified.

[0061] Chaincode may include a code interpretation of a smart contract with additional features. As described herein, chaincode may be a program code deployed on a computing network where it is executed and verified together by chain validators in a consensus process. The chaincode receives the hash and retrieves from the blockchain the hash associated with the data template created using the previously stored feature extractor. If the hash of the hashed identifier matches the hash created from the stored identifier template data, the chaincode sends the authorization key to the requested service. The chaincode may write data associated with cryptographic details to the blockchain.

[0062] exist Figure 2A In the example of FIG. 2 , a request to create a new sub-blockchain may be received from a validating peer node as part of information 226. In response, one function may be to execute a smart contract including instructions or protocols on how to create a new sub-blockchain. Another function may be to send a request to an identity management infrastructure to generate messages and information for creating a new sub-blockchain. Other examples are discussed in the embodiments set forth below. Once the request or other information is processed, messages, certificates, key materials, and other information associated with the creation of the new sub-blockchain may be included in information 228 sent to one or more of the validating peer nodes 204-210.

[0063] Figure 2B An example of a transaction flow 250 between nodes of a blockchain according to an example embodiment is illustrated. Figure 2B, a transaction flow may include a transaction proposal 291 sent by an application client node 260 to an endorsing peer node 281. The endorsing peer 281 may verify the client signature and execute the chaincode function to initiate the transaction. The outputs may include: a chaincode result, a set of key / value versions read in the chaincode (read set), and a set of key / values ​​written in the chaincode (write set). If approved, the proposal response 292 is sent back to the client 260 along with the endorsement signature. The client 260 assembles the endorsement into a transaction payload 293 and broadcasts it to the ordering service node 284. The ordering service node 284 then delivers the ordered transaction as a block to all peers 281-283 on the channel. Each peer 281-283 may validate the transaction before submitting it to the blockchain. For example, a peer may check the endorsement policy to ensure that the correctly assigned designated peer has signed the result and authenticated the signature against the transaction payload 293.

[0064] Reference again Figure 2B , the client node 260 initiates a transaction 291 by constructing a request and sending it to the peer node 281 as the endorser. The client 260 may include an application utilizing a supported software development kit (SDK) such as NODE, JAVA, PYTHON, etc., which utilizes an available API to generate a transaction proposal. The proposal is a request to invoke a chaincode function so that data can be read and / or written to the ledger (i.e., write a new key-value pair for an asset). The SDK can act as a shim to encapsulate the transaction proposal into an appropriate architectural format (e.g., protocol buffers over remote procedure call (RPC)) and take the client's cryptographic credentials to generate a unique signature for the transaction proposal.

[0065] In response, the endorsing peer 281 can verify that (a) the transaction proposal is well-formatted, (b) the transaction has not been submitted in the past (replay attack protection), (c) the signature is valid, and (d) the submitting party (client 260 in this example) is properly authorized to perform the proposed operation on the channel. The endorsing peer 281 can take the transaction proposal input as an argument to the invoked chaincode function. The chaincode is then executed against the current state database to produce a transaction result including a response value, a read set, and a write set. However, no updates have been made to the ledger at this point. In 292, the set of values ​​and the signature of the endorsing peer 281 are passed back to the SDK of the client 260 as a proposal response 292, which parses the payload for use by the application.

[0066] In response, the client 260 application verifies / confirms the endorsed peer signatures and compares the proposed responses to determine if the proposed responses are the same. If the chaincode only queries the ledger, the application will verify the query response and typically will not submit the transaction to the ordering node service 284. If the client application intends to submit the transaction to the ordering node service 284 to update the ledger, the application determines whether the specified endorsement policy has been fulfilled (i.e., whether all peer nodes required for the transaction have endorsed the transaction) before submitting. Here, the client can include only one of the multiple parties to the transaction. In this case, each client can have its own endorsement node, and each endorsement node will need to endorse the transaction. This architecture allows: even if the application chooses not to verify the response or otherwise forward unendorsed transactions, the endorsement policy will still be enforced by the peers and supported during the submission verification phase.

[0067] After successful verification, in step 293, client 260 assembles the endorsements into a transaction and broadcasts the transaction proposal and response within the transaction message to ordering node 284. The transaction may contain a read / write set, an endorsement peer signature, and a channel ID. Ordering node 284 does not need to verify the entire contents of a transaction in order to perform its operations. Instead, ordering node 284 can only receive transactions from all channels in the network, sort them chronologically by channel, and create blocks of each transaction by channel.

[0068] The block of transactions is delivered from the ordering node 284 to all peer nodes 281-283 on the channel. Transactions 294 within the block are validated to ensure that any endorsement policies are fulfilled and that the state of the ledger for the read set variables has not changed since the transaction execution generated the read set. Transactions in the block are marked as valid or invalid. In addition, in step 295, each peer node 281-283 appends the block to the channel's chain and, for each valid transaction, submits the write set to the current state database. Events are emitted to notify the client application that the transaction (call) has been immutably appended to the chain and notifies whether the transaction has been validated or not.

[0069] Figure 3An example of a permissioned blockchain network 300 is illustrated, featuring a distributed, decentralized peer-to-peer architecture and a certificate authority 318 that manages user roles and permissions. In this example, a blockchain user 302 can submit a transaction to a permissioned blockchain network 310. In this example, the transaction can be a deployment, call, or query, and can be issued by a client-side application utilizing an SDK, directly through a REST API, or the like. The trusted business network can provide access to one or more regulator systems 314, such as auditors (e.g., the Securities and Exchange Commission in the U.S. stock market). At the same time, the blockchain network operator system of node 308 manages member permissions, such as registering the regulator system 314 as an "auditor" and registering the blockchain user 302 as a "client." The auditor may be limited to querying the ledger, while the client may be authorized to deploy, call, and query certain types of chain codes. According to one or more embodiments, the terms user and client may be used interchangeably, the latter term corresponding to, for example, a person, a workstation, a computer, a terminal, a mobile device, an application, or other entity.

[0070] The blockchain developer system 316 writes chain codes and client-side applications. The blockchain developer system 316 can deploy chain codes directly to the network through a REST interface. In order to include credentials from a conventional data source 330 in the chain code, the developer system 316 can use an out-of-band connection to access the data. In this example, the blockchain user 302 is connected to the blockchain network processor 332 through a peer node 312. Before conducting any transactions, the peer node 312 retrieves the user's registration and transaction certificates from the certificate authority 318. In some cases, blockchain users must have these digital certificates to conduct transactions on the permissioned blockchain network 310. At the same time, users who try to drive chain codes may be required to confirm their credentials on the conventional data source 330. In order to confirm the user's authorization, the chain code can use an in-band connection to this data through a conventional processing platform 320.

[0071] Figure 4 System diagram 400 illustrates messaging that may occur between processing resources of a root blockchain network and validating peer nodes when triggering creation of a child blockchain, according to one or more example embodiments.

[0072] In these example embodiments, messaging occurs between client (user) 410, Figure 1A Between and among the verification peer nodes VP1-VP4 420 shown in the figure and the identity management infrastructure (or identity manager) 430, the identity management infrastructure (or identity manager) 430 may, for example, include one or more of a root blockchain processor, a certificate authority, and various other management features that operate according to smart contracts and / or network policies, as described in the example embodiments below.

[0073] refer to Figure 4 Initially, a user determines that a new child blockchain is to be created in the blockchain network 100. This may be accomplished, for example, as a result of an agreement with other users of a validating peer node to which the user is assigned and / or users of one or more other validating peer nodes in the network. The motivation for a new child blockchain may be, for example, to restrict access to data to only certain users in the root blockchain, which are named as users in the new chain.

[0074] Thus, at 412, a user (e.g., via a client application, terminal, or workstation) generates a request to create a new child blockchain. A message 413 including the request is sent to the identity management infrastructure 430 of the blockchain network via the verification peer node VP1 to which the user is assigned.

[0075] The identity management infrastructure 430 receives the message 413 and retrieves the information included in the message by the user at 416. The information includes, for example, the identity (e.g., identifier) ​​of the validating peer node in the blockchain network to be assigned to the new child blockchain. The information may also optionally include key information obtained by the user for encrypting communications between validating peers assigned to the new child blockchain. The key information may be different from the key information used in the root blockchain network and may be, for example, a public key in a public key-private key pair to be used for encryption and decryption.

[0076] At 418, the identity management infrastructure processes the information retrieved in the message and issues a certificate for the child blockchain. Message 419 is then sent to all validating peer nodes VP1-VP4 in the blockchain network requesting authorization to create a new child blockchain. In one embodiment, message 419 may be sent only to predetermined validating peer nodes, which, for example, have a higher priority than other validating peer nodes in the network.

[0077] At 421, the identity management infrastructure 430 receives a reply message from the validating peer node authorizing or denying the creation of a new sub-blockchain. For example, the decision to authorize or deny can be made by a user assigned to the validating peer node and communicated through a corresponding client application.

[0078] At 422, when a predetermined number of authorizations have been received from validating peer nodes, the identity management infrastructure 430 authorizes the creation of a new blockchain, which may be performed, for example, in a manner similar to the creation of the root blockchain 110 as described herein.

[0079] The identity management infrastructure transmits the private (or secret) key to the validating peer node of the newly created child blockchain at 424. The private keys may all be different from one another and may be used with the public key(s) to encrypt and decrypt communications with the blockchain network, such as querying or accessing the child blockchain and submitting transactions to append new blocks to the child blockchain.

[0080] Figure 5A A flowchart 500 of a method for using a root (or first) blockchain network to trigger the creation of one or more child (or second) blockchains according to an example embodiment is illustrated. The root blockchain is managed by a root blockchain network including a plurality of validating peer nodes, for example, as described with reference to FIGS. Figure 4 As described.

[0081] Each validating peer node can be owned by one or more entities (or blockchain stakeholders), and users in the root blockchain network are assigned to one or more stakeholders. Therefore, indicating the validating peer nodes for each child blockchain can also effectively indicate the users assigned to each child blockchain.

[0082] The root blockchain network may be a permissioned network, e.g., only some of the peer nodes in the root blockchain network validate and execute transactions, participate in consensus, and perform other management operations. Other peer nodes may not be permitted to perform these operations, e.g., as determined by one or more policies, protocols, and / or smart contracts of the root blockchain network.

[0083] refer to Figure 5A , method 500 may initially include: at 501, providing a blockchain network including a first blockchain. The first blockchain may store or reference first data. If the first blockchain references the first data, the first data may be stored in, for example, a data source 330 (e.g., Figure 3 ) or another storage area. The first data may include, for example, any type of data of interest to a validating peer node of the network, such as defined by one or more smart contracts. In one embodiment, the first blockchain may also store data and information related to one or more second blockchains created in the blockchain network.

[0084] At 502, a request to create a second blockchain in a blockchain network including a first blockchain is received. The request may be sent by a client of the blockchain network and may be received by (a blockchain network processor, an identity management infrastructure, a certificate authority, a processing platform, or other processing resource) by validating one of the peer nodes. As previously noted, according to one or more embodiments, the first blockchain may be referred to as a root blockchain, and the second blockchain may be a child blockchain, as previously described. The client may be a user, a node, an application, a computer, a workstation, a mobile terminal, or a server included in or connected to the blockchain network. According to one or more embodiments, "user" and "client" may be used interchangeably.

[0085] At 503, for example, according to instructions in the smart contract, the blockchain network processor or other management application or network device can send a message requesting a validating peer node in the blockchain network to authorize the creation of the requested sub-blockchain. The validating peer node represents a subset of all validating peer nodes in the blockchain network, such as the nodes assigned to the sub-blockchain indicated in the creation request in 502. For example, the validating peer node can be identified in the request in 502. The same request can include other information, including but not limited to key information.

[0086] At 504, responses from the subset of validating peer nodes to which the request was sent in 503 are analyzed to determine whether a child blockchain should be created. The conditions for analyzing the responses may be determined, for example, by a smart contract or policy defined for the child blockchain, which may be different from or the same as the smart contract for the root blockchain. For example, the number of favorable responses authorizing the creation of a child blockchain may be compared to a predetermined number, and a decision may be made whether to create a child blockchain based on the result of the comparison. In other embodiments, different criteria may be used to analyze responses from a subset of validating peer nodes for the purpose of determining whether to create a child blockchain.

[0087] At 505, the blockchain network processor or other management application or network device may create a child blockchain when the criteria in 504 are met. The child blockchain may be created based on instructions in a smart contract defined for the child blockchain, which instructions may be included in or referenced by the request in 502, for example. The child blockchain may reference second data, which may or may not be related to the first data of the root blockchain, but which may be significant to a subset of validating peer nodes of the child blockchain and their associated users.

[0088] At 506, the blockchain processor or other management application or network device may distribute key material to a subset of validating peer nodes assigned to the child blockchain. The key material may be one or both of a public key-private key pair used to encrypt information, transactions, data, etc. associated with the child blockchain. In one embodiment, prior to creating the child blockchain, a public key (either within a certificate or outside of a certificate) for the child blockchain may be distributed to a subset of validating peer nodes, and after creating the child blockchain, different corresponding private (or secret) keys may be distributed to corresponding validating peer nodes in the subset of validating peer nodes.

[0089] Figure 5B A flow chart of another embodiment of a method 510 for triggering the creation of one or more child blockchains using a root blockchain network is illustrated. This embodiment may be, for example, Figure 5A For a more specific implementation of the method and reference Figure 4 and be understood.

[0090] refer to Figure 5B , method 510 may initially include: at 511, receiving a request to create a child blockchain in a network including a root blockchain. The request may be received from a user by a validating peer node of the blockchain network. The network's identity management infrastructure (or identity manager) may receive and process the request. The identity management infrastructure may be similar to a PKI (public key infrastructure), where one or more certificate authorities (CAs) issue a user's public key. After the certificate is issued, the user receives a "client" certificate, which may be used to assemble blockchain transactions. In one embodiment, the identity management infrastructure may be enhanced to allow the creation of a control chain.

[0091] The request may include various types of information that allow the creation of a child blockchain. The information may, for example, identify validating peer nodes in the blockchain network to be assigned to the child blockchain. The validating peer nodes may be identified, for example, by metadata including a pre-assigned identifier. The information may also indicate the status of each identifier peer node, for example, whether the node is active or shut down.

[0092] The information in the request may also include one or more of the two keys of the key pair for use by the validating peer node to encrypt and decrypt data and messages related to the child blockchain in the network. The key pair may be a public key-private key pair, and the information in the request may include, for example, only the public key. The public key of the child blockchain may or may not be distributed to validating peer nodes in the network that are not assigned to the child blockchain. In one embodiment, key information and / or the state of the node for the child blockchain may be obtained from a source other than the request, such as a network processor, a certificate authority, a management node, a smart contract, etc., through the identity management structure.

[0093] At 512, the information in the request is processed to identify one or more validating peer nodes to be assigned to the second blockchain. This may include, for example, accessing one or more fields of the packet used to transmit the request. The specific manner of submitting the request may be defined, for example, by a smart contract or policy information of the blockchain network. The one or more validating peer nodes to be assigned to the child blockchain constitute a subset of the validating peer nodes in the network that already have access to the root blockchain. In one embodiment, only one validating peer node may be assigned to the child blockchain. In another embodiment, more than one but less than all validating peer nodes may be assigned to the child blockchain. In this case, the validating peer nodes may be owned by the same blockchain stakeholder or different stakeholders.

[0094] At 513, a plurality of validating peer nodes are requested to provide a decision on whether to create a new child blockchain. The validating peer nodes may be all validating peer nodes in the network, nodes assigned only to child blockchains, nodes not assigned to child blockchains, or another combination of validating peer nodes. The validating peer nodes requested to provide a decision may be defined, for example, by a network policy or smart contract. When requested, the validating peer nodes transmit their decisions back to the identity management infrastructure.

[0095] At 514, the identity management infrastructure authorizes or does not authorize the creation of the second blockchain based on the decision from the one or more validating peer nodes. In one embodiment, when a predetermined number of validating peer nodes provide favorable authorization, such as by transmitting a confirmation signal, the creation of the child blockchain can be performed. The predetermined number can be all or less than all nodes.

[0096] At 515, after the creation of the child blockchain is authorized, the identity management infrastructure may transmit different private (or secret) keys to corresponding peer nodes assigned to the child blockchain. Validating peer nodes of the network that are not assigned to the child blockchain may be excluded from receiving the private key of the child blockchain, and therefore may not submit transactions to the child blockchain, or even access information stored in or referenced by the child blockchain. In one embodiment, this is not the case for nodes of the child blockchain, for example, users of nodes of the child blockchain may access information from the root blockchain and submit transactions to the root blockchain. Therefore, the root blockchain and the child blockchain may store different data for users with different interests or access levels. The private key may be transmitted to the validating peer nodes of the child blockchain before or after the network actually creates the child blockchain.

[0097] When the child blockchain is authorized to be created, the identity management infrastructure may distribute or arrange for distribution of policy information and / or smart contracts to validating peer nodes of the child blockchain at 516. The smart contract or policy information may provide, for example, instructions on how to submit transactions to the child blockchain and / or how to propagate messages and information between peer nodes of the child blockchain or between nodes of the child blockchain and other nodes in the blockchain network.

[0098] After the child blockchain has been created, the identity management infrastructure may perform a number of additional operations. These operations include, for example, listing user transactions from the child blockchain (assuming the correct credentials have been obtained). In one embodiment, if more than one child blockchain has been created in the blockchain network, user transactions from the child blockchains may also be listed. Another operation may include maintaining state information on each child blockchain, for example, the hash of the ni-th block of the chain, where ni=i*k, k is an integer, and k≥1, with a prefix of the monitoring block-size.

[0099] Figure 5C Another embodiment of a method 520 for triggering the creation of one or more child blockchains using a root blockchain network is illustrated. In an initial operation of the method, at 521, a client and a validating peer node register with a specified identity management infrastructure. The client can be, for example, a computer, workstation, mobile terminal, or application that a user accesses to submit transactions and other information to a blockchain network. The validating peer node executes and validates transactions submitted by the client.

[0100] At 522, after the client and verifying peer node have been registered, the client and verifying peer node obtain an enrollment certificate that binds the identity of the verifying peer node (and its corresponding user) to public key material (eg, encryption and signing keys).

[0101] After successfully proving ownership of the enrollment certificate, the client is given the option to issue anonymous credentials at 523. Transactions submitted by the client will be signed by the corresponding client certificate, which can be anonymous or indicate the client identity, for example.

[0102] At 524, after submission, the transaction is processed by the corresponding client's validating peer node. The processing involves verifying the client's signature, reading the content of the transaction, and executing the code therein. The validating peer node adds the correctly executed transaction to the ledger of the root blockchain. As indicated above, all validating peer nodes are considered part of the blockchain network.

[0103] At 525, in the blockchain network, one or more users submit corresponding messages through one or more clients to create a new child blockchain. At this point, one or more child blockchains may have already been created in the network, or this may be the first child blockchain requested. The message may include, for example, information identifying the validating peer node(s) associated with the new child blockchain and information indicating a key distribution for the new child blockchain.

[0104] When validated, the message (or transaction) triggers the creation of a new child blockchain at 526. Validation may be performed as previously described, for example, authorized by a predetermined number of validating peer nodes assigned to the child blockchain to be created.

[0105] The creation of a new child blockchain can be triggered in two ways: (1) through the identity management infrastructure or (2) through a blockchain transaction.

[0106] Identity Management Infrastructure

[0107] Figure 5D An embodiment of a method 530 for triggering the creation of a child blockchain by an identity management infrastructure (or identity manager) of a blockchain network is shown. In an initial operation 531, a user (or client) of the blockchain network generates a request to issue a certificate for a new child blockchain. The user can be an existing user or a user newly added to the blockchain network. In this embodiment, the request is sent to the blockchain network through a corresponding peer node, where it is received by the identity management infrastructure.

[0108] The request may include various types of information. For example, the request may include information (e.g., metadata identifiers) identifying one or more clients and / or validating peer nodes to be assigned to the child blockchain. A user may specify this information in the request, for example, using a client application. In one case, the request may be signed with a long-term signing key of the requester / user and transmitted over the network by the validating peer node.

[0109] The request may also include information indicating the state of each validating peer node to be assigned to the child blockchain. The state of the node may be, for example, active, closed, or other state.

[0110] The request may also include information identifying key material to be assigned to the child blockchain. For example, a user may generate a cryptographic key pair for a new child blockchain. A cryptographic key pair may include a public key and a private (or secret) key. The public key may be provided to the identity management infrastructure in the request along with information identifying a validating peer node to be assigned to the child blockchain.

[0111] The user may also generate or obtain a ciphertext of a different secret key for a corresponding peer verification node assigned to the child blockchain. The ciphertext may be included in the request, for example.

[0112] At 532, the identity management infrastructure processes the request and issues a certificate for the new child blockchain based on the information in the request. In one embodiment, the chain certificate can be a unique identifier, the identity of the validating party, and a public key for sending encrypted messages to the validating party.

[0113] The identity management infrastructure may also perform one or more confirmation operations before authorizing the creation of a child blockchain. For example, consider the following scenario: users of a blockchain network have different trust assumptions, such as determined by a certificate authority, policy, smart contract, or other information associated with the blockchain network. Depending on the trust assumptions of the user requesting a new child blockchain, the identity management infrastructure may (i) request the user to provide proof of the correctness of the message submitted in association with the child blockchain at 533 (e.g., providing a zero-knowledge proof of plain text equality to all validating peer nodes of the child blockchain) or (ii) send the user request for the child blockchain to all associated validating peer nodes at 534 and confirm the correct delivery of the key material (included in the request) to these nodes.

[0114] At 535, the identity management infrastructure may send a request to the validating peer nodes in the network to authorize the creation of the child blockchain. In this case, all validating peer nodes included in the specification of the child blockchain may receive the authorization request, or only predetermined (e.g., higher priority) validating peer nodes may receive the request.

[0115] The identity management infrastructure receives responses to the request sent to the validating peer nodes at 535. For example, if a predetermined number of validating peer nodes do not authorize the creation of a child blockchain, then at 536, the child blockchain is not created. If a predetermined number of validating peer nodes authorize the creation of a child blockchain, then at 537, the identity management infrastructure creates the child blockchain. The predetermined number may be all, a majority, or some other number of validating peer nodes. In one embodiment, the predetermined number of responses is a minimum of 2f+1 affirmative responses authorizing the creation of a child blockchain, where f is the number of byzantine nodes.

[0116] Once the child blockchain is created, the identity management infrastructure may distribute different secret keys (e.g., corresponding to the ciphertext generated by the user and included in the creation request) to the corresponding peer nodes assigned to the child blockchain at 538. Using the secret keys, the nodes may perform decryption on messages and information associated with the child blockchain.

[0117] According to one or more embodiments, Figure 5D The method may be modified or include various optional steps. For example, the key material information of the child blockchain may not be included in the creation request. In this case, the identity management infrastructure may generate a public key-private key pair for the new child blockchain and add the corresponding public key to the certificate for the child blockchain. The identity management infrastructure may also include one or more messages to the verification peer node of the child blockchain in the certificate. Examples of messages include ciphertext of the secret key of the corresponding verification peer node for the child blockchain. The secret key may be generated, for example, based on the long-term encryption key of the verification peer node of the child blockchain. Including this type of message in the certificate allows the verification peer node to perform decryption for the child blockchain based on its secret key.

[0118] In one embodiment, upon receiving a request for a child blockchain, the identity management infrastructure may provide key material to the validating peer nodes separately, e.g., not in a certificate. In this case, the identity management infrastructure may issue a certificate only if and only if all validating peer nodes assigned to the child blockchain have confirmed the correct delivery of the corresponding key, e.g., one of a key pair. Depending on the policy regarding keys, the identity management infrastructure may or may not provide a secret key to a user assigned to a child blockchain. If the secret key is not provided to the user, and the identity management infrastructure is not trusted to have performed its job correctly, the user may request proof that the certificate for the child blockchain was correctly constructed.

[0119] Once a sub-blockchain is authorized to be created, the certificate can be routed to all validating peer nodes of the entire blockchain network (including the validating peer nodes of the new sub-blockchain), so that all users of the blockchain network are notified about the existence of the sub-blockchain.

[0120] Blockchain Transactions

[0121] Figure 5E An embodiment of a method 550 for triggering the creation of a child blockchain through a blockchain transaction in a root network is shown. The method includes providing a system contract or policy at 551 that provides instructions on how to create a new child blockchain. The system contract may, for example, specify a set of users and / or administrators who are authorized to generate new child blockchains in the blockchain network (e.g., based on the certificates of these users) and metadata to be used when processing requests to create child blockchains.

[0122] At 552, a request to create a new child blockchain is received from a user assigned to a validating peer node in the root blockchain network. The request may include various types of information, including but not limited to a reference to a smart contract or policy to create a new child blockchain.

[0123] At 553, the smart contract referenced in the request is executed. In one embodiment, the request is in the form of a transaction that references a system contract or policy that controls the creation of a child blockchain, or invokes such a transaction. The transaction or request may include information (as indicated in the request) identifying a subset of validating peer nodes in the blockchain network that will be assigned to the child blockchain and used to validate the contract of the child blockchain. The transaction or request may also include other information, including but not limited to information indicating aspects of the validating peer nodes used to distribute key material to the child blockchain.

[0124] The system contract can handle the generation of new chains. In one embodiment, an authorized user calls the system contract by assembling a transaction that includes a call to the contract's "createChain" method based on parameters for creating a new chain, such as a unique identifier, the identity of the validating party, and a public key for sending encrypted messages to the validating party.

[0125] Reference again Figure 5E , at 554, a determination is made as to whether the user requesting creation of a child blockchain is trusted to pass key material to validating peer nodes of the child blockchain. This determination may be made, for example, by accessing certificates or trust assumption information associated with the requesting user. If the requesting user is trustworthy, then at 555, the user sends key material (e.g., one or both keys of a public key-private key pair) to each validating peer node assigned to the child blockchain. The private key in the pair may be different for different nodes and / or child blockchain users.

[0126] If the user requesting the creation of a child blockchain is not trusted to pass key material to the validating peer node assigned to the child blockchain, one of two approaches can be taken to create a new child blockchain to be committed.

[0127] At 556, the first method includes receiving a confirmation from a validating peer node assigned to the child blockchain that the transaction or request has been received through the blockchain network. At 557, when responses are received from a predetermined number of validating peer nodes assigned to the child blockchain, the child blockchain can be created and placed in an active state. The predetermined number can be all validating peer nodes assigned to the child blockchain, or it can be another number of these nodes.

[0128] At 558, the second method involves verifying a zero-knowledge proof of plain text equality in a message received from a validating peer node assigned to the child blockchain. In one embodiment, the zero-knowledge proof can be part of the transaction request. Once the zero-knowledge proof from the validating peer node is verified, at 557, the child blockchain can be created within the root blockchain network and placed in an active state.

[0129] In these and other embodiments described herein, although the created child blockchain may have different smart contracts and policies than the root blockchain and may be accessed by only a subset of the network's validating peer nodes, the same network processors, certificate authorities, processing platforms, and other processing resources (e.g., as shown in FIG. 1- Figure 4 ) can be used to execute transactions and otherwise manage all operations related to the child blockchain.

[0130] In addition to the foregoing features, the system contract controlling the generation of child blockchains may specify how the validating peer nodes assigned to the child blockchains agree on a new chain key. In one embodiment, this is performed in such a way that the user requesting the new child blockchain does not learn the chain secret (decryption) key. For example, activation of a new child blockchain may be enabled when a predetermined number of validating peer nodes assigned to the child blockchain submit valid responses or contributions to the key material. The predetermined number may be, for example, 2f+1 validating peer nodes out of 3f+1 validating peer nodes, where f corresponds to the number of Byzantine nodes.

[0131] In one or more embodiments, the blockchain network processor may append a block to a first blockchain in the network, which records that a child blockchain has been created. This operation may be performed according to a smart contract of the blockchain network associated with the first blockchain. The appended block may store or reference various types of information related to the child blockchain. This information may, for example, identify validating peer nodes of the child blockchain, but may exclude key material for the child blockchain because validating peer nodes in the network that are not assigned to a child blockchain are not allowed to access or perform any other transformations related to the child blockchain.

[0132] According to one example, a transaction may notify the validating peer nodes assigned to the new child blockchain of the requirement to agree on the chain key. In this case, each VP involved in the new chain may call a method exposed by the system contract (e.g., which may be accomplished by issuing a transaction).

[0133] An example of a system contract that may be used to control the creation of new child blockchains specifies the following operations.

[0134] 1) createChain(cID, {VPs}, {VP-msgs}) (creates a chain), where VP corresponds to a validating peer node assigned to a child blockchain, cID corresponds to an identifier of the child blockchain, and {VPs} / {VP-msgs} correspond to the set of VPs responsible for the child blockchain and the messages passed to them (e.g., encrypted key material).

[0135] 2) agreeChainKey(cID, VP-msg-rsp) (agree chain key), through which the VP can provide its response VP-msg-rsp about {VP-msgs}. If key agreement is required between child blockchain VPs, the validator (e.g., client, validating peer node, or both) can include its response or contribution in the VP-msg-rsp.

[0136] 3) commitChainKey(cID, VP-msg-cmt) (submit chain key), through which the VP can provide its response or contribution to the key agreement of the child blockchain, so that a new key can be established.

[0137] In one embodiment, the createChain operation may be accompanied by a call access control list that identifies the list of users authorized to create a sub-blockchain. The list may be specified by the blockchain network's system or smart contract. The agreeChainKey operation can only be called by the VP corresponding to the chain cID. For example, the commitChainKey operation may only be required when the validators agree on the key material for the sub-blockchain.

[0138] An example of a request to create a sub-blockchain may include the following fields: A transaction corresponding to the request may be signed by the user requesting the sub-blockchain.

[0139] A field that specifies the identifier (e.g., cID) of the child blockchain to be created

[0140] A field specifying a list of validators (e.g., validating peer nodes in a blockchain network, clients, or both) to be assigned to the child blockchain, e.g., {vi}i=1,m, where the public encryption key {pkvi}i=1,m

[0141] Field specifying a list of messages to validators of the child blockchain (optional)

[0142] The certificate and signature of the sub-blockchain requester

[0143] Examples for reaching key agreement between validators may include the following operation(s) when a request for a new child blockchain is received: request createChain(cID, {VPs}, {VP-msgs}) chain validator processes VP-msgs (etc.).

[0144] Two scenarios may occur in this situation.

[0145] First, the policy for the root blockchain may require that keys be provided by the creator of the child blockchain (e.g., the requesting user or a validating peer node). In this case, the message to the validating peer node may include the ciphertext of the key material (e.g., public and / or private) keys of the child blockchain. In one embodiment, each validator may only need to decrypt the ciphertext corresponding to that validator, and if the child blockchain was not created correctly, the "agreeChainKey" operation may be called with VP-msg-rsp set to "valid" or "invalid". In one example, assuming f Byzantine nodes and one malicious creator, 2f+1 responses are requested from a set of at least 3f+1 chain validating peer nodes.

[0146] In one or more embodiments, the policy of the root blockchain network may require that the validators of the child blockchains reach an agreement on the key. According to one example, for vi VP-msg-rsp, let it be VP-msg-rspi can be a submission to its contribution, such as VP-msg-rspi=Commit(contribi), where Commit is a correctly hidden and bound submission scheme, and where contribi<-hash(vi,nci). In the latter expression, a predetermined hash function can be selected, and nci can be a number randomly selected by vi from the correct group.

[0147] After 2f+1 responses from different validators of the child blockchain are registered to the blockchain network, the chain validator can "submit" its response or contribution to the chain key by calling commitChainKey(cID, VP-msg-cmt). In this expression, the VP-msg-cmt of the validator vi (denoted by VP-msg-cmti) corresponds to the ciphertext of the message Mi generated using the multi-cas encryption of the cID validator, such as VP-msg-cmti<-MultiEnc[{pkvi}i=1,m;re;Mi], where re is the randomness contributed in this multi-cas encryption, and Mi contains the following terms:

[0148] oVP-msg-rspi delivery value is turned on,

[0149] The preimage of ocontribi, such as nci.

[0150] o The randomness re used in this multi-cas encrypted ciphertext.

[0151] After receiving these items, each validator in {vi}i=1...m can evaluate the correctness of VP-msg-cmt. If the same message has been delivered to all validators of the child blockchain, the key material for the child blockchain can be calculated by frs f+1 valid "commitChainKey" responses appearing in the root blockchain, which can be, for example, a function nci of the randomness associated with each response. If a predetermined number (e.g., f+1 or more) of valid responses appear in the root blockchain (assuming there are 2f+1 or more chain validators), the chain is activated.

[0152] One type of encryption that can be used is ElGamal encryption. This is an asymmetric key encryption for public key encryption based on the Diffie-Hellman key exchange. ElGamal encryption in the context of one or more embodiments disclosed in this application can be performed as follows. Let G be a cyclic group of prime order q, where the generator is g. The ElGamal encryption scheme on G works as follows. The secret decryption key is a random exponent x in Z_q, and the public key is y=g^x. To encrypt a message m that is an element in G, a random number r can be selected in Z_q and the ciphertext C=(g^r,y^r*m) can be calculated. To decrypt the ciphertext C=(C_1,C_2), m=C_2 / C_1^x can be recovered.

[0153] According to the embodiments disclosed herein, there are several ways to use ElGamal encryption in a mode so that the randomness r is recovered during decryption. One example is the Fujisaki-Okamoto transform, which encrypts a message m by selecting a random group element s, computing r=H(s,m) and K=G(s) using hash functions H and G, and computing the ciphertext as C=(g^r,y^r*s,Enc(K,m)), where Enc is a symmetric encryption algorithm.

[0154] To decrypt the ciphertext C = (C_1, C_2, C_3), the value s = C_2 / C_1^x is calculated, m = Dec(G(s), C_3) is recovered, and a check is performed to determine if C_1 = g^H(s, m). If so, the decryptor returns m; otherwise, it rejects the ciphertext.

[0155] According to the embodiments disclosed herein, proof of equal discrete logarithms may be required. For example, this can be implemented as follows. Let g and h be two generators of group G, let x be a secret exponent, and let y = g^x and z = h^x. The prover who knows x can prove that y and z have equal discrete logarithms with respect to g and h (e.g., log_g(y) = log_h(z)), as follows. The prover selects a random number t from Z_q and calculates the proof (c, s) as c = H(g^t, h^t) and s = xc+t mod q, where H is a hash function. In order to verify the proof (c, s) about (g, h, y, z), the prover checks that c = H(g^s / y^c, h^s / z^c).

[0156] According to one or more embodiments, multiple encryption can be performed with randomness recovery. For example, this can be implemented as follows. In order to send the same secret key x to multiple recipients with public keys y_1,...,y_n, the sender can use ElGamal encryption with randomness recovery to encrypt x under each public key y_1. However, the same randomness r can be reused for each recipient. The ciphertext is therefore C=(C_0=g^r,C_1,...,C_n), and each recipient i can decrypt it by decrypting (C_0,C_i). After recovering r in this process, recipient i then checks that all recipients have received the same key x by checking C_j=y_j^r*m.

[0157] According to one or more embodiments, multiple encryption can be performed by proof of equal discrete logarithms. Alternatively, the sender of the key x can use the proof of equal discrete logarithms to show that it has encrypted the same key to all recipients. For example, this can be achieved in the following way. The sender selects a random number r from Z_q and calculates C_0=g^r, C_1=y_1^r*x,..., C_n=y_n^r*x and the following proof (c, s): for all i=1,...,n-1, the discrete logarithm of C_0 about g is equal to the logarithm C_i / C_{i+1} about y_i / y_{i+1}. More specifically, the sender can select a random number t from Z_q and calculate c=H(g^t,(y_1 / y_2)^t,...,(y_{n-1} / y_n)^t) and s=rc+t mod q.

[0158] To decrypt the ciphertext C = (C_0,C_1,...,C_n,c,s), the i-th receiver recovers x = C_i / C_0^{x_i} and verifies the proof of equal discrete logarithms by checking c = H(g^s / C_0^c,(y_1 / y_2)^t / (C_1 / C_2)^c,...,(y_{n-1} / y_n)^t / (C_{n-1} / C_n)^c).

[0159] Fig. 5F Another embodiment of a method 580 for triggering the creation of a child blockchain by a blockchain transaction in a root network is illustrated. The method 580 includes an operation at 581 for receiving a message or instruction to create a second (or child) blockchain in a network including a first (or root) blockchain. The message may be sent by a validating peer or a different entity, such as an administrator or other administrative agency, application, or device.

[0160] In one case, the message can be triggered by a predetermined action with respect to the root blockchain. For example, the message can be automatically generated by the network processor when a block of a particular type is appended to the root blockchain (e.g., as determined by the execution of a smart contract), when a particular number of blocks have been appended to the root blockchain, and / or when one or more other conditions associated with the root blockchain are executed. The message can be received by the network processor, the identity management infrastructure, or other network resources.

[0161] At 582, operations are performed to identify one or more validating peer nodes in the network as corresponding to the child blockchain. The validating peer nodes may correspond to a subset of the network nodes that have access to the root blockchain. The validating peer nodes may be identified by the same entity that provided the message or instruction to create the child blockchain, or may be done by a different entity, such as based on a received message or instruction.

[0162] At 583, operations are performed to identify one or more smart contracts or policy information that will be used to control the network processor to create a child blockchain, access a child blockchain or append a block to a child blockchain, and / or perform other features related to the management of the child blockchain. The smart contract can be stored in the network storage device along with other smart contracts, policy information, applications, and / or other network-related information and data. As with all embodiments disclosed herein, data for the root and child blockchains can be stored in one or more network storage areas, or even in off-chain storage devices.

[0163] At 584, operations are performed to confirm the credentials (e.g., trust assumptions, certificates, or other credentials) of the validating peer node for the child blockchain. In some embodiments, this operation may be omitted, for example, when the credentials of the peer node have already been confirmed in association with access to the root blockchain.

[0164] At 585, operations are performed to distribute different key keys to respective validating peer nodes assigned to the validating peer nodes of the child blockchain. The key key may be, for example, one key of a key pair (e.g., a private key or a secret key). In this case, the other (e.g., a public key) may have been sent to the validating peer nodes of the child blockchain, or may be sent together with the private key.

[0165] At 586, operations are performed to create a child blockchain. The child blockchain may store data related to or different from the data of the root blockchain. Only validating peer nodes that have been assigned to the child blockchain may access the child blockchain. At this point, the corresponding node may begin submitting requests for transactions according to the associated smart contract(s).

[0166] Fig. 6A An example system 600 is illustrated that includes a physical infrastructure 610 configured to perform various operations according to an example embodiment. Fig. 6A , the physical infrastructure 610 includes a module 612 and a module 614. The module 614 includes a blockchain 620 and a smart contract 630 (which may reside on the blockchain 620), which may perform any operation step 608 (in the module 612) included in any example embodiment. The step / operation 608 may include one or more embodiments described or depicted, and may represent output or information written or read from one or more smart contracts 630 and / or blockchain 620. The physical infrastructure 610, the module 612, and the module 614 may include one or more computers, servers, processors, memories, and / or wireless communication devices. In addition, the module 612 and the module 614 may be the same module.

[0167] Figure 6B An example system 640 is illustrated that is configured to perform various operations according to an example embodiment. Figure 6B, system 640 includes module 612 and module 614. Module 614 includes blockchain 620 and smart contract 630 (which may reside on blockchain 620), which may perform any operation step 608 (in module 612) included in any example embodiment. Step / operation 608 may include one or more embodiments described or depicted, and may represent output or information written or read from one or more smart contracts 630 and / or blockchain 620. Physical infrastructure 610, module 612, and module 614 may include one or more computers, servers, processors, memories, and / or wireless communication devices. In addition, module 612 and module 614 may be the same module.

[0168] Figure 6C An example smart contract configuration between contracting parties and an intermediary server configured to enforce smart contract terms on a blockchain is illustrated according to an example embodiment. Figure 6C , configuration 650 may represent a communication session, an asset transfer session, or a process or program driven by a smart contract 630 that explicitly identifies one or more user devices 652 and / or 656. The execution, operation, and results of the smart contract execution may be managed by a server 654. The content of the smart contract 630 may require digital signatures by one or more of the entities 652 and 656 that are parties to the smart contract transaction. The results of the smart contract execution may be written to the blockchain 620 as a blockchain transaction. The smart contract 630 resides on the blockchain 620, which may reside on one or more computers, servers, processors, memories, and / or wireless communication devices.

[0169] Fig.6D A system 660 including a blockchain is illustrated according to an example embodiment. Fig.6D In the example of , an application programming interface (API) gateway 662 provides a common interface for accessing blockchain logic (e.g., smart contracts 630 or other chaincodes) and data (e.g., distributed ledgers, etc.). In this example, the API gateway 662 is a common interface for executing transactions (calls, queries, etc.) on the blockchain by connecting one or more entities 652 and 656 to blockchain peers (i.e., servers 654). Here, the server 654 is a blockchain network peer component that maintains a copy of the world state and a distributed ledger, which allows clients 652 and 656 to query data about the world state and submit transactions to the blockchain network, where, depending on the smart contract 630 and the endorsement policy, the endorsing peer will run the smart contract 630.

[0170] The above embodiments may be implemented in hardware, in a computer program executed by a processor, in firmware, or in a combination thereof. The computer program may be embodied in a computer-readable medium such as a storage medium. For example, the computer program may reside in a random access memory ("RAM"), a flash memory, a read-only memory ("ROM"), an erasable programmable read-only memory ("EPROM"), an electrically erasable programmable read-only memory ("EEPROM"), a register, a hard disk, a removable disk, a compact disk read-only memory ("CD-ROM"), or any other form of storage medium known in the art.

[0171] An exemplary storage medium may be coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. In an alternative, the storage medium may be integrated with the processor. The processor and the storage medium may reside in an application specific integrated circuit ("ASIC"). In an alternative, the processor and the storage medium may reside as discrete components.

[0172] Fig. 7A illustrates a process 700 of adding a new block to a distributed ledger 730 according to an example embodiment, and Figure 7B The contents of a block 750 structure for a blockchain according to an example embodiment are illustrated. Fig. 7A , a client (not shown) can submit a transaction to blockchain nodes 721, 722, and / or 723. A client can be an instruction received from any source to enact an activity on blockchain 730. As an example, a client can be an application that acts on behalf of a requester (e.g., a device, a person, or an entity) to propose a transaction for a blockchain. Multiple blockchain peers (e.g., blockchain nodes 721, 722, and 723) can maintain the state of the blockchain network and a copy of the distributed ledger 730. Different types of blockchain nodes / peers can exist in the blockchain network, including endorsement peers that simulate and endorse transactions proposed by clients, and submission peers that confirm endorsements, verify transactions, and submit transactions to the distributed ledger 730. In this example, blockchain nodes 721, 722, and 723 can act as endorser nodes, submitter nodes, or both.

[0173] The distributed ledger 730 includes a blockchain 732 that stores immutable serialized records in blocks and a state database 734 (current world state) that maintains the current state of the blockchain 732. There can be one distributed ledger 730 per channel, and each peer maintains its own copy of the distributed ledger 730 for each channel of which it is a member. The blockchain 732 is a transaction log structured as hash-linked blocks, where each block contains a sequence of N transactions. A block may include various components, such as Figure 7BA link to a block can be generated by adding the hash of the previous block header to the block header of the current block ( Fig. 7A ). In this way, all transactions on blockchain 732 are ordered and cryptographically linked together to prevent tampering of blockchain data without breaking the hash link. In addition, due to the link, the latest block in blockchain 732 represents every transaction that came before it. Blockchain 732 can be stored on a peer-to-peer file system (local or attached storage device) that supports append-only blockchain workloads.

[0174] The current state of the distributed ledger 732 and blockchain 732 may be stored in a state database 734. Here, the current state data represents the latest values ​​of all keys ever included in the chain transaction log for blockchain 732. Chaincode calls execute transactions against the current state in the state database 734. In order to make these chaincode interactions very efficient, the latest values ​​of all keys are stored in the state database 734. The state database 734 may include an indexed view into the transaction log of blockchain 732, which may therefore be regenerated from the chain at any time. The state database 734 may be automatically restored upon peer initiation (or generated if necessary) before a transaction is accepted.

[0175] The endorsing node receives the transaction from the client and endorses the transaction based on the simulation results. The endorsing node holds the smart contract proposed by the simulated transaction. When the endorsing node endorses the transaction, the endorsing node creates a transaction endorsement, which is a signed response from the endorsing node to the client application indicating the endorsement of the simulated transaction. The method of endorsing the transaction depends on the endorsement policy that can be specified within the chaincode. An example of an endorsement policy is "a majority of endorsing peers must endorse the transaction". Different channels can have different endorsement policies. The client application forwards the endorsed transaction to the sorting service 710.

[0176] The ordering service 710 accepts endorsed transactions, orders them into blocks, and delivers these blocks to submission peers. For example, when a transaction threshold has been reached, a timer has expired, or other conditions, the ordering service 710 can initiate a new block. Fig. 7A In the example of , blockchain node 722 is a submitting peer that has received a new data block 750 for storage on blockchain 730.

[0177] The ordering service 710 may consist of a cluster of orderers. The ordering service 710 does not process transactions, smart contracts, or maintain a shared ledger. Instead, the ordering service 710 may accept endorsed transactions and specify the order in which those transactions are delivered to the distributed ledger 730. The architecture of the blockchain network may be designed so that such specific implementations of "ordering" (e.g., Solo, Kafka, BFT, etc.) become pluggable components.

[0178] Transactions are written to the distributed ledger 730 in a consistent order. The order of transactions is established to ensure that updates to the state database 734 are valid when they are submitted to the network. Unlike cryptocurrency blockchain systems where ordering occurs by solving cryptographic puzzles or mining, in this example, the parties to the distributed ledger 730 can choose the ordering mechanism that best suits the network.

[0179] When the ordering service 710 initializes a new block 750, the new block 750 may be broadcast to submission peers (e.g., blockchain nodes 721, 722, and 723). In response, each submission peer validates the transactions within the new block 750 by checking to ensure that the read set and the write set still match the current world state in the state database 734. Specifically, the submission peer may determine whether the read data that existed when the endorser simulated the transaction is the same as the current world state in the state database 734. When the submission peer validates the transaction, the transaction is written to the blockchain 732 on the distributed ledger 730, and the state database 734 is updated with the write data from the read-write set. If the transaction fails, that is, if the submission peer finds that the read-write set does not match the current world state in the state database 734, the transaction that was ordered into the block will still be included in the block, but it will be marked as invalid, and the state database 734 will not be updated.

[0180] refer to Figure 7B , a block 750 (also referred to as a data block) stored on a blockchain 732 of a distributed ledger 730 may include multiple data segments, such as a block header 760, block data 770, and block metadata 780. It should be understood that the various blocks and their contents depicted, such as Figure 7B The block 750 and its contents shown in FIG. 7 are for example purposes only and are not meant to limit the scope of the example embodiments. In some cases, both the block header 760 and the block metadata 780 may be smaller than the block data 770 storing the transaction data, but this is not required. The block 750 may store transaction information for N transactions (e.g., 100, 500, 1000, 2000, 3000, etc.) within the block data 770. The block 750 may also include within the block header 760 (e.g., within the Fig. 7AIn particular, the block header 760 may include a hash of a previous block header. The block header 760 may also include a unique block number, a hash of the block data 770 of the current block 750, and the like. The block numbers of the blocks 750 may be unique and assigned in increments / sequences starting from zero. The first block in the blockchain may be referred to as a genesis block, which includes information about the blockchain, its members, data stored therein, and the like.

[0181] The block data 770 may store transaction information for each transaction recorded within the block 750. For example, the transaction data may include one or more of the transaction's type, version, timestamp, channel ID of the distributed ledger 730, transaction ID, epoch, payload visibility, chaincode path (deploy TX), chaincode name, chaincode version, inputs (chaincode and function), client (creator) identity (such as public key) and certificate, client's signature, endorser's identity, endorser signature, proposed hash, chaincode event, response status, namespace, read set (keys and versions read by the transaction, etc.), write set (list of keys and values, etc.), start key, end key, list of keys, Merkle tree query digest, etc. The transaction data may be stored for each of the N transactions.

[0182] In some embodiments, block data 770 may also store data 772 that adds additional information to the hash-linked blockchain in blockchain 732. Thus, data 772 may be stored in an immutable log of blocks on distributed ledger 730. Some benefits of storing such data 772 are reflected in the various embodiments disclosed and described herein.

[0183] The block metadata 780 may store multiple fields of metadata (e.g., as a byte array, etc.). The metadata fields may include a signature about the creation of the block, a reference to the last configuration block, a transaction filter that identifies valid and invalid transactions within the block, the last offset duration of the sorting service that sorts the block, etc. The signature, last configuration block, and sorter metadata may be added by the sorting service 710. At the same time, the submitter of the block (such as the blockchain node 722) may add validity / invalidity information based on endorsement policies, confirmation of read / write sets, etc. The transaction filter may include a byte array of size equal to the number of transactions in the block data 770 and a verification code that identifies whether the transaction is valid / invalid.

[0184] Figure 8 It is not intended to imply any limitation on the scope of use or functionality of embodiments of the applications described herein. Regardless, computing node 800 is capable of implementing and / or performing any of the functionality set forth above.

[0185] In computing node 800, there is a computer system / server 802, which can operate with many other general or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations that may be suitable for use with computer system / server 802 include, but are not limited to, personal computer systems, server computer systems, thin clients, fat clients, handheld or portable devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.

[0186] Computer system / server 802 may be described in the general context of computer system executable instructions, such as program modules, executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform specific tasks or implement specific abstract data types. Computer system / server 802 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in local and remote computer system storage media including memory storage devices.

[0187] like Figure 8 As shown in FIG. 8 , a computer system / server 802 in a cloud computing node 800 is shown in the form of a general-purpose computing device. Components of the computer system / server 802 may include, but are not limited to, one or more processors or processing units 804, a system memory 806, and a bus that couples various system components including the system memory 806 to the processor 804.

[0188] Bus refers to any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0189] The computer system / server 802 typically includes various computer system readable media. Such media can be any available media accessible to the computer system / server 802, and it includes volatile and non-volatile media, removable and non-removable media. In one embodiment, the system memory 806 implements the flow charts of other figures. The system memory 806 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 810 and / or cache memory 812. The computer system / server 802 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 814 may be provided for reading from and writing to non-removable non-volatile magnetic media (not shown and generally referred to as a "hard drive"). Although not shown, a disk drive for reading from and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical media) may be provided. In this case, each may be connected to the bus via one or more data medium interfaces. As will be further depicted and described below, the memory 806 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present application.

[0190] By way of example and not limitation, a program / utility 816 having a set (at least one) of program modules 818 may be stored in memory 806, as may an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may include an implementation of a networking environment. Program modules 818 generally perform the functions and / or methods of various embodiments of the present application as described herein.

[0191] As will be appreciated by those skilled in the art, various aspects of the present application may be embodied as a system, method or computer program product. Therefore, various aspects of the present application may take the following forms: a complete hardware embodiment, a complete software embodiment (including firmware, resident software, microcode, etc.) or a form of an embodiment combining software and hardware aspects, which aspects may generally be referred to as "circuit", "module" or "system" herein. In addition, various aspects of the present application may take the form of a computer program product embodied in one or more computer-readable media on which a computer-readable program code is embodied.

[0192] The computer system / server 802 may also communicate with one or more external devices 820 such as a keyboard, pointing device, display 822, etc.; one or more devices that enable a user to interact with the computer system / server 802; and / or any device that enables the computer system / server 802 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communications may occur via an I / O interface 824. However, the computer system / server 802 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet), via a network adapter 826. As depicted, the network adapter 826 communicates with other components of the computer system / server 802 via a bus. It should be understood that, although not shown, other hardware and / or software components may be used in conjunction with the computer system / server 802. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0193] Although illustrated in the drawings and described in the foregoing detailed description, one or more exemplary embodiments of the system, method and non-transient computer-readable medium, it should be understood that the present application is not limited to the disclosed embodiments, but can be many rearrangements, modifications and replacements as set forth and defined in the appended claims. For example, the capabilities of the systems of the various drawings can be performed by one or more of the modules or components described herein or in a distributed architecture, and can include a transmitter, a receiver or a transmitter and a receiver pair. For example, all or part of the functionality performed by an individual module can be performed by one or more of these modules. In addition, the functionality described herein can be performed inside or outside a module or component, at various times and in relation to various events. Moreover, the information sent between various modules can be sent between modules via one or more of the following: data network, Internet, voice network, Internet protocol network, wireless device, wired device and / or via multiple protocols. Moreover, messages sent or received by any module can be sent or received via one or more other modules and / or directly.

[0194] Those skilled in the art will appreciate that a "system" may be embodied as a personal computer, a server, a console, a personal digital assistant (PDA), a cell phone, a tablet computing device, a smart phone, or any other suitable computing device or combination of devices. Presenting the above functions as being performed by a "system" is not intended to limit the scope of the present application in any way, but is intended to provide an example of many embodiments. In fact, the methods, systems, and apparatus disclosed herein may be implemented in local and distributed forms consistent with computing technology.

[0195] It should be noted that some of the system features described in this specification have been presented as modules in order to more specifically emphasize their implementation independence. For example, a module can be implemented as a hardware circuit that includes a custom very large scale integrated circuit (VLSI) circuit or gate array, an off-the-shelf semiconductor such as a logic chip, a transistor, or other discrete components. A module can also be implemented in a programmable hardware device such as a field programmable gate array, a programmable array logic, a programmable logic device, a graphics processing unit, etc.

[0196] Modules may also be implemented at least in part with software to be performed by various types of processors. The identified executable code unit may for example include one or more physical or logical blocks of computer instructions, which may for example be organized as objects, processes or functions. However, the executable file of the identified module need not be physically located together, but may include different instructions stored in different locations, which include the module and realize the purpose of the module when these instructions are logically combined. In addition, modules may be stored on a computer-readable medium, which may for example be a hard drive, a flash memory device, a random access memory (RAM), a magnetic tape or any other such medium used to store data.

[0197] In practice, a module of executable code may be a single instruction or many instructions, and may even be distributed across several different code segments, between different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within a module, and may be embodied in any suitable form and may be organized within any suitable data structure type. The operational data may be collected as a single data set, or may be distributed across different locations including different storage devices, and may exist at least in part only as an electronic signal on a system or network.

[0198] It will be readily understood that the components of the present application may be arranged and designed in a variety of different configurations, as generally described and illustrated in the drawings herein. Therefore, the detailed description of the embodiments is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application.

[0199] Those skilled in the art will readily appreciate that the above content may be practiced with steps in a different order and / or with hardware elements in a configuration different from that disclosed. Therefore, although the present application has been described based on these preferred embodiments, it will be apparent to those skilled in the art that certain modifications, variations, and alternative constructions will be apparent.

[0200] Although preferred embodiments of the present application have been described, it should be understood that the described embodiments are merely exemplary and that the scope of the present application is limited solely by the appended claims when considering the full range of equivalents and modifications of the claims (e.g., protocols, hardware devices, software platforms, etc.).

Claims

1. A system comprising: A first interface for accessing a ledger of a first blockchain in a blockchain network, the first blockchain including or referencing first data, the first data to be accessed by a plurality of validating peer nodes; a second interface for accessing a ledger of a second blockchain in the blockchain network, the second blockchain including or referencing second data, the second data being accessible to a subset of the plurality of validating peer nodes having access to the first blockchain; as well as A processor for: creating the second blockchain based on a message from a validating peer node of the subset of the plurality of validating peer nodes, the message including information identifying the subset of the plurality of validating peer nodes; as well as Sending one or more key secrets to the subset of the plurality of validating peer nodes, the one or more key secrets being used to allow the subset of the plurality of validating peer nodes to access the second data in the second blockchain or transmit information to append a block to the second blockchain.

2. The system of claim 1 , wherein the processor is configured to create the second blockchain when a predetermined number of the validating peer nodes in the subset authorize the creation of the second blockchain.

3. The system of claim 1 , wherein the processor is configured to create the second blockchain based on instructions in a smart contract.

4. The system of claim 1, wherein the processor is to send the one or more keys in a certificate sent to each of the verifying peer nodes in the subset.

5. The system of claim 1 , wherein the processor is configured to exclude validating peer nodes of the network that are not in the subset from accessing the second blockchain.

6. A method comprising: Receiving a request to create a second blockchain in a network including a first blockchain, the first blockchain being accessible to a plurality of validating peer nodes in the network; sending a message to one or more validating peer nodes that are a subset of the plurality of validating peer nodes, the message requesting authorization for the second blockchain; analyzing responses to the message from a subset of the plurality of authentication peer nodes; as well as Based on the analyzed response, creation of the second blockchain is authorized.

7. The method of claim 6, wherein the request includes information identifying the subset of the plurality of validating peer nodes of the network.

8. The method of claim 6, wherein the request includes a reference to a smart contract for the second blockchain.

9. The method of claim 8, wherein the smart contract includes instructions to create the second blockchain.

10. The method of claim 9, wherein the smart contract includes instructions to submit a transaction to the second blockchain.

11. The method of claim 6, wherein the request includes keying material to be used by a subset of the plurality of validating peer nodes to transmit or receive information or messages for the second blockchain.

12. The method according to claim 11, further comprising: transmitting different private keys to corresponding verification peer nodes in the subset, Wherein when the subset of the plurality of validating peer nodes submits a transaction to the second blockchain, the private key is to be used together with the public key in the key material.

13. The method according to claim 12, further comprising: Preventing access to the second blockchain by validating peer nodes in the network that are not included in the subset of the plurality of validating peer nodes.

14. The method of claim 13, wherein preventing access comprises: Submission of keys is denied to the verifying peer nodes in the network that are not included in the subset of the plurality of verifying peer nodes.

15. The method according to claim 6, further comprising: transmitting a certificate to each verifying peer node in the subset of the plurality of verifying peer nodes, wherein the certificate comprises keying material to be used by the subset of the plurality of validating peer nodes to transmit or receive information or messages for the second blockchain.

16. The method according to claim 6, wherein: analyzing the response comprises determining a number of the subset of the plurality of validating peer nodes that authorize creation of the second blockchain, and Authorizing creation of the second blockchain includes creating the second blockchain when the subset of a predetermined number of the plurality of validating peer nodes authorizes creation of the second blockchain.

17. The method of claim 6, wherein: The first blockchain stores or references first data; and The second blockchain stores or references second data different from the first data.

18. A non-transitory computer readable medium storing instructions which, when executed by a processor, cause the processor to: Receiving a request to create a second blockchain in a network including a first blockchain, the first blockchain being accessible to a plurality of validating peer nodes in the network; Sending a message to one or more validating peer nodes that are a subset of the plurality of validating peer nodes, the message being used to request authorization for the second blockchain; analyzing responses to the message from a subset of the plurality of authentication peer nodes; as well as Based on the analyzed response, creation of the second blockchain is authorized.

19. The computer-readable medium of claim 18, wherein the request includes information identifying a subset of the plurality of authenticating peer nodes of the network.

20. The computer-readable medium of claim 18, wherein the request comprises a reference to a smart contract comprising instructions to create the second blockchain.

21. A computer program product comprising a computer readable storage medium having program instructions embodied therein, the program instructions being executable by a computing device to cause the computing device to perform the method steps of the method according to any one of claims 6 to 17.

22. A system comprising modules, each of which is configured to perform each step of the method according to any one of claims 6 to 17.