Blockchain transaction security using smart contracts

By generating and agreeing trust scores in blockchain transactions, the problem of fraud prevention in blockchain transactions is solved, the dual goals of transaction security and anonymity are achieved, and real-time monitoring and early warning mechanisms for fraud activities are provided.

CN119048096APending Publication Date: 2024-11-29POWERFUL TRADING PORTFOLIO 2018 LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410973393.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2018-07-20
Filing Date
2019-07-19
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The lack of effective fraud prevention measures in blockchain transactions has led to traders facing the risk of fraud, and the protection of anonymity and autonomy is difficult to achieve.

Method used

By collecting transaction data of blockchain addresses on the node server, generating local node trust scores, and consensus with the trust scores of the remote server, confirming consensus trust scores to monitor and prevent fraudulent activities while maintaining traders' anonymity.

Benefits of technology

It provides real-time monitoring and early warning of blockchain address fraud activities, helping traders avoid fraud risks, ensure transaction security, and maintain traders' anonymity and autonomy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048096A_ABST
    Figure CN119048096A_ABST
Patent Text Reader

Abstract

A method includes collecting, at a node server, blockchain data for a blockchain address in a blockchain network. The block chain data comprises a plurality of transactions of the block chain address. The method includes generating a local node trust score of a block chain address based on block chain data. The local node trust score indicates a likelihood that the blockchain address involves fraudulent activity. The method includes receiving a plurality of other local trust scores for the blockchain address from a plurality of remote servers. The method includes determining a consensus trust score based on the local node trust score and a plurality of other local trust scores. In addition, the method also comprises the steps of monitoring a contract trust request of a specified block chain address in a ledger in the block chain network, and sending a consensus trust score of the specified block chain address in the contract trust request to the block chain network.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a divisional application with application date 2019-07-19, application number 2019800612691, and patent name “Blockchain Transaction Security Using Smart Contracts”. Technical Field

[0002] The present invention relates to providing protection against fraud in blockchain transactions. Background Art

[0003] The decentralized network can control a blockchain transaction ledger that includes a list of transactions between different blockchain addresses. Transactions in the decentralized network can be verified cryptographically. Traders can interact with the decentralized network using wallet applications. Summary of the invention

[0004] In one example, a method includes collecting blockchain data of a blockchain address in a blockchain network at a node server. The blockchain data includes multiple transactions of the blockchain address. The method also includes generating a local node trust score for the blockchain address based on the blockchain data of the blockchain address. The local node trust score indicates the possibility that the blockchain address is involved in fraudulent activities. The method also includes receiving multiple other local trust scores for the blockchain address from multiple remote servers, and determining a consensus trust score based on the local node trust score and the multiple other local trust scores. The consensus trust score indicates a consensus value of the local node trust score between the node server and the multiple remote servers. The method also includes monitoring a contract trust request for a specified blockchain address in a blockchain ledger in the blockchain network, and sending a consensus trust score for the blockchain address specified in the contract trust request to the blockchain network.

[0005] In one example, a system includes one or more memory components and one or more processing units. The memory component is used to store blockchain data of a blockchain address in a blockchain network. The blockchain data includes multiple transactions of the blockchain address. The one or more processing units are used to execute computer-readable instructions that cause the one or more processing units to generate a local node trust score for the blockchain address based on the blockchain data of the blockchain address. The local node trust score indicates the likelihood that the blockchain address is involved in fraudulent activity. The one or more processing units are used to receive multiple other local trust scores for the blockchain address from multiple remote servers. The one or more processing units are used to determine a consensus trust score based on the local node trust score and the multiple other local trust scores. The consensus trust score indicates a consensus value of the local node trust score. The one or more processing units are used to monitor a contract trust request for a specified blockchain address in a blockchain ledger in the blockchain network, and send a consensus trust score for the blockchain address specified in the contract trust request to the blockchain network. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present invention will be more fully understood based on the detailed description and the accompanying drawings.

[0007] Figures 1A to 1E An exemplary trust network in which trader computing devices, intermediary trading systems, and automated trading systems communicate is shown;

[0008] Figure 2 A method describing the operation of an exemplary trust network is shown;

[0009] Figure 3 A functional block diagram of an exemplary node for calculating a local trust score and a consensus trust score is shown;

[0010] Figure 4A A functional block diagram of an exemplary node for calculating a consensus trust score is shown;

[0011] Figure 4B A flow chart illustrating an exemplary method for calculating a consensus trust score;

[0012] Figure 5 A functional block diagram of an exemplary node for calculating a reputation value is shown;

[0013] Figure 6 An exemplary method describing the operation of a reward protocol is shown;

[0014] Figure 7 A functional block diagram of a trust network for payment insurance implementation is shown;

[0015] Fig. 8A Exemplary services associated with nodes at different levels are shown;

[0016] Figure 8B shows an exemplary relationship between the number of nodes, the number of cliques, address overlap, and the probability that a node will acquire a single address under its control;

[0017] Fig. 9 A functional block diagram of an exemplary trust score determination module and local trust data storage is shown;

[0018] Fig.10 A method describing the operation of an exemplary trust score determination module is shown;

[0019] Fig.11 shows a functional block diagram of the data acquisition and processing module;

[0020] Fig.12 The functional block diagram of the blockchain data collection and processing module is shown;

[0021] Figures 13A to 13BThe generation and processing of blockchain graph data structures are shown;

[0022] Fig.14 The functional block diagram of the scoring feature generation module and the scoring model generation module is shown;

[0023] Fig.15 A functional block diagram showing the operation of the score generation module;

[0024] Fig.16 An environment including a blockchain network executing smart contracts is shown;

[0025] Fig.17 Shows the description Fig.16 methods of operating the environment;

[0026] Fig.18 A functional block diagram showing the interaction between a sender user device, an intermediary transaction system, a blockchain network, and a trust network / system;

[0027] Figures 19A to 19B An exemplary sender interface on a user device is shown;

[0028] Fig. 20 An exemplary method describing the operation of an intermediary transaction system is shown;

[0029] Fig.21 An exemplary method describing the operation of a trust network / system is shown.

[0030] Among the drawings, reference numerals may be repeated to identify similar and / or identical elements. DETAILED DESCRIPTION

[0031] The trust network 100 of the present invention generates a consensus trust score for traders. The consensus trust score can provide traders with protection against fraud while maintaining user anonymity and autonomy. The consensus trust score can provide a baseline trust level on which other security layers can be built.

[0032] The trust network 100 generates a consensus trust score for a transactor. The trust network 100 may determine the consensus trust score based on data retrieved from various data sources (e.g., fraud / custodial data) and the blockchain data upon which it is based. A trust score (e.g., a consensus trust score) may be a number (e.g., a decimal or integer) that indicates the likelihood that a blockchain address is involved in fraudulent activity. In other words, the trust score may represent the propensity of a blockchain address to be involved in fraudulent activity.

[0033] A trader may request a consensus trust score from the trust network 100 before participating in a blockchain transaction that trades funds on a blockchain. Typically, a trader may use the consensus trust score to confirm whether the blockchain address they are trading with is trustworthy. For example, a trader intending to send money to a recipient may request the recipient's consensus trust score. In this example, the trader may use the consensus trust score of the intended recipient in order to assess the likelihood that the intended recipient is a fraudulent party.

[0034] Traders can use consensus trust scores to take various actions. For example, a trader can use consensus trust scores to determine whether to proceed or cancel a blockchain transaction. As another example, a trader can use consensus trust scores to determine whether to insure a transaction. As another example, an organization can use consensus trust scores to decide whether to accept funds from a blockchain address. Therefore, the consensus trust scores described in this article can help protect traders from fraud or receiving fraudulent funds. It is important to note that the consensus trust score tells the trader the degree to which any address can be trusted without the trader knowing the identity of the party behind the address. Therefore, the consensus trust score can maintain trader anonymity.

[0035] Figure 1A An exemplary trust network 100 is shown communicating with trader computing devices 102, 104, 106 (hereinafter referred to as "trader computing devices") via a communication network 108. The network 108 may include various types of computer networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet. The trust network 100 may include a plurality of trust nodes 100-1, 100-2 to 100-N (referred to herein as "nodes"). Each of the nodes 100 may include one or more node computing devices (e.g., one or more server computing devices) that implement the various protocols described herein.

[0036] Node 100 can collect data associated with a blockchain address and determine various trust scores based on the collected data. A trust score determined locally at a node based on the collected data can be referred to as a "local node trust score" or "local trust score". Node 100 can be used to transmit their local trust scores between each other so that each node can understand the local trust scores associated with other nodes. After the node acquires multiple local trust scores, the node can determine a candidate consensus trust score (hereinafter referred to as a "candidate trust score") based on the multiple local trust scores. One or more nodes can determine a consensus trust score based on multiple candidate trust scores. The consensus trust score can indicate a consensus value of a local trust score between multiple nodes. The consensus trust score of an address can be written into a distributed consensus ledger and retrieved later from the trust network 100 (e.g., in response to a trust request).

[0037] The trust scores described herein (e.g., local, candidate, or consensus) can be calculated / provided in various formats. In some embodiments, the trust score can be an integer value with a minimum and maximum value. For example, the trust score can be in the range of 1-7, where a trust score of "1" indicates that the blockchain address may be fraudulent. In this example, a trust score of "7" may indicate that the blockchain address is unlikely to be fraudulent (i.e., very trustworthy). In some embodiments, the trust score may be a decimal value. For example, the trust score may be a decimal value indicating the likelihood of fraud (e.g., a percentage value in the range of 0-100%). In some embodiments, the trust score may be in the range of from a maximum negative value to a maximum positive value (e.g., -1.00 to 1.00), where a larger negative value indicates that the address is more likely to be fraudulent. In this example, a larger positive value may indicate that the address is more likely to be trustworthy. Customers can select the trust score format they prefer.

[0038] The distributed trust network 100 described herein distributes the trust score calculation workload across multiple nodes to produce a resilient network that is resistant to failures / power outages and attacks. In addition, distributing trust calculations throughout the network can provide resistance to fraud / conspiracies designed to undermine the network.

[0039] The trader computing devices 102, 104, 106 comprise computing devices that can interact with the trust network 100. Exemplary trader computing devices may include a user trader device 102, such as a smartphone, tablet, laptop, desktop computer, or other computing device. The user trader device 102 may include an operating system 110 and a plurality of applications, such as a web browser application 112 and additional applications 114.

[0040] The user transactor device 102 may include a transaction application 116 that may transact with the blockchain network 118 to perform blockchain transactions. The transaction application 116 may also request a consensus trust score from the trust network 100. Some exemplary transaction applications may be referred to as "wallet applications". In some cases, the transaction application may be referred to as a "decentralized wallet application" provided that the decentralized wallet application does not interact with a centralized server-side component.

[0041] Additional exemplary trader devices may be included in the intermediary trading system 104. The intermediary trading system 104 (e.g., one or more server computing devices) may communicate with the blockchain network 118, the user trader device 102, and the trust network 100. The intermediary trading system 104 may perform transactions on behalf of the user trader device 102. In addition, the intermediary trading system 104 may also obtain a consensus trust score from the trust network 100 on behalf of the user trader device 102. In some embodiments, the intermediary trading system 104 may provide a user interface for the user trader device 102 (e.g., via a web-based interface and / or an installed trading application 116).

[0042] Additional exemplary trader devices may be included in the automated trading system 106. The automated trading system 106 (eg, one or more server computing devices) may communicate with the trust network 100 and the blockchain network 118.

[0043] The transactor devices 102, 104, 106 can participate in transactions in a blockchain network 118. The blockchain network 118 can be formed by a network of computing devices, each computing device operating according to a blockchain protocol 120. The blockchain network 118 can control a blockchain ledger 122. The blockchain ledger 122 includes a list of transactions between different blockchain addresses. In addition, the blockchain ledger 122 can also include additional data, such as transaction metadata.

