Trusted application management method and device

By monitoring the installation or update requests of trusted applications through TEE terminals and service providers, the TEE administrator obtains encrypted application information and sends it to the TEE terminal for installation or update. This solves the problem of the complexity of the trusted application installation or update process, improves efficiency, and reduces the load on service providers.

CN112149134BActive Publication Date: 2024-11-19ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010955075.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-11
Publication Date
2024-11-19
Estimated Expiration
2040-09-11

AI Technical Summary

Technical Problem

The existing trusted application installation or update process is complex, affecting user experience and placing a heavy burden on service providers.

Method used

By monitoring the installation or update requests of application clients through TEE terminals and service providers, the TEE administrator obtains encrypted application information based on key encryption and sends it to the TEE terminal for installation or update, simplifying the transmission process.

Benefits of technology

It simplifies repetitive transmissions, reduces the load on service providers, and improves the efficiency of installation or updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112149134B_ABST
    Figure CN112149134B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a trusted application management method and device. Both the TEE terminal and the service provider can monitor the application client's installation or update requirements for trusted applications, and initiate the trusted application management process to the TEE manager. Afterwards, the TEE manager synchronizes the device status with the TEE terminal, and obtains the encrypted application information obtained by encrypting the trusted application based on the first key generated by it. Finally, the encrypted application information is sent to the TEE terminal, and the TEE terminal completes the installation or update operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the computer field, and in particular, to a trusted application management method and apparatus. Background Art

[0002] With the development of computer technology, the security of user privacy information has received more and more attention and importance. To this end, a trusted application (TA) is proposed to process user data with high security requirements. For example, a trusted application can be a fingerprint authentication application, a face recognition application, etc. for verifying the identity of the user. In order to meet the high security and confidentiality requirements of trusted applications, it is necessary to run trusted applications in a trusted execution environment (TEE).

[0003] Trusted Execution Environment TEE is a computing module or computing device with certain isolation capabilities to ensure computing security. Its isolation capabilities can ensure that the outside world, including operating systems or drivers, cannot obtain internal runtime memory and other secrets. For example, according to SGX technology, a private memory area with high access rights can be created in memory to form a computing enclosure Enc l ave. Other applications, including operating systems OS, BIOS systems, virtual machine systems, etc., cannot access the data in the enclosure Enc l ave, and cannot spy on or tamper with the status and data of the applications therein.

[0004] For general applications, TEE terminal providers usually provide TEE terminal users with application installation and update channels through application stores, etc. For trusted applications, since they need to run in a trusted execution environment, TEE terminal providers will set up a dedicated TEE manager to manage the trusted execution environment TEE in the TEE terminal, and implement the installation or update of trusted applications through interaction with the service provider of the trusted application.

[0005] Due to the security requirements of trusted applications, the existing installation or update process is often complicated. It is hoped that there will be an improved solution that can make the installation or update process of trusted applications more efficient and improve user experience. Summary of the invention

[0006] One or more embodiments of the present specification describe a trusted application management method and apparatus. Through such a method and apparatus, both the TEE terminal and the service provider can monitor the application client's installation or update requirements for the trusted application, and initiate the trusted application management process to the TEE manager; thereafter, the TEE manager obtains the encrypted application information obtained by encrypting the trusted application based on the first key generated by it, and sends the encrypted application information to the TEE terminal, which completes the installation or update operation, thereby simplifying repeated transmissions, reducing the load on the service provider, improving transmission efficiency, and thereby improving installation or update efficiency.

[0007] According to a first aspect, a trusted application management method is provided, the method being performed by a trusted execution environment TEE manager, comprising:

[0008] Receiving a first operation request for requesting installation or update of a first trusted application in a TEE terminal from a requester, the requester including the TEE terminal or a service provider corresponding to the first trusted application, the first operation request being generated by the requester monitoring an installation or update demand of an application client for the first trusted application;

[0009] Synchronize the device state with the TEE terminal, thereby sending the first key to it;

[0010] Acquire first encrypted application information obtained by encrypting the first trusted application based on the first key;

[0011] appending the first encrypted application information to the first operation request to generate a second operation request;

[0012] The second operation request is sent to the TEE terminal, so that the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0013] In one embodiment, the obtaining of first encrypted application information obtained by encrypting the first trusted application based on the first key includes:

[0014] Sending the first key to the service provider, so that the service provider encrypts the first trusted application based on the first key to obtain the first encrypted application information;

[0015] The first encrypted application information is received from the service provider.

[0016] In one embodiment, the obtaining of first encrypted application information obtained by encrypting the first trusted application based on the first key includes:

[0017] Obtain the first encrypted application information that is pre-stored.

[0018] In one embodiment, before obtaining the pre-stored first encrypted application information, the method includes:

[0019] receiving the first trusted application from the service provider in advance;

[0020] encrypting the first trusted application using the first key to obtain the first encrypted application information;

[0021] The first encrypted application information is stored.

[0022] In one embodiment, before obtaining the pre-stored first encrypted application information, the method includes:

[0023] The first encrypted application information is received in advance from the service provider, and the first encrypted application information is stored.

[0024] According to a second aspect, a trusted application management method is provided, the method being performed by a trusted execution environment TEE manager, comprising:

[0025] Receiving a first operation request for requesting installation or update of a first trusted application in a plurality of TEE terminals from a requester, wherein the requester includes a service provider corresponding to the first trusted application or the plurality of TEE terminals;

[0026] Synchronize device status with each of the multiple TEE terminals, obtain device information of each TEE terminal, and send a first key to each of the TEE terminals;

[0027] Sending a first message to the service provider, where the first message includes device information of each TEE terminal, so that the service provider determines corresponding application installation information based on the device information of each TEE terminal;

[0028] receiving a second message sent by the service provider, where the second message includes application installation information corresponding to each TEE terminal;

[0029] Determine, based on the application installation information corresponding to each TEE terminal, from a plurality of pre-stored encrypted application information, first encrypted application information corresponding to each TEE terminal, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key;

[0030] Attach the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request to generate a second operation request corresponding to each TEE terminal;

[0031] The second operation request corresponding to each TEE terminal is sent to the corresponding TEE terminal, so that the corresponding TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0032] In one embodiment, the application installation information includes version information and file size information of the first trusted application.

[0033] In one embodiment, the first message includes a first session identifier created for the multiple TEE terminals; and the second message includes the first session identifier.

[0034] In one embodiment, sending the second operation request corresponding to each TEE terminal to the corresponding TEE terminal includes:

[0035] Based on the application installation information corresponding to each TEE terminal, determine a target TEE terminal group, wherein the target TEE terminal group is composed of TEE terminals corresponding to the same application installation information;

[0036] Send a merge operation request to the service provider, where the merge operation request includes the first session identifier, the first encrypted application information corresponding to the same application installation information, and the information of the target TEE terminal group, so that the service provider sends a corresponding second operation request to each TEE terminal in the target TEE terminal group according to the merge operation request.

