High availability management method, system, terminal and medium for trusted computing device cluster

By implementing remote verification and certificate management in a cluster of trusted computing devices, the identity authentication of devices and users is ensured, the problem of the inability of existing technologies to ensure the security of data and computing tasks is solved, and a highly available and secure computing environment is achieved.

CN118300835BActive Publication Date: 2024-10-22SHENZHEN CONFIDENTIAL COMPUTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410379010.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-10-22
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

Existing cluster management technology fails to effectively support the unique functions of trusted computing devices, resulting in the inability to ensure the security of data and computing tasks.

Method used

Provides a high-availability management method for trusted computing device clusters. It obtains authentication certificates for remote verification, generates symmetric keys for encrypted communication, and performs identity verification based on user public keys and identity certificates to ensure that only verified devices and Only users can access the cluster and deploy application files based on load status to implement failover and environment configuration of new nodes.

Benefits of technology

Through remote authentication and certificate management, it is ensured that only verified devices and users can participate in computing tasks, reducing security threats, enhancing user authentication, and ensuring the security and high availability of data and computing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118300835B_ABST
    Figure CN118300835B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-availability management method, system, terminal and medium for a trusted computing device cluster. The method includes: obtaining an authentication certificate of a trusted computing device, sending the authentication certificate to a remote verification service for verification, and randomly generating a symmetric key after the verification is passed; when a user logs into a cluster management platform, obtaining a user public key, and querying an identity certificate based on the user public key, authenticating the user based on the identity certificate, and authorizing access to a trusted computing device after the user identity is passed; obtaining application files uploaded by the user, and deploying the application files based on the load status. The present invention ensures that only verified trusted devices can join the cluster and participate in computing tasks by implementing a remote authentication process, thereby reducing potential security threats. In addition, the present invention further strengthens the user identity verification process through user certificate management and signature verification, reducing the risk of theft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of trusted computing technology, and in particular to a high-availability management method, system, terminal and medium for a trusted computing device cluster. Background Art

[0002] With the advancement of computing technology, the demand for data security is growing, especially in the fields of cloud computing and big data. It is not limited to specific types of trusted computing devices, such as SPU (Secure Data Processing Coprocessor) and Intel's SGX (Software Guard Extensions), but covers a series of devices that can provide a secure execution environment, namely trusted computing devices. The clustered deployment and management of these devices are crucial for the efficient use of computing resources. However, the existing cluster management technology does not consider the support of the unique functions of trusted computing devices in its design, such as remote authentication and user certificate management, which makes it impossible to ensure the security of data and computing tasks.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a high-availability management method, system, terminal and medium for a trusted computing device cluster are provided, aiming to solve the problem that the current cluster management technology does not consider the support for the unique functions of trusted computing devices in its design, resulting in the inability to ensure the security of data and computing tasks.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a high-availability management method for a trusted computing device cluster, wherein the method is applied to a high-availability management system for a trusted computing device cluster, the system comprising at least one cluster management platform and at least one trusted computing device, the cluster management platform being used to uniformly manage the trusted computing devices, the method comprising:

[0007] Obtaining an authentication certificate of a trusted computing device, sending the authentication certificate to a remote authentication service for verification, and randomly generating a symmetric key after the verification is passed, wherein the symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform;

[0008] When a user logs in to the cluster management platform, the user public key is obtained, and the identity certificate is queried based on the user public key, the user identity is authenticated based on the identity certificate, and after the user identity is authenticated, access to the trusted computing device is authorized;

[0009] The application file uploaded by the user is obtained, and the load status of each trusted computing device in the cluster management platform is obtained, and the application file is deployed based on the load status.

[0010] In a first manner, the randomly generating a symmetric key after the verification is passed includes:

[0011] After the verification is successful, receiving a device public key of the trusted computing device sent by a remote verification service;

[0012] The symmetric key is randomly generated, and the symmetric key is encrypted using the device public key.

[0013] In a first manner, when the user logs into the cluster management platform, before obtaining the user public key, the method further includes:

[0014] Obtaining a user public key of the user, and sending the user public key to all trusted computing devices;

[0015] The identity certificate generated by each trusted computing device based on the user public key is received, and the identity certificate is stored.

[0016] In a first embodiment, the authenticating the user based on the identity certificate includes:

[0017] Generate a digital signature for a piece of data based on the user's private key in a trusted environment;

[0018] The user's identity is authenticated based on the identity certificate and the digital signature.

[0019] In a first manner, obtaining the application file uploaded by the user, obtaining the load status of each trusted computing device in the cluster management platform, and deploying the application file based on the load status includes:

[0020] Obtain application files uploaded by users, and perform security and compatibility checks on the application files;

[0021] Obtaining the load status of each trusted computing device in the cluster management platform, determining the trusted computing device with the lowest load based on the load status, and using the trusted computing device with the lowest load as the target node;

[0022] The application file is deployed to the target node, and the application information of the application file is associated with the node information corresponding to the target node, and the associated application information and node information are stored in the database of the cluster management platform.

[0023] In a first embodiment, the method further comprises:

[0024] When fault information is monitored, a fault node corresponding to the fault information is determined, wherein the fault node reflects a trusted computing device that has a fault;

[0025] Determine healthy nodes according to a load balancing algorithm, wherein the healthy nodes reflect the normally operating trusted computing devices;

[0026] Redeploy the application files of the failed node to the healthy node.

[0027] In a first embodiment, the method further comprises:

[0028] When a joining request message of a new node is received, the registration information of the new node is obtained, where the registration information includes hardware configuration information, IP address information and service information of the trusted computing device corresponding to the new node;

[0029] Based on the registration information, verify the new node, and after the verification is passed, issue a configuration file to the new node according to the configuration policy of the cluster management platform, so that the new node performs environment configuration based on the configuration file, and the environment configuration includes installing software and setting up a network;

[0030] After the new node completes the environment configuration, the node state of the new node is marked as an available state, and the node state is synchronized.

[0031] In a first manner, the cluster management platform adopts a stateless active-standby structure, including a primary platform and a standby platform, and the standby platform takes over requests when the primary platform is unavailable.

[0032] In a second aspect, an embodiment of the present invention further provides a high-availability management system for a trusted computing device cluster, wherein the system includes at least one cluster management platform and at least one trusted computing device, wherein the cluster management platform is used to uniformly manage the trusted computing devices, wherein:

[0033] The cluster management platform includes:

[0034] A device authentication module, used to obtain an authentication certificate of a trusted computing device, send the authentication certificate to a remote authentication service for verification, and randomly generate a symmetric key after the verification is passed, the symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform;

[0035] An identity authentication module, used to obtain a user public key when a user logs into the cluster management platform, query an identity certificate based on the user public key, authenticate the user based on the identity certificate, and authorize access to the trusted computing device after the user identity authentication is passed;

[0036] The application deployment module is used to obtain the application files uploaded by the user, and obtain the load status of each trusted computing device in the cluster management platform, and deploy the application files based on the load status.

[0037] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory, a processor, and a high-availability management program for a trusted computing device cluster stored in the memory and executable on the processor, and when the processor executes the high-availability management program for the trusted computing device cluster, the steps of the high-availability management method for a trusted computing device cluster of any one of the above-mentioned schemes are implemented.

[0038] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a high-availability management program for a trusted computing device cluster is stored on the computer-readable storage medium, and when the high-availability management program for the trusted computing device cluster is executed by a processor, the steps of the high-availability management method for a trusted computing device cluster described in any one of the above-mentioned schemes are implemented.