[0044] The blockchain ledger 122 may include blockchain addresses that identify transactors in the blockchain network 118. A transactor may refer to a party to a transaction that controls a blockchain address. For example, a transactor may include an individual or an organization, such as a business, a non-governmental organization, or a decentralized autonomous organization. A transactor may control one or more blockchain addresses in a single network. In addition, a transactor may also have one or more blockchain addresses in different networks.

[0045] A trader can initiate a blockchain transaction, where the trader's blockchain address sends or receives money to or from another blockchain address. The blockchain address that sends money to another blockchain address may be referred to as the "blockchain sender address" or "sender address" in this article. The blockchain address that receives money may be referred to as the "blockchain receiver address" or "receiver address" in this article.

[0046] The trader devices 102, 104, 106 may send a trust request to the trust network 100 and receive a trust response from the trust network 100 (see, for example, Figures 1B to 1D ). A trust request may indicate one or more blockchain addresses for which a trader wants a trust report (e.g., one or more consensus trust scores). In some embodiments, a trust request may include a request for payment. The request for payment may be distributed to nodes in the trust network 100 as payment for providing a consensus trust score.

[0047] In one example, a trader device may send a trust request to the trust network 100 and receive a trust response (e.g., a trust report) from the trust network. The trader device and the trust network 100 may communicate via an application programming interface (API). The trust request may include the blockchain address of the trader on the other side of the transaction. For example, a trust request from a sender may request a trust report for a recipient's blockchain address. The sender may make a decision based on the received trust report, such as whether to participate in the recipient's blockchain transaction.

[0048] Figures 1B to 1D The interaction between different trader devices / systems 102, 104, 106, the blockchain network 118 and the trust network 100 is shown. Figure 1B In the example embodiment, the user transactor device 102 includes a transaction application 116 (e.g., a wallet application) that transacts with a blockchain network 118. The transaction application 116 includes a trust request module 126 that interfaces with the trust network 100. For example, the trust request module 126 can generate a trust request 130 (e.g., a web request). In addition, the trust request module 126 can also receive a trust response 132 from the trust network 100. In some embodiments, the trust request module 126 can generate a graphical user interface (GUI) with which a user can interact in order to send a trust request 130 and view a trust report 132.

[0049] exist Figure 1C In the example, the trader device 102 can trade in the blockchain network 118 via the intermediate transaction system 104. Figure 1CIn the example embodiment, the trader device 102 may include a web browser application 112 that interacts with the intermediary transaction system 104. The intermediary transaction system 104 (e.g., a web server) may provide the web browser 112 with an interface for conducting transactions in the blockchain network 118. In addition, the intermediary transaction system 104 may also provide an interface (e.g., a web-based interface) for the user to select whether the user wants to trust the report before participating in the blockchain transaction.

[0050] exist Figure 1D In the example embodiment, the automated trading system 106 controls transactions in the blockchain network 118. In addition, the automated trading system 106 may also request a trust report from the trust network 100. In some embodiments, transactions participated in by the automated trading system 106 may depend on the consensus trust score reported by the trust network 100. For example, if the trust score indicates that the address is unlikely to conduct fraudulent activity, the automated trading system 106 may conduct the transaction.

[0051] Although the devices / systems described herein may perform a trust request 130 in order to receive a consensus trust score before conducting a blockchain transaction, in some embodiments, other devices / systems may request a consensus trust score in other circumstances. For example, an exchange compliance officer may request a consensus trust score for compliance reasons.

[0052] Reference Figure 1E In some embodiments, the trust network 100 can implement a fraud alert protocol that can automatically inform network participants (e.g., fraud alert requesting devices) of potentially fraudulent blockchain addresses. For example, a node can include a fraud alert module 134 that is used to provide fraud alerts 136 based on a set of fraud alert criteria that can be configured by a user. In one example, the fraud alert module 134 can monitor one or more addresses and provide a fraud alert 136 if the consensus trust score of any address drops below a trusted threshold level (e.g., set by a user). In another example, a fraud alert 136 can be sent if the change in the monitored trust score exceeds a threshold percentage. In some embodiments, a fraud alert protocol can be implemented using a smart contract that monitors the consensus trust score and provides alerts based on a set of business rules that can be defined by a user.

[0053] In some embodiments, nodes can be connected via a state channel network. When a trader initiates a trust request and payment, the request can be propagated until it reaches a node with the requested consensus trust score. The node can return the consensus trust score to the trader. Then, payment can be granted according to the reward protocol.

[0054] Refer again Figure 1A, the environment includes a data source 124 that the trust network 100 can use to determine whether a blockchain address is fraudulent. The exemplary data sources 124 described herein include fraud data sources and custodial data sources. The trust network 100 can determine a local trust score based on the data contained in the data source 124 and the data contained in the blockchain ledger 122.

[0055] Figure 2 Shows the description Figures 1A to 1D An exemplary method of operating the environment shown in FIG. Figure 2 The method shown in shows the determination of a local trust score, a candidate trust score, and a consensus trust score for a single blockchain address. Figure 2 The method shown in can be performed multiple times to determine local trust scores, candidate trust scores, and consensus trust scores for multiple blockchain addresses.

[0056] In block 200, the node 100 collects and processes fraud and custody data 124 associated with the address. In block 202, the node 100 collects and processes blockchain data associated with the address. In block 204, each of the nodes 100 determines a local trust score for the address based on the data collected in blocks 200-202.

[0057] In box 206, the nodes 100 transmit local trust scores of the addresses to each other. After transmitting the local trust scores, each node may include multiple local trust scores calculated by other nodes. In box 208, the node 100 determines a candidate trust score for the address based on the local trust score. In box 210, the node 100 determines a consensus trust score for the address based on the candidate trust score for the address. In box 212, the node 100 may update the distributed consensus trust score ledger to include the calculated consensus trust score. In boxes 214 to 216, the trust network 100 receives a trust request 130 for the address from the requesting device and sends a trust response 132 containing the consensus trust score to the requesting device.

[0058] Figure 3 The generation of a local trust score is shown. Figures 4A to 4B In addition to generating trust scores, the trust network 100 can also implement Figures 5 to 7 In some embodiments, the trust network 100 may implement a reputation protocol that calculates and stores reputation values ​​indicative of various parameters associated with a node, such as the amount of work performed by the node (e.g., see Figure 5 ).

[0059] Different nodes in the trust network 100 can be used to implement different features of the trust network 100. For example, different nodes can be used to implement different protocols or portions of protocols described herein. In some embodiments, the collateral protocol can determine the features that a node can implement. The modules and data stores contained in the nodes can represent the protocols implemented by the nodes and the data stored by the nodes. Each node can include one or more computing devices. In some embodiments, multiple nodes can run on a single computing device.

[0060] Figure 3 An exemplary node 100-1 is shown that includes a trust score determination module 300 and a local trust data store 302. The trust score determination module 300 collects and processes various data described herein, such as the fraud and custody data 124 and blockchain data. The local trust data store 302 can store data for multiple addresses.

[0061] The data associated with a single address is shown in this figure as a blockchain address record 304. The local trust data store 302 may include multiple such blockchain address records, each for a different address. Each blockchain address record 304 may include a blockchain address 306 that uniquely identifies the record 304. In addition, each blockchain address record 304 may also include a local trust score 308 associated with the blockchain address 306. The blockchain address record 304 may include a history of local trust scores calculated for blockchain addresses over time.

[0062] The blockchain address record 304 described herein represents data stored in the local trust data storage 302. Node 100-1 may include a variety of different data structures for implementing data. Therefore, the blockchain address record 304 may be implemented using one or more data structures different from those explicitly described herein.

[0063] exist Figure 3 In the example embodiment of the present invention, the trust score determination module 300 collects and processes various types of data, such as custody data and fraud data 124. Exemplary fraud and custody data may include data that provides evidence of fraud about an address and / or indicates a party that owns / controls an address. The trust score determination module 300 may store the custody and fraud data associated with the address in a blockchain address record 304. In addition, the trust score determination module 300 may also generate a fraud tag based on the collected fraud data, which indicates whether the address is likely to be fraudulent.

[0064] The trust score determination module 300 collects and processes blockchain data (e.g., blockchain ledger 122). The trust score determination module 300 can store raw and processed blockchain data associated with an address in a blockchain address record 304. Exemplary blockchain data can include data of multiple blockchain transactions between multiple different addresses.

[0065] The trust score determination module 300 determines a local trust score for an address based on the collected blockchain data and the fraud / custody data. In some embodiments, the trust score determination module 300 may generate a blockchain graph data structure based on the blockchain data (e.g., see Fig. 13B ). In addition, the trust score determination module 300 may also process the graph to determine one or more graph-based values ​​(eg, importance values) that may be used to generate a local trust score.

[0066] In some embodiments (e.g., see Fig.14 ), the trust score determination module 300 can generate a scoring feature for the address and generate one or more scoring models based on the scoring feature and other data (e.g., flagged fraud data). In these embodiments, the trust score determination module 300 can generate one or more local trust scores for the blockchain address using one or more scoring models and the scoring features associated with the blockchain address. Figures 9 to 17 A more detailed implementation of the trust score determination module 300 and the local trust data store 302 is shown.

[0067] Multiple nodes can communicate with each other to obtain a consensus trust score for an address. Each node can be identified by a node identifier (node ​​identifier, referred to as ID). In some embodiments, a public key / private key pair is generated when the node starts. In these embodiments, the node public key can be used as the node ID, although other identifiers can also be used.

[0068] Different nodes can calculate the same / similar local trust scores when they have access to the same / similar blockchain data and fraud / custody data. In some cases, local trust scores may differ between nodes. For example, local trust scores may differ when nodes have access to different fraud and custody data. In a specific example, nodes located in different jurisdictions (e.g., countries) may access data sources that are blocked in other jurisdictions. In another specific example, some nodes may access information at different rates.

[0069] The node 100 implements a trust consensus protocol that determines a consensus trust score for an address. The consensus trust score can be stored in a consensus trust score ledger 400 distributed to nodes in the trust network 100. Figure 4AAn exemplary node 100-1 including a consensus determination module 310 and a trust consensus data storage 312 (hereinafter referred to as "consensus data storage 312"). The trust network 100 may include a plurality of nodes, which include a combination of Figures 4A to 4B The consensus determination module 310 can communicate with other consensus determination modules of other nodes (e.g., via the communication module 310-1) to determine the consensus trust score. The consensus data storage 312 includes the consensus trust score and other data in the consensus trust score ledger 400.

[0070] The consensus determination module 310 can communicate with other nodes (e.g., consensus modules of other nodes). For example, each node can transmit its local trust score to other nodes via an outgoing trust consensus message 402. In addition, each node can receive local trust scores from other nodes via an incoming trust consensus message 404. An exemplary trust consensus message may include a node ID, a node IP address, a blockchain address, and an associated local trust score. In some cases, the trust consensus message may indicate that the local trust score has not yet been calculated or is being calculated, rather than indicating an associated local trust score.

[0071] The consensus determination module 310 may generate a local trust score list 406 ("trust score list 406") based on local trust scores received from other nodes (e.g., using the list construction module 310-2). The trust score list 406 may include a list of node IDs and corresponding local trust scores for the addresses. The consensus determination module 310 may generate a local trust score list 406 for each address. Each node may transmit its trust score list to other nodes. For example, a node may send / receive a trust score message including a trust score list. A node may update a local trust score list based on other received trust score lists.

[0072] Each node in the trust network 100 can be used to communicate with a different set of nodes. In other words, the nodes in the trust network 100 can be used to communicate with non-overlapping sets of nodes. Because different nodes can communicate with different sets of other nodes, ultimately, each node that transmits local trust scores to each other can know the local trust score calculation results of other nodes. In this case, different nodes can include similar trust score lists. In some examples, the trust scores in the trust score lists can converge within a fraction of a second or a few seconds.

