# US 2021/0067338 A1 · Providing high availability computing service by issuing a certificate

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0067338 A1
- Document ID: US20210067338A1
- Status: Published application
- Kind: A1
- Application number: 17/035,415
- Filed: 2020-09-28
- Published: 2021-03-04
- Earliest claimed: 2019-08-29
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Chaofan Yu; Lei Wang; Aihui Zhou; Ning Zhang; Hongliang Tian; Junxian Xiao
- Web page: https://patentgrep.com/patent/US20210067338A1

## CPC

- H04L 9/321: {involving a third party or a trusted authority}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/606: {by securing the transmission between two devices or processes}
- H04L 9/006: {involving public key infrastructure [PKI] trust models (network architecture or network communication protocol for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0838: {Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these (network architectures or network communication protocols for key exchange in a packet data network H04L63/061)}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3265: {using certificate chains, trees or paths; Hierarchical trust model}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 63/126: {the source of the received data}
- H04L 63/166: {at the transport layer}
- H04L 63/168: {above the transport layer}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure relates to providing a high availability computing service in a distributed system. In one aspect, a method includes sending, by a computing unit of multiple computing units that are each executing a respective copy of a computing task, a certificate request to a trusted certificate generator. The request includes authentication information. The authentication information includes a code hash of the computing task. The computing unit receives a certificate report including a public key certificate in a certificate chain generated for the code hash and a private key corresponding to the public key certificate. The public key certificate and the private key form a certificate pair. The certificate chain includes multiple certificates including the public key certificate and a root certificate corresponding to the public key certificate. The computing unit is used as a TLS server. The certificate pair is set as a certificate pair of the TLS server.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

A computer-implemented method for distributing a certificate to a trusted computing unit, the method comprising:
receiving, by a trusted certificate generator, a first certificate request from a first computing unit running a first computing task, wherein a plurality of copies of the first computing task are executed by a plurality of computing units, the first computing unit is one of the plurality of computing units, the first certificate request comprises first authentication information comprising a first code hash of the first computing task;
performing, by the trusted certificate generator, authentication on the first computing unit based on the first authentication information;
in response to authenticating the first computing unit based on the first authentication information, obtaining, by the trusted certificate generator, a first certificate chain and a first private key that are generated for the first code hash, wherein the first certificate chain comprises a first root certificate and a corresponding first public key certificate, and the first public key certificate matches the first private key to form a first certificate pair; and
sending, by the trusted certificate generator, a first certificate report to the first computing unit, wherein the first certificate report comprises the first certificate pair, thereby enabling the first computing unit to use itself as a transport layer security (TLS) server and to use the first certificate pair as a certificate pair of the TLS server.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the first authentication information is an authentication result file authenticated by a third-party authentication institution, and the authentication result file comprises signature information of the third-party authentication institution; and
performing authentication on the first computing unit based on the first authentication information comprises verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 18 (depends on 16)

The computer-implemented method of claim 16, wherein the first authentication information is a unit report file generated by the first computing unit, and the unit report file comprises the first code hash and signature information of the first computing unit; and
performing authentication on the first computing unit based on the first authentication information comprises:
sending the unit report file to a third-party authentication institution to obtain an authentication result file, wherein the authentication result file comprises signature information of the third-party authentication institution; and
verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, wherein obtaining the first certificate chain and the first private key that are generated for the first code hash comprises:
determining whether there is a generated first certificate chain corresponding to the first code hash; and
when there is a generated first certificate chain corresponding to the first code hash, reading the generated first certificate chain; or
when there is no generated first certificate chain corresponding to the first code hash, generating the first certificate chain for the first code hash.

### Claim 20 (depends on 16)

The computer-implemented method of claim 16, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by the trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises a second public key generated for the first code hash and second signature information signed by the trusted certificate generator, and the second public key is used to verify the first signature information and the second signature information.

### Claim 21 (depends on 16)

The computer-implemented method of claim 16, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by the trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises the first public key and second signature information signed by the trusted certificate generator, and the first public key is used to verify the first signature information and the second signature information.

### Claim 22 (depends on 16)

The computer-implemented method of claim 16, wherein before the receiving the first certificate request from the first computing unit running the first computing task, the method further comprises performing key negotiation with the first computing unit to establish a trusted channel, wherein the trusted channel is used to receive the first certificate request and send the first certificate report.

### Claim 23

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving a first certificate request from a first computing unit running a first computing task, wherein a plurality of copies of the first computing task are executed by a plurality of computing units, the first computing unit is one of the plurality of computing units, the first certificate request comprises first authentication information comprising a first code hash of the first computing task;
performing authentication on the first computing unit based on the first authentication information;
in response to authenticating the first computing unit based on the first authentication information, obtaining a first certificate chain and a first private key that are generated for the first code hash, wherein the first certificate chain comprises a first root certificate and a corresponding first public key certificate, and the first public key certificate matches the first private key to form a first certificate pair; and
sending a first certificate report to the first computing unit, wherein the first certificate report comprises the first certificate pair, thereby enabling the first computing unit to use itself as a transport layer security (TLS) server and to use the first certificate pair as a certificate pair of the TLS server.

### Claim 24 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein the first authentication information is an authentication result file authenticated by a third-party authentication institution, and the authentication result file comprises signature information of the third-party authentication institution; and
performing authentication on the first computing unit based on the first authentication information comprises verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 25 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein the first authentication information is a unit report file generated by the first computing unit, and the unit report file comprises the first code hash and signature information of the first computing unit; and
performing authentication on the first computing unit based on the first authentication information comprises:
sending the unit report file to a third-party authentication institution to obtain an authentication result file, wherein the authentication result file comprises signature information of the third-party authentication institution; and
verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 26 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein obtaining the first certificate chain and the first private key that are generated for the first code hash comprises:
determining whether there is a generated first certificate chain corresponding to the first code hash; and
when there is a generated first certificate chain corresponding to the first code hash, reading the generated first certificate chain; or
when there is no generated first certificate chain corresponding to the first code hash, generating the first certificate chain for the first code hash.

### Claim 27 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by a trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises a second public key generated for the first code hash and second signature information signed by the trusted certificate generator, and the second public key is used to verify the first signature information and the second signature information.

### Claim 28 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by the trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises the first public key and second signature information signed by the trusted certificate generator, and the first public key is used to verify the first signature information and the second signature information.

### Claim 29 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein before the receiving the first certificate request from the first computing unit running the first computing task, the operations comprising performing key negotiation with the first computing unit to establish a trusted channel, wherein the trusted channel is used to receive the first certificate request and send the first certificate report.

### Claim 30

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
receiving a first certificate request from a first computing unit running a first computing task, wherein a plurality of copies of the first computing task are executed by a plurality of computing units, the first computing unit is one of the plurality of computing units, the first certificate request comprises first authentication information comprising a first code hash of the first computing task;
performing authentication on the first computing unit based on the first authentication information;
in response to authenticating the first computing unit based on the first authentication information, obtaining a first certificate chain and a first private key that are generated for the first code hash, wherein the first certificate chain comprises a first root certificate and a corresponding first public key certificate, and the first public key certificate matches the first private key to form a first certificate pair; and
sending a first certificate report to the first computing unit, wherein the first certificate report comprises the first certificate pair, thereby enabling the first computing unit to use itself as a transport layer security (TLS) server and to use the first certificate pair as a certificate pair of the TLS server.

### Claim 31 (depends on 30)

The computer-implemented system of claim 30, wherein the first authentication information is an authentication result file authenticated by a third-party authentication institution, and the authentication result file comprises signature information of the third-party authentication institution; and
performing authentication on the first computing unit based on the first authentication information comprises verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 32 (depends on 30)

The computer-implemented system of claim 30, wherein the first authentication information is a unit report file generated by the first computing unit, and the unit report file comprises the first code hash and signature information of the first computing unit; and
performing authentication on the first computing unit based on the first authentication information comprises:
sending the unit report file to a third-party authentication institution to obtain an authentication result file, wherein the authentication result file comprises signature information of the third-party authentication institution; and
verifying the signature information, and in response to determining that the verification succeeds, determining that the authentication on the first computing unit succeeds.

### Claim 33 (depends on 30)

The computer-implemented system of claim 30, wherein obtaining the first certificate chain and the first private key that are generated for the first code hash comprises:
determining whether there is a generated first certificate chain corresponding to the first code hash; and
when there is a generated first certificate chain corresponding to the first code hash, reading the generated first certificate chain; or
when there is no generated first certificate chain corresponding to the first code hash, generating the first certificate chain for the first code hash.

### Claim 34 (depends on 30)

The computer-implemented system of claim 30, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by a trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises a second public key generated for the first code hash and second signature information signed by the trusted certificate generator, and the second public key is used to verify the first signature information and the second signature information.

### Claim 35 (depends on 30)

The computer-implemented system of claim 30, wherein the first public key certificate comprises a first public key generated for the first code hash and first signature information signed by the trusted certificate generator, the first public key and the first private key form a key pair, the first root certificate comprises the first public key and second signature information signed by the trusted certificate generator, and the first public key is used to verify the first signature information and the second signature information.

### Claim 36 (depends on 30)

The computer-implemented system of claim 30, wherein before the receiving the first certificate request from the first computing unit running the first computing task, the operations comprising performing key negotiation with the first computing unit to establish a trusted channel, wherein the trusted channel is used to receive the first certificate request and send the first certificate report.
