Method and device for controlling transactions without network

By decrypting and using the risk warning model on the mobile terminal to predict the risk types and probabilities of transactions without network status, combined with blockchain technology, the problem of risk control in transactions without network status is solved and efficient and safe transaction management is achieved.

CN113657892BActive Publication Date: 2024-10-11BANK OF CHINA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110918229.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-11
Publication Date
2024-10-11
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

In the absence of a network, it is difficult to effectively control the risk of bank transactions, and there is a lack of accurate risk prediction and control strategies, resulting in threats to transaction security.

Method used

By pre-deploying the bank's risk warning model on the mobile terminal, using private key decryption and combining it with blockchain technology, we can predict and store the risk types and probabilities of transactions without network status, correct the risk probabilities, and determine risk control based on the corrected probabilities. Strategies to achieve efficient and secure control of network-free transactions.

Benefits of technology

It realizes efficient security control of bank transactions without network, reduces the risk of transaction data tampering, and improves transaction security and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113657892B_ABST
    Figure CN113657892B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for controlling transactions in a non-network state, and relates to the field of big data technology, wherein the method comprises: when a user's mobile terminal receives a transaction when it is off-network, using the user's private key to decrypt a risk warning model pre-deployed on the mobile terminal and encrypted using a public key, to obtain a decrypted risk warning model; predicting the risk type and corresponding risk probability of the user's non-network transaction according to the decrypted risk warning model; when determining that the user's non-network transaction has a risk, obtaining a corrected risk probability according to the risk probability predicted by the risk warning model, the risk coefficient when there is no network and when there is a network; determining a risk control strategy for the non-network transaction according to the corrected risk probability, and the relationship between the risk probability, the risk type and the risk control strategy; and controlling the user's non-network transaction according to the risk control strategy corresponding to the non-network transaction. The present invention can efficiently and safely control non-network transactions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method and device for controlling transactions in a non-network state. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section.

[0003] The risks encountered by banks when conducting business are ubiquitous, and risks must be considered in every link of business handling. In particular, the risks may be higher in certain scenarios, such as offline and unmanned scenarios. At this time, better means are needed to control risks to ensure the security of offline transactions. Summary of the invention

[0004] The embodiment of the present invention provides a method for controlling transactions without a network, which is used to efficiently and safely control transactions without a network. The method includes:

[0005] When a transaction is received by a user's mobile terminal in an off-network state, the risk warning model encrypted with a public key and pre-deployed on the mobile terminal is decrypted using the user's private key to obtain a decrypted risk warning model; the risk warning model is pre-established based on sample transaction data in a network-connected state within a preset period of time of the bank;

[0006] Predict the risk type and corresponding risk probability of the user's offline transaction based on the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal;

[0007] When it is determined that the user's off-network transaction is at risk based on the risk type of the off-network transaction and the corresponding risk probability, a revised risk probability is obtained based on the risk probability predicted by the risk warning model, the risk coefficient of the off-network state, and the risk coefficient of the on-network state, and the revised risk probability is stored in the blockchain of the mobile terminal;

[0008] Determine the risk control strategy corresponding to the transaction without network status according to the revised risk probability, as well as the relationship between risk probability, risk type and risk control strategy;

[0009] According to the risk control strategy corresponding to the offline transactions, the user's offline transactions are controlled.

[0010] The embodiment of the present invention further provides a device for controlling transactions without a network, which is used to efficiently and safely control transactions without a network. The device includes:

[0011] A decryption processing unit is used to decrypt the risk warning model encrypted with the public key pre-deployed on the mobile terminal using the private key of the user when the mobile terminal of the user receives a transaction in a network-free state, so as to obtain the decrypted risk warning model; the risk warning model is pre-established based on the transaction sample data in a network-available state within a preset period of time of the bank;

[0012] A prediction unit, used to predict the risk type and corresponding risk probability of the user's offline transaction according to the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal;

[0013] A correction unit, for, when determining that the off-network transaction of the user has a risk according to the risk type and the corresponding risk probability of the off-network transaction, obtaining a corrected risk probability according to the risk probability predicted by the risk warning model, the risk coefficient of the off-network state and the risk coefficient of the on-network state, and storing the corrected risk probability in the blockchain of the mobile terminal;