[0037] In one embodiment, synchronizing the device status with the multiple TEE terminals respectively includes:

[0038] Directly synchronize device status with the multiple TEE terminals respectively, or synchronize device status with the multiple TEE terminals respectively through the service provider and / or the application client.

[0039] In one embodiment, the first operation request is generated by the service provider monitoring the installation or update requirements of the application clients on the multiple TEE terminals for the first trusted application; or

[0040] The first operation request is generated by the TEE terminal monitoring the application client's installation or update requirements for the first trusted application, and is sent to the service provider.

[0041] According to a third aspect, a trusted application management method is provided, the method being performed by a service provider, comprising:

[0042] Monitor the application client's installation or update requirements for the first trusted application, and generate a first operation request, where the first operation request is used to request installation of the first trusted application in a TEE terminal corresponding to the application client;

[0043] Sending the first operation request to the trusted execution environment TEE manager;

[0044] Receive a first key sent by the TEE manager;

[0045] encrypting the first trusted application based at least on the first key to obtain first encrypted application information;

[0046] The first encrypted application information is sent to the TEE manager, so that the TEE manager sends the first encrypted application information to the TEE terminal.

[0047] According to a fourth aspect, a trusted application management method is provided, the method being performed by a service provider, comprising:

[0048] Monitoring the installation or update requirements of the application clients on the multiple TEE terminals for the first trusted application, and generating a first operation request, where the first operation request is used to request the installation of the first trusted application in the multiple TEE terminals;

[0049] Sending the first operation request to the trusted execution environment TEE manager;

[0050] Receive a first message sent by the TEE manager, where the first message includes device information of each TEE terminal;

[0051] Determine corresponding application installation information based on the device information of each TEE terminal;

[0052] A second message is sent to the TEE manager, wherein the second message includes application installation information corresponding to each TEE terminal, so that the TEE manager determines, based on the application installation information corresponding to each TEE terminal, first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information, wherein the first encrypted application information is obtained by encrypting the first trusted application based on a first key.

[0053] In one embodiment, the application installation information includes version information and file size information of the first trusted application.

[0054] In one embodiment, the first message includes a first session identifier created for the multiple TEE terminals; and the second message includes the first session identifier.

[0055] In one embodiment, it further includes:

[0056] Receive a merge operation request sent by the TEE manager, the merge operation request including the first session identifier, the first encrypted application information corresponding to the same application installation information, and information of a target TEE terminal group, the target TEE terminal group being composed of TEE terminals corresponding to the same application installation information;

[0057] According to the merged operation request, a corresponding second operation request is sent to each TEE terminal in the target TEE terminal group, so that each TEE terminal installs or updates the first trusted application based on the first key and the second operation request, and the second operation request is generated by the TEE manager by appending the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request.

[0058] According to a fifth aspect, a trusted application management method is provided, the method being executed by a trusted execution environment TEE terminal, comprising:

[0059] In response to a synchronization request from a trusted execution environment TEE manager, synchronize the device status with the TEE manager and receive a first key sent by the TEE manager;

[0060] receiving a second operation request sent by the TEE manager, where the second operation request is generated by the TEE manager appending first encrypted application information corresponding to the TEE terminal to the corresponding first operation request, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key, and the first operation request is used to request installation or update of the first trusted application in the TEE terminal;

[0061] The first trusted application is installed or updated based on the first key and the second operation request.

[0062] In one embodiment, before responding to the synchronization request of the trusted execution environment TEE manager, the steps include:

[0063] Monitoring the installation or update requirements of the application client for the first trusted application, and generating a first operation request;

[0064] The first operation request is sent to the TEE manager so that the TEE manager synchronizes the device status with the TEE terminal and / or obtains the first encrypted application information.

[0065] In one embodiment, the device status synchronization with the TEE manager includes:

[0066] The device information of the TEE terminal is sent to the TEE manager.

[0067] According to a sixth aspect, a trusted application management device is provided, which is deployed on a trusted execution environment TEE management side, including:

[0068] A first operation request receiving unit is configured to receive a first operation request for requesting installation or update of a first trusted application in a TEE terminal from a requester, wherein the requester includes the TEE terminal or a service provider corresponding to the first trusted application, and the first operation request is generated by the requester monitoring an installation or update requirement of an application client for the first trusted application;

[0069] a synchronization unit, configured to synchronize a device state with the TEE terminal, thereby sending a first key thereto;

[0070] an encrypted application information obtaining unit, configured to obtain first encrypted application information obtained by encrypting the first trusted application based on the first key;

[0071] A second operation request generating unit, configured to append the first encrypted application information to the first operation request to generate a second operation request;

[0072] The second operation request sending unit is configured to send the second operation request to the TEE terminal, so that the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0073] According to a seventh aspect, a trusted application management device is provided, which is deployed on a trusted execution environment TEE management side, including:

[0074] A first operation request receiving unit is configured to receive a first operation request for requesting installation or update of a first trusted application in a plurality of TEE terminals from a requester, wherein the requester includes a service provider corresponding to the first trusted application or the plurality of TEE terminals;

[0075] a synchronization unit, configured to perform device status synchronization with the plurality of TEE terminals respectively, obtain device information of each TEE terminal, and send a first key to each TEE terminal;

[0076] A first message sending unit is configured to send a first message to the service provider, wherein the first message includes device information of each TEE terminal, so that the service provider determines corresponding application installation information based on the device information of each TEE terminal;

[0077] A second message receiving unit is configured to receive a second message sent by the service provider, wherein the second message includes application installation information corresponding to each TEE terminal;

[0078] an encrypted application information determining unit, configured to determine, based on the application installation information corresponding to each TEE terminal, first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key;

[0079] A second operation request generating unit is configured to attach the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request, and generate a second operation request corresponding to each TEE terminal;

[0080] The second operation request sending unit is configured to send the second operation request corresponding to each TEE terminal to the corresponding TEE terminal, so that the corresponding TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0081] According to an eighth aspect, a trusted application management device is provided, the device being deployed at a service provider, comprising:

[0082] A monitoring unit configured to monitor an installation or update requirement of an application client for a first trusted application, and generate a first operation request, wherein the first operation request is used to request installation of the first trusted application in a TEE terminal corresponding to the application client;

[0083] A first operation request sending unit, configured to send the first operation request to a trusted execution environment TEE manager;

[0084] A key receiving unit, configured to receive a first key sent by the TEE manager;

[0085] an encryption unit, configured to encrypt the first trusted application based on at least the first key to obtain first encrypted application information;

[0086] The encrypted application information sending unit is configured to send the first encrypted application information to the TEE manager, so that the TEE manager sends the first encrypted application information to the TEE terminal.

