Implementing a marketplace for risk-assessed smart contract issuers and execution providers on the blockchain
By conducting risk assessment and reputation management for smart contract issuers and executors in the blockchain, the problem of insufficient reputation assessment during smart contract execution is solved, the identification and risk management of potential vulnerabilities are realized, and the system security is improved. .
Patent Information
- Application Number
- CN202010825278.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-29
- Filing Date
- 2020-08-17
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-08-17
AI Technical Summary
The existing blockchain system fails to effectively assess and manage the reputation of the issuer and executor of smart contracts during the execution of smart contracts, making it difficult to identify and respond to potential vulnerabilities and attack risks in a timely manner.
By using multiple processors in the blockchain to provide risk assessments for smart contract issuers and executors, using recursive call attack vulnerabilities to conduct risk assessments, and establishing a market matching mechanism based on reputation budgets and risk assessment values to ensure the security of smart contracts implement.
It effectively reduces the risks of smart contracts in the blockchain, improves the security and transparency of the system, ensures reputation and risk management during the execution of smart contracts, and prevents potential attacks and vulnerabilities.
Smart Images

Figure CN112446581B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates generally to computing systems and, more particularly, to various embodiments for implementing a marketplace for risk-assessed smart contract issuers and execution providers in a blockchain via a processor. Background Art
[0002] In today's society, consumers, companies / business people, educators, and others use various computing network systems with increasing frequency in various environments. Computer systems can be found in the workplace, at home, or at school. Computer systems may include data storage systems or disk storage systems for processing and storing data. In recent years, both software and hardware technology have experienced amazing progress. With the help of new technologies, more and more functions have been added and greater convenience has been provided for the use of these computing systems. Summary of the invention
[0003] Various embodiments are provided for implementing a market for risk-assessed smart contract issuers and execution providers in a blockchain using one or more processors. In one embodiment, by way of example only, a method is provided for reducing the risk of smart contracts in a blockchain again through a processor. A smart contract published to an auxiliary blockchain by one or more blockchain nodes and accepted by a primary blockchain can be executed based on the reputation of both the one or more blockchain nodes and the one or more execution nodes after a risk assessment of a recursive call attack vulnerability of the smart contract. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] In order to readily understand the advantages of the present invention, a more particular description of the invention briefly described above will be presented by reference to specific embodiments shown in the accompanying drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered limiting of the scope of the invention, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:
[0005] Figure 1 is a block diagram depicting an exemplary computing node according to an embodiment of the present invention;
[0006] Figure 2 is an additional block diagram depicting an exemplary cloud computing environment according to an embodiment of the present invention;
[0007] Figure 3 is an additional block diagram depicting the abstract model layers according to an embodiment of the present invention;
[0008] Figure 4A-4B are additional block diagrams depicting exemplary functional relationships and operations between various aspects of the present invention;
[0009] Figure 5is a block diagram depicting additional exemplary operations for performing risk analysis on smart contract issuers and execution providers in a blockchain by a processor, also wherein aspects of the present invention may be implemented;
[0010] Figure 6 is a block diagram depicting additional exemplary operations for performing market matching in a blockchain by a processor to execute a smart contract, also wherein aspects of the present invention may be implemented; and
[0011] Figure 7 is an additional flow chart depicting an exemplary method for implementing, by a processor, a marketplace for smart contract issuers and execution providers for risk assessments in a blockchain, again wherein aspects of the present invention may be implemented. DETAILED DESCRIPTION
[0012] A blockchain is a distributed database that can be used to maintain a transaction ledger. A transaction ledger can represent an ordered set of transactions that have been verified or confirmed within a system before a specific point in time. The transaction ledger can include a growing list of data records, where each data record can include data related to one transaction. In addition, encryption and other security measures can be used to protect the transaction ledger from tampering and revision. A blockchain can include multiple blocks, each of which holds one or more individual transactions or data records. In addition, each block can contain a timestamp and a link to the previous block. A blockchain network can be used, and enabled users can be allowed to connect to the network, send new transactions to the blockchain, verify transactions, and / or create new blocks.
[0013] Furthermore, the blockchain database maintains a continuously growing list of data records and is formed by blocks of data records that are linked together using hashes. For example, each time a new block is added to the blockchain, the new block contains the hash of the previous block. In this way, each additional block creates additional security for the validity of the entire blockchain. Each block records and confirms the order and time of transactions such as smart contracts when it is created and / or executed. That is, smart contracts provide data storage within blockchain transactions and can also be automatically executed when predetermined terms and conditions are met.
[0014] A subset of blockchain platforms is a Turing-complete system that allows the storage of assets that can be managed using application agents (e.g., "software agents") encoded on the blockchain. On the one hand, an "asset" or "blockchain asset" is a type of digital asset or cryptocurrency that sometimes represents a share of a particular project or company. This means that the assets used in this article can represent any digital entity that can be transferred immediately, such as, for example, a cryptocurrency or other digital value. The number and value of assets in the blockchain itself are modified by calling and executing application agents. Thus, for example, an asset containing a cryptocurrency is enabled to know the cryptocurrency value, thereby knowing the increase or decrease of the cryptocurrency value under the combined action of multiple heterogeneous software agents. If the application agent contains a recursive function with exhaustion or exaggeration of skills / assets, then the application agent can be used to generate a recursive call attack, which, if unchecked, will result in the leakage of assets.
[0015] On one hand, a risk analysis process is needed to detect vulnerabilities found within smart contracts and to track smart contracts through the use of blockchain. At the same time, the requirement for high transaction throughput in blockchain systems has led to the development of decentralized market-driven smart contract execution delegation. These markets currently do not take into account the reputation of either the smart contract issuer or the smart contract execution peer over time with respect to potential vulnerabilities associated with the smart contract.
[0016] Therefore, various embodiments described herein provide a solution for implementing and / or providing a market for risk-assessed smart contract issuers and execution providers in a blockchain using one or more processors provided. On the one hand, a smart contract issued by one or more blockchain nodes (e.g., issuer nodes) to a second blockchain (e.g., a risk blockchain) and accepted by a main blockchain (e.g., an execution blockchain) can be executed based on the reputation of both the one or more blockchain nodes and the one or more execution nodes after a risk assessment of the recursive call attack vulnerability of the smart contract.
[0017] On the one hand, the mechanism of the illustrated embodiment utilizes a smart contract execution delegation blockchain ecosystem to provide a smart contract risk assessment. A market can be defined and / or provided for buying and selling smart contract execution services based on the assessed risk of the smart contract to the blockchain ecosystem. On the one hand, the present invention can track the reputation of both the execution node and the smart contract issuer based on the risk that the execution node and the smart contract issuer are currently / previously exposed to the blockchain ecosystem. It should be noted that both the execution node and the smart contract issuer have a reputation budget. For the issuer node (e.g., the smart contract issuer), the reputation budget enables the risk aggregation module by using the issuer entry function ("IEF") to allow the issuer node to initiate the process first (i.e., it prevents potential malicious issuer nodes from flooding the system with inappropriate / erroneous requests).
[0018] On the one hand, the risk of recursive call attacks in Turing-complete blockchains can be assessed. The likelihood of exhausting assets (e.g., smart contracts) through software agents on Turing-complete blockchains can be assessed and measured. Profiling tools, time window calculations, and risk assessments can be used in combination to provide recommendations on the likelihood of exhausting assets on Turing-complete blockchains via the exploitation of recursive functions.
[0019] In another aspect, the present invention provides detection of recursive call attacks, such as, for example, recursive call attacks in an asset management environment with one or more application agents. The asset value stored on the blockchain can be used to determine the time window and the risk of re-entry calls can be assessed.
[0020] It should be noted that, as used herein, an "issuer node" (e.g., a blockchain node) can issue smart contracts to be executed by a blockchain network. An "executor node" or "execution node" (e.g., an execution blockchain or a main blockchain) can execute smart contracts submitted by an issuer node. A "risk analyzer node" can perform risk analysis on a published smart contract.
[0021] In one aspect, the present invention may provide a blockchain network. The blockchain network may include one or more of the following. A risk blockchain ("BC") may record the risk assessment output of a risk analyzer node. An execution blockchain ("BC") may record smart contract execution bids between (one or more) issuer nodes and (one or more) executor nodes. A "risk aggregator module" ("RAM") may aggregate risk analysis reports from risk analyzer nodes. An execution bid matching module ("EBMM") may use an arbitrary function to match an executor node with each issuer node request. A "network attack registry oracle module" may be an "oracle that provides a list of network attacks that have previously occurred on an execution BC network."
[0022] In one aspect, as used herein, an analyzer risk assessment value ("AREV") may be a value corresponding to a risk associated with a smart contract. A general risk assessment value ("GREV") may be a summary of various AREV values.
[0023] A reputation budget ("RB" or "reputation") may be a value, such as, for example, a percentage representing the reputation of the issuer node and / or a value between [0,1]. RB may be initialized to a selected value, such as, for example, 0.5.
[0024] An Issuer Requested Reputation Reduction ("IR_RD") may be a temporary reduction in the RB of an issuer node by an arbitrary amount determined by the Risk BC Network. A Risk Assessment Reputation Reduction ("RA_RD") may be a temporary reduction in the RB of an issuer node by an amount based on the GREV value associated with a smart contract issued by it. An Execution Risk Reputation Reduction ("ER_RD") may be a temporary reduction in the RB by an amount based on the GREV value associated with a smart contract issued by it. A Responsible Issuer Reputation Increase ("RI_RI") may be a permanent fixed increase in the RB of an issuer node. An Execution Cashed Reputation Increase ("EH_RI") may be a permanent fixed increase in the RB of an Executor node.
[0025] Additionally, as used herein, an Issuer Entry Function ("IEF") is a function that determines whether an issuer node can initiate a request for a risky BC. The IEF function takes into account various parameters (e.g., reputational risk of the issuer node, duplication risk, any lag time since the last request, etc.). A Bid Matching Function ("BMF") can be a function that determines the optimal / best bid for a given execution ask.
[0026] The Analyzer Risk Assessment Value ("AREV") can be a number generated by a risk analyzer node that describes the risk associated with a smart contract. A risk assessment request ("RAR") can be recorded on the risk BC by the risk aggregator module / component on behalf of the issuer node. An execution request can be recorded on the execution bid BC by the execution bid matching module. The issuer node can issue an "execution query". The execution query can include one or more parameters in which the smart contract should be executed (e.g., latency, quality of service "QoS", etc.). The execution bid can be issued by the executor node at the price they are willing to honor the execution query. The operating time window ("OTW") can be an arbitrary length of time, within which the smart contract issuer node or executor node will be responsible if any attack occurs.
[0027] It should be noted that various mathematical operations or functions that may involve one or more mathematical operations may be used to perform one or more calculations (e.g., using addition, subtraction, division, multiplication, standard deviation, mean, average, percentage, using statistical models of statistical distributions, solving differential equations or partial differential equations analytically or computationally by finding minimum, maximum or similar thresholds of combined variables, etc.).
[0028] In general, "optimal", "appropriate" and / or "optimize" may be used interchangeably herein and refer to and / or be defined as "maximizing", "minimizing" or achieving one or more specific targets, goals, objectives or intentions. "Optimal", "appropriate" and / or "optimize" may also refer to maximizing benefit to a user (e.g., maximizing health status / patient profile). "Optimal", "appropriate" and / or "optimize" may also refer to making the most efficient or functional use of a situation, opportunity or resource.
[0029] Furthermore, "best," "appropriate," and / or "optimized" may not necessarily refer to an optimal solution or result, but may refer to a solution or result that is "good enough," for example, for a particular application. In some embodiments, the goal is to suggest an "optimal" combination of parts / items / defined objects, but there may be a variety of factors that may cause alternative suggestions for combinations of parts / items / defined objects to produce better results. Thus, some changes in various factors may result in a jump from one min / max to another. In either case, the resulting suggestion for a combination of parts of an optimal / best performer node may be determined by any "bid matching function" that is considered "good enough," "substantially optimal," and / or "sufficiently good." In this document, the terms "best," "appropriate," and / or "optimized" may also refer to such results based on a minimum (or maximum, depending on the parameters considered in the optimization problem) value for suggesting a combination of optimal / best performer nodes.
[0030] On the other hand, the terms "optimize" and / or "optimizing" may refer to operations performed to obtain improved results (such as reduced execution costs or increased resource utilization), regardless of whether the optimal result is actually achieved. Similarly, the term "optimization" may refer to components used to perform such improved operations, and the term "optimized" may be used to describe the results of such improved operations.
[0031] In addition, as used herein, computing systems may include large-scale computing referred to as "cloud computing," in which resources may interact and / or be accessed via a communication system, such as a computer network. Resources may be simulations and / or emulations of software renderings of computing devices, storage devices, applications, and / or other computer-related devices and / or services running on one or more computing devices, such as servers. For example, multiple servers may communicate and / or share information that may expand and / or contract across servers, depending on the amount of processing power, storage space, and / or other computing resources required to complete a requested task. The word "cloud" implies the cloud-shaped appearance of an interconnection diagram between computing devices, computer networks, and / or other computer-related devices that interact in such an arrangement.
[0032] It should be noted that one or more computations or calculations may be performed using various mathematical operations or functions that may involve one or more mathematical operations (e.g., using addition, subtraction, division, multiplication, standard deviation, mean, average, percentages, using statistical models of statistical distributions, solving differential equations or partial differential equations analytically or computationally by finding minimum, maximum or similar thresholds of combined variables, etc.).
[0033] Other examples of various aspects of the illustrated embodiments and corresponding benefits are further described herein.
[0034] First, it should be understood that although the present disclosure includes a detailed description of cloud computing, the implementation of the technical solutions recorded therein is not limited to cloud computing environments and / or computing systems associated with one or more vehicles, but can be implemented in combination with any other type of computing environment now known or later developed.
[0035] Cloud computing is a service delivery model for convenient, on-demand network access to a shared pool of configurable computing resources. Configurable computing resources are resources that can be quickly deployed and released with minimal management cost or interaction with the service provider, such as networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services. This cloud model can include at least five characteristics, at least three service models, and at least four deployment models.
[0036] Features include:
[0037] On-demand self-service: Cloud consumers can unilaterally and automatically deploy computing capabilities such as server time and network storage on demand without human interaction with the service provider.
[0038] Broad network access: Computing power can be accessed over the network through standard mechanisms that facilitate the use of the cloud through different types of thin-client or thick-client platforms (e.g., mobile phones, laptops, personal digital assistants (PDAs)).
[0039] Resource pool: The computing resources of the provider are grouped into resource pools and serve multiple consumers through a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated on demand. Generally, consumers cannot control or even know the exact location of the provided resources, but can specify the location (such as country, state or data center) at a higher level of abstraction, so it is location-independent.
[0040] Rapid elasticity: The ability to quickly and elastically (sometimes automatically) deploy computing power to scale up quickly, and quickly release it to scale down quickly. To consumers, the computing power available for deployment often appears to be unlimited, and any amount of computing power can be accessed at any time.
[0041] Measurable services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both service providers and consumers.
[0042] The service model is as follows:
[0043] Software as a Service (SaaS): The capability provided to consumers is to use the provider's applications running on a cloud infrastructure. Applications can be accessed from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). Aside from limited user-specific application configuration settings, consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems, storage, or even individual application capabilities.
[0044] Platform as a Service (PaaS): The capability provided to consumers is to deploy applications created or acquired by consumers on the cloud infrastructure, which are created using programming languages and tools supported by the provider. Consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems or storage, but have control over the applications they deploy and may also have control over the configuration of the application hosting environment.
[0045] Infrastructure as a Service (IaaS): The capabilities provided to consumers are processing, storage, network, and other basic computing resources on which consumers can deploy and run arbitrary software including operating systems and applications. Consumers neither manage nor control the underlying cloud infrastructure, but have control over the operating system, storage, and applications they deploy, and may have limited control over selected network components (such as host firewalls).
[0046] The deployment model is as follows:
[0047] Private Cloud: Cloud infrastructure is run solely for an organization. The cloud infrastructure can be managed by the organization or a third party and can exist inside or outside the organization.
[0048] Community Cloud: A cloud infrastructure is shared by several organizations and supports a specific community with common interests (e.g., mission, security requirements, policies, and compliance considerations). A community cloud can be managed by multiple organizations within the community or by a third party and can exist inside or outside the community.
[0049] Public cloud: Cloud infrastructure is provided to the public or to large industry groups and is owned by an organization that sells cloud services.
[0050] Hybrid cloud: A cloud infrastructure consisting of two or more clouds (private, community or public) in a deployment model that remain distinct entities but are bound together by standardized or proprietary technologies (such as cloud burst sharing for load balancing between clouds) that enable data and application portability.
[0051] The cloud computing environment is service-oriented, with characteristics centered on statelessness, low coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure that includes a network of interconnected nodes.
[0052] Reference now Figure 1 , which shows an example of a cloud computing node. Figure 1 The cloud computing node 10 shown is only an example of a suitable cloud computing node and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. In short, the cloud computing node 10 can be used to implement and / or perform any of the functions described above.
[0053] The cloud computing node 10 has a computer system / server 12, which can operate with many other general or special computing system environments or configurations. As is well known, examples of computing systems, environments and / or configurations suitable for operating with the computer system / server 12 include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0054] Computer system / server 12 may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc. that perform specific tasks or implement specific abstract data types. Computer system / server 12 may be implemented in a distributed cloud computing environment where remote processing devices linked through a communication network perform tasks. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
[0055] like Figure 1As shown, the computer system / server 12 in the cloud computing node 10 is presented in the form of a general-purpose computing device. The components of the computer system / server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0056] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0057] Computer system / server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system / server 12, including volatile and nonvolatile media, removable and non-removable media.
[0058] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer system / server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 1 not shown, usually called a "hard drive"). Although Figure 1 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0059] A program / utility 40 having a set (at least one) of program modules 42 may be stored in the system memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0060] The computer system / server 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer system / server 12, and / or any device that enables the computer system / server 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the computer system / server 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer system / server 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may operate with the computer system / server 12, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0061] Reference now Figure 2 , in which an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which a local computing device used by a cloud computing consumer can communicate, and the local computing device can be, for example, a personal digital assistant (PDA) or a mobile phone 54A, a desktop computer 54B, a laptop computer 54C and / or an automobile computer system 54N. The cloud computing nodes 10 can communicate with each other. The cloud computing nodes 10 can be physically or virtually grouped in one or more networks including but not limited to private clouds, community clouds, public clouds or hybrid clouds, or a combination thereof as described above (not shown in the figure). In this way, cloud consumers can request infrastructure as a service (IaaS), platform as a service (PaaS) and / or software as a service (SaaS) provided by the cloud computing environment 50 without having to maintain resources on local computing devices. It should be understood that Figure 2 The various types of computing devices 54A-N shown are merely illustrative, and the cloud computing node 10 and the cloud computing environment 50 may communicate with any type of computing device on any type of network and / or network-addressable connection (eg, using a web browser).
[0062] Reference now Figure 3 , which shows a cloud computing environment 50 ( Figure 2 ) provides a set of functional abstraction layers. First of all, it should be understood that Figure 3 The components, layers, and functions shown are only exemplary and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the following layers and corresponding functions are provided:
[0063] The device layer 55 includes physical and / or virtual devices that embed and / or have independent electronics, sensors, actuators, and other objects to perform various tasks in the cloud computing environment 50. Each device in the device layer 55 combines networking capabilities with other functional abstraction layers so that information obtained from the device can be provided to the layer, and / or information from other abstraction layers can be provided to the device. In one embodiment, the various devices including the device layer 55 can be combined with a network of entities collectively referred to as the "Internet of Things" (IoT). As will be appreciated by those of ordinary skill in the art, such a network of entities allows for the intercommunication, collection, and distribution of data to achieve a variety of purposes.
[0064] The device layer 55 shown includes sensors 52, actuators 53, a "learning" thermostat 56 with integrated processing, sensor and networking electronics, a camera 57, a controllable household outlet / receptacle 58, and a controllable electrical switch 59, as shown. Other possible devices may include, but are not limited to, various additional sensor devices, networking devices, electronic devices (such as remote control devices), additional actuator devices, so-called "smart" appliances such as refrigerators or washers / dryers, and a wide variety of other possible interconnected objects.
[0065] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include: host 61; server 62 based on RISC (Reduced Instruction Set Computer) architecture; server 63; blade server 64; storage device 65; network and network components 66. Examples of software components include: network application server software 67 and database software 68.
[0066] The virtualization layer 70 provides an abstraction layer that can provide examples of the following virtual entities: virtual servers 71 , virtual storage 72 , virtual networks 73 (including virtual private networks), virtual applications and operating systems 74 , and virtual clients 75 .
[0067] In one example, the management layer 80 may provide the following functions: Resource provisioning function 81: providing dynamic acquisition of computing resources and other resources for performing tasks in a cloud computing environment; Metering and pricing function 82: tracking the cost of resource usage within the cloud computing environment and providing bills and invoices for this purpose. In one example, the resource may include an application software license. Security function: providing identity authentication for cloud consumers and tasks, and providing protection for data and other resources. User portal function 83: providing access to the cloud computing environment for consumers and system administrators. Service level management function 84: providing allocation and management of cloud computing resources to meet the required service levels. Service level agreement (SLA) planning and fulfillment function 85: providing pre-arrangement and provision for future demand for cloud computing resources predicted according to the SLA.
[0068] The workload layer 90 provides examples of functions that may be implemented in a cloud computing environment. In this layer, examples of workloads or functions that may be provided include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom teaching provision 93; data analysis processing 94; transaction processing 95; and in the context of the illustrated embodiment of the present invention, various workloads and functions 96 for implementing / providing a market for smart contract issuers and execution providers for risk assessment. In addition, the workloads and functions 96 for implementing / providing a market for smart contract issuers and execution providers for risk assessment may include operations such as data parsing, data analysis, and notification functions that will be further described. Those of ordinary skill in the art will recognize that the workloads and functions 96 for implementing / providing a market for smart contract issuers and execution providers for risk assessment may also be used in combination with other parts of various abstraction layers (such as those in hardware and software 60, virtualization 70, management 80, and other workloads 90 (such as, for example, data parsing processing 94)) to achieve the various purposes of the illustrated embodiment of the present invention.
[0069] Now go to Figure 4A-4B , a block diagram depicting exemplary functional components of systems 400 and / or 415 depicting various mechanisms in accordance with the illustrated embodiments is shown. Figure 4A-4B A system 400 is illustrated for implementing / providing a marketplace for smart contract issuers and execution providers of risk assessments in a blockchain in a computing environment. As will be seen, in comparison to the previous Figure 1-Figure 3 In the same descriptive sense already described in , many of the functional blocks may also be considered "modules" or "components" of functionality. In view of the foregoing, according to the present invention, the modules / component blocks of system 400 (e.g., blockchain network) may also be incorporated into various hardware and software components of a system for cognitive data management. Many of the functional blocks of system 400 may be executed as background processes in a distributed computing component or on a user device or on various components elsewhere.
[0070] on the one hand, Figure 1 The computer system / server 12 can be used to assist the functional blocks (e.g., blockchain network) of the system 400. As will be appreciated by one of ordinary skill in the art, the depiction of various functional units in the system 400 (e.g., blockchain network) is for illustrative purposes, as the functional units can be located within and / or between distributed computing components within the system 400 (e.g., blockchain network).
[0071] In one aspect, computer systems / servers 12 and / or blockchain networks 400 and 415 may provide virtualized computing services (i.e., virtualized computing, virtualized storage, virtualized networking, etc.) and / or be included in virtualized computing, virtualized storage, virtualized networking, and other virtualized services being executed on a hardware substrate.
[0072] like Figure 4A and Figure 4B As shown in the blockchain network 400 of FIG. 1 , the embodiment shown enables a reputation- and risk-based execution delegation market. That is, Figure 4A A first phase (“Phase 1”) for performing risk analysis for smart contract issuers and execution providers in a blockchain network 400 (e.g., “blockchain network”) is depicted. Figure 4B A second phase (“Phase 2”) for performing market matching in blockchain network 400 to execute smart contracts is depicted. In one aspect, in Figure 5 Further described in Figure 4A in the first phase (“Phase 1”) and Figure 6 The second phase (“Phase 2”) for performing market matching in blockchain network 400 to execute smart contracts is further described.
[0073] Blockchain network 400 may include risk blockchain 420, enforcement blockchain 430, and a set of issuer nodes / blockchain nodes, such as, for example, issuer node 410. Risk blockchain 420 may include a set of risk analysis nodes, such as, for example, 422A-C. Risk blockchain 420 may include a set of enforcer nodes, such as, for example Figure 4B The risk blockchain 420 and the execution blockchain 430 may be associated with an execution bid matching module (“EBMM”) 432 and a risk aggregation module (“RAM”) 440 , both of which may be included in the blockchain network 400 .
[0074] In one aspect, the risk blockchain 420 can maintain and track risk analysis 424 and reputation budget 426. That is, the risk blockchain 420 can record the history of risk analysis 424 and reputation budget 426 available to the issuer node 410 and the execution node 436 operating in the blockchain network 400.
[0075] The execution blockchain 430 may record each execution query, execution bid, and execution operation of a smart contract issued by one or more blockchain nodes (such as, for example, the issuer node 410) to be recorded by Figure 4BThe one or more execution nodes 436 of the smart contract execute the smart contract. The execution query (e.g., the execution request and the execution bid 438 as a collection of the execution query and the execution bid) also includes one or more parameters defining the execution agreement for executing the smart contract. The execution bid (e.g., the execution query and the execution bid 438) indicates a transaction agreement rate between one or more blockchain nodes and one or more execution nodes for redeeming the execution query.
[0076] The execution blockchain 430 may record execution queries, execution bids, and execution of smart contracts submitted by the issuer node 410. The issuer node 510 may submit smart contracts, execution queries, and bid matching functions.
[0077] One or more risk analyzer nodes 422A-C may apply one or more risk analysis operations (e.g., risk analysis 424 ) to the submitted smart contract and persist one or more values to the risk blockchain 420 .
[0078] RAM 440 (e.g., RAM module 440) can aggregate risk values generated by one or more risk analyzer nodes 422A-C to calculate an aggregate risk value associated with a smart contract submitted by issuer node 410.
[0079] EBMM 432 (eg, EBMM module 432) may perform matching between execution queries and execution bids (eg, using an available bid matching function).
[0080] The reputation associated with each node in the blockchain network 400 may be determined / calculated with respect to the reported results of the execution of the smart contract executed by one or more execution nodes 436A-C. That is, there are 3 possible scenarios with respect to phase 3 of the protocol, in the first scenario, assuming everything goes well, the temporary reputation budgets of RA_RD and ER_RD are reduced and cancelled, and the EH_RI and RI_RI reputation budget increases are executed as rewards. In the second scenario, the executor node may not fulfill its promise, but no attack has occurred. For the issuer node, the same operation of the first scenario applies. For the erroneous executor node, the temporary reduction of ER_RD is cancelled as before, but the permanent ER_RD reputation reduction is executed. In the third scenario, an attack has occurred. In this case, both the issuer node and the executor node are punished. The previous temporary RA_RD and ER_RD previously applied are made permanent.
[0081] Now go to Figure 5 , depicting a first phase ( ) associated with performing risk analysis for smart contract issuers and execution providers in a blockchain according to aspects of the present invention. Figure 4A1 ) is a block diagram of an exemplary function 500 for a process of processing ... Figure 4A-4B Many of the functional blocks may also be considered "modules" of functionality in the same descriptive sense already described in . With the foregoing in mind, the module blocks 500 may also be incorporated into various hardware and software components of a system for image enhancement according to the present invention. Many of the functional blocks 500 may be executed as background processes in a distributed computing component or on a user device or on various components elsewhere and perform common tasks to perform risk analysis for smart contract issuers and execution providers in a blockchain (e.g., using two hyperledger blockchains, such as, for example, a secondary blockchain and a primary blockchain).
[0082] Starting with the issuer node 510, the issuer node 510 sends an initial request to the risk aggregator module "(RAM)", which contains: a) a new smart contract ("SC") to be executed, b) either i) a bid matching function ("BMF") based on a pre-existing default BMF provided by the execution bid matching module ("EBMM") or ii) any one generated by the issuer node 510 itself (if the blockchain system 500 allows this option), and / or c) a set of arbitrary execution constraint parameters (e.g., execution speed, computing resource limits (i.e., gas limits), etc.) in which the SC is to be executed. That is, gas limits refer to concepts specific to the Ethereum blockchain. "Gas" is the execution fee for each operation performed on Ethereum, and provides a way for smart contract issuers to pay for the smart contracts they execute so that other nodes involved make the required calculations for the smart contract to be executed. That is, it can be regarded as a blockchain currency specifically used to pay for smart contract execution and when the "gas" is used up, the smart contract stops executing.
[0083] In step 504, the IEF function previously defined within the risk aggregator module is then used to determine whether the issuer node 510 is allowed to initiate the request. This decision takes into account the reputation budget of the issuer node 510 as well as various other parameters.
[0084] In step 506A, if the issuer node 510 is granted permission, the risk aggregator module records a risk assessment request ("RAR") for the SC on the risk BC, and in step 506B, performs a temporary issuer request reputation reduction "IR_RD" on the reputation budget ("RB") of the issuer node 510 on the risk BC. This is to prevent the issuer node 510 from a disk operating system (DoS) attack on the risk assessment BC.
[0085] In step 512, one or more risk analyzer nodes (e.g., risk analyzer node 1 and risk analyzer node 2) may apply various risk analysis algorithms on the SC, bid matching function ("BMF"), and any execution constraint parameters submitted by the issuer node 510 and output an analyzer risk assessment value ("AREV"), which may be in the range of [0,1]. This output may be associated with the SC and recorded on the risk BC.
[0086] In step 514, the risk aggregator module may aggregate all AREVs to generate a general risk assessment value ("GREV") that may be in the range of [0,1]. The operation for generating GREV in the risk aggregator module ("RAM") may be implemented using various strategies (e.g., average AREV, AREV Max pooling, etc.).
[0087] In step 516 , the GREV value may be associated with the SC and recorded on the risk BC and returned to the issuer node 510 .
[0088] In step 518, a reputation budget ("IR_RD") reduction previously applied to the issuer node may be canceled.
[0089] In step 520, the issuer node 510 may decide to proceed or may decide not to proceed to phase 2 (eg, proceed or stop), such as Figure 6 As described in.
[0090] Now go to Figure 6 , depicting a second phase ( ) related to performing market matching in a blockchain to execute a smart contract according to various aspects of the present invention Figure 4B 4 ). As shown, the various functional blocks are depicted with arrows that specify the relationship of the blocks 600 to each other and illustrate the flow. In addition, descriptive information associated with each functional block 600 is also seen. As will be seen, many of the functional blocks may also be considered "modules" of functionality in the same descriptive sense as has been previously described in FIG. 4 . In view of the foregoing, the module blocks 600 may also be incorporated into various hardware and software components of the system for image enhancement according to the present invention. Many of the functional blocks 600 may be executed as background processes in a distributed computing component or on a user device or on various components elsewhere, and perform common tasks to perform risk analysis in a blockchain for smart contract issuers and execution providers (e.g., using two hyperledger blockchains, such as, for example, a secondary blockchain and a primary blockchain).
[0091] Starting from the issuer node 610, if the issuer node 610 decides to proceed to phase 2 (see Figure 5If the issuer node 610 is notified of a risk of a GREV value being returned, a temporary risk assessment reputation reduction ("RA_RD") may be performed on the reputation budget of the issuer node 610 on the risk BC network 650. This is to limit the amount of risk that the issuer node may potentially be exposed to the blockchain community.
[0092] In step 604, the issuer node 610 may generate an execution query by: a) a set of arbitrary execution constraint parameters "params" (e.g., execution speed, computational resource limits (i.e., gas limits), etc.) in which the issuer node 610 wants to execute the SC, b) a maximum price (e.g., a maximum transaction agreement rate) that the issuer node 610 is willing to pay, which may be calculated based on the GREV associated with the SC, and c) a time window value in which the issuer node 610 guarantees that no attack (from itself or any other node) involving the SC will occur. Here, it may be assumed that all node portions of the blockchain network may behave "honestly" relative to the underlying standard blockchain operation. With respect to be "honest" relative to the underlying standard blockchain operation, this means that situations related to the underlying blockchain may not be operated correctly (from a security perspective). In addition, it should be noted that the issuer node 610 may not be responsible for general blockchain attacks (e.g., with Byzantine fault tolerance effects), which are addressed by extending the underlying blockchain protocol that can be used.
[0093] It should be noted that for the purposes of the present invention, it can be assumed that the blockchain can handle / dispose of blockchain attacks, such as, for example, Byzantine attacks, etc. Therefore, the present invention builds on these more fundamental issues. Therefore, "behaving honestly" means that the present invention can assume that any node involved in the blockchain correctly follows the underlying behavior expected by the specific blockchain in order to make collaborative decisions with other nodes.
[0094] In step 606 , the Execution Bid Matching Module (“EBMM”) records the new execution request contained in the execution bid BC: a) S, b) the GREV of the SC, c) execution query parameters, and / or d) the reputation budget of the issuer node 610 .
[0095] In step 608, one or more executor nodes (e.g., Execution Node 1 and Execution Node 2) may generate an execution bid having a transaction agreement rate (e.g., price) that the one or more executor nodes are willing to honor the execution query. The execution bid may be submitted along with the reputation budget of the executor node (e.g., Execution Node 1 and Execution Node 2). Each execution bid is calculated based on the GREV and the reputation budget of the issuer node 610 using an arbitrary cost function that may be selected by each executor node (e.g., Execution Node 1 and Execution Node 2).
[0096] In step 612, the execution bid matching module ("EBMM") matches the optimal / best performer node bid to the execution query based on the bid matching function ("BMF") previously selected by the issuer node 610. In one aspect, the optimal / best performer node bid can be determined by any "bid matching function" provided by the issuer. For example, it can include checking which execution bid arrives first if a minimum required threshold is passed, or it can be a more complex task that attempts to balance various parameters. In each case, the "optimal / best" can be determined by the issuer node itself through the provided bid matching function. If no bid matching function is provided, then the default bid matching function is used.
[0097] In step 614, an execution risk reputation update ("ER_RU") operation may be performed on the reputation budget ("RB") of the successful executor nodes (e.g., executor node 1 and executor node 2) on the risk BC (e.g., execution blockchain ("BC") network 680), which temporarily reduces the reputation budget ("RB") based on the amount of GREV associated with the SC. This is to prevent the executor nodes (e.g., executor node 1 and executor node 2) and the issuer node (e.g., issuer node 610) from immediately taking and burdening too much risk when executing the BC.
[0098] Upon completion of Phase 2, the present invention may provide smart contract execution in a third phase (“Phase 3”). The executor node may execute the SC, which results in possible scenarios.
[0099] In the first scenario ("Scenario 1"), no attack occurs and the execution query parameters are honored. The risk assessment reputation reduction ("RA_RD") and execution risk reputation reduction ("ER_RD") previously performed on both the issuer node and the executor node may be canceled. An execution honored reputation increase ("EH_RI") may be performed on the RB of the executor node as a reward for honoring the execution query. A responsible issuer reputation increase (RI_RI) operation may be performed on the RB of the issuer node as a reward for issuing a SC that did not result in an attack.
[0100] In the second scenario ("Scenario 2"), no attack occurred, but the execution query parameters were not honored. The risk assessment reputation reduction ("RA_RD") and execution risk reputation reduction ("ER_RD") previously performed on both the issuer node and the executor node can be canceled. A responsible issuer reputation increase (RI_RI) operation can be performed on the RB of the issuer node as a reward for issuing a SC that did not result in an attack. An execution risk reputation reduction ("ER_RD") can be performed on the RB of the executor node as a penalty for not complying with the execution bid parameter commitment.
[0101] In the third scenario ("Scenario 3"), an attack occurs. The Network Attack Registry Oracle module can detect an attack that occurred on the Executing BC Network. This attack involves the SC of the Issuer Node within the time range window guaranteed as part of the query request of the Issuer Node. The Risk Assessment Reputation Reduction ("RA_RD") and Execution Risk Reputation Reduction ("ER_RD") previously performed on both the Issuer Node and the Executor Node can be made permanent.
[0102] Now go to Figure 7 , depicts a method 700 for implementing a marketplace for risk-assessed smart contract issuers and execution providers in a blockchain (e.g., a Turing-complete blockchain) by a processor, wherein various aspects of the illustrated embodiments may be implemented. Function 700 may be implemented as a method executed on a machine as instructions, wherein the instructions are included on at least one computer-readable medium or on a non-transitory machine-readable storage medium. Function 700 may begin in block 702.
[0103] As shown in block 704, a smart contract may be received from one or more issuing nodes in a blockchain by an auxiliary blockchain (e.g., a risk blockchain). As in block 706, a risk assessment of a recursive call attack vulnerability of the smart contract may be performed by the auxiliary blockchain. As in block 708, after the smart contract is risk assessed, the smart contract may be executed based on the reputation of both the one or more blockchain nodes and the one or more execution nodes. As in block 710, functionality 700 may end.
[0104] On the one hand, combined Figure 7 At least one box and / or as Figure 7 As part of at least one box of , the operations of method 700 may include the following. The operations of method 700 may record historical data of risk assessment and reputation of one or more blockchain nodes and a primary blockchain. The primary blockchain is an execution node, the secondary blockchain is a risk blockchain, and the issuing blockchain is one of a plurality of nodes within a blockchain (which includes the primary blockchain and the risk blockchain).
[0105] The operations of method 700 may record each execution query, execution bid, and execution operation of a smart contract issued by one or more blockchain nodes to execute the smart contract by the one or more execution nodes. The execution query includes one or more parameters defining an execution protocol for executing the smart contract, and the execution bid indicates a transaction agreement rate between the one or more blockchain nodes and the one or more execution nodes for honoring the execution request.
[0106] The operations of method 700 may match execution queries and execution bids of smart contracts issued by one or more blockchain nodes via an auxiliary blockchain to execute the smart contract by one or more execution nodes.
[0107] The operations of method 700 may apply risk analysis operations to a smart contract and persist one or more values to a secondary blockchain, and / or aggregate one or more risk assessment values generated by the secondary blockchain and associated with the smart contract.
[0108] The operations of method 700 may define a market for providing transaction agreements for execution services of smart contracts based on a risk assessment of the smart contract, and / or track the reputation of a smart contract issuer and one or more execution nodes based on the risk assessment in the market, wherein the market includes one or more blockchain nodes, a primary blockchain, and a secondary blockchain.
[0109] The operation of method 700 can determine a risk assessment of a recursive call attack vulnerability of one or more smart contracts by the auxiliary blockchain from multiple nodes associated with the auxiliary blockchain, the main blockchain, or a combination thereof. Multiple nodes (e.g., issuing nodes) are allowed to submit smart contracts, and the auxiliary blockchain is allowed to determine the risk assessment of the smart contract.
[0110] The operations of method 700 may also determine a risk assessment of a recursive call attack vulnerability based on a recursive call attack threshold or based on a selected call function based on an asset value, one or more time profiles, and the number of times a variable appears in a suspect list, determine a likelihood of draining assets from a main blockchain based on a risk vulnerability measure, and / or determine a vulnerability risk based on a selected asset value function, one or more time profiles, and the number of times a variable appears in a suspect list.
[0111] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0112] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0113] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0114] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and traditional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0115] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0116] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0117] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0118] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
Claims
1. A method for implementing a market for a smart contract for risk assessment in a blockchain by a processor, comprising: Receiving smart contracts published by one or more blockchain nodes to the secondary blockchain and accepted by the primary blockchain; In response to receiving the smart contract, performing a risk assessment of a recursive call attack vulnerability on the smart contract, wherein the risk assessment identifies a probability of asset depletion due to exploitation of a recursive function of an application agent in a main blockchain in an asset management environment based on a determined risk of reentrant calls occurring during a specific time window; In conjunction with the performance of the risk assessment, determining a reputation of the one or more blockchain nodes and the one or more execution nodes based on a reputation budget calculated for each of the one or more blockchain nodes that issued the smart contract and the one or more execution nodes that will execute the smart contract, wherein the reputation budget is calculated based on one or more risk assessment values recorded on the risk blockchain; When allowing the one or more execution nodes to execute the smart contract, temporarily reducing the reputation budget of one or more blockchain nodes that issued the smart contract, wherein the temporarily reduced reputation budget is recorded on the risk blockchain; After recording one or more risk assessment values determined in consideration of the reputation budget on the risk blockchain, cancelling the temporary reduction of the reputation budget and restoring the reputation budget value before the temporary reduction; and The smart contract is executed by the one or more execution nodes.
2. The method of claim 1, further comprising recording historical data of risk assessments and reputations of both the one or more blockchain nodes and the primary blockchain, wherein the primary blockchain is an execution node, the secondary blockchain is a risk blockchain, and the blockchain that publishes the smart collaboration is one of a plurality of nodes including the primary blockchain and the risk blockchain.
3. The method of claim 1, further comprising: Recording execution queries, execution bids, and execution operations of a smart contract issued by the one or more blockchain nodes to execute the smart contract by the one or more execution nodes, wherein the execution query includes one or more parameters defining an execution protocol for executing the smart contract, and the execution bid indicates a transaction agreement rate between the one or more blockchain nodes and the one or more execution nodes for redeeming the execution query.
4. The method of claim 1, further comprising: Matching execution queries and execution bids for smart contracts issued by the one or more blockchain nodes via the auxiliary blockchain to execute the smart contract by the one or more execution nodes, wherein the execution query includes one or more parameters defining an execution protocol for executing the smart contract, and the execution bid indicates a transaction agreement rate between the one or more blockchain nodes and the one or more execution nodes for redeeming the execution query.
5. The method of claim 1 , further comprising applying a risk analysis operation to a smart contract and persisting one or more values output by the risk analysis operation to a secondary blockchain.
6. The method of claim 1 , further comprising aggregating the one or more risk assessment values generated by the auxiliary blockchain and associated with the smart contract.
7. The method of claim 1, further comprising: Based on the risk assessment of the smart contract, using the market to provide a transaction agreement for the execution service of the smart contract; as well as Tracking a reputation of the one or more blockchain nodes and the one or more execution nodes based on a risk assessment in the marketplace, wherein the marketplace includes the one or more blockchain nodes, a primary blockchain, and a secondary blockchain.
8. A system for implementing a market for smart contracts for risk assessment in a blockchain in a computing environment, comprising: One or more computers having executable instructions which, when executed, cause the system to perform the method according to any one of claims 1-7.
9. A computer program product for implementing, by a processor, a market for smart contracts for risk assessment in a blockchain, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: An executable part, configured to execute the method according to any one of claims 1 to 7.
10. A system for implementing a market for smart contracts for risk assessment in a blockchain in a computing environment, comprising means for executing the method according to any one of claims 1-7.
