A risk identification method, device and equipment

By using a trusted execution environment for risk identification processing in financial business systems, the problems of user privacy protection and real-time computing decision-making are solved, the security and accuracy of data sharing and risk prevention and control are achieved, and the continuous risk of large data volumes is supported. manage.

CN114638685BActive Publication Date: 2024-09-06ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210222836.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-09-06
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

In financial business systems, how to achieve data sharing and real-time computing decisions while satisfying user privacy protection, especially when there are legal and policy constraints between sub-business systems and main business systems.

Method used

By setting up a trusted execution environment in electronic devices and blockchain systems, receiving risk identification requests, transmitting business identification, user identification and business data, and obtaining second business data from the preset risk prevention and control system for risk identification processing, Ensure the security and privacy of data processing and transmission in a trusted environment.

Benefits of technology

It realizes data sharing and real-time risk decision-making on the premise of satisfying user privacy protection, improves the accuracy and security of the risk prevention and control system, and supports continuous risk prevention, control and decision-making of large data volumes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638685B
    Figure CN114638685B
Patent Text Reader

Abstract

The embodiments of this specification disclose a risk identification method, apparatus and equipment, which is applied to an electronic device, wherein the electronic device includes a trusted execution environment, including: receiving a risk identification request for a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user initiating the target business and first business data required for risk identification of the target business, passing the business identifier, the user identifier and the first business data to the trusted execution environment, and obtaining second business data required for risk identification of the target business from a preset risk prevention and control system, passing the second business data to the trusted execution environment, performing risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data and the second business data, and sending the risk identification result to the first device to process the target business.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of computer technology, and in particular to a risk identification method, device and equipment. Background Art

[0002] For many business systems (especially financial business systems), risk control decision-making capability is an indispensable capability. The sub-business system separated from the business system is two independent systems in terms of the system. There are legal and policy constraints on data sharing and data exchange. Especially when it comes to user privacy data, how to meet the requirements of user privacy protection under the premise of complying with laws and policies, and at the same time, achieve the purpose of real-time calculation and decision-making, is what needs to be considered when building a new risk control system for the above-mentioned sub-business system. To this end, it is necessary to provide a risk decision-making solution that not only meets the requirements of user privacy protection, but also can make real-time calculations and decisions. Summary of the invention

[0003] The purpose of the embodiments of this specification is to provide a risk decision-making solution that not only meets the requirements of user privacy protection, but also enables data sharing, capability migration, and real-time computing decisions.

[0004] In order to implement the above technical solution, the embodiments of this specification are implemented as follows:

[0005] A risk identification method provided in an embodiment of the present specification is applied to an electronic device, the electronic device including a trusted execution environment, the method comprising: receiving a risk identification request for a target business sent by a first device, the risk identification request including a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business. The business identifier, the user identifier, and the first business data are transmitted to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is transmitted to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and a corresponding risk identification result is determined. The risk identification result is sent to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0006] A risk identification method provided in an embodiment of the present specification is applied to a blockchain node in a blockchain system, wherein the blockchain node includes a trusted execution environment, and the method includes: receiving a risk identification request for a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business. Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is delivered to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract, and a corresponding risk identification result is determined. The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0007] The device provided in the embodiment of the present specification includes a trusted execution environment, and the device includes: a request receiving module, receiving a risk identification request of a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business. A data transmission module, transmitting the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system, and transmitting the second business data to the trusted execution environment. A risk identification module, in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determines a corresponding risk identification result. A result sending module, transmitting the risk identification result to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0008] The embodiment of this specification provides a risk identification device, which is a device in a blockchain system, and includes a trusted execution environment. The device includes: an identification request module, which receives a risk identification request of a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business. A data transmission module, which transmits the business identifier, the user identifier, and the first business data to the trusted execution environment based on a first smart contract pre-deployed in the blockchain system, and obtains the second business data required for risk identification of the target business from a preset risk prevention and control system based on the business identifier and the user identifier, and transmits the second business data to the trusted execution environment. A risk identification module, which performs risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract, and determines a corresponding risk identification result. An identification result sending module, which sends the risk identification result to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0009] The embodiment of the present specification provides a risk identification device, the device includes a trusted execution environment, the risk identification device includes: a processor; and a memory arranged to store computer executable instructions, the executable instructions when being executed make the processor: receive a risk identification request for a target business sent by a first device, the risk identification request includes a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business. The business identifier, the user identifier, and the first business data are passed to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is passed to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and a corresponding risk identification result is determined. The risk identification result is sent to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0010] A risk identification device provided in an embodiment of the present specification is a device in a blockchain system, and the risk identification device includes: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to: receive a risk identification request for a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business. Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is delivered to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract, and a corresponding risk identification result is determined. The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0011] The embodiment of the present specification also provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed by the processor: receiving a risk identification request for a target business sent by a first device, the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business. The business identifier, the user identifier, and the first business data are passed to a trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is passed to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and a corresponding risk identification result is determined. The risk identification result is sent to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0012] The embodiment of this specification also provides a storage medium, which is used to store computer executable instructions. When the executable instructions are executed by the processor, the following process is implemented: receiving a risk identification request for a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business. Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is delivered to the trusted execution environment. In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract, and a corresponding risk identification result is determined. The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0014] Figure 1 This is an embodiment of a risk identification method of this specification;

[0015] Figure 2 This is a schematic diagram of the structure of a risk identification system in this manual;

[0016] Figure 3 It is a schematic diagram of the structure of REE and TEE;

[0017] Figure 4 This is another risk identification method embodiment of this specification;

[0018] Figure 5 This is a schematic diagram of the structure of another risk identification system in this manual;

[0019] Fig. 6A This is another embodiment of a risk identification method of this specification;

[0020] Figure 6BThis is a schematic diagram of the risk identification process for this manual;

[0021] Figure 7 This is an embodiment of a risk identification device in this specification;

[0022] Figure 8 This is another embodiment of the risk identification device of this specification;

[0023] Fig. 9 This is an embodiment of a risk identification device in this specification. DETAILED DESCRIPTION

[0024] The embodiments of this specification provide a risk identification method, device and equipment.

[0025] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0026] Embodiment 1

[0027] like Figure 1 As shown, the embodiment of this specification provides a risk identification method, and the execution subject of the method can be an electronic device, wherein the electronic device can be a computer device such as a laptop or desktop computer, or can be a server, etc. A trusted execution environment can be set in the terminal device, and the trusted execution environment can be a TEE (Trusted Execution Environment). The trusted execution environment can be implemented by a program written in a predetermined programming language (that is, it can be implemented in the form of software), or it can be implemented by hardware devices and pre-written programs (that is, it can be implemented in the form of hardware + software), etc. The trusted execution environment can be a secure operating environment for data processing. The method can specifically include the following steps:

[0028] In step S102, a risk identification request for a target service sent by a first device is received, the risk identification request including a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service.

[0029] The target business may be any business, such as a biometric business, a loan business, or an insurance business, etc., and may be set according to actual conditions, and the embodiments of this specification do not limit this. The first device may be any device, such as a server, etc., and the first device may be a device that provides relevant business services such as the target business. The business identifier may be a business name, a business code, etc. The user identifier may be a user name, a code, etc.