[0087] According to a ninth aspect, a trusted application management device is provided, the device being deployed at a service provider, comprising:

[0088] A monitoring unit, configured to monitor the installation or update requirements of application clients on multiple TEE terminals for a first trusted application, and generate a first operation request, where the first operation request is used to request the installation of the first trusted application in the multiple TEE terminals;

[0089] A first operation request sending unit, configured to send the first operation request to a trusted execution environment TEE manager;

[0090] A message receiving unit, configured to receive a first message sent by the TEE manager, wherein the first message includes device information of each TEE terminal;

[0091] A determination unit, configured to determine corresponding application installation information based on the device information of each TEE terminal;

[0092] A second message sending unit is configured to send a second message to the TEE manager, wherein the second message includes application installation information corresponding to each TEE terminal, so that the TEE manager determines the first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information based on the application installation information corresponding to each TEE terminal, wherein the first encrypted application information is obtained by encrypting the first trusted application based on a first key.

[0093] According to a tenth aspect, a trusted application management device is provided, which is deployed in a trusted execution environment TEE terminal, including:

[0094] A response unit, configured to respond to a synchronization request of a trusted execution environment TEE manager, synchronize the device status with the TEE manager, and receive a first key sent by the TEE manager;

[0095] A second operation request receiving unit is configured to receive a second operation request sent by the TEE manager, where the second operation request is generated by the TEE manager appending first encrypted application information corresponding to the TEE terminal to the corresponding first operation request, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key, and the first operation request is used to request to install or update the first trusted application in the TEE terminal;

[0096] The installation or update unit is configured to install or update the first trusted application based on the first key and the second operation request.

[0097] According to the eleventh aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed in a computer, the computer executes the method of the first aspect to the fifth aspect.

[0098] According to the twelfth aspect, a computing device is provided, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the methods of the first to fifth aspects are implemented.

[0099] Through the method and device provided in the embodiments of this specification, during the process of installing or updating a trusted application, both the TEE terminal and the service provider can monitor the application client's requirements for installing or updating the trusted application, and initiate the management process of the trusted application to the TEE manager; thereafter, the TEE manager obtains the encrypted application information obtained by encrypting the trusted application based on the first key generated by it, and sends the encrypted application information to the TEE terminal, which completes the installation or update operation, thereby simplifying repeated transmissions, reducing the load on the service provider, improving transmission efficiency, and thereby improving installation or update efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0101] Figure 1 A schematic diagram showing an implementation scenario of an embodiment disclosed in this specification;

[0102] Figure 2 A trusted application management method according to one embodiment is shown;

[0103] Figure 3 shows a data structure of encrypted application information according to one embodiment;

[0104] Figure 4 shows a data structure of encrypted application information according to another embodiment;

[0105] Figure 5 shows a data structure of an operation request according to one embodiment;

[0106] Figure 6 A trusted application management method according to another embodiment is shown;

[0107] Figure 7 A trusted application management method according to yet another embodiment is shown;

[0108] Figure 8 A trusted application management method according to yet another embodiment is shown;

[0109] Fig. 9 A schematic diagram showing a TEE manager sending a message to a service provider according to an embodiment;

[0110] Fig.10 A schematic diagram showing a service provider sending a message to a TEE manager according to an embodiment;

[0111] Fig.11 A schematic block diagram showing a trusted application management device according to an embodiment;

[0112] Fig.12 A schematic block diagram showing a trusted application management device according to an embodiment;

[0113] Fig.13 A schematic block diagram showing a trusted application management device according to an embodiment;

[0114] Fig.14 A schematic block diagram showing a trusted application management device according to an embodiment;

[0115] Fig.15 A schematic block diagram of a trusted application management device according to an embodiment is shown. DETAILED DESCRIPTION

[0116] The solution provided in this specification is described below in conjunction with the accompanying drawings.

[0117] It should be understood that the “first” and “second” in this article are merely used to mark and distinguish similar concepts for the purpose of clear expression and do not have any other limiting effect.

[0118] Figure 1 This is a schematic diagram of an implementation scenario of an embodiment disclosed in this specification. Figure 1 In an embodiment, a TEE execution environment is configured in a user terminal and an application client that needs to use a trusted application is installed; wherein the user terminal can be an electronic device such as a mobile phone or a tablet computer, and the TEE execution environment is used to provide a secure execution environment for authorized trusted applications (such as fingerprint authentication applications, face recognition applications, etc.), and the application client can be a client that needs to use the above-mentioned trusted application. In the following, the user terminal deployed with the TEE execution environment is referred to as the TEE terminal. Both the TEE terminal and the service provider can monitor the application client's installation or update requirements for trusted applications, and initiate the management process of trusted applications to the TEE manager. Afterwards, the TEE manager synchronizes the device status with the TEE terminal, and obtains the encrypted application information obtained by encrypting the trusted application based on the first key generated by it. Finally, the encrypted application information is sent to the TEE terminal, and the TEE terminal completes the installation or update operation.

[0119] Specifically, the TEE terminal and / or the service provider monitors the application client's demand for the installation or update of the trusted application, generates a first operation request, and sends the first operation request to the TEE manager, wherein the first operation request can be used to request the installation of the first trusted application in the TEE terminal corresponding to the application client. Afterwards, the TEE manager synchronizes the device status with the TEE terminal and sends the first key generated by it to the TEE terminal. Next, the TEE manager obtains the encrypted application information obtained by encrypting the first trusted application based on the first key; wherein the encrypted application information can be received from the service provider in real time, or can be pre-stored by the TEE manager. Afterwards, the TEE manager attaches the encrypted application information to the first operation request and sends it to the TEE terminal. Finally, the TEE terminal decrypts the encrypted application information based on the first key, obtains the first trusted application, and installs or updates the first trusted application. The specific implementation steps of the above process are described below.

[0120] Figure 2 A trusted application management method according to an embodiment is shown. Figure 2 As shown, the method involves at least a TEE manager, a service provider and a TEE terminal.

[0121] The TEE manager is deployed by the TEE terminal provider and is responsible for detecting requests generated by the TEE terminal and / or service provider to install or update trusted applications, and detecting whether the TEE terminal has an environment for installing or updating trusted applications. For example, it detects whether there is a security domain for the service provider in the user terminal, in which trusted applications can be installed or updated.

[0122] The service provider, or the provider of trusted applications, is the party that provides the relevant files of the trusted applications that can be installed or updated. The service provider can generate a request to install or update the trusted application, and the request can be generated when the application client monitors the installation or update requirements of the trusted application. Among them, the application client can be an application client that can provide security services such as payment and identity authentication, such as the Alipay application client.

[0123] The TEE terminal may include a TEE agent or a security domain applied for a service provider in a user terminal, etc. The TEE terminal may generate a request to install or update a trusted application, which is generated when the application client monitors the installation or update requirements of the trusted application.