[0014] A strategy determination unit, for determining a risk control strategy corresponding to the transaction in the non-network state according to the revised risk probability and the relationship between the risk probability, risk type and risk control strategy;

[0015] The control unit is used to control the user's offline transactions according to the risk control strategy corresponding to the offline transactions.

[0016] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for controlling transactions in a non-network state when executing the computer program.

[0017] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program for executing the method for controlling transactions in a non-network state.

[0018] In an embodiment of the present invention, a scheme for controlling transactions in a non-network state comprises: when a user's mobile terminal receives a transaction in a non-network state, using the user's private key to decrypt a risk warning model pre-deployed on the mobile terminal and encrypted using a public key, to obtain a decrypted risk warning model; the risk warning model is pre-established according to transaction sample data in a network state within a preset period of time of the bank; the risk type and corresponding risk probability of the user's non-network state transaction are predicted according to the decrypted risk warning model, and the risk type and corresponding risk probability are stored in a blockchain of the mobile terminal; when it is determined that the user's non-network state transaction has a risk according to the risk type and corresponding risk probability of the non-network state transaction, a corrected risk probability is obtained according to the risk probability predicted by the risk warning model, the risk coefficient of the non-network state, and the risk coefficient of the network state, and the corrected risk probability is stored in the blockchain of the mobile terminal; the risk control strategy corresponding to the non-network state transaction is determined according to the corrected risk probability, and the relationship between the risk probability, the risk type and the risk control strategy; the user's non-network transaction is controlled according to the risk control strategy corresponding to the non-network state transaction, so as to realize efficient and safe control of the non-network transaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0020] Figure 1 A flowchart of a method for controlling transactions without a network in an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a process for determining a risk factor of a no-network state in an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a process for determining a risk factor of a network state in an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of a process for predicting the risk type and corresponding risk probability of a user's offline transaction in an embodiment of the present invention;

[0024] Figure 5 Schematic diagram of the structure of a device for controlling transactions without a network in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0026] Before introducing the embodiments of the present invention, the terms involved in the embodiments of the present invention are first introduced.

[0027] Risk coefficient: a quantitative indicator used to measure the risk of customer transactions in a certain scenario.

[0028] Blockchain technology can ensure that information cannot be tampered with, is authentic and traceable. Blockchain can be used to record key data about transaction risks, ensuring that transaction risk control is real and effective, thus reducing the occurrence of risks.

[0029] Since the risk control of existing scenarios (network scenarios) is relatively mature and has a large amount of transaction data, the risk control model of existing scenarios can be used to predict the risks of non-network transactions.

[0030] Therefore, the inventor proposed a solution for controlling transactions in an offline state. In this solution, when the user (customer) is in an offline state, the risk control model (risk warning model) of the existing scenario is stored on the customer's mobile terminal. When the customer's terminal is in an offline state, risk control is performed on the customer's transactions in the offline state based on the risk control model, and the transaction data in the offline state is stored in the blockchain of the customer's mobile terminal to reduce the risk of transaction data being tampered with.

[0031] Figure 1 FIG. 1 is a flow chart of a method for controlling transactions in a non-network state according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0032] Step 101: When a transaction is received by a user's mobile terminal in a network-free state, the risk warning model encrypted with a public key and pre-deployed on the mobile terminal is decrypted using the user's private key to obtain a decrypted risk warning model; the risk warning model is pre-established based on sample transaction data in a network-available state within a preset period of time of the bank;

[0033] Step 102: predict the risk type and corresponding risk probability of the user's offline transaction based on the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal;

[0034] Step 103: when it is determined that the user's off-network transaction has a risk based on the risk type and the corresponding risk probability of the off-network transaction, a revised risk probability is obtained based on the risk probability predicted by the risk warning model, the risk coefficient of the off-network state, and the risk coefficient of the on-network state, and the revised risk probability is stored in the blockchain of the mobile terminal;

[0035] Step 104: Determine the risk control strategy corresponding to the transaction without network status according to the corrected risk probability and the relationship between the risk probability, risk type and risk control strategy;