[0030] In implementation, for many business systems (especially financial business systems), risk control decision-making capabilities are essential capabilities, and the sub-business system separated from the business system is two independent systems in terms of system structure. There are legal and policy constraints on data sharing and data exchange, especially when it comes to user privacy data. How to meet the requirements of user privacy protection under the premise of complying with laws and policies, while also achieving the purposes of data sharing, capability migration, and real-time computing and decision-making, is what needs to be considered when building a new risk control system for the above-mentioned sub-business system. To this end, it is necessary to provide a risk decision-making solution that not only meets the requirements of user privacy protection, but also can perform data sharing, capability migration, and real-time computing and decision-making. The embodiments of this specification provide an achievable technical solution, which may specifically include the following contents:

[0031] In actual applications, different departments in the same organization often build corresponding business systems and corresponding risk control systems. The risk control systems of different business systems are often independent of each other. Moreover, the risk control capabilities of different risk control systems may be different, especially for risk control systems that have been established for a short time and have weaker risk control capabilities. In view of this, the embodiments of this specification can be combined with another risk control system or with multiple different risk control systems to assist the above risk control system to better carry out risk control processing. Figure 2 The following is an optional system architecture diagram, for one of the risk prevention and control systems (such as Figure 2 In the risk prevention and control system A), the first device of the risk prevention and control system can obtain the business identification of the target business, the identification of the user who initiates the target business, and the first business data required for risk identification of the target business, and then, a risk identification request for the target business can be generated based on the above information obtained, and the risk identification request can be sent to the electronic device, and the electronic device can receive the risk identification request.

[0032] In step S104, the above-mentioned business identifier, the user identifier and the first business data are passed to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from the preset risk prevention and control system, and the second business data is passed to the trusted execution environment.

[0033] The trusted execution environment can be implemented by a program written in a predetermined programming language (i.e., it can be implemented in the form of software), or it can be implemented by a hardware device and a pre-written program (i.e., it can be implemented in the form of hardware + software). The trusted execution environment can be a data processing environment that is secure and isolated from other environments, that is, the processing performed in the trusted execution environment and the data generated during the data processing cannot be accessed by other execution environments or applications outside the executable environment. Figure 3 As shown, the trusted execution environment can be implemented by creating a small operating system that can run independently in a trusted area (such as TrustZone or SGX (Software Guard Extensions)). The trusted execution environment can directly provide services in the form of system calls (such as directly processed by the TrustZone or SGX kernel). Electronic devices can include REE (Rich Execution Environment) and TEE (Trusted Execution Environment). REE can run operating systems installed in electronic devices, such as Android operating system, iOS operating system, Windows operating system, Linux operating system, etc. The characteristics of REE can include powerful functions, good openness and scalability, and can provide all functions of electronic devices for upper-level applications, such as camera functions, touch functions, etc. However, there are many security risks in REE. For example, the operating system can obtain all the data of an application, but it is difficult to verify whether the operating system or the application has been tampered with. If it has been tampered with, the user's information will have great security risks. For this, TEE in the electronic device is required to handle it. TEE has its own execution space, which means that there is also an operating system under TEE. TEE has a higher security level than REE. The software and hardware resources in the electronic devices that TEE can access are separated from REE, but TEE can directly obtain REE information, while REE cannot obtain TEE information. TEE can perform verification and other processing through the provided interface to ensure that user information (such as payment information, user privacy information, etc.) will not be tampered with, passwords will not be hijacked, and fingerprints or facial information will not be stolen. The preset risk prevention and control system can be a risk prevention and control system (such as Figure 2The risk prevention and control system B) in the above may also include multiple different risk prevention and control systems. In addition, the preset risk prevention and control system and the risk prevention and control system corresponding to the above-mentioned first device may be risk prevention and control systems constructed for different business systems, or may be risk prevention and control systems constructed for the same business system. It may also be that some risk prevention and control systems in the preset risk prevention and control system are different from the business systems targeted by the risk prevention and control system corresponding to the first device, and another part of the risk prevention and control system in the preset risk prevention and control system is the same as the business system targeted by the risk prevention and control system corresponding to the first device, etc. It can be specifically set according to actual conditions, and the embodiments of this specification do not limit this.

[0034] In implementation, in order to ensure that data is not leaked during processing, the data to be processed can be passed to a trusted execution environment, which may specifically include: an application program that performs the above data processing can be installed in the electronic device, and a data processing entry can be set in the application program. When the electronic device receives a risk identification request for a target business sent by a first device, the above business identifier, the user identifier, and the first business data can be extracted from the risk identification request, and then the business identifier, the user identifier, and the first business data can be passed to the trusted execution environment. In actual applications, in order to protect the data passed to the trusted execution environment, the above extracted data can be processed in a predetermined manner to obtain the processed data, thereby performing data protection, such as encrypting or signing the above data to obtain the encrypted or signed data, etc. In addition, the above data can be passed to the trusted execution environment by establishing a secure data transmission channel with the trusted execution environment, which can be set specifically according to actual conditions, and the embodiments of this specification do not limit this.

[0035] In addition, in order to make risk prevention and control more accurate, other risk prevention and control systems can be used to assist the risk prevention and control processing of the risk prevention and control system corresponding to the first device. Based on this, based on the above-mentioned business identifier and the user's identifier, relevant data matching the business identifier and / or the user's identifier can be searched in the preset risk prevention and control system, and the second business data required for risk identification of the target business can be determined from the searched data. Then, the second business data can be passed to the trusted execution environment.

[0036] In step S106, in the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data to determine a corresponding risk identification result.

[0037] In implementation, risk identification rules for risk identification processing of target business can be pre-set, and the risk identification rules can be set in a trusted execution environment. The risk identification rules can include multiple types. For example, the risk identification rules can include that the success rate of the user executing the target business is higher than 80%, and the resource transfer value (such as payment amount, etc.) contained in the first business data and the second business data is less than 1000, etc., which can be set according to actual conditions. In the trusted execution environment, the electronic device can analyze the above-mentioned business identification, the user's identification, the first business data and the second business data. For example, the corresponding risk identification rules can be obtained based on the business identification. Then, based on the user's identification, the first business data and the second business data, it can be determined whether the above-mentioned data meets the conditions in the risk identification rules. If they meet the conditions, the corresponding risk identification result can be determined as the existence of risk. If they do not meet the conditions, the corresponding risk identification result can be determined as the absence of risk. Since the above processing is performed in a trusted execution environment, it will not be known by other execution environments of the electronic device or any application in the electronic device. Therefore, the data in the trusted execution environment (especially the privacy data therein) and the specific processing process of the data will not be obtained by any software program or hardware device outside the trusted execution environment, thereby ensuring the accuracy and security of data processing (will not be tampered with or leaked). In actual applications, the methods for risk identification and processing of target businesses include not only the above methods, but also many other implementable methods, which will not be repeated here.

[0038] The above-mentioned risk identification processing for the target business is only one feasible processing method. In actual applications, risk identification processing for the target business can also be carried out through various other processing methods. Different processing methods can be used to carry out risk identification processing for the target business according to different risk identification rules. Moreover, different risk identification rules may have different specific processing procedures for risk identification processing for the target business, which can be set according to actual conditions. The embodiments of this specification do not limit this.

