# US 2020/0007931 A1 · Artificial intelligence inference on protected media content in a vision processing unit

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

- Number: US 2020/0007931 A1
- Document ID: US20200007931A1
- Status: Published application
- Kind: A1
- Application number: 16/570,848
- Filed: 2019-09-13
- Published: 2020-01-02
- Earliest claimed: 2019-09-13
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Nee Shen Ho; Tong Liang Chew
- Web page: https://patentgrep.com/patent/US20200007931A1

## CPC

- H04N 21/2747: Remote storage of video programmes received via the downstream path, e.g. from the server
- H04N 21/4408: involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 20/00: Machine learning
- H04N 21/2187: Live feed
- H04N 21/2347: involving video stream encryption
- H04N 21/251: {Learning process for intelligent management, e.g. learning user preferences for recommending movies (details of learning user preferences for the retrieval of video data in a video database G06F16/739; computer systems using learning methods G06N3/08)}
- H04N 21/2541: {Rights Management (protecting software against unauthorised usage in a vending or licensing environment G06F21/10; security in data switching network management H04L41/28; security management or policies for network security H04L63/20; access security in wireless networks H04W12/08)}
- H04N 21/26613: {for generating or managing keys in general (key distribution for secret or secure communication involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] H04L9/083; network support of key management H04L63/06; key management for network security in communication control or processing H04W12/04)}
- H04N 21/41407: {embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop (constructional details of equipment or arrangements specially adapted for portable computer application G06F1/1626; arrangements specially adapted for mobile receivers in broadcast systems H04H20/57)}
- H04N 21/4405: involving video stream decryption
- H04N 21/44055: {by partially decrypting, e.g. decrypting a video stream that has been partially encrypted}
- H04N 21/4627: Rights management {associated to the content (security in data switching network management H04L41/28; security management or policies for network security H04L63/20; access security in wireless networks H04W12/08)}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/048: Activation functions
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques related to securely providing artificial intelligence inference on protected video content in a vision processing unit are discussed. Such techniques include decrypting encrypted video via a neural network processor of the vision processing unit by providing the neural network processor direct memory access to a security engine of the vision processing unit and applying a machine learning model to the decrypted video content using the neural network processor such that a host and other components of the vision processing unit do not have access to the decrypted video content.

## Claims

### Claim 1

A vision processing unit for performing artificial intelligence on protected video content comprising:
a memory buffer to store an encrypted bitstream representative of protected video content, the vision processing unit to:
receive the encrypted bitstream via the memory buffer;
decrypt the encrypted bitstream based on a digital rights management key corresponding thereto, decode the decrypted bitstream to generate video comprising at least one video frame, encrypt the video based on a local key, and store the encrypted video to the memory buffer; and
retrieve the encrypted video from the memory buffer, decrypt the encrypted video via a neural network processor of the vision processing unit based on the local key, and apply a neural network via the neural network processor to the decrypted video to generate one or more artificial intelligence parameters corresponding to the at least one video frame.

### Claim 2 (depends on 1)

The vision processing unit of claim 1, wherein the vision processing unit to decrypt the encrypted video via the neural network processor comprises an advanced encryption standard module of the neural network processor to import functionalities of a security engine of the vision processing unit via direct memory access for the security engine to perform said decryption.

### Claim 3 (depends on 2)

The vision processing unit of claim 2, wherein said decryption by the security engine is only accessible by direct memory access using a channel dedicated to advanced encryption standard modules of the vision processing unit.

### Claim 4 (depends on 3)

The vision processing unit of claim 3, wherein the neural network processor comprises a plurality of neural network sub-processors to apply the neural network, and wherein the advanced encryption standard module and the neural network sub-processors are tightly coupled such that the decrypted video is provided directly from the advanced encryption standard module to the neural network sub-processors, no other component of the vision processing unit may access the decrypted video, and the decrypted video is not stored to the memory buffer, and wherein the decrypted video is discarded after processing via the neural network sub-processors.

### Claim 5 (depends on 3)

The vision processing unit of claim 3, wherein the vision processing unit to decrypt the encrypted bitstream is performed via a video decode processor of the vision processing unit accessing functionalities of the security engine of the vision processing unit via a second direct memory access for the security engine to perform said decryption.

### Claim 6 (depends on 1)

The vision processing unit of claim 1, wherein the vision processing unit to decrypt the encrypted video via the neural network processor comprises the neural network processor to access a security engine of the vision processing unit via direct memory access, the security engine to provide the local key or data corresponding thereto to the neural network processor for the neural network processor to perform said decryption, and wherein key retrieval from the security engine is only accessible by direct memory access using a channel dedicated to one or more advanced encryption standard modules or engines of the vision processing unit.

### Claim 7 (depends on 1)

The vision processing unit of claim 1, wherein the vision processing unit to decrypt the encrypted video via the neural network processor comprises an advanced encryption standard engine of the neural network processor to perform the decryption, wherein the neural network processor to apply the neural network is performed by a plurality of neural network sub-processors of the neural network processor, and wherein the advanced encryption standard engine and the one or more neural network sub-processors are tightly coupled such that the decrypted video is provided directly from the advanced encryption standard engine to the one or more neural network sub-processors, no other component of the vision processing unit may access the decrypted video, and the decrypted video is not stored to accessible memory, and wherein the decrypted video is discarded after processing via the one or more neural network sub-processors.