[0036] Step 105: Control the user's offline transactions according to the risk control strategy corresponding to offline transactions.

[0037] The risk warning model is an important digital asset of the bank and is usually deployed on the bank's server. Off-network transactions require that the risk warning model be sent to the customer's mobile terminal. In order to prevent external criminals from seeing the digital asset, the present invention uses the customer's public key for encryption. When the risk warning model is needed to predict the risk of the customer's transaction, the customer's private key can be used to decrypt it to obtain the decrypted risk warning model. This can ensure that the bank's risk warning model will not be leaked, and the customer's off-network transaction risk can be controlled.

[0038] Bank servers currently have a large amount of transaction data available, and these transaction data are basically transaction data in a networked state. Using the above transaction data, many risk warning models can be trained. Long-term practice has shown that the risk mechanism of transactions in a networked state is relatively mature and basically controllable when risks occur. However, the current transaction data without a networked state is much less, which is not enough to train an accurate risk warning model. In this way, banks can use the risk warning model trained with transaction data in a networked state to predict the transaction risk without a networked state, and then modify the above prediction results based on the gap between the risk quantification indicators in the two states to ensure that the risk of transactions without a networked state is controllable.

[0039] At the same time, compared with the network state, the customer's mobile terminal without network state cannot interact with the bank's backend server, which makes the customer's backend server unable to effectively control the risk of the customer's mobile terminal application. In this way, the customer's mobile terminal without network state faces greater uncertainty, that is, the customer's mobile terminal without network state may have greater risks. Quantifying the risks of the network state and the network state through the risk coefficient can more accurately evaluate the risk gap of customer transactions in the two states. According to the risk gap, the difference in risk probabilities in the two states can be calculated, and further the risk probability in the network state can be obtained. In this way, the change of the quantitative index of risk is realized to the change of risk probability, and digital risk control is realized. The above method can ensure that the risk probability of the network state is closely related to the risk quantitative index of the network state, and different risk indicators correspond to different risk probabilities.

[0040] The method for controlling transactions without a network in the embodiment of the present invention can realize efficient and safe control of transactions without a network, which is described in detail below.

[0041] In one embodiment, in the above step 102, if Figure 4 As shown, predicting the risk type and corresponding risk probability of the user's offline transaction based on the decrypted risk warning model may include:

[0042] Step 401: extracting transaction elements of transactions without network status;

[0043] Step 402: Input the transaction elements of the offline transaction into the decrypted risk warning model to obtain the risk type and corresponding risk probability of the offline transaction.

[0044] Transaction elements are key data of transaction data, including key information of customer transaction information. Inputting transaction elements into the risk warning model for prediction can improve the accuracy of prediction and reduce the occurrence of risks; at the same time, it can reduce the time spent on risk warning model prediction and improve customer experience.

[0045] In specific implementation, the above method of using the risk warning model to predict the risk type and the corresponding risk probability can further improve the security of controlling offline transactions. For details about the risk warning model, please refer to the introduction of the following embodiment.

[0046] In one embodiment, in the above step 103, when determining that the user's non-network state transaction has a risk according to the risk type of the non-network state transaction and the corresponding risk probability, obtaining a corrected risk probability according to the risk probability predicted by the risk warning model, the risk coefficient of the non-network state and the risk coefficient of the network state may include obtaining the corrected risk probability according to the following formula:

[0047] p2=max(p1×f(r2 / r1),pmax);

[0048] Among them, p2 is the corrected risk probability, p1 is the risk probability predicted by the risk warning model, r2 is the risk coefficient of the no-network state, r1 is the risk coefficient of the network state, pmax is a value between 0 and 1, and f is a monotonically increasing function. The above formula can ensure that the risk probability of the user in the no-network state is positively correlated with the risk of the no-network state, that is, the higher the risk of the no-network state, the greater the risk probability corresponding to the risk category.

[0049] Furthermore, based on the historical transaction data of the bank's mobile terminal, several probability values ​​can be determined, and then sampling can be performed to obtain a risk data sample when the risk probability value of the risk type is the probability value. Then, based on the risk data sample, the corresponding risk coefficient and the risk comparison factor corresponding to the risk coefficient can be confirmed. Then, the risk comparison factor is used as the independent variable, and the corresponding risk probability value is used as the dependent variable. A polynomial function is used for fitting to obtain the specific expression of the function f.