[0039] In step S108, the risk identification result is sent to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0040] In implementation, the electronic device may send the above risk identification result to the first device. After the first device receives the risk identification result, if it is determined that the risk identification result indicates that the target business triggered this time does not have a risk, the first device may respond to the user's business processing request, so that the user can complete the target business. If it is determined that the risk identification result indicates that the target business triggered this time has a risk, the first device may reject the user's business processing request, and at this time, the user will not be able to complete the target business.

[0041] An embodiment of the present specification provides a risk identification method, which is applied to an electronic device, wherein the electronic device includes a trusted execution environment, receives a risk identification request for a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business, passes the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtains second business data required for risk identification of the target business from a preset risk prevention and control system, passes the second business data to the trusted execution environment, and in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sends the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result. In this way, the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system.

[0042] Embodiment 2

[0043] like Figure 4 As shown, the embodiment of this specification provides a risk identification method, and the execution subject of the method can be an electronic device, wherein the electronic device can be a computer device such as a laptop or desktop computer, or can be a server, etc. A trusted execution environment can be set in the terminal device, and the trusted execution environment can be a TEE (Trusted Execution Environment). The trusted execution environment can be implemented by a program written in a predetermined programming language (that is, it can be implemented in the form of software), or it can be implemented by hardware devices and pre-written programs (that is, it can be implemented in the form of hardware + software), etc. The trusted execution environment can be a secure operating environment for data processing. The method can specifically include the following steps:

[0044] In step S402, a risk identification request for a target service sent by a first device is received, the risk identification request including a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service.

[0045] In implementation, some institutions currently have strong technical reserves in blockchain and shared intelligence (such as trusted computing environment, etc.). In this embodiment, the trusted execution environment can be combined with the blockchain. In this way, the blockchain can solve the problem of trusted storage, and the trusted computing environment can meet the requirements of trusted computing. Combining the advantages of the above two aspects, data storage and real-time computing under the condition of privacy protection can be achieved. See Figure 5The system structure diagram shown in the figure, in which the risk prevention and control system A can be a real-time risk prevention and control system of an institution, such as a real-time risk prevention and control system of a consumer finance company, and the risk prevention and control system B can be the main risk prevention and control system of the main institution where the above-mentioned institution was located before separation. The blockchain system can be used to support large-scale calculations, including access control permissions and read-write control of the blockchain system.

[0046] In step S404, the above-mentioned business identifier, the user identifier and the first business data are transmitted to the trusted execution environment in an encrypted form through the trusted application corresponding to the target business, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from the preset risk prevention and control system through the trusted application, and the second business data is transmitted to the trusted execution environment through the trusted application.

[0047] Among them, the trusted application can be a pre-specified trusted application that can be used to perform business data processing, such as a financial payment application, an instant messaging application or a pre-developed application, etc. The trusted application can be an application that needs to be installed in the terminal device, or a code program pre-implanted in a hardware device of the terminal device, or a program that runs in the background of the operating system of the terminal device in the form of a plug-in, etc., which can be set according to actual conditions. The encryption algorithm corresponding to the ciphertext can include multiple types, such as symmetric encryption algorithm or asymmetric encryption algorithm. The trusted application can use the above-mentioned symmetric encryption algorithm or asymmetric encryption algorithm to encrypt the above-mentioned data to obtain the encrypted data (at this time, the above-mentioned business identification, the user's identification and the first business data are ciphertext), so as to ensure the security of the data in the subsequent transmission process.

[0048] In implementation, in order to identify the risk of the target business based on the above data, corresponding rules can be set in advance, and an application for executing the above data processing can be installed in the electronic device. A data processing entry can be set in the application. When the electronic device receives a risk identification request for the target business sent by the first device, the data to be processed can be passed to the trusted execution environment, and the subsequent data processing process can be performed in the trusted execution environment. Specifically, in order to protect the processing process of the above data in the electronic device and prevent the processing process of the data from being obtained by any application in the REE, a trusted application for executing data processing can be set, and the relevant data can be temporarily protected by the trusted application, for example, other unauthorized applications can be prevented from accessing the above data to protect the data, or the data can be processed in a predetermined manner to obtain the processed data, so as to protect the data, such as encrypting or signing the data to obtain the encrypted or signed data. When the electronic device receives a risk identification request for the target business sent by the first device, the trusted application can be started. The trusted application can be pre-set with a security interface, and accordingly, the trusted execution environment of the TEE of the electronic device can also be set with a corresponding security interface. Through the security interface between the trusted application and the trusted execution environment of the TEE, a secure data transmission channel can be established between the trusted application and the trusted execution environment of the TEE. The trusted application transmits the above-mentioned business identifier, the user identifier and the first business data to the trusted execution environment in encrypted form. In addition, based on the business identifier and the user identifier, the trusted application can obtain the second business data required for risk identification of the target business from the preset risk prevention and control system, and transmit the second business data to the trusted execution environment through the trusted application. The security of the data during transmission can be guaranteed by setting up the trusted application, security interface and data transmission channel as mentioned above.

[0049] It should be noted that trusted applications may include multiple types. Corresponding trusted applications may be set based on user type or business identification, or based on data content or data type. In actual applications, how to set up trusted applications may be based on actual conditions, and this specification does not limit this.

[0050] In step S406, in a trusted execution environment, based on the above-mentioned business identifier, the user identifier, the first business data and the second business data, risk identification processing is performed on the target business through the risk identification rules corresponding to the target business, and a corresponding risk identification result is determined. The risk identification rules are set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator and a fully connected network operator.

[0051] Among them, the risk identification rule can be a rule that can perform risk identification processing on the target business. The risk identification rule can be set in a variety of different ways, for example, it can be set based on a preset linear model operator, etc., and can be set specifically according to actual conditions. Moreover, the risk identification rule is pre-set in the trusted execution environment of the electronic device. In order to ensure the security of the risk identification rule, the risk identification rule can be a ciphertext, that is, the risk identification rule can be formulated by an authorized rule maker. Then, the risk identification rule can be encrypted or signed by a specified encryption or signature method to form a ciphertext of the risk identification rule, and then the ciphertext of the risk identification rule is transmitted to the trusted execution environment of the electronic device through a specified secure data transmission channel, thereby ensuring the security of the risk identification rule and preventing it from being tampered with. In the feasible execution environment, the ciphertext of the risk identification rule can be decrypted or signed. After determining that the risk identification rule has not been tampered with (such as the signature verification is passed or the decryption can be performed and the decrypted risk identification rule meets the preset conditions, etc.), the risk identification rule can be stored in the trusted execution environment.

[0052] In implementation, a variety of different operators for risk identification processing can be pre-developed according to actual conditions, such as a preset linear model operator, a preset tree model operator, a preset Transformer operator, and a fully connected network operator, etc., and the developed operators can be set in a trusted execution environment. In this way, the operator in the trusted execution environment can call the algorithm or model corresponding to the operator to perform risk identification processing on the target business. For example, in the trusted execution environment, based on the above-mentioned business identifier, the user's identifier, the first business data, and the second business data, it can be determined that the preset tree model operator is required to perform processing. At this time, the preset tree model operator can be loaded in the trusted execution environment, and the corresponding tree model can be called through the preset tree model operator. Based on the above-mentioned business identifier, the user's identifier, the first business data, and the second business data, the target business is subjected to risk identification processing through the called tree model to obtain the corresponding risk identification result.

[0053] It should be noted that the above risk identification rules can be implemented not only through the above various operators, but also through many other different ways, which can be set according to actual conditions, and the embodiments of this specification do not limit this.

[0054] In step S408, relevant data of the target business is obtained, and data related to the target business and / or data related to the user are obtained from a preset risk prevention and control system.

[0055] During implementation, the relevant data of the target business in the risk prevention and control system corresponding to the electronic device, as well as the data related to the target business and / or the data related to the user in the preset risk prevention and control system can be uploaded to the blockchain system for evidence storage. Accordingly, the relevant data of the target business can be obtained. In addition, the data related to the target business can be obtained from the preset risk prevention and control system, and / or the data related to the user can be obtained from the preset risk prevention and control system.

[0056] In step S410, the relevant data of the target business and the acquired relevant data are uploaded to the blockchain system.

[0057] In step S412, the risk identification result is sent to the first device, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0058] In step S414, the above-mentioned business identifier, user identifier, first business data, second business data and the risk identification result are uploaded to the blockchain system.