### Claim 8 (depends on 7)

The vision processing unit of claim 7, wherein the vision processing unit to decrypt the encrypted bitstream is performed by a second advanced encryption standard engine of a video decode processor of the vision processing unit, wherein the vision processing unit to decode the decrypted bitstream is performed by a video decode engine of the video decode processor, and wherein the second advanced encryption standard engine and the video decode processor are tightly coupled such that the decrypted bitstream is provided directly from the second advanced encryption standard engine to the video decode engine, no other component of the vision processing unit may access the decrypted bitstream, and the decrypted bitstream is not stored to accessible memory.

### Claim 9 (depends on 1)

The vision processing unit of claim 1, wherein the memory buffer is accessible to a host communicatively coupled to the memory buffer, the host is not communicatively coupled to any other component of the vision processing unit such that the host and the vision processing unit are not communicatively coupled other than through the memory buffer, the encrypted bitstream is further stored to the memory buffer, and wherein no unencrypted data corresponding to the protected video content is stored to the memory buffer.

### Claim 10 (depends on 9)

The vision processing unit of claim 9, wherein the vision processing unit comprises an advanced encryption standard trusted execution environment having a hardware separation via the memory buffer from any process running on the host.

### Claim 11 (depends on 1)

The vision processing unit of claim 1, wherein the vision processing unit is one of a plurality of vision processing units communicatively coupled to a host, each of the vision processing units to provide an advanced encryption standard trusted execution environment for protected video content, and wherein the vision processing units and the host are implemented via a network video recorder in a single housing.

### Claim 12

A network video recorder system comprising:
a host to receive an encrypted bitstream from one of a plurality of cameras; and
a vision processing unit coupled to the host via only a memory buffer of the vision processing unit, the vision processing unit further comprising:
a security engine to decrypt the encrypted bitstream based on a digital rights management key corresponding thereto;
a video decode processor to decode the decrypted bitstream to generate video comprising at least one video frame, the security engine to encrypt the video based on a local key and to store the encrypted video to the memory buffer; and
a neural network processor to retrieve the encrypted video from the memory buffer, decrypt the encrypted video via a direct memory access to the security engine and to apply a neural network to the decrypted video to generate one or more artificial intelligence parameters corresponding to the at least one video frame.

### Claim 13 (depends on 12)

The network video recorder system of claim 12, wherein the neural network processor to decrypt the encrypted video comprises an advanced encryption standard module of the neural network processor to import functionalities of a security engine of the vision processing unit via direct memory access for the security engine to perform said decryption, wherein said import of functionalities is only accessible by direct memory access using a dedicated channel.

### Claim 14 (depends on 13)

The network video recorder system of claim 13, wherein the neural network processor comprises a plurality of neural network sub-processors to apply the neural network, and wherein the advanced encryption standard module and the neural network sub-processors are tightly coupled such that the decrypted video is provided directly from the advanced encryption standard module to the neural network sub-processors, no other component of the vision processing unit may access the decrypted video, and the decrypted video is not stored to the memory buffer, and wherein the decrypted video is discarded after processing via the neural network sub-processors.

### Claim 15 (depends on 14)

The network video recorder system of claim 14, wherein the security engine to decrypt the encrypted bitstream comprises a second advanced encryption standard module of the video decode processor to import functionalities of the security engine via a second direct memory access.

### Claim 16 (depends on 12)

The network video recorder system of claim 12, further comprising:
a plurality of second vision processing units communicatively coupled to a host, the vision processing unit and each of the second vision processing units to provide an advanced encryption standard trusted execution environment for protected video content.

### Claim 17

A method for performing artificial intelligence on protected video content comprising:
receiving, via a vision processing unit, an encrypted bitstream representative of protected video content;
decrypting the encrypted bitstream based on a digital rights management key corresponding thereto, decoding the decrypted bitstream to generate video comprising at least one video frame, encrypting the video based on a local key, and storing the encrypted video to memory; and
retrieving the encrypted video from the memory, decrypting the encrypted video via a neural network processor of the vision processing unit based on the local key, and applying a neural network via the neural network processor to the decrypted video to generate one or more artificial intelligence parameters corresponding to the at least one video frame.

### Claim 18 (depends on 17)

The method of claim 17, wherein said decrypting the encrypted video via the neural network processor comprises an advanced encryption standard module of the neural network processor to import functionalities of a security engine of the vision processing unit via direct memory access for the security engine to perform said decryption.

### Claim 19 (depends on 18)

The method of claim 18, wherein said decryption by the security engine is only accessible by direct memory access using a channel dedicated to advanced encryption standard modules of the vision processing unit.

### Claim 20 (depends on 19)

The method of claim 19, wherein said applying the neural network via the neural network processor is performed by one or more neural network sub-processors, and the advanced encryption standard module and the one or more neural network sub-processors are tightly coupled such that the decrypted video is provided directly from the advanced encryption standard module to the one or more neural network sub-processors, no other component of the vision processing unit may access the decrypted video, and the decrypted video is not stored to the memory, and wherein the decrypted video is discarded after processing via the one or more neural network sub-processors.