[0039] Beneficial effects: Compared with the prior art, the present invention provides a high-availability management method for a trusted computing device cluster. The present invention first obtains the authentication certificate of the trusted computing device, sends the authentication certificate to the remote verification service for verification, and randomly generates a symmetric key after the verification is passed. The symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform. Then, when the user logs in to the cluster management platform, the user's public key is obtained, and the identity certificate is queried based on the user's public key. The user is authenticated based on the identity certificate, and after the user's identity authentication is passed, the user is authorized to access the trusted computing device. Then, the application file uploaded by the user is obtained, and the load status of each trusted computing device in the cluster management platform is obtained, and the application file is deployed based on the load status. It can be seen that the present invention ensures that only verified trusted devices can join the cluster and participate in computing tasks by implementing a remote authentication process, thereby reducing potential security threats. In addition, the present invention further strengthens the user identity verification process through user certificate management and signature verification, reducing the risk of theft. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flowchart of a preferred embodiment of a high-availability management method for a trusted computing device cluster provided by an embodiment of the present invention.

[0041] Figure 2 A structural diagram of a high-availability management system for a trusted computing device cluster provided by an embodiment of the present invention.

[0042] Figure 3A principle block diagram of a cluster management platform in a high-availability management system for a trusted computing device cluster provided by an embodiment of the present invention.

[0043] Figure 4 A functional block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0045] In view of the defects existing in the prior art, this embodiment provides a high-availability management method for a trusted computing device cluster, which is applied to a high-availability management system for a trusted computing device cluster, wherein the system includes at least one cluster management platform and at least one trusted computing device, and the cluster management platform is used to uniformly manage the trusted computing devices. The trusted computing device of this embodiment is not limited to a single specific type of secure data processing coprocessor (such as SPU), but includes various trusted computing devices, such as Intel's SGX (Software Guard Extensions), etc., thereby expanding the scope of application of the present invention.

[0046] Specifically, the high availability management method of the trusted computing device cluster of this embodiment can be applied to a terminal, which can be a computer, a smart TV, a mobile phone or other intelligent product terminal. In this embodiment, the high availability management method of the trusted computing device cluster can also be applied to a cluster management platform, which can be a terminal platform, such as Figure 1 As shown in , the method comprises the following steps:

[0047] Step S100, obtaining an authentication certificate of a trusted computing device, sending the authentication certificate to a remote authentication service for verification, and randomly generating a symmetric key after the verification is passed, the symmetric key being used to encrypt the communication between the trusted computing device and the cluster management platform.

[0048] Combination Figure 2 As can be seen from the figure, the cluster management platform of this embodiment can be used to manage multiple trusted computing devices. Figure 2 The trusted computing device in the cluster is the SPU (full data processing coprocessor). The cluster management platform has functions such as remote authentication, certificate storage, application scheduling, cluster device status monitoring, cluster configuration, and ensuring high availability of applications. Figure 2Taking the SPU as an example, each SPU includes an SPU cluster submodule and an SPU system service. The SPU cluster submodule is mainly used by the SPU to monitor, synchronize operations and communicate with the cluster management platform. The SPU cluster submodule is a configurable item. When used alone, the SPU cluster submodule may not be used. The SPU cluster submodule is a system function of the SPU, which is installed and deployed in the SPU device by default. Its main functions are:

[0049] (1) Equipment monitoring: The SPU cluster submodule is responsible for synchronizing the status and performance indicators of SPU device nodes to the cluster management platform. If an SPU device fails, the cluster management service will be suspended and the cluster management platform will detect the failure information; the cluster management platform allocates SPU nodes for application deployment based on the reported performance data.

[0050] (2) Configuration and operation synchronization: The user's configuration and operation information on the cluster management platform is synchronized to the cluster management service, and the cluster management service interacts with the SPU system service to synchronize the corresponding configuration and operation;

[0051] (3) Service communication: responsible for the communication between SPU devices and cluster management platform.

[0052] In actual applications, when a trusted computing device attempts to join a cluster, it first needs to prove its identity to the cluster management platform. After identity verification, the cluster management platform will perform integrity checks on the software and hardware status of the trusted computing device to ensure that the trusted computing device has not been tampered with and is in a known safe state. Once the trusted computing device passes identity verification and integrity checks, a secure communication channel will be established between the cluster management platform and the trusted computing device to ensure the confidentiality and integrity of data transmission.