[0059] In addition, after uploading the above-mentioned business identifier, user identifier, first business data, second business data and the risk identification result to the blockchain system in the above-mentioned manner, and uploading the relevant data of the target business and the obtained relevant data to the blockchain system, when risk identification is required (i.e., when executing step S406), it can be processed in the following manner, and the specific details can be referred to the processing of the following steps A2 and A4.

[0060] In step A2, data related to the target business and / or data related to the user are obtained from the blockchain system, and a risk identification result corresponding to the target business is obtained from the blockchain system, and the obtained data related to the target business and / or data related to the user, and the first risk identification result corresponding to the stored target business are passed to the trusted execution environment.

[0061] In step A4, in a trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired data related to the target business and / or the user-related data, and the first risk identification result corresponding to the stored target business to obtain a corresponding risk identification result.

[0062] Through the processing of the above step A4, risk identification processing can be performed on the target business in combination with the relevant data in the risk prevention and control system corresponding to the electronic device, the relevant data in the preset risk prevention and control system, and the relevant data stored in the blockchain system, thereby improving the accuracy of risk identification.

[0063] In practical applications, the risk identification rules in the trusted execution environment may also be updated. For details, please refer to the processing of the following steps S416 to S420.

[0064] In step S416, an update request for the risk identification rule in the trusted execution environment is received, the update request includes rule data to be updated, and the rule data to be updated is ciphertext.

[0065] In implementation, the risk identification rules may include a variety of different contents. In practical applications, models or model operators for risk identification processing of target businesses may be set in the trusted execution environment according to actual conditions, such as classification model operators, etc. The model operators may be obtained by a relatively complex program written in a predetermined programming language, or may be determined by a relatively simple algorithm, which is not limited in the embodiments of this specification. In addition, in order to prevent irrelevant users from updating the risk identification rules, relevant information of users with update authority (such as the user who initially set or created the risk identification rules or a pre-specified user, etc.) may be set for the risk identification rules, that is, only users with update authority may update the risk identification rules. When it is necessary to update a risk identification rule in the trusted execution environment, the user may input the identifier of the risk identification rule to be modified and the rule data to be updated through the trusted application in the terminal device. After the input is completed, the terminal device may obtain the identifier of the risk identification rule to be updated and the rule data to be updated, and may generate an update request, so that the electronic device may obtain the update request of the risk identification rule.

[0066] It should be noted that the rule data to be updated may be the model operator or algorithm in the risk identification rule, or the business type to which the risk identification rule applies, etc. It may be set specifically according to actual conditions, and the embodiments of this specification do not limit this.

[0067] In step S418, the rule data to be updated is delivered to the trusted execution environment through the trusted application.

[0068] In step S420, in the trusted execution environment, the rule data to be updated is decrypted, and the risk identification rule is updated based on the decrypted rule data to be updated.

[0069] In implementation, after the electronic device obtains the update request of the risk identification rule, it can obtain the identifier of the risk identification rule contained in the update request, and can find the corresponding risk identification rule through the identifier. The information of the user who has the authority to update the risk identification rule can be obtained, and the information of the user who has the update authority can be found to see whether the information of the initiator of the current update request is included. If it is included, it can be determined that the initiator of the current update request has the authority to update the risk identification rule. At this time, the electronic device can update the risk identification rule in the trusted execution environment based on the above update request to obtain the updated risk identification rule. If it is not included, it can be determined that the initiator of the current update request does not have the authority to update the risk identification rule. At this time, the electronic device can send a notification message of update failure to the initiator of the current update request.

[0070] It should be noted that the process of updating the risk identification rules in the above steps S416 to S420 can be performed after the above steps S402 to S414. In actual applications, the process of steps S416 to S420 can also be performed before the above steps S402 to S414. The embodiments of this specification do not limit this.

[0071] Based on the above content, after obtaining the updated risk identification rules in the above manner, the updated risk identification rules can be used to perform risk identification processing on the target business, that is, the above steps S402 to S414 can be executed subsequently. The specific processing process can refer to the above related content and will not be repeated here.

[0072] The embodiment of this specification provides a risk identification method, which is applied to an electronic device, the electronic device includes a trusted execution environment, receives a risk identification request of a target business sent by a first device, the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business, passes the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtains the second business data required for risk identification of the target business from a preset risk prevention and control system, passes the second business data to the trusted execution environment, and in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sends the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with a blockchain system, so that it can not only ensure the authority to read data, retain all operation records to prevent attacks and tampering, but also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0073] Embodiment 3

[0074] like Fig. 6A and Figure 6B As shown, the embodiment of this specification provides a risk identification method, the execution subject of the method can be a blockchain node in a blockchain system, the blockchain node includes a trusted execution environment, the blockchain node in the blockchain system can be composed of terminal devices and / or servers, etc., wherein the terminal device can be a mobile terminal device such as a mobile phone, a tablet computer, or a personal computer, etc. The server can be an independent server, or a server cluster composed of multiple servers, etc. The server can be a background server for financial services or online shopping services, etc., or a background server for an application, etc. The method can be applied to related scenarios such as data processing, and the method can specifically include the following steps:

[0075] In step S602, a risk identification request for a target service sent by a first device is received, the risk identification request including a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service.

[0076] In step S604, based on the first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier and the first business data are passed to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from the preset risk prevention and control system, and the second business data is passed to the trusted execution environment.

[0077] Among them, the first smart contract can be a computer protocol designed to disseminate, verify or execute a contract in an information-based manner. The first smart contract allows trusted interaction without a third party, and the above-mentioned interaction process is traceable and irreversible. The first smart contract includes an agreement on which the contract participants can execute the rights and obligations agreed upon by the contract participants.

[0078] In implementation, in order to make the risk identification process of the target business more traceable, a designated blockchain system can be created or added, so that the target business can be risk identified based on the blockchain system. The blockchain system can generate a first smart contract and deploy the first smart contract to the blockchain system. The first smart contract can be provided with a method of passing the business identifier, the user identifier and the first business data to a trusted execution environment, and based on the business identifier and the user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system, and passing the second business data to the relevant rule information in the trusted execution environment. In this way, the above-mentioned corresponding processing can be realized based on the above-mentioned rule information in the first smart contract. For details, please refer to the above-mentioned related content, which will not be repeated here.