[0124] Next, describe Figure 2 The specific steps of the trusted application management method shown.

[0125] First, in step S101, the application client may send its installation or update requirements for the trusted application to the TEE terminal. In this implementation, the TEE terminal monitors the installation or update requirements of the application client for the first trusted application.

[0126] The above-mentioned monitoring application client's installation or update requirements for the first trusted application can be carried out in a variety of ways. For example, the TEE terminal can monitor the user's input of instructions for installing or updating, for example, a fingerprint recognition application through the application client user terminal. Among them, the user can input the above-mentioned installation instructions through the client of the relevant application. For example, in the Alipay client, the user enters the instruction to install the fingerprint authentication application by clicking, for example, "Turn on fingerprint authentication".

[0127] In another example, the above-mentioned monitoring application client's installation or update requirements for the first trusted application can also be performed by monitoring the requirements initiated by the application client. For example, when an application client needs to call the function of a trusted application, it can generate a requirement with user authorization and feed back the requirement to the TEE terminal, so that the TEE terminal is informed of the application client's requirements for the trusted application. Alternatively, when the application client detects that an installed trusted application needs to be updated, it can feed back the requirement to the TEE terminal, so that the TEE terminal is informed of the application client's requirements for the trusted application.

[0128] Next, in step S102, once the TEE terminal monitors the application client's installation or update requirement for the first trusted application, it generates a first operation request. The first operation request is used to request the installation or update of the first trusted application in the TEE terminal.

[0129] Next, in step S104, the TEE terminal sends a first operation request to the TEE manager.

[0130] In one example, the TEE terminal can transparently transmit the first operation request to the TEE manager through the application client (such as the Alipay client) related to the trusted application. In another embodiment, the TEE terminal can also directly send the first operation request to the TEE manager through its operating system.

[0131] In step S106, the TEE manager receives the first operation request and synchronizes the device status with the TEE terminal. Generally, when the TEE manager receives the operation request sent by the TEE terminal, it responds to the operation request, synchronizes the device status with the TEE terminal, detects whether the TEE terminal has an environment for installing or updating trusted applications, and sends a first key to the TEE terminal. Optionally, the TEE manager can synchronize the device status directly with the TEE terminal to reduce the load on the service provider; it can also synchronize the device status with the TEE terminal through the service provider and / or the application client.

[0132] In one example, each time the TEE manager receives a first operation request, it may generate a string of symmetric dynamic keys (ie, first keys) for the first operation request.

[0133] Next, in step S108, the TEE management sends the first key to the service provider corresponding to the first trusted application.

[0134] Step S110: The service provider encrypts the first trusted application based on the first key to obtain first encrypted application information.

[0135] In an example, Figure 3 As shown, the service provider can use the first key to directly encrypt the first trusted application to obtain encrypted application information.

[0136] In another example, Figure 4 As shown, the service provider can generate a proprietary key, and then use the proprietary key to encrypt the first trusted application to obtain the first encrypted data; then use the first key to encrypt the proprietary key to obtain the second encrypted data; finally, the first encrypted data and the second encrypted data are used as the first encrypted application information, or it can be said that the first encrypted data and the second encrypted data constitute the first encrypted application information. It can be understood that when using the proprietary key for encryption, symmetric algorithms such as DES, 3DES, IDEA, RC5, and RC6 can be used for encryption; when using the first key for encryption, the above-mentioned symmetric algorithms can also be used for encryption.

[0137] In another example, the service provider can pre-encrypt the first trusted application with a proprietary key and obtain the first encrypted data. The proprietary key is a key corresponding to the first trusted application currently required to be installed or updated among multiple trusted applications provided by the service provider, or the proprietary key is a key corresponding to the current version of the first trusted application currently required to be installed or updated; that is, the same trusted application can be pre-encrypted with the same key, or the same version of trusted applications can be pre-encrypted with the same key, thereby avoiding repeated encryption of the application and further speeding up the installation / update process. Afterwards, the proprietary key is encrypted with the first key to obtain the second encrypted data. Finally, the first encrypted data and the second encrypted data are used as encrypted application information, or it can be said that the first encrypted data and the second encrypted data constitute the encrypted application information.

[0138] Step S112: The service provider sends the first encrypted application information to the TEE manager.

[0139] Next, in step S114, the TEE manager appends the first encrypted application information to the first operation request to generate a second operation request. The second operation request can be understood as a request to install or update a trusted application. Optionally, the TEE manager can also sign the second operation request to prevent the content in the second operation request from being tampered with. Specifically, Figure 5 As shown, the TEE manager can first attach the first encrypted application information to the operation request, and then sign the operation request.

[0140] In addition, the TEE manager may also attach its own identity information to the second operation request so that the service provider and / or TEE terminal can clearly identify the source of the second operation request, thereby improving operation security.

[0141] Next, in step S116, the TEE manager sends the second operation request to the TEE terminal.

[0142] In step S118, the TEE terminal installs or updates the first trusted application based on the first key and the second operation request. Generally, the TEE terminal can use the first key to decrypt the first encrypted application information in the second operation request to obtain the first trusted application; thereafter, the first trusted application can be installed or updated.

[0143] In addition, after successfully installing or updating the first trusted application, the TEE terminal can feedback information about the successful installation or update to the TEE manager, service provider and / or application client, so that the TEE manager, service provider and / or application client are informed of the successful installation or update.

[0144] It can be understood that when the TEE terminal uses the first key to decrypt the first encrypted application information in the second operation request, it can also verify the signature of the TEE manager, the identity information of the TEE manager, the identity information of the service provider, etc., to improve the security of the operation.

[0145] Figure 6 A trusted application management method according to another embodiment is shown. Figure 6 The specific steps of the trusted application management method shown.

[0146] First, in step S201, the application client may send its installation or update requirements for the trusted application to the service provider. In this implementation, the service provider monitors the installation or update requirements of the application client for the first trusted application.

[0147] For example, when an application client needs to call a function of a trusted application, it can generate a demand with user authorization and feedback the demand to the service provider corresponding to the trusted application, so that the service provider knows the application client's demand for the trusted application. Alternatively, when the application client detects that an installed trusted application needs to be updated, it can feedback the demand to the service provider, so that the service provider knows the application client's demand for the trusted application.

[0148] Next, in step S202, once the service provider monitors the application client's installation or update requirement for the first trusted application, a first operation request is generated. The first operation request is used to request the installation or update of the first trusted application in the TEE terminal.

[0149] Next, in step S204, the service provider sends a first operation request to the TEE manager.

[0150] For the following steps, please refer to the above steps S106-S118, which will not be described in detail here.

[0151] Figure 7 A trusted application management method according to another embodiment is shown. Figure 7 The specific steps of the trusted application management method shown.

[0152] First, in step S101, the application client may send its installation or update requirements for the trusted application to the TEE terminal.