[0050] In specific implementation, the above-mentioned method of correcting the risk probability can establish a corresponding relationship between the risk quantification index of the offline state and the risk probability of the offline state, realize the bank's digital risk control, and ensure the security of users' offline transactions.

[0051] In one embodiment, Figure 2 As shown, the method for controlling transactions in a no-network state may further include determining a risk factor of a no-network state according to the following method:

[0052] Step 201: Acquire risk transaction data in a bank without network status within a preset period before the current time;

[0053] Step 202: Determine the risk coefficient of each risk type and the probability of each risk type according to the risk transaction data;

[0054] Step 203: Determine the risk coefficient of the no-network state according to the risk coefficient of each risk type and the probability of each risk type;

[0055] Step 204: Store the determined risk factor of the no-network state in the blockchain.

[0056] In one embodiment, Figure 3 As shown, the method for controlling transactions in a non-network state may further include determining a risk coefficient in a network state according to the following method:

[0057] Step 301: Acquire risky transaction data in a network state within a preset period before the current time of the bank;

[0058] Step 302: Determine the risk coefficient of each risk type and the probability of each risk type according to the risk transaction data;

[0059] Step 303: Determine the risk coefficient of the network state according to the risk coefficient of each risk type and the probability of each risk type;

[0060] Step 304: Store the determined risk factor with network status in the blockchain.

[0061] Specifically, the risk coefficient is a quantitative indicator used to measure the possible losses caused by transactions to customers. Different types of risks have different impacts on customers. Based on the data corresponding to each risk type, the losses caused to customers by the corresponding risk type can be determined. There is a large amount of data in the bank database. According to the law of large numbers, these data are sufficient to reflect the law of losses caused by risks to customers. The risk value corresponding to each risk type can be basically measured by the statistical average. At the same time, the probability of each risk type also reflects the impact of the risk type on customers. The greater the probability, the greater the impact. After determining the risk type, the risk coefficient of each risk type and the probability of each risk type, the risk coefficient with or without network status can be determined. For example, it can be directly set to: sum(log(ri×ni)) or sum(ri×ni), ri is the risk coefficient of the i-th risk type, ni is the probability of the i-th risk type, sum is the summation function, and log is the logarithmic function. An alternative method is to replace the probability of each risk type mentioned above with the number of each risk type. An improvement to the above scheme is: in addition to considering the risk coefficient of each risk type and the probability of each risk type, it is also necessary to consider the proportion t of transaction risk data in the entire transaction data. Then the risk coefficient can be corrected and set to: t×sum(log(ri×ni)) or t×sum(ri×ni), so that the risk coefficient of various states can be evaluated more accurately.

[0062] In specific implementation, the above-mentioned implementation method of estimating the risk coefficient of the no-network state can more accurately evaluate the risk quantification index of the network state and the no-network state.

[0063] In one embodiment, in the above step 103, the above method for controlling transactions in a non-network state may further include: multiplying the corrected risk probability by a function with the user's transaction risk coefficient as an independent variable to obtain a final corrected probability;

[0064] Therefore, in the subsequent step 104, the risk control strategy corresponding to the transaction in the non-network state is determined according to the revised risk probability, and the relationship between the risk probability, risk type and risk control strategy, which may include: determining the risk control strategy corresponding to the transaction in the non-network state according to the final revised probability, and the relationship between the risk probability, risk type and risk control strategy.

[0065] In specific implementation, the customer's own risk is an important factor in transaction risk. Under the same conditions, the transaction risks of customers with different risks are slightly different. In order to meet differentiated needs, such as customers with different risks, the greater the customer's own risk, the greater the transaction risk should be. Therefore, when correcting the risk probability, the customer's own risk can be considered (the transaction risk coefficient is a quantitative indicator of the customer's own risk). For example, the above-calculated corrected risk probability p2 can be multiplied by a function with the customer's transaction risk coefficient as an independent variable to obtain the final corrected probability. Subsequently, according to the final corrected probability, the accuracy of the risk control strategy corresponding to the transaction in the off-network state can be further improved, thereby improving the security of customer transactions in the off-network state. For details about the risk control strategy, please refer to the introduction of the following embodiment.