[0079] In step S606, in the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract to determine a corresponding risk identification result.

[0080] In implementation, the first smart contract may be provided with relevant rule information for performing risk identification and processing on the target business based on the business identifier, the user identifier, the first business data and the second business data in a trusted execution environment. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the first smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0081] In step S608, a risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0082] In implementation, the first smart contract may be provided with relevant rule information for sending the risk identification result to the first device. In this way, the corresponding processing mentioned above may be implemented based on the above rule information in the first smart contract. For details, please refer to the above related content and will not be repeated here.

[0083] In addition, the processing of step S604 can be varied. An optional processing method is provided below, which may specifically include the following: based on the first smart contract, the business identifier, user identifier and first business data are delivered to the trusted execution environment in an encrypted form through the trusted application corresponding to the target business, and based on the business identifier and user identifier, as well as the first smart contract, the second business data required for risk identification of the target business is obtained from the preset risk prevention and control system through the trusted application, and the second business data is delivered to the trusted execution environment through the trusted application.

[0084] In implementation, the first smart contract may be provided with a method for transmitting the business identifier, user identifier and first business data in encrypted form to a trusted execution environment through a trusted application corresponding to the target business, and based on the business identifier and user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system through a trusted application, and transmitting the second business data to the relevant rule information in the trusted execution environment through the trusted application. In this way, the corresponding processing mentioned above may be implemented based on the above rule information in the first smart contract. For details, please refer to the above related content, which will not be repeated here.

[0085] In addition, the processing of step S606 can be varied. An optional processing method is provided below, which may specifically include the following contents: in a trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, the target business is subjected to risk identification processing through the risk identification rules corresponding to the target business, and the corresponding risk identification results are determined. The risk identification rules are set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator, and a fully connected network operator.

[0086] In implementation, the first smart contract may be provided with relevant rule information for performing risk identification processing on the target business in a trusted execution environment based on the business identifier, the user identifier, the first business data and the second business data through the risk identification rules corresponding to the target business. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the first smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0087] In addition, the risk identification rules in the trusted execution environment may be updated, and the specific processing may be varied. An optional processing method is provided below, which may specifically include the processing of the following steps A2 to A6.

[0088] In step A2, an update request for a risk identification rule in a trusted execution environment is received, wherein the update request includes rule data to be updated, and the rule data to be updated is ciphertext.

[0089] In step A4, based on the third smart contract pre-deployed in the blockchain system, the rule data to be updated is delivered to the trusted execution environment through the trusted application.

[0090] In implementation, the third smart contract may be provided with relevant rule information for passing the rule data to be updated to the trusted execution environment through a trusted application. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the third smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0091] In step A6, in the trusted execution environment, the rule data to be updated is decrypted based on the third smart contract, and the risk identification rules are updated based on the decrypted rule data to be updated.

[0092] In implementation, the third smart contract may be provided with relevant rule information for decrypting the rule data to be updated in a trusted execution environment, and updating the risk identification rules based on the decrypted rule data to be updated. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the third smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0093] In addition, relevant data can be uploaded to the blockchain system. The specific processing can be varied. An optional processing method is provided below, which can specifically include the following steps B2 to B6.

[0094] In step B2, relevant data of the target business is obtained based on the second smart contract pre-deployed in the blockchain system, and data related to the target business and / or data related to the user are obtained from a preset risk prevention and control system.

[0095] In implementation, the second smart contract may be provided with relevant rule information for obtaining the target business-related data and obtaining the target business-related data and / or obtaining the user-related data from the preset risk prevention and control system. In this way, the corresponding processing mentioned above may be implemented based on the above rule information in the second smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0096] In step B4, the relevant data of the target business and the acquired relevant data are uploaded to the blockchain system based on the second smart contract.

[0097] In implementation, the second smart contract may be provided with relevant rule information for uploading relevant data of the target business and the acquired relevant data to the blockchain system. In this way, the above-mentioned corresponding processing can be realized based on the above-mentioned rule information in the second smart contract. For details, please refer to the above-mentioned relevant content and will not be repeated here.

[0098] In step B6, the business identifier, the user identifier, the first business data, the second business data and the risk identification result are uploaded to the blockchain system based on the second smart contract.

[0099] In implementation, the second smart contract may be provided with relevant rule information for uploading the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the second smart contract. For details, please refer to the above-mentioned relevant content and will not be repeated here.

[0100] In addition, risk identification processing can be performed on the target business in the following manner, which may specifically include the following: obtaining data related to the target business and / or obtaining data related to the user from the blockchain system based on the first smart contract, and obtaining the risk identification result corresponding to the target business from the blockchain system, and passing the obtained relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment.

[0101] In implementation, the first smart contract may be configured to obtain data related to the target business and / or data related to the user from the blockchain system, as well as obtain a risk identification result corresponding to the target business from the blockchain system, and pass the obtained relevant data and the first risk identification result corresponding to the stored target business to the relevant rule information in the trusted execution environment. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the first smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0102] Correspondingly, the processing of step S606 may include: in a trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the first risk identification result corresponding to the stored target business and the first smart contract to obtain a corresponding risk identification result.

[0103] In implementation, the first smart contract may be provided with relevant rule information for performing risk identification processing on the target business in a trusted execution environment based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the first risk identification result corresponding to the stored target business. In this way, the above-mentioned corresponding processing can be implemented based on the above-mentioned rule information in the first smart contract. For details, please refer to the above-mentioned relevant content, which will not be repeated here.

[0104] For the specific processing of the above steps S602 to S608, please refer to the relevant contents in the above embodiments 1 and 2, that is, the various processing involved in the above embodiments 1 and 2 can be implemented through the corresponding smart contracts.

[0105] The embodiment of this specification provides a risk identification method, which is applied to a blockchain node in a blockchain system, and the blockchain node includes a trusted execution environment, receives a risk identification request of a target business sent by a first device, and the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business, and performs the following processing based on the first smart contract: the business identifier, the user identifier, and the first business data are transmitted to the trusted execution environment, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is transmitted to the trusted execution environment, and in the trusted execution environment, the target business is subjected to risk identification processing based on the business identifier, the user identifier, the first business data, and the second business data, and the risk identification result is sent to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with the blockchain system, so as to not only ensure the authority to read data, retain all operation records to prevent attacks and tampering, but also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0106] Embodiment 4

[0107] The above is a risk identification method provided by the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a risk identification device, which includes a trusted execution environment, such as Figure 7 shown.

[0108] The risk identification device comprises: a request receiving module 701, a data transmission module 702, a risk identification module 703 and a result sending module 704, wherein:

[0109] The request receiving module 701 receives a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0110] The data transmission module 702 transmits the service identifier, the user identifier, and the first service data to the trusted execution environment, and obtains second service data required for risk identification of the target service from a preset risk prevention and control system based on the service identifier and the user identifier, and transmits the second service data to the trusted execution environment;

[0111] A risk identification module 703 performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data in the trusted execution environment to determine a corresponding risk identification result;