[0153] Next, in step S102, the TEE terminal monitors the application client's installation or update requirement for the first trusted application and generates a first operation request. The first operation request is used to request the installation or update of the first trusted application in the TEE terminal.

[0154] Next, in step S104, the TEE terminal sends a first operation request to the TEE manager.

[0155] In step S106, the TEE manager receives the first operation request and synchronizes with the TEE in the TEE terminal.

[0156] In step S302, the TEE manager obtains the first encrypted application information obtained by encrypting the first trusted application based on the first key. Pre-storing the encrypted application information can avoid multiple transmissions of the encrypted application information between the TEE manager and the service provider during the installation or update of the trusted application, thereby reducing the load on the service provider, improving the transmission efficiency, and further improving the installation or update efficiency.

[0157] In one example, the TEE manager may send a request to obtain the first trusted application to the service provider corresponding to the first trusted application in advance. Then, the TEE manager receives the first trusted application from the service provider. After that, the TEE manager encrypts the first trusted application using the first key generated by it to obtain the first encrypted application information. Finally, the TEE manager stores the first encrypted application information.

[0158] In another example, the TEE manager may send a request to the service provider corresponding to the first trusted application in advance to obtain the first encrypted application information. Then, the TEE manager receives the first encrypted application information sent by the service provider. Finally, the TEE manager stores the first encrypted application information. It should be understood that at this time, the first encrypted application information is obtained by the service provider encrypting the first trusted application based on the first key obtained from the TEE manager.

[0159] Next, in step S114, the TEE manager attaches the first encrypted application information to the first operation request to generate a second operation request. In addition, the TEE manager may also attach its own identity information to the second operation request so that the service provider and / or TEE terminal can clearly identify the source of the second operation request and improve the safety of the operation.

[0160] Next, in step S116, the TEE manager sends the second operation request to the TEE terminal.

[0161] In step S118 , the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0162] It should be understood that steps S102-S104 in the trusted application management method may also be performed by the service provider corresponding to the first trusted application, as described above. Figure 6 The description in will not be repeated here one by one.

[0163] Figure 8 A trusted application management method according to another embodiment is shown. Figure 8 The specific steps of the trusted application management method shown.

[0164] First, in step S401, application clients on multiple TEE terminals can send their installation or update requirements for trusted applications to the service provider. In one example, when the application client on each TEE terminal detects that the installed trusted application needs to be updated, it can send the update requirement to the service provider. In another example, when the application client on any TEE terminal needs to call the function of the trusted application, if the trusted application is not installed in the TEE terminal, the application client can send the requirement to install the trusted application to the service provider.

[0165] Next, in step S402, the service provider monitors the installation or update requirements of the application clients on multiple TEE terminals for the first trusted application, and generates a first operation request. The first operation request is used to request the installation of the first trusted application in multiple TEE terminals.

[0166] In step S404, the service provider sends the first operation request to the TEE manager.

[0167] In one embodiment, the service provider generates multiple first operation requests based on the demand information of multiple TEE terminals and sends them to the TEE manager respectively. In another embodiment, the service provider combines the demand information of multiple TEE terminals into a single first operation request and sends it to the TEE manager, and the single first operation request includes the request information of multiple TEE terminals.

[0168] Then, in step S406, the TEE manager receives the first operation request and synchronizes the device status with multiple TEE terminals. Generally, when the TEE manager receives the above operation request, it responds to the operation request and synchronizes the device status with multiple TEE terminals to send the first key to the TEE terminal, detect whether the TEE terminal has an environment for installing or updating trusted applications, obtain the device information of each TEE terminal, etc. Among them, the device information of the TEE terminal may include the identity of the TEE terminal such as device ID, device model, etc., the hash value of the identity, the version number of the operating system of the TEE terminal, the identity of the TEE in the TEE terminal, etc.

[0169] Optionally, the TEE manager can directly synchronize the device status with multiple TEE terminals to reduce the load on the service provider; the device status can also be synchronized with multiple TEE terminals through the service provider and / or application client.

[0170] In one example, each time the TEE manager receives a first operation request, it may generate a string of symmetric dynamic keys (ie, first keys) for the first operation request.

[0171] In step S408, the TEE manager sends a first message to the service provider, including device information of each TEE terminal.

[0172] In one example, the first message may include a first session identifier created for multiple TEE terminals. The TEE manager may use the session window corresponding to the first session identifier to send device information of each TEE terminal to the service provider. Fig. 9As shown, the TEE manager uses a current session represented by a session ID to send the device information of each TEE terminal to the service provider, so that multiple user terminals can share the information flow to reduce duplicate transmission, improve transmission efficiency, and reduce latency.

[0173] Next, in step S410, the service provider determines the application installation information corresponding to each TEE terminal based on the device information of each TEE terminal. The application installation information may include the version information of the first trusted application, the file size information, etc. Generally, the service provider can query the mapping relationship table between the device information and the application installation information based on the device information of the TEE terminal, and determine the version information and file size information of the trusted application adapted to the TEE terminal. For example, if the version of the trusted application corresponding to the operating system ios9 is V1, and the version of the trusted application corresponding to ios10 is V2, then when the operating system of the TEE terminal is ios9, it can be determined that the version of the trusted application is V1.

[0174] In step S412, the service provider sends a second message to the TEE manager, wherein the second message includes application installation information corresponding to each TEE terminal.

[0175] In one example, the second message includes the aforementioned first session identifier created for multiple TEE terminals. The service provider can use the session window corresponding to the first session identifier to send the application installation information corresponding to each TEE terminal to the TEE manager. In other words, Fig.10 As shown, the service provider uses a current session represented by a session ID to send the application installation information of each TEE terminal to the TEE manager, so that multiple user terminals can share the information flow to reduce duplicate transmission, improve transmission efficiency, and reduce latency.

[0176] Next, in step S414, the TEE manager determines the first encrypted application information corresponding to each TEE terminal from the pre-stored multiple encrypted application information based on the application installation information corresponding to each TEE terminal; the first encrypted application information is obtained by encrypting the first trusted application based on the first key. Generally, after receiving the application installation information corresponding to each TEE terminal, the TEE manager can search for the relevant trusted application from the pre-stored multiple encrypted application information based on the relevant information about the trusted application in the application installation information, such as version number information, so as to determine the first encrypted application information corresponding to each TEE terminal.

[0177] It should be noted that the process of pre-storing encrypted application information can refer to the description above, and will not be repeated here. Pre-storing encrypted application information can avoid multiple transmissions of encrypted application information between the TEE manager and the service provider during the installation or update of trusted applications, reducing the load on the service provider, improving transmission efficiency, and thus improving installation or update efficiency.

[0178] In step S416, the TEE manager attaches the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request, and generates a second operation request corresponding to each TEE terminal.

