# US 2021/0176070 A1 · System and method to securely broadcast a message to accelerators using virtual channels 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/0176070 A1
- Document ID: US20210176070A1
- Status: Published application
- Kind: A1
- Application number: 16/709,020
- 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/US20210176070A1

## CPC

- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- 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/0869: {involving random numbers or seeds}
- 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 45/586: of virtual routers
- 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

Embodiments disclose systems and methods to broadcast a message among virtual DP accelerators (DPAs). In one embodiment, in response to receiving a broadcast instruction from an application via a communication switch, the broadcast instruction designating one or more virtual DP accelerators of a plurality of virtual DP accelerators to receive a broadcast message, a system encrypts the broadcast message based on a broadcast session key for a broadcast communication session. The system determines one or more public keys of one or more security key pairs each associated with one of the designated virtual DP accelerators. The system encrypts a plurality of the broadcast session key based on the determined one or more public keys. The system broadcasts the encrypted broadcast message, and the one or more encrypted broadcast session keys to the virtual DP accelerators.

## Claims

### Claim 1

A computer-implemented method to broadcast a message to one or more virtual data processing (DP) accelerators, the method comprising:
receiving a broadcast instruction via a communication switch from an application hosted by a host, to send a broadcast message to one or more of a plurality of virtual DP accelerators, each virtual DP accelerator communicating through a virtual communication channel;
encrypting the broadcast message using a broadcast session key associated with a broadcast communication session;
determining one or more public keys of one or more security key pairs, each security key pair being associated with one of the one or more virtual DP accelerators;
encrypting the broadcast session key using each of the determined public keys, generating one or more encrypted broadcast session keys corresponding to the one or more virtual DP accelerators; and
broadcasting the encrypted broadcast message, and the one or more encrypted broadcast session keys to the virtual DP accelerators, wherein each of the virtual DP accelerators decrypts the encrypted broadcast session key using a corresponding private key associated with the virtual DP accelerator, wherein the message is decrypted based on the broadcast session key.

### Claim 2 (depends on 1)

The method of claim 1, wherein the virtual DP accelerator receiving the broadcast instruction is a broadcast virtual DP accelerator selected by the application to broadcast the message.

### Claim 3 (depends on 1)

The method of claim 1, wherein the public and private keys of each virtual DP accelerator are associated with a security key pair for the virtual DP accelerator and the security key pair is a derived security key 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 a plurality of DP accelerators via a physical communication channel corresponding to the DP accelerator.

### Claim 5 (depends on 1)

The method of claim 1, wherein each physical communication channel is divided into a plurality of virtual communication channels based on the number of virtual DP accelerators configured for the DP accelerator.

### Claim 6 (depends on 1)

The method of claim 1, wherein a non-designated virtual DP accelerator of the plurality of virtual 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 virtual DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more designated virtual DP accelerators are 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 instruction via a communication switch from an application hosted by a host, to send a broadcast message to one or more of a plurality of virtual DP accelerators, each virtual DP accelerator communicating through a virtual communication channel;
encrypting the broadcast message using a broadcast session key associated with a broadcast communication session;
determining one or more public keys of one or more security key pairs, each security key pair being associated with one of the one or more virtual DP accelerators;
encrypting the broadcast session key using each of the determined public keys, generating one or more encrypted broadcast session keys corresponding to the one or more virtual DP accelerators; and
broadcasting the encrypted broadcast message, and the one or more encrypted broadcast session keys to the virtual DP accelerators, wherein each of the virtual DP accelerators decrypts the encrypted broadcast session key using a corresponding private key associated with the virtual DP accelerator, wherein the message is decrypted based on the broadcast session key.

### Claim 9 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the virtual DP accelerator receiving the broadcast instruction is a broadcast virtual DP accelerator selected by the application 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 virtual DP accelerator are associated with a security key pair for the virtual DP accelerator and the security key pair is a derived security key generated by a security unit of the DP accelerator.

### Claim 11 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the communication switch is coupled to each of a plurality of DP accelerators via a physical communication channel corresponding to the DP accelerator.

### Claim 12 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein each physical communication channel is divided into a plurality of virtual communication channels based on the number of virtual DP accelerators configured for the DP accelerator.

### Claim 13 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein a non-designated virtual DP accelerator of the plurality of virtual 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 virtual DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 14 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the one or more designated virtual DP accelerators are 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 instruction via a communication switch from an application hosted by a host, to send a broadcast message to one or more of a plurality of virtual DP accelerators, each virtual DP accelerator communicating through a virtual communication channel,
encrypting the broadcast message using a broadcast session key associated with a broadcast communication session,
determining one or more public keys of one or more security key pairs, each security key pair being associated with one of the one or more virtual DP accelerators,
encrypting the broadcast session key using each of the determined public keys, generating one or more encrypted broadcast session keys corresponding to the one or more virtual DP accelerators, and
broadcasting the encrypted broadcast message, and the one or more encrypted broadcast session keys to the virtual DP accelerators, wherein each of the virtual DP accelerators decrypts the encrypted broadcast session key using a corresponding private key associated with the virtual DP accelerator, wherein the message is decrypted based on the broadcast session key.

### Claim 16 (depends on 15)

The system of claim 15, wherein the virtual DP accelerator receiving the broadcast instruction is a broadcast virtual DP accelerator selected by the application to broadcast the message.

### Claim 17 (depends on 15)

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

### Claim 18 (depends on 15)

The system of claim 15, wherein the communication switch is coupled to each of a plurality of DP accelerators via a physical communication channel corresponding to the DP accelerator.

### Claim 19 (depends on 15)

The system of claim 15, wherein each physical communication channel is divided into a plurality of virtual communication channels based on the number of virtual DP accelerators configured for the DP accelerator.

### Claim 20 (depends on 15)

The system of claim 15, wherein a non-designated virtual DP accelerator of the plurality of virtual 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 virtual DP accelerator has no access to the broadcast session key to decrypt the broadcast message for the communication session.

### Claim 21 (depends on 15)

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