[0073] The trust score list 406 for an address may include a frequency (count) distribution of local trust scores. In some cases, the trust score list 406 may include a large number of local trust scores within a tight grouping. In some cases, the trust score list 406 may include outlier trust scores whose value ranges exceed the main grouping. For example, an outlier may be caused by a change in the information used to generate the local trust score. For another example, one or more outliers may be caused by a node that is generating / distributing fraudulent trust scores. As described herein, a node that generates / distributes fraudulent trust scores may be held accountable (e.g., by burning collateral funds).

[0074] The consensus determination module 310 determines the candidate trust scores based on the local trust scores included in the trust score list 406 (e.g., using the candidate determination module 310-3). In some embodiments, the consensus determination module 310 may include a "candidate determination criterion" that triggers the candidate trust score determination. Exemplary candidate determination criteria may include the presence of a threshold number of nodes and / or a threshold score of nodes' local trust scores. For example, the consensus determination module 310 may determine the candidate trust score in response to the presence of a threshold number / score of local trust scores included in the trust score list.

[0075] In some embodiments, the consensus determination module 310 may determine candidate trust scores in response to a distribution pattern of trust scores in the trust score list. For example, when the trust scores are concentrated in a distribution (e.g., tightly concentrated in a single distribution), the consensus determination module 310 may be triggered to determine candidate trust scores. If the trust score distribution includes outliers, the consensus determination module 310 may continue to transmit local trust scores with other nodes. In a specific example, when the distribution variance is less than a threshold variance, the consensus determination module 310 may be triggered to determine candidate trust scores. In the presence of multiple distribution patterns, the consensus determination module 310 may determine whether the pattern is valid or whether the pattern is caused by a fraudulent trust score. Similarly, if the distribution variance is too large (e.g., greater than a threshold), the consensus determination module 310 may determine whether the variance is caused by calculation changes and / or fraudulent behavior. The consensus determination module 310 may filter out (i.e., remove) trust scores attributable to fraudulent behavior before determining the candidate trust scores.

[0076] The consensus determination module 310 may use various techniques to determine the candidate trust scores. In some implementations, the consensus determination module 310 may remove outlier local trust scores from the trust score list before determining the candidate trust scores. The consensus determination module 310 may determine the candidate trust scores based on an average (e.g., a blended average) of the remaining local trust scores in the trust score list 406. For example, the consensus determination module 310 may determine the candidate trust scores by using a statistically weighted average of the local trust scores based on the node counts.

[0077] The nodes may communicate candidate trust scores to each other. In addition, the nodes may also store candidate trust scores 408. A set of consensus determination modules may determine a consensus trust score 408 for an address based on multiple candidate trust scores. In some embodiments, the consensus determination module may monitor the candidate trust scores to determine whether the candidate trust scores converge to similar trust scores. The consensus determination module may be used to determine the consensus trust score in response to one or more consensus triggers associated with the candidate trust scores. For example, the consensus determination module may be used to determine a consensus trust score when more than a threshold number / score of candidate trust scores are consistent (e.g., within a threshold variance).

[0078] In some embodiments, the consensus determination module may perform a validation operation associated with the candidate trust score (e.g., using validation module 310-4). For example, the consensus determination module may perform an error check on the candidate trust score. The error checking operation may include verifying whether a transmission of a local trust score actually occurred for the candidate score, or whether a conspiracy occurred that resulted in the candidate score. In some embodiments, the consensus determination module may query multiple nodes that participated in the transmission of local trust scores and the determination of candidate scores to determine nodes that communicate with each other. In some embodiments, the nodes may select a leader node to perform an error checking operation and determine whether the nodes are consistent.

[0079] After verifying the candidate trust scores, the consensus determination module 310 can calculate the consensus trust score. In some embodiments, the consensus determination module can determine the consensus trust score based on an average (e.g., a mixed average) of the candidate trust scores. For example, the consensus determination module can determine the consensus trust score by using a statistically weighted average of the candidate trust scores based on counts. The consensus determination module 310 can then use the consensus trust score to update the consensus ledger 400. The consensus determination module 310 can then distribute the updated ledger to other nodes (e.g., using the ledger update module 310-5). In some embodiments, although nodes that do not participate in generating the consensus ledger 400 can receive an updated version of the consensus ledger 400, only a subset of nodes can write trust scores and other data to the consensus ledger 400.

[0080] The consensus ledger 400 includes consensus trust scores for different addresses over time. The consensus trust scores contained in the consensus ledger 400 can be provided to trust score requesters. In addition, the consensus ledger 400 can also include timing data indicating the time when the consensus trust score was written to the ledger 400. For a determined consensus trust score, the consensus ledger can include verification information associated with the consensus trust score, such as candidate trust scores for the consensus trust score and verified nodes. Storing the verification information of the consensus trust score can enable a node to check how the consensus trust score is verified.

[0081] Node 100 can be used to generate new trust scores for new addresses and update trust scores over time. For example, a trust score determination module can be used to generate / update a local trust score for an address. For another example, a consensus determination module can be used to generate / update candidate trust scores and consensus trust scores over time. The update frequency can be set by a consensus protocol. In some cases, the data associated with an address can change over time. In some cases, the data contained in the blockchain can change over time. The trust score determination module and the consensus determination module can be used to generate new trust scores in response to such changes in the data.

[0082] In some embodiments, the consensus determination module may transmit the new local trust score and / or updated local trust score to other nodes. For example, if the update causes the local trust score to change by more than a threshold, the consensus determination module may transmit the local trust score update to other nodes. The local trust score update may cause the candidate trust score to change. In turn, the candidate trust score change may cause the consensus trust score and the consensus ledger to change. In this way, the consensus ledger 400 can reflect the history of the consensus trust scores of multiple addresses over time.

[0083] With respect to the calculation of trust scores, different nodes may have different levels of functionality. Different functionality may be based on the amount of value pledged by the node, where a larger pledge may authorize more functionality. In some embodiments, all nodes may be authorized to purchase trust scores and include a copy of the consensus ledger. In these embodiments, a subset of nodes may be used to calculate a local trust score, a candidate trust score, and a consensus trust score. In addition, the subset of nodes or another subset may be used to write the consensus trust score to the consensus ledger.

[0084] Figure 4B An exemplary method is shown describing the calculation of a consensus trust score from the perspective of exemplary node 100 - 1 . Figure 4B The method shown in can be performed multiple times to determine local trust scores, candidate trust scores, and consensus trust scores for multiple blockchain addresses.

[0085] In blocks 410 to 412, the trust score determination module 310 collects and processes the fraud and custody data 124 and the blockchain data. In block 414, the trust score determination module 310 determines a local trust score for the address. In block 416, the consensus determination module 310 receives local trust scores from other nodes. In block 418, the consensus determination module 310 sends the local trust scores to the other nodes.

[0086] In block 420, the consensus determination module 310 determines whether to calculate a candidate trust score (e.g., based on the candidate determination criteria). If the candidate determination criteria are not met, the consensus determination module 310 may continue to communicate the local trust score with other nodes in blocks 416-418. If the consensus determination module 310 determines that the candidate determination criteria are met, in block 422, the consensus determination module 310 may determine the candidate trust score based on the local trust scores in the trust score list 406. In block 424, the consensus determination module 310 may determine a consensus trust score based on the plurality of candidate trust scores. In block 426, the consensus determination module 310 may update the consensus trust ledger 400 to include the consensus trust score.

[0100] Reference Figure 5 , the trust network 100 can implement a reputation protocol in which each of a plurality of nodes can calculate one or more reputation values. The reputation value of a node can indicate various parameters associated with the node, such as the amount of work performed by the node during the trust score calculation and distribution, the quality of the work performed (e.g., accuracy), and the consistency of node operation (e.g., node uptime). The reputation value can be used by other protocols in the trust network 100. For example, a node can determine a candidate and / or consensus trust score based on the reputation value associated with one or more nodes. For another example, a node can be rewarded and / or punished based on its reputation value.

[0101] Node 100-1 includes a reputation determination module 500 that determines a reputation value of a node. In some embodiments, node 100 may send reputation messages 504-1, 504-2 to other nodes. Reputation message 504 may include reputation data, such as a reputation value associated with one or more nodes. In this way, each node may receive the reputation values ​​of multiple other nodes. In a specific example, each node may be used to transmit reputation data with a collection of other nodes. In this specific example, each node may directly request reputation data from any node in the node set. In addition, each node may also request reputation data of multiple other nodes from any node in the node set.

[0102] The node includes a reputation data storage 502 that stores reputation data for a plurality of nodes (e.g., a subset of nodes in a trust network). The reputation data may be stored in a reputation ledger 506 that contains a plurality of node IDs and associated reputation values. In addition, the reputation data storage 502 may also store additional information 508, such as data used to generate a reputation value and data associated with generating a consensus trust score.

[0103] The reputation determination module 500 may determine a plurality of different reputation values ​​for each node. In some embodiments, the reputation determination module 500 may determine one or more work reputation values ​​for the amount of work performed by the node with respect to calculating the trust score. For example, the reputation determination module 500 may determine one or more reputation values ​​based on the number of local trust scores calculated, the number of candidate trust scores calculated, and the amount of work associated with calculating the consensus trust score. The one or more work reputation values ​​may also be based on the amount of communication (e.g., trust consensus messages) performed by the node.

[0104] In addition, the reputation determination module 500 can also determine a plurality of quality reputation values ​​for a node based on the quality of computations performed by the node. For example, the quality reputation value can be based on a plurality of trust score outliers generated by the node and the speed at which the trust scores are generated. In addition, the reputation determination module 500 can also determine a plurality of distribution reputation values ​​for a node based on the distribution of consensus trust scores to requesters and the distribution of trust scores as fraud alerts.

[0105] In addition, the reputation determination module 500 may also determine a plurality of node performance reputation values ​​based on various node parameters such as node bandwidth, node processing power, node throughput, and node availability. Exemplary reputation values ​​associated with node availability may be based on an uptime value, a mean time between failure (MTBF) value, and / or a mean time to repair (MTTR) value.

[0106] The reputation determination module 500 may determine one or more data storage reputation values ​​based on the amount of data (e.g., historical data) stored at the node and the amount of time the data has been stored. In addition, the reputation determination module 500 may also determine one or more reputation values ​​indicating the amount of time the node has been included (e.g., online) in the trust network 100. The reputation determination module 500 may determine one or more collateral reputation values ​​based on the amount of money collateralized by the node. In addition, the reputation determination module 500 may determine one or more outlier reputation values ​​indicating a number of outliers associated with the node and whether the outlier is considered fraudulent or has evidence support.

[0107] In some implementations, reputation determination module 500 may calculate one or more composite reputation values, each of which may be a function of any individual reputation value described herein. For example, a composite reputation value may be a weighted calculation of one or more component reputation values.

[0108] In addition to the reputation ledger, the reputation data storage 502 may also store other information. For example, the reputation data storage 502 may store historical trust score data or other data used to determine a reputation value. In one example, the reputation data storage 502 may store the history of each trust score and the contribution to the trust score of each node. In a more specific example, the historical data may include the number of nodes participating in the consensus calculation, the range of scores used in the calculation, and other factors on which the consensus score is based.

[0109] In some embodiments, the consensus determination module 310 can determine a candidate trust score and / or a consensus trust score based on one or more reputation values. For example, the consensus determination module 310 can determine whether a trust score is an outlier based on the reputation associated with the node. In some embodiments, the consensus determination module 310 can consider the reputation value during the verification operation.