[0053] Specifically, the user selects the trusted computing device to be accessed through the cluster management platform, and the cluster management platform requests the selected trusted device to obtain an authentication certificate, which contains the device public key and other identity information. Then, the cluster management platform sends the received authentication certificate to the remote verification service for verification, so as to check the validity and trust chain of the authentication certificate through the remote verification service. After the verification is passed, the remote verification service provides the device public key to the cluster management platform. The management platform randomly generates a symmetric key and encrypts this symmetric key with the device public key. The encrypted symmetric key is sent to the trusted computing device. The trusted computing device can use its device private key to decrypt and obtain the symmetric key. Thereafter, all communications between the cluster management platform and the trusted computing device are encrypted using this symmetric key. This embodiment implements a remote authentication process to ensure that only verified trusted devices can join the cluster and participate in computing tasks, thereby reducing potential security threats.

[0054] Step S200: when a user logs in to the cluster management platform, obtain the user's public key, query the identity certificate based on the user's public key, authenticate the user based on the identity certificate, and authorize access to the trusted computing device after the user identity is authenticated.

[0055] When a user registers, a pair of public and private keys will be generated first. The user submits the user's public key to the cluster management platform. The cluster management platform distributes the user's public key to all trusted computing devices in the cluster. Each trusted computing device uses the user's public key to generate an identity certificate and returns the identity certificate to the cluster management platform. The identity certificate includes the user's public key, device information, and other verification information. The identity certificate generated by each trusted computing device based on the user's public key is received and stored for later use. The cluster management platform is responsible for managing these identity certificates and ensuring their security and accessibility.

[0056] When a user needs to access a trusted computing device in the cluster, the cluster management platform will select the corresponding identity certificate to complete the identity authentication process based on the user's choice and the availability of the device. The user uses their private key to prove that they have control over the public key in the identity certificate, thereby completing the identity authentication. Specifically, when the user logs in to the cluster management platform, the cluster management platform uses the user's public key provided by the user to query the corresponding identity certificate. The cluster management platform generates a digital signature for a piece of data based on the user's private key in a trusted environment. Then, the cluster management platform uses the digital signature and the user's identity certificate to authenticate the user, that is, to prove the user's identity to the trusted computing device. If the verification is successful, the user is authorized to log in and access the trusted computing device. It can be seen that in this embodiment, user certificate management and signature verification further strengthen the user identity verification process, protect the user's private key from being transmitted in the network, and reduce the risk of being stolen. In addition, the user registration process allows users to register in all trusted devices in the form of a pair of public and private keys, simplifying user management and trusted computing device access control. The identity certificate returned by each trusted computing device provides users with identity recognition on different trusted computing devices, enhancing the management capabilities of users.

[0057] Step S300: Acquire the application file uploaded by the user, and acquire the load status of each trusted computing device in the cluster management platform, and deploy the application file based on the load status.

[0058] The user logs in to the cluster management platform through identity authentication, and the user uploads the application file to the cluster management platform. The cluster management platform obtains the application file uploaded by the user and performs security and compatibility checks on the application file. At this time, the cluster management platform will automatically obtain the load status of each trusted computing device in the cluster, and determine the trusted computing device with the lowest load as the target node. Each trusted computing device in this embodiment is a node. This embodiment can deploy the application file to the target node and perform necessary configuration. This embodiment also associates the application information of the application file with the node information corresponding to the target node, and stores the associated application information and node information in the database of the cluster management platform. When the user is notified of the successful deployment of the application, the application access method and management guide are provided.

[0059] In other implementations, this embodiment can also set up a real-time monitoring system to detect the operating status of each node in the cluster, including CPU, memory, storage and network usage. Once a node failure is detected, the fault management module will automatically mark the node as unavailable, and deploy the tasks on the unavailable node to the healthy node for execution, and notify the administrator to perform troubleshooting. Specifically, when the cluster management platform monitors fault information, it determines the faulty node corresponding to the fault information, wherein the faulty node reflects a trusted computing device that has failed. The cluster management platform can determine a healthy node based on a load balancing algorithm, and the healthy node reflects a trusted computing device that is operating normally. The application files of the faulty node are then redeployed to the healthy node. After the deployment is complete, the cluster management platform updates the relevant information in the database to reflect the latest node information and application information.

