# US 2025/0167985 A1 · Method, apparatus, device and medium for processing genetic data

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

- Number: US 2025/0167985 A1
- Document ID: US20250167985A1
- Status: Published application
- Kind: A1
- Application number: 18/839,265
- Filed: 2023-06-07
- Published: 2025-05-22
- Earliest claimed: 2022-06-22
- Assignees: Douyin Vision (Beijing) Co., Ltd.
- Applicants: Douyin Vision (Beijing) Co., Ltd.
- Inventors: Xiaoguang LI; Ledian LIU; Bing DUAN; Fan LIN
- Web page: https://patentgrep.com/patent/US20250167985A1

## CPC

- 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/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods, apparatuses, devices, and media are provided for processing genetic data. In a method, in a normal execution environment in a data processing system, ciphertext of genetic data is received from a data providing system via a public channel between the normal execution environment and the data providing system. In a trusted execution environment in the data processing system, a key for decrypting the ciphertext of the genetic data is received from the data providing system via a secure channel between the trusted execution environment and the data providing system. In the trusted execution environment, the ciphertext of the genetic data is decrypted using the key to obtain plaintext of the genetic data. In the trusted execution environment, the plaintext of the genetic data is processed to determine a processing result of the genetic data. The genetic data may be processed in a safe and reliable trusted execution environment.

## Claims

### Claim 1

A method for processing genetic data, comprises:
receiving, in a normal execution environment in a data processing system, ciphertext of genetic data from a data providing system via a public channel between the normal execution environment and the data providing system;
in a trusted execution environment in the data processing system,
receiving, a key for decrypting the ciphertext of the genetic data, from the data providing system via a secure channel between the trusted execution environment and the data providing system;
decrypting the ciphertext of the genetic data using the key to obtain plaintext of the genetic data; and
processing the plaintext of the genetic data to determine a processing result of the genetic data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising: in the trusted execution environment,
receiving from the data providing system a first key generated based on first data; and
determining a shared key of the secure channel based on the first key and second data in the trusted execution environment.

### Claim 3 (depends on 2)

The method of claim 2, further comprising: in the trusted execution environment, sending the second key to the data providing system, so that the data providing system generates the shared key of the secure channel via the first data and the received second key.

### Claim 4 (depends on 3)

The method of claim 3, further comprising: in the trusted execution environment,
generating, based on a root certificate of the trusted execution environment, an authentication certificate associated with an authentication private key of the trusted execution environment; and
sending the authentication certificate to the data providing system, so that the data providing system authenticates the data processing system based on the authentication certificate.

### Claim 5 (depends on 4)

The method of claim 4, further comprising: in the trusted execution environment,
determining configuration information of the trusted execution environment and signature data of a hash value associated with the first key and the second key based on the authentication private key; and
sending the signature data to the data providing system so that the data providing system authenticates the data processing system based on the authentication certificate and the signature data.

### Claim 6 (depends on 5)

The method of claim 5, further comprising: in the trusted execution environment,
receiving an indication from the data providing system, the indication being sent in response to the data providing system successfully authenticating the data processing system; and
confirming that the secure channel is established between the trusted execution environment and the data providing system based on the indication.

### Claim 7 (depends on 2)

The method of claim 2, wherein receiving the key via the secure channel comprises: in the trusted execution environment,
receiving ciphertext of the key from the data providing system, the ciphertext of the key being encrypted using the shared key; and
decrypting the received ciphertext of the key using the shared key to obtain plaintext of the key.

### Claim 8 (depends on 7)

The method of claim 7, wherein obtaining the plaintext of the genetic data comprises:
loading the ciphertext of the genetic data from the normal execution environment to the trusted execution environment; and
in the trusted execution environment, decrypting the ciphertext of the genetic data using the plaintext of the key to obtain the plaintext of the genetic data.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
in the trusted execution environment, encrypting the processing result using the key to form ciphertext of the processing result;
writing the ciphertext of the processing result to the normal execution environment from the trusted execution environment; and
in the normal execution environment, sending the ciphertext of the processing result to the data providing system via the public channel.