[0112] The result sending module 704 sends the risk identification result to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0113] In the embodiment of this specification, the data transmission module 702 transmits the business identifier, the user identifier and the first business data in encrypted form to the trusted execution environment through the trusted application corresponding to the target business, and based on the business identifier and the user identifier, obtains the second business data required for risk identification of the target business from a preset risk prevention and control system through the trusted application, and transmits the second business data to the trusted execution environment through the trusted application.

[0114] In the embodiment of this specification, the risk identification module 703, in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data and the second business data through the risk identification rule corresponding to the target business, and determines the corresponding risk identification result, and the risk identification rule is set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator and a fully connected network operator.

[0115] In the embodiment of this specification, the device further includes:

[0116] An update request module receives an update request for the risk identification rule in the trusted execution environment, wherein the update request includes rule data to be updated, and the rule data to be updated is ciphertext;

[0117] A rule data transmission module, which transmits the rule data to be updated to the trusted execution environment through the trusted application;

[0118] The rule updating module decrypts the rule data to be updated in the trusted execution environment, and updates the risk identification rule based on the decrypted rule data to be updated.

[0119] In the embodiment of this specification, the device further includes:

[0120] A first data acquisition module acquires data related to the target business, and acquires data related to the target business and / or data related to the user from a preset risk prevention and control system;

[0121] A relevant data transmission module uploads the relevant data of the target business and the acquired relevant data to the blockchain system;

[0122] A data uploading module uploads the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system.

[0123] In the embodiment of this specification, the device further includes:

[0124] A second data acquisition module acquires data related to the target business and / or data related to the user from the blockchain system, and acquires a risk identification result corresponding to the target business from the blockchain system, and transmits the acquired relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment;

[0125] The risk identification module 703, in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the stored first risk identification result corresponding to the target business to obtain a corresponding risk identification result.

[0126] The embodiment of this specification provides a risk identification device, including a trusted execution environment, receiving a risk identification request of a target business sent by a first device, the risk identification request including a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business, passing the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system, passing the second business data to the trusted execution environment, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sending the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with a blockchain system, so as to not only ensure the authority to read data, retain all operation records to prevent attacks and tampering, but also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0127] Embodiment 5

[0128] Based on the same idea, the embodiment of this specification also provides a risk identification device, which is a device in a blockchain system, and the device includes a trusted execution environment, such as Figure 8 shown.

[0129] The risk identification device comprises: an identification request module 801, a data transmission module 802, a risk identification module 803 and an identification result sending module 804, wherein:

[0130] An identification request module 801 receives a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0131] The data transmission module 802 transmits the business identifier, the user identifier, and the first business data to the trusted execution environment based on the first smart contract pre-deployed in the blockchain system, and obtains second business data required for risk identification of the target business from a preset risk prevention and control system based on the business identifier and the user identifier, and transmits the second business data to the trusted execution environment;

[0132] A risk identification module 803 performs risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, and determines a corresponding risk identification result;

[0133] The identification result sending module 804 sends the risk identification result to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0134] In the embodiment of this specification, the device further includes:

[0135] A data acquisition module, which acquires the relevant data of the target business based on a second smart contract pre-deployed in the blockchain system, and acquires the data related to the target business and / or acquires the data related to the user from a preset risk prevention and control system;

[0136] A first data uploading module, which uploads the relevant data of the target business and the acquired relevant data to the blockchain system based on the second smart contract;

[0137] The second data uploading module uploads the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system based on the second smart contract.

[0138] In the embodiment of this specification, the device further includes:

[0139] A relevant data transmission module, which obtains data related to the target business and / or data related to the user from the blockchain system based on the first smart contract, and obtains a risk identification result corresponding to the target business from the blockchain system, and transmits the obtained relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment;

[0140] The risk identification module 803, in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the stored first risk identification result corresponding to the target business and the first smart contract to obtain a corresponding risk identification result.

[0141] The embodiment of this specification provides a risk identification device, including a trusted execution environment, receiving a risk identification request of a target business sent by a first device, the risk identification request including a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business, passing the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system, passing the second business data to the trusted execution environment, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sending the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with a blockchain system, so as to not only ensure the authority to read data, retain all operation records to prevent attacks and tampering, but also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0142] Embodiment 6

[0143] The above is a risk identification device provided in the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a risk identification device, which is a device in a blockchain system. The device includes a trusted execution environment, such as Fig. 9 shown.

[0144] The risk identification device may provide an electronic device or a device in a blockchain system, etc. for the above-mentioned embodiment.

[0145] The risk identification device may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902, and the memory 902 may store one or more storage applications or data. Among them, the memory 902 may be a short-term storage or a persistent storage. The application stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the risk identification device. Furthermore, the processor 901 may be configured to communicate with the memory 902 and execute a series of computer executable instructions in the memory 902 on the risk identification device. The risk identification device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, and one or more keyboards 906.

[0146] Specifically in this embodiment, the risk identification device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the risk identification device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0147] Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0148] The service identifier, the user identifier, and the first service data are transmitted to a trusted execution environment, and based on the service identifier and the user identifier, second service data required for risk identification of the target service is obtained from a preset risk prevention and control system, and the second service data is transmitted to the trusted execution environment;

[0149] In the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result;

[0150] The risk identification result is sent to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0151] In the embodiment of this specification, the delivering the service identifier, the user identifier, and the first service data to a trusted execution environment, and based on the service identifier and the user identifier, obtaining second service data required for risk identification of the target service from a preset risk prevention and control system, and delivering the second service data to the trusted execution environment, includes:

[0152] The business identifier, the user identifier and the first business data are delivered to the trusted execution environment in encrypted form through the trusted application corresponding to the target business, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system through the trusted application, and the second business data is delivered to the trusted execution environment through the trusted application.

[0153] In the embodiment of this specification, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result includes:

[0154] In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, risk identification processing is performed on the target business through the risk identification rule corresponding to the target business to determine the corresponding risk identification result, and the risk identification rule is set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator and a fully connected network operator.

[0155] In the embodiments of this specification, it also includes:

[0156] Receiving an update request for the risk identification rule in the trusted execution environment, wherein the update request includes rule data to be updated, and the rule data to be updated is ciphertext;

[0157] delivering the rule data to be updated to the trusted execution environment through the trusted application;

[0158] In the trusted execution environment, the rule data to be updated is decrypted, and the risk identification rule is updated based on the decrypted rule data to be updated.

[0159] In the embodiments of this specification, it also includes:

[0160] Acquire relevant data of the target business, and acquire data related to the target business and / or acquire data related to the user from a preset risk prevention and control system;

[0161] Upload the relevant data of the target business and the acquired relevant data to the blockchain system;

[0162] After sending the risk identification result to the first device, the method further includes:

[0163] Upload the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system.

[0164] In the embodiments of this specification, it also includes:

[0165] Acquire data related to the target business and / or acquire data related to the user from the blockchain system, and acquire a risk identification result corresponding to the target business from the blockchain system, and transmit the acquired relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment;

[0166] The performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data in the trusted execution environment to determine a corresponding risk identification result includes:

[0167] In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the first risk identification result corresponding to the stored target business to obtain a corresponding risk identification result.