[0110] Figure 6 An exemplary method describing the operation of a reward protocol is shown. In block 700, the reward protocol receives payment for trust scores and fraud warnings. In block 702, the reward protocol retrieves reputation values ​​for a plurality of nodes. In block 704, the reward protocol determines a reward payout to a plurality of nodes based on the reputation values ​​associated with the nodes. In block 706, the reward protocol pays the nodes according to the determined payout. In block 708, the reward protocol updates the reward ledger 616 to reflect the payment calculation (e.g., based on the reputation value) and the payment amount. The reward protocol may be repeated periodically. Figure 6 The method shown in , whereby nodes can be regularly rewarded for their relative contributions to the trust network 100.

[0111] In some implementations, a fee may be charged to the sender for requesting a consensus trust score.

[0112] Figure 7 An example is shown in which the trust network 100 is queried as part of a payment insurance process. Figure 7 In the example, the user trader device 102 conducts transactions in the blockchain network 118 via the intermediary transaction system 900. The intermediary transaction system 900 includes a trust request module 126 that can retrieve a trust report from the trust network 100. In addition, the intermediary transaction system 900 can also provide payment insurance to traders.

[0113] Figure 7The intermediary transaction system 900 shown in FIG. 9 includes a payment insurance module 902 that can determine whether to insure a transaction. The owner / operator of the intermediary transaction system 900 and the owner / operator of the payment insurance system 904 (e.g., an underwriter system) can agree on the terms under which the transaction can be insured. In some embodiments, payment insurance can be provided for transactions where the transaction blockchain address has a trust score indicating a low likelihood of fraud. The payment insurance system 904 can collect data related to the transaction (e.g., trust score, timing, etc.) for audit purposes.

[0114] exist Figure 7 In the example, the trader device 102 may initially initiate a transaction with the intermediary transaction system 900. In response to the initiated transaction, the intermediary transaction system 900 (e.g., the trust request module 126) may retrieve a trust report for the recipient and / or sender. The intermediary transaction system 900 may then determine whether the transaction is insurable. For example, the payment insurance module 902 may determine whether the transaction blockchain address has a trust score indicating a low likelihood of fraud. In some embodiments, the payment insurance module 902 may compare the consensus trust score with a trust score threshold indicating a maximum tolerable likelihood of fraud. In these embodiments, if the consensus trust score is less than the trust score threshold, the payment insurance module 902 may indicate that the transaction is insurable. If the consensus trust score is greater than the tolerable level of fraud, payment insurance may be denied.

[0115] In some embodiments, the payment insurance module 902 may query the payment insurance system 904 to determine whether the transaction is insurable. The query may indicate the consensus trust scores of the transaction parties. In these embodiments, the payment insurance system 904 may determine whether to insure the transaction. The payment insurance system 904 may then inform the intermediary transaction system 900 whether the transaction is insurable.

[0116] In addition to the role that the trust network 100 plays in the payment insurance process, the trust network 100 can also play a role in other financial processes. For example, the trust score / report generated by the trust network 100 can be used to freeze transactions and / or recover funds.

[0117] Trust network 100 may include any number of nodes. As described herein, nodes 100 may have different levels of functionality (e.g., based on collateral). The level of a node may be variable, and nodes of different levels may be eligible to participate in different services. Fig. 8A Exemplary services associated with three different levels of nodes are shown.

[0118] Trust report requests may be stored in a node's transaction storage pool for processing and prioritization. Each node level may have a separate transaction storage pool. For example, in some embodiments, a level 3 node may not store report requests. However, level 1 may store report requests (e.g., state channel updates). In some embodiments, nodes involved in fraud and custody verification may use separate storage pools for these purposes.

[0119] Nodes can receive rewards for performing services.

[0120] The node level can have a corresponding reward queue. When a node joins the trust network 100, it may be placed at the bottom of the queue. As long as it actively provides services (e.g., service proof) in the trust network 100, it can queue up. When it reaches the top of the queue (e.g., the top 10%), it can be eligible for reward selection. In a specific example, the random selection probability can be 1 / n, where n is the number of nodes in the top 10% of the queue.

[0121] A node contribution program may enable nodes to jointly develop algorithms for consensus trust scores. The program may be a contribution path that enables nodes to better ensure the accuracy of algorithms (e.g., prediction algorithms) for assigning trust scores. The program may enable the network to evolve so as to best suit new use cases and developments on the blockchain.

[0122] Nodes can separate the work of updating trust scores into cliques based on the organic underlying graph topology of the blockchain. Cliques can then be assigned to nodes for updating and reporting. Separating the graph into cliques prevents individual nodes from having full access to all trust data. There may be address overlap within a clique. As the number of nodes increases, clique overlap may increase.

[0123] Figure 8B The table of shows an exemplary relationship between the number of nodes, the number of groups, address overlap, and the probability that a node will obtain a single address under its control. Here, the overlap can be proportional to the number of nodes. The security of the trust network 100 can be proportional to the number of nodes in the trust network 100. The maximum probability of a node obtaining a specific address is 5%, with a minimum of 5 overlapping addresses per group.

[0124] The probability of a node obtaining a single address can be determined as follows: P(address A) = (number of clusters with address A) / (total number of clusters).

[0125] However, the probability of gaining control over a specific address may be different from the probability of gaining control over any address. If a participant has only one node, the participant cannot gain control over a single address because other nodes also have that address in their clique.

[0126] The high cost of becoming a node can be one way the network prevents Sybil attacks. Since the placement of the clique can be pseudo-random, in some cases a malicious actor would have to control an average of 51% of the nodes to gain 51% control over a single address.

[0127] The hypergeometric distribution described below can be used to calculate the probability of a node randomly obtaining 51% control of a single address or any address. N = number of nodes B = bad node (desired control address) O = Overlap C = Number of nodes that gain 51% control = (O / 2) + 1

[0128] The more nodes there are, the harder it is to launch such an attack. For the base case of 100 nodes with 5 overlaps, the probability of gaining 51% control of an address can be:

[0129] The probability becomes 1.7e-10 when the number of cliques increases to 1,000 and the overlap increases to 50. As the number of nodes and cliques increases, the probability of a 51% attack to control the trust score of any single address approaches 0.

[0130] Fig. 9 An exemplary detailed functional block diagram of a trust score determination module 300 (hereinafter referred to as “trust module 300 ”) and a local trust data store 302 is shown. Fig.10 A method is shown describing the operation of the trust module 300. Fig. 9 , the trust module 300 collects and processes various data described herein. The processed data may be contained in a local trust data store 302. The data associated with a single blockchain address is shown in this figure as a blockchain address record 304. The record data store 1110 may include multiple such blockchain address records 304, each record for a different blockchain address. Each blockchain address record 304 may include a blockchain address 306 that uniquely identifies the record. The blockchain address records 304 described herein represent data stored in the local trust data store 302. The local trust data store 302 may include a variety of different data structures for implementing the data. Therefore, the blockchain address record 304 may be implemented using one or more data structures different from those explicitly described herein.

[0131] Fig.10 Shows the description Fig. 9In block 1200, the data collection and processing module 1100 collects and processes various types of data 124, such as custody data and fraud data (see Fig.11 ). The data collection and processing module 1100 may store custody and fraud data 1118 associated with the blockchain address in the blockchain address record 304. In addition, the data collection and processing module 1100 may also generate a fraud tag 1120 based on the collected fraud data, which indicates whether the blockchain address is likely to be fraudulent.

[0132] In block 1202, the blockchain collection and processing module 1102 collects and processes blockchain data (e.g., blockchain ledger 122) (e.g., see Fig.12 ). The blockchain collection and processing module 1102 can store the original and processed blockchain data 1122 associated with the blockchain address in the blockchain address record 304. In block 1204, the graph generation and processing module 1104 generates a blockchain graph data structure based on the blockchain data (e.g., see Figures 13A to 13B ). The blockchain graph data structure may be stored in a graph data storage 1112. In addition, the graph generation and processing module 1104 may also process the graph to determine one or more graph-based values ​​1124 (e.g., importance values) that may be used to generate a local trust score.

[0133] In block 1206, the feature generation module 1106 generates a scoring feature 1126 for the blockchain address (e.g., see Fig.14 ). In block 1208, the scoring model generation module 1108 generates one or more scoring models based on the scoring features and other data (e.g., labeled fraud data). The one or more scoring models may be stored in the scoring model data storage 1114. In block 1210, the score generation module 1116 generates one or more local trust scores 308 for the blockchain address using the one or more scoring models and the scoring features associated with the blockchain address (e.g., see Fig.15 ). Data related to the request and response of the consensus trust score can be stored as request data 1128 of the blockchain address record 304.

[0134] Now, combined with Figures 11 to 13A and Figures 14 to 17 Detailed examples of the trust module 300 and the local trust data storage 302 are described. For the sake of illustration, various modules and data storages are omitted in the drawings. For example, various modules and data storages are omitted to focus on the functions associated with the modules and data storages shown.

[0135] Fig.11 Data collection and processing of fraud and custodial data sources are shown. Fig.12 The collection and processing of blockchain data is shown. Figures 13A to 13B The generation and processing of blockchain graph data structures are shown. Fig.14 Scoring feature generation and scoring model generation are shown. Fig.15 It shows the generation of a local trust score of a blockchain address using a scoring model and scoring features of the blockchain address.

[0136] Reference Fig.11 , the data collection and processing module 1100 includes a data collection module 1100-1 that collects data from the fraud and custody data source 124. In addition, the data collection and processing module 1100 also includes a data processing module 1100-2 that processes the collected data. The original and processed data 1118 can be stored in the record data storage 1110. The data collection module 1100-1 can collect data in a variety of ways. In some embodiments, the data collection module 1100-1 can collect selected data, such as selected / purchased data provided by partners / customers. In some cases, the data can be structured data that has been peer-reviewed by users.

[0137] In some embodiments, the data collection module 1100-1 can be used to automatically collect data (e.g., crawl / crawl a website). For example, the data collection module 1100-1 can be used to perform targeted data collection, such as collecting data from a specific social media account. For another example, the data collection module 1100-1 can perform more general data collection, such as more general website crawling / crawl.

[0138] The data collection module 1100-1 can collect custody data from the custody data source 124-1. The custody data can indicate a party that owns / controls a blockchain address (e.g., a key). Exemplary parties that can custody a blockchain address can include, but are not limited to, exchanges, wallets, and banks. In some embodiments, the custody source 124-1 can provide the custody data.

[0139] In some embodiments, the trust module 300 may implement custodian-specific trust score generation. For example, the trust module 300 may select a particular scoring model based on the custodian associated with the blockchain address. In some embodiments, the trust module 300 may implement client / custodian specific reporting of blockchain addresses (e.g., based on the custodian associated with the blockchain address). For example, the trust report may be formatted in a particular manner for a particular custodian.

[0140] The data collection module 1100-1 collects data that can provide evidence of fraud from various fraud data sources 124-2. The trust module 300 can determine the fraud probability of the blockchain address based on the fraud data. For example, the trust module 300 can mark the blockchain address as fraudulent based on the fraud data. Subsequently, the trust module 300 can generate a scoring feature and a scoring model based on the marked blockchain address.

[0141] In some embodiments, the trust module 300 can be used to collect databases and lists indicating fraudulent activities associated with blockchain addresses. In one example, the fraud data source 124-2 can include a fraud information database, such as a third-party fraud information database and / or a customer-provided fraud information database. The database can be provided by a public entity (e.g., a government watch list) and / or a private entity (e.g., a company-generated watch list).

[0142] In some examples, a fraud information database may be provided in the form of a blacklist that includes a list of blockchain addresses that have been identified as having participated in fraud. In this example, the data acquisition module 1100 may collect a public blacklist, purchase a blacklist, and / or receive a blacklist from a client. In some cases, the blacklist may have been peer-reviewed by a community of trusted parties (e.g., experts). In some embodiments, if the address is included in the blacklist, the data processing module 1100-2 may mark the address as fraudulent. In other embodiments, the presence of a blockchain address in the blacklist may be used as a scoring feature to determine whether a blacklisted blockchain address is likely to be fraudulent.