[0066] In specific implementation, the relationship between risk probability, risk type and risk control strategy can be a table, which contains risk probability, risk type and corresponding risk control strategy. After obtaining the revised risk probability, the revised risk probability and the corresponding risk category are matched and searched from the table to obtain the risk control strategy corresponding to the current revised risk probability.

[0067] In one embodiment, the function with the user's transaction risk coefficient as the independent variable is:

[0068] f(y)=2 / (1+exp(-y));

[0069] Among them, f(y) is a function with the user's transaction risk coefficient as the independent variable, and y is the user's transaction risk coefficient.

[0070] In specific implementation, the above function can further improve the accuracy of calculating the transaction risk in the offline state. The above function is slightly greater than 1, which means that the function has a very limited impact on the risk probability of the offline state. And the above function is a monotonically increasing function for the independent variable y, which ensures that the higher the risk of the customer, the greater the corrected risk probability.

[0071] In order to facilitate understanding of how to implement the present invention, an example is given below for illustration.

[0072] 1. Obtain transaction sample data of existing scenarios in the bank in the past period of time in the network state, which includes: risky transaction data; train a machine learning model based on the above transaction sample data to obtain a risk warning model. The risk warning model can predict the risk type (account theft risk, fraud risk) and risk probability of each transaction based on the transaction elements of each transaction. The input of the risk warning model can be the transaction elements of the offline transaction, and the output can be the risk type and corresponding risk probability of the offline transaction.

[0073] 2. The data of the bank's risk control model (risk warning model) is encrypted with the customer's corresponding public key and stored on the customer's mobile terminal. When the customer's mobile terminal is offline, the data of the risk control model is decrypted with the customer's private key, and then the risk control model of the corresponding scenario predicts the risk type and risk probability of the customer's offline transaction.

[0074] 3. When the customer's transaction is identified as risky, the smart contract of the blockchain will correct the risk probability of the transaction. For example, it can be corrected to p2 = max (p1 × f (r2 / r1), pmax), where p2 and p1 are the corrected risk probability and the risk probability predicted by the risk model, r2 and r1 are the risk coefficients of the no-network state and the network state, pmax is a fixed value between 0 and 1, and f is a monotonically increasing function.

[0075] 4. According to the risk probability corresponding to the transaction without network, obtain the corresponding risk control method (risk control strategy). For example, when the risk probability of account theft is greater than the P value, take stronger identity authentication means such as face recognition; when the probability of money laundering risk is greater than a certain value, collect the customer's biometric information and upload the information to the bank server when connected to the network. According to the risk control method, control the customer's transactions without network, and upload the result data of risk control to the blockchain. The above risk control method refers to the risk control strategy in the network state and is stored on the customer's mobile terminal.

[0076] 5. In order to meet differentiated needs, such as customers with different inherent risks, the greater the inherent risk of the customer, the greater the transaction risk should be. Therefore, when correcting the risk probability, the inherent risk of the customer can be considered. For example, the p2 calculated above can be multiplied by a function with the customer's inherent risk (the user's transaction risk coefficient) as the independent variable. The function satisfies: the greater the inherent risk of the customer, the greater the corresponding value of the function. For example, this function can be: f(y) = 2 / (1+exp(-y)), where y is the quantitative value of the customer's own risk (the user's transaction risk coefficient).

[0077] 6. The blockchain of the customer's mobile terminal records all transaction data without network connection. When the customer's mobile terminal is connected to the network, the transaction data of the blockchain will be synchronized to the bank's server.

[0078] In summary, the embodiment of the present invention obtains a risk warning model based on the transaction data of the reference scenario, predicts transactions without network status by the risk warning model, adjusts the predicted risk probability by the risk coefficients of the two scenarios, and adjusts the risk probability by the customer's own risk quantification value. According to the prediction results, the risk control of the customer's transaction is carried out. The transaction data without network status is recorded based on the blockchain.