[0179] In step S418, the TEE manager determines the target TEE terminal group based on the application installation information corresponding to each TEE terminal. The target TEE terminal group is composed of TEE terminals corresponding to the same application installation information. Generally, the TEE manager can filter out the same application installation information from multiple application installation information; then, group the TEE terminals corresponding to the same application installation information into a group to form a target terminal group. For example, when the version numbers of the trusted applications required by TEE terminal 1 and TEE terminal 2 are the same, TEE terminal 1 and TEE terminal 2 can be grouped into one group.

[0180] In step S420, the TEE manager sends a merge operation request to the service provider, and the merge operation request includes the first session identifier, the first encrypted application information corresponding to the same application installation information, and the information of the target TEE terminal group. In this way, for multiple TEE terminals in a TEE terminal group, since they correspond to the same application installation information, the common first encrypted application information is sent to the multiple TEE terminals through the merge operation request to reduce repeated transmission, improve transmission efficiency, and reduce latency.

[0181] Next, in step S422, the service provider sends a corresponding second operation request to each TEE terminal in the target TEE terminal group according to the merge operation request.

[0182] In another embodiment, the above steps S418 to S422 may also be modified such that the TEE manager directly sends the second operation request corresponding to each TEE terminal.

[0183] Next, in step S424, the TEE terminal installs or updates the first trusted application based on the first key and the second operation request. Generally, the TEE terminal can use the first key to decrypt the first encrypted application information in the second operation request to obtain the first trusted application; thereafter, the first trusted application can be installed or updated.

[0184] In addition, after successfully installing or updating the first trusted application, the TEE terminal can feedback information about the successful installation or update to the TEE manager, service provider and / or application client, so that the TEE manager, service provider and / or application client are informed of the successful installation or update.

[0185] It can be understood that when the TEE terminal uses the first key to decrypt the first encrypted application information in the second operation request, it can also verify the signature of the TEE manager, the identity information of the TEE manager, the identity information of the service provider, etc., to improve the security of the operation.

[0186] It should be understood that steps S402-S404 in the trusted application management method may also be executed by multiple TEE terminals. For the execution process of the TEE terminal, please refer to the description above, which will not be repeated here.

[0187] From the above description, it can be seen that in the process of installing or updating trusted applications, both the TEE terminal and the service provider can monitor the application client's installation or update requirements for trusted applications, and initiate the management process of trusted applications to the TEE manager; afterward, the TEE manager obtains the encrypted application information obtained by encrypting the trusted application based on the first key generated by it, and sends the encrypted application information to the TEE terminal, which completes the installation or update operation, simplifies repeated transmissions, reduces the load on the service provider, improves transmission efficiency, and thereby improves installation or update efficiency.

[0188] In the above trusted application management process, multiple interactions are involved, including the TEE manager, service provider, and TEE terminal. The following describes the device structures of the above parties respectively.

[0189] Fig.11 FIG. 1 is a schematic block diagram of a trusted application management device provided according to an embodiment, wherein the device is deployed in a TEE management party. Fig.11 As shown, the device 500 includes:

[0190] A first operation request receiving unit 51 is configured to receive a first operation request for requesting installation or update of a first trusted application in a TEE terminal from a requester, the requester including the TEE terminal or a service provider corresponding to the first trusted application, the first operation request being generated by the requester monitoring an installation or update requirement of an application client for the first trusted application;

[0191] a synchronization unit 52, configured to synchronize the device state with the TEE terminal, thereby sending the first key thereto;

[0192] The encrypted application information obtaining unit 53 is configured to obtain first encrypted application information obtained by encrypting the first trusted application based on the first key;

[0193] A second operation request generating unit 54 is configured to attach the first encrypted application information to the first operation request to generate a second operation request;

[0194] The second operation request sending unit 55 is configured to send the second operation request to the TEE terminal, so that the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0195] In an example, the encrypted application information acquisition unit 53 may obtain the first encrypted application information as follows: send a first key to a service provider so that the service provider encrypts the first trusted application based on the first key to obtain the first encrypted application information; and receive the first encrypted application information from the service provider.

[0196] In another example, the encrypted application information obtaining unit 53 may obtain the first encrypted application information as follows: obtaining the pre-stored first encrypted application information.

[0197] Further, in one example, the encrypted application information acquisition unit 53 may store the first encrypted application information as follows: receive the first trusted application from the service provider in advance; encrypt the first trusted application using the first key to obtain the first encrypted application information; and store the first encrypted application information.

[0198] Further, in another example, the encryption application information acquisition unit 53 may store the first encryption application information as follows: receiving the first encryption application information from the service provider in advance, and storing the first encryption application information.

[0199] Fig.12 A schematic block diagram of a trusted application management system provided according to an embodiment is shown, wherein the device is deployed in a TEE management party. Fig.12 As shown, the device 600 includes:

[0200] A first operation request receiving unit 61 is configured to receive a first operation request for requesting to install or update a first trusted application in multiple TEE terminals from a requester, where the requester includes a service provider corresponding to the first trusted application or multiple TEE terminals;

[0201] A synchronization unit 62 is configured to synchronize device states with the plurality of TEE terminals, obtain device information of each TEE terminal, and send a first key to each TEE terminal;

[0202] A first message sending unit 63 is configured to send a first message to the service provider, where the first message includes device information of each TEE terminal, so that the service provider determines corresponding application installation information based on the device information of each TEE terminal;

[0203] A second message receiving unit 64 is configured to receive a second message sent by the service provider, where the second message includes application installation information corresponding to each TEE terminal;

[0204] The encrypted application information determining unit 65 is configured to determine, based on the application installation information corresponding to each TEE terminal, first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key;

[0205] The second operation request generating unit 66 is configured to attach the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request to generate a second operation request corresponding to each TEE terminal;

[0206] The second operation request sending unit 67 is configured to send the second operation request corresponding to each TEE terminal to the corresponding TEE terminal, so that the corresponding TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

[0207] In one example, the application installation information includes version information and file size information of the first trusted application.

[0208] In one example, the first message includes a first session identifier created for multiple TEE terminals; the second message includes the first session identifier.

[0209] Further, the second operation request sending unit 67 can send the second operation request as follows: based on the application installation information corresponding to each TEE terminal, determine the target TEE terminal group, the target TEE terminal group is composed of TEE terminals corresponding to the same application installation information; send a merge operation request to the service provider, the merge operation request includes a first session identifier, the first encrypted application information corresponding to the same application installation information, and information of the target TEE terminal group, so that the service provider sends a corresponding second operation request to each TEE terminal in the target TEE terminal group according to the merge operation request.

[0210] In one example, the synchronization unit 62 may perform synchronization as follows: directly synchronize device states with multiple TEE terminals respectively, or synchronize device states with multiple TEE terminals respectively through a service provider and / or an application client.