[0143] In some embodiments, the data collection module 1100-1 can be used to collect fraud data from a target location, such as a location on the Internet specified by a Web uniform resource locator (URL) and / or a username (e.g., a specific social media account). In some embodiments, a location (e.g., a Web URL) can be provided where the data collection module 1100-1 can monitor fraudulent activity. For example, a customer can provide a Web address to a social media page associated with a specific blockchain address. In this example, if a blockchain address different from the specified blockchain address appears in the Web content of the Web address, the data processing module 1100-2 can identify fraudulent behavior. The trust network 100 can inform users of fraudulent addresses and use the fraudulent activity evidence described herein.

[0144] Although the data collection module 1100-1 can be used to collect fraud data from a target location, in some embodiments, the data collection module 1100-1 can generally crawl and scrape other data sources (e.g., social media sites) to collect fraud data and other data. In these examples, the data processing module 1100-2 can identify fraudulent blockchain addresses based on behavior across social media platforms, such as fraud that requests funds from multiple social media users, new accounts that directly request funds from other users.

[0145] In some embodiments, the trust module 300 (e.g., the data processing module 1100-2) may mark the blockchain address as fraudulent (e.g., at 1120). For example, the data processing module 1100-2 may mark the blockchain address as fraudulent based on the fraud data. In a specific instance, if the blockchain address is included in one or more blacklists, the data processing module 1100-2 may mark the blockchain address as fraudulent. If the blockchain address is not marked as fraudulent, the fraud status of the blockchain address may be unknown. In other words, an unmarked blockchain address does not necessarily mean that the blockchain address is not fraudulent. In some cases, a blockchain address may be marked as a known good address that is not fraudulent. For example, an exchange wallet or a verified smart contract may be an example of a known good address.

[0146] For blockchain addresses that are assigned one or more trust scores and are marked as fraudulent, the fraud label of the blockchain address plays a decisive role in the fraud problem of the blockchain address. Therefore, in these embodiments, the trust module 300 can ignore the trust score of the blockchain address and / or set the trust score of the blockchain address to 100% fraud certainty. In other embodiments, the trust module 300 can continue to calculate the trust score of the blockchain address marked as fraudulent.

[0147] In addition, the fraud tag 1120 may also include fraud tag metadata. The fraud tag metadata may indicate the source of the information used to mark the blockchain address as fraudulent (e.g., a specific blacklist). In addition, the fraud tag metadata may also indicate the type of fraud (e.g., phishing scam). In addition, the fraud tag metadata may also include the content of the fraudulent behavior, such as text associated with the fraud (e.g., text posted online or via email). The trust module 300 may return the fraud tag metadata to the requesting device to clearly explain why the trust module 300 has marked the blockchain address as fraudulent.

[0148] Reference Fig.12, the blockchain data collection module 1102-1 (hereinafter referred to as "blockchain collection module 1102-1") can collect blockchain data from the blockchain network 118. For example, the blockchain collection module 1102-1 can collect the blockchain ledger 122. The blockchain collection module 1102-1 can store the original blockchain data 1122 in the record data storage 1110. The blockchain processing module 1102-2 can process the blockchain ledger 122 and store the processed blockchain value 1122 (e.g., transaction amount, dormancy, etc.) in the record data storage 1110 (e.g., in the blockchain address record 304).

[0149] The blockchain ledger 122 includes data for multiple blockchain transactions. Each transaction may include: 1) a sender address; 2) a recipient address; and 3) a value amount. In addition, the transaction may also include transaction identification data that uniquely identifies the transaction on the blockchain. The transaction identification data may be referred to as a transaction identifier (ID) in this article. In some embodiments, a transaction hash may be used as a unique identifier for a transaction. The transaction hash may be a pseudo-random string that uniquely identifies a transaction. In addition, some blockchains may also include additional data that can be stored and processed. Exemplary additional data may include internal transaction data.

[0150] The blockchain transaction ledger may include a plurality of blocks. Each block may include a collection of transactions. A block may include a collection of transactions that occurred on the blockchain within a specific time period. A block may include a block number (e.g., a sequentially assigned number) that may serve as an identifier for the block.

[0151] Different blockchain networks may include different types of blockchain ledgers. For example, different blockchain ledgers may include blockchain transaction data in different formats. For another example, different blockchain ledgers may include additional or alternative data associated with a transaction. The blockchain acquisition module 1102-1 may be used to collect blockchain transaction data of different blockchains. For example, the blockchain acquisition module 1102-1 may include different modules, each of which may be used to collect blockchain transaction data of different blockchain networks.

[0152] In some cases, the blockchain network may include timing data indicating the blockchain transaction time (e.g., relative / absolute time). In these embodiments, the blockchain acquisition module 1102-1 may use the provided timing data to indicate the time when the transaction occurred. In other cases, the blockchain network may not include timing data. In these embodiments, the blockchain acquisition module 1102-1 may generate a timestamp for the transaction. In some cases, the timing data may be generated from the block assigned to the transaction.

[0153] The blockchain processing module 1102-2 may determine a plurality of values ​​based on the collected blockchain data. The trust module 300 (e.g., the score generation module 1116) may use the determined values ​​as scoring features for determining the trust score. In addition, the trust module 300 (e.g., the model generation module 1108) may also generate a scoring model based on the determined values. The blockchain value of the blockchain address may be stored in a blockchain address record (e.g., at 1122).

[0154] The blockchain processing module 1102-2 may include functionality for determining the different blockchain values ​​described herein. For example, Fig.12 The blockchain processing module 1102-2 shown in the figure includes a dormancy determination module 1400 that can determine the dormancy value of the blockchain address. In addition, the blockchain processing module 1102-2 also includes a behavior identification module 1402, which can determine whether the blockchain address matches one or more behavior templates (e.g., patterns or fingerprints). Fig.12 The modules 1400 and 1402 included in the blockchain processing module 1102-2 shown in FIG. 1 are only exemplary modules. Therefore, the blockchain processing module 1102-2 may include Fig.12 Additional / alternative modules to those shown in . In addition, Fig.12 The blockchain values ​​included in the blockchain data 1122 shown in FIG. 1 are exemplary values ​​only. Therefore, the blockchain data of the blockchain address may include additional / alternative values.

[0155] In some embodiments, the blockchain processing module 1102-2 can determine a value associated with the amount of funds transacted by the blockchain address. For example, the blockchain processing module 1102-2 can determine: 1) the total amount of funds received by the blockchain address; 2) the total amount of funds sent by the blockchain address; 3) the total amount of funds transferred to and from the blockchain address; and 4) the average transaction amount of the blockchain address.

[0156] In some embodiments, the blockchain processing module 1102-2 may determine a value associated with the transaction timing associated with the blockchain address. For example, the blockchain processing module 1102-2 may determine the activity level of the blockchain address, such as the frequency with which the address is involved in transactions (e.g., the average time and variance between transactions). As another example, the blockchain processing module 1102-2 may determine the age of the transactions associated with the address. Another exemplary scoring feature related to timing may include the time when funds are transferred to and from the blockchain address (e.g., the timing of a single transaction or the average time of multiple transactions). In some cases, fraudulent activity may not exit the address immediately.

[0157] As another example, the dormancy determination module 1400 can determine a dormancy probability for a blockchain address. An exemplary dormancy probability can indicate an amount of time that a blockchain address is not associated with a transaction. For example, the dormancy probability can indicate an amount of time that a blockchain address is not associated with a transaction relative to the expected time between transactions for the address. In other words, an exemplary dormancy time can indicate a probability that a blockchain address is dormant. With respect to dormancy probability, in some cases, a fraudulent address may not remain active for a long time.

[0158] In some embodiments, the blockchain processing module 1102-2 can determine values ​​associated with transaction timing and transaction amounts. For example, the blockchain processing module 1102-2 can determine: 1) the total amount of funds received in a period of time; 2) the total amount of funds transferred in a period of time; and 3) the total amount of funds traded in a period of time.

[0159] In some embodiments, the blockchain processing module 1102-2 may determine a value associated with how the blockchain address interacts with other blockchain addresses. For example, the blockchain processing module 1102-2 may determine a list of addresses that have interacted with the blockchain address and / or a total number of addresses that have interacted with the blockchain address (e.g., as a sender and / or a receiver). This value may be calculated iteratively to determine how important the address is to its local neighborhood and the blockchain as a whole.

[0160] The blockchain processing module 1102-2 includes a behavior identification module 1402, which can determine whether the blockchain address matches a specific behavior template that may indicate fraud. If the behavior identification module 1402 identifies that the blockchain address behavior matches the behavior template, the match can be stored in the blockchain address record 304. In some embodiments, the local trust data storage 302 can store a set of behavior templates. In these embodiments, the behavior identification module 1402 can determine whether the behavior of the blockchain address matches one or more of the set of behavior templates.

[0161] A behavior template may include a set of conditions that, if met, cause the behavior template to match a blockchain address. A behavior template may include conditions based on any blockchain value described herein. For example, a behavior template may include conditions based on at least one of: 1) the amount of funds transferred; 2) the number of transactions; 3) transaction timing (e.g., transaction rate); 4) how the blockchain address interacts with other addresses (e.g., the number of different senders / receivers and transaction patterns); and 5) the dormancy likelihood of the address.

[0162] In one specific example, a behavior template may define a threshold number of transactions at a threshold rate (e.g., 5 transactions in and out). In this example, if a blockchain address participates in a small number of transactions (e.g., less than or equal to a threshold number) in rapid succession (e.g., a short, fast burst), the behavior template may be matched. Another exemplary condition for a behavior template may be a high probability of dormancy, since any transaction may be limited to a burst. In another specific example, a behavior template may define a high threshold number of transactions (e.g., abnormally high for a blockchain). In this example, if a blockchain address participates in a number of transactions greater than a transaction threshold, the behavior template may be matched. In this example, the behavior template may also require a high importance value, so that the blockchain address needs to have a minimum importance value to match the template. In addition, the behavior template may require a low probability of dormancy, since fraudulent behavior may follow regular transaction patterns.

[0163] If the blockchain address matches the behavior template, the match can be stored as a blockchain value in the blockchain address record 304. For example, the blockchain address record can store a binary value (e.g., 0 / 1) for each behavior template indicating whether the behavior template matches. In embodiments where the behavior identification module 1402 determines a value (e.g., a decimal or integer value) indicating the degree to which the blockchain address matches the behavior template, the value can be stored in the blockchain address record 304.

[0164] Reference Figures 13A to 13B , the graph generation module 1104-1 generates a blockchain graph data structure based on blockchain transactions of multiple different blockchain addresses. The graph data structure includes blockchain addresses and transactions between blockchain addresses. For example, for each blockchain address, the graph data structure may describe each transaction associated with the blockchain address and the direction of the transaction, such as whether the blockchain address is a sender or a receiver. In addition, the graph data structure may also include the transaction amount of each transaction. In some embodiments, the graph data structure may include fraud data (e.g., a fraud tag). The fraud tag may indicate that the address has been involved in fraudulent activity (e.g., a known fraud address).

[0165] Fig. 13B An exemplary representation of a graph data structure is shown. Fig. 13B In , a graph data structure is represented by nodes and edges. The graph data structure includes blockchain addresses as nodes of the graph. Transactions between blockchain addresses are edges between nodes, where arrows indicate the direction of the transaction (e.g., the recipient is at the arrow head). The amount of each transaction is marked adjacent to the arrow. The fraud label for each blockchain address is included above the node. Fig. 13BThere are 4 traders with blockchain addresses A, X, Y, and Z. Blockchain address Y has been marked as a fraudulent address. The other blockchain addresses have unknown fraud status. The graph shows 3 blockchain transactions. The first transaction is from blockchain address X to blockchain address A for a first amount (i.e., amount 1). The second transaction is from blockchain address Y to blockchain address A for a second amount (i.e., amount 2). The third transaction is from blockchain address A to blockchain address Z for a third amount (i.e., amount 3).

