# US 2021/0176217 A1 · System and method to securely broadcast a message to accelerators with switch

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

- Number: US 2021/0176217 A1
- Document ID: US20210176217A1
- Status: Published application
- Kind: A1
- Application number: 16/709,316
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Baidu USA LLC
- Applicants: Baidu USA LLC
- Inventors: YONG LIU; YUEQIANG CHENG
- Web page: https://patentgrep.com/patent/US20210176217A1

## CPC

- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- H04L 9/0822: {using key encryption key}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 12/18: for broadcast or conference {, e.g. multicast}
- H04L 49/25: Routing or path finding in a switch fabric
- G06N 5/04: Inference or reasoning models
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

According to one embodiment, a broadcast request is received from a host via a communication switch to broadcast a broadcast message to one or more DP accelerators, where the host hosts an application that initiated the broadcast request. The broadcast request includes a list of one or more public keys associated with one or more DP accelerators of a plurality of DP accelerators coupled to the communication switch. For each of the one or more DP accelerators associated with the public keys of the list, a session key for a broadcast session corresponding to the broadcast message is encrypted using one of the public key associated with the DP accelerator. The broadcast message is encrypted using the broadcast session key. The encrypted broadcast messages and the encrypted broadcast session keys are broadcast to the DP accelerators.

## Claims

### Claim 1

A computer-implemented method to broadcast a message to one or more data processing (DP) accelerators, the method comprising:
receiving a broadcast request from a host via a communication switch to broadcast a broadcast message to one or more DP accelerators, the host hosting an application that initiated the broadcast request, wherein the broadcast request includes a list of one or more public keys associated with one or more DP accelerators of a plurality of DP accelerators coupled to the communication switch;
for each of the one or more DP accelerators associated with the public keys of the list,
encrypting a session key for a broadcast session corresponding to the broadcast message using one of the public key associated with the DP accelerator, and
encrypting the broadcast message using the broadcast session key; and
broadcasting the encrypted broadcast messages and the encrypted broadcast session keys to the DP accelerators, wherein each of the DP accelerators is configured to decrypt the encrypted broadcast session key using a corresponding private key associated with the DP accelerator and to decrypt the broadcast message using the broadcast session key.

### Claim 2 (depends on 1)

The method of claim 1, wherein the DP accelerator from a plurality of DP accelerators receiving the broadcast request from the application is designated as a broadcast DP accelerator to broadcast the message.

### Claim 3 (depends on 1)

The method of claim 1, wherein the public and private keys of each DP accelerator are associated with a security key pair for the DP accelerator and the security key pair associated with the DP accelerator is a derived security key pair generated by a security unit of the DP accelerator.

### Claim 4 (depends on 1)

The method of claim 1, wherein the communication switch is coupled to each of the plurality of DP accelerators.

### Claim 5 (depends on 1)

The method of claim 1, wherein a non-designated DP accelerator of the plurality of DP accelerators receives the broadcast for the encrypted broadcast session keys but does not have a corresponding key to decrypt the encrypted broadcast session keys for generation of a broadcast session key and the non-designated DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 6 (depends on 1)

The method of claim 1, wherein the broadcast message is received by each of the DP accelerators via a communication channel associated with the DP accelerator.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more DP accelerators are designated to perform concurrently one or more data processing tasks.

### Claim 8

A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform one or more operations, the operations comprising:
receiving a broadcast request from a host via a communication switch to broadcast a broadcast message to one or more DP accelerators, the host hosting an application that initiated the broadcast request, wherein the broadcast request includes a list of one or more public keys associated with one or more DP accelerators of a plurality of DP accelerators coupled to the communication switch;
for each of the one or more DP accelerators associated with the public keys of the list,
encrypting a session key for a broadcast session corresponding to the broadcast message using one of the public key associated with the DP accelerator, and
encrypting the broadcast message using the broadcast session key; and
broadcasting the encrypted broadcast messages and the encrypted broadcast session keys to the DP accelerators, wherein each of the DP accelerators is configured to decrypt the encrypted broadcast session key using a corresponding private key associated with the DP accelerator and to decrypt the broadcast message using the broadcast session key.

### Claim 9 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the DP accelerator from a plurality of DP accelerators receiving the broadcast request from the application is designated as a broadcast DP accelerator to broadcast the message.

### Claim 10 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the public and private keys of each DP accelerator are associated with a security key pair for the DP accelerator.

### Claim 11 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the security key pair associated with the DP accelerator is a derived security key pair generated by a security unit of the DP accelerator.

### Claim 12 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein a non-designated DP accelerator of the plurality of DP accelerators receives the broadcast for the encrypted broadcast session keys but does not have a corresponding key to decrypt the encrypted broadcast session keys for generation of a broadcast session key and the non-designated DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 13 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the broadcast message is received by each of the DP accelerators via a communication channel associated with the DP accelerator.

### Claim 14 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the one or more DP accelerators are designated to perform concurrently one or more data processing tasks.

### Claim 15

A data processing system, comprising:
a processor; and
a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations, the operations including
receiving a broadcast request from a host via a communication switch to broadcast a broadcast message to one or more DP accelerators, the host hosting an application that initiated the broadcast request, wherein the broadcast request includes a list of one or more public keys associated with one or more DP accelerators of a plurality of DP accelerators coupled to the communication switch;
for each of the one or more DP accelerators associated with the public keys of the list,
encrypting a session key for a broadcast session corresponding to the broadcast message using one of the public key associated with the DP accelerator, and
encrypting the broadcast message using the broadcast session key; and
broadcasting the encrypted broadcast messages and the encrypted broadcast session keys to the DP accelerators, wherein each of the DP accelerators is configured to decrypt the encrypted broadcast session key using a corresponding private key associated with the DP accelerator and to decrypt the broadcast message using the broadcast session key.

### Claim 16 (depends on 15)

The system of claim 15, wherein the DP accelerator from a plurality of DP accelerators receiving the broadcast request from the application is designated as a broadcast DP accelerator to broadcast the message.

### Claim 17 (depends on 15)

The system of claim 15, wherein the public and private keys of each DP accelerator are associated with a security key pair for the DP accelerator.

### Claim 18 (depends on 15)

The system of claim 15, wherein the security key pair associated with the DP accelerator is a derived security key pair generated by a security unit of the DP accelerator.

### Claim 19 (depends on 15)

The system of claim 15, wherein a non-designated DP accelerator of the plurality of DP accelerators receives the broadcast for the encrypted broadcast session keys but does not have a corresponding key to decrypt the encrypted broadcast session keys for generation of a broadcast session key and the non-designated DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 20 (depends on 15)

The system of claim 15, wherein the broadcast message is received by each of the DP accelerators via a communication channel associated with the DP accelerator.

### Claim 21 (depends on 15)

The system of claim 15, wherein the one or more DP accelerators are designated to perform concurrently one or more data processing tasks.