[0211] In one example, the first operation request is generated by the service provider monitoring the installation or update requirements of the application clients on multiple TEE terminals for the first trusted application; or

[0212] The first operation request is generated by the TEE terminal monitoring the application client's installation or update requirements for the first trusted application, and is sent to the service provider.

[0213] Fig.13 A schematic block diagram of a trusted application management system provided according to an embodiment is shown, wherein the device is deployed at a service provider. Fig.13 As shown, the device 700 includes:

[0214] A monitoring unit 71 is configured to monitor the application client's installation or update requirements for the first trusted application and generate a first operation request, where the first operation request is used to request the installation of the first trusted application in the TEE terminal corresponding to the application client;

[0215] A first operation request sending unit 72 is configured to send the first operation request to a trusted execution environment TEE manager;

[0216] A key receiving unit 73 is configured to receive a first key sent by the TEE manager;

[0217] an encryption unit, configured to encrypt the first trusted application based on at least a first key to obtain first encrypted application information;

[0218] The encrypted application information sending unit 74 is configured to send the first encrypted application information to the TEE manager, so that the TEE manager sends the first encrypted application information to the TEE terminal.

[0219] Fig.14 A schematic block diagram of a trusted application management system provided according to an embodiment is shown, wherein the device is deployed at a service provider. Fig.14 As shown, the device 800 includes:

[0220] A monitoring unit 81 is configured to monitor the installation or update requirements of the application clients on the multiple TEE terminals for the first trusted application, and generate a first operation request, where the first operation request is used to request the installation of the first trusted application in the multiple TEE terminals;

[0221] A first operation request sending unit 82 is configured to send the first operation request to a trusted execution environment TEE manager;

[0222] A message receiving unit 83 is configured to receive a first message sent by the TEE manager, where the first message includes device information of each TEE terminal;

[0223] A determination unit 84 is configured to determine corresponding application installation information based on device information of each TEE terminal;

[0224] The second message sending unit 85 is configured to send a second message to the TEE manager, where the second message includes application installation information corresponding to each TEE terminal, so that the TEE manager can determine the first encrypted application information corresponding to each TEE terminal from multiple pre-stored encrypted application information based on the application installation information corresponding to each TEE terminal, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key.

[0225] In one example, it also includes:

[0226] A merge operation request receiving unit (not shown), configured to receive a merge operation request sent by a TEE manager, the merge operation request including a first session identifier, first encrypted application information corresponding to the same application installation information, and information of a target TEE terminal group, wherein the target TEE terminal group is composed of TEE terminals corresponding to the same application installation information;

[0227] The second operation request sending unit (not shown) is configured to send a corresponding second operation request to each TEE terminal in the target TEE terminal group according to the merged operation request, so that each TEE terminal installs or updates the first trusted application based on the first key and the second operation request. The second operation request is generated by the TEE manager by appending the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request.

[0228] Fig.15 A schematic block diagram of a trusted application management system according to an embodiment is shown, wherein the device is deployed in a trusted execution environment TEE terminal. Fig.15 As shown, the device 500 includes:

[0229] A response unit 91 is configured to respond to a synchronization request from a trusted execution environment TEE manager, synchronize the device status with the TEE manager, and receive a first key sent by the TEE manager;

[0230] A second operation request receiving unit 92 is configured to receive a second operation request sent by the TEE manager, where the second operation request is generated by the TEE manager appending first encrypted application information corresponding to the TEE terminal to the corresponding first operation request, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key, and the first operation request is used to request to install or update the first trusted application in the TEE terminal;

[0231] The installation or update unit 93 is configured to install or update the first trusted application based on the first key and the second operation request.

[0232] In one example, it also includes:

[0233] A monitoring unit (not shown), configured to monitor the application client's installation or update requirements for the first trusted application and generate a first operation request;

[0234] The first operation request sending unit is configured to send the first operation request to the TEE manager so that the TEE manager synchronizes the device status with the TEE terminal and / or obtains the first encrypted application information.

[0235] In one example, it also includes:

[0236] The device information sending unit (not shown) is configured to send the device information of the TEE terminal to the TEE manager.

[0237] According to another aspect of the embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the method described above.

[0238] According to yet another embodiment, a computing device is provided, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described above is implemented.

[0239] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, firmware or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0240] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A trusted application management method, executed by a trusted execution environment TEE manager, comprising: Receiving a first operation request for requesting installation or update of a first trusted application in a TEE terminal from a requester, the requester including the TEE terminal or a service provider corresponding to the first trusted application, the first operation request being generated by the requester monitoring an installation or update demand of an application client for the first trusted application; Synchronize the device state with the TEE terminal, thereby sending a first key to the TEE terminal; Acquire first encrypted application information, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key; appending the first encrypted application information to the first operation request to generate a second operation request; The second operation request is sent to the TEE terminal, so that the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

2. The method according to claim 1, wherein: The obtaining of the first encrypted application information includes: Sending the first key to the service provider, so that the service provider encrypts the first trusted application based on the first key to obtain the first encrypted application information; The first encrypted application information is received from the service provider.

3. The method according to claim 1, wherein: The obtaining of the first encrypted application information includes: Obtain the first encrypted application information that is pre-stored.

4. The method according to claim 3, wherein: Before obtaining the pre-stored first encrypted application information, the method includes: receiving the first trusted application from the service provider in advance; encrypting the first trusted application using the first key to obtain the first encrypted application information; The first encrypted application information is stored.

5. The method according to claim 3, wherein: Before obtaining the pre-stored first encrypted application information, the method includes: The first encrypted application information is received in advance from the service provider, and the first encrypted application information is stored.

6. A trusted application management method, executed by a trusted execution environment TEE manager, comprising: Receiving a first operation request for requesting installation or update of a first trusted application in a plurality of TEE terminals from a requester, wherein the requester includes a service provider corresponding to the first trusted application or the plurality of TEE terminals; Synchronize device status with each of the multiple TEE terminals, obtain device information of each TEE terminal, and send a first key to each of the TEE terminals; Sending a first message to the service provider, where the first message includes device information of each TEE terminal, so that the service provider determines corresponding application installation information based on the device information of each TEE terminal; Receive a second message sent by the service provider, where the second message includes application installation information corresponding to each TEE terminal; Determine, based on the application installation information corresponding to each TEE terminal, from a plurality of pre-stored encrypted application information, first encrypted application information corresponding to each TEE terminal, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key; Attach the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request to generate a second operation request corresponding to each TEE terminal; The second operation request corresponding to each TEE terminal is sent to the corresponding TEE terminal, so that the corresponding TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

7. The method according to claim 6, wherein: The application installation information includes version information and file size information of the first trusted application.

8. The method according to claim 6, wherein: The first message includes a first session identifier created for the multiple TEE terminals; and the second message includes the first session identifier.