[0079] The present invention also provides a device for controlling transactions in a non-network state in an embodiment, as described in the following embodiment. Since the principle of the device to solve the problem is similar to the method for controlling transactions in a non-network state, the implementation of the device can refer to the implementation of the method for controlling transactions in a non-network state, and the repeated parts will not be repeated.

[0080] Figure 5 FIG. 1 is a schematic diagram of a structure of a device for controlling transactions in a non-network state according to an embodiment of the present invention. Figure 5 As shown, the device comprises:

[0081] Decryption processing unit 01 is used to decrypt the risk warning model encrypted with the public key pre-deployed on the mobile terminal using the private key of the user when receiving the transaction in the mobile terminal of the user in the off-network state, and obtain the decrypted risk warning model; the risk warning model is pre-established based on the transaction sample data in the network state within the preset period of time of the bank;

[0082] Prediction unit 02, used to predict the risk type and corresponding risk probability of the user's offline transaction according to the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal;

[0083] Correction unit 03, for determining that the user's no-network state transaction has a risk according to the risk type and the corresponding risk probability of the no-network state transaction, obtaining a corrected risk probability according to the risk probability predicted by the risk warning model, the risk coefficient of the no-network state and the risk coefficient of the network state, and storing the corrected risk probability in the blockchain of the mobile terminal;

[0084] The strategy determination unit 04 is used to determine the risk control strategy corresponding to the transaction without network status according to the corrected risk probability and the relationship between the risk probability, risk type and risk control strategy;

[0085] The control unit 05 is used to control the user's offline transactions according to the risk control strategy corresponding to the offline transactions.

[0086] In one embodiment, the correction unit is specifically used to obtain the corrected risk probability corresponding to the no-network state transaction according to the following formula:

[0087] p2=max(p1×f(r2 / r1),pmax);

[0088] Among them, p2 is the corrected risk probability, p1 is the risk probability predicted by the risk warning model, r2 is the risk coefficient of the non-network state, r1 is the risk coefficient of the network state, pmax is a value between 0 and 1, and f is a monotonically increasing function.

[0089] In one embodiment, the device for controlling transactions in a non-network state may further include a first risk coefficient determination unit, which is used to determine the risk coefficient of the non-network state according to the following method:

[0090] Obtain risk transaction data when the bank is offline during a preset period before the current time;

[0091] Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data;

[0092] Determine the risk factor of the no-network state based on the risk factor of each risk type and the probability of each risk type;

[0093] The determined risk factor of the no-network state is stored in the blockchain.

[0094] In one embodiment, the device for controlling transactions in a non-network state may further include a second risk coefficient determination unit, which is used to determine the risk coefficient in a network state according to the following method:

[0095] Obtain risky transaction data in the network state within a preset period before the current time of the bank;

[0096] Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data;

[0097] Determine the risk factor of the network status according to the risk factor of each risk type and the probability of each risk type;

[0098] The determined risk coefficient of the network status is stored in the blockchain.

[0099] In one embodiment, the prediction unit is specifically used for:

[0100] Extract transaction elements of transactions without network status;

[0101] The transaction elements of the non-network state transaction are input into the decrypted risk warning model to obtain the risk type and corresponding risk probability of the non-network state transaction.

[0102] In one embodiment, the device for controlling transactions in a non-network state may also include:

[0103] An adjustment unit, used for multiplying the corrected risk probability by a function with the user's transaction risk coefficient as an independent variable to obtain a final corrected probability;

[0104] The strategy determination unit is specifically used to determine the risk control strategy corresponding to the transaction without network status according to the final correction probability, risk probability, and the relationship between the risk type and the risk control strategy.

[0105] In one embodiment, the function with the user's transaction risk coefficient as the independent variable is:

[0106] f(y)=1 / (1+exp(-y));

[0107] Among them, f(y) is a function with the user's transaction risk coefficient as the independent variable, and y is the user's transaction risk coefficient.

[0108] In summary, the device for controlling transactions in a non-network state provided by the embodiment of the present invention can obtain a risk warning model with more accurate prediction based on a large amount of historical transaction data of the reference scenario, and then adjust the risk probability based on the risk coefficient of the scenario and the transaction risk coefficient of the customer, and then obtain the corresponding risk control method. The transaction data in the non-network state is recorded based on the blockchain. Risk control according to the above method can better ensure the security of the transaction.