### Claim at position 10

10-18. (canceled)

### Claim 19

An electronic device comprises:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions executed by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform a method for processing genetic data, comprising:
receiving, in a normal execution environment in a data processing system, ciphertext of genetic data from a data providing system via a public channel between the normal execution environment and the data providing system;
in a trusted execution environment in the data processing system,
receiving, a key for decrypting the ciphertext of the genetic data, from the data providing system via a secure channel between the trusted execution environment and the data providing system;
decrypting the ciphertext of the genetic data using the key to obtain plaintext of the genetic data; and
processing the plaintext of the genetic data to determine a processing result of the genetic data.

### Claim 20

A non-transitory computer-readable storage medium, storing a computer program thereon, the computer program, when executed by a processor, causing the processor to implement a method for processing genetic data, comprising:
receiving, in a normal execution environment in a data processing system, ciphertext of genetic data from a data providing system via a public channel between the normal execution environment and the data providing system;
in a trusted execution environment in the data processing system,
receiving, a key for decrypting the ciphertext of the genetic data, from the data providing system via a secure channel between the trusted execution environment and the data providing system;
decrypting the ciphertext of the genetic data using the key to obtain plaintext of the genetic data; and
processing the plaintext of the genetic data to determine a processing result of the genetic data.

### Claim 21 (depends on 19)

The device of claim 19, wherein the method further comprises: in the trusted execution environment,
receiving from the data providing system a first key generated based on first data; and
determining a shared key of the secure channel based on the first key and second data in the trusted execution environment.

### Claim 22 (depends on 21)

The device of claim 21, wherein the method further comprises: in the trusted execution environment, sending the second key to the data providing system, so that the data providing system generates the shared key of the secure channel via the first data and the received second key.

### Claim 23 (depends on 22)

The device of claim 22, wherein the method further comprises: in the trusted execution environment,
generating, based on a root certificate of the trusted execution environment, an authentication certificate associated with an authentication private key of the trusted execution environment; and
sending the authentication certificate to the data providing system, so that the data providing system authenticates the data processing system based on the authentication certificate.

### Claim 24 (depends on 23)

The device of claim 23, wherein the method further comprises: in the trusted execution environment,
determining configuration information of the trusted execution environment and signature data of a hash value associated with the first key and the second key based on the authentication private key; and
sending the signature data to the data providing system so that the data providing system authenticates the data processing system based on the authentication certificate and the signature data.

### Claim 25 (depends on 24)

The device of claim 24, wherein the method further comprises: in the trusted execution environment,
receiving an indication from the data providing system, the indication being sent in response to the data providing system successfully authenticating the data processing system; and
confirming that the secure channel is established between the trusted execution environment and the data providing system based on the indication.

### Claim 26 (depends on 21)

The device of claim 21, wherein receiving the key via the secure channel comprises: in the trusted execution environment,
receiving ciphertext of the key from the data providing system, the ciphertext of the key being encrypted using the shared key; and
decrypting the received ciphertext of the key using the shared key to obtain plaintext of the key.

### Claim 27 (depends on 26)

The device of claim 26, wherein obtaining the plaintext of the genetic data comprises:
loading the ciphertext of the genetic data from the normal execution environment to the trusted execution environment; and
in the trusted execution environment, decrypting the ciphertext of the genetic data using the plaintext of the key to obtain the plaintext of the genetic data.

### Claim 28 (depends on 19)

The device of claim 19, wherein the method further comprises:
in the trusted execution environment, encrypting the processing result using the key to form ciphertext of the processing result;
writing the ciphertext of the processing result to the normal execution environment from the trusted execution environment; and
in the normal execution environment, sending the ciphertext of the processing result to the data providing system via the public channel.

### Claim 29 (depends on 20)

The medium of claim 20, wherein the method further comprises: in the trusted execution environment,
receiving from the data providing system a first key generated based on first data; and determining a shared key of the secure channel based on the first key and second data in the trusted execution environment.