[0166] The graph data structure is stored in the graph data storage 1112. The graph generation module 1104-1 can update the graph data structure over time so that the graph data structure includes the latest representation of transactions contained in the blockchain network 118.

[0167] The graph processing module 1104-2 may use the graph data structure to generate a graph-based value 1124. The graph-based value 1124 may be stored in the blockchain address record 304. The graph processing module 1104-2 may update the graph-based value 1124 over time.

[0168] In some embodiments, the graphics processing module 1104-2 may determine one or more importance values ​​for each blockchain address. The importance value may indicate the importance of the blockchain address relative to other blockchain addresses (e.g., relative to all blockchain addresses). In some embodiments, the graphics processing module 1104-2 may determine the importance value of the blockchain address based on neighboring blockchain addresses. In some embodiments, the graphics processing module 1104-2 may weight the contribution of neighboring blockchain addresses according to the importance of the blockchain address.

[0169] In some embodiments, the graphics processing module 1104-2 may determine the importance value based on counting the number of transactions belonging to the blockchain address range. In this particular example, more transactions may indicate that the blockchain address is more important than other blockchain addresses with fewer incoming transactions. In some embodiments, the graphics processing module 1104-2 may determine the importance value by determining the number of different blockchain addresses that interact with the blockchain. In some embodiments, the graphics processing module 1104-2 may determine the importance value, which indicates the amount of funds transferred into the blockchain address relative to the amount of funds transferred out of the blockchain address (e.g., the amount transferred out divided by the amount transferred in). In another example, the graphics processing module 1104-2 may determine the importance value of the number of transactions transferred into the blockchain address relative to the amount of transactions transferred out of the blockchain address (e.g., the total number of transferred in transactions divided by the total number of transferred out transactions). In another example, the graphics processing module 1104-2 may determine the importance value based on the amount of transactions transferred into the blockchain address, the amount of transactions transferred out of the blockchain address, the amount of funds input, and the amount of funds output. In some implementations, the graphics processing module 1104 - 2 may implement other processing techniques, such as page ranking (PR) and / or personalized hitting time (PHT).

[0170] In some embodiments, the graph processing module 1104-2 may determine a fraud distance score feature indicating the distance of the blockchain address from fraud in the graph. For example, the fraud distance score feature may include a minimum distance to fraud, an average distance to fraud, and / or a number of fraudulent blockchain addresses that interacted with the blockchain address.

[0171] Reference Fig.14 , the feature generation module 1106 can generate a scoring feature for each blockchain address. The trust module 300 (e.g., the score generation module 1116) can generate one or more local trust scores for the blockchain address based on the scoring features associated with the blockchain address. The scoring features can be numerical values ​​(e.g., integers or decimal values), Boolean values ​​(e.g., 0 / 1), enumerated values, or other values.

[0172] The feature generation module 1106 can generate scoring features based on any blockchain value described herein. For example, a scoring feature for a blockchain address can be based on 1) a quantity associated with a transaction; 2) timing data associated with a transaction (e.g., sleep); 3) a graph-based value associated with the blockchain address (e.g., one or more importance values); and / or 4) behavior-based data associated with the blockchain address.

[0173] With respect to behavior-based data, the feature generation module 1106 may generate a Boolean scoring feature that indicates whether the blockchain address matches any behavior template. In another example, the feature generation module 1106 may generate a Boolean scoring feature for each behavior template, such that the scoring feature identifies the matching behavior template. In another example, the feature generation module 1106 may generate a scoring feature that indicates the number of matching behavior templates (e.g., a percentage of all available). In another example, the feature generation module 1106 may not generate a Boolean feature, but instead generate a value indicating the degree to which the blockchain address matches the behavior template, such as a decimal value (e.g., 0.00-1.00) indicating the degree to which the behavior template matches.

[0174] The trust module 300 includes a scoring model generation module 1108 (referred to herein as “model generation module 1108”), which can generate a scoring model 1600 for generating a local trust score for a blockchain address. For example (see, e.g., Fig.15 ), the scoring model can receive the scoring features of the blockchain address and output the local trust score of the blockchain address. The model generation module 1108 can generate a scoring model based on the training data. The training data can include scoring features and associated fraud labels. The set of scoring features used as input by the model is referred to as a "feature vector" in this article. In some embodiments, the trust module 300 can use a deep neural network for scoring, where the classification is determined by known good / bad addresses. The neural network can be trained on the feature vector. In some embodiments, the trust module 300 can utilize models based on random forests, decision trees, and logistic regression, and combine them in the form of "expert consensus."

[0175] The model generation module 1108 can generate a scoring model (e.g., a machine learning model) based on training data, the training data including a set of feature vectors and their corresponding fraud labels (e.g., fraud: 0 / 1). In this example, the generated scoring model can output a local trust score (e.g., a decimal value) that indicates the likelihood that the blockchain address is fraudulent. In some embodiments, the training data can also include a label that actively indicates that the blockchain address is a known good address (e.g., non-fraudulent).

[0176] Although the trust module 300 can generate a scoring model for generating a local trust score, the trust module 300 can generate the local trust score in other ways. For example, the trust module 300 can generate the local trust score using a scoring function (e.g., a weighted scoring function) and / or a heuristic model that generates a local trust score according to a rule.

[0177] Fig.15An exemplary score generation module 1116 is shown that generates a local trust score for a blockchain address. The score generation module 1116 can generate a local trust score for a blockchain address by using a feature vector of the blockchain address and a scoring model. For example, the score generation module 1116 can input the feature vector of the blockchain address into a scoring model that outputs a local trust score.

[0178] The local trust score 308 for the blockchain address can be stored in the blockchain address record 304. The score generation module 1116 can generate a local trust score for each blockchain address. The score generation module 1116 can also update the local trust score over time, such as when additional data is acquired. The blockchain address record 304 can include the most recently calculated local trust score, as well as the historically calculated local trust score. In some embodiments, the trust module 300 can use changes in the local trust score (and historical scores) to provide a real-time alert system so that if the trust score of an address drops (e.g., as in the case where an organization receives fraudulent funds through an address they control), a party can be notified. The trust module 300 can provide an API that can access its services, which can freeze transactions and alert relevant personnel of the organization (e.g., by phone, email, etc.).

[0179] The score generation module 1116 can be used to provide a local trust score in a variety of formats. In some embodiments, the local trust score can be an integer value with a minimum and a maximum value. For example, the local trust score can be in the range of 1-7, where a trust score of "1" indicates that the blockchain address is likely to be fraudulent. In this example, a trust score of "7" can indicate that the blockchain address is unlikely to be fraudulent (i.e., very trustworthy). In some embodiments, the local trust score can be a decimal value. For example, the local trust score can be a decimal value indicating the likelihood of fraud (e.g., a percentage value in the range of 0-100%). In some embodiments, the local trust score can be in the range of from a maximum negative value to a maximum positive value (e.g., -1.00 to 1.00), where a larger negative value indicates that the address is more likely to be fraudulent. In this example, a larger positive value can indicate that the address is more likely to be trustworthy. Customers can select the trust score format they prefer.

[0180] In some embodiments, the blockchain address record 304 may store request data 1128 for each trust request. The request data 1128 may include any data associated with the received trust request and / or the provided trust response. The request data 1128 may be stored in the associated blockchain address record 304. In some embodiments, the blockchain address record may store request data 1128 each time a trust request is made for a blockchain address. In these embodiments, the request data 1128 may indicate the number of times a trust request has been made for the blockchain address. In addition, the request data 1128 may also indicate the blockchain address from which the trust request was made, the consensus trust score reported to the requester, and the time of the request. Thus, the request data 1128 may show trends over time for parties requesting the trust score of the blockchain address. In some embodiments, the scoring feature of the blockchain address may include a scoring feature based on the request data 1128. One exemplary scoring feature may be the total number of times a trust request has been made for the blockchain address. Another exemplary scoring feature may be a number of different blockchain addresses from which a trust request has been made for the blockchain address. Other exemplary features may include the frequency with which trust requests have been made for the blockchain address (e.g., the number of requests over a period of time).

[0181] Although the trust module 300 can calculate a single local trust score for each blockchain address, regardless of whether the blockchain address is a sender or a receiver, in some embodiments, the trust module 300 can calculate a receiver trust score and a sender trust score for each address. In one example, a sender trust score for a blockchain address that frequently becomes a victim of fraud can be set to be less trustworthy than a blockchain address that does not frequently become a victim of fraud. In another example, a blockchain address that frequently becomes a victim of phishing scams may not have a modified receiver trust score when there is no evidence of malicious activity associated with receiving funds at the blockchain address.

[0182] Figures 16 to 21 The blockchain network 1800 may be implemented therein by a trust network 1802-1 (e.g., including trust nodes 1802-1a, 1802-1b to 1802-1N) or a centralized trust system 1802-2 (e.g., see Fig.16 and 19A ) provides an environment for smart contracts. For example, the blockchain network 1800 may provide a virtual machine (VM) 1804 (e.g., a decentralized virtual machine) for executing smart contracts. The smart contracts described herein may include a variety of functions. For example, a smart contract may request a trust score for a potential recipient address from the trust network / system 1802, and then complete or cancel a blockchain transaction based on the trustworthiness of the recipient address.

[0183] Fig.16 The environment of a blockchain network 1800 that executes smart contracts is shown. The blockchain network 1800 can receive smart contracts from various sources such as a decentralized trust network 1802-1 or a centralized trust system 1802-2 (hereinafter referred to as "trust system 1802-2"). The blockchain network 1800 includes a blockchain protocol 1806 and a blockchain ledger 1808, as described above. Fig.16 described. Fig.16 The blockchain protocol 1806 shown in the figure can create a virtual machine 1804 (e.g., a process virtual machine) that executes a smart contract 1810. For example, the virtual machine 1804 can execute the smart contract 1810 on one or more nodes of the blockchain network 1800.

[0184] Fig.16 The distributed trust network 1802-1 shown in FIG. 1 may provide the same Figure 1A In addition, trust network 1802-1 may also provide functionality associated with smart contracts. For example, trust network 1802-1 may provide smart contracts for execution in blockchain network 1800. In some embodiments, trust network 1802-1 may include smart contract template 2100 (e.g., see Fig.19A ), which can be provided to parties (e.g., exchanges / wallets) for execution in blockchain network 1800. In some embodiments, trust network 1802-1 can also provide an interface (e.g., API) for completing a smart contract template with data such as a sender address, a receiver address, and a specified transaction trust level. In addition, trust network 1802-1 can also be used to provide a trust score to a smart contract instantiated in blockchain network 1800. The smart contract can complete or cancel the transaction based on the received trust score.

[0185] In some embodiments, a party (e.g., a company) may operate a trust system 1802-2 that provides functionality associated with the smart contracts described herein. In some embodiments, the same party (e.g., a company) may operate one or more nodes in the trust network 1802-1 and also operate the trust system 1802-2. For example, the party may provide different trust nodes / systems for different business partners / customers. In other embodiments, different parties (e.g., companies) may operate trust network nodes and one or more trust systems. In addition, different trust systems / networks may be implemented for different blockchain networks.

[0186] Trust system 1802-2 can provide similar functionality to trust network 1802-1. Trust system 1802-2 (e.g., a server) generates trust scores for traders (e.g., user devices 102, intermediary systems 104, and automated trading systems 106). For example, trust system 1802-2 can generate trust scores for different blockchain addresses interacting in blockchain network 1800. Trust network 1802-2 can determine trust scores based on data retrieved from various data sources and blockchain data based on them. For example, trust system 1802-2 can determine trust scores for blockchain transactions in a similar manner as described with respect to trust node 100-1. Traders can request trust scores from trust system 1802-2 before participating in a blockchain transaction that trades funds on a blockchain.

