Privacy data, trusted application processing method, system, device and equipment
By fragmenting and resuming the installation data of trusted applications, the problem of low efficiency in the installation of trusted applications on terminal devices is solved, and efficient installation of trusted applications is achieved.
Patent Information
- Application Number
- CN202010922551.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-09-04
AI Technical Summary
Due to factors such as network connectivity, terminal devices may experience low processing efficiency and fail to successfully install trusted applications during the acquisition and installation process.
The installation data of trusted applications is fragmented using the Open Trust Protocol (OTRP) to generate multiple fragments. These fragments are then restored via threads on the terminal device, ultimately installing the trusted application in a trusted execution environment.
It improves the installation efficiency of trusted applications, resolves installation failures caused by network and other factors, and ensures the successful installation of trusted applications on terminal devices.
Smart Images

Figure CN112182642B_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of computer technology, and in particular to a method, system, device and equipment for processing privacy data and trusted applications. Background Art
[0002] With the development of electronic products and the demand for data security from users, many terminal devices can be equipped with a Trusted Execution Environment (TEE) with the support of hardware. TEE has security performance and can meet certain security requirements. It can protect the privacy data in the Trusted Execution Environment (such as user personal data, trusted applications, etc.) from general network attacks and resist specific types of security threats. Only authorized Trusted Applications (TA) can be executed in TEE, thereby strengthening the protection of privacy data such as resources and data of security software.
[0003] However, due to the large amount of private data such as trusted applications, when a terminal device obtains the private data of the trusted applications, it is often unable to process the private data due to other factors such as the network, resulting in low efficiency in processing the private data. Therefore, it is necessary to provide a technical solution with higher efficiency in processing private data. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a method, system, device and equipment for processing privacy data and trusted applications, so as to provide a technical solution with higher privacy data processing efficiency.
[0005] In order to solve the above technical problems, the embodiments of this specification are implemented as follows:
[0006] In the first aspect, the embodiments of this specification provide a privacy data processing method, which is applied to a business server, and the method includes: when it is determined that the terminal device needs to process the privacy data corresponding to the target application, based on the open trust protocol OTRP, the privacy data corresponding to the target application is obtained, and the privacy data includes data for securely processing the predetermined data in the operation of the target application. The privacy data is secretly split to obtain multiple shards of the privacy data. A processing instruction for the privacy data is sent to the terminal device, so that the terminal device, when receiving the processing instruction, obtains the multiple shards of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shards, and transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0007] In the second aspect, an embodiment of the present specification provides a privacy data processing method, which is applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, and the method comprises: receiving a processing instruction for privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application. According to the processing instruction, one or more threads are started to obtain multiple shards of the privacy data from the business server. The privacy data is restored based on the multiple shards obtained, and the restored privacy data is transmitted to the trusted execution environment, where the privacy data is processed. Among them, the multiple shards of the privacy data are obtained by the business server after obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0008] In a third aspect, an embodiment of the present specification provides a privacy data processing system, including: a business server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment. When the business server determines that the terminal device needs to process the privacy data corresponding to the target application, it obtains the privacy data corresponding to the target application based on the open trust protocol OTRP, and performs secret segmentation processing on the privacy data to obtain multiple shard data of the privacy data. The terminal device obtains the multiple shard data of the privacy data from the business server through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0009] In a fourth aspect, an embodiment of the present specification provides a privacy data processing device, the device comprising: a first information acquisition module, when determining that the terminal device needs to process the privacy data corresponding to the target application, obtains the privacy data corresponding to the target application based on the open trust protocol OTRP, the privacy data including data for securely processing predetermined data in the operation of the target application. A first information processing module, secretly splits the privacy data to obtain multiple shards of the privacy data. A first sending module, sends a processing instruction for the privacy data to a terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple shards of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shards, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0010] In a fifth aspect, an embodiment of the present specification provides a privacy data processing device, wherein the device is installed with a target application and is provided with a trusted execution environment, and the device comprises: a first receiving module, which receives a processing instruction for privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application. A first shard information acquisition module, which starts one or more threads to obtain multiple shard data of the privacy data from the business server according to the processing instruction. A first processed data recovery module, which performs recovery processing of the privacy data based on the multiple shard data obtained, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment. Among them, the multiple shard data of the privacy data are obtained by the business server after obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0011] In a sixth aspect, an embodiment of the specification provides a privacy data processing method, which is applied to a first server, and the method includes: when it is determined that the terminal device needs to process the privacy data corresponding to the target application, sending a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP. Upon receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly segmented to obtain multiple fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to secretly segment the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application. Sending a processing instruction for the privacy data to the terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple fragmented data of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple fragmented data, and transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0012] In a seventh aspect, an embodiment of the present specification provides a privacy data processing method, which is applied to a privacy data management server, and the method includes: receiving a request for permission to process privacy data, wherein the request for permission to process privacy data carries identification information of a terminal device. According to the identification information, when it is detected that the trusted execution environment of the terminal device meets a preset processing condition, a processing permission message is sent to a first server, so that the first server, when receiving the processing permission message, obtains the privacy data and performs secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of a target application.
[0013] In an eighth aspect, an embodiment of the present specification provides a privacy data processing method, which is applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, and the method comprises: receiving a processing instruction for the privacy data of the target application sent by a first server. According to the processing instruction, one or more threads are started to obtain multiple shards of the privacy data from the first server. The privacy data is restored based on the multiple shards obtained, and the restored privacy data is transmitted to the trusted execution environment, and the privacy data is processed in the trusted execution environment. Among them, the multiple shards of the privacy data are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0014] In the ninth aspect, an embodiment of the present specification provides a privacy data processing system, including: a first server, a privacy data management server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment. The first server, when determining that the terminal device needs to process the privacy data corresponding to the target application, sends a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP. The privacy data management server receives the privacy data processing permission request, and when detecting that the trusted execution environment of the terminal device meets the preset processing conditions, sends a processing permission message to the first server. The first server, when receiving the processing permission message sent by the privacy data management server, obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application. The terminal device obtains multiple shards of the privacy data from the first server through one or more threads, and recovers the privacy data based on the obtained multiple shards, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0015] In the tenth aspect, an embodiment of the specification provides a privacy data processing device, the device comprising: a fourth acquisition module, when determining that the terminal device needs to process the privacy data corresponding to the target application, sends a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP. A second processing module, when receiving the processing permission message sent by the privacy data management server, obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application. A second sending module, sending a processing instruction for the privacy data to the terminal device, so that the terminal device, when receiving the processing instruction, obtains multiple fragmented data of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple fragmented data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0016] In an eleventh aspect, an embodiment of the present specification provides a privacy data processing device, the device comprising: a processing request receiving module, receiving a processing permission request for privacy data, wherein the processing permission request for privacy data carries identification information of a terminal device. A processing permission message sending module, based on the identification information, sends a processing permission message to a first server when it is detected that the trusted execution environment of the terminal device meets a preset processing condition, so that the first server, upon receiving the processing permission message, obtains the privacy data and performs secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of a target application.
[0017] In the twelfth aspect, an embodiment of the present specification provides a privacy data processing device, the device is installed with a target application and is provided with a trusted execution environment, the device includes: a second receiving module, receiving a processing instruction of the privacy data of the target application sent by the first server. A second shard information acquisition module, according to the processing instruction, starts one or more threads to obtain multiple shard data of the privacy data from the first server. A second processed data recovery module, based on the obtained multiple shard data, performs recovery processing of the privacy data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment. Among them, the multiple shard data of the privacy data of the trusted application are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0018] In a thirteenth aspect, an embodiment of the present specification provides a privacy data processing device including: a processor. And a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to: when determining that the terminal device needs to process the privacy data corresponding to the target application, obtain the privacy data corresponding to the target application based on the open trust protocol OTRP, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application. Perform secret segmentation processing on the privacy data to obtain multiple shard data of the privacy data. Send a processing instruction for the privacy data to the terminal device, so that the terminal device, when receiving the processing instruction, obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0019] In a fourteenth aspect, an embodiment of the present specification provides a privacy data processing device, wherein the trusted application processing device is installed with a target application and is provided with a trusted execution environment, and includes: a processor. And a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to: receive processing instructions for privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application. According to the processing instructions, one or more threads are started to obtain multiple shard data of the privacy data from the business server. Based on the obtained multiple shard data, the privacy data is restored, and the restored privacy data is transmitted to the trusted execution environment, and the privacy data is processed in the trusted execution environment. Among them, the multiple shard data of the privacy data are obtained by the business server after obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP when determining that the terminal device needs to process the privacy data corresponding to the target application, and performing secret segmentation processing on the privacy data.
[0020] In a fifteenth aspect, an embodiment of the present specification provides a privacy data processing device including: a processor. And a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor: when determining that the terminal device needs to process the privacy data corresponding to the target application, send a request for processing permission for the privacy data to the privacy data management server based on the open trust protocol OTRP. Upon receiving the processing permission message sent by the privacy data management server, obtain the privacy data corresponding to the target application, and perform secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application. Send a processing instruction for the privacy data to the terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple fragmented data of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple fragmented data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0021] In a sixteenth aspect, an embodiment of the present specification provides a privacy data processing device including: a processor. And a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to: receive a request for permission to process privacy data, wherein the request for permission to process privacy data carries identification information of a terminal device. According to the identification information, upon detecting that the trusted execution environment of the terminal device satisfies a preset processing condition, a processing permission message is sent to a first server, so that upon receiving the processing permission message, the first server obtains the privacy data, and performs secret segmentation processing on the privacy data to obtain multiple fragmented data of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of a target application.
[0022] In the seventeenth aspect, an embodiment of the present specification provides a privacy data processing device comprising: a processor. And a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to: receive processing instructions for the privacy data of a target application sent by a first server. According to the processing instructions, start one or more threads to obtain multiple shards of the privacy data from the first server. Perform recovery processing on the privacy data based on the multiple shards obtained, transmit the recovered privacy data to a trusted execution environment, and process the privacy data in the trusted execution environment. The multiple shards of the privacy data are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0023] In the eighteenth aspect, an embodiment of the present specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: when it is determined that the terminal device needs to process the privacy data corresponding to the target application, the privacy data corresponding to the target application is obtained based on the open trust protocol OTRP, and the privacy data includes data for securely processing the predetermined data in the operation of the target application. The privacy data is secretly split to obtain multiple shards of the privacy data. The processing instruction of the privacy data is sent to the terminal device, so that the terminal device, when receiving the processing instruction, obtains the multiple shards of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shards, and transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0024] In the nineteenth aspect, an embodiment of the present specification provides a storage medium, wherein the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving a processing instruction for privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of a target application. According to the processing instruction, one or more threads are started to obtain multiple shards of the privacy data from the business server. The privacy data is restored based on the multiple shards obtained, and the restored privacy data is transmitted to a trusted execution environment, where the privacy data is processed. Among them, the multiple shards of the privacy data are obtained by the business server after obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0025] In the twentieth aspect, the embodiment of the specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when being executed: when it is determined that the terminal device needs to process the privacy data corresponding to the target application, a request for processing permission of the privacy data is sent to the privacy data management server based on the open trust protocol OTRP. When receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly split to obtain multiple fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to secretly split the privacy data, and the privacy data includes data for securely processing the predetermined data in the operation of the target application. Send the processing instruction of the privacy data to the terminal device, so that the terminal device, when receiving the processing instruction, obtains the multiple fragmented data of the privacy data through one or more threads, and performs the recovery processing of the privacy data based on the obtained multiple fragmented data, and transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0026] In a twenty-first aspect, an embodiment of the present specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving a request for permission to process private data, wherein the request for permission to process private data carries identification information of a terminal device. Based on the identification information, when it is detected that the trusted execution environment of the terminal device meets a preset processing condition, a processing permission message is sent to a first server, so that the first server, when receiving the processing permission message, obtains the private data and performs secret segmentation processing on the private data to obtain multiple fragmented data of the private data, wherein the private data includes data for securely processing predetermined data in the operation of a target application.
[0027] In the twenty-second aspect, an embodiment of the present specification provides a storage medium, wherein the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving a processing instruction for the privacy data of a target application sent by a first server. According to the processing instruction, start one or more threads to obtain multiple shards of the privacy data from the first server. Perform recovery processing on the privacy data based on the multiple shards obtained, transmit the recovered privacy data to a trusted execution environment, and process the privacy data in the trusted execution environment. Among them, the multiple shards of the privacy data are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when it is determined that the terminal device needs to process the privacy data corresponding to the target application.
[0028] In the twenty-third aspect, an embodiment of the present specification provides a trusted application processing system, the system comprising: a business server and a terminal device, the terminal device having a target application installed and a trusted execution environment set. The business server, when determining that the terminal device needs to install a trusted application of the target application, obtains the installation data of the trusted application based on the open trust protocol OTRP, and performs sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data. The terminal device, through one or more threads, obtains multiple shards of the installation data of the trusted application from the business server, and performs recovery processing of the installation data based on the obtained multiple shards, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0029] In the twenty-fourth aspect, the embodiments of this specification provide a trusted application processing method, which is applied to a business server, including: when it is determined that the terminal device needs to install the trusted application of the target application, the installation data of the trusted application is obtained based on the open trust protocol OTRP, and the installation data of the trusted application is sliced to obtain multiple slices of the installation data. An installation instruction is sent to the terminal device, and the installation instruction carries the total number of slices of the slice data, so that when the terminal device receives the installation instruction, according to the total number of slices carried in the installation instruction, the multiple slices of the installation data of the trusted application are obtained through one or more threads, and the installation data is restored based on the obtained multiple slices, and the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0030] In the twenty-fifth aspect, an embodiment of the present specification provides a trusted application processing method, which is applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, and the method comprises: receiving an installation instruction of a trusted application of the target application sent by a business server. According to the installation instruction, one or more threads are started to obtain multiple shard data of the installation data of the trusted application from the business server, and the installation data is restored based on the obtained multiple shard data, and the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the business server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application, and performing sharding processing on the installation data of the trusted application.
[0031] In the twenty-sixth aspect, the embodiments of the present specification provide a trusted application processing device, comprising: a first data acquisition module, which, when determining that a terminal device needs to install a trusted application of a target application, acquires the installation data of the trusted application based on an open trust protocol OTRP. A data processing module, which performs sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data. An instruction sending module, which sends an installation instruction to a terminal device, so that upon receiving the installation instruction, the terminal device acquires multiple shards of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the acquired multiple shards, transmits the restored installation data to the trusted execution environment, and installs the trusted application through the installation data in the trusted execution environment.
[0032] In the twenty-seventh aspect, an embodiment of the present specification provides a trusted application processing device, wherein the device is installed with a target application and is provided with a trusted execution environment, and the device comprises: an installation instruction receiving module, which receives the installation instruction of the trusted application of the target application sent by the business server. A shard data acquisition module, which starts one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server according to the installation instruction. An installation data recovery module, which performs recovery processing of the installation data based on the obtained multiple shard data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the business server, when it is determined that the device needs to install the trusted application of the target application, obtaining the installation data of the trusted application based on the open trust protocol OTRP, and performing shard processing on the installation data of the trusted application.
[0033] In a twenty-eighth aspect, an embodiment of the specification provides a trusted application processing system, the system comprising: a trusted application processing system, comprising: a first server, a trusted application management server and a terminal device, the terminal device having a target application installed and a trusted execution environment set. The first server, when determining that the terminal device needs to install a trusted application of the target application, sends a trusted application installation permission request to the trusted application management server based on an open trust protocol OTRP. The trusted application management server receives the trusted application installation permission request, and when detecting that the trusted execution environment of the terminal device meets a preset installation condition, sends an installation permission message to the first server. The first server, when receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application, and performs sharding processing on the installation data of the trusted application to obtain multiple sharding data of the installation data. The terminal device obtains multiple sharding data of the installation data of the trusted application from the first server through one or more threads, and performs recovery processing of the installation data based on the obtained multiple sharding data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0034] In the twenty-ninth aspect, the embodiment of the specification provides a trusted application processing method, which is applied to a first server, and the method includes: when it is determined that the terminal device needs to install a trusted application of the target application, sending a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP. Upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and performing sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data, wherein the installation permission message is used to instruct the first server to perform sharding processing on the installation data of the trusted application. Sending an installation instruction to the terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple shards of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple shards, and transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0035] In a thirtieth aspect, an embodiment of the specification provides a trusted application processing method, which is applied to a trusted application management server, the method comprising: receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device. According to the identification information, when it is detected that the trusted execution environment of the terminal device meets a preset installation condition, an installation permission message is sent to a first server, so that the first server, when receiving the installation permission message, obtains the installation data of the trusted application, and performs slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data.
[0036] In the thirty-first aspect, an embodiment of the present specification provides a trusted application processing method, which is applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, and the method comprises: receiving an installation instruction of a trusted application of the target application sent by a first server. According to the installation instruction, one or more threads are started to obtain multiple shard data of the installation data of the trusted application from the first server. The installation data is restored based on the multiple shard data obtained, and the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application, and performing sharding on the installation data of the trusted application.
[0037] In the thirty-second aspect, an embodiment of the present specification provides a trusted application processing device, the device comprising: a fourth data acquisition module, when determining that the terminal device needs to install a trusted application of the target application, sends a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP. A second data processing module, when receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application, and performs sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data, wherein the installation permission message is used to instruct the first server to perform sharding processing on the installation data of the trusted application. A third installation instruction sending module, sending an installation instruction to the terminal device, so that the terminal device, when receiving the installation instruction, obtains multiple shards of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple shards, and transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0038] In a thirty-third aspect, an embodiment of the present specification provides a trusted application processing device, the device comprising: an installation request receiving module, receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device; an installation permission message sending module, based on the identification information, sending an installation permission message to a first server when detecting that the trusted execution environment of the terminal device meets a preset installation condition, so that the first server, when receiving the installation permission message, obtains the installation data of the trusted application, and performs sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data.
[0039] In the thirty-fourth aspect, an embodiment of the present specification provides a trusted application processing device, a trusted application processing device, the device is installed with a target application and is provided with a trusted execution environment, the device comprises: a second installation instruction receiving module, receiving the installation instruction of the trusted application of the target application sent by the first server. A second shard data acquisition module, according to the installation instruction, starts one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server. A second installation data recovery module, based on the obtained multiple shard data, performs recovery processing of the installation data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the business server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application, and performing shard processing on the installation data of the trusted application.
[0040] In the thirty-fifth aspect, an embodiment of the present specification provides a trusted application processing device, the trusted application processing device comprising: a processor. And a memory arranged to store computer executable instructions, the executable instructions, when being executed, cause the processor to: when determining that the terminal device needs to install the trusted application of the target application, obtain the installation data of the trusted application based on the open trust protocol OTRP, and perform slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data. Send an installation instruction to the terminal device, so that the terminal device, when receiving the installation instruction, obtains multiple slicing data of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slicing data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0041] In the thirty-sixth aspect, an embodiment of the present specification provides a trusted application processing device, the trusted application processing device comprising: a processor. And a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to: receive the installation instructions of the trusted application of the target application sent by the business server. According to the installation instructions, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server, and perform recovery processing of the installation data based on the obtained multiple shard data, transmit the restored installation data to a trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. Wherein, the multiple shard data of the installation data of the trusted application are obtained by the business server, when it is determined that the trusted application processing device needs to install the trusted application of the target application, obtaining the installation data of the trusted application based on the open trust protocol OTRP, and performing shard processing on the installation data of the trusted application.
[0042] In the thirty-seventh aspect, an embodiment of the present specification provides a trusted application processing device, the trusted application processing device comprising: a processor. And a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to: when determining that the terminal device needs to install a trusted application of the target application, send a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP. Upon receiving the installation permission message sent by the trusted application management server, obtain the installation data of the trusted application, and perform slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data, wherein the installation permission message is used to instruct the first server to perform slicing processing on the installation data of the trusted application. Send an installation instruction to the terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple slicing data of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slicing data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0043] In aspect 38, an embodiment of the present specification provides a trusted application processing device, the trusted application processing device comprising: a processor. And a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to: receive a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device. According to the identification information, when it is detected that the trusted execution environment of the terminal device meets a preset installation condition, an installation permission message is sent to a first server, so that the first server, when receiving the installation permission message, obtains the installation data of the trusted application, and performs slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data.
[0044] In the thirty-ninth aspect, an embodiment of the present specification provides a trusted application processing device, the trusted application processing device comprising: a processor. And a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to: receive the installation instructions of the trusted application of the target application sent by the first server. According to the installation instructions, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the first server. Perform recovery processing of the installation data based on the obtained multiple shard data, transmit the restored installation data to a trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application, and performing shard processing on the installation data of the trusted application.
[0045] In the fortieth aspect, an embodiment of the present specification provides a storage medium for storing computer executable instructions, and the executable instructions implement the following process when executed: when it is determined that the terminal device needs to install a trusted application of the target application, the installation data of the trusted application is obtained based on the open trust protocol OTRP. The installation data of the trusted application is sliced to obtain multiple slices of the installation data. An installation instruction is sent to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple slices of the installation data of the trusted application through one or more threads, and restores the installation data based on the obtained multiple slices, transmits the restored installation data to the trusted execution environment, and installs the trusted application through the installation data in the trusted execution environment.
[0046] Forty-first aspect, an embodiment of the present specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving the installation instruction of the trusted application of the target application sent by the business server. According to the installation instruction, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server. Perform recovery processing of the installation data based on the obtained multiple shard data, transfer the restored installation data to a trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the business server obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the trusted application processing device needs to install the trusted application of the target application, and sharding the installation data of the trusted application.
[0047] In the forty-second aspect, an embodiment of the specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when being executed: when it is determined that the terminal device needs to install a trusted application of the target application, a trusted application installation permission request is sent to the trusted application management server based on the open trust protocol OTRP. Upon receiving the installation permission message sent by the trusted application management server, the installation data of the trusted application is obtained, and the installation data of the trusted application is sliced to obtain multiple slices of the installation data, wherein the installation permission message is used to instruct the first server to slice the installation data of the trusted application. An installation instruction is sent to the terminal device, so that the terminal device, upon receiving the installation instruction, obtains multiple slices of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slices, and transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0048] In the forty-third aspect, an embodiment of the specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device. According to the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset installation conditions, an installation permission message is sent to a first server, so that the first server, when receiving the installation permission message, obtains the installation data of the trusted application, and performs slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data.
[0049] In the forty-fourth aspect, an embodiment of the present specification provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed: receiving the installation instruction of the trusted application of the target application sent by the first server; according to the installation instruction, starting one or more threads to obtain multiple shard data of the installation data of the trusted application from the first server. Perform recovery processing on the installation data based on the obtained multiple shard data, transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application, and performing shard processing on the installation data of the trusted application. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] 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.
[0051] Figure 1 A first structural diagram of a trusted application processing system provided in an embodiment of this specification;
[0052] Figure 2 A first flow chart of a trusted application processing method provided in an embodiment of this specification;
[0053] Figure 3 A second flow chart of the trusted application processing method provided in the embodiment of this specification;
[0054] Figure 4 A second structural diagram of a trusted application processing system provided in an embodiment of this specification;
[0055] Figure 5 A system timing diagram for trusted application processing provided in the embodiments of this specification;
[0056] Figure 6 A third flow chart of the trusted application processing method provided in the embodiment of this specification;
[0057] Figure 7 A fourth flow chart of the trusted application processing method provided in the embodiment of this specification;
[0058] Figure 8 A fifth flow chart of the trusted application processing method provided in the embodiments of this specification;
[0059] Fig. 9 A schematic diagram of the first module composition of the trusted application processing device provided in the embodiments of this specification;
[0060] Fig.10 A schematic diagram of the second module composition of the trusted application processing device provided in the embodiment of this specification;
[0061] Fig.11 A schematic diagram of the third module composition of the trusted application processing device provided in the embodiments of this specification;
[0062] Fig.12 A schematic diagram of the fourth module composition of the trusted application processing device provided in the embodiments of this specification;
[0063] Fig.13 A schematic diagram of the fifth module composition of the trusted application processing device provided in the embodiments of this specification;
[0064] Fig.14 A schematic diagram of a first process flow of a privacy data processing method provided in an embodiment of this specification;
[0065] Fig.15 A second flow chart of the privacy data processing method provided in the embodiments of this specification;
[0066] Fig.16 A second structural diagram of the privacy data processing system provided in the embodiments of this specification;
[0067] Fig.17 A system timing diagram for privacy data processing provided in the embodiments of this specification;
[0068] Fig.18 A third flow chart of the privacy data processing method provided in the embodiments of this specification;
[0069] Fig.19 A fourth flow chart of the privacy data processing method provided in the embodiments of this specification;
[0070] Fig. 20 A fifth flow chart of the privacy data processing method provided in the embodiments of this specification;
[0071] Fig.21 A schematic diagram of the first module composition of the privacy data processing device provided in the embodiments of this specification;
[0072] Fig. 22 A schematic diagram of the second module composition of the privacy data processing device provided in the embodiments of this specification;
[0073] Fig.23 A schematic diagram of the third module composition of the privacy data processing device provided in the embodiments of this specification;
[0074] Fig.24 A schematic diagram of the fourth module composition of the privacy data processing device provided in the embodiments of this specification;
[0075] Fig.25 A schematic diagram of the fifth module composition of the privacy data processing device provided in the embodiments of this specification;
[0076] Fig.26 A first structural diagram of a trusted application processing device provided in an embodiment of this specification;
[0077] Fig. 27 A second structural diagram of a trusted application processing device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0078] 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.
[0079] like Figure 1 As shown, Figure 1 A first structural diagram of a trusted application processing system provided in an embodiment of this specification includes: a business server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment.
[0080] Among them, the above-mentioned business server can be a server of the target application corresponding to the target application installed in the terminal device. The server of the target application can be used to obtain relevant information of the trusted application sent by the terminal device, and can judge whether the above-mentioned terminal device needs to install the trusted application of the target application based on the relevant information of the trusted application and the relevant information of the terminal device. When it is determined that the terminal device needs to install the trusted application of the target application, the installation data of the trusted application is obtained based on the open trust protocol OTRP, and the installation data of the trusted application is fragmented to obtain multiple fragmented data of the installation data.
[0081] The above-mentioned trusted execution environment is an area on the CPU of terminal devices (such as smartphones, tablets, and smart TVs). The role of this area is to provide a more secure space for the execution of data and code, and to ensure their confidentiality and integrity. Many current security architectures are still based on the Rich OS+SE approach, because some small payments, DRM, enterprise VPNs, etc., do not require high security protection strength and do not require a separate SE for protection, but they cannot be placed directly in the Rich OS because the latter's openness makes it very vulnerable to attacks. Therefore, for such applications, TEE provides appropriate protection strength and balances cost and ease of development.
[0082] TEE provides an isolated execution environment, and the security features it provides include: isolated execution, integrity of trusted applications, confidentiality of trusted data, and secure storage. TEE is a running environment that coexists with the Rich OS on the device and provides security services to the Rich OS. TEE has its own execution space, which has a higher security level than the Rich OS. TEE can meet the security requirements of most applications. TEE provides a secure execution environment for authorized security software (trusted applications, TA), while also protecting the confidentiality, integrity, and access rights of TA's resources and data. In order to ensure the trusted root of TEE itself, TEE must be verified and isolated from the Rich OS during the secure boot process. In TEE, each TA is independent of each other and cannot access each other without authorization.
[0083] TEE trusted execution environment can be used to provide content protection mechanism (Premium content protection), such as using TEE to encrypt and transmit, and only TEE environment with specific keys can decrypt and use these contents. In addition, TEE trusted execution environment can also be used to provide mobile financial services. For example, with the rapid development of mobile e-commerce, more and stronger mobile security standards are needed. Applications such as mobile electronic wallets, P2P payments, NFC payments, and using mobile devices as PoS machines all belong to the field of mobile finance. Through NFC and security elements SEs, TEE can ensure the security of mobile devices, and consumers can safely perform any financial transactions in the secure and trusted environment of their devices. In order to interact with users in a friendly manner, TEE can also provide a trusted GUI user interface for users to verify the TEE environment. In addition, TEE trusted execution environment can also be used to provide authentication. Specifically: TEE itself can be used as a natural ID, such as facial recognition, fingerprint sensor and voice authorization, which is more secure than PIN codes and passwords. TEE is an ideal space for storing matching engines and related processes for authenticating users. It can be isolated from the main OS of the mobile device to ensure safe operation.
[0084] The terminal device may be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer, and the terminal device may be a terminal device used by a user. The terminal device is installed with a target application and is provided with a trusted execution environment.
[0085] During implementation, after the business server shards the installation data of the trusted application and obtains multiple shards of the installation data, the terminal device can obtain the multiple shards of the installation data of the trusted application from the business server through one or more threads, and restore the installation data based on the obtained multiple shards, transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data.
[0086] Specifically, after the above-mentioned business server performs sharding processing on the installation data of the trusted application and obtains multiple shards of the installation data, it can send an installation instruction to the terminal device. When receiving the installation instruction, the terminal device can start one or more threads, obtain multiple shards of the installation data of the trusted application from the above-mentioned business server through the one or more threads, and restore the installation data based on the obtained multiple shards to obtain the restored installation data. Then, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0087] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing system, including: a business server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment, when the above business server determines that the terminal device needs to install a trusted application of the target application, it obtains the installation data of the trusted application based on the open trust protocol OTRP, and slices the installation data of the trusted application to obtain multiple slices of the installation data, so that the installation data of the trusted application is sliced by the business server to obtain multiple slices of the installation data, so that the terminal device obtains multiple slices of the installation data of the trusted application from the above business server, and restores the installation data based on the obtained multiple slices, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above trusted application, thereby improving the installation efficiency of the trusted application.
[0088] Furthermore, after the terminal device obtains multiple shard data from the business server through one or more threads, it can cache the above multiple shard data in a preset cache area, and then perform installation data recovery processing on the cached multiple shard data, wherein the above preset cache area is a persistent cache area.
[0089] Furthermore, before the terminal device transmits the restored installation data to the trusted execution environment, it is also necessary to verify the restored installation data to obtain a first verification result. If the first verification result satisfies the first verification rule, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0090] Furthermore, after the terminal device obtains multiple shard data of the installation data of the trusted application from the business server through one or more threads, it is also necessary to verify each of the multiple shard data obtained from the business server to obtain a corresponding second verification result, and then cache the shard data whose second verification result satisfies the second verification rule in a preset cache area.
[0091] Furthermore, if the terminal device detects that the second verification information of the first fragment data among multiple fragment data does not match the above-mentioned second benchmark verification information, it can re-acquire the second fragment data corresponding to the data identifier of the above-mentioned first fragment data from the above-mentioned business server, and obtain the third verification information of the second fragment data based on the verification information acquisition method corresponding to the above-mentioned second benchmark verification information. If the above-mentioned third verification information matches the second benchmark verification information, the second fragment data is cached in a preset cache area.
[0092] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing system, including: a business server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment, when the above business server determines that the terminal device needs to install a trusted application of the target application, it obtains the installation data of the trusted application based on the open trust protocol OTRP, and slices the installation data of the trusted application to obtain multiple slices of the installation data, so that the installation data of the trusted application is sliced by the business server to obtain multiple slices of the installation data, so that the terminal device obtains multiple slices of the installation data of the trusted application from the above business server, and restores the installation data based on the obtained multiple slices, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above trusted application, thereby improving the installation efficiency of the trusted application.
[0093] Corresponding to the trusted application processing system provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing method. Figure 2 The first flow chart of the trusted application processing method provided in the embodiment of this specification, the execution subject of the method can be a business server, wherein the business server can be an independent server or a server cluster composed of multiple servers, and the business server can provide trusted application data. The method can specifically include the following processing steps:
[0094] In step S102, when it is determined that the terminal device needs to install a trusted application of the target application, installation data of the trusted application is obtained based on the open trust protocol OTRP.
[0095] Among them, the trusted application can be an application program that can run in a trusted execution environment in the terminal device.
[0096] In implementation, with the development of electronic products and the user's demand for data security, many terminal devices can now be equipped with a Trusted Execution Environment (TEE) with the support of hardware. TEE has security performance and can meet certain security requirements. It can protect the resources (such as data, software, etc.) in the trusted execution environment from general software attacks and resist specific types of security threats. Only authorized trusted applications (TA) can be executed in TEE, which protects the confidentiality of the resources and data of the security software. However, due to the large size of trusted applications, terminal devices often fail to successfully install trusted applications in the process of obtaining the above-mentioned trusted applications due to the influence of other factors such as the network, resulting in low installation efficiency of trusted applications. Therefore, it is necessary to provide a technical solution to improve the efficiency of trusted application installation. For details, please refer to the following content.
[0097] During the specific implementation process, when the terminal device detects that the user has triggered the target application, it will call the Otrp Agent interface of the trusted execution environment TEE to query the status information of the trusted application related to the above target application (such as version information), and then send the queried status information of the trusted application to the business server (such as the server of the target application corresponding to the target application). After receiving the status information of the above trusted application and determining the relevant information of the terminal device (such as the terminal device model) based on the information returned by the terminal device, the business server can determine whether the above terminal device needs to install the trusted application of the target application based on the correspondence between the pre-stored terminal device information (such as the terminal device model) and the trusted application status information (such as version information). When it is determined that the terminal device needs to install the trusted application of the target application, the installation data of the trusted application is obtained based on the open trust protocol OTRP.
[0098] The terminal device information may include the version information of the terminal device, the state information of the trusted application may include the version information of the trusted application, and the business server may pre-store the correspondence between the terminal device version information and the version information of the trusted application. In this way, the business server may determine that the terminal device needs to install the trusted application of the target application if it detects that the version information in the state information of the trusted application is empty, or determine that the terminal device needs to install a higher version of the trusted application if it detects that the version information in the state information of the trusted application is lower, based on the correspondence between the pre-stored terminal device information and the state information of the trusted application.
[0099] In step S104, the installation data of the trusted application is sliced to obtain a plurality of slices of the installation data.
[0100] In implementation, after the business server obtains the installation data of the trusted application based on the open trust protocol OTRP, it can use preset rules to slice the installation data of the trusted application obtained above to obtain multiple slices of the installation data. Among them, the preset rules can be rules for slicing according to a preset data volume, for example, the installation data is divided into multiple slices of data in units of the preset data volume. Alternatively, the preset rules can also be rules for slicing according to a preset character length, for example, the installation data is divided into multiple slices of data in units of the preset character length, etc. The embodiments of this specification do not specifically limit the way in which the installation data of the trusted application is sliced.
[0101] In step S106, an installation instruction is sent to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple shard data of the installation data of the trusted application through one or more threads, and recovers the installation data based on the obtained multiple shard data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, wherein the above-mentioned installation instruction is used to instruct the terminal device to obtain multiple shard data from the above-mentioned business server.
[0102] In implementation, after the business server obtains multiple shard data of the installation data through the processing of S104, it can send the installation instruction carrying the total number of shards to the terminal device based on the total number of shards of the multiple shard data of the installation data obtained by statistics, or it can also send the installation instruction carrying the total number of shards and a preset number of shard data to the terminal device, wherein the preset number of shard data can be one or more. When receiving the installation instruction, the terminal device can obtain multiple shard data of the installation data of the trusted application through one or more threads based on the total number of shards carried in the installation instruction, and perform installation data recovery processing based on the obtained multiple shard data, and transmit the recovered installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data.
[0103] It can be seen from the technical solution provided by the above embodiments of this specification that the embodiments of this specification obtain the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application; the installation data of the trusted application is sliced to obtain multiple slices of the installation data. In this way, the installation data of the trusted application is sliced by the business server to obtain multiple slices of the installation data, so that the above-mentioned terminal device, when receiving the installation instruction, can obtain the multiple slices of the installation data of the trusted application from the above-mentioned business server by starting one or more threads, and restore the installation data based on the obtained multiple slices, and transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0104] Furthermore, the specific processing process of the above S104 can be varied. An optional processing method is provided below. For details, please refer to the processing method of the following step X2:
[0105] In step X2, if the amount of the installation data of the trusted application is greater than a preset threshold, the installation data of the trusted application is sliced to obtain a plurality of slices of the installation data.
[0106] Further, in order to ensure the consistency of the restored installation data obtained by the terminal device after performing installation data recovery processing based on the obtained multiple shard data and the installation data of the trusted application obtained by the above-mentioned business server based on the open trust protocol OTRP, that is, to prevent the problem of data loss in the process of obtaining shard data by the terminal device, the above-mentioned method also includes:
[0107] The installation data obtained based on the open trust protocol OTRP is processed to generate first benchmark verification information corresponding to the installation data, so that when the terminal device obtains the first benchmark verification information corresponding to the installation data, it can obtain the first verification information of the restored installation data based on the verification information acquisition method corresponding to the first benchmark verification information; if the first verification information matches the first benchmark verification information, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0108] It can be seen from the technical solution provided by the above embodiments of this specification that, when determining that the terminal device needs to install a trusted application of the target application, the embodiments of this specification obtain the installation data of the trusted application based on the open trust protocol OTRP, and slice the installation data of the trusted application to obtain multiple slices of the installation data. In this way, by slicing the installation data of the trusted application to obtain multiple slices of the installation data, the terminal device can obtain multiple slices of the installation data of the trusted application by starting one or more threads, and restore the installation data based on the obtained multiple slices, and transmit the restored installation data to the trusted execution environment. Then, the trusted application is installed in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0109] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification further provides a trusted application processing method. Figure 3The second flow chart of the trusted application processing method provided in the embodiment of this specification, the execution subject of the trusted application processing method can be the user's terminal device, wherein the terminal device can be a device such as a personal computer, or a mobile terminal device such as a mobile phone, a tablet computer, etc., and the terminal device can be a terminal device used by the user. The terminal device can be installed with a target application and provided with a trusted execution environment. The terminal device can obtain multiple shard data of the installation data of the trusted application from the business server through one or more threads, and perform recovery processing of the installation data based on the obtained multiple shard data, and transmit the restored installation data to the trusted execution environment, and install the above-mentioned trusted application through the installation data in the trusted execution environment. The method can specifically include the following steps:
[0110] In step S202, an installation instruction of a trusted application of a target application program sent by a business server is received.
[0111] The business server may be a server of a target application corresponding to a target application installed in the terminal device. The installation instruction may carry the total number of slices of multiple slice data of the installation data, or may carry the total number of slices and a preset number of slice data, wherein the preset number of slice data may be one or more.
[0112] In step S204, according to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the service server.
[0113] In implementation, after receiving the trusted application installation instruction of the target application sent by the business server through the above S202 processing, the terminal device can start one or more threads to obtain multiple slices of the trusted application installation data from the business server according to the above installation instruction.
[0114] In step S206, the installation data is restored based on the obtained multiple shard data, and the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data. The multiple shard data of the installation data of the trusted application are obtained by the business server after obtaining the installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application program, and performing sharding on the installation data of the trusted application.
[0115] In implementation, after the terminal device starts one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server through the above-mentioned S204 processing, it can use preset recovery rules to perform recovery processing of the installation data based on the obtained multiple shard data, transmit the recovered installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data.
[0116] The above-mentioned shard data may carry identification information, which may be identification information for identifying the location of the installation data where each shard data is located when the business server performs sharding processing on the installation data of the trusted application. The above-mentioned preset recovery rule may include: performing splicing recovery processing according to the location of the installation data where the identification information of each shard data is located to obtain the restored installation data.
[0117] Alternatively, the above-mentioned installation instruction also carries a preset splicing method. After the terminal device starts one or more threads to obtain multiple fragmented data of the installation data of the trusted application from the business server through the above-mentioned S204 processing, the above-mentioned preset splicing method can be used to restore the installation data based on the obtained multiple fragmented data, and the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0118] It can be seen from the technical solution provided by the above embodiments of the present specification that the embodiments of the present specification receive installation instructions of a trusted application of a target application sent by a business server, and according to the installation instructions, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server, and then, based on the obtained multiple shard data, perform recovery processing on the installation data, and transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. In this way, by receiving installation instructions of a trusted application of a target application sent by a business server, and according to the installation instructions, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server, and then, based on the obtained multiple shard data, perform recovery processing on the installation data, and transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data, the problem of the terminal device being unable to successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above-mentioned trusted application is effectively solved, thereby improving the installation efficiency of the trusted application.
[0119] Among them, the above installation instruction can carry the total number of shards of the shard data. The processing method of the above S204 can be various. An optional processing method is provided below. For details, please refer to the specific processing process of Y2-Y4 below.
[0120] In step Y2, the number of threads to be started and the number of shard data to be obtained by each thread are determined according to the total number of shards of the shard data carried in the installation instruction, where the number of threads includes one or more.
[0121] In step Y4, one or more threads are started, and based on the determined number of slice data to be obtained by each thread, multiple slice data of the installation data of the trusted application are obtained from the business server.
[0122] In implementation, after the terminal device receives the installation instruction of the trusted application of the target application sent by the business server through the above-mentioned S202 processing, it can determine the number of threads to be started and the number of shard data to be obtained by each thread based on the total number of shards of the shard data carried in the installation instruction, and then start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server through thread competition.
[0123] Furthermore, the processing method of the above S206 can be various, and an optional processing method is provided below, which specifically includes the processing process of the following steps Z2 to Z4.
[0124] In step Z2, multiple shard data are cached in a preset cache area.
[0125] In step Z4, the installation data is restored for the cached plurality of slice data, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment using the installation data.
[0126] During implementation, in order to prevent the target application from crashing or network anomalies from occurring during the process of the terminal device obtaining multiple shard data from the above-mentioned business server, resulting in the loss of the above-mentioned downloaded shard data, and to avoid the need to re-acquire the already acquired shard data when the target application is restarted, resulting in low efficiency of trusted application installation, after the terminal device obtains multiple shard data from the business server through one or more threads, the terminal device can cache the above-mentioned multiple shard data in a preset cache area, and then perform installation data recovery processing on the cached multiple shard data, wherein the above-mentioned preset cache area is a persistent cache area.
[0127] Furthermore, the processing method of the above S206 can be various, and an optional processing method is provided below. For details, please refer to the processing process of the following steps Z6 to Z8.
[0128] In step Z6, the installation data is restored based on the acquired multiple shard data, and the restored installation data is verified to obtain a first verification result.
[0129] In step Z8, if the verification result satisfies the first verification rule, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment using the installation data.
[0130] In implementation, in order to ensure the consistency of the restored installation data obtained by the terminal device after the installation data is restored based on the acquired multiple shard data, and the installation data of the trusted application acquired by the above-mentioned business server based on the open trust protocol OTRP, that is, to prevent the problem of data loss in the process of the terminal device acquiring the shard data, the terminal device in the embodiment of this specification needs to verify the restored installation data before transmitting the restored installation data to the trusted execution environment to obtain a first verification result. If the above-mentioned first verification result satisfies the first verification rule, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0131] Furthermore, the specific processing methods of the above step Z6 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps Z62 to Z66.
[0132] In step Z62, first benchmark verification information corresponding to the installation data and a method for obtaining verification information corresponding to the first benchmark verification information are obtained, wherein the first benchmark verification information is generated by the business server after processing the installation data obtained based on the open trust protocol OTRP.
[0133] The first benchmark verification information may be that the service server performs md5 processing on the installation data obtained based on the open trust protocol OTRP to generate a first benchmark md5 value corresponding to the installation data.
[0134] In implementation, before the service server performs slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data, it can verify the installation data of the trusted application obtained based on the open trust protocol OTRP, generate the first benchmark verification information corresponding to the installation data, and then send an installation instruction to the terminal device, wherein the installation instruction is used to instruct the terminal device to obtain the slicing data and the first benchmark verification information corresponding to the installation data. In this way, when the terminal device receives the installation instruction, it can obtain the slicing data, the first benchmark verification information, and the verification information acquisition method corresponding to the first benchmark verification information.
[0135] In step Z64, the installation data is restored based on the acquired multiple shard data to obtain the restored installation data; the restored installation data is processed based on the verification information acquisition method corresponding to the first benchmark verification information to obtain the first verification information.
[0136] During implementation, the terminal device recovers the installation data based on the acquired multiple shard data. After obtaining the recovered installation data, it can verify the recovered installation data based on the verification information acquisition method corresponding to the first benchmark verification information acquired above (such as the md5 verification method) to obtain a first verification result (such as the first md5 value).
[0137] In step Z66, the first verification information is matched with the first reference verification information to obtain a first verification result.
[0138] Specifically, taking the first reference verification information as the first reference md5 value, the verification information acquisition method corresponding to the first reference verification information as the md5 verification method, and performing verification processing on the restored installation data to obtain the first verification result as the first md5 value as an example, if the first verification md5 value matches the first reference md5 value, the first verification result obtained is that the first verification md5 value is the same as the first reference md5 value, and if the first verification md5 value does not match the first reference md5 value, the first verification result obtained is that the first verification md5 value is different from the first reference md5 value. In this way, if the first verification md5 value is the same as the first reference md5 value, the restored installation data can be transmitted to the trusted execution environment, and the trusted application can be installed in the trusted execution environment through the installation data.
[0139] Furthermore, the specific processing process of the above Z2 can be varied. An optional processing process is provided below. For details, please refer to the processing process of the following step Z22:
[0140] In step Z22, each of the multiple shard data is verified to obtain a corresponding second verification result, and the shard data whose second verification result satisfies the second verification rule is cached in a preset cache area.
[0141] In implementation, in order to ensure the integrity of each shard data among the multiple shard data of the installation data of the trusted application obtained by the terminal device from the business server through one or more threads, that is, to prevent the problem of data loss in the process of the terminal device obtaining the shard data, the terminal device of the embodiment of this specification can also verify each of the multiple shard data after obtaining the above-mentioned shard data, obtain a corresponding second verification result, and cache the shard data whose second verification result meets the second verification rule in a preset cache area.
[0142] Furthermore, there are various specific processing methods for the above Z22. An optional processing method is provided below. For details, please refer to the specific processing process of the following steps Z222 to Z226.
[0143] In step Z222, second benchmark verification information corresponding to the slice data and a method for obtaining verification information corresponding to the second benchmark verification information are obtained, wherein the second benchmark verification information is generated after the business server processes each slice data.
[0144] In step Z224, the slice data is processed based on the verification information acquisition method corresponding to the second benchmark verification information to obtain the second verification information.
[0145] In step Z226, if the second verification information matches the second reference verification information, the slice data corresponding to the second verification information is cached in a preset cache area.
[0146] In implementation, in order to ensure the integrity of each shard data among the multiple shard data of the installation data of the trusted application obtained by the terminal device from the business server through one or more threads, that is, to prevent the problem of data loss in the process of the terminal device obtaining the shard data, the terminal device in the embodiment of this specification can also verify the shard data obtained based on the open trust protocol OTRP, and generate second benchmark verification information corresponding to each shard data, so that the terminal device obtains the second benchmark verification information corresponding to each shard data, obtains the second verification information of each shard data based on the verification information acquisition method corresponding to the second benchmark verification information, and caches the shard data whose second verification information matches the second benchmark verification information in a preset cache area.
[0147] Among them, the above-mentioned second benchmark verification information can be that after the business server performs sharding processing on the installation data of the trusted application, it performs MD5 processing on each obtained shard data to generate a second benchmark MD5 value corresponding to each shard data. In this way, when the terminal device obtains the second benchmark MD5 value corresponding to the shard data, it generates a second verification MD5 value for each shard data based on the verification information acquisition method corresponding to the second benchmark MD5 value, and caches the shard data whose second verification MD5 value matches the second benchmark MD5 value in a preset cache area.
[0148] Furthermore, the above-mentioned shard data carries a data identifier, which is identification information assigned by the business server to each shard data in the multiple shard data. The above-mentioned method also includes the following processing process of step P2 to step P8.
[0149] In step P2, a data identifier of the first fragment data whose second verification result does not satisfy the second verification rule is obtained.
[0150] In step P4, second fragment data corresponding to the data identifier of the first fragment data is acquired again from the service server based on the data identifier.
[0151] In step P6, third verification information of the second slice data is obtained based on the verification information acquisition method corresponding to the second reference verification information.
[0152] In step P8, if the third verification information matches the second reference verification information, the slice data corresponding to the third verification information is cached in a preset cache area.
[0153] In implementation, in order to prevent the terminal device from quickly locking the shard data from the server and re-acquiring the shard data when detecting that a certain shard data that has been acquired is incomplete, the business server of the embodiment of this specification can also assign a data identifier to each shard data in the multiple shard data after sharding the installation data of the trusted application. In this way, if the above-mentioned terminal device detects that the second verification information of the first shard data in the multiple shard data does not match the above-mentioned second benchmark verification information, it can re-acquire the second shard data corresponding to the data identifier of the above-mentioned first shard data from the above-mentioned business server, and obtain the third verification information of the second shard data based on the verification information acquisition method corresponding to the above-mentioned second benchmark verification information. If the above-mentioned third verification information matches the second benchmark verification information, the second shard data is cached in the preset cache area.
[0154] It can be seen from the technical solution provided by the above embodiments of this specification that the embodiments of this specification receive the installation instructions of the trusted application of the target application sent by the business server, and according to the installation instructions, start one or more threads to obtain multiple shards of the installation data of the trusted application from the business server, and then restore the installation data based on the obtained multiple shards, transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0155] like Figure 4 As shown, Figure 4 A second structural diagram of a trusted application processing system provided in an embodiment of this specification includes: a first server, a trusted application management server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment.
[0156] When the first server determines that the terminal device needs to install the trusted application of the target application, it can send a trusted application installation request to the trusted application management server based on the open trust protocol OTRP. The trusted application management server receives the trusted application installation request, and sends an installation permission message to the first server when it detects that the trusted execution environment of the terminal device meets the preset installation conditions. Then, when the first server receives the installation permission message sent by the trusted application management server, it obtains the installation data of the trusted application and performs sharding on the installation data of the trusted application to obtain multiple shards of the installation data.
[0157] In implementation, when the terminal device detects that the user triggers the target application, it will call the Otrp Agent interface of the trusted execution environment TEE to query the status information of the trusted application related to the above target application, and then send the queried status information of the trusted application to the above first server (which can be the background server of the target application). When the first server receives the status information of the above trusted application and determines the relevant information of the terminal device based on the information returned by the terminal device, it can judge whether the above terminal device needs to install the trusted application of the target application based on the correspondence between the pre-stored terminal device information and the trusted application status information. When it is determined that the terminal device needs to install the trusted application of the target application, it sends a trusted application installation request to the trusted application management server based on the open trust protocol OTRP. After receiving the trusted application installation request, the above trusted application management server can obtain the status information of the executable environment TEE of the terminal device by transparent transmission. When it is determined that the above trusted application can be installed in the executable environment TEE of the above terminal device, it sends an installation permission message to the above first server. When receiving the installation permission message sent by the trusted application management server, the first server obtains the installation data of the trusted application, and performs segmentation processing on the obtained installation data of the trusted application to obtain multiple segmentation data of the installation data.
[0158] The terminal device may be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer, and the terminal device may be a terminal device used by a user. The terminal device is installed with a target application and is provided with a trusted execution environment.
[0159] During implementation, after the first server performs sharding processing on the installation data of the trusted application and obtains multiple shards of the installation data, it can send an installation instruction to the terminal device. Upon receiving the installation instruction, the terminal device can start one or more threads, obtain multiple shards of the installation data of the trusted application from the first server through the one or more threads, and restore the installation data based on the obtained multiple shards to obtain the restored installation data. Then, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0160] Furthermore, the first server may obtain the installation data of the trusted application upon receiving the installation permission message, and send the installation data of the trusted application to the trusted application management server. Then, the first server receives the signed installation data of the trusted application sent by the trusted application management server, and performs segmentation processing on the signed installation data of the trusted application to obtain multiple segmentation data of the installation data.
[0161] Furthermore, after obtaining multiple shard data from the first server through one or more threads, the terminal device can cache the above multiple shard data in a preset cache area, and then perform installation data recovery processing on the cached multiple shard data, wherein the above preset cache area is a persistent cache area.
[0162] Furthermore, before the terminal device transmits the restored installation data to the trusted execution environment, it is also necessary to verify the restored installation data to obtain a first verification result. If the first verification result satisfies the first verification rule, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment through the installation data.
[0163] Furthermore, after the terminal device obtains multiple shard data of the installation data of the trusted application from the first server through one or more threads, it is also necessary to verify each of the multiple shard data obtained from the first server to obtain a corresponding second verification result, and then cache the shard data whose second verification result satisfies the second verification rule in a preset cache area.
[0164] Furthermore, if the terminal device detects that the second verification information of the first fragment data among multiple fragment data does not match the above-mentioned second benchmark verification information, it can re-acquire the second fragment data corresponding to the data identifier of the above-mentioned first fragment data from the above-mentioned first server, and obtain the third verification information of the second fragment data based on the verification information acquisition method corresponding to the above-mentioned second benchmark verification information. If the above-mentioned third verification information matches the second benchmark verification information, the second fragment data is cached in a preset cache area.
[0165] Figure 5 The system timing diagram of the trusted application processing provided by the embodiment of this specification is as follows: Figure 5 As shown, the above-mentioned trusted application processing system may include a terminal device, a first server and a management server of a trusted application. The terminal device is installed with a target application and is provided with a trusted execution environment TEE. The specific process of the above-mentioned trusted application processing is as follows Figure 5 As shown:
[0166] In step a, when the terminal device detects that the user triggers the target application, it calls the Otrp Agent interface of the trusted execution environment TEE to query the status information (such as version information) of the trusted application related to the above target application, and then sends the queried status information of the trusted application to the first server (such as the server of the target application corresponding to the target application).
[0167] Step b, when the first server receives the status information of the above-mentioned trusted application and determines the relevant information of the terminal device (such as model) based on the information returned by the terminal device, the first server determines whether the above-mentioned terminal device needs to install the trusted application of the target application based on the correspondence between the pre-stored terminal device information and the trusted application status information, and when it is determined that the above-mentioned terminal device needs to install the trusted application of the target application, the first server sends a trusted application installation request to the above-mentioned trusted application management server, wherein the above-mentioned installation request carries the identification information of the trusted application and the terminal device information.
[0168] Step c: When the trusted application management server receives the installation request, it sends a TEE status acquisition request to the first server through transparent transmission.
[0169] Step d: Upon receiving the TEE status acquisition request, the first server sends the TEE status acquisition request to the terminal device through transparent transmission.
[0170] In step e, when the terminal device receives the TEE status acquisition request, it calls the Otrp Agent interface of the trusted execution environment TEE to return the queried TEE status information to the above-mentioned first server through transparent transmission.
[0171] In step f, the first server returns the received TEE status information to the trusted application management server through transparent transmission.
[0172] Step g, the trusted application management server determines whether the status information of the TEE in the current terminal device meets the installation conditions of the above-mentioned trusted application based on the acquired status information of the above-mentioned TEE and the identification information of the trusted application. When it is determined that the trusted application can be installed in the executable environment of the current terminal device, the trusted application management server sends instruction information for obtaining the trusted application to the above-mentioned first server, wherein the above-mentioned instruction information carries the identification information of the trusted application.
[0173] Step h: upon receiving the instruction information, the first server searches for the trusted application data corresponding to the identification information according to the identification information of the trusted application carried in the instruction information, and returns the found trusted application data to the trusted application management server.
[0174] In step i, upon receiving the trusted application data, the trusted application management server signs the trusted application data to obtain the trusted application installation data, and then returns the trusted application installation data to the first server.
[0175] Step j: upon receiving the installation data of the trusted application, the first server performs segmentation processing on the installation data of the trusted application to obtain a plurality of segmented data of the installation data, and then sends an installation instruction to the terminal device.
[0176] Step k, when the terminal device receives the installation instruction, it starts one or more threads to obtain multiple shards of the installation data of the trusted application from the first server, and recovers the installation data based on the obtained multiple shards, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0177] Step 1: The terminal device transmits the installation result to the first server through transparent transmission.
[0178] In step m, the first server transmits the received installation result to the trusted application management server in a transparent manner, so that the trusted application management server confirms the received installation result.
[0179] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing system, including: a first server, a trusted application management server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment, when the first server determines that the terminal device needs to install a trusted application of the target application, it sends a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP, the trusted application management server can receive the trusted application installation permission request, and when it detects that the trusted execution environment of the terminal device meets the preset installation conditions, it sends an installation permission message to the first server, and then, upon receiving the installation permission message sent by the trusted application management server, the first server sends a trusted application installation permission message to the trusted application management server. In the case of information, the installation data of the trusted application is obtained, and the installation data of the trusted application is sliced to obtain multiple slices of the installation data. In this way, the installation data of the trusted application is sliced by the first server to obtain multiple slices of the installation data, so that the terminal device obtains the multiple slices of the installation data of the trusted application from the above-mentioned first server, and performs recovery processing of the installation data based on the obtained multiple slices of data, and transmits the recovered installation data to the trusted execution environment. The trusted application is installed in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0180] Corresponding to the trusted application processing system provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing method. Figure 6 The third flow diagram of the trusted application processing method provided in the embodiment of this specification, the execution subject of the method can be a first server, wherein the first server can be an independent server or a server cluster composed of multiple servers, and the first server can provide trusted application data, and the first server can send the trusted application data to the trusted application management server. At the same time, the first server can receive the trusted application installation data sent by the trusted application management server, and perform slicing processing on the received trusted application installation data to obtain multiple slicing data of the installation data. The method can specifically include the following steps:
[0181] In step S302, when it is determined that the terminal device needs to install a trusted application of the target application, a trusted application installation permission request is sent to a trusted application management server based on the open trust protocol OTRP.
[0182] In step S304, upon receiving the installation permission message sent by the trusted application management server, the installation data of the trusted application is obtained, and the installation data of the trusted application is sliced to obtain multiple slices of the installation data, wherein the installation permission message is used to instruct the first server to slice the installation data of the trusted application.
[0183] In step S306, an installation instruction is sent to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple shard data of the trusted application's installation data through one or more threads, and recovers the installation data based on the obtained multiple shard data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0184] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by sending a trusted application installation permission request to a trusted application management server based on the open trust protocol OTRP when determining that the terminal device needs to install a trusted application of the target application program, and upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and slicing the installation data of the trusted application to obtain multiple slicing data of the installation data, and then sending an installation instruction to the terminal device, so that the terminal device, upon receiving the installation instruction, obtains multiple slicing data of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slicing data, and transmits the restored installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0185] Furthermore, the specific processing methods of the above S304 can be varied, and an optional processing method is provided below. For details, please refer to the specific processing process of N2-N4 below.
[0186] In step N2, upon receiving the installation permission message sent by the trusted application management server, the installation data of the trusted application is acquired and sent to the trusted application management server.
[0187] In step N4, the signed trusted application installation data sent by the trusted application management server is received, and the signed trusted application installation data is sliced to obtain a plurality of slices of the installation data.
[0188] In implementation, in order to ensure that the trusted application installed in the trusted execution environment is safe and reliable, the first server in the trusted application processing system provided in the embodiment of this specification can obtain the installation data of the trusted application when receiving the installation permission message, and send the installation data of the trusted application to the trusted application management server. The above-mentioned trusted application management server can receive the installation data of the trusted application sent by the first server, sign the installation data of the trusted application, and send the signed installation data of the trusted application to the first server. The above-mentioned first server can receive the signed installation data of the trusted application sent by the trusted application management server, and slice the installation data of the signed trusted application to obtain multiple slices of the installation data. In this way, the first server obtains multiple slices of the installation data by processing the signed trusted application sent by the trusted application management server, thereby ultimately ensuring that the trusted application installed in the executable environment is safe and reliable, and further improving the security of the data.
[0189] Furthermore, the specific processing methods of the above S304 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following specific step N6.
[0190] Step N6, upon receiving the installation permission message sent by the trusted application management server, obtain the installation data of the trusted application. If the amount of the installation data of the trusted application is greater than a preset threshold, slice the installation data of the trusted application to obtain multiple slices of the installation data.
[0191] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by sending a trusted application installation permission request to a trusted application management server based on the open trust protocol OTRP when determining that the terminal device needs to install a trusted application of the target application program, and upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and slicing the installation data of the trusted application to obtain multiple slicing data of the installation data, and then sending an installation instruction to the terminal device, so that the terminal device, upon receiving the installation instruction, obtains multiple slicing data of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slicing data, and transmits the restored installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0192] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing method. Figure 7 The fourth flow diagram of the trusted application processing method provided in the embodiment of this specification, the execution subject of the method can be a trusted application management server, wherein the trusted application management server can be an independent server or a server cluster composed of multiple servers, and the trusted application server can be used to sign the received trusted application installation data. The method can specifically include the following steps:
[0193] In step S402, a trusted application installation request is received, wherein the trusted application installation request carries identification information of the terminal device;
[0194] In step S404, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application and slices the installation data of the trusted application to obtain multiple slices of the installation data.
[0195] Furthermore, the above method may also include the following specific processing procedures of step Q2 to step Q6.
[0196] Step Q2: receiving installation data of the trusted application sent by the first server.
[0197] Step Q4: Sign the installation data of the trusted application.
[0198] Step Q6, sending the signed trusted application installation data to the first server, so that the first server performs segmentation processing on the signed trusted application installation data according to the received signed trusted application installation data to obtain multiple segmentation data of the installation data.
[0199] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device, and then, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application, and performs slice processing on the installation data of the trusted application to obtain multiple slices of the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0200] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification further provides a trusted application processing method. Figure 8 The fifth flow chart of the trusted application processing method provided in the embodiment of this specification, the execution subject of the trusted application processing method can be a user's terminal device, wherein the terminal device can be a device such as a personal computer, or a mobile terminal device such as a mobile phone, a tablet computer, etc., and the terminal device can be a terminal device used by the user. The terminal device can be installed with a target application and a trusted execution environment. The method can specifically include the following steps:
[0201] In step S502, an installation instruction of a trusted application of a target application program sent by a first server is received.
[0202] In step S504, according to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the first server.
[0203] In step S506, the installation data is restored based on the acquired multiple shard data, the restored installation data is transmitted to the trusted execution environment, and the trusted application is installed in the trusted execution environment using the installation data.
[0204] Among them, the multiple fragmented data of the trusted application installation data are obtained by the first server after obtaining the trusted application installation data based on the open trust protocol OTRP and fragmenting the trusted application installation data when determining that the terminal device needs to install the trusted application of the target application.
[0205] Furthermore, the above installation instruction carries the total number of shards of the shard data. The specific processing process of the above step S504 can be varied. An optional processing method is provided below. Please refer to the processing process of the following steps R2-R4 for details.
[0206] Step R2, determining the number of threads to be started and the number of shard data to be obtained by each thread according to the total number of shards of the shard data carried in the installation instruction, wherein the number of threads includes one or more.
[0207] Step R4: start one or more threads, and obtain multiple slices of installation data of the trusted application from the first server based on the determined number of slices of data to be obtained by each thread.
[0208] Furthermore, the specific processing process of the above step S506 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps T2-T4.
[0209] Step T2: Cache the multiple shard data in a preset cache area.
[0210] Step T4, performing recovery processing on the cached multiple slice data for the installation data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data.
[0211] Furthermore, the specific processing process of the above step S506 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps T6-T8.
[0212] Step T6: recover the installation data based on the acquired multiple shard data, verify the recovered installation data, and obtain a first verification result.
[0213] Step T8: if the verification result satisfies the first verification rule, the restored installation data is transmitted to the trusted execution environment.
[0214] Furthermore, the specific processing process of the above T6 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps T62-T66.
[0215] Step T62, obtaining first benchmark verification information corresponding to the installation data, and a method for obtaining verification information corresponding to the first benchmark verification information, wherein the first benchmark verification information is generated by the first server after processing the installation data obtained based on the open trust protocol OTRP.
[0216] Step T64: Process the restored installation data based on the verification information acquisition method corresponding to the first benchmark verification information to obtain first verification information.
[0217] Step T66 matches the first verification information with the first reference verification information to obtain a first verification result.
[0218] Furthermore, the specific processing process of the above T2 can be varied. An optional processing method is provided below. For details, refer to the processing process of the following step T22.
[0219] Step T22, verify each of the multiple shard data to obtain a corresponding second verification result, and cache the shard data whose second verification result satisfies the second verification rule in a preset cache area.
[0220] Furthermore, the specific processing process of the above T22 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps T222-T226.
[0221] Step T222, obtaining second benchmark verification information corresponding to the shard data, and a method for obtaining verification information corresponding to the second benchmark verification information, wherein the second benchmark verification information is generated by the first server after processing the shard data obtained based on the open trust protocol OTRP.
[0222] Step T224: Process the sliced data based on the verification information acquisition method corresponding to the second benchmark verification information to obtain second verification information.
[0223] Step T226: If the second verification information matches the second reference verification information, the slice data corresponding to the second verification information is cached in a preset cache area.
[0224] Furthermore, the above-mentioned shard data carries a data identifier, which is identification information assigned by the first server to each shard data in the multiple shard data. The above-mentioned method also includes the following specific processing process of V2-V8.
[0225] Step V2, obtaining the data identifier of the first fragment data whose second verification result does not satisfy the second verification rule.
[0226] Step V4, reacquiring second fragment data corresponding to the data identifier of the first fragment data from the first server based on the data identifier;
[0227] Step V6, obtaining third verification information of the second slice data based on the verification information obtaining method corresponding to the second reference verification information;
[0228] Step V8: If the third verification information matches the second reference verification information, the slice data corresponding to the third verification information is cached in a preset cache area.
[0229] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by receiving an installation instruction of a trusted application of a target application sent by a first server, and according to the installation instruction, starting one or more threads to obtain multiple shard data of the installation data of the trusted application from the first server, and then, performing recovery processing of the installation data based on the obtained multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0230] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, Fig. 9 A schematic diagram of the first module composition of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 2 Describes the trusted application processing method, such as Fig. 9 As shown, the device comprises:
[0231] The first data acquisition module 901 acquires installation data of the trusted application based on the open trust protocol OTRP when determining that the terminal device needs to install a trusted application of the target application;
[0232] A first data processing module 902 performs slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data;
[0233] The first installation instruction sending module 903 sends an installation instruction to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple slices of the installation data of the trusted application through one or more threads, and recovers the installation data based on the obtained multiple slices, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0234] Optionally, if the data volume of the installation data of the trusted application is greater than a preset threshold, the first data processing module performs slice processing on the installation data of the trusted application to obtain multiple slice data of the installation data.
[0235] It can be seen from the technical solution provided by the above embodiments of this specification that, when determining that the terminal device needs to install a trusted application of the target application, the embodiments of this specification obtain the installation data of the trusted application based on the open trust protocol OTRP, and slice the installation data of the trusted application to obtain multiple slices of the installation data, and then send an installation instruction to the terminal device. In this way, by slicing the installation data of the trusted application to obtain multiple slices of the installation data, the terminal device can obtain multiple slices of the installation data of the trusted application by starting one or more threads when receiving the installation instruction, and restore the installation data based on the obtained multiple slices, and transmit the restored installation data to the trusted execution environment. Then, the trusted application is installed in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0236] The trusted application processing device provided in the embodiments of this specification can implement each process in the embodiments corresponding to the above-mentioned trusted application processing method, and will not be described again here to avoid repetition.
[0237] It should be noted that the trusted application processing device provided in the embodiment of this specification and the trusted application processing method provided in the embodiment of this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned trusted application processing method, and the repeated parts will not be repeated.
[0238] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, Fig.10 A schematic diagram of a second module composition of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 3 Describes the trusted application processing method, such as Fig.10 As shown, the trusted application processing device is installed with a target application and is provided with a trusted execution environment, and the device includes:
[0239] A first installation instruction receiving module 1001 receives an installation instruction of a trusted application of the target application sent by a business server;
[0240] A first shard data acquisition module 1002 starts one or more threads to acquire multiple shard data of the installation data of the trusted application from the business server according to the installation instruction;
[0241] A first installation data recovery module 1003 performs recovery processing of the installation data based on the acquired multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data;
[0242] Among them, the multiple fragmented data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and fragmenting the trusted application installation data when the business server determines that the device needs to install the trusted application of the target application.
[0243] Optionally, the installation instruction carries the total number of shards of the shard data;
[0244] The first shard data acquisition module includes:
[0245] A first determining unit determines the number of threads to be started and the number of shard data to be obtained by each thread according to the total number of shards of the shard data carried in the installation instruction, wherein the number of threads includes one or more;
[0246] The first acquisition unit starts one or more threads, and acquires multiple slice data of the installation data of the trusted application from the business server based on the determined number of slice data to be acquired by each thread.
[0247] Optionally, the first installation data recovery module includes:
[0248] A first storage unit caches the plurality of shard data in a preset cache area;
[0249] The first recovery processing unit performs recovery processing of the installation data on the cached plurality of slice data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
[0250] Optionally, the first installation data recovery module includes:
[0251] A first verification result generating unit, performing recovery processing of the installation data based on the obtained multiple shard data, and verifying the restored installation data to obtain a first verification result;
[0252] The first installation data transmission unit transmits the restored installation data to the trusted execution environment if the verification result satisfies a first verification rule.
[0253] Optionally, the first verification result generating unit includes:
[0254] A first information acquisition subunit is configured to acquire first benchmark verification information corresponding to the installation data, and a verification information acquisition method corresponding to the first benchmark verification information, wherein the first benchmark verification information is generated by the service server after processing the installation data acquired based on the open trust protocol OTRP;
[0255] A first verification processing subunit performs recovery processing of the installation data based on the obtained multiple shard data to obtain the recovered installation data, and processes the recovered installation data based on the verification information acquisition method corresponding to the first benchmark verification information to obtain the first verification information;
[0256] The first result generating subunit matches the first verification information with the first reference verification information to obtain a first verification result.
[0257] Optionally, the first storage unit verifies each of the multiple shard data to obtain a corresponding second verification result, and caches the shard data whose second verification result satisfies a second verification rule in a preset cache area.
[0258] Optionally, the first storage unit includes:
[0259] A second information acquisition subunit is configured to acquire second benchmark verification information corresponding to the shard data, and a verification information acquisition method corresponding to the second benchmark verification information, wherein the second benchmark verification information is generated after the business server performs verification processing on each shard data;
[0260] A first information generating subunit processes the slice data based on a verification information obtaining method corresponding to the second reference verification information to obtain second verification information;
[0261] The first information storage subunit caches the slice data corresponding to the second verification information in a preset cache area if the second verification information matches the second reference verification information.
[0262] Optionally, the shard data carries a data identifier, and the data identifier is identification information assigned by the service server to each shard data in the plurality of shard data, and the device further includes:
[0263] A first data identification acquisition module is configured to acquire a data identification of the first fragment data for which the second verification result does not satisfy the second verification rule;
[0264] A second data acquisition module, based on the data identifier, reacquires second fragment data corresponding to the data identifier of the first fragment data from the business server;
[0265] A third data acquisition module, based on the verification information acquisition method corresponding to the second benchmark verification information, acquires third verification information of the second fragment data;
[0266] The first verification module caches the slice data corresponding to the third verification information in a preset cache area if the third verification information matches the second reference verification information.
[0267] It can be seen from the technical solution provided by the above embodiments of this specification that the embodiments of this specification receive the installation instructions of the trusted application of the target application sent by the business server, and according to the installation instructions, start one or more threads to obtain multiple shards of the installation data of the trusted application from the business server, and then restore the installation data based on the obtained multiple shards, transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0268] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, Fig.11 A third module composition diagram of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 6 Describes the trusted application processing method, such as Fig.11 As shown, the device comprises:
[0269] The fourth data acquisition module 1101 sends a trusted application installation permission request to a trusted application management server based on an open trust protocol OTRP when determining that the terminal device needs to install a trusted application of the target application;
[0270] The second data processing module 1102, upon receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application, and performs slice processing on the installation data of the trusted application to obtain multiple slice data of the installation data, wherein the installation permission message is used to instruct the first server to perform slice processing on the installation data of the trusted application;
[0271] The second installation instruction sending module 1103 sends an installation instruction to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple slices of the installation data of the trusted application through one or more threads, and recovers the installation data based on the obtained multiple slices, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0272] Optionally, the second data processing module includes:
[0273] a first processing unit, which, upon receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application and sends the installation data of the trusted application to the trusted application management server;
[0274] The second processing unit receives the signed trusted application installation data sent by the trusted application management server, and performs segmentation processing on the signed trusted application installation data to obtain a plurality of segmented data of the installation data.
[0275] Optionally, the second data processing module is used to:
[0276] If the data volume of the installation data of the trusted application is greater than a preset threshold, the installation data of the trusted application is sliced to obtain a plurality of slice data of the installation data.
[0277] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by sending a trusted application installation permission request to a trusted application management server based on the open trust protocol OTRP when determining that the terminal device needs to install a trusted application of the target application program, and upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and slicing the installation data of the trusted application to obtain multiple slicing data of the installation data, and then sending an installation instruction to the terminal device, so that the terminal device, upon receiving the installation instruction, obtains multiple slicing data of the installation data of the trusted application through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slicing data, and transmits the restored installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network in the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0278] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, Fig.12 A fourth module composition diagram of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 7 Describes the trusted application processing method, such as Fig.12 As shown, the device comprises:
[0279] An installation request receiving module 1201 receives a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device;
[0280] The installation permission message sending module 1202 sends an installation permission message to the first server based on the identification information and upon detecting that the trusted execution environment of the terminal device meets the preset installation conditions, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application and performs segmentation processing on the installation data of the trusted application to obtain multiple segmented data of the installation data.
[0281] Optionally, the device further comprises:
[0282] An installation data receiving module receives the installation data of the trusted application sent by the first server;
[0283] A signature module, for signing the installation data of the trusted application;
[0284] The signature data sending module sends the signed trusted application installation data to the first server, so that the first server segments the signed trusted application installation data according to the received signed trusted application installation data to obtain multiple segments of the installation data.
[0285] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device, and then, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application, and performs slice processing on the installation data of the trusted application to obtain multiple slices of the installation data, thereby effectively solving the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0286] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, Fig.13 A fifth module composition diagram of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 8 Describes the trusted application processing method, such as Fig.13 As shown, the trusted application processing device is installed with a target application and is provided with a trusted execution environment, and the device includes:
[0287] The second installation instruction receiving module 1301 receives an installation instruction of a trusted application of the target application sent by the first server;
[0288] The second shard data acquisition module 1302 starts one or more threads to acquire multiple shard data of the installation data of the trusted application from the business server according to the installation instruction;
[0289] The second installation data recovery module 1303 performs recovery processing of the installation data based on the obtained multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data;
[0290] Among them, the multiple shard data of the trusted application's installation data are obtained by the business server, when it determines that the terminal device needs to install the trusted application of the target application, obtaining the trusted application's installation data based on the open trust protocol OTRP and sharding the trusted application's installation data.
[0291] Optionally, the installation instruction carries the total number of shards of the shard data;
[0292] The second shard data acquisition module includes:
[0293] A second determining unit determines the number of threads to be started and the number of shard data to be obtained by each thread according to the total number of shards of the shard data carried in the installation instruction, wherein the number of threads includes one or more;
[0294] The second acquisition unit starts one or more threads, and acquires multiple slice data of the installation data of the trusted application from the business server based on the determined number of slice data to be acquired by each thread.
[0295] Optionally, the second installation data recovery module includes:
[0296] A second storage unit caches the plurality of slice data in a preset cache area;
[0297] The second recovery processing unit performs recovery processing of the installation data on the cached plurality of slice data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
[0298] Optionally, the second installation data recovery module includes:
[0299] A second verification result generating unit, performing recovery processing of the installation data based on the obtained multiple shard data, and verifying the restored installation data to obtain a first verification result;
[0300] The second installation data transmission unit transmits the restored installation data to the trusted execution environment if the verification result satisfies the first verification rule.
[0301] Optionally, the second verification result generating unit includes:
[0302] A third information acquisition subunit is configured to acquire first benchmark verification information corresponding to the installation data, and a verification information acquisition method corresponding to the first benchmark verification information, wherein the first benchmark verification information is generated by the service server after processing the installation data acquired based on the open trust protocol OTRP;
[0303] a second verification processing subunit, processing the restored installation data based on a verification information acquisition method corresponding to the first reference verification information to obtain first verification information;
[0304] The second result generating subunit matches the first verification information with the first reference verification information to obtain a first verification result.
[0305] Optionally, the second storage unit verifies each of the multiple shard data to obtain a corresponding second verification result, and caches the shard data whose second verification result satisfies a second verification rule in a preset cache area.
[0306] Optionally, the second storage unit includes:
[0307] A fourth information acquisition subunit is configured to acquire second benchmark verification information corresponding to the shard data, and a verification information acquisition method corresponding to the second benchmark verification information, wherein the second benchmark verification information is generated by the business server after processing the shard data obtained based on the open trust protocol OTRP;
[0308] A second information generating subunit processes the slice data based on a verification information obtaining method corresponding to the second reference verification information to obtain second verification information;
[0309] The second information storage subunit caches the slice data corresponding to the second verification information in a preset cache area if the second verification information matches the second reference verification information.
[0310] Optionally, the shard data carries a data identifier, and the data identifier is identification information assigned by the service server to each shard data in the plurality of shard data, and the device further includes:
[0311] A second data identification acquisition module is used to acquire a data identification of the first fragment data whose second verification result does not satisfy the second verification rule;
[0312] A fifth data acquisition module, based on the data identifier, reacquires the second fragment data corresponding to the data identifier of the first fragment data from the business server;
[0313] a sixth data acquisition module, which acquires third verification information of the second fragment data based on the verification information acquisition method corresponding to the second benchmark verification information;
[0314] The second verification module caches the slice data corresponding to the third verification information in a preset cache area if the third verification information matches the second reference verification information.
[0315] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a trusted application processing method, by receiving an installation instruction of a trusted application of a target application sent by a first server, and according to the installation instruction, starting one or more threads to obtain multiple shard data of the installation data of the trusted application from the first server, and then, performing recovery processing of the installation data based on the obtained multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above-mentioned trusted application, thereby improving the installation efficiency of the trusted application.
[0316] The trusted application processing device provided in the embodiments of this specification can implement each process in the embodiments corresponding to the above-mentioned trusted application processing method, and will not be described again here to avoid repetition.
[0317] It should be noted that the trusted application processing device provided in the embodiment of this specification and the trusted application processing method provided in the embodiment of this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned trusted application processing method, and the repeated parts will not be repeated.
[0318] like Figure 1 As shown, Figure 1 The first structural diagram of the privacy data processing system provided in the embodiment of this specification may also include: a business server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment. When the business server determines that the terminal device needs to process the privacy data corresponding to the target application, it obtains the privacy data corresponding to the target application based on the open trust protocol OTRP, and performs secret segmentation processing on the privacy data to obtain multiple shard data of the privacy data. The terminal device obtains multiple shard data of the privacy data from the business server through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0319] The above-mentioned private data may include confidential data such as private keys, digital certificates, fingerprint information, and trusted applications. For the aforementioned embodiments, the private data in the embodiments of this specification may be the installation data of the trusted application corresponding to the target application in the aforementioned embodiments. For the specific processing process of the private data in the embodiments of this specification, please refer to the processing process for the trusted application in the aforementioned embodiments.
[0320] Furthermore, the terminal device may obtain multiple shard data from the business server through one or more threads, cache the multiple shard data in a preset cache area, and perform privacy data recovery processing on the cached multiple shard data.
[0321] Furthermore, the terminal device can verify the recovered private data to obtain a first verification result; if the first verification result satisfies the first verification rule, the recovered private data is transmitted to the trusted execution environment, and the private data is processed in the trusted execution environment.
[0322] Furthermore, the business server may generate first benchmark verification information corresponding to the privacy data obtained based on the open trust protocol OTRP.
[0323] The terminal device can obtain the first benchmark verification information corresponding to the privacy data, and based on the verification information acquisition method corresponding to the first benchmark verification information, obtain the first verification information of the recovered privacy data; if the first verification information matches the first benchmark verification information, the recovered privacy data is transmitted to the trusted execution environment, and the privacy data is processed in the trusted execution environment.
[0324] Furthermore, the terminal device may verify each of the multiple shard data obtained from the service server to obtain a corresponding second verification result, and cache the shard data whose second verification result satisfies the second verification rule in a preset cache area.
[0325] Furthermore, the business server may generate second benchmark verification information corresponding to each shard data obtained based on the open trust protocol OTRP.
[0326] The terminal device can obtain the second benchmark verification information corresponding to each shard data, obtain the second verification information of each shard data based on the verification information acquisition method corresponding to the second benchmark verification information, and cache the shard data whose second verification information matches the second benchmark verification information in a preset cache area.
[0327] Furthermore, the business server may allocate a data identifier to each of the multiple shard data.
[0328] The terminal device, if the second verification information of the first fragment data among the multiple fragment data does not match the second benchmark verification information, then re-acquires the second fragment data corresponding to the data identifier of the first fragment data from the business server, and obtains the third verification information of the second fragment data based on the verification information acquisition method corresponding to the second benchmark verification information; if the third verification information matches the second benchmark verification information, then caches the second fragment data in a preset cache area.
[0329] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing system, including: a business server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment, and when the above business server determines that the terminal device needs to process the privacy data corresponding to the target application, it obtains the privacy data corresponding to the target application based on the open trust protocol OTRP, and secretly divides the privacy data to obtain multiple fragments of the privacy data. In this way, the above privacy data is fragmented by the business server to obtain multiple fragments of the privacy data, so that the terminal device obtains multiple fragments of the privacy data from the above business server, and restores the privacy data based on the obtained multiple fragments, transmits the restored privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully obtain the privacy data due to the influence of other factors such as the network in the process of obtaining the above privacy data, and improves the processing efficiency of the privacy data.
[0330] Corresponding to the privacy data processing system provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing method. Fig.14 The first flow chart of the privacy data processing method provided in the embodiment of this specification, the execution subject of the method may be a business server, wherein the business server may be an independent server or a server cluster composed of multiple servers, and the method may specifically include the following steps:
[0331] In step S602, when it is determined that the terminal device needs to process the privacy data corresponding to the target application, the privacy data corresponding to the target application is obtained based on the open trust protocol OTRP, and the privacy data includes data for securely processing predetermined data in the operation of the target application.
[0332] In step S604, the private data is secretly segmented to obtain a plurality of fragmented data of the private data.
[0333] In step S606, a processing instruction for the privacy data is sent to the terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shards of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shards, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0334] The specific processing procedures of S602 - S606 mentioned above may refer to the specific processing procedures of S102 - S106 in the aforementioned embodiment.
[0335] Furthermore, the specific processing process of the above S604 can be varied. An optional processing method is provided below. For details, please refer to the processing method of the following step A2:
[0336] In step A2, if the amount of the private data is greater than a preset threshold, the private data is secretly segmented to obtain a plurality of fragmented data of the private data.
[0337] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing system, including: a business server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment, and when the above business server determines that the terminal device needs to process the privacy data corresponding to the target application, it obtains the privacy data corresponding to the target application based on the open trust protocol OTRP, and secretly divides the privacy data to obtain multiple fragments of the privacy data. In this way, the above privacy data is fragmented by the business server to obtain multiple fragments of the privacy data, so that the terminal device obtains multiple fragments of the privacy data from the above business server, and restores the privacy data based on the obtained multiple fragments, transmits the restored privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully obtain the privacy data due to the influence of other factors such as the network in the process of obtaining the above privacy data, and improves the processing efficiency of the privacy data.
[0338] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification further provides a privacy data processing method. Fig.15 The second flow chart of the privacy data processing method provided in the embodiment of this specification, the execution subject of the privacy data processing method can be a user's terminal device, wherein the terminal device can be a device such as a personal computer, or a mobile terminal device such as a mobile phone, a tablet computer, etc., and the terminal device can be a terminal device used by the user. The terminal device can be installed with a target application and a trusted execution environment, and the method can specifically include the following steps:
[0339] In step S702, a processing instruction of private data sent by a business server is received, where the private data includes data for performing security processing on predetermined data in the running of a target application.
[0340] In step S704, according to the processing instruction, one or more threads are started to obtain multiple slices of private data from the business server.
[0341] In step S706, the privacy data is restored based on the obtained multiple shard data, and the restored privacy data is transmitted to the trusted execution environment, where the privacy data is processed. The multiple shard data of the privacy data are obtained by the business server after obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP and performing secret segmentation processing on the privacy data when the business server determines that the terminal device needs to process the privacy data corresponding to the target application.
[0342] For the specific processing procedures of steps S702 to S706 in the embodiments of this specification, reference may be made to the specific processing procedures of steps S202 to S206 in the aforementioned embodiments.
[0343] Among them, the above processing instruction carries the total number of shards of the shard data. The above processing method of S704 can be various. An optional processing method is provided below. For details, please refer to the specific processing process of B2-B4 below.
[0344] In step B2, the number of threads to be started and the number of slice data to be acquired by each thread are determined according to the total number of slices of the slice data carried in the processing instruction, where the number of threads includes one or more.
[0345] In step B4, one or more threads are started, and based on the determined number of shard data to be obtained by each thread, multiple shard data of the private data are obtained from the business server.
[0346] For the specific processing procedures of steps B2 to B4 in the embodiments of this specification, reference may be made to the specific processing procedures of steps Y2 to Y4 in the aforementioned embodiments.
[0347] Furthermore, the processing method of the above S706 can be various, and an optional processing method is provided below, which specifically includes the processing process of the following steps C2 to C4.
[0348] In step C2, multiple shard data are cached in a preset cache area.
[0349] In step C4, the private data is recovered from the cached multiple shard data, and the recovered private data is transmitted to the trusted execution environment, where the private data is processed.
[0350] For the specific processing procedures of step C2 to step C4 in the embodiments of this specification, reference may be made to the specific processing procedures of step Z2 to step Z4 in the aforementioned embodiments.
[0351] Furthermore, the processing method of the above S706 can be various, and an optional processing method is provided below. For details, please refer to the processing process of the following steps C6 to C8.
[0352] In step C6, the privacy data is restored based on the obtained multiple shard data, and the restored privacy data is verified to obtain a first verification result.
[0353] In step C8, if the first verification result satisfies the first verification rule, the restored private data is transmitted to the trusted execution environment.
[0354] For the specific processing procedures of steps C6 to C8 in the embodiments of this specification, reference may be made to the specific processing procedures of steps Z6 to Z8 in the aforementioned embodiments.
[0355] Furthermore, the specific processing methods of the above step C6 can be varied. An optional processing method is provided below. For details, please refer to the processing process of the following steps C62 to C66.
[0356] In step C62, first benchmark verification information corresponding to the privacy data and a method for obtaining verification information corresponding to the first benchmark verification information are obtained, wherein the first benchmark verification information is generated after the business server verifies the privacy data obtained based on the open trust protocol OTRP.
[0357] In step C64, the private data is restored based on the obtained multiple shard data to obtain the restored private data, and the restored private data is processed based on the verification information acquisition method corresponding to the first benchmark verification information to obtain the first verification information.
[0358] In step C66, the first verification information is matched with the first reference verification information to obtain a first verification result.
[0359] For the specific processing procedures of steps C62 to C66 in the embodiments of this specification, reference may be made to the specific processing procedures of steps Z62 to Z66 in the aforementioned embodiments.
[0360] Furthermore, the specific processing process of the above C2 can be varied. An optional processing process is provided below. For details, please refer to the processing process of the following step C22:
[0361] In step C22, each of the multiple shard data is verified to obtain a corresponding second verification result, and the shard data whose second verification result satisfies the second verification rule is cached in a preset cache area.
[0362] The specific processing process of step C22 in the embodiment of this specification can refer to the specific processing process of step Z22 in the above embodiment.
[0363] Furthermore, there may be various specific processing methods for the above C22. An optional processing method is provided below. For details, please refer to the specific processing process of the following steps C222 to C226.
[0364] In step C222, second benchmark verification information corresponding to the slice data and a method for obtaining verification information corresponding to the second benchmark verification information are obtained, wherein the second benchmark verification information is generated after the business server performs verification processing on each slice data.
[0365] In step C224, the slice data is processed based on the verification information acquisition method corresponding to the second benchmark verification information to obtain the second verification information.
[0366] In step C226, if the second verification information matches the second reference verification information, the slice data corresponding to the second verification information is cached in a preset cache area.
[0367] For the specific processing procedures of steps C222 to C226 in the embodiments of this specification, reference may be made to the specific processing procedures of steps Z222 to Z226 in the aforementioned embodiments.
[0368] Furthermore, the above-mentioned shard data carries a data identifier, which is identification information assigned by the business server to each shard data in the plurality of shard data. The above-mentioned method further includes the following processing process of step D2 to step D8:
[0369] In step D2, a data identifier of the first fragment data whose second verification result does not satisfy the second verification rule is obtained.
[0370] In step D4, second fragment data corresponding to the data identifier of the first fragment data is acquired again from the service server based on the data identifier.
[0371] In step D6, third verification information of the second slice data is obtained based on the verification information acquisition method corresponding to the second reference verification information.
[0372] In step D8, if the third verification information matches the second reference verification information, the slice data corresponding to the third verification information is cached in a preset cache area.
[0373] For the specific processing procedures of steps D2 to D8 in the embodiments of this specification, reference may be made to the specific processing procedures of steps P2 to P8 in the aforementioned embodiments.
[0374] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive processing instructions for privacy data sent by a business server, where the privacy data includes data for securely processing predetermined data in the operation of a target application. According to the processing instructions, one or more threads are started to obtain multiple shards of the privacy data from the business server, and then, the privacy data is restored based on the obtained multiple shards, and the restored privacy data is transmitted to a trusted execution environment, where the privacy data is processed. This effectively solves the problem that, in the process of obtaining the above-mentioned privacy data, the terminal device is unable to successfully obtain the privacy data due to the influence of other factors such as the network, thereby improving the processing efficiency of the privacy data.
[0375] like Fig.16 As shown, Fig.16 The second structural diagram of the privacy data processing system provided in the embodiment of this specification includes: a first server, a privacy data management server and a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment.
[0376] When the first server determines that the terminal device needs to process the privacy data corresponding to the target application, it sends a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP. The privacy data management server receives the privacy data processing permission request, and sends a processing permission message to the first server when it detects that the trusted execution environment of the terminal device meets the preset processing conditions. When the first server receives the processing permission message sent by the privacy data management server, it obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain multiple shard data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for secure processing of predetermined data in the operation of the target application. The terminal device obtains multiple shard data of the privacy data from the first server through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0377] The above-mentioned private data may include confidential data such as private keys, digital certificates, fingerprint information, and trusted applications. For the aforementioned embodiments, the private data in the embodiments of this specification may be the installation data of the trusted application corresponding to the target application in the aforementioned embodiments. For the specific processing process of the private data in the embodiments of this specification, please refer to the processing process for the trusted application in the aforementioned embodiments.
[0378] Furthermore, upon receiving the processing permission message, the first server obtains the privacy data corresponding to the target application and sends the privacy data to the privacy data management server. The privacy data management server receives the privacy data sent by the first server, signs the privacy data, and sends the signed privacy data to the first server. The first server receives the signed privacy data sent by the privacy data management server, and performs secret segmentation processing on the signed privacy data to obtain multiple fragments of the privacy data.
[0379] Fig.17 The system timing diagram for privacy data processing provided in the embodiments of this specification is as follows: Fig.17 As shown, the above-mentioned privacy data processing system may include a terminal device, a first server and a privacy data management server. The terminal device is installed with a target application and is provided with a trusted execution environment TEE. The specific process of the above-mentioned privacy data is as follows Fig.17 shown.
[0380] It should be noted that the privacy data processing system provided in the embodiment of this specification and the second trusted application processing system provided in the aforementioned embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned second trusted application processing system, and the repeated parts will not be repeated.
[0381] It can be seen from the technical solutions provided in the above embodiments of this specification that the embodiments of this specification provide a privacy data processing system, including: a first server, a privacy data management server and a terminal device, the terminal device is installed with a target application and is provided with a trusted execution environment. When the first server determines that the terminal device needs to process the privacy data corresponding to the target application, it sends a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP. The privacy data management server receives the privacy data processing permission request, and sends a processing permission message to the first server when it detects that the trusted execution environment of the terminal device meets the preset processing conditions. Then, the first server obtains the privacy data corresponding to the target application when receiving the processing permission message sent by the privacy data management server, and performs secret segmentation processing on the privacy data to obtain multiple fragments of the privacy data. In this way, the first server performs secret segmentation processing on the above-mentioned privacy data to obtain multiple fragments of the privacy data, so that the terminal device obtains multiple fragments of the privacy data from the above-mentioned first server, and performs privacy data recovery processing based on the obtained multiple fragments, and transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network in the process of obtaining the above-mentioned privacy data, and improves the processing efficiency of the privacy data.
[0382] Corresponding to the privacy data processing system provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing method. Fig.18 The third flow chart of the privacy data processing method provided in the embodiment of this specification, the execution subject of the method may be a first server, wherein the first server may be an independent server or a server cluster composed of multiple servers, and the first server may provide privacy data. The method may specifically include the following steps:
[0383] In step S802, when it is determined that the terminal device needs to process the privacy data corresponding to the target application, a request for permission to process the privacy data is sent to the privacy data management server based on the open trust protocol OTRP.
[0384] In step S804, upon receiving a processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly split to obtain multiple fragments of the privacy data, wherein the processing permission message is used to instruct the first server to secretly split the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application.
[0385] In step S806, a processing instruction for the privacy data is sent to the terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shards of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shards, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0386] The specific processing procedures of S802 - S806 mentioned above may refer to the specific processing procedures of S302 - S306 in the aforementioned embodiment.
[0387] Furthermore, the specific processing methods of the above S804 can be varied. An optional processing method is provided below. For details, please refer to the specific processing process of the following E2-E4.
[0388] In step E2, upon receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is acquired, and the privacy data is sent to the privacy data management server.
[0389] In step E4, the signed private data sent by the private data management server is received, and the signed private data is secretly segmented to obtain a plurality of fragmented data of the private data.
[0390] The specific processing process of the above E2-E4 can refer to the specific processing process of V2-V4 in the above embodiment.
[0391] It should be noted that the privacy data processing method provided in the embodiment of this specification and the processing method corresponding to the second trusted application processing system provided in the aforementioned embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned trusted application processing method, and the repeated parts will not be repeated.
[0392] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method. When it is determined that the terminal device needs to process the privacy data corresponding to the target application, a privacy data processing permission request is sent to the privacy data management server based on the open trust protocol OTRP. Then, upon receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly segmented to obtain multiple fragments of the privacy data. In this way, the above-mentioned privacy data is secretly segmented by the first server to obtain multiple fragments of the privacy data, so that the terminal device obtains multiple fragments of the privacy data from the above-mentioned first server, and restores the privacy data based on the obtained multiple fragments, transmits the restored privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network in the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of privacy data.
[0393] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing method. Fig.19 The fourth flow chart of the privacy data processing method provided in the embodiment of this specification, the execution subject of the method can be a privacy data management server, wherein the privacy data management server can be an independent server or a server cluster composed of multiple servers, and the privacy data management server can be used to sign the received privacy data. The method can specifically include the following steps:
[0394] In step S902, a request for permission to process private data is received, wherein the request for permission to process private data carries identification information of a terminal device.
[0395] In step S904, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset processing conditions, a processing permission message is sent to the first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application.
[0396] The above method may further include the following specific processing procedures of step F2 to step F6.
[0397] In step F2, the privacy data sent by the first server is received.
[0398] In step F4, the private data is signed.
[0399] In step F6, the signed private data is sent to the first server, so that the first server performs secret segmentation processing on the signed private data according to the received signed private data to obtain multiple fragments of the private data.
[0400] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method, receiving a processing permission request for privacy data, wherein the processing permission request for privacy data carries identification information of a terminal device, and then, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets preset processing conditions, sending a processing permission message to a first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, thereby effectively solving the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of the privacy data.
[0401] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification further provides a privacy data processing method. Fig. 20 The fifth flow chart of the privacy data processing method provided in the embodiment of this specification, the execution subject of the privacy data processing method can be a user's terminal device, wherein the terminal device can be a device such as a personal computer, or a mobile terminal device such as a mobile phone, a tablet computer, etc., and the terminal device can be a terminal device used by the user. The terminal device can be installed with a target application and a trusted execution environment. The method can specifically include the following steps:
[0402] In step S1002, a processing instruction of the privacy data of the target application program sent by the first server is received.
[0403] In step S1004, according to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the first server.
[0404] In step S1006, the private data is restored based on the obtained multiple shard data, and the restored private data is transmitted to the trusted execution environment, where the private data is processed. The multiple shard data of the private data are obtained by the first server after obtaining the private data based on the open trust protocol OTRP and performing secret segmentation processing on the private data when the first server determines that the terminal device needs to process the private data corresponding to the target application.
[0405] It should be noted that the privacy data processing method provided in the embodiment of this specification and the trusted application processing method of the embodiment corresponding to the fifth flow chart provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the previous trusted application processing method, and the repeated parts will not be repeated.
[0406] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method, by receiving a processing instruction of the privacy data of the target application sent by the first server, and according to the processing instruction, starting one or more threads to obtain multiple shards of the privacy data from the first server, and then, based on the obtained multiple shards, performing privacy data recovery processing, transmitting the recovered privacy data to the trusted execution environment, and processing the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of the privacy data.
[0407] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, Fig.21 A schematic diagram of the first module composition of the privacy data processing device provided in the embodiment of this specification, wherein the privacy data processing device is used to execute Fig.14 The privacy data processing methods described, such as Fig.21 As shown, the device comprises:
[0408] The first information acquisition module 2101, when determining that the terminal device needs to install a trusted application of the target application, acquires the installation data of the trusted application based on the open trust protocol OTRP;
[0409] The first information processing module 2102 performs slice processing on the installation data of the trusted application to obtain multiple slice data of the installation data;
[0410] The first sending module 2103 sends an installation instruction to the terminal device, wherein the installation instruction carries the total number of shards of the shard data, so that when the terminal device receives the installation instruction, it obtains multiple shard data of the installation data of the trusted application through one or more threads according to the total number of shards carried in the installation instruction, and recovers the installation data based on the obtained multiple shard data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
[0411] It should be noted that the privacy data processing device provided in the embodiment of this specification and the trusted application processing device of the embodiment corresponding to the first module composition diagram provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the previous trusted application processing device, and the repeated parts will not be repeated.
[0412] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method, by obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP when determining that the terminal device needs to process the privacy data corresponding to the target application, the privacy data includes data for securely processing the predetermined data in the operation of the target application, and then secretly segmenting the privacy data to obtain multiple fragments of the privacy data. In this way, by slicing the above privacy data to obtain multiple fragments of the privacy data, the terminal device obtains multiple fragments of the privacy data from the above business server, and restores the privacy data based on the obtained multiple fragments, transmits the restored privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully obtain the privacy data due to the influence of other factors such as the network in the process of obtaining the above privacy data, thereby improving the processing efficiency of the privacy data.
[0413] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, the above device is installed with a target application and is provided with a trusted execution environment, Fig. 22 A second module composition diagram of the privacy data processing device provided in the embodiment of this specification, wherein the privacy data processing device is used to execute Fig.15 The privacy data processing methods described, such as Fig. 22 As shown, the device comprises:
[0414] A first receiving module 2201 receives a processing instruction of privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application;
[0415] The first shard information acquisition module 2202 starts one or more threads to acquire multiple shard data of the private data from the business server according to the processing instruction;
[0416] A first processing data recovery module 2203 performs recovery processing on the private data based on the acquired multiple shard data, transmits the recovered private data to the trusted execution environment, and processes the private data in the trusted execution environment;
[0417] Among them, the multiple fragments of the privacy data are obtained by the business server obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP when it determines that the terminal device needs to process the privacy data corresponding to the target application, and then secretly splitting the privacy data.
[0418] It should be noted that the privacy data processing device provided in the embodiment of this specification and the trusted application processing device of the embodiment corresponding to the second module composition diagram provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the previous trusted application processing device, and the repeated parts will not be repeated.
[0419] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive processing instructions for privacy data sent by a business server, where the privacy data includes data for securely processing predetermined data in the operation of a target application. According to the processing instructions, one or more threads are started to obtain multiple shards of the privacy data from the business server, and then, the privacy data is restored based on the obtained multiple shards, and the restored privacy data is transmitted to a trusted execution environment, where the privacy data is processed. This effectively solves the problem that, in the process of obtaining the above-mentioned privacy data, the terminal device is unable to successfully obtain the privacy data due to the influence of other factors such as the network, thereby improving the processing efficiency of the privacy data.
[0420] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, Fig.23 A third module composition diagram of the privacy data processing device provided in the embodiment of this specification, the privacy data processing device is used to execute Fig.18 The privacy data processing methods described, such as Fig.23 As shown, the device comprises:
[0421] The fourth acquisition module 2301 sends a request for permission to process the privacy data to the privacy data management server based on the open trust protocol OTRP when it is determined that the terminal device needs to process the privacy data corresponding to the target application;
[0422] The second processing module 2302, upon receiving the processing permission message sent by the privacy data management server, obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain multiple fragments of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application;
[0423] The second sending module 2303 sends a processing instruction for the privacy data to the terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple shard data of the privacy data through one or more threads, and recovers the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
[0424] It should be noted that the privacy data processing device provided in the embodiment of this specification and the trusted application processing device of the embodiment corresponding to the third module composition diagram provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the previous trusted application processing device, and the repeated parts will not be repeated.
[0425] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method. When it is determined that the terminal device needs to process the privacy data corresponding to the target application, a privacy data processing permission request is sent to the privacy data management server based on the open trust protocol OTRP. Then, upon receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly segmented to obtain multiple fragments of the privacy data. In this way, the above-mentioned privacy data is secretly segmented by the first server to obtain multiple fragments of the privacy data, so that the terminal device obtains multiple fragments of the privacy data from the above-mentioned first server, and restores the privacy data based on the obtained multiple fragments, transmits the restored privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network in the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of privacy data.
[0426] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, Fig.24 A fourth module composition diagram of the privacy data processing device provided in the embodiment of this specification, the privacy data processing device is used to execute Fig.19 The privacy data processing methods described, such as Fig.24 As shown, the device comprises:
[0427] The processing request receiving module 2401 receives a processing permission request for private data, wherein the processing permission request for private data carries identification information of a terminal device;
[0428] The processing permission message sending module 2402, based on the identification information, sends a processing permission message to the first server when it detects that the trusted execution environment of the terminal device meets the preset processing conditions, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application.
[0429] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method, receiving a processing permission request for privacy data, wherein the processing permission request for privacy data carries identification information of a terminal device, and then, based on the identification information, when it is detected that the trusted execution environment of the terminal device meets preset processing conditions, sending a processing permission message to a first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, thereby effectively solving the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of the privacy data.
[0430] It should be noted that the privacy data processing device provided in the embodiment of this specification and the trusted application processing device of the embodiment corresponding to the fourth module composition diagram provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the previous trusted application processing device, and the repeated parts will not be repeated.
[0431] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, the above device is installed with a target application and is provided with a trusted execution environment, Fig.25 A fourth module composition diagram of the privacy data processing device provided in the embodiment of this specification, the privacy data processing device is used to execute Fig. 20 The privacy data processing methods described, such as Fig.25 As shown, the device comprises:
[0432] The second receiving module 2501 receives a processing instruction of the privacy data of the target application sent by the first server;
[0433] The second shard information acquisition module 2502 starts one or more threads to acquire multiple shard data of the private data from the first server according to the processing instruction;
[0434] A second processing data recovery module 2503 performs recovery processing on the private data based on the acquired multiple shard data, transmits the recovered private data to a trusted execution environment, and processes the private data in the trusted execution environment;
[0435] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification provide a privacy data processing method, by receiving a processing instruction of the privacy data of the target application sent by the first server, and according to the processing instruction, starting one or more threads to obtain multiple shards of the privacy data from the first server, and then, based on the obtained multiple shards, performing privacy data recovery processing, transmitting the recovered privacy data to the trusted execution environment, and processing the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above-mentioned privacy data, thereby improving the processing efficiency of the privacy data.
[0436] The trusted application processing device provided in the embodiments of this specification can implement each process in the embodiments corresponding to the above-mentioned trusted application processing method, and will not be described again here to avoid repetition.
[0437] It should be noted that the privacy data processing device provided in the embodiment of this specification and the trusted application processing device of the embodiment corresponding to the fifth module composition diagram provided in the previous embodiment of this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned trusted application processing device, and the repeated parts will not be repeated.
[0438] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, such as Fig.26 shown. Fig.26 A first hardware structure diagram of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 2 , Figure 6 and Figure 7 Describes the trusted application handling method.
[0439] The trusted application processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 2601 and memory 2602, and the memory 2602 may store one or more application programs or data. Among them, the memory 2602 may be a temporary storage or a permanent storage. The application stored in the memory 2602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the task allocation device. Furthermore, the processor 2601 may be configured to communicate with the memory 2602, and execute a series of computer executable instructions in the memory 2602 on the trusted application processing device. The trusted application processing device may also include one or more power supplies 2603, one or more wired or wireless network interfaces 2604, one or more input and output interfaces 2605, and one or more keyboards 2606.
[0440] Specifically, in this embodiment, the trusted application processing 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 task allocation 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:
[0441] When it is determined that the terminal device needs to install a trusted application of the target application, obtaining installation data of the trusted application based on the open trust protocol OTRP;
[0442] Slice the installation data of the trusted application to obtain multiple slices of the installation data;
[0443] An installation instruction is sent to a terminal device, wherein the installation instruction carries the total number of shards of the shard data, so that upon receiving the installation instruction, the terminal device obtains multiple shard data of the installation data of the trusted application through one or more threads according to the total number of shards carried in the installation instruction, recovers the installation data based on the obtained multiple shard data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
[0444] Alternatively, the above-mentioned trusted application processing device may also be used to execute the following computer executable instructions:
[0445] When it is determined that the terminal device needs to install a trusted application of the target application, a trusted application installation permission request is sent to a trusted application management server based on the open trust protocol OTRP;
[0446] Upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and performing slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data, wherein the installation permission message is used to instruct the first server to perform slice processing on the installation data of the trusted application;
[0447] An installation instruction is sent to a terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple slices of the installation data of the trusted application through one or more threads, and performs recovery processing on the installation data based on the obtained multiple slices of data, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
[0448] Alternatively, the above-mentioned trusted application processing device may also be used to execute the following computer executable instructions:
[0449] Receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device;
[0450] Based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application and slices the installation data of the trusted application to obtain multiple slices of the installation data.
[0451] Furthermore, corresponding to the trusted application processing method provided in the above embodiment, the embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 2601, each step of the above trusted application processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0452] It can be seen from the technical solutions provided by the above embodiments of this specification that, when determining that the terminal device needs to install a trusted application of the target application, the embodiments of this specification obtain the installation data of the trusted application based on the open trust protocol OTRP, and slice the installation data of the trusted application to obtain multiple slices of the installation data, and then send an installation instruction to the terminal device. In this way, when the terminal device receives the above installation instruction, it can obtain the multiple slices of the installation data of the trusted application by starting one or more threads, and restore the installation data based on the obtained multiple slices, and transmit the restored installation data to the trusted execution environment. The trusted application is installed in the trusted execution environment through the installation data, which effectively solves the problem that the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network during the process of obtaining the above trusted application, thereby improving the installation efficiency of the trusted application.
[0453] It should be noted that the trusted application processing device provided in the embodiments of this specification can implement each process implemented by the trusted application processing device in the above trusted application processing method embodiments, and will not be described again here to avoid repetition.
[0454] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, such as Fig.26 shown. Fig.26 It can also be a schematic diagram of the first hardware structure of the privacy data processing device provided in the embodiment of this specification, and the privacy data processing device can be used to execute Fig.14 , Fig.18 and Fig.19 Describes how private data is handled.
[0455] Specifically, in this embodiment, the privacy data processing 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 task allocation device, and is configured to be executed by one or more processors. The one or more programs include computer executable instructions for performing the following:
[0456] When it is determined that the terminal device needs to process the privacy data corresponding to the target application, the privacy data corresponding to the target application is obtained based on the open trust protocol OTRP, where the privacy data includes data for securely processing the predetermined data in the operation of the target application;
[0457] Performing secret segmentation processing on the private data to obtain multiple slice data of the private data;
[0458] A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0459] Alternatively, the privacy data processing device may also be used to execute the following computer executable instructions:
[0460] When it is determined that the terminal device needs to process the privacy data corresponding to the target application, a request for permission to process the privacy data is sent to the privacy data management server based on the open trust protocol OTRP;
[0461] Upon receiving the processing permission message sent by the privacy data management server, obtaining the privacy data corresponding to the target application, and performing secret segmentation processing on the privacy data to obtain a plurality of fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application;
[0462] A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
[0463] Alternatively, the privacy data processing device may also be used to execute the following computer executable instructions:
[0464] receiving a request for permission to process private data, wherein the request for permission to process private data carries identification information of a terminal device;
[0465] Based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset processing conditions, a processing permission message is sent to the first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application.
[0466] Furthermore, corresponding to the privacy data processing method provided in the above embodiment, the embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 2601, each step of the privacy data processing method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0467] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification obtain multiple shards of the privacy data by secretly splitting the privacy data, so that the terminal device can obtain the multiple shards of the privacy data, and then restore the privacy data based on the obtained multiple shards, and transmit the restored privacy data to the trusted execution environment, and process the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above privacy data, thereby improving the processing efficiency of the privacy data.
[0468] It should be noted that the privacy data processing device provided in the embodiments of this specification can implement each process implemented by the privacy data processing device in the above-mentioned privacy data processing method embodiments, and will not be described again here to avoid repetition.
[0469] Corresponding to the trusted application processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a trusted application processing device, such as Fig. 27 shown. Fig. 27 A second hardware structure diagram of a trusted application processing device provided in an embodiment of this specification, wherein the trusted application processing device is used to execute Figure 3 and Figure 8 Describes the trusted application handling method.
[0470] Fig. 27 The trusted application processing device 2700 shown includes but is not limited to: a radio frequency unit 2701, a power supply 2702, a processor 2703, a memory 2704, a user input unit 2705, a display unit 2706 and other components. Those skilled in the art will appreciate that Fig. 27The trusted application processing device structure shown in the figure does not constitute a limitation of the trusted application processing device. The trusted application processing device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of this specification, the mobile terminal includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0471] The trusted application processing device is installed with a target application and is provided with a trusted execution environment, and the processor 2703 is used to:
[0472] Receiving an installation instruction of a trusted application of the target application sent by a business server;
[0473] According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the business server;
[0474] Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data;
[0475] Among them, the multiple shard data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and sharding the trusted application installation data when determining that the trusted application processing device needs to install the trusted application of the target application.
[0476] Alternatively, the processor 2703 is configured to:
[0477] Receiving an installation instruction of a trusted application of the target application sent by the first server;
[0478] According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the first server;
[0479] Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data;
[0480] Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP and sharding the installation data of the trusted application when determining that the terminal device needs to install the trusted application of the target application.
[0481] It can be seen from the technical solutions provided by the above embodiments of the present specification that the embodiments of the present specification receive installation instructions for a trusted application of a target application sent by a business server or a first server, and according to the installation instructions, start one or more threads to obtain multiple shard data of the installation data of the trusted application from the business server or the first server, and then, based on the obtained multiple shard data, perform recovery processing on the installation data, transmit the recovered installation data to a trusted execution environment, and install the trusted application in the trusted execution environment through the installation data, thereby effectively solving the problem that, in the process of obtaining the above-mentioned trusted application, the terminal device cannot successfully install the trusted application due to the influence of other factors such as the network, thereby improving the installation efficiency of the trusted application.
[0482] It should be noted that the trusted application processing device provided in the embodiments of this specification can implement each process implemented by the trusted application processing device in the above trusted application processing method embodiments, and will not be described again here to avoid repetition.
[0483] It should be understood that in the embodiments of this specification, the radio frequency unit 2701 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 2703 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 2701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 2701 can also communicate with the network and other devices through a wireless communication system.
[0484] In addition, the trusted application processing device 2700 includes some functional modules not shown, which will not be described in detail here.
[0485] Furthermore, corresponding to the trusted application processing method provided in the above embodiment, the embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 2703, each step of the above trusted application processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0486] Corresponding to the privacy data processing method provided in the above embodiment, based on the same technical concept, the embodiment of this specification also provides a privacy data processing device, such as Fig. 27 shown. Fig. 27 It can also be a second hardware structure diagram of the privacy data processing device provided in the embodiment of this specification, the privacy data processing device is used to execute Fig.15 and Fig. 20 Describes the trusted application handling method.
[0487] The privacy data processing device is installed with a target application and is provided with a trusted execution environment, and the processor 2703 is used to:
[0488] Receiving a processing instruction of privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application;
[0489] According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the business server;
[0490] Performing recovery processing on the private data based on the obtained multiple shard data, transmitting the recovered private data to the trusted execution environment, and processing the private data in the trusted execution environment;
[0491] Among them, the multiple fragments of the privacy data are obtained by the business server obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP when it determines that the terminal device needs to process the privacy data corresponding to the target application, and then secretly splitting the privacy data.
[0492] Alternatively, the processor 2703 is configured to:
[0493] receiving a processing instruction of the privacy data of the target application program sent by the first server;
[0494] According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the first server;
[0495] Performing recovery processing on the private data based on the obtained multiple shard data, transmitting the recovered private data to a trusted execution environment, and processing the private data in the trusted execution environment;
[0496] Among them, the multiple fragments of the privacy data are obtained by the first server obtaining the privacy data based on the open trust protocol OTRP and secretly splitting the privacy data when it determines that the terminal device needs to process the privacy data corresponding to the target application.
[0497] It should be noted that the privacy data processing device provided in the embodiments of this specification can implement each process implemented by the privacy data processing device in the above-mentioned privacy data processing method embodiments, and will not be described again here to avoid repetition.
[0498] Furthermore, corresponding to the privacy data processing method provided in the above embodiment, the embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor 2703, each step of the privacy data processing method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0499] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification obtain multiple shards of the privacy data by secretly splitting the privacy data, so that the terminal device can obtain the multiple shards of the privacy data, and then restore the privacy data based on the obtained multiple shards, and transmit the restored privacy data to the trusted execution environment, and process the privacy data in the trusted execution environment, which effectively solves the problem that the terminal device cannot successfully process the privacy data due to the influence of other factors such as the network during the process of obtaining the above privacy data, thereby improving the processing efficiency of the privacy data.
[0500] The above is a description of a specific embodiment of the present 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.
[0501] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, 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.
[0502] This specification is 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 data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0503] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0504] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0505] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0506] 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.
[0507] 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.
[0508] It is understood that the embodiments described in the embodiments of this specification can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this specification or a combination thereof.
[0509] For software implementation, the technology described in the embodiments of this specification can be implemented by a module (such as a process, function, etc.) that performs the functions described in the embodiments of this specification. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0510] It should also be noted that, in this article, 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, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0511] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of this specification, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of this specification.
[0512] The embodiments of the present specification are described above in conjunction with the accompanying drawings, but the present specification is not limited to the above-mentioned specific implementations, which are merely illustrative and not restrictive. Under the guidance of the present specification, ordinary technicians in the field can make various changes and modifications to the present specification without departing from the purpose of the present specification and the scope of protection of the claims. 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 privacy data processing method, applied to a business server, the method include: When it is determined that the terminal device needs to process the privacy data corresponding to the target application, the privacy data corresponding to the target application is obtained based on the open trust protocol OTRP, where the privacy data includes data for securely processing the predetermined data in the operation of the target application; Performing secret segmentation processing on the private data to obtain multiple slice data of the private data; A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
2. According to the method of claim 1, the private data is secretly segmented to obtain multiple fragments of the private data. include: If the amount of the private data is greater than a preset threshold, the private data is secretly segmented to obtain a plurality of fragmented data of the private data.
3. A privacy data processing method, applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, wherein the method include: Receiving a processing instruction of privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application; According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the business server; Performing recovery processing on the private data based on the acquired multiple shard data, transmitting the recovered private data to the trusted execution environment, and processing the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data are obtained by the business server, when it determines that the terminal device needs to process the privacy data corresponding to the target application, obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP and secretly splitting the privacy data.
4. The method according to claim 3, wherein the processing instruction carries the total number of shards of the shard data; The step of starting one or more threads to obtain multiple shard data of the private data from the business server according to the processing instruction includes: Determine the number of threads to be started and the number of slice data to be acquired by each thread according to the total number of slices of the slice data carried in the processing instruction, wherein the number of threads includes one or more; One or more threads are started, and based on the determined number of shard data to be obtained by each thread, multiple shard data of the private data are obtained from the business server.
5. The method according to claim 3, wherein the private data is restored based on the acquired multiple shard data, the restored private data is transmitted to the trusted execution environment, and the private data is processed in the trusted execution environment. include: Cache the multiple slice data in a preset cache area; The private data is recovered on the cached multiple slice data, the recovered private data is transmitted to the trusted execution environment, and the private data is processed in the trusted execution environment.
6. The method according to claim 3 or 5, wherein the private data is restored based on the acquired multiple shard data, the restored private data is transmitted to the trusted execution environment, and the private data is processed in the trusted execution environment. include: Performing recovery processing on the private data based on the obtained multiple shard data, and verifying the recovered private data to obtain a first verification result; If the first verification result satisfies a first verification rule, the restored private data is transmitted to the trusted execution environment.
7. The method according to claim 6, wherein the restored private data is verified to obtain a first verification result, include: Obtaining first benchmark verification information corresponding to the privacy data, and a method for obtaining verification information corresponding to the first benchmark verification information, wherein the first benchmark verification information is generated after the business server verifies the privacy data obtained based on the open trust protocol OTRP; Performing recovery processing on the private data based on the obtained multiple shard data to obtain recovered private data, and processing the recovered private data based on the verification information acquisition method corresponding to the first benchmark verification information to obtain first verification information; The first verification information is matched with the first reference verification information to obtain a first verification result.
8. The method according to claim 5, wherein the plurality of shard data are cached in a preset cache area. include: Each of the multiple shard data is verified to obtain a corresponding second verification result, and the shard data whose second verification result satisfies the second verification rule is cached in a preset cache area.
9. The method according to claim 8, verifying each of the plurality of shard data to obtain a corresponding second verification result, caching the shard data whose second verification result satisfies the second verification rule in a preset cache area, include: Acquire second benchmark verification information corresponding to the shard data, and a verification information acquisition method corresponding to the second benchmark verification information, wherein the second benchmark verification information is generated after the business server performs verification processing on each shard data; Processing the slice data based on the verification information acquisition method corresponding to the second benchmark verification information to obtain second verification information; If the second verification information matches the second reference verification information, the slice data corresponding to the second verification information is cached in the preset cache area.
10. The method according to claim 9, wherein the shard data carries a data identifier, and the data identifier is identification information assigned by the service server to each of the plurality of shard data. include: Obtaining a data identifier of the first shard data for which the second verification result does not satisfy the second verification rule; Reacquiring, from the service server based on the data identifier, second fragment data corresponding to the data identifier of the first fragment data; Acquire third verification information of the second slice data based on the verification information acquisition method corresponding to the second benchmark verification information; If the third verification information matches the second reference verification information, the slice data corresponding to the third verification information is cached in a preset cache area.
11. A privacy data processing system, include: A service server and a terminal device, wherein the terminal device has a target application installed and is provided with a trusted execution environment; When determining that the terminal device needs to process the private data corresponding to the target application, the business server obtains the private data corresponding to the target application based on the open trust protocol OTRP, and performs secret segmentation processing on the private data to obtain multiple fragments of the private data; The terminal device obtains multiple shards of the privacy data from the business server through one or more threads, recovers the privacy data based on the multiple shards obtained, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
12. A privacy data processing device, the device include: A first information acquisition module, when determining that the terminal device needs to process the privacy data corresponding to the target application, acquires the privacy data corresponding to the target application based on the open trust protocol OTRP, wherein the privacy data includes data for securely processing the predetermined data in the operation of the target application; A first information processing module performs secret segmentation processing on the private data to obtain multiple fragmented data of the private data; The first sending module sends a processing instruction of the privacy data to the terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing of the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
13. A privacy data processing device, the device having a target application installed and a trusted execution environment set up, the device include: A first receiving module receives a processing instruction of privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application; A first shard information acquisition module, which starts one or more threads to acquire multiple shard data of the private data from the business server according to the processing instruction; A first processing data recovery module, which performs recovery processing on the private data based on the acquired multiple shard data, transmits the recovered private data to the trusted execution environment, and processes the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data are obtained by the business server, when it determines that the terminal device needs to process the privacy data corresponding to the target application, obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP, and secretly splitting the privacy data.
14. A privacy data processing method, applied to a first server, the method include: When it is determined that the terminal device needs to process the privacy data corresponding to the target application, a request for permission to process the privacy data is sent to the privacy data management server based on the open trust protocol OTRP; Upon receiving a processing permission message sent by the privacy data management server, obtaining the privacy data corresponding to the target application, and performing secret segmentation processing on the privacy data to obtain a plurality of fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application; A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
15. The method according to claim 14, wherein upon receiving the processing permission message sent by the privacy data management server, the privacy data corresponding to the target application is obtained, and the privacy data is secretly segmented to obtain a plurality of fragmented data of the privacy data. include: Upon receiving the processing permission message sent by the privacy data management server, acquiring the privacy data corresponding to the target application, and sending the privacy data to the privacy data management server; The signed private data sent by the private data management server is received, and the signed private data is secretly segmented to obtain a plurality of fragmented data of the private data.
16. A privacy data processing method, applied to a privacy data management server, the method include: receiving a request for permission to process private data, wherein the request for permission to process private data carries identification information of a terminal device; According to the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset processing conditions, a processing permission message is sent to the first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the running of the target application; the multiple fragments of the privacy data are used for the terminal device to restore the privacy data based on the multiple fragments when receiving the processing instruction of the privacy data sent by the first server, and transmit the restored privacy data to the trusted execution environment, and process the privacy data in the trusted execution environment.
17. The method according to claim 16, further comprising: include: receiving the privacy data sent by the first server; Signing the private data; The signed private data is sent to the first server, so that the first server performs secret segmentation processing on the signed private data according to the received signed private data to obtain a plurality of fragmented data of the private data.
18. A privacy data processing method, applied to a terminal device, wherein the terminal device is installed with a target application and is provided with a trusted execution environment, wherein the method include: Receiving a processing instruction of the privacy data of the target application sent by the first server; According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the first server; Performing recovery processing on the private data based on the obtained multiple shard data, transmitting the recovered private data to a trusted execution environment, and processing the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and secretly splitting the privacy data when it determines that the terminal device needs to process the privacy data corresponding to the target application.
19. A privacy data processing system, include: A first server, a privacy data management server and a terminal device, wherein the terminal device has a target application installed and a trusted execution environment set; The first server, when determining that the terminal device needs to process the privacy data corresponding to the target application, sends a privacy data processing permission request to the privacy data management server based on the open trust protocol OTRP; The privacy data management server receives the privacy data processing permission request, and sends a processing permission message to the first server when detecting that the trusted execution environment of the terminal device meets a preset processing condition; The first server, upon receiving the processing permission message sent by the privacy data management server, obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain a plurality of fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application; The terminal device obtains multiple shards of the privacy data from the first server through one or more threads, and recovers the privacy data based on the obtained multiple shards, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
20. A privacy data processing device, the device include: The fourth acquisition module, when determining that the terminal device needs to process the privacy data corresponding to the target application, sends a request for permission to process the privacy data to the privacy data management server based on the open trust protocol OTRP; The second processing module, upon receiving the processing permission message sent by the privacy data management server, obtains the privacy data corresponding to the target application, and performs secret segmentation processing on the privacy data to obtain multiple fragments of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application; The second sending module sends a processing instruction for the privacy data to the terminal device, so that the terminal device, upon receiving the processing instruction, obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to the trusted execution environment, and processes the privacy data in the trusted execution environment.
21. A privacy data processing device, the device include: A processing request receiving module receives a request for permission to process private data, wherein the request for permission to process private data carries identification information of a terminal device; A processing permission message sending module, based on the identification information, sends a processing permission message to the first server when it detects that the trusted execution environment of the terminal device meets the preset processing conditions, so that the first server, when receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the running of the target application; the multiple fragments of the privacy data are used for the terminal device to restore the privacy data based on the multiple fragments when receiving the processing instruction of the privacy data sent by the first server, and transmit the restored privacy data to the trusted execution environment, and process the privacy data in the trusted execution environment.
22. A privacy data processing device, the device having a target application installed and a trusted execution environment set up, the device include: A second receiving module receives a processing instruction of the privacy data of the target application sent by the first server; A second shard information acquisition module, which starts one or more threads to acquire multiple shard data of the private data from the first server according to the processing instruction; a second processing data recovery module, which performs recovery processing on the private data based on the acquired multiple shard data, transmits the recovered private data to a trusted execution environment, and processes the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data of the target application are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and secretly splitting the privacy data when it determines that the terminal device needs to process the privacy data corresponding to the target application.
23. A privacy data processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: When it is determined that the terminal device needs to process the privacy data corresponding to the target application, the privacy data corresponding to the target application is obtained based on the open trust protocol OTRP, where the privacy data includes data for securely processing the predetermined data in the operation of the target application; Performing secret segmentation processing on the private data to obtain multiple slice data of the private data; A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
24. A privacy data processing device, wherein the privacy data processing device is installed with a target application and is provided with a trusted execution environment, include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receiving a processing instruction of privacy data sent by a business server, wherein the privacy data includes data for securely processing predetermined data in the operation of the target application; According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the business server; Performing recovery processing on the private data based on the acquired multiple shard data, transmitting the recovered private data to the trusted execution environment, and processing the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data are obtained by the business server, when it determines that the terminal device needs to process the privacy data corresponding to the target application, obtaining the privacy data corresponding to the target application based on the open trust protocol OTRP, and secretly splitting the privacy data.
25. A privacy data processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: When it is determined that the terminal device needs to process the privacy data corresponding to the target application, a request for permission to process the privacy data is sent to the privacy data management server based on the open trust protocol OTRP; Upon receiving the processing permission message sent by the privacy data management server, obtaining the privacy data corresponding to the target application, and performing secret segmentation processing on the privacy data to obtain a plurality of fragmented data of the privacy data, wherein the processing permission message is used to instruct the first server to perform secret segmentation processing on the privacy data, and the privacy data includes data for securely processing predetermined data in the operation of the target application; A processing instruction for the privacy data is sent to a terminal device, so that upon receiving the processing instruction, the terminal device obtains multiple shard data of the privacy data through one or more threads, and performs recovery processing on the privacy data based on the obtained multiple shard data, transmits the recovered privacy data to a trusted execution environment, and processes the privacy data in the trusted execution environment.
26. A privacy data processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: receiving a request for permission to process private data, wherein the request for permission to process private data carries identification information of a terminal device; According to the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset processing conditions, a processing permission message is sent to the first server, so that the first server, upon receiving the processing permission message, obtains the privacy data and secretly splits the privacy data to obtain multiple fragments of the privacy data, wherein the privacy data includes data for securely processing predetermined data in the running of the target application; the multiple fragments of the privacy data are used for the terminal device to restore the privacy data based on the multiple fragments when receiving the processing instruction of the privacy data sent by the first server, and transmit the restored privacy data to the trusted execution environment, and process the privacy data in the trusted execution environment.
27. A privacy data processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: receiving a processing instruction of the privacy data of the target application program sent by the first server; According to the processing instruction, one or more threads are started to obtain multiple shard data of the private data from the first server; Performing recovery processing on the private data based on the obtained multiple shard data, transmitting the recovered private data to a trusted execution environment, and processing the private data in the trusted execution environment; Among them, the multiple fragments of the privacy data are obtained by the first server after obtaining the privacy data based on the open trust protocol OTRP and secretly splitting the privacy data when it determines that the terminal device needs to process the privacy data corresponding to the target application.
28. A trusted application processing system, include: A service server and a terminal device, wherein the terminal device has a target application installed and is provided with a trusted execution environment; The business server, when determining that the terminal device needs to install the trusted application of the target application, obtains the installation data of the trusted application based on the open trust protocol OTRP, and performs slicing processing on the installation data of the trusted application to obtain multiple slicing data of the installation data; The terminal device obtains multiple slices of the installation data of the trusted application from the business server through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slices of data, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
29. A trusted application processing method, applied to a business server, the method include: When it is determined that the terminal device needs to install a trusted application of the target application, obtaining installation data of the trusted application based on the open trust protocol OTRP; Slice the installation data of the trusted application to obtain multiple slices of the installation data; An installation instruction is sent to a terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple shard data of the installation data of the trusted application through one or more threads, and performs recovery processing on the installation data based on the obtained multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
30. A trusted application processing method, applied to a terminal device, wherein the terminal device has a target application installed and a trusted execution environment set, wherein the method include: Receiving an installation instruction of a trusted application of the target application sent by a business server; According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the business server; Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data; Among them, the multiple shard data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and sharding the trusted application installation data when the business server determines that the terminal device needs to install the trusted application of the target application.
31. A trusted application processing device, the device include: A first data acquisition module, when determining that the terminal device needs to install a trusted application of the target application, acquires installation data of the trusted application based on an open trust protocol OTRP; A data processing module, which performs slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data; An instruction sending module sends an installation instruction to a terminal device, so that when the terminal device receives the installation instruction, it obtains multiple slices of the installation data of the trusted application through one or more threads, and recovers the installation data based on the obtained multiple slices, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
32. A trusted application processing device, the device having a target application installed and a trusted execution environment set up, the device include: An installation instruction receiving module receives an installation instruction of a trusted application of the target application sent by a business server; A shard data acquisition module, which starts one or more threads to acquire multiple shard data of the installation data of the trusted application from the business server according to the installation instruction; An installation data recovery module performs recovery processing of the installation data based on the acquired multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data; Among them, the multiple fragmented data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and fragmenting the trusted application installation data when the business server determines that the device needs to install the trusted application of the target application.
33. A trusted application processing system, include: A first server, a trusted application management server and a terminal device, wherein the terminal device has a target application installed and a trusted execution environment set; The first server, when determining that the terminal device needs to install the trusted application of the target application, sends a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP; The trusted application management server receives the trusted application installation permission request, and sends an installation permission message to the first server when detecting that the trusted execution environment of the terminal device meets the preset installation conditions; The first server, upon receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application, and performs slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data; The terminal device obtains multiple slices of the installation data of the trusted application from the first server through one or more threads, and performs recovery processing of the installation data based on the obtained multiple slices, transmits the restored installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
34. A trusted application processing method, applied to a first server, the method include: When it is determined that the terminal device needs to install a trusted application of the target application, a trusted application installation permission request is sent to a trusted application management server based on the open trust protocol OTRP; Upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and performing slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data, wherein the installation permission message is used to instruct the first server to perform slice processing on the installation data of the trusted application; An installation instruction is sent to a terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple shard data of the installation data of the trusted application through one or more threads, and performs recovery processing on the installation data based on the obtained multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
35. A trusted application processing method, applied to a trusted application management server, the method include: Receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device; Based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application, and slices the installation data of the trusted application to obtain multiple slices of the installation data; the multiple slices of the installation data are used for the terminal device to restore the installation data based on the multiple slices when it receives the installation instruction sent by the first server, and transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data.
36. A trusted application processing method, applied to a terminal device, wherein the terminal device has a target application installed and a trusted execution environment set, wherein the method include: Receiving an installation instruction of a trusted application of the target application sent by the first server; According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the first server; Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data; Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP and sharding the installation data of the trusted application when determining that the terminal device needs to install the trusted application of the target application.
37. A trusted application processing device, the device include: The fourth data acquisition module sends a trusted application installation permission request to the trusted application management server based on the open trust protocol OTRP when determining that the terminal device needs to install the trusted application of the target application; The second data processing module, upon receiving the installation permission message sent by the trusted application management server, obtains the installation data of the trusted application, and performs slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data, wherein the installation permission message is used to instruct the first server to perform slice processing on the installation data of the trusted application; The third installation instruction sending module sends an installation instruction to the terminal device, so that when the terminal device receives the installation instruction, it obtains multiple slices of the installation data of the trusted application through one or more threads, and recovers the installation data based on the obtained multiple slices, transmits the recovered installation data to the trusted execution environment, and installs the trusted application in the trusted execution environment through the installation data.
38. A trusted application processing device, the device include: An installation request receiving module, receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device; The installation permission message sending module sends an installation permission message to the first server based on the identification information and upon detecting that the trusted execution environment of the terminal device meets the preset installation conditions, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application and performs sharding processing on the installation data of the trusted application to obtain multiple shards of the installation data; the multiple shards of the installation data are used for the terminal device to restore the installation data based on the multiple shards when receiving the installation instruction sent by the first server, transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data.
39. A trusted application processing device, the device having a target application installed and a trusted execution environment set up, the device include: A second installation instruction receiving module receives an installation instruction of a trusted application of the target application sent by the first server; A second shard data acquisition module, which starts one or more threads to acquire multiple shard data of the installation data of the trusted application from the business server according to the installation instruction; A second installation data recovery module performs recovery processing of the installation data based on the acquired multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data; Among them, the multiple shard data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and sharding the trusted application installation data when the business server determines that the terminal device needs to install the trusted application of the target application. 40.A trusted application processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: When it is determined that the terminal device needs to install a trusted application of the target application, obtaining installation data of the trusted application based on the open trust protocol OTRP; Slice the installation data of the trusted application to obtain multiple slices of the installation data; An installation instruction is sent to a terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple shard data of the installation data of the trusted application through one or more threads, and performs recovery processing on the installation data based on the obtained multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
41. A trusted application processing device, wherein the trusted application processing device is installed with a target application and is provided with a trusted execution environment, include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receiving an installation instruction of a trusted application of the target application sent by a business server; According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the business server; Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data; Among them, the multiple shard data of the trusted application installation data are obtained by the business server after obtaining the trusted application installation data based on the open trust protocol OTRP and sharding the trusted application installation data when determining that the trusted application processing device needs to install the trusted application of the target application. 42.A trusted application processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: When it is determined that the terminal device needs to install a trusted application of the target application, a trusted application installation permission request is sent to a trusted application management server based on the open trust protocol OTRP; Upon receiving the installation permission message sent by the trusted application management server, obtaining the installation data of the trusted application, and performing slice processing on the installation data of the trusted application to obtain a plurality of slice data of the installation data, wherein the installation permission message is used to instruct the first server to perform slice processing on the installation data of the trusted application; An installation instruction is sent to a terminal device, so that upon receiving the installation instruction, the terminal device obtains multiple shard data of the installation data of the trusted application through one or more threads, and performs recovery processing on the installation data based on the obtained multiple shard data, transmits the recovered installation data to a trusted execution environment, and installs the trusted application in the trusted execution environment using the installation data.
43. A trusted application processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receiving a trusted application installation request, wherein the trusted application installation request carries identification information of a terminal device; Based on the identification information, when it is detected that the trusted execution environment of the terminal device meets the preset installation conditions, an installation permission message is sent to the first server, so that the first server, upon receiving the installation permission message, obtains the installation data of the trusted application, and slices the installation data of the trusted application to obtain multiple slices of the installation data; the multiple slices of the installation data are used for the terminal device to restore the installation data based on the multiple slices when it receives the installation instruction sent by the first server, and transmit the restored installation data to the trusted execution environment, and install the trusted application in the trusted execution environment through the installation data. 44.A trusted application processing device include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: receiving an installation instruction of a trusted application of a target application program sent by the first server; According to the installation instruction, one or more threads are started to obtain multiple slices of installation data of the trusted application from the first server; Performing recovery processing on the installation data based on the acquired multiple shard data, transmitting the recovered installation data to a trusted execution environment, and installing the trusted application in the trusted execution environment using the installation data; Among them, the multiple shard data of the installation data of the trusted application are obtained by the first server after obtaining the installation data of the trusted application based on the open trust protocol OTRP and sharding the installation data of the trusted application when determining that the terminal device needs to install the trusted application of the target application.