9. The method according to claim 8, wherein: The sending the second operation request corresponding to each TEE terminal to the corresponding TEE terminal includes: Based on the application installation information corresponding to each TEE terminal, determine a target TEE terminal group, wherein the target TEE terminal group is composed of TEE terminals corresponding to the same application installation information; Send a merge operation request to the service provider, where the merge operation request includes the first session identifier, the first encrypted application information corresponding to the same application installation information, and the information of the target TEE terminal group, so that the service provider sends a corresponding second operation request to each TEE terminal in the target TEE terminal group according to the merge operation request.

10. The method according to any one of claims 6 to 8, wherein: The synchronizing the device status with the multiple TEE terminals respectively includes: Directly synchronize device status with the multiple TEE terminals respectively, or synchronize device status with the multiple TEE terminals respectively through the service provider and / or the application client.

11. The method according to any one of claims 6 to 8, wherein: The first operation request is generated by the service provider monitoring the installation or update requirements of the application clients on the multiple TEE terminals for the first trusted application; or The first operation request is generated by the TEE terminal monitoring the application client's installation or update requirements for the first trusted application, and is sent to the service provider.

12. A trusted application management method, performed by a service provider, comprising: Monitor the application client's installation or update requirements for the first trusted application, and generate a first operation request, where the first operation request is used to request installation of the first trusted application in a TEE terminal corresponding to the application client; Sending the first operation request to the trusted execution environment TEE manager; Receive a first key sent by the TEE manager; encrypting the first trusted application based at least on the first key to obtain first encrypted application information; The first encrypted application information is sent to the TEE manager, so that the TEE manager sends the first encrypted application information to the TEE terminal.

13. A trusted application management method, performed by a service provider, comprising: Monitoring the installation or update requirements of the application clients on the multiple TEE terminals for the first trusted application, and generating a first operation request, where the first operation request is used to request the installation of the first trusted application in the multiple TEE terminals; Sending the first operation request to the trusted execution environment TEE manager; Receive a first message sent by the TEE manager, where the first message includes device information of each TEE terminal; Determine corresponding application installation information based on the device information of each TEE terminal; A second message is sent to the TEE manager, wherein the second message includes application installation information corresponding to each TEE terminal, so that the TEE manager determines, based on the application installation information corresponding to each TEE terminal, first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information, wherein the first encrypted application information is obtained by encrypting the first trusted application based on a first key.

14. The method according to claim 13, wherein: The application installation information includes version information and file size information of the first trusted application.

15. The method according to claim 13, wherein: The first message includes a first session identifier created for the multiple TEE terminals; and the second message includes the first session identifier.

16. The method according to claim 15, wherein: Also includes: Receive a merge operation request sent by the TEE manager, the merge operation request including the first session identifier, the first encrypted application information corresponding to the same application installation information, and information of a target TEE terminal group, the target TEE terminal group being composed of TEE terminals corresponding to the same application installation information; According to the merged operation request, a corresponding second operation request is sent to each TEE terminal in the target TEE terminal group, so that each TEE terminal installs or updates the first trusted application based on the first key and the second operation request, and the second operation request is generated by the TEE manager by appending the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request.

17. A trusted application management device, which is deployed on a trusted execution environment TEE management side, comprising: A first operation request receiving unit is configured to receive a first operation request for requesting installation or update of a first trusted application in a TEE terminal from a requester, wherein the requester includes the TEE terminal or a service provider corresponding to the first trusted application, and the first operation request is generated by the requester monitoring an installation or update requirement of an application client for the first trusted application; a synchronization unit, configured to synchronize a device state with the TEE terminal, thereby sending a first key to the TEE terminal; an encrypted application information acquiring unit, configured to acquire first encrypted application information, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key; A second operation request generating unit, configured to append the first encrypted application information to the first operation request to generate a second operation request; The second operation request sending unit is configured to send the second operation request to the TEE terminal, so that the TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

18. A trusted application management device, which is deployed on a trusted execution environment TEE management side, comprising: A first operation request receiving unit is configured to receive a first operation request for requesting to install or update a first trusted application in a plurality of TEE terminals from a requester, wherein the requester includes a service provider corresponding to the first trusted application or the plurality of TEE terminals; a synchronization unit, configured to perform device status synchronization with the plurality of TEE terminals respectively, obtain device information of each TEE terminal, and send a first key to each TEE terminal; A first message sending unit is configured to send a first message to the service provider, wherein the first message includes device information of each TEE terminal, so that the service provider determines corresponding application installation information based on the device information of each TEE terminal; A second message receiving unit is configured to receive a second message sent by the service provider, wherein the second message includes application installation information corresponding to each TEE terminal; an encrypted application information determining unit, configured to determine, based on the application installation information corresponding to each TEE terminal, first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information, where the first encrypted application information is obtained by encrypting the first trusted application based on the first key; A second operation request generating unit is configured to attach the first encrypted application information corresponding to each TEE terminal to the corresponding first operation request to generate a second operation request corresponding to each TEE terminal; The second operation request sending unit is configured to send the second operation request corresponding to each TEE terminal to the corresponding TEE terminal, so that the corresponding TEE terminal installs or updates the first trusted application based on the first key and the second operation request.

19. A trusted application management device, deployed at a service provider, comprising: A monitoring unit configured to monitor an application client's installation or update requirement for a first trusted application, and generate a first operation request, where the first operation request is used to request installation of the first trusted application in a TEE terminal corresponding to the application client; A first operation request sending unit, configured to send the first operation request to a trusted execution environment TEE manager; A key receiving unit, configured to receive a first key sent by the TEE manager; an encryption unit, configured to encrypt the first trusted application based on at least the first key to obtain first encrypted application information; The encrypted application information sending unit is configured to send the first encrypted application information to the TEE manager, so that the TEE manager sends the first encrypted application information to the TEE terminal.

20. A trusted application management device, deployed at a service provider, comprising: A monitoring unit, configured to monitor the installation or update requirements of application clients on multiple TEE terminals for a first trusted application, and generate a first operation request, where the first operation request is used to request the installation of the first trusted application in the multiple TEE terminals; A first operation request sending unit, configured to send the first operation request to a trusted execution environment TEE manager; A message receiving unit, configured to receive a first message sent by the TEE manager, wherein the first message includes device information of each TEE terminal; A determination unit, configured to determine corresponding application installation information based on the device information of each TEE terminal; A second message sending unit is configured to send a second message to the TEE manager, wherein the second message includes application installation information corresponding to each TEE terminal, so that the TEE manager determines the first encrypted application information corresponding to each TEE terminal from a plurality of pre-stored encrypted application information based on the application installation information corresponding to each TEE terminal, wherein the first encrypted application information is obtained by encrypting the first trusted application based on a first key.

21. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 16.

22. A computing device comprising a memory and a processor, characterized in that: The memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 16 is implemented.