[0060] In addition, this embodiment introduces an intelligent scheduling algorithm to dynamically allocate computing tasks based on the resource requirements and priorities of the tasks, as well as the current load and performance indicators of each node. The algorithm can ensure efficient use of resources and avoid situations where some nodes are overloaded while other nodes are idle. In other embodiments, in order to achieve high-availability protection of critical applications, users can deploy the same application instance on multiple nodes and use a distributed storage system to synchronize data to ensure that the user's service will not be interrupted when any node fails. Since all nodes in the cluster (i.e., all trusted computing devices) are uniformly managed in the resource pool, when a node fails, other nodes can take over the task and continue to work, thereby ensuring the continuous operation of the system and the availability of data.

[0061] When the cluster management platform receives the joining request information of the new node, the registration information of the new node is obtained, and the registration information includes the hardware configuration information, IP address information and service information of the trusted computing device corresponding to the new node. Then, the cluster management platform verifies the new node based on the registration information, and approves the new node to join the cluster after the verification is passed. At this time, according to the configuration policy of the cluster management platform, a configuration file can be issued to the new node so that the new node performs environmental configuration based on the configuration file, and the environmental configuration includes installing software and setting up the network. After the new node completes the environmental configuration, this embodiment can mark the node state of the new node as an available state and synchronize the node state. The new node joins the cluster monitoring system and begins to receive health checks and performance monitoring. It can be seen that this embodiment can easily expand the performance and capacity of the system by adding more nodes to adapt to the growing computing needs. This flexibility enables the cluster to cope with various complex computing tasks and environments.

[0062] The cluster management platform of this embodiment adopts a stateless active-standby structure. Figure 2 As shown in , it includes a main platform and a backup platform. The backup platform takes over the request when the main platform is unavailable to ensure the continuity of the service, so that two or more cluster management platforms can be seamlessly connected and receive and process requests at the same time. This deployment strategy improves the throughput and flexibility of the entire system. Using reverse proxy tools (such as nginx), both the main and backup platforms can receive requests and distribute the requests to different platforms. When a failure occurs and the cluster management platform needs to be switched, it is seamless for the user because both are stateless services and can provide services without difference. Both the main and backup platforms can synchronize status and data to an external database in real time, which can handle node failures without affecting the overall data availability and integrity.

[0063] Based on the above embodiments, the present invention also provides a high-availability management system for a trusted computing device cluster. The framework structure of the high-availability management system for the trusted computing device cluster is as follows: Figure 2 As shown in , it includes at least one cluster management platform and at least one trusted computing device, and the cluster management platform is used to uniformly manage the trusted computing device. Specifically, the cluster management platform is as follows Figure 3As shown in , it at least includes: a device authentication module 10, an identity verification module 20 and an application deployment module 30. The device authentication module 10 is used to obtain the authentication certificate of the trusted computing device, send the authentication certificate to the remote verification service for verification, and randomly generate a symmetric key after the verification is passed. The symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform. The identity verification module 20 is used to obtain the user's public key when the user logs into the cluster management platform, and query the identity certificate based on the user's public key, authenticate the user based on the identity certificate, and authorize access to the trusted computing device after the user identity verification is passed. The application deployment module 30 is used to obtain the application files uploaded by the user, and obtain the load status of each trusted computing device in the cluster management platform, and deploy the application files based on the load status.

[0064] The working principles of each module in the cluster management platform in the high-availability management system of the trusted computing device cluster of this embodiment are the same as the principles of each step in the above method embodiment, and will not be repeated here.

[0065] In one implementation, the device authentication module 10

[0066] A device public key receiving unit, configured to receive the device public key of the trusted computing device sent by the remote authentication service after the authentication is passed;

