# US 2026/0099585 A1 · Data processing method and apparatus, and computer-readable storage medium

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

- Number: US 2026/0099585 A1
- Document ID: US20260099585A1
- Status: Published application
- Kind: A1
- Application number: 19/417,628
- Filed: 2025-12-12
- Published: 2026-04-09
- Earliest claimed: 2023-06-14
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiangyi Xu; Yongzheng Wu; Chenyu Wang; Qishen Cai; Yier Jin; Zili Kou
- Web page: https://patentgrep.com/patent/US20260099585A1

## CPC

- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure provides a data processing method and apparatus, and a computer-readable storage medium, which may be applied to a computing device. A hardware resource of the computing device is divided into an REE side and a TEE side. The TEE side includes one or more containers. The method includes the following steps: A processor of the computing device obtains to-be-processed data on the REE side; and then runs a first container on the TEE side to process the to-be-processed data, where the first container is any one of the one or more containers included on the TEE side. According to the method, a risk of a container being attacked by an attacker can be reduced, and security of the container is improved, to improve security of user data in the container.

## Claims

### Claim 1

A data processing method, applied to a computing device, wherein a hardware resource of the computing device is divided into a rich execution environment (REE) side and a trusted execution environment TEE side, the TEE side comprises one or more containers, and the method comprises:
obtaining, by a processor of the computing device, to-be-processed data on the REE side; and
running, by the processor, a first container on the TEE side to process the to-be-processed data, wherein the first container is any one of the one or more containers comprised on the TEE side.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the TEE side comprises one or more virtual machines VM, and each of the one or more VMs comprises at least one of the one or more containers.

### Claim 3 (depends on 1)

The method according to claim 1, wherein
obtaining, by the processor, the to-be-processed data on the REE side comprises: obtaining, by the processor, encrypted to-be-processed data on the REE side; and
before running, by the processor, the first container on the TEE side to process the to-be-processed data, the method further comprises:
obtaining, by the processor on the TEE side, a decryption key stored on the TEE side; and
decrypting, by the processor, the encrypted to-be-processed data on the TEE side by using the decryption key, to obtain the to-be-processed data.

### Claim 4 (depends on 1)

The method according to claim 1, wherein running, by the processor, the first container on the TEE side comprises:
when determining that the first container is a secure container, running, by the processor, the first container on the TEE side.

### Claim 5 (depends on 1)

The method according to claim 1, wherein running, by the processor, the first container on the TEE side comprises:
when determining that the computing device is a secure device, running, by the processor, the first container on the TEE side.

### Claim 6 (depends on 1)

The method according to claim 1, wherein before obtaining, by the processor, the to-be-processed data on the REE side, the method further comprises:
obtaining, by the processor, configuration information of the one or more to-be-created VMs on the REE side;
creating, by the processor, the one or more VMs on the TEE side based on the configuration information;
obtaining, by the processor, an image of the first container on the REE side;
obtaining, by the processor on the REE side, an identifier of a first VM used to create the first container, wherein the first VM belongs to the one or more VMs; and
creating, by the processor on the TEE side, the first container in the first VM based on the identifier of the first VM and the image of the first container.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the method further comprises:
obtaining, by the processor, a first management command for a life cycle of the first container on the REE side; and
performing, by the processor on the first container on the TEE side based on the first management command, one or any combination of the following operations: starting the first container, stopping the first container, removing the first container, migrating the first container, viewing the image of the first container, and removing the image of the first container.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
obtaining, by the processor, a second management command for the first container on the REE side; and
performing, by the processor on the first container on the TEE side based on the second management command, one or any combination of the following operations: installing an application, starting the application, closing the application, upgrading the application, uninstalling the application, and migrating the application.

### Claim 9 (depends on 1)

The method according to claim 1, wherein a container runtime and a first virtual machine monitor are deployed on the REE side, a second virtual machine monitor is deployed on the TEE side, a container agent module is deployed in the VM to which the first container belongs, the processor runs the container runtime and the first virtual machine monitor to collaboratively perform an operation performed by the processor on the REE side, and the processor runs the second virtual machine monitor and the container agent module to collaboratively perform an operation performed by the processor on the TEE side.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the VM to which the first container belongs comprises a virtualized input/output VirtIO front-end driver, the first virtual machine monitor comprises a VirtIO back-end driver, and the method further comprises:
running, by the processor, the VirtIO front-end driver and the VirtIO back-end driver to collaboratively simulate a virtualized I/O device for use by the first container.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the TEE side comprises a first memory used for data transmission between the VirtIO front-end driver and the VirtIO back-end driver, the REE side comprises a second memory, a memory synchronization module is deployed on the second virtual machine monitor, and the memory synchronization module comprises a mapping relationship between the first memory and the second memory; and
the method further comprises:
running, by the processor, the memory synchronization module, to synchronize first data in the first memory to the second memory based on the mapping relationship between the first memory and the second memory, wherein the first data is data that needs to be sent by the VirtIO front-end driver to the VirtIO back-end driver; or
running, by the processor, the memory synchronization module, to synchronize second data in the second memory to the first memory based on the mapping relationship between the first memory and the second memory, wherein the second data is data that needs to be received by the VirtIO front-end driver from the VirtIO back-end driver.

### Claim 12

A computing device, wherein the computing device comprises a processor and a storage, and the processor of the computing device is configured to execute instructions stored in the storage of the computing device, so that the computing device is caused to:
obtain, by a processor of the computing device, to-be-processed data on the REE side; and
run, by the processor, a first container on the TEE side to process the to-be-processed data, wherein the first container is any one of the one or more containers comprised on the TEE side.

### Claim 13 (depends on 12)

The computing device according to claim 12, wherein the TEE side comprises one or more virtual machines VM, and each of the one or more VMs comprises at least one of the one or more containers.

### Claim 14 (depends on 12)

The computing device according to claim 12, wherein
obtain, by the processor, the to-be-processed data on the REE side comprises: obtaining, by the processor, encrypted to-be-processed data on the REE side; and
before running, by the processor, the first container on the TEE side to process the to-be-processed data, the method further comprises:
obtaining, by the processor on the TEE side, a decryption key stored on the TEE side; and
decrypting, by the processor, the encrypted to-be-processed data on the TEE side by using the decryption key, to obtain the to-be-processed data.

### Claim 15 (depends on 12)

The computing device according to claim 12, wherein run, by the processor, the first container on the TEE side comprises:
when determining that the first container is a secure container, running, by the processor, the first container on the TEE side.

### Claim 16

A non-transitory computer-readable storage medium, comprising computer program instructions, wherein when the computer program instructions are executed by a computing device, the computing device is caused to:
obtain, by a processor of the computing device, to-be-processed data on the REE side; and
run, by the processor, a first container on the TEE side to process the to-be-processed data, wherein the first container is any one of the one or more containers comprised on the TEE side.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium according to claim 16, wherein the TEE side comprises one or more virtual machines VM, and each of the one or more VMs comprises at least one of the one or more containers.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium according to claim 16, wherein
obtain, by the processor, the to-be-processed data on the REE side comprises: obtaining, by the processor, encrypted to-be-processed data on the REE side; and
before running, by the processor, the first container on the TEE side to process the to-be-processed data, the method further comprises:
obtaining, by the processor on the TEE side, a decryption key stored on the TEE side; and
decrypting, by the processor, the encrypted to-be-processed data on the TEE side by using the decryption key, to obtain the to-be-processed data.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium according to claim 16, wherein run, by the processor, the first container on the TEE side comprises:
when determining that the first container is a secure container, running, by the processor, the first container on the TEE side.
