Tolerance and fault tolerance method, system and medium based on blockchain smart financial platform
Through the tolerance and fault tolerance method of the blockchain smart financial platform, the exchange rate risk in the cross-border payment business is assessed and smart contracts are generated, which solves the problem of uneven interests of both parties to the transaction due to exchange rate fluctuations and achieves transparency and security of transactions. and rapidity.
Patent Information
- Application Number
- CN202410706530.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-03
AI Technical Summary
In the cross-border payment business, due to unstable exchange rate fluctuations, there is a difference between the exchange rate when the buyer pays and the exchange rate when the seller signs the order, causing an imbalance in the exchange of interests between the two parties.
Adopt the tolerance and fault tolerance method based on the blockchain smart financial platform, determine the tolerance and fault tolerance model corresponding to the transaction request through the tolerance and fault tolerance algorithm warehouse, combine the search engine and the rule algorithm warehouse, evaluate the transaction risk, and generate smart contracts through the blockchain , ensure the transparency, security and speed of transactions, and balance the interests of all parties to the transaction.
It reduces the risk of market fluctuations, ensures the transparency, security and speed of transactions, balances the interests of all parties in the transaction, and avoids the imbalance of interests caused by exchange rate fluctuations.
Smart Images

Figure CN118278937B
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a tolerance and fault tolerance method, system and storage medium based on a blockchain smart financial platform. Background Art
[0002] In cross-border payment business, in order to ensure the balance of interests between sellers and sellers, the amount corresponding to the payment process can change dynamically with the current exchange rate.
[0003] In the related art, after the seller signs the order, the currency on the document is calculated based on the exchange rate at the time of signing the order. However, due to unstable exchange rate fluctuations, the exchange rate when the buyer pays may be very different from the exchange rate when the seller signs the order. Therefore, in order to match the payment process with the order signing process, settlement can only be performed based on the exchange rate corresponding to the time of signing the order. If the payment amount corresponding to the payment process changes dynamically according to the exchange rate, it will lead to the problem of being unable to be credited.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a tolerance and fault tolerance method, device, system and storage medium based on a blockchain smart financial platform, aiming to solve the technical problem of unbalanced exchange of interests between the two parties to the transaction caused by changes in the trading market.
[0006] To achieve the above objectives, the present application provides a tolerance and fault tolerance method based on a blockchain smart financial platform, and the tolerance and fault tolerance method based on a blockchain smart financial platform comprises the following steps:
[0007] When receiving a transaction request, determining a tolerance and fault tolerance model corresponding to the transaction request based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set, and a rule algorithm warehouse;
[0008] Determining a risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set;
[0009] Based on the rule algorithm warehouse, selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse;
[0010] Based on the rule set, a smart contract corresponding to the transaction request is generated through the blockchain in an algorithm fusion manner.
[0011] Optionally, the transaction request includes a cross-border loan request, and when the transaction request is received, determining a tolerance and fault tolerance model corresponding to the transaction request based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set and a rule algorithm warehouse, comprises:
[0012] When a cross-border loan request is received, a cross-border loan model corresponding to the cross-border loan request is determined, and cross-border loan elements are determined based on the cross-border loan model, wherein the cross-border loan elements include transaction currency, loan amount, loan time and loan interest rate;
[0013] The step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes:
[0014] Determining the exchange rate fluctuation risk between the transaction currencies during the loan period based on the search engine set and the transaction currencies;
[0015] Based on the loan amount and the exchange rate fluctuation risk, a risk assessment result of the cross-border loan request is determined.
[0016] Optionally, the transaction request includes a cross-border transaction request, and when the transaction request is received, determining a tolerance and fault tolerance model corresponding to the transaction request based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set and a rule algorithm warehouse, comprises:
[0017] When receiving the cross-border transaction request, determining a cross-border transaction model corresponding to the cross-border transaction request, and determining cross-border transaction elements based on the cross-border transaction model, wherein the cross-border transaction elements include transaction currency, transaction amount, seller signing time, and buyer signing time;
[0018] The step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes:
[0019] Based on the search engine set and the transaction currency, determining the exchange rate fluctuation risk between the transaction currencies between the seller's order signing time and the buyer's order signing time;
[0020] Based on the transaction amount and the exchange rate fluctuation risk, a risk assessment result of the cross-border transaction request is determined.
[0021] Optionally, the risk assessment result includes a fluctuation amount, and the step of selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse based on the rule algorithm warehouse includes:
[0022] Based on the rule algorithm warehouse and the fluctuation amount, a rule set is selected, wherein the rule set includes an agreed exchange rate, a fluctuation range of the agreed exchange rate, and an agreed time of the agreed exchange rate;
[0023] The step of generating a smart contract corresponding to the transaction request in an algorithm-fusion manner based on the rule set through blockchain includes:
[0024] Based on the transaction elements, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate, a smart contract corresponding to the transaction request is generated through blockchain in an algorithm fusion manner.
[0025] Optionally, the tolerance and fault tolerance method based on the blockchain smart financial platform is applied to a third-party platform, the third-party platform includes a bank, and the step of generating a smart contract corresponding to the transaction request through the blockchain in an algorithm fusion manner based on the transaction elements, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate includes:
[0026] Based on the smart contract, determine the risk control model and contract elements corresponding to the third-party platform, wherein the contract elements include the identity information of the contracting parties, the contract currency, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate, and the agreed time of the agreed exchange rate;
[0027] Based on the risk control model, the identity information of the contract party and the contract currency, obtaining the contract party's historical transaction data, the contract party's credit history data and the exchange rate fluctuation model of the contract currency;
[0028] Determine the contract risk of the smart contract based on the historical transaction data of the contracting parties, the credit history data of the contracting parties, the exchange rate fluctuation model between the countries where the contracting parties are located, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate;
[0029] Based on the contract risks, determine whether to confirm the effectiveness of the smart contract.
[0030] Optionally, the tolerance and fault tolerance algorithm warehouse further includes a distributed ledger set, and the step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes:
[0031] If the cross-border transaction request is a multi-terminal transaction, the transaction data of each transaction party is determined based on the distributed ledger set to determine the risk assessment result, wherein the multi-terminal transaction means that the number of the transaction parties is greater than two.
[0032] Optionally, before the step of selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse based on the rule algorithm warehouse comprises:
[0033] Merging the rule algorithms in the rule algorithm warehouse to derive a new rule algorithm; or
[0034] The search engine is used to collect different algorithm libraries and third-party platforms connected to the smart financial platform to search for rule algorithms not stored in the rule algorithm warehouse, and the unstored rule algorithms are integrated with the rule algorithms in the rule algorithm warehouse to derive new rule algorithms to optimize the rule algorithm warehouse.
[0035] In addition, to achieve the above-mentioned objectives, the present application also provides a tolerance and fault-tolerant system based on a blockchain smart financial platform, the system comprising: a memory, a processor, and a tolerance and fault-tolerant program based on a blockchain smart financial platform stored on the memory and executable on the processor, the tolerance and fault-tolerant program based on a blockchain smart financial platform being configured to implement the steps of the above-mentioned tolerance and fault-tolerant method based on a blockchain smart financial platform.
[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a tolerance and fault-tolerant program based on the blockchain smart financial platform is stored. When the tolerance and fault-tolerant program based on the blockchain smart financial platform is executed by the processor, the steps of the tolerance and fault-tolerant method based on the blockchain smart financial platform are implemented.
[0037] In this application, in order to solve the technical problem of unbalanced exchange of interests between the two parties of the transaction caused by changes in the transaction market, this application is applied to the tolerance fault-tolerant system based on the blockchain smart financial platform, which is connected to the artificial intelligence Internet of Things platform and the blockchain smart financial platform for communication, so as to empower each business node of the smart supply chain finance. When a transaction request is received, the tolerance fault-tolerant model corresponding to the transaction request can be determined based on the tolerance fault-tolerant algorithm warehouse, wherein the tolerance fault-tolerant algorithm warehouse includes a tolerance fault-tolerant model set, a search engine set and a rule algorithm warehouse; based on the tolerance fault-tolerant model and the search engine set, the risk assessment result of the transaction request is determined; based on the rule algorithm warehouse, a rule set corresponding to the risk assessment result is selected from the rule algorithm warehouse; based on the rule set, the smart contract corresponding to the transaction request is generated by the blockchain in an algorithm fusion manner. The automatic processing and execution of the supply chain business is realized, the transparency, security, speed and traceability of the transaction are ensured, and the beneficial effect of reducing the risk of market fluctuations and balancing the interests of all parties to the transaction is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flowchart of the first embodiment of the tolerance and fault tolerance method based on the blockchain smart financial platform of this application;
[0039] Figure 2 This is a flow chart of the second embodiment of the tolerance and fault tolerance method based on the blockchain smart financial platform of this application;
[0040] Figure 3 This is a structural diagram of a tolerance and fault-tolerant system based on a blockchain smart financial platform in the hardware operating environment involved in the embodiment of the present application.
[0041] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] In cross-border payment business, after the seller signs the bill, the currency on the bill is calculated based on the exchange rate at the time of signing the bill. However, due to unstable exchange rate fluctuations, the exchange rate when the buyer pays may be very different from the exchange rate when the seller signs the bill, resulting in an unbalanced exchange of interests between the buyer and the seller.
[0044] In order to solve the above problems, this application is based on the smart financial platform (Blockchain as a Service, BAAS), tolerance and fault-tolerant algorithm warehouse and blockchain technology, and can be applied to various industries such as smart government affairs, smart finance, smart supply chain, smart logistics, smart education, smart energy, smart medical care, smart transportation / real estate, etc.
[0045] Among them, blockchain technology makes transactions more transparent, secure and decentralized. Smart contract technology can realize fast automatic settlement and clearing functions, improving efficiency. The tolerance and fault-tolerant algorithm warehouse based on AI intelligent algorithm performs risk control management and reduces risks. The smart financial platform (BAAS) can provide investors with personalized and accurate investment advice based on data analysis and artificial intelligence technology.
[0046] When a transaction request is received, the tolerance fault tolerance model corresponding to the transaction request can be determined based on the tolerance fault tolerance algorithm warehouse, wherein the tolerance fault tolerance algorithm warehouse includes a tolerance fault tolerance model set, a search engine set and a rule algorithm warehouse; based on the tolerance fault tolerance model and the search engine set, the risk assessment result of the transaction request is determined; based on the rule algorithm warehouse, a rule set corresponding to the risk assessment result is selected from the rule algorithm warehouse; based on the rule set, the smart contract corresponding to the transaction request is generated through the blockchain in an algorithm fusion manner. Ultimately, the automated processing and execution of supply chain business is realized, ensuring the transparency, security, speed and traceability of transactions, achieving the beneficial effect of reducing market volatility risks and balancing the interests of all parties to the transaction.
[0047] In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0048] The present application embodiment provides a tolerance and fault tolerance method based on a blockchain smart financial platform, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of a tolerance and fault tolerance method based on a blockchain smart financial platform in the present application.
[0049] In this embodiment, the tolerance and fault tolerance method based on the blockchain smart financial platform includes:
[0050] Step S10: when receiving a transaction request, determining a tolerance and fault tolerance model corresponding to the transaction request based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set and a rule algorithm warehouse;
[0051] In this embodiment, the tolerance fault tolerance method based on the blockchain smart financial platform of this embodiment is applied to the tolerance fault tolerance system based on the blockchain smart financial platform, and the tolerance fault tolerance system based on the blockchain smart financial platform is connected to the artificial intelligence Internet of Things platform and the blockchain smart financial platform. For the convenience of description, the tolerance fault tolerance system based on the blockchain smart financial platform is referred to as the tolerance fault tolerance system below, and the tolerance fault tolerance system is used as an example for description.
[0052] Optionally, this application is based on a smart financial platform, a tolerance and fault-tolerant algorithm warehouse and blockchain technology, and can be applied to various industries such as smart government affairs, smart finance, smart supply chain, smart logistics, smart education, smart energy, smart medical care, smart transportation / real estate, etc. In this embodiment, taking the smart supply chain as an example, the smart financial platform empowers various business nodes of smart supply chain finance, including: seller nodes, buyer nodes, logistics nodes, insurance nodes and third-party nodes, etc.; the seller node is composed of the seller of the transaction, and the seller is an enterprise or individual who exports goods to a foreign country or borrows from a foreign country; the buyer node is composed of the buyer of the transaction, and the buyer is an enterprise or individual who imports goods from a foreign country or invests in a foreign country; the logistics node includes the transportation and delivery node after the goods transaction is completed; the insurance node includes a node that provides claims protection for transactions and logistics; the third-party node includes a platform for ensuring transactions between buyers and sellers, and the platform includes banks and payment software.
[0053] Optionally, there is a tolerance fault tolerance algorithm warehouse in the tolerance fault tolerance system, and the tolerance fault tolerance algorithm warehouse includes a tolerance fault tolerance model set, a search engine set and a rule algorithm warehouse. When receiving a transaction request sent by each node forwarded by the smart financial platform, a corresponding tolerance fault tolerance model is selected from the tolerance fault tolerance model set according to the transaction type corresponding to the transaction request. The tolerance fault tolerance model set includes tolerance fault tolerance models corresponding to each transaction type, and the transaction types include cross-border lending, cross-border transactions, logistics contracts, insurance contracts and multi-party transactions, etc. The tolerance fault tolerance model is used to extract transaction elements of transaction requests and provide support for evaluating the transaction risks of transaction requests. The transaction elements extracted by each tolerance fault tolerance model are not exactly the same, and the risk assessment strategies determined based on the transaction elements are also different.
[0054] Step S20: determining a risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set;
[0055] Optionally, risk points of the transaction request are determined based on the tolerance and fault tolerance model; transaction elements are determined from the transaction request based on the risk points; and according to the tolerance and fault tolerance model, a corresponding subset of search engines is determined in the search engine set to perform risk assessment on the transaction elements, and a corresponding risk assessment result is output.
[0056] Optionally, the transaction elements of the transaction request can be determined by pre-setting a transaction request filling template or by semantic recognition and keyword extraction. The transaction elements include the identity information of the seller and buyer in the transaction, the transaction currency, the transaction amount, the transaction time, the transaction type, etc. The transaction time includes the transaction signing time, the transaction delivery time and the transaction duration, etc.
[0057] As an implementation method, for the seller node of a cross-border loan request, the cross-border loan model corresponding to the cross-border loan request determines that the risk point of the cross-border loan request is the exchange rate fluctuation during repayment, and the transaction elements include the transaction currency, loan amount, loan time and loan interest rate. Based on the search engine subset of the cross-border loan model and the transaction currency, the exchange rate fluctuation risk between the transaction currencies during the loan time is determined; based on the loan amount and the exchange rate fluctuation risk, the risk assessment result of the cross-border loan request is determined, and the risk assessment result includes the fluctuation amount, the fluctuation exchange rate, etc.
[0058] As another implementation method, for the seller node and the seller node of the cross-border transaction request, the cross-border transaction model corresponding to the cross-border request transaction determines that the risk points of the cross-border transaction request are exchange rate fluctuations and fluctuation differences, and the transaction elements are transaction currency, transaction amount, seller signing time and buyer signing time. Based on the search engine subset of the cross-border transaction model and the transaction currency, the exchange rate fluctuation risk between the transaction currencies within the transaction time is determined; based on the transaction amount and the exchange rate fluctuation risk, the risk assessment result of the cross-border transaction request is determined, and the risk assessment result includes the fluctuation amount, the fluctuation exchange rate, etc.
[0059] As another implementation method, for the insurance node of the insurance transaction request, the insurance model corresponding to the insurance request determines that the risk point of the insurance request is the historical accident of the insured, and the transaction element is the identity information of the insured. The search engine set corresponding to the insurance model is called to search the identity information of the insured to determine the historical insurance, historical claims and historical accidents of the insured, and the risk assessment result is output based on the insurance model. The risk assessment result includes the claim probability, claim amount, profit amount, etc. of this insurance.
[0060] As another implementation method, for the logistics node of the logistics pricing request, the risk factors associated with the logistics pricing model corresponding to the logistics pricing request include transportation quantity, transportation quality, cargo valuation, transportation damage history, transportation cost and historical pricing. Based on the logistics pricing model and the corresponding risk factors, the recommended pricing corresponding to the logistics pricing request is determined.
[0061] As another implementation method, for the logistics nodes of the logistics route planning request, the risk factors associated with the logistics route model corresponding to the logistics route planning request include transportation sending and receiving points, the historical transportation routes corresponding to the transportation sending and receiving points, the historical transportation efficiency ratings corresponding to the historical transportation routes, and the real-time traffic information between the transportation sending and receiving points. Based on the logistics route model and the corresponding risk factors, the recommended route corresponding to the logistics route planning request is determined.
[0062] As another implementation method, for a procurement node of a procurement quantitative request, the risk factors associated with a procurement demand model corresponding to the procurement quantitative request include historical procurement data and the supplier's historical shipment volume, and based on the procurement demand model and the corresponding risk factors, the recommended procurement volume corresponding to the procurement quantitative request is determined.
[0063] As another implementation, for a procurement node request that makes a supplier screening request for a certain procurement business, the risk factors associated with the supplier screening model are determined to include the supplier's credit, goods pricing, goods quality and delivery time, and based on the supplier screening model and the corresponding risk factors, the recommended supplier corresponding to the supplier screening request is determined.
[0064] In addition, for transaction requests of different transaction types, the risk points detected during risk assessment are different. Therefore, the search engine subsets configured for different types of tolerance and fault tolerance models are also different, which has the beneficial effect of improving search efficiency.
[0065] Step S30: Based on the rule algorithm warehouse, selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse;
[0066] Optionally, the rule algorithm type is determined according to the transaction type; the rule parameters are determined according to the risk assessment result; the tolerance and fault-tolerant model compares the rule algorithm type with the type identifier of each rule algorithm in the rule algorithm warehouse to determine the rule set according to the rule algorithm with the same type identifier as the rule algorithm type; the tolerance and fault-tolerant model obtains the functional parameter identifier corresponding to each rule algorithm in the rule set based on the smart financial platform, and calculates the similarity between the functional parameter identifier and the functional parameter corresponding to each rule algorithm; the similarity is compared with a preset similarity threshold to obtain a comparison result; if the comparison result is that there is a rule algorithm in the rule set whose similarity is greater than the preset similarity threshold, a target rule is generated according to the rule algorithm and the functional parameters; if the comparison result is that there is no rule algorithm in the rule set whose similarity is greater than the preset similarity threshold, a search is performed in the algorithm knowledge base connected to the smart financial platform according to the functional parameters through an artificial intelligence search engine to obtain a rule algorithm whose functional parameter identifier has a similarity with the functional parameters greater than the preset similarity threshold, and a target rule is generated according to the rule algorithm and the functional parameters.
[0067] Further, the risk assessment result includes a fluctuation amount, and the step S30 includes: selecting a rule set based on the rule algorithm warehouse and the fluctuation amount, the rule set including an agreed exchange rate, a fluctuation range of the agreed exchange rate, and an agreed time of the agreed exchange rate;
[0068] Optionally, if the risk assessment result is a fluctuating amount, the rule algorithm type includes an agreed exchange rate, a fluctuation range of the agreed exchange rate, and an agreed time of the agreed exchange rate.
[0069] Optionally, a mapping relationship between the interval in which the fluctuation amount is located and the rule parameters of the rule algorithm type is preset, and the corresponding rule parameters are determined according to the specific fluctuation amount.
[0070] For example, for a cross-border transaction request, the transaction currencies are the base currency and the currency to be exchanged, the transaction amount is 3 million base currencies, and 3 million base currencies are equivalent to 20.7 million to be exchanged currencies when the seller signs the order. There are three months between the seller's signing time and the buyer's signing time. The cross-border transaction model obtains the historical exchange rate between the base currency and the currency to be exchanged based on the search engine collection, and generates a base currency-currency exchange rate fluctuation model, predicting that when the buyer signs the order, every 3 million base currencies are equivalent to 21.6 million to be exchanged currencies, and the fluctuation amount is 900,000 to be exchanged currencies.
[0071] The preset ranges include less than or equal to 100,000, greater than 100,000 and less than or equal to 400,000, greater than 400,000 and less than or equal to 700,000, and greater than 700,000 and less than or equal to 1 million, and so on. Different amount ranges correspond to different agreed exchange rates, fluctuation ranges of agreed exchange rates, and agreed time of agreed exchange rates. The larger the fluctuation amount, the closer the preset exchange rate is to the exchange rate at the time of signing the order, the smaller the fluctuation range, and the longer the agreed time of the agreed exchange rate.
[0072] Assuming that the highest range is greater than 700,000 and less than or equal to 1 million, the agreed exchange rate in this embodiment is the exchange rate when the seller signs the order, without considering exchange rate fluctuations. The agreed time of the agreed exchange rate is from the time the seller signs the order to the time the buyer signs the order.
[0073] Optionally, a mapping relationship between the interval of the ratio of the fluctuation amount to the seller's order amount and the rule parameters of the rule algorithm type is pre-set, and the corresponding rule parameters are determined according to the specific ratio of the fluctuation amount to the seller's order amount. Different ratio intervals correspond to different agreed exchange rates, fluctuation intervals of the agreed exchange rate, and agreed time of the agreed exchange rate. The larger the ratio, the closer the predetermined exchange rate is to the exchange rate at the time of signing the order, the smaller the fluctuation interval, and the longer the agreed time of the agreed exchange rate.
[0074] Step S40: Based on the rule set, a smart contract corresponding to the transaction request is generated through the blockchain in an algorithm fusion manner.
[0075] Alternatively, blockchain is a new application model with computer technology features such as distributed data storage, peer-to-peer transmission, node consensus, and secure encryption. It has the characteristics of decentralization, openness, and data immutability. Smart contracts are digital versions of traditional contracts. They are computer programs that run automatically on the blockchain system and can be automatically executed when the agreed conditions are met. Once deployed, smart contracts cannot be changed and have trustworthy features. Blockchain and smart contracts are natural alliances and can be effectively used in combination.
[0076] As an implementation method, based on the transaction elements, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate, a smart contract corresponding to the transaction request is generated through blockchain in an algorithm fusion manner.
[0077] In this embodiment, in order to solve the technical problem of unbalanced exchange of interests between the two parties to the transaction due to changes in the trading market, the present application is applied to the tolerance and fault-tolerant system based on the blockchain smart financial platform, which is connected to the artificial intelligence Internet of Things platform and the blockchain smart financial platform to communicate and connect to each business node of the smart supply chain finance. Among them, blockchain technology makes transactions more transparent, secure and decentralized. Smart contract technology can realize fast automatic settlement and clearing functions, improving efficiency. Risk control management is carried out based on the tolerance and fault-tolerant model of AI intelligent algorithm, reducing risks. The smart financial platform (BAAS) can provide investors with personalized and accurate investment advice based on data analysis and artificial intelligence technology. Finally, the automated processing and execution of supply chain business is realized, ensuring the transparency, security, speed and traceability of transactions, achieving the beneficial effect of reducing market volatility risks and balancing the interests of all parties to the transaction.
[0078] Further, refer to Figure 2 , Figure 2 The second embodiment of the present application is a flow chart of the tolerance and fault tolerance method based on the blockchain smart financial platform. The second embodiment of the present application is provided. The tolerance and fault tolerance method based on the blockchain smart financial platform is applied to a third-party platform, and the third-party platform includes a bank. After step S40, the following steps are included:
[0079] Step S41: Based on the smart contract, determine the risk control model and contract elements corresponding to the third-party platform, the contract elements including the identity information of the contracting parties, the contract currency, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate;
[0080] Optionally, if the parties to the smart contract determine to complete the contract through a third-party platform, the present application may provide a tolerance and fault tolerance model for the third-party platform to conduct risk assessment, and the third-party platform includes banks and payment software.
[0081] Optionally, the tolerance and fault tolerance model corresponding to the third-party platform is determined to be a risk control model, and the contract elements are extracted based on the smart contract. The contract elements include the identity information of the contracting parties, the contract currency, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate.
[0082] Step S42: based on the risk control model, the identity information of the contract party and the contract currency, obtaining the contract party's historical transaction data, the contract party's credit history data and the exchange rate fluctuation model of the contract currency;
[0083] Optionally, based on the risk control model, historical transaction data of the contracting parties and historical credit data of the contracting parties are obtained; based on the contract currency, an exchange rate fluctuation model of the contract currency is obtained.
[0084] Step S43: determining the contract risk of the smart contract based on the historical transaction data of the contracting parties, the credit history data of the contracting parties, the exchange rate fluctuation model between the countries where the contracting parties are located, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate;
[0085] Optionally, based on the historical transaction data of the contracting parties, the credit history data of the contracting parties, the exchange rate fluctuation model between the countries where the contracting parties are located, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate, the contract risk of the smart contract is determined. The contract risk includes the probability of contract fulfillment or the proportion of the contract fulfillment amount to the transaction amount, etc.
[0086] Step S44: Based on the contract risk, determine whether to confirm that the smart contract is effective.
[0087] Optionally, a risk threshold of the proportion of the contract fulfillment probability or the contract fulfillment amount to the transaction amount is pre-set, and the risk threshold includes a low risk threshold and a medium risk threshold. When the proportion of the contract fulfillment probability or the contract fulfillment amount to the transaction amount is greater than or equal to the low risk threshold, the smart contract is confirmed to be valid; when the proportion of the contract fulfillment probability or the contract fulfillment amount to the transaction amount is greater than or equal to the medium risk threshold and less than the low risk threshold, the smart contract is sent back to the contracting party and the other party is notified to revise it; when the proportion of the contract fulfillment probability or the contract fulfillment amount to the transaction amount is less than the medium risk threshold, the smart contract is directly rejected.
[0088] In this embodiment, a risk control model is provided for the third-party platform based on AI intelligent algorithm to evaluate the risk of smart contracts, which can effectively balance the interests of the three parties and prevent the third-party platform from taking excessive risks. Ultimately, the automated processing and execution of supply chain business is realized, ensuring the transparency, security, speed and traceability of transactions, achieving the beneficial effect of reducing market volatility risks and balancing the interests of all parties in the transaction.
[0089] Further, based on the above embodiment, a third embodiment of the present application is provided, and before step S20, the following steps are included:
[0090] Step S00: If the cross-border transaction request is a multi-terminal transaction, the transaction data of each transaction party is determined based on the distributed ledger set to determine the risk assessment result, wherein the multi-terminal transaction means that the number of the transaction parties is greater than two.
[0091] Optionally, if the cross-border transaction request is a multi-terminal transaction, since the signing times of the transaction entities involved may be different, in order to unify the transaction standards and balance the transaction risks of all parties, a distributed ledger is introduced. Based on the characteristics of the distributed ledger, the relevant data of each transaction entity can be laid out on the blockchain network, and the transaction data of each transaction party is determined to determine the risk assessment results.
[0092] Optionally, when the transaction subjects of multi-terminal transactions belong to different business types, such as supply, logistics and insurance, each business type has different rules. In order to realize the above multi-terminal transactions, it is necessary to use a distributed rule engine to record the above rules. Each transaction subject will generate different types of transaction data, which needs to be recorded based on a distributed ledger to ensure the transparency, security, speed and traceability of the transaction.
[0093] The step S40 includes: recording each transaction record of the transaction subject in the transaction subject distributed ledger in the blockchain, and recording each transaction flow record of the third-party platform in the blockchain, so as to form a payment platform reconciliation distributed ledger based on the blockchain; and based on the smart contract, checking the transaction subject reconciliation distributed ledger and the payment platform reconciliation distributed ledger to generate a reconciliation result.
[0094] In this embodiment, the distributed ledger can effectively balance the interests of multiple parties and avoid uneven risks among the transaction parties. Ultimately, the supply chain business can be automated and executed, ensuring the transparency, security, speed and traceability of transactions, thereby reducing the risk of market fluctuations and balancing the interests of all parties to the transaction. In addition, this application sets up a reconciliation process for the performance of smart contracts to prevent data from being tampered with, further improving transaction efficiency and security.
[0095] Further, based on the above embodiment, a third embodiment of the present application is provided, and before step S20, the following steps are included:
[0096] Step S11: integrating the rule algorithms in the rule algorithm warehouse to derive a new rule algorithm; or
[0097] The search engine is used to collect different algorithm libraries and third-party platforms connected to the smart financial platform to search for rule algorithms not stored in the rule algorithm warehouse, and the unstored rule algorithms are integrated with the rule algorithms in the rule algorithm warehouse to derive new rule algorithms to optimize the rule algorithm warehouse.
[0098] Optionally, the step of optimizing the rule algorithm library further includes performing an identification operation on the rule algorithm type and functional parameters of the optimized rule algorithm, and storing the rule algorithm in the rule algorithm warehouse according to the rule algorithm type.
[0099] In this embodiment, the active derivation and optimization mechanism of the rule algorithm provides more options and space for the formulation of smart contract rules. In addition, the function parameter identification of the optimized rule algorithm can enable the tolerance and fault tolerance system to quickly determine the function parameters of each rule algorithm from the rule algorithm warehouse.
[0100] In addition, the embodiment of the present application also proposes a tolerance and fault tolerance system based on the blockchain smart financial platform.
[0101] Reference Figure 3 , Figure 3 This is a schematic diagram of the structure of a tolerance and fault-tolerant system based on a blockchain smart financial platform in the hardware operating environment involved in the embodiment of the present application.
[0102] like Figure 3As shown, the tolerance and fault tolerance system based on the blockchain smart financial platform may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0103] Those skilled in the art will understand that Figure 3 The structure shown in does not constitute a limitation on the tolerance and fault-tolerant system based on the blockchain smart financial platform, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0104] like Figure 3 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a tolerance and fault tolerance program based on the blockchain smart financial platform.
[0105] exist Figure 3 In the tolerance and fault-tolerant system based on the blockchain smart financial platform shown, the network interface 1004 is mainly used for data communication with other systems; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the tolerance and fault-tolerant system based on the blockchain smart financial platform of this application can be set in the tolerance and fault-tolerant system based on the blockchain smart financial platform, and the tolerance and fault-tolerant system based on the blockchain smart financial platform calls the tolerance and fault-tolerant program based on the blockchain smart financial platform stored in the memory 1005 through the processor 1001, and executes the tolerance and fault-tolerant method based on the blockchain smart financial platform provided in the embodiment of this application.
[0106] In addition, an embodiment of the present application also provides a storage medium.
[0107] The storage medium of the present application stores a tolerance and fault-tolerant program based on the blockchain smart financial platform. When the tolerance and fault-tolerant program based on the blockchain smart financial platform is executed by the processor, the steps of the tolerance and fault-tolerant method based on the blockchain smart financial platform as described above are implemented.
[0108] Among them, the specific embodiments of the tolerance and fault-tolerant program based on the blockchain smart financial platform stored in the storage medium of the present application and executed by the processor are basically the same as the embodiments of the tolerance and fault-tolerant method based on the blockchain smart financial platform mentioned above, and will not be repeated here.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, the elements defined by the sentence "including a tolerance and fault tolerance based on a blockchain smart financial platform" do not exclude the existence of other identical elements in the process, method, article or system including the element.
[0110] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal system (which can be a mobile phone, computer, server, or network system, etc.) to execute the methods described in each embodiment of the present application.
[0112] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A tolerance and fault tolerance method based on blockchain smart financial platform, It is characterized in that The tolerance and fault tolerance method based on the blockchain smart financial platform includes the following steps: When a transaction request is received, a tolerance fault tolerance model corresponding to the transaction request is determined based on a tolerance fault tolerance algorithm warehouse, wherein the tolerance fault tolerance model is determined according to a transaction type of the transaction request, the tolerance fault tolerance algorithm warehouse includes a tolerance fault tolerance model set, a search engine set and a rule algorithm warehouse, and the tolerance fault tolerance model is used to extract transaction elements of the transaction request; Determining a risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set; Based on the rule algorithm warehouse, selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse; Based on the rule set, a smart contract corresponding to the transaction request is generated through the blockchain in an algorithm fusion manner; The transaction request includes a cross-border loan request, and when the transaction request is received, a tolerance and fault tolerance model corresponding to the transaction request is determined based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance model is determined according to a transaction type of the transaction request, and the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set, and a rule algorithm warehouse, including: When a cross-border loan request is received, a cross-border loan model corresponding to the cross-border loan request is determined, and cross-border loan elements are determined based on the cross-border loan model, wherein the cross-border loan elements include transaction currency, loan amount, loan time and loan interest rate; The step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes: Determining the exchange rate fluctuation risk between the transaction currencies during the loan period based on the search engine set and the transaction currencies; Determining a risk assessment result of the cross-border loan request based on the loan amount and the exchange rate fluctuation risk; The transaction request includes a cross-border transaction request, and when the transaction request is received, a tolerance and fault tolerance model corresponding to the transaction request is determined based on a tolerance and fault tolerance algorithm warehouse, wherein the tolerance and fault tolerance model is determined according to a transaction type of the transaction request, and the tolerance and fault tolerance algorithm warehouse includes a tolerance and fault tolerance model set, a search engine set, and a rule algorithm warehouse, including: When receiving the cross-border transaction request, determining a cross-border transaction model corresponding to the cross-border transaction request, and determining cross-border transaction elements based on the cross-border transaction model, wherein the cross-border transaction elements include transaction currency, transaction amount, seller signing time, and buyer signing time; The step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes: Based on the search engine set and the transaction currency, determining the exchange rate fluctuation risk between the transaction currencies between the seller's order signing time and the buyer's order signing time; Determining a risk assessment result of the cross-border transaction request based on the transaction amount and the exchange rate fluctuation risk; The risk assessment result includes a fluctuation amount, and the step of selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse based on the rule algorithm warehouse includes: Based on the rule algorithm warehouse and the fluctuation amount, a rule set is selected, wherein the rule set includes an agreed exchange rate, a fluctuation range of the agreed exchange rate, and an agreed time of the agreed exchange rate; The step of generating a smart contract corresponding to the transaction request in an algorithm-fusion manner based on the rule set through blockchain includes: Based on the transaction elements, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate, a smart contract corresponding to the transaction request is generated through blockchain in an algorithm fusion manner; The step of selecting a rule set corresponding to the risk assessment result from the rule algorithm warehouse based on the rule algorithm warehouse includes: Merging the rule algorithms in the rule algorithm warehouse to derive a new rule algorithm; or The search engine is used to collect different algorithm libraries and third-party platforms connected to the smart financial platform to search for rule algorithms not stored in the rule algorithm warehouse, and the unstored rule algorithms are integrated with the rule algorithms in the rule algorithm warehouse to derive new rule algorithms to optimize the rule algorithm warehouse.
2. The tolerance and fault tolerance method based on the blockchain smart financial platform as claimed in claim 1, It is characterized in that The tolerance and fault tolerance method based on the blockchain smart financial platform is applied to a third-party platform, and the third-party platform includes a bank. The step of generating a smart contract corresponding to the transaction request through the blockchain in an algorithm fusion manner based on the transaction elements, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate includes: Based on the smart contract, determine the risk control model and contract elements corresponding to the third-party platform, wherein the contract elements include the identity information of the contracting parties, the contract currency, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate, and the agreed time of the agreed exchange rate; Based on the risk control model, the identity information of the contract party and the contract currency, obtaining the contract party's historical transaction data, the contract party's credit history data and the exchange rate fluctuation model of the contract currency; Determine the contract risk of the smart contract based on the historical transaction data of the contract party, the credit history data of the contract party, the exchange rate fluctuation model of the contract currency, the transaction amount, the agreed exchange rate, the fluctuation range of the agreed exchange rate and the agreed time of the agreed exchange rate; Based on the contract risks, determine whether to confirm the effectiveness of the smart contract.
3. The tolerance and fault tolerance method based on the blockchain smart financial platform as claimed in claim 1, It is characterized in that The tolerance and fault tolerance algorithm warehouse also includes a distributed ledger set. The step of determining the risk assessment result of the transaction request based on the tolerance and fault tolerance model and the search engine set includes: If the cross-border transaction request is a multi-terminal transaction, the transaction data of each transaction party is determined based on the distributed ledger set to determine the risk assessment result, wherein the multi-terminal transaction means that the number of the transaction parties is greater than two.
4. A tolerance and fault tolerance system based on blockchain smart financial platform, It is characterized in that The system includes: a memory, a processor, and a tolerance and fault-tolerant program based on a blockchain smart financial platform stored in the memory and executable on the processor, wherein the tolerance and fault-tolerant program based on a blockchain smart financial platform is configured to implement the steps of a tolerance and fault-tolerant method based on a blockchain smart financial platform as described in any one of claims 1 to 3.
5. A storage medium, It is characterized in that The storage medium stores a tolerance and fault-tolerant program based on the blockchain smart financial platform. When the tolerance and fault-tolerant program based on the blockchain smart financial platform is executed by the processor, the steps of the tolerance and fault-tolerant method based on the blockchain smart financial platform as described in any one of claims 1 to 3 are implemented.