[0067] The symmetric key encryption unit is used to randomly generate the symmetric key and encrypt the symmetric key using the device public key.

[0068] In one implementation, the cluster management platform further includes:

[0069] A user public key sending unit, used to obtain a user public key of a user and send the user public key to all trusted computing devices;

[0070] The identity certificate storage unit is used to receive the identity certificate generated by each trusted computing device based on the user public key and store the identity certificate.

[0071] In one implementation, the identity verification module 20 includes:

[0072] Digital signature unit, used to generate a digital signature for a piece of data based on the user's private key in a trusted environment;

[0073] An identity authentication unit is used to authenticate the user based on the identity certificate and the digital signature.

[0074] In one implementation, the application deployment module 30 includes:

[0075] An application checking unit, used to obtain application files uploaded by users and perform security and compatibility checks on the application files;

[0076] A node determination unit, configured to obtain a load status of each trusted computing device in the cluster management platform, determine a trusted computing device with the lowest load based on the load status, and use the trusted computing device with the lowest load as a target node;

[0077] The application deployment unit is used to deploy the application file to the target node, associate the application information of the application file with the node information corresponding to the target node, and store the associated application information and node information in the database of the cluster management platform.

[0078] In one implementation, the cluster management platform further includes:

[0079] A fault node determination unit, configured to determine a fault node corresponding to the fault information when fault information is monitored, wherein the fault node reflects a trusted computing device that has a fault;

[0080] A healthy node determination unit, applying a load balancing algorithm to determine a healthy node, wherein the healthy node reflects a normally operating trusted computing device;

[0081] The application file migration unit is used to redeploy the application files of the failed node to the healthy node.

[0082] In one implementation, the cluster management platform further includes:

[0083] A new node receiving unit, configured to obtain registration information of the new node upon receiving a joining request from the new node, wherein the registration information includes hardware configuration information, IP address information and service information of the trusted computing device corresponding to the new node;

[0084] A new node configuration unit, configured to verify the new node based on the registration information, and after the verification is passed, send a configuration file to the new node according to the configuration policy of the cluster management platform, so that the new node performs environment configuration based on the configuration file, and the environment configuration includes installing software and setting up a network;

[0085] A status marking unit is used to mark the node status of the new node as an available status after the new node completes the environment configuration, and synchronize the node status to the cluster management platform.

[0086] In one implementation, the cluster management platform adopts a stateless active-standby structure, including a primary platform and a standby platform, and the standby platform takes over requests when the primary platform is unavailable.

[0087] Based on the above embodiment, the present invention further provides a terminal, the principle block diagram of the terminal can be as follows: Figure 4 The terminal may include one or more processors 100 ( Figure 4 Only one is shown in the figure), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100, for example, a high-availability management program for a trusted computing device cluster. When one or more processors 100 execute the computer program 102, the various steps in the embodiment of the high-availability management method for a trusted computing device cluster can be implemented. Alternatively, when one or more processors 100 execute the computer program 102, the functions of the various modules / units in the embodiment of the high-availability management method for a trusted computing device cluster can be implemented, which is not limited here.

[0088] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0089] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0090] Those skilled in the art will understand that Figure 4The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0091] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A high availability management method for a trusted computing device cluster, characterized in that: The method is applied to a high-availability management system of a trusted computing device cluster, the system comprising at least one cluster management platform and at least one trusted computing device, the cluster management platform being used to uniformly manage the trusted computing devices, the method comprising: Obtaining an authentication certificate of a trusted computing device, sending the authentication certificate to a remote authentication service for verification, and randomly generating a symmetric key after the verification is passed, wherein the symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform; When a user logs in to the cluster management platform, the user public key is obtained, and the identity certificate is queried based on the user public key, the user identity is authenticated based on the identity certificate, and after the user identity is authenticated, access to the trusted computing device is authorized; The application file uploaded by the user is obtained, and the load status of each trusted computing device in the cluster management platform is obtained, and the application file is deployed based on the load status.