[0109] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for controlling transactions in a non-network state when executing the computer program.

[0110] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program for executing the method for controlling transactions in a non-network state.

[0111] In an embodiment of the present invention, a scheme for controlling transactions in a non-network state comprises: when a user's mobile terminal receives a transaction in a non-network state, using the user's private key to decrypt a risk warning model pre-deployed on the mobile terminal and encrypted using a public key to obtain a decrypted risk warning model; the risk warning model is pre-established based on transaction sample data in a network state within a preset period of time of the bank; the risk type and corresponding risk probability of the user's non-network state transaction are predicted based on the decrypted risk warning model; when it is determined that the user's non-network state transaction has a risk based on the risk type and corresponding risk probability of the non-network state transaction, a revised risk probability is obtained based on the risk probability predicted by the risk warning model, the risk coefficient of the non-network state, and the risk coefficient of the network state; based on the revised risk probability and the relationship between the risk probability and the risk control strategy, the risk control strategy corresponding to the non-network state transaction is determined; based on the risk control strategy corresponding to the non-network state transaction, the user's non-network transaction is controlled, so that the non-network transaction can be controlled efficiently and safely.

[0112] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0113] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0116] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling transactions without a network. It is characterized in that include: When a transaction is received by a user's mobile terminal in a network-free state, the risk warning model encrypted with a public key and pre-deployed on the mobile terminal is decrypted using the user's private key to obtain a decrypted risk warning model; The risk warning model is pre-established based on transaction sample data in a network state within a preset period of time of the bank; Predict the risk type and corresponding risk probability of the user's offline transaction based on the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal; When it is determined that the user's off-network transaction is at risk based on the risk type of the off-network transaction and the corresponding risk probability, a revised risk probability is obtained based on the risk probability predicted by the risk warning model, the risk coefficient of the off-network state, and the risk coefficient of the on-network state, and the revised risk probability is stored in the blockchain of the mobile terminal; Determine the risk control strategy corresponding to the offline transaction based on the revised risk probability and the relationship between the risk probability, risk type and risk control strategy; Control users' offline transactions according to the risk control strategy corresponding to offline transactions; When determining that the user's off-network transaction has a risk based on the risk type of the off-network transaction and the corresponding risk probability, obtaining a revised risk probability based on the risk probability predicted by the risk warning model, the risk coefficient of the off-network state and the risk coefficient of the network state, including obtaining the revised risk probability according to the following formula: p2=max(p1′f(r2 / r1),pmax); wherein p2 is the revised risk probability, p1 is the risk probability predicted by the risk warning model, r2 is the risk coefficient of the off-network state, r1 is the risk coefficient of the network state, pmax is a value between 0 and 1, and f is a monotonically increasing function; Predicting the risk type and corresponding risk probability of the user's offline transaction according to the decrypted risk warning model includes: extracting transaction elements of the offline transaction; inputting the transaction elements of the offline transaction into the decrypted risk warning model to obtain the risk type and corresponding risk probability of the offline transaction.

2. The method for controlling transactions without a network as claimed in claim 1, It is characterized in that It also includes determining the risk factor of no network status according to the following method: Obtain risk transaction data when the bank is offline during a preset period before the current time; Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data; Determine the risk factor of the no-network state based on the risk factor of each risk type and the probability of each risk type; The determined risk factor of the no-network state is stored in the blockchain.

3. The method for controlling transactions without a network as claimed in claim 1, It is characterized in that It also includes determining the risk factor of the network status according to the following method: Obtain risky transaction data in the network state within a preset period before the current time of the bank; Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data; Determine the risk factor of the network status according to the risk factor of each risk type and the probability of each risk type; The determined risk coefficient of the network status is stored in the blockchain.

4. The method for controlling transactions without a network as claimed in claim 1, It is characterized in that Also includes: Multiply the corrected risk probability by a function with the user's transaction risk coefficient as the independent variable to obtain the final corrected probability; According to the revised risk probability, and the relationship between the risk probability, risk type and risk control strategy, the risk control strategy corresponding to the transaction in the non-network state is determined, including: according to the final revised probability, and the relationship between the risk probability, risk type and risk control strategy, the risk control strategy corresponding to the transaction in the non-network state is determined.