[0168] In addition, specifically in this embodiment, the risk identification device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the risk identification device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0169] Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0170] Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is delivered to the trusted execution environment;

[0171] In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, risk identification processing is performed on the target business to determine a corresponding risk identification result;

[0172] The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0173] In the embodiments of this specification, it also includes:

[0174] Obtain relevant data of the target business based on a second smart contract pre-deployed in the blockchain system, and obtain data related to the target business and / or obtain data related to the user from a preset risk prevention and control system;

[0175] Uploading the relevant data of the target business and the acquired relevant data to the blockchain system based on the second smart contract;

[0176] After sending the risk identification result to the first device, the method further includes:

[0177] Based on the second smart contract, the business identifier, the user identifier, the first business data, the second business data and the risk identification result are uploaded to the blockchain system.

[0178] In the embodiments of this specification, it also includes:

[0179] Based on the first smart contract, data related to the target business and / or data related to the user are obtained from the blockchain system, and a risk identification result corresponding to the target business is obtained from the blockchain system, and the obtained relevant data and the stored first risk identification result corresponding to the target business are transmitted to the trusted execution environment;

[0180] The step of performing risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract to determine a corresponding risk identification result includes:

[0181] In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the stored first risk identification result corresponding to the target business and the first smart contract to obtain a corresponding risk identification result.

[0182] The embodiment of this specification provides a risk identification device, including a trusted execution environment, receiving a risk identification request of a target business sent by a first device, the risk identification request including a business identifier of the target business, an identifier of a user initiating the target business, and first business data required for risk identification of the target business, passing the business identifier, the user identifier, and the first business data to the trusted execution environment, and based on the business identifier and the user identifier, obtaining the second business data required for risk identification of the target business from a preset risk prevention and control system, passing the second business data to the trusted execution environment, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sending the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with a blockchain system, so as to not only ensure the authority to read data, retain all operation records to prevent attacks and tampering, but also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0183] Embodiment 7

[0184] Furthermore, based on the above Figures 1 to 6B In one embodiment, the present specification further provides a storage medium for storing computer executable instruction information. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instruction information stored in the storage medium is executed by the processor, the following process can be implemented:

[0185] Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0186] The service identifier, the user identifier, and the first service data are transmitted to a trusted execution environment, and based on the service identifier and the user identifier, second service data required for risk identification of the target service is obtained from a preset risk prevention and control system, and the second service data is transmitted to the trusted execution environment;

[0187] In the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result;

[0188] The risk identification result is sent to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0189] In the embodiment of this specification, the delivering the service identifier, the user identifier, and the first service data to a trusted execution environment, and based on the service identifier and the user identifier, obtaining second service data required for risk identification of the target service from a preset risk prevention and control system, and delivering the second service data to the trusted execution environment, includes:

[0190] The business identifier, the user identifier and the first business data are delivered to the trusted execution environment in encrypted form through the trusted application corresponding to the target business, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system through the trusted application, and the second business data is delivered to the trusted execution environment through the trusted application.

[0191] In the embodiment of this specification, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result includes:

[0192] In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, risk identification processing is performed on the target business through the risk identification rule corresponding to the target business to determine the corresponding risk identification result, and the risk identification rule is set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator and a fully connected network operator.

[0193] In the embodiments of this specification, it also includes:

[0194] Receiving an update request for the risk identification rule in the trusted execution environment, wherein the update request includes rule data to be updated, and the rule data to be updated is ciphertext;

[0195] delivering the rule data to be updated to the trusted execution environment through the trusted application;

[0196] In the trusted execution environment, the rule data to be updated is decrypted, and the risk identification rule is updated based on the decrypted rule data to be updated.

[0197] In the embodiments of this specification, it also includes:

[0198] Acquire relevant data of the target business, and acquire data related to the target business and / or acquire data related to the user from a preset risk prevention and control system;

[0199] Upload the relevant data of the target business and the acquired relevant data to the blockchain system;

[0200] After sending the risk identification result to the first device, the method further includes:

[0201] Upload the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system.

[0202] In the embodiments of this specification, it also includes:

[0203] Acquire data related to the target business and / or acquire data related to the user from the blockchain system, and acquire a risk identification result corresponding to the target business from the blockchain system, and transmit the acquired relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment;

[0204] The performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data in the trusted execution environment to determine a corresponding risk identification result includes:

[0205] In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the first risk identification result corresponding to the stored target business to obtain a corresponding risk identification result.

[0206] In addition, in another specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc., and the computer executable instruction information stored in the storage medium can implement the following process when executed by the processor:

[0207] Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service;

[0208] Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, second business data required for risk identification of the target business is obtained from a preset risk prevention and control system, and the second business data is delivered to the trusted execution environment;

[0209] In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, risk identification processing is performed on the target business to determine a corresponding risk identification result;

[0210] The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

[0211] In the embodiments of this specification, it also includes:

[0212] Obtain relevant data of the target business based on a second smart contract pre-deployed in the blockchain system, and obtain data related to the target business and / or obtain data related to the user from a preset risk prevention and control system;

[0213] Uploading the relevant data of the target business and the acquired relevant data to the blockchain system based on the second smart contract;

[0214] After sending the risk identification result to the first device, the method further includes:

[0215] Based on the second smart contract, the business identifier, the user identifier, the first business data, the second business data and the risk identification result are uploaded to the blockchain system.

[0216] In the embodiments of this specification, it also includes:

[0217] Based on the first smart contract, data related to the target business and / or data related to the user are obtained from the blockchain system, and a risk identification result corresponding to the target business is obtained from the blockchain system, and the obtained relevant data and the stored first risk identification result corresponding to the target business are transmitted to the trusted execution environment;

[0218] The step of performing risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract to determine a corresponding risk identification result includes:

[0219] In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the stored first risk identification result corresponding to the target business and the first smart contract to obtain a corresponding risk identification result.

[0220] The embodiment of this specification provides a storage medium, which receives a risk identification request of a target business sent by a first device, wherein the risk identification request includes a business identifier of the target business, an identifier of a user who initiates the target business, and first business data required for risk identification of the target business, and transmits the business identifier, the user identifier, and the first business data to a trusted execution environment, and based on the business identifier and the user identifier, obtains the second business data required for risk identification of the target business from a preset risk prevention and control system, and transmits the second business data to the trusted execution environment, and in the trusted execution environment, performs risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and sends the risk identification result to the first device to trigger the first device to process the target business based on the risk identification result, so that the trusted execution environment can not only meet the requirements of privacy protection, but also realize real-time decision-making and calculation of the risk prevention and control system. In addition, it can also be combined with a blockchain system, so as to not only ensure the authority to read data, but also retain all operation records to prevent attacks and tampering, and at the same time, it can also support the calculation and decision-making of a large-scale, permanent and continuous risk prevention and control system.

[0221] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0222] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0223] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0224] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0225] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0226] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification 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.) that contain computer-usable program code.

[0227] The embodiments of this specification are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 fraud case serial and parallel device to produce a machine, so that the instructions executed by the processor of the computer or other programmable fraud case serial and parallel device generate instructions for implementing the process in the process. 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.

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