[0187] Fig.19A An exemplary trust system 1802-2 is shown that can determine a trust score for a blockchain address. Fig.19A The trust system 1802-2 shown in FIG. 1 includes modules that perform similar functions as described with respect to the trust node 100-1. Fig.19A The detailed exemplary trust system 1802-2 shown in FIG. 1 is merely an exemplary trust system. Therefore, the trust system may include Fig.19A Additional / alternative functionality to that shown.

[0188] The data acquisition and processing module 2102 acquires and processes various types of data, such as custody data and fraud data, which can be stored in the trust system data storage 2101. In addition, the data acquisition and processing module 2102 can also generate a fraud tag based on the collected fraud data, which indicates whether the blockchain address is likely to be fraudulent. The blockchain acquisition and processing module 2104 acquires and processes blockchain data that can be stored in the trust system data storage 2101. In addition, the trust system data storage 2101 can also include multiple blockchain address records. The graph generation and processing module 2106 generates a blockchain graph data structure based on the blockchain data. The graph generation data structure can be stored in the graph data storage 2103. In addition, the graph generation and processing module 2106 can also process the graph to determine one or more graph-based values ​​(e.g., importance values) that can be used to generate a trust score. The feature generation module 2108 generates scoring features for the blockchain address. The scoring model generation module 2110 generates one or more scoring models based on the scoring features and other data (e.g., labeled fraud data). The scoring model can be stored in the scoring model data storage 2105. The trust score generation module 2112 generates one or more trust scores for the blockchain address using one or more scoring models and scoring features associated with the blockchain address.

[0189] Trust system 1802-2 includes a trader interface module 2114 that receives a trust request made for a blockchain address from a requesting device. A trust request may refer to a request other than a contract trust request. The trader interface module 2114 sends a trust response including a trust score to the requesting device.

[0190] As described in conjunction with trust network 1802-1, trust system 1802-2 can also provide smart contract templates 2100 and completed smart contracts to requesters for execution in blockchain network 1800. In addition, trust system 1802-2 can also be used to provide trust scores to smart contracts instantiated in blockchain network 1800.

[0191] Fig.17 Shows the description Fig.16 Methods of operating the environment. Fig.18 Shown according to Fig.17 A functional block diagram of the interaction between a sender user device 102, an intermediary transaction system 104 (e.g., an exchange or a centralized wallet system) (hereinafter referred to as “intermediary system 104”), a blockchain network 1800, and a trust network / system 1802. Figures 19A-19B An exemplary trust system 1802-2 and trust node 1802-1a that implements functionality associated with a smart contract are shown. For example, Figures 19A to 19B Contract distribution modules 2120-1, 2120-2, contract template data storage 2122-1, 2122-2, and contract interface modules 2124-1, 2124-2 that implement functions associated with smart contracts are shown.

[0192] Now, combined with Figures 18 to 19B describe Fig.17 . In box 1900, the smart contract template 2100 is provided by the trust network / system 1802 for completion and distribution. The contract distribution module 2120 and the contract template data storage 2122 provide smart contract completion and distribution functions for the trust system 1802-2 and the trust node 1802-1a. The contract template data storage 2122 stores the smart contract template. The contract distribution module 2120 provides an interface (e.g., an API) that a party (e.g., an exchange) can use to modify / complete the smart contract template 2100 and obtain the completed smart contract for instantiation in the blockchain network 1800. In the trust network 1802-1, smart contract template storage, smart contract generation, and smart contract distribution can be decentralized across multiple trust nodes. Fig.19B The trust node 1802-1a shown in FIG. 1 is an example trust node. Thus, the trust node may include additional and / or alternative functionality (e.g., see Figure 6 ).

[0193] Reference Fig.19A , the smart contract template 2100 may include a smart contract code 2130 executed in the blockchain network 1800. The smart contract code 2130 may include computer-readable instructions that can be executed by one or more processing units. Smart contracts can be written in one or more languages ​​and compiled into bytecodes that are deployed in the blockchain network 1800 for execution. The smart contract code can be executed in the blockchain network 1800 to implement the functions of the smart contracts described herein. For example, the smart contract code 2130 may include a series of rules (e.g., business rules) that run in the blockchain network 1800. Exemplary functions performed by the smart contract code 2130 may include, but are not limited to: 1) generating a contract trust request; 2) receiving a trust score; 3) determining whether the trust score indicates that the recipient is trustworthy; and 4) completing / canceling the transaction based on the trust score. Since smart contracts can be implemented in a blockchain network, smart contracts may also be referred to as "blockchain smart contracts" or "blockchain smart contracts based on decentralization."

[0194] The smart contract template 2130 may include fields for receiving values ​​that may complete the smart contract template 2130. The intermediary system 104 (e.g., an exchange) may provide values ​​for completing the fields in the smart contract. Exemplary smart contract fields may include, but are not limited to: 1) contract trust threshold field 2132; 2) sender address field 2134; 3) receiver address field 2136; 4) transaction amount field 2138; 5) trust fee field 2140; and 6) trust fee payment address 2142. The sender trader may provide some / all values ​​to the intermediary system 104 for completing the smart contract (e.g., see Fig.19A ). The contract distribution module 2120 can complete the smart contract template according to the value received from the intermediary system 104. The intermediary system 104 can instantiate the completed smart contract in the blockchain network 1800.

[0195] In block 1902, an interface is provided to a sender trader for arranging a transaction with a recipient address. For example, an intermediary system 104 (e.g., an exchange) may provide a user interface (e.g., a GUI) for the sender trader to establish a trust-protected transaction with the recipient. The interface may receive sender input for establishing and completing a transaction. For example, the interface may include a GUI element for receiving one or more addresses, and a specified contract trust threshold. In some embodiments, a trust system / node administrator may work with various parties (e.g., exchanges / wallets) to establish an interface (e.g., an exchange / wallet interface).

[0196] Figures 19A to 19B An exemplary sender interface on a user device 102 is shown. The sender interface enables a sender to specify a transaction amount to be sent to a recipient address. Fig.19A In the example, the GUI includes a GUI element that the sender can use to select whether to use trust protection. An exemplary GUI element is a radio button that provides a "yes" / "no" selection to the user. If a trust-protected transaction is selected, there is a GUI element that can receive a user-specified transaction trust level. For example, the sender can select a low, medium, or high risk level transaction by selecting a low, medium, or high GUI button. Fig.19A , the user has selected a medium trust level, as indicated by the darker "Med." GUI element. The selectable risk levels may correspond to contract trust thresholds. For example, a low risk level may require a higher trust score (e.g., higher credibility) to complete a transaction compared to a medium or high risk level. In some embodiments, the intermediary system 104 may include a preset contract trust threshold (e.g., set by the exchange) rather than providing a GUI element for selecting a risk level to the user. In some embodiments, the smart contract template 2100 may include a preset contract trust threshold.

[0197] Fig.19A The GUI shown in provides a summary of the total amount of the trust protected transaction. For example, the GUI indicates the trust fee and network fee for trust reporting and contract execution, respectively. Fig.19B An exemplary GUI provided by the intermediary system 104 indicating that the transaction has been completed is shown. Figures 19A to 19B The GUI shown in can be provided by the intermediary system 104 (eg, via a web-based interface) and / or an application installed on the user device 102.

[0198] In block 1904, a smart contract is generated based on the sender's input and instantiated in the blockchain network 1800. For example, the intermediary system 104 may input to the sender interface (e.g., see Fig.19A ) is sent to the contract distribution module 2120. The contract distribution module 2120 can generate a completed contract using the received value and the smart contract template 2100. The contract distribution module 2120 can send the completed contract to the intermediary system 104. The intermediary system 104 can then instantiate the smart contract in the blockchain network 1800.

[0199] The intermediary system 104 can instantiate a smart contract with different completed fields. For example, in some embodiments, the intermediary system 104 can instantiate a smart contract with a specified contract trust threshold. In another example, the intermediary system 104 can instantiate a smart contract without specifying a contract trust threshold. In this example, after the smart contract is instantiated in the blockchain network 1800, the contract trust threshold can be sent to the contract (e.g., sent by the intermediary system 104). In a similar manner, the intermediary system 104 can include any value described herein in the instantiated smart contract, or can provide any value after the smart contract is instantiated. The number of defined values ​​included in the smart contract can vary based on the implementation selected by the operator of the intermediary system 104 and / or the capabilities of the blockchain network 1800. It can be assumed hereinafter that the completed smart contract includes the values ​​of the contract trust threshold, the sender address, the receiver address, the transaction amount, the trust fee, and the trust fee payment address.

[0200] Other smart contract implementations may vary based on decisions made by an operator of the intermediary system 104 and / or the capabilities of the blockchain network 1800. For example, in some cases, rather than retrieving a new smart contract for each transaction and completing the smart contract, the smart contract may remain in the blockchain network and run subsequent transactions based on newly received values ​​(e.g., new recipient addresses and transaction amounts). In some cases, the intermediary system may retrieve a single version of the smart contract from a trust network / system and modify it for multiple transactions.

[0201] In some embodiments, the sender pays a network fee to instantiate a smart contract in the blockchain network 1800. In these embodiments, the network fee can be paid from the sender address to instantiate the smart contract. The blockchain network 1800 can begin executing the smart contract after paying the network fee. In some cases, the network fee can be referred to as "gas". In some embodiments, the network fee can be set by the blockchain network 1800. Over time, the blockchain network 1800 can modify the network fee. Although the sender address can pay the network fee for the instantiation and execution of the smart contract, in some embodiments, the network fee can be paid by an existing intermediate system address.

[0202] The instantiated smart contract 1810 is associated with a smart contract address in the blockchain network 1800. After the smart contract is instantiated, sender funds (e.g., transaction amount and trust fee amount) can be transferred to the contract blockchain address. The smart contract 1810 can hold and allocate funds according to the smart contract 1810 described herein. The intermediary system 104 can send the instantiated contract address to the trust network / system 1802. The trust network / system 1802 can monitor the instantiated contract address to verify the trust fee payment and monitor the blockchain ledger 1808 for contract trust requests.

[0203] As described herein, the trust network / system 1802 may receive a trust fee payment for providing a trust report. With respect to the trust report provided to the smart contract 1810, the trust network / system 1802 may receive payment at a trust fee payment address in the blockchain network 1800. The trust fee payment address may be controlled by the trust network / system 1802. In some embodiments, the trust network / system 1802 may include one or more blockchain addresses for receiving trust fee payments. The trust network / system 1802 may obtain one or more trust fee payments from the trust fee payment address. For trust system 1802-2, the trust fee may be set / modified by the operator of the trust system 1802-2. For trust network 1802-1, the reward protocol may set / modify the trust fee.

[0204] In box 1906, the smart contract 1810 obtains a trust score from the trust network / system 1802. In order to obtain the trust score, the smart contract 1810 can generate a contract trust request for the recipient address. The contract trust request can be a request for a trust report of the recipient address (e.g., one or more trust scores of the recipient address). The smart contract 1810 can generate a contract trust request in a variety of ways. In some embodiments, the smart contract 1810 can write the contract trust request to the ledger under the contract address (e.g., blockchain ledger 1808). The contract trust request may include a code written to the ledger 1808, which identifies the ledger entry as a contract trust request for the trust network / system 1802. In addition, the contract trust request may indicate the recipient address for which the trust report is requested. Although the smart contract 1810 can write the trust request to the ledger 1808, in some embodiments, if the blockchain network 1800 supports this function, the smart contract 1810 can be used to send the request to the trust network / system 1802 (e.g., via an API).

