Transaction method based on block chain, computer equipment and computer program product
Through multiple rounds of feature information verification in blockchain technology, the property loss caused by private key leakage is solved, and the security of transactions is improved.
Patent Information
- Application Number
- CN202411985718.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-06
AI Technical Summary
There is a risk of property damage caused by private key leakage in existing blockchain technology.
By obtaining feature information from multiple dimensions (such as environmental features, identity features, behavior features and permission features), and performing multiple rounds of identity verification based on these feature information and their corresponding verification round information, the risks brought about by private key leakage are reduced.
It effectively reduces property losses caused by private key leakage and improves the security of blockchain transactions.
Smart Images

Figure CN119941256A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of blockchain technology, and in particular to a transaction method, computer device, and computer program product based on blockchain. Background Art
[0002] Blockchain is a distributed ledger that combines data blocks into a specific data structure in the form of a chain. It has the characteristics of decentralization and immutability, which ensures the authenticity and security of data, allowing transactions through blockchain to significantly improve the transparency and security of transactions.
[0003] Currently, identity verification can be performed through the signature and verification mechanism of public-private key pairs when initiating transactions through blockchain to improve the transparency and security of transactions. However, identity verification through the signature and verification mechanism of public-private key pairs will have the risk of private key leakage and property loss. Summary of the invention
[0004] The embodiments of the present application provide a transaction method, a computer device, and a computer program product based on blockchain, aiming to solve the risk of property loss caused by private key leakage in the existing blockchain.
[0005] In a first aspect, an embodiment of the present application provides a transaction method based on blockchain, the method comprising:
[0006] In response to a transaction request triggered by a transaction operation to be executed by a requesting party, acquiring feature information of multiple dimensions related to the requesting party, wherein the feature information of any dimension has corresponding verification round information;
[0007] authenticating the requesting party according to the feature information of multiple dimensions and the corresponding verification round information;
[0008] When the identity authentication of the requesting party is passed, the transaction operation is performed.
[0009] In a possible implementation manner of the first aspect, the performing identity authentication on the requesting party according to the feature information of multiple dimensions and the corresponding verification round information includes:
[0010] Determine the verification round information corresponding to the feature information of each dimension respectively;
[0011] According to the verification round information, the feature information of the corresponding dimensions is verified in sequence.
[0012] In a possible implementation manner of the first aspect, the verifying the feature information of corresponding dimensions in sequence according to the verification round information includes:
[0013] According to the verification round information, verify the feature information of the corresponding dimension in each verification round to obtain the risk level of the feature information of the corresponding dimension;
[0014] According to the risk level of the characteristic information, a characteristic information verification operation of the next verification round is performed, or a verification result indicating that the identity authentication of the requesting party has failed is output.
[0015] In a possible implementation manner of the first aspect, performing the feature information verification operation of the next verification round according to the risk level of the feature information, or outputting a verification result that the requesting party identity authentication fails, includes:
[0016] When the risk level of the feature information in any dimension is the first risk, determining that the identity authentication of the requesting party has failed, and outputting a verification result indicating that the identity authentication of the requesting party has failed;
[0017] When the risk level of the feature information in any dimension is the second risk, a feature information verification operation of the next verification round is performed; wherein the second risk includes medium risk and low risk.
[0018] In a possible implementation manner of the first aspect, the feature information of multiple dimensions includes an environmental feature, the verification round information of the environmental feature is a first verification round, and the verifying the feature information of corresponding dimensions in sequence according to the verification round information further includes:
[0019] Acquire the current environment characteristics and target environment characteristics of the requesting party; wherein the target environment characteristics include multi-level environment characteristic system information constructed based on the environment characteristics of the transaction conducted by the requesting party during the target time period;
[0020] In the first verification round, the current environmental characteristics of the requesting party and the target environmental characteristics are matched and verified to obtain the risk level of the environmental characteristics.
[0021] In a possible implementation manner of the first aspect, the feature information of multiple dimensions further includes identity features, behavior features, and authority features, and the verifying the feature information of corresponding dimensions in sequence according to the verification round information further includes:
[0022] When the risk level of the environmental characteristics is the second risk, the identity characteristics, behavior characteristics and authority characteristics of the requesting party are verified in sequence.
[0023] In a possible implementation manner of the first aspect, the sequentially verifying the identity characteristics, behavior characteristics, and authority characteristics of the requesting party includes:
[0024] When the risk levels of the identity characteristics and behavior characteristics of the requesting party are both the second risk, determining whether the authority characteristics of the requesting party meet the requirements for performing the transaction operation; if the authority characteristics meet the requirements for performing the transaction operation, determining that the identity authentication of the requesting party has passed; otherwise, determining that the identity authentication of the requesting party has failed;
[0025] When the risk level of any one of the identity characteristics and / or behavior characteristics of the requesting party is the first risk, it is determined that the identity authentication of the requesting party has failed.
[0026] In a possible implementation manner of the first aspect, the identity feature includes multiple items, each of the identity features has a corresponding weight, and the sequentially verifying the identity feature, behavior feature, and authority feature of the requester includes:
[0027] The identity feature of the requesting party is verified according to the weight of each identity feature.
[0028] In a second aspect, an embodiment of the present application provides a transaction device based on blockchain, the device comprising:
[0029] an acquisition module, configured to acquire, in response to a transaction request triggered by a requesting party for a transaction operation to be executed, feature information of multiple dimensions related to the requesting party, wherein the feature information of any dimension has corresponding verification round information;
[0030] A verification module, used for performing identity authentication on the requesting party according to the feature information of multiple dimensions and the corresponding verification round information;
[0031] The execution module is used to execute the transaction operation when the identity authentication of the requesting party is passed.
[0032] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the blockchain-based transaction method provided in the first aspect above is implemented.
[0033] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed on a computer, enables the computer to execute the blockchain-based transaction method provided in the first aspect.
[0034] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the blockchain-based transaction method provided in the first aspect above is implemented.
[0035] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0036] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0037] In an embodiment of the present application, by responding to a transaction request triggered by a requesting party for a transaction operation to be executed, characteristic information of multiple dimensions related to the requesting party is obtained, and the characteristic information of any dimension has corresponding verification round information. The identity of the requesting party is authenticated based on the characteristic information of multiple dimensions and the corresponding verification round information, thereby realizing the identity authentication of the transaction operation using the characteristic information related to the requesting party, reducing the situation of property loss caused by leakage of private keys, and executing the transaction operation when the identity authentication of the requesting party is passed, thereby improving the security of the transaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flowchart of a transaction method based on blockchain provided in one embodiment of the present application;
[0039] Figure 2 This is a flowchart of another transaction method based on blockchain provided in one embodiment of the present application;
[0040] Figure 3 It is a schematic diagram of a multi-dimensional identity authentication provided by an embodiment of the present application;
[0041] Figure 4 This is a flowchart of a blockchain-based transaction method provided by an embodiment of the present application;
[0042] Figure 5 This is a schematic diagram of the structure of a blockchain-based transaction device provided in one embodiment of the present application;
[0043] Figure 6 It is a structural block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.
[0045] Blockchain is a distributed ledger that combines data blocks into a specific data structure in the form of a chain. It has the characteristics of decentralization and immutability, which ensures the authenticity and security of data, allowing transactions through blockchain to significantly improve the transparency and security of transactions.
[0046] In order to conduct transactions through blockchain, users can use cryptocurrency wallets to store, manage and trade their cryptocurrency assets. When a user initiates a transaction through blockchain, the user's identity needs to be authenticated to determine whether the user can access and operate the cryptocurrency wallet. At present, there are security risks in the blockchain-based network environment for identity authentication, such as phishing scams, private key leaks, identity impersonation, etc., which makes it difficult to ensure the security of users' digital assets and there is a risk of user property loss.
[0047] Based on this, an embodiment of the present application provides a blockchain-based transaction method, which obtains characteristic information of multiple dimensions related to the requester in response to a transaction request triggered by a transaction operation to be executed by the requester, and the characteristic information of any dimension has corresponding verification round information. The requester is authenticated according to the characteristic information of multiple dimensions and the corresponding verification round information, thereby realizing the authentication of the transaction operation using the characteristic information related to the requester, reducing the situation of property loss caused by private key leakage, and executing the transaction operation when the requester's identity authentication is passed, thereby improving the security of the transaction.
[0048] See also Figure 1 , Figure 1 A flowchart of a transaction method based on blockchain provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0049] Step 101 , in response to a transaction request triggered by a requesting party for a transaction operation to be executed, acquiring feature information of multiple dimensions related to the requesting party.
[0050] Among them, the requester may be a user who initiates a transaction, and the transaction operation may be an operation of trading through the blockchain, which may specifically include operations of trading cryptocurrencies and operations of trading digital assets (such as intellectual property, real estate, financial products and other assets). The transaction request may be a request issued by the requester to conduct a transaction through the blockchain. The feature information may be information of multiple dimensions related to the requester, and may specifically include feature information such as the environment feature, identity feature, behavior feature and authority feature of the requester. The environment feature may be a feature related to the environment in which the requester performs the transaction operation, the identity feature may be a feature related to the identity of the requester, the behavior feature may be a feature related to the transaction behavior of the requester, and the authority feature may be a feature related to the authority of the requester to perform the transaction operation. The feature information of any dimension may have corresponding verification round information, and the verification round information may be the round for verifying the feature information. Feature information of different dimensions may correspond to different verification round information, that is, feature information of different dimensions may be verified in different rounds.
[0051] When the requester needs to initiate a transaction, the requester will initiate a transaction request to the transaction party for the transaction operation that needs to be performed. Specifically, the requester will send the transaction request to the blockchain through a device that communicates with the blockchain, and then the blockchain will forward the received transaction request to the corresponding transaction party.
[0052] When a transaction request is received, the blockchain will respond to the transaction request and authenticate the transaction request. When identity authentication is required, it can obtain feature information of multiple dimensions related to the requester.
[0053] Step 102: Authenticate the identity of the requesting party based on the feature information of multiple dimensions and the corresponding verification round information.
[0054] After obtaining the feature information of multiple dimensions and the corresponding verification round information, the identity of the requesting party can be authenticated according to the feature information of multiple dimensions and the corresponding verification round information.
[0055] In practical applications, the first feature information to be verified and the second feature information to be verified can be determined according to the verification round information corresponding to the feature information of each dimension, and so on. The rounds for verifying the feature information of each dimension can be obtained, and the identity of the feature information of each dimension can be authenticated according to the determined rounds.
[0056] In a specific implementation, the rounds of identity authentication for the characteristic information of each dimension may be predefined to obtain the verification round information corresponding to the characteristic information of each dimension.
[0057] Specifically, the rounds of identity authentication for the characteristic information of each dimension can be determined based on user needs, such as defining characteristic information A as the first characteristic information to be verified, and characteristic information B as the second characteristic information to be verified. The verification round information corresponding to the characteristic information of each dimension can also be predetermined based on experience.
[0058] In an embodiment of the present application, step 102 may include steps 1021 to 1022:
[0059] Step 1021, respectively determine the verification round information corresponding to the feature information of each dimension.
[0060] After obtaining feature information of multiple dimensions and the corresponding verification round information thereof, since the verification round information corresponding to the feature information of each dimension is predefined, the verification round information corresponding to the feature information of each dimension can be directly obtained.
[0061] Step 1022: Verify the feature information of corresponding dimensions in sequence according to the verification round information.
[0062] After obtaining the verification round information corresponding to the characteristic information of each dimension, the round of identity authentication for the characteristic information of each dimension can be determined according to the verification round information corresponding to the characteristic information of each dimension, that is, the order of identity authentication for the characteristic information of each dimension can be determined, and then the characteristic information of each dimension can be authenticated according to the determined order.
[0063] Exemplarily, the verification round information corresponding to characteristic information A can be the first characteristic information to be verified, the verification round information corresponding to characteristic information B can be the third characteristic information to be verified, and the verification round information corresponding to characteristic information C can be the second characteristic information to be verified. Then, the order of verifying the characteristic information of each dimension can be determined, that is, first verifying characteristic information A, then verifying characteristic information C, and finally verifying characteristic information B, and the characteristic information can be authenticated based on the determined order.
[0064] In an embodiment of the present application, step 1022 may include the following steps:
[0065] According to the verification round information, the feature information of the corresponding dimension is verified in each verification round to obtain the risk level of the feature information of the corresponding dimension. According to the risk level of the feature information, the feature information verification operation of the next verification round is performed, or the verification result that the requesting party's identity authentication fails is output.
[0066] Among them, the risk level can be used to evaluate whether there is a risk of property loss in the transaction operation, and different risk levels can correspond to different risks of property loss. Specifically, the risk level may include a first risk and a second risk. The first risk may indicate that there is a risk of property loss in the current transaction operation, and the second risk may indicate that there is no risk of property loss in the current transaction operation. The verification result may be the result of identity authentication of the requester, and may specifically include a verification result that the identity authentication of the requester fails and a verification result that the identity authentication of the requester passes. The next verification round is represented as the next round of identity authentication. The feature information verification operation is represented as the operation of identity authentication of the feature information.
[0067] After obtaining the verification round information corresponding to the characteristic information of each dimension, the round of identity authentication for the characteristic information of each dimension can be determined according to the verification round information corresponding to the characteristic information of each dimension, that is, the order of identity authentication for the characteristic information of each dimension can be determined, and then the characteristic information of each dimension can be authenticated according to the determined order to obtain the risk level of the characteristic information of each dimension.
[0068] In actual applications, for the characteristic information of each dimension, the identity of the identity can be authenticated, and then the transaction operation can be evaluated based on the characteristic information. Specifically, the probability of property loss in the transaction operation can be calculated based on the characteristic information, and when the probability is greater than a preset first probability threshold, the risk level of the characteristic information can be determined to be a first risk, and when the probability is less than or equal to the first probability threshold, the risk level of the characteristic information can be determined to be a second risk, and then the risk level of the characteristic information of each dimension can be obtained.
[0069] Specifically, the first probability threshold can be used to evaluate whether there is a possibility of property loss in a transaction operation. When the probability of property loss incurred in a transaction operation calculated based on the characteristic information is greater than the first probability threshold, it can be determined that the execution of the transaction operation is likely to cause the requester to suffer property loss, that is, it can be determined based on the characteristic information that the risk of property loss incurred in the transaction operation is greater, and further it can be determined that the identity verification of the requester has not passed. When the probability of property loss incurred in a transaction operation calculated based on the characteristic information is less than or equal to the first probability threshold, it can be determined that the possibility of property loss incurred in the transaction operation is less, that is, it can be determined based on the characteristic information that the risk of property loss incurred in the transaction operation is less, and further it can be determined that the identity verification of the requester has passed.
[0070] In a specific implementation, the identity of the characteristic information of each dimension can be authenticated in turn in the determined order. For the characteristic information verified in each round, after determining the risk level of the characteristic information, the verification result of the identity authentication of the requesting party can be determined based on the risk level of the characteristic information, and when the identity authentication of the requesting party fails, the verification result of the requesting party's identity failure can be output, or when the identity authentication of the requesting party passes, the characteristic information verification operation of the next verification round is performed, and the operation of determining the risk level of the characteristic information is repeated until a verification result of the requesting party's identity failure is obtained, or the risk levels of the characteristic information of all dimensions are obtained and it is determined that the identity authentication of the requesting party is passed based on the risk level of the characteristic information of each dimension, and the verification result of the requesting party's identity passing is output.
[0071] In an embodiment of the present application, the following method can be used to determine whether the identity authentication of the requesting party is passed:
[0072] When the risk level of the characteristic information of any dimension is the first risk, it is determined that the identity authentication of the requesting party has failed, and a verification result indicating that the identity authentication of the requesting party has failed is output; when the risk level of the characteristic information of any dimension is the second risk, the characteristic information verification operation of the next verification round is performed.
[0073] In practical applications, for the characteristic information of any dimension, the risk level of the characteristic information can be determined, and when the risk level of the characteristic information is the first risk, it can be determined that the current transaction operation has the risk of property loss, and then it can be determined that the identity authentication of the requesting party has not passed, and the verification result of the identity authentication of the requesting party has not passed can be output, that is, when the risk level of the characteristic information of any dimension is the first risk, it is determined that the identity authentication of the requesting party has not passed. When the risk level of the characteristic information is the second risk, it can be determined that the current transaction operation may not have the risk of property loss based on the characteristic information, and the characteristic information verification operation of the next verification round is performed, until all rounds of characteristic information verification operations are performed, and the risk level of the characteristic information of each dimension is the second risk, and then the verification result of the identity authentication of the requesting party has passed can be output.
[0074] As an example, the second risk may include medium risk and low risk. Medium risk may indicate that the probability of property loss incurred in the transaction operation calculated based on the characteristic information is less than or equal to the first probability threshold and greater than the second probability threshold. Low risk may indicate that the probability of property loss incurred in the transaction operation calculated based on the characteristic information is less than or equal to the second probability threshold. The second probability threshold may be used to assess whether there is a potential risk associated with the transaction behavior in the transaction operation when the probability of property loss is low. The potential risks associated with the transaction behavior may include risks associated with currency value and risks associated with behavioral tendencies. For example, risks associated with currency value may include risks of large fluctuations in the exchange rate between the currency in circulation in the transaction operation and other currencies, risks of credit risk caused by a short issuance time of the currency in circulation in the transaction operation, and risks associated with behavioral tendencies may include risks of the transaction amount in the transaction operation exceeding the preferred amount of the requesting party, risks of the credit status of the transaction party in the transaction operation being different from the preferences of the requesting party, and the like.
[0075] In a specific implementation, when the risk level of the characteristic information of any dimension is the second risk, the probability corresponding to the characteristic information of this dimension can also be compared with the second probability threshold, that is, the probability of property loss occurring in a transaction operation is calculated based on the characteristic information of this dimension, and the probability is compared with the second probability threshold. Furthermore, when the probability is greater than the second probability threshold, the risk level of the characteristic information of this dimension is determined to be medium risk, and it can be determined that the current transaction operation has potential risks associated with the transaction behavior, and risk warning information is generated based on the potential risks associated with the transaction behavior to prompt the requesting party. When the probability is less than or equal to the second probability threshold, the risk level of the characteristic information of this dimension is determined to be low risk, and it can be determined that the current transaction operation does not have potential risks associated with the transaction behavior, and there is no need to provide a risk warning to the requesting party.
[0076] It should be understood that by performing the feature information verification operation of the next verification round when it is determined that the risk level of the feature information of any dimension is the second risk, and before performing the feature information verification operation of the next verification round, it is also possible to determine that the risk level of the feature information of this dimension is medium risk or low risk in the second risk, and when the risk level of the feature information of this dimension is medium risk in the second risk, a risk warning is given to the requesting party, thereby further reducing the damage to the property of the requesting party and improving the security of the transaction.
[0077] Step 103: When the identity authentication of the requesting party is passed, the transaction operation is executed.
[0078] When the identity authentication of the requesting party is passed, it can be determined that there is no risk of property loss in the current transaction operation, and the transaction operation can be allowed to be executed. When the identity authentication of the requesting party is not passed, it can be determined that there is a risk of property loss in the current transaction operation, and the transaction operation can be refused to be executed.
[0079] In an embodiment of the present application, by responding to a transaction request triggered by a requesting party for a transaction operation to be executed, characteristic information of multiple dimensions related to the requesting party is obtained, and the characteristic information of any dimension has corresponding verification round information. The identity of the requesting party is authenticated based on the characteristic information of multiple dimensions and the corresponding verification round information, thereby realizing the identity authentication of the transaction operation using the characteristic information related to the requesting party, reducing the situation of property loss caused by leakage of private keys, and executing the transaction operation when the identity authentication of the requesting party is passed, thereby improving the security of the transaction.
[0080] See also Figure 2 , Figure 2 A flowchart of another blockchain-based transaction method provided in an embodiment of the present application is shown, which may specifically include the following steps:
[0081] Step 201 , in response to a transaction request triggered by a requesting party for a transaction operation to be executed, acquiring feature information of multiple dimensions related to the requesting party.
[0082] Step 202, respectively determine the verification round information corresponding to the feature information of each dimension.
[0083] For the related descriptions of step 201 to step 202, please refer to step 101 to step 102, and they will not be repeated here.
[0084] Step 203, obtaining the current environment characteristics of the requesting party and the target environment characteristics.
[0085] Among them, the feature information of multiple dimensions may include environmental features, the verification round information of environmental features may be the first verification round, the target environmental features may be used to verify the environmental features, the target environmental features may include multi-level environmental feature system information constructed based on the environmental features of the requester during the target time period, the target time period may be any time period defined by the user, the multi-level environmental feature system information may be the multi-level environmental features when the requester conducts transactions, the multi-level environmental features may include the environmental features of the requester at each level when conducting transactions, the environmental features may be features related to the environment in which the requester performs transaction operations, and may specifically include the device identification, device address, and communication address of the device used when the requester performs transaction operations. The device identification may be used to identify the device of the requester conducting transactions, the device address may be the geographical location of the device of the requester during the transaction, and the communication address may be the network address of the device of the requester conducting transactions in the network.
[0086] In actual applications, the target environment characteristics of each transaction operation performed by the requester within the target time period can be obtained in advance. For example, the environment characteristics of each transaction operation performed by the requester in the past 7 days can be obtained, that is, the device identification of the device used by the requester each time the transaction operation is performed, the geographical location of the device used by the requester, and the network address of the device used by the requester in the network are obtained. Then, based on the environment information of each transaction operation, the target environment characteristics of the requester can be determined, that is, the characteristics of the requester's commonly used devices, commonly used addresses, and commonly used networks can be determined from the environment characteristics when each transaction operation is performed.
[0087] It should be understood that, since the requester uses a device that communicates with the blockchain to conduct transactions when performing blockchain transactions, it is possible to record the device used by the requester each time the requester performs a transaction operation, record the geographical location of the device used by the requester when performing the transaction operation, and record the network address of the device used by the requester in the network when the requester performs the transaction operation, and then record the device used by the requester each time the transaction operation is performed within the target time period, and count the devices with the same device identification, and obtain the device that is used most times within the target time period as the commonly used device. Similarly, it is also possible to record the geographical location of the device when the requester performs a transaction operation each time within the target time period, and count the same geographical location, and obtain the geographical location that appears most times within the target time period as the commonly used address. And, it is also possible to record the network location of the network where the device of the requester is located each time the transaction operation is performed within the target time period, and count the same network address, and obtain the network address that appears most times within the target time period as the commonly used network.
[0088] After obtaining the target environment characteristics of the requester, the current environment characteristics of the requester can be obtained, that is, the device identification of the device used by the requester when performing the transaction operation at the current moment, the geographical location of the device when the requester performs the transaction operation at the current moment, and the network address of the network where the device is located when the requester performs the transaction operation at the current moment, to obtain the device identification obtained at the current moment, the geographical location of the device at the current moment, and the network address of the device at the current moment.
[0089] Step 204, in the first verification round, the current environment characteristics of the requester and the target environment characteristics are matched and verified to obtain the risk level of the environment characteristics.
[0090] After obtaining the current environmental characteristics of the requester and the target environmental characteristics, since the verification round information corresponding to the environmental characteristics is the first verification round, that is, it is the first characteristic information for identity authentication among the characteristic information of all dimensions, the operation of authenticating the environmental characteristics at the current moment is performed based on the verification round information of the environmental characteristics, that is, the current environmental characteristics of the requester and the target environmental characteristics are matched and verified in the first verification round, so as to obtain the risk level of the current environmental characteristics.
[0091] In actual applications, the device identification obtained at the current moment can be compared with the device identification of commonly used devices, the geographic location obtained at the current moment can be compared with the commonly used address, and the network address obtained at the current moment can be compared with the commonly used network. When the device identification obtained at the current moment matches the device identification of the commonly used device, the geographic location obtained at the current moment matches the commonly used address, and the network address obtained at the current moment matches the commonly used network, the risk level of the current environmental characteristics is determined to be the second risk. When the device identification obtained at the current moment does not match the device identification of the commonly used device, or the geographic location obtained at the current moment does not match the commonly used address, or the network address obtained at the current moment does not match the commonly used network, the risk level of the current environmental characteristics is determined to be the first risk.
[0092] Step 205: When the risk level of the environmental characteristics is the second risk, the identity characteristics, behavior characteristics and authority characteristics of the requesting party are verified in sequence.
[0093] Among them, the identity feature may be a feature related to the identity of the requester, and the identity feature may be used to identify the identity of the requester, and may specifically include the biometrics, social relationship features, and other features of the requester. The biometric feature may be a feature that identifies the requester at the biological level, such as fingerprints, palm prints, faces, irises, and other features. The social relationship feature may be a feature that identifies the requester in social relationships, such as the citizen identity information of the requester, the social identity information of the requester, and the known social relationships of the requester. The behavior feature may be a feature related to the transaction behavior of the requester, and may specifically indicate the preference information of the requester in executing the transaction behavior, such as the preferred time period for the requester to execute the transaction behavior, the preferred frequency for the requester to execute the transaction behavior, and the preferred amount for the requester to execute the transaction behavior. The authority feature may be a feature related to the authority of the requester to execute the transaction operation, and may specifically include the authority related to the transaction amount when the requester executes the transaction operation, and the authority related to the transaction commodity when the requester executes the transaction operation.
[0094] When the risk level of the environmental characteristics is the second risk, the characteristic information verification operation of the next verification round can be executed, that is, the operation of verifying the identity characteristics, behavior characteristics and authority characteristics of the requester is performed in sequence to obtain the risk level of each characteristic information, that is, the risk level of the identity characteristics, the risk level of the behavior characteristics and the risk level of the authority characteristics.
[0095] In actual applications, when the next verification round is the verification round information corresponding to the identity characteristics, the target identity characteristics of the requester can be obtained, that is, the biometric characteristics, social relationship characteristics and other characteristics pre-stored by the requester can be obtained, and then the operation of authenticating the identity characteristics at the current moment can be performed, that is, the identity characteristics obtained at the current moment are matched and verified with the target identity characteristics. When the identity characteristics obtained at the current moment match the target identity characteristics, the risk level of the determined identity characteristics is the second risk, and when the identity characteristics obtained at the current moment do not match the target identity characteristics, the risk level of the determined identity characteristics is the first risk.
[0096] Similarly, when the next verification round is the verification round information corresponding to the behavior characteristics, the target behavior characteristics of the requester can be obtained, that is, the predetermined preferred time period for the requester to perform the transaction behavior, the preferred frequency for the requester to perform the transaction behavior, the preferred amount for the requester to perform the transaction behavior and other information can be obtained, and then the operation of authenticating the behavior characteristics at the current moment can be performed, that is, the operation of matching and verifying the behavior characteristics obtained at the current moment with the target behavior characteristics. When the transaction operation performed at the current moment is in the preferred time period, the deviation between the amount of the transaction operation performed at the current moment and the preferred amount is less than the preset deviation threshold, and the frequency of the transaction operations performed in the past period is less than or equal to the preferred frequency, the risk level of the behavior characteristics is determined to be the second risk. When the transaction operation performed at the current moment is not in the preferred time period, or the deviation between the amount of the transaction operation performed at the current moment and the preferred amount is greater than or equal to the deviation threshold, or the frequency of the transaction operations performed in the past period is greater than the preferred frequency, the risk level of the behavior characteristics is determined to be the first risk.
[0097] When the next verification round is the verification round information corresponding to the permission feature, the target permission feature of the requester can be obtained, that is, the predetermined permission of the requester related to the transaction amount, the permission of the requester related to the transaction commodity and other features can be obtained, and then the operation of authenticating the identity of the permission feature at the current moment can be performed, that is, the operation of matching and verifying the permission feature obtained at the current moment with the target permission feature. When the amount of the transaction operation performed at the current moment does not exceed the transaction amount corresponding to the permission of the requester related to the transaction amount, and the commodity involved in the transaction operation performed at the current moment is any of all commodities corresponding to the permission of the requester related to the transaction commodity, the risk level of the permission feature is determined to be the second risk. When the amount of the transaction operation performed at the current moment exceeds the transaction amount corresponding to the permission of the requester related to the transaction amount, or the commodity involved in the transaction operation performed at the current moment is any of all commodities corresponding to the permission of the non-requester related to the transaction commodity, the risk level of the permission feature is determined to be the first risk.
[0098] In an embodiment of the present application, the verification round information corresponding to the identity feature may be the second verification round, the verification round information corresponding to the behavior feature may be the third verification round, and the verification round information corresponding to the authority feature may be the fourth verification round. Step 205 may include the following steps:
[0099] When the risk level of the identity characteristics and behavior characteristics of the requester are both the second risk, determine whether the authority characteristics of the requester meet the requirements for executing the transaction operation; if the authority characteristics meet the requirements for executing the transaction operation, determine that the identity authentication of the requester has passed; otherwise, determine that the identity authentication of the requester has failed;
[0100] When the identity characteristics and behavioral characteristics of the requester are authenticated in sequence, and the risk levels of the identity characteristics and behavioral characteristics of the requester are both the second risk, the feature information verification operation of the next verification round can be performed, that is, the operation of authenticating the authority characteristics can be performed, and then it can be determined whether the authority characteristics of the requester meet the requirements for executing transaction operations, that is, whether the risk level of the authority characteristics is the second risk.
[0101] In actual applications, when the amount of the transaction operation executed at the current moment does not exceed the transaction amount corresponding to the authority of the requester related to the transaction amount, and the commodity involved in the transaction operation executed at the current moment is any of all commodities corresponding to the authority of the requester related to the transaction commodity, the risk level of the identity characteristics that can be determined is the second risk, that is, it is determined that the authority characteristics of the requester meet the requirements for executing the transaction operation, and then it can be determined that the identity authentication of the requester has passed. If the amount of the transaction operation executed at the current moment exceeds the transaction amount corresponding to the authority of the requester related to the transaction amount, or the commodity involved in the transaction operation executed at the current moment is any of all commodities corresponding to the authority of the non-requester related to the transaction commodity, the risk level of the identity characteristics that can be determined is the first risk, that is, it is determined that the authority characteristics of the requester do not meet the requirements for executing the transaction operation, and then it can be determined that the identity authentication of the requester has not passed.
[0102] When the risk level of any of the identity characteristics and / or behavior characteristics of the requesting party is the first risk, it can be determined that the identity authentication of the requesting party has failed.
[0103] In an embodiment of the present application, step 205 may further include the following steps:
[0104] The identity characteristics of the requesting party are verified according to the weight of each identity characteristic.
[0105] The identity feature may include multiple features, and each identity feature has a corresponding weight.
[0106] When the identity feature is obtained and the next verification round is the verification round information corresponding to the identity feature, the target identity feature of the requester can be obtained, and the identity feature of the requester can be verified based on the weight of each identity feature, the identity feature obtained at the current moment, and the target identity feature.
[0107] Since the identity characteristics may include the requesting party's biometric characteristics, social relationship characteristics and other characteristics, the corresponding weights of the biometric characteristics and the corresponding weights of the social relationship characteristics may be determined, and the biometric characteristics may include fingerprints, palm prints, irises and other characteristics, and the social relationship characteristics may include the requesting party's citizen identity information, the requesting party's social identity information, the requesting party's known social relationships and other characteristics, the biometric characteristics in the identity characteristics obtained at the current moment may be matched with the biometric characteristics in the target identity characteristics, and weighted calculation may be performed according to the corresponding weights to obtain a matching score between the biometric characteristics in the identity characteristics obtained at the current moment and the biometric characteristics in the target identity characteristics.
[0108] For example, when the fingerprint in the biometric feature obtained at the current moment matches the fingerprint in the target identity feature, the fingerprint feature can be given a value of 1, and the corresponding weight of the biometric feature can be 2, so the score of the fingerprint feature can be 2. Similarly, the scores of features such as palm prints and irises can be obtained, and the scores of all biometric features are summed to obtain the matching score of the biometric features.
[0109] Similarly, the social relationship features obtained at the current moment can be matched with the social relationship features in the target identity features. When the citizen identity information in the social relationship features obtained at the current moment matches the citizen identity information in the target identity features, the citizen identity information can be taken as 1, and the corresponding weight of the social relationship features can be 1, and then the score of the citizen identity information can be obtained as 1. Similarly, the scores of the requesting party's social identity information, the requesting party's known social relationships and other features can be obtained, and the scores of all social relationship features can be summed up to obtain the matching score of the social relationship features.
[0110] After obtaining the matching score of the biometric feature and the matching score of the social relationship feature, the matching score of the biometric feature and the matching score of the social relationship feature can be summed to obtain a total score for verifying the identity feature of the requesting party. When the total score is less than or equal to a preset total score threshold, the risk level of the identity feature is determined to be a first risk, and it is determined that the identity authentication of the requesting party has failed. When the total score is greater than the preset total score threshold, the risk level of the identity feature can be determined to be a second risk, and it is determined that the identity authentication of the requesting party has passed.
[0111] See also Figure 3 , Figure 3 A schematic diagram of a multi-dimensional identity authentication provided by an embodiment of the present application is shown, such as Figure 3As shown, identity authentication of the requesting party needs to be performed based on environmental characteristics, identity characteristics, behavioral characteristics and authority characteristics, wherein identity authentication of environmental characteristics may include steps of verifying geographic location, verifying device identification and verifying network address, identity authentication of identity characteristics may include steps of verifying biometric characteristics, verifying social relationship characteristics and verifying private keys, behavior authentication of behavior characteristics may include steps of verifying time period of transaction operations, verifying frequency of transaction operations and verifying amount involved in transaction operations, and authority authentication of authority characteristics may include steps of verifying based on transaction amount and verifying based on restricted goods.
[0112] It should be understood that the identity feature may also include a key feature, and authenticating the identity feature may also include an operation of verifying based on the key.
[0113] Step 206: When the identity authentication of the requesting party is passed, the transaction operation is executed.
[0114] In an embodiment of the present application, by responding to a transaction request triggered by a transaction operation to be executed by the requesting party, characteristic information of multiple dimensions related to the requesting party is obtained, the verification round information corresponding to the characteristic information of each dimension is determined respectively, the current environmental characteristics of the requesting party and the target environmental characteristics are obtained, and the current environmental characteristics of the requesting party and the target environmental characteristics are matched and verified in a first verification round to obtain a risk level of the environmental characteristics. When the risk level of the environmental characteristics is a second risk, the identity characteristics, behavior characteristics and authority characteristics of the requesting party are verified in turn, thereby realizing identity authentication of the transaction operation using the characteristic information related to the requesting party, reducing the situation of property loss caused by leakage of private keys, and executing the transaction operation when the identity authentication of the requesting party is passed, thereby improving the security of the transaction.
[0115] See also Figure 4 , Figure 4 A flowchart of a blockchain-based transaction method provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0116] Step 401, obtaining and responding to a transaction request triggered by a transaction operation to be executed by the requesting party, and obtaining feature information of multiple dimensions related to the requesting party, wherein the feature information of multiple dimensions includes environmental features, identity features, behavior features, opinion and authority features;
[0117] Step 402, determine whether the environmental characteristics are abnormal, if so, execute step 403, if not, execute step 404;
[0118] In actual applications, it is possible to determine whether the environmental features are abnormal based on the environmental features obtained at the current moment and the target environmental features, and then determine that the environmental features are normal if the device identification obtained at the current moment matches the device identification of the commonly used device, the geographic location obtained at the current moment matches the commonly used address, and the network address obtained at the current moment matches the commonly used network. If the device identification obtained at the current moment does not match the device identification of the commonly used device, or the geographic location obtained at the current moment does not match the commonly used address, or the network address obtained at the current moment does not match the commonly used network, it is determined that the environmental features are abnormal.
[0119] Step 403, determine the risk level of the environmental feature, and determine whether the risk level of the environmental feature is the second risk, if so, execute step 404, if not, execute step 411;
[0120] In practical applications, the weight corresponding to each feature in the environmental characteristics can be determined in advance, and each feature in the environmental characteristics can be weighted calculated to obtain the matching score corresponding to the environmental characteristics, and then the risk level of the environmental characteristics can be determined based on the matching score corresponding to the environmental characteristics.
[0121] Specifically, when the device identification obtained at the current moment matches the device identification of a commonly used device, the matching score of the device identification can be calculated based on the weight corresponding to the device identification. When the device identification obtained at the current moment does not match the device identification of the commonly used device, the matching score of the device identification is not calculated. Similarly, each feature in the environmental feature can be weightedly calculated according to the weight corresponding to each feature in the environmental feature to obtain the matching score of each feature in the environmental feature, and the matching score of each feature in the environmental feature can be summed to obtain the total matching score of the environmental feature.
[0122] In a specific implementation, when the total matching score of the environmental features is greater than or equal to a preset environmental score threshold, the risk level of the environmental features is determined to be the second risk; when the total matching score of the environmental features is less than the environmental score threshold, the risk level of the environmental features is determined to be the first risk.
[0123] Step 404, determine whether the identity feature is abnormal, if so, execute step 405, if not, execute step 406;
[0124] In practical applications, it is possible to determine whether the identity features are abnormal based on the identity features obtained at the current moment and the target identity features. Further, if the identity features obtained at the current moment match the target identity features, it can be determined that there is no abnormality in the identity features. If the identity features obtained at the current moment do not match the target identity features, it can be determined that there is an abnormality in the identity features.
[0125] Step 405, determining the risk level of the identity feature, and determining whether the risk level of the identity feature is the second risk, if so, executing step 406, if not, executing step 411;
[0126] In practical applications, the weight corresponding to each feature in the identity feature can be determined in advance, and each feature in the identity feature can be weighted calculated to obtain the matching score corresponding to the identity feature, and then the risk level of the identity feature can be determined based on the matching score corresponding to the identity feature.
[0127] Specifically, when the biometric feature acquired at the current moment matches the pre-stored biometric feature, the matching score of the biometric feature can be calculated based on the weight corresponding to the biometric feature. When the biometric feature acquired at the current moment does not match the pre-stored biometric feature, the matching score of the biometric feature is not calculated. Similarly, each feature in the identity feature can be weighted according to the weight corresponding to each feature in the identity feature to obtain the matching score of each feature in the identity feature, and the matching score of each feature in the identity feature can be summed to obtain the total matching score of the identity feature.
[0128] In a specific implementation, when the total matching score of the identity feature is greater than or equal to a preset identity score threshold, the risk level of the identity feature is determined to be the second risk; when the total matching score of the identity feature is less than the identity score threshold, the risk level of the identity feature is determined to be the first risk.
[0129] Step 406, determine whether the behavior characteristics are abnormal, if so, execute step 407, if not, execute step 408;
[0130] In practical applications, it is possible to determine whether the behavior characteristics are abnormal based on the behavior characteristics obtained at the current moment and the target behavior characteristics, and then determine that the behavior characteristics are not abnormal when the transaction operation executed at the current moment is in the preferred time period, the deviation between the amount of the transaction operation executed at the current moment and the preferred amount is less than the preset deviation threshold, and the frequency of the transaction operations executed in the past period is less than or equal to the preferred frequency. If the transaction operation executed at the current moment is not in the preferred time period, or the deviation between the amount of the transaction operation executed at the current moment and the preferred amount is greater than or equal to the deviation threshold, or the frequency of the transaction operations executed in the past period is greater than the preferred frequency, it is determined that the behavior characteristics are abnormal.
[0131] Step 407, determine the risk level of the behavior feature, and determine whether the risk level of the behavior feature is the second risk, if so, execute step 408, if not, execute step 411;
[0132] In practical applications, the weight corresponding to each feature in the behavior feature can be determined in advance, and each feature in the behavior feature can be weighted calculated to obtain the matching score corresponding to the behavior feature, and then the risk level of the behavior feature can be determined based on the matching score corresponding to the behavior feature.
[0133] Specifically, when the transaction operation executed at the current moment is in the preferred time period, the matching score of the preferred time period can be calculated based on the weight corresponding to the preferred time period, and when the transaction operation executed at the current moment is not in the preferred time period, the matching score of the preferred time period is not calculated. Similarly, each feature in the behavior feature can be weighted calculated according to the weight corresponding to each feature in the behavior feature to obtain the matching score of each feature in the behavior feature, and the matching score of each feature in the behavior feature can be summed to obtain the total matching score of the behavior feature.
[0134] In a specific implementation, when the total matching score of the behavioral feature is greater than or equal to a preset behavioral score threshold, the risk level of the behavioral feature is determined to be the second risk; when the total matching score of the behavioral feature is less than the behavioral score threshold, the risk level of the behavioral feature is determined to be the first risk.
[0135] As an example, when the risk level of the behavior characteristic is medium risk in the second risk, the authority of the requester can be adjusted to obtain an adjusted target authority characteristic, and then subsequent steps can be performed based on the adjusted target authority characteristic.
[0136] Step 408, determine whether the permission feature is abnormal, if so, execute step 409, if not, execute step 410;
[0137] In actual applications, it is possible to determine whether the permission characteristics are abnormal based on the permission characteristics obtained at the current moment and the target permission characteristics, and then determine that the permission characteristics are not abnormal when the amount of the transaction operation executed at the current moment does not exceed the transaction amount corresponding to the permission of the requester related to the transaction amount, and the commodity involved in the transaction operation executed at the current moment is any of all commodities corresponding to the permission of the requester related to the transaction commodity. However, when the amount of the transaction operation executed at the current moment exceeds the transaction amount corresponding to the permission of the requester related to the transaction amount, or the commodity involved in the transaction operation executed at the current moment is any of all commodities corresponding to the permission of the non-requester related to the transaction commodity, it is determined that the permission characteristics are abnormal.
[0138] Step 409, determining the risk level of the permission feature, and judging whether the risk level of the permission feature is the second risk, if so, executing step 410, if not, executing step 411;
[0139] In practical applications, the weight corresponding to each feature in the permission feature can be determined in advance, and each feature in the permission feature can be weighted calculated to obtain the matching score corresponding to the permission feature, and then the risk level of the permission feature can be determined based on the matching score corresponding to the permission feature.
[0140] Specifically, when the amount of the transaction operation executed at the current moment does not exceed the transaction amount corresponding to the authority of the requesting party related to the transaction amount, the matching score of the transaction amount can be calculated based on the weight corresponding to the transaction amount. When the amount of the transaction operation executed at the current moment exceeds the transaction amount corresponding to the authority of the requesting party related to the transaction amount, the matching score of the transaction amount is not calculated. Similarly, each feature in the permission feature can be weighted calculated according to the weight corresponding to each feature in the permission feature to obtain the matching score of each feature in the permission feature, and the matching score of each feature in the permission feature can be summed to obtain the total matching score of the permission feature.
[0141] In a specific implementation, when the total matching score of the permission feature is greater than or equal to the preset permission score threshold, the risk level of the permission feature is determined to be the second risk; when the total matching score of the permission feature is less than the permission score threshold, the risk level of the permission feature is determined to be the first risk.
[0142] It should be understood that the environment score threshold, identity score threshold, behavior score threshold, and authority score threshold can all be defined by the user or obtained based on experience.
[0143] Step 410, determine that the identity authentication of the requesting party is passed, and execute the transaction operation;
[0144] Step 411, determining that the identity authentication of the requesting party has not been passed, and refusing to execute the transaction operation.
[0145] In an embodiment of the present application, by responding to a transaction request triggered by a requesting party for a transaction operation to be executed, characteristic information of multiple dimensions related to the requesting party is obtained, and the characteristic information of any dimension has corresponding verification round information. The identity of the requesting party is authenticated based on the characteristic information of multiple dimensions and the corresponding verification round information, thereby realizing the identity authentication of the transaction operation using the characteristic information related to the requesting party, reducing the situation of property loss caused by leakage of private keys, and executing the transaction operation when the identity authentication of the requesting party is passed, thereby improving the security of the transaction.
[0146] Reference Figure 5 , Figure 5 The schematic diagram of the structure of a blockchain-based transaction device provided by an embodiment of the present application is shown, which may specifically include the following modules:
[0147] An acquisition module 501 is used to acquire characteristic information of multiple dimensions related to the requester in response to a transaction request triggered by a requester for a transaction operation to be executed, wherein the characteristic information of any dimension has corresponding verification round information;
[0148] Verification module 502, used to authenticate the identity of the requester based on feature information of multiple dimensions and corresponding verification round information;
[0149] The execution module 503 is used to execute the transaction operation when the identity authentication of the requesting party is passed.
[0150] In one implementation, the verification module 502 may be specifically used for:
[0151] Determine the verification round information corresponding to the feature information of each dimension respectively;
[0152] According to the verification round information, the feature information of the corresponding dimensions is verified in turn.
[0153] In one implementation, the verification module 502 may be specifically used for:
[0154] According to the verification round information, the feature information of the corresponding dimension is verified in each verification round to obtain the risk level of the feature information of the corresponding dimension;
[0155] According to the risk level of the characteristic information, the characteristic information verification operation of the next verification round is performed, or the verification result indicating that the requesting party's identity authentication has failed is output.
[0156] In one implementation, the verification module 502 may be specifically used for:
[0157] When the risk level of the feature information of any dimension is the first risk, determining that the identity authentication of the requesting party fails, and outputting a verification result that the identity authentication of the requesting party fails;
[0158] When the risk level of the feature information of any dimension is the second risk, the feature information verification operation of the next verification round is performed; wherein the second risk includes medium risk and low risk.
[0159] In one implementation, the feature information of multiple dimensions includes environmental features, and the verification round information of the environmental features is the first verification round. The verification module 502 may also be used to:
[0160] Acquire the current environment characteristics of the requester and the target environment characteristics; wherein the target environment characteristics include multi-level environment characteristic system information constructed based on the environment characteristics of the requester during the target time period;
[0161] In the first verification round, the current environment characteristics of the requester and the target environment characteristics are matched and verified to obtain the risk level of the environment characteristics.
[0162] In one implementation, the feature information of multiple dimensions also includes identity features, behavior features, and authority features. The verification module 502 can also be used to:
[0163] When the risk level of the environmental characteristics is the second risk, the identity characteristics, behavior characteristics and authority characteristics of the requester are verified in turn.
[0164] In one implementation, the verification module 502 may also be used to:
[0165] When the risk level of the identity characteristics and behavior characteristics of the requester are both the second risk, determine whether the authority characteristics of the requester meet the requirements for executing the transaction operation; if the authority characteristics meet the requirements for executing the transaction operation, determine that the identity authentication of the requester has passed; otherwise, determine that the identity authentication of the requester has failed;
[0166] When the risk level of any of the identity characteristics and / or behavior characteristics of the requesting party is the first risk, it is determined that the identity authentication of the requesting party has failed.
[0167] In one implementation, the identity feature includes multiple items, each of which has a corresponding weight. The verification module 502 may also be used to:
[0168] The identity characteristics of the requesting party are verified according to the weight of each identity characteristic.
[0169] In an embodiment of the present application, by responding to a transaction request triggered by a requesting party for a transaction operation to be executed, characteristic information of multiple dimensions related to the requesting party is obtained, and the characteristic information of any dimension has corresponding verification round information. The identity of the requesting party is authenticated based on the characteristic information of multiple dimensions and the corresponding verification round information, thereby realizing the identity authentication of the transaction operation using the characteristic information related to the requesting party, reducing the situation of property loss caused by leakage of private keys, and executing the transaction operation when the identity authentication of the requesting party is passed, thereby improving the security of the transaction.
[0170] It should be noted that the information interaction, execution process and other contents between the above-mentioned devices are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0171] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0172] Reference Figure 6 , Figure 6 A structural block diagram of a computer device provided by an embodiment of the present application is shown. Figure 6 As shown, an embodiment of the present application further provides a computer device 61, which includes: at least one processor 611, a memory 612, and a computer program 6121 stored in the memory 612 and executable on the at least one processor 611, and when the processor 611 executes the computer program 6121, the steps in any of the above-mentioned method embodiments are implemented.
[0173] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments can be implemented.
[0174] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to a computer device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0176] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A transaction method based on blockchain, characterized in that: The method comprises: In response to a transaction request triggered by a transaction operation to be executed by a requesting party, acquiring feature information of multiple dimensions related to the requesting party, wherein the feature information of any dimension has corresponding verification round information; authenticating the requesting party according to the feature information of multiple dimensions and the corresponding verification round information; When the identity authentication of the requesting party is passed, the transaction operation is performed.
2. The blockchain-based transaction method according to claim 1, characterized in that: The performing identity authentication on the requesting party according to the feature information of multiple dimensions and the corresponding verification round information includes: Determine the verification round information corresponding to the feature information of each dimension respectively; According to the verification round information, the feature information of the corresponding dimensions is verified in sequence.
3. The blockchain-based transaction method according to claim 2, characterized in that: The verifying the feature information of the corresponding dimensions in sequence according to the verification round information includes: According to the verification round information, verify the feature information of the corresponding dimension in each verification round to obtain the risk level of the feature information of the corresponding dimension; According to the risk level of the characteristic information, a characteristic information verification operation of the next verification round is performed, or a verification result indicating that the identity authentication of the requesting party has failed is output.
4. The blockchain-based transaction method according to claim 3, characterized in that: The performing of the feature information verification operation of the next verification round according to the risk level of the feature information, or outputting the verification result that the identity authentication of the requesting party fails, includes: When the risk level of the feature information in any dimension is the first risk, determining that the identity authentication of the requesting party has failed, and outputting a verification result indicating that the identity authentication of the requesting party has failed; When the risk level of the feature information in any dimension is the second risk, a feature information verification operation of the next verification round is performed; wherein the second risk includes medium risk and low risk.
5. The blockchain-based transaction method according to any one of claims 2 to 4, characterized in that: The feature information of multiple dimensions includes an environmental feature, the verification round information of the environmental feature is a first verification round, and the feature information of corresponding dimensions is verified in sequence according to the verification round information, further comprising: Acquire the current environment characteristics and target environment characteristics of the requesting party; wherein the target environment characteristics include multi-level environment characteristic system information constructed based on the environment characteristics of the transaction conducted by the requesting party during the target time period; In the first verification round, the current environmental characteristics of the requesting party and the target environmental characteristics are matched and verified to obtain the risk level of the environmental characteristics.
6. The blockchain-based transaction method according to claim 5, characterized in that: The characteristic information of multiple dimensions also includes identity characteristics, behavior characteristics and authority characteristics. According to the verification round information, the characteristic information of corresponding dimensions is verified in turn, and further includes: When the risk level of the environmental characteristics is the second risk, the identity characteristics, behavior characteristics and authority characteristics of the requesting party are verified in sequence.
7. The blockchain-based transaction method according to claim 6, characterized in that: The verifying of the identity characteristics, behavior characteristics and authority characteristics of the requesting party in sequence includes: When the risk levels of the identity characteristics and behavior characteristics of the requesting party are both the second risk, determining whether the authority characteristics of the requesting party meet the requirements for performing the transaction operation; if the authority characteristics meet the requirements for performing the transaction operation, determining that the identity authentication of the requesting party has passed; otherwise, determining that the identity authentication of the requesting party has failed; When the risk level of any one of the identity characteristics and / or behavior characteristics of the requesting party is the first risk, it is determined that the identity authentication of the requesting party has failed.
8. The blockchain-based transaction method according to claim 6 or 7, characterized in that: The identity features include multiple items, each of which has a corresponding weight. The identity features, behavior features, and authority features of the requesting party are verified in sequence, including: The identity feature of the requesting party is verified according to the weight of each identity feature.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
10. A computer program product, comprising a computer program, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 8.