5. The method for controlling transactions without a network as claimed in claim 4, It is characterized in that The function with the user's transaction risk coefficient as the independent variable is: f(y)=2 / (1+exp(-y)); Among them, f(y) is a function with the user's transaction risk coefficient as the independent variable, and y is the user's transaction risk coefficient.

6. A device for controlling transactions without a network. It is characterized in that include: A decryption processing unit, configured to, when a transaction is received by a user's mobile terminal in a network-free state, decrypt the risk warning model pre-deployed on the mobile terminal using the public key using the user's private key to obtain the decrypted risk warning model; The risk warning model is pre-established based on transaction sample data in a network state within a preset period of time of the bank; A prediction unit, used to predict the risk type and corresponding risk probability of the user's offline transaction according to the decrypted risk warning model, and store the risk type and corresponding risk probability in the blockchain of the mobile terminal; A correction unit, for, when determining that the off-network transaction of the user has a risk according to the risk type and the corresponding risk probability of the off-network transaction, obtaining a corrected risk probability according to the risk probability predicted by the risk warning model, the risk coefficient of the off-network state and the risk coefficient of the on-network state, and storing the corrected risk probability in the blockchain of the mobile terminal; A strategy determination unit, used to determine the risk control strategy corresponding to the no-network state transaction according to the corrected risk probability and the relationship between the risk probability, risk type and risk control strategy; A control unit, used to control the user's offline transactions according to the risk control strategy corresponding to the offline transactions; The correction unit is specifically used to obtain the corrected risk probability corresponding to the transaction in the non-network state according to the following formula: p2=max(p1′f(r2 / r1),pmax); wherein p2 is the corrected risk probability, p1 is the risk probability predicted by the risk warning model, r2 is the risk coefficient of the non-network state, r1 is the risk coefficient of the network state, pmax is a value between 0 and 1, and f is a monotonically increasing function; The prediction unit is specifically used to: extract transaction elements of transactions without network status; input the transaction elements of transactions without network status into the decrypted risk warning model to obtain the risk type and corresponding risk probability of transactions without network status.

7. The device for controlling transactions without a network as claimed in claim 6, It is characterized in that The system further includes a first risk coefficient determining unit, which is used to determine the risk coefficient of the no-network state according to the following method: Obtain risk transaction data when the bank is offline during a preset period before the current time; Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data; Determine the risk factor of the no-network state based on the risk factor of each risk type and the probability of each risk type; The determined risk factor of the no-network state is stored in the blockchain.

8. The device for controlling transactions without a network as claimed in claim 6, It is characterized in that The system further includes a second risk coefficient determining unit, which is used to determine the risk coefficient of the network state according to the following method: Obtain risky transaction data in the network state within a preset period before the current time of the bank; Determining the risk factor of each risk type and the probability of each risk type based on the risk transaction data; Determine the risk factor of the network status according to the risk factor of each risk type and the probability of each risk type; The determined risk coefficient of the network status is stored in the blockchain.

9. The device for controlling transactions without a network as claimed in claim 6, It is characterized in that Also includes: An adjustment unit, used for multiplying the corrected risk probability by a function with the user's transaction risk coefficient as an independent variable to obtain a final corrected probability; The strategy determination unit is specifically used to determine the risk control strategy corresponding to the transaction without network status according to the final correction probability and the relationship between the risk probability, risk type and risk control strategy.

10. The device for controlling transactions without a network as claimed in claim 9, It is characterized in that The function with the user's transaction risk coefficient as the independent variable is: f(y)=2 / (1+exp(-y)); Among them, f(y) is a function with the user's transaction risk coefficient as the independent variable, and y is the user's transaction risk coefficient.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Risk control method, device, server and readable storage medium

    CN108564376A

  • Financial data risk control method and device based on artificial intelligence

    CN108985583A

  • Digital currency trading method based on block chain and digital currency wallet hardware

    CN109034793A

  • Offline payment method based on digital currency, terminal and agent delivery device

    CN109493016A

  • Transaction data synchronization method, bank background system and transaction terminal

    CN113191769A