[0229] These computer program instructions may also be loaded onto a computer or other programmable device in series and parallel to the process so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0230] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0231] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0232] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0233] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0234] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification 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 codes.

[0235] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0236] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0237] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A risk identification method, applied to an electronic device, wherein the electronic device includes a trusted execution environment, the method comprising: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; The service identifier, the user identifier, and the first service data are passed to a trusted execution environment, and based on the service identifier and the user identifier, second service data required for risk identification of the target service is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second service data is passed to the trusted execution environment; In the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result; The risk identification result is sent to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

2. The method according to claim 1, wherein the delivering the service identifier, the user identifier, and the first service data to a trusted execution environment, and based on the service identifier and the user identifier, obtaining second service data required for risk identification of the target service from a preset risk prevention and control system, and delivering the second service data to the trusted execution environment, comprises: The business identifier, the user identifier and the first business data are delivered to the trusted execution environment in encrypted form through the trusted application corresponding to the target business, and based on the business identifier and the user identifier, the second business data required for risk identification of the target business is obtained from a preset risk prevention and control system through the trusted application, and the second business data is delivered to the trusted execution environment through the trusted application.

3. The method according to claim 1, wherein in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data to determine a corresponding risk identification result comprises: In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, risk identification processing is performed on the target business through the risk identification rule corresponding to the target business to determine the corresponding risk identification result, and the risk identification rule is set based on any one of the following: a preset linear model operator, a preset tree model operator, a preset Transformer operator and a fully connected network operator.

4. The method according to claim 3, further comprising: Receiving an update request for the risk identification rule in the trusted execution environment, wherein the update request includes rule data to be updated, and the rule data to be updated is ciphertext; Passing the rule data to be updated to the trusted execution environment through the trusted application corresponding to the target business; In the trusted execution environment, the rule data to be updated is decrypted, and the risk identification rule is updated based on the decrypted rule data to be updated.

5. The method according to any one of claims 1 to 4, further comprising: Acquire relevant data of the target business, and acquire data related to the target business and / or acquire data related to the user from a preset risk prevention and control system; Upload the relevant data of the target business and the acquired relevant data to the blockchain system; After sending the risk identification result to the first device, the method further includes: Upload the business identifier, the user identifier, the first business data, the second business data and the risk identification result to the blockchain system.

6. The method according to claim 5, further comprising: Acquire data related to the target business and / or acquire data related to the user from the blockchain system, and acquire a risk identification result corresponding to the target business from the blockchain system, and transmit the acquired relevant data and the stored first risk identification result corresponding to the target business to the trusted execution environment; The performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data in the trusted execution environment to determine a corresponding risk identification result includes: In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the first risk identification result corresponding to the stored target business to obtain a corresponding risk identification result.

7. A risk identification method, applied to a blockchain node in a blockchain system, wherein the blockchain node includes a trusted execution environment, the method comprising: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, second business data required for risk identification of the target business is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second business data is delivered to the trusted execution environment; In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, risk identification processing is performed on the target business to determine a corresponding risk identification result; The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

8. The method according to claim 7, further comprising: Obtain relevant data of the target business based on a second smart contract pre-deployed in the blockchain system, and obtain data related to the target business and / or obtain data related to the user from a preset risk prevention and control system; Uploading the relevant data of the target business and the acquired relevant data to the blockchain system based on the second smart contract; After sending the risk identification result to the first device, the method further includes: Based on the second smart contract, the business identifier, the user identifier, the first business data, the second business data and the risk identification result are uploaded to the blockchain system.

9. The method according to claim 8, further comprising: Based on the first smart contract, data related to the target business and / or data related to the user are obtained from the blockchain system, and a risk identification result corresponding to the target business is obtained from the blockchain system, and the obtained relevant data and the stored first risk identification result corresponding to the target business are transmitted to the trusted execution environment; The step of performing risk identification processing on the target business in the trusted execution environment based on the business identifier, the user identifier, the first business data, the second business data, and the first smart contract to determine a corresponding risk identification result includes: In the trusted execution environment, risk identification processing is performed on the target business based on the business identifier, the user identifier, the first business data and the second business data, the acquired related data, and the stored first risk identification result corresponding to the target business and the first smart contract to obtain a corresponding risk identification result.

10. A risk identification device, the device comprising a trusted execution environment, the device comprising: A request receiving module receives a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; a data transmission module, which transmits the service identifier, the user identifier, and the first service data to a trusted execution environment, and based on the service identifier and the user identifier, obtains second service data required for risk identification of the target service from a preset risk prevention and control system for assisting the risk prevention and control system corresponding to the first device, and transmits the second service data to the trusted execution environment; a risk identification module, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result; The result sending module sends the risk identification result to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

11. A risk identification device, the device being a device in a blockchain system, the device comprising a trusted execution environment, the device comprising: an identification request module, receiving a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; a data transmission module, based on a first smart contract pre-deployed in the blockchain system, transmitting the business identifier, the user identifier and the first business data to a trusted execution environment, and based on the business identifier and the user identifier, obtaining second business data required for risk identification of the target business from a preset risk prevention and control system for assisting the risk prevention and control system corresponding to the first device, and transmitting the second business data to the trusted execution environment; a risk identification module, in the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, and determining a corresponding risk identification result; An identification result sending module sends the risk identification result to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

12. A risk identification device, the device comprising a trusted execution environment, the risk identification device comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; The service identifier, the user identifier, and the first service data are passed to a trusted execution environment, and based on the service identifier and the user identifier, second service data required for risk identification of the target service is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second service data is passed to the trusted execution environment; In the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result; The risk identification result is sent to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

13. A risk identification device, the device being a device in a blockchain system, the risk identification device comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, second business data required for risk identification of the target business is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second business data is delivered to the trusted execution environment; In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, risk identification processing is performed on the target business to determine a corresponding risk identification result; The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

14. A storage medium for storing computer executable instructions, wherein the executable instructions implement the following process when executed by a processor: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; The service identifier, the user identifier, and the first service data are passed to a trusted execution environment, and based on the service identifier and the user identifier, second service data required for risk identification of the target service is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second service data is passed to the trusted execution environment; In the trusted execution environment, performing risk identification processing on the target business based on the business identifier, the user identifier, the first business data, and the second business data, and determining a corresponding risk identification result; The risk identification result is sent to the first device, where the risk identification result is used to trigger the first device to process the target business based on the risk identification result.

15. A storage medium for storing computer executable instructions, wherein the executable instructions implement the following process when executed by a processor: Receive a risk identification request for a target service sent by a first device, wherein the risk identification request includes a service identifier of the target service, an identifier of a user initiating the target service, and first service data required for risk identification of the target service; Based on a first smart contract pre-deployed in the blockchain system, the business identifier, the user identifier, and the first business data are delivered to a trusted execution environment, and based on the business identifier and the user identifier, second business data required for risk identification of the target business is obtained from a preset risk prevention and control system for assisting a risk prevention and control system corresponding to the first device, and the second business data is delivered to the trusted execution environment; In the trusted execution environment, based on the business identifier, the user identifier, the first business data and the second business data, and the first smart contract, risk identification processing is performed on the target business to determine a corresponding risk identification result; The risk identification result is sent to the first device based on the first smart contract, and the risk identification result is used to trigger the first device to process the target business based on the risk identification result.