[0205] The trust network / system 1802 (e.g., the contract interface module 2124) can be used to scan the blockchain ledger 1808 to identify contract trust requests made by smart contracts 1810. In embodiments where contract addresses are reported to the trust network / system 1802 (e.g., by the intermediary system 104), the trust network / system 1802 can be used to scan the reported contract addresses for contract trust requests.

[0206] In some embodiments, the trust network / system 1802 determines whether the trust fee has been paid before providing the trust score to the smart contract 1810. The trust network / system 1802 (e.g., the contract interface module 2124) can scan the blockchain ledger 1808 to determine whether the trust fee has been paid. For example, the trust network / system 1802 can determine whether the trust fee has been paid by identifying a transaction between a contract address and a trust fee payment address for the trust fee amount.

[0207] After identifying the contract trust request and verifying the trust fee payment, the trust network / system 1802 (e.g., the contract interface module 2124) can identify / calculate the trust score of the receiving address indicated in the contract trust request. The trust network / system 1802 can then send the trust score to the smart contract 1810. Depending on the blockchain network, the way to enter data into the smart contract may vary.

[0208] In box 1908, the smart contract 1810 determines whether the recipient is trustworthy based on the received trust score. In some embodiments, the smart contract 1810 may compare the received trust score with the contract trust threshold to determine whether the recipient is trustworthy. For example, in the case where a larger trust score indicates a more trusted address, when the received trust score is greater than the contract trust threshold, the smart contract 1810 may determine that the recipient address is trustworthy. In this example, when the received trust score is less than the contract trust threshold, the smart contract 1810 may determine that the recipient address is not trustworthy enough. In a specific example, in the case where the trust score is a decimal value indicating the possibility of fraud (e.g., a percentage value from 0% to 100%), the exemplary contract trust threshold may be set to 0.35 (i.e., 35%). As described herein, in some embodiments, the trust score may be in the range from a maximum negative value to a maximum positive value (e.g., -1.00 to 1.00), where a larger negative value indicates that the address is more likely to be fraudulent. In this specific example, the contract trust threshold may be set to a value in the range of -1.00 to 1.00.

[0209] If, in block 1908, the smart contract 1810 determines that the recipient address is credible, in block 1910, the smart contract 1810 sends the transaction amount to the recipient address. If, in block 1908, the smart contract 1810 determines that the recipient address is not credible, in block 1912, the smart contract 1810 returns the transaction amount to the sender address.

[0210] In block 1914, a transaction report is sent to the sender of the aggregated transaction. For example, the intermediary system 104 may read the transaction data from the blockchain network 1800. The intermediary system 104 may then generate a transaction report for the sender user device 102. Fig.19B An exemplary transaction report is shown in FIG. Fig.19B The transaction report shown in indicates that the transaction has been completed because the recipient address is sufficiently trusted.

[0211] Fig. 20 Shows the description Fig.16 23. An exemplary method of operation of an intermediary system 104 of the embodiment of the present invention is provided. In block 2300, the intermediary system 104 generates an interface (e.g., a web-based GUI) for a sender user device 102. In block 2302, the intermediary system 104 receives a contract value, such as a value inserted into the interface, from the sender user device 102. In block 2304, the intermediary system 104 retrieves a smart contract completed by the trust network / system 1802 based on the contract value.

[0212] In block 2306, the intermediary system 104 instantiates the completed smart contract in the blockchain network 1800. In block 2308, the intermediary system 104 reports the smart contract address to the trust network / system 1802. In block 2310, the intermediary system 104 generates a transaction report for the sender based on the completion / cancellation of the transaction associated with the instantiated smart contract.

[0213] Fig.21 Shows the description Fig.16 24. In block 2400, the trust network / system 1802 receives a contract value of a smart contract template from the intermediary system 104. In block 2402, the trust network / system 1802 generates a completed smart contract based on the received contract value. In block 2404, the trust network / system 1802 sends the completed smart contract to the intermediary system 104.

[0214] In block 2406, the trust network / system 1802 receives the contract address of the instantiated smart contract from the intermediary system 104. In block 2408, the trust network / system 1802 monitors the blockchain ledger 1808 for trust fee payments. In block 2410, the trust network / system 1802 monitors the blockchain ledger 1808 for contract trust requests associated with the contract address. In block 2412, the trust network / system 1802 sends the trust score of the recipient address to the smart contract.

[0215] The modules and data storage included in the trust network / system represent features that may be included in the trust network / system of the present invention. The modules and data storage described herein may be implemented by electronic hardware, software, firmware, or any combination thereof. Describing different features as separate modules and data storage does not necessarily mean that the modules and data storage are implemented by common or separate electronic hardware or software components. In some embodiments, features associated with one or more modules and data storage described herein may be implemented by common electronic hardware and software components. In some embodiments, features associated with one or more modules and data storage described herein may be implemented by separate electronic hardware and software components.

[0216] The modules and data storage may be implemented by electronic hardware and software components, including but not limited to one or more processing units, one or more memory components, one or more input / output (I / O) components, and interconnect components. The interconnect components may be used to provide communication between one or more processing units, one or more memory components, and one or more I / O components. For example, the interconnect components may include one or more buses for transmitting data between electronic components. In addition, the interconnect components may also include control circuits (e.g., memory controllers and / or I / O controllers) for controlling communication between electronic components.

[0217] The one or more processing units may include one or more central processing units (CPUs), graphics processing units (GPUs), digital signal processing units (DSPs), or other processing units. The one or more processing units may be used to communicate with memory components and I / O components. For example, the one or more processing units may be used to communicate with memory components and I / O components via interconnect components.

[0218] The memory components (e.g., main memory and / or storage devices) may include any volatile or non-volatile media. For example, the memory may include, but is not limited to, electronic, magnetic, and / or optical media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), electrically-erasable programmable ROM (EEPROM), flash memory, hard disk drive (HDD), tape drive, optical storage technology (e.g., compact disk, digital versatile disk, and / or Blu-ray Disc), or any other memory components.

[0219] The memory component may include (e.g., memory) data described herein. For example, the memory component may include data contained in a data memory. In addition, the memory component may also include instructions that can be executed by one or more processing units. For example, the memory may include computer-readable instructions that, when executed by one or more processing units, cause the one or more processing units to perform various functions belonging to the modules and data memory described herein.

[0220] I / O components may refer to electronic hardware and software that provide communication with various different devices. For example, I / O components may provide communication between other devices and one or more processing units and memory components. In some examples, I / O components may be used to communicate with a computer network. For example, I / O components may be used to exchange data on a computer network using various physical connections, wireless connections, and protocols. I / O components may include, but are not limited to, network interface components (e.g., network interface controllers), repeaters, bridges, network switches, routers, and firewalls. In some examples, I / O components may include hardware and software for communicating with various human-machine interface devices, including but not limited to display screens, keyboards, pointer devices (e.g., mice), touch screens, speakers, and microphones. In some examples, I / O components may include hardware and software for communicating with additional devices such as external memory (e.g., external HDD).

[0221] In some embodiments, the trust network / system may include one or more computing devices (e.g., node computing / server devices) for implementing the techniques described herein. In other words, the features of the modules and data storage devices described herein may be implemented by one or more computing devices. Each of the one or more computing devices may include any combination of the above-mentioned electronic hardware, software, and / or firmware. For example, each of the one or more computing devices may include any combination of the above-mentioned processing units, memory components, I / O components, and interconnect components. The one or more computing devices of the trust network / system may also include various human-machine interface devices, including but not limited to display screens, keyboards, pointer devices (e.g., mice), touch screens, speakers, and microphones. In addition, the computing device may also be used to communicate with additional devices such as external memory (e.g., external HDD).

[0222] In some examples, one or more computing devices may reside in a single machine in a single geographic location. In other examples, one or more computing devices may reside in multiple machines in a single geographic location. In other examples, one or more computing devices of a trust network / system may be distributed across multiple geographic locations.

Claims

1. A system, include: one or more memory components for storing data of an address on a distributed trust network, wherein the plurality of transactions including the address on the distributed trust network; and One or more processing units configured to execute computer-readable instructions that cause the one or more processing units to: generating a local node trust score for the address based on the data for the address on the distributed trust network, wherein the local node trust score indicates a likelihood that the address is involved in fraudulent activity; receiving an additional local trust score for the address; determining a consensus trust score based on the local node trust score and the additional local trust score, wherein the consensus trust score indicates a consensus value of the local node trust score; monitoring a ledger on the distributed trust network for contract trust requests specifying the address on the distributed trust network; and The consensus trust score of the address on the distributed trust network specified in the contract trust request is sent to the distributed trust network.

2. The system according to claim 1, in, The one or more processing units are configured to: determining a local candidate consensus trust score based on the local node trust score and the additional local trust score of the address; as well as Based on the candidate consensus trust scores, the consensus trust score is determined.

3. The system according to claim 2, in, The one or more processing units are configured to: receiving an additional candidate consensus trust score for the address on the distributed trust network; as well as The consensus trust score is determined based on the local candidate consensus trust score and the additional candidate consensus trust score.

4. The system according to claim 1, in, The one or more processing units are used to provide a smart contract configured to be executed in the distributed trust network, wherein the smart contract is used to generate the contract trust request.

5. The system according to claim 4, in, The one or more processing units are used to receive an address on the distributed trust network of the smart contract executed in the distributed trust network, wherein monitoring the ledger includes scanning the ledger for activities associated with the address on the distributed trust network executing the smart contract.

6. The system according to claim 4, in, The smart contract is used to receive the consensus trust score associated with the address on the distributed trust network.

7. The system according to claim 6, in, The smart contract includes a sender address on the distributed trust network, a contract trust threshold, and a transaction amount to be sent from the sender address to the address on the distributed trust network, wherein the smart contract executed on the distributed trust network is used to: Comparing the consensus trust score with the contract trust threshold; Based on the comparison, determining whether the address on the distributed trust network is sufficiently trustworthy; When the address is sufficiently trustworthy, sending the transaction amount to the address on the distributed trust network; and When the address on the distributed trust network is not trustworthy enough, the transaction amount is sent to the sender address.

8. The system according to claim 7, in, The smart contract executed on the distributed trust network is used to: When the consensus trust score is greater than the contract trust threshold, determining that the address on the distributed trust network is sufficiently trustworthy; as well as When the consensus trust score is not greater than the contract trust threshold, it is determined that the address on the distributed trust network is not trustworthy enough.

9. The system according to claim 7, in, At least one of the sender address, the address on the distributed trust network, the contract trust threshold, and the transaction amount is a user-specified value.

10. The system according to claim 7, in, The smart contract is used to receive the contract trust threshold when executed on the distributed trust network.

11. The system according to claim 7, in, The smart contract is used to receive at least one of the sender address, the address on the distributed trust network, the contract trust threshold and the transaction amount when executed on the distributed trust network.

12. The system according to claim 4, in, The smart contract specifies a trust fee amount for the consensus trust score.

13. The system according to claim 12, in, The smart contract is used to pay the trust fee amount of the consensus trust score by sending funds to a trust fee payment address on the distributed trust network.

14. The system according to claim 13, in, The one or more processing units are used to set the trust fee amount.

15. The system according to claim 13, in, The one or more processing units are used to verify that the trust fee amount has been paid to the trust fee payment address.

16. The system according to claim 1, in, The address on the distributed trust network is a blockchain address.

17. The system according to claim 1, in, The data is blockchain data.

18. The system according to claim 1, in, The distributed trust network is a blockchain network.

19. The system according to claim 1, in, The ledger is a blockchain ledger.

Citation Information

Cited By

  • Block chain security verification protection method, block chain node, medium and product

    CN119341847A

  • A blockchain security verification protection method, blockchain node, medium and product

    CN119341847B