2. The high availability management method of a trusted computing device cluster according to claim 1, characterized in that: The randomly generating a symmetric key after the verification is passed includes: After the verification is successful, receiving a device public key of the trusted computing device sent by a remote verification service; The symmetric key is randomly generated, and the symmetric key is encrypted using the device public key.

3. The high availability management method for a trusted computing device cluster according to claim 1, characterized in that: When the user logs in to the cluster management platform, before obtaining the user public key, the method further includes: Obtaining a user public key of the user, and sending the user public key to all trusted computing devices; The identity certificate generated by each trusted computing device based on the user public key is received, and the identity certificate is stored.

4. The high availability management method for a trusted computing device cluster according to claim 3, characterized in that: The authenticating the user based on the identity certificate comprises: Generate a digital signature for a piece of data based on the user's private key in a trusted environment; The user's identity is authenticated based on the identity certificate and the digital signature.

5. The high availability management method for a trusted computing device cluster according to claim 1, characterized in that: The obtaining of the application file uploaded by the user, and obtaining the load status of each trusted computing device in the cluster management platform, and deploying the application file based on the load status, includes: Obtain application files uploaded by users, and perform security and compatibility checks on the application files; Obtaining the load status of each trusted computing device in the cluster management platform, determining the trusted computing device with the lowest load based on the load status, and using the trusted computing device with the lowest load as the target node; The application file is deployed to the target node, and the application information of the application file is associated with the node information corresponding to the target node, and the associated application information and node information are stored in the database of the cluster management platform.

6. The high availability management method for a trusted computing device cluster according to claim 1, characterized in that: The method further comprises: When fault information is monitored, a fault node corresponding to the fault information is determined, wherein the fault node reflects a trusted computing device that has a fault; Determine healthy nodes according to a load balancing algorithm, wherein the healthy nodes reflect the normally operating trusted computing devices; Redeploy the application files of the failed node to the healthy node.

7. The high availability management method for a trusted computing device cluster according to claim 1, characterized in that: The method further comprises: When a joining request message of a new node is received, the registration information of the new node is obtained, where the registration information includes hardware configuration information, IP address information and service information of the trusted computing device corresponding to the new node; Based on the registration information, verify the new node, and after the verification is passed, issue a configuration file to the new node according to the configuration policy of the cluster management platform, so that the new node performs environment configuration based on the configuration file, and the environment configuration includes installing software and setting up a network; After the new node completes the environment configuration, the node state of the new node is marked as an available state, and the node state is synchronized.

8. The high availability management method for a trusted computing device cluster according to claim 1, characterized in that: The cluster management platform adopts a stateless master-slave structure, including a master platform and a backup platform. The backup platform takes over requests when the master platform is unavailable.

9. A high availability management system for a trusted computing device cluster, characterized in that: The system includes at least one cluster management platform and at least one trusted computing device, wherein the cluster management platform is used to uniformly manage the trusted computing device, The cluster management platform includes: A device authentication module, used to obtain an authentication certificate of a trusted computing device, send the authentication certificate to a remote authentication service for verification, and randomly generate a symmetric key after the verification is passed, the symmetric key is used to encrypt the communication between the trusted computing device and the cluster management platform; An identity authentication module, used to obtain a user public key when a user logs into the cluster management platform, query an identity certificate based on the user public key, authenticate the user based on the identity certificate, and authorize access to the trusted computing device after the user identity authentication is passed; The application deployment module is used to obtain the application files uploaded by the user, and obtain the load status of each trusted computing device in the cluster management platform, and deploy the application files based on the load status.

10. A terminal, characterized in that: The terminal includes a memory, a processor, and a high-availability management program for a trusted computing device cluster stored in the memory and executable on the processor. When the processor executes the high-availability management program for the trusted computing device cluster, the steps of the high-availability management method for a trusted computing device cluster as described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a high-availability management program for a trusted computing device cluster. When the high-availability management program for a trusted computing device cluster is executed by a processor, the steps of the high-availability management method for a trusted computing device cluster as described in any one of claims 1 to 8 are implemented.