# US 2021/0334383 A1 · Secure boot method for terminal device, terminal device and medium

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

- Number: US 2021/0334383 A1
- Document ID: US20210334383A1
- Status: Published application
- Kind: A1
- Application number: 17/365,988
- Filed: 2021-07-01
- Published: 2021-10-28
- Earliest claimed: 2021-01-26
- Assignees: Hangzhou Vango Technologies, Inc.
- Applicants: Hangzhou Vango Technologies,Inc.
- Inventors: Yuan-Lung Wang; Nick Nianxiong Tan
- Web page: https://patentgrep.com/patent/US20210334383A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention discloses a secure boot method for a terminal device, a terminal device and a medium, relates to the technical field of secure boot, and is used for solving a problem of low system boot security caused by lack of protection for system boot in the related art. The terminal device includes a first processor, a second processor and a shared memory. The method includes: acquiring, by the first processor, an SPL image file; acquiring, by the first processor and the second processor, a third duration and starting timing synchronously; in a case that the third duration expires, transmitting, by the first processor, the SPL image file to the second processor via the shared memory; and booting, by the first processor and/or the second processor, a system of the terminal device cooperatively based on the SPL image file received by the second processor.

## Claims

### Claim 1

A secure boot method for a terminal device, wherein the terminal device comprises a first processor, a second processor and a shared memory, and the method comprises:
acquiring, by the first processor, a secondary program loader (SPL) image file;
acquiring, by the first processor and the second processor, a third duration and starting timing synchronously;
in a case that the third duration expires, transmitting, by the first processor, the SPL image file to the second processor via the shared memory; and
booting, by at least one of the first processor and the second processor, a system of the terminal device cooperatively based on the SPL image file received by the second processor.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before acquiring, by the first processor, the SPL image file, the method further comprises:
acquiring, by the second processor, a second image file, wherein the second image file is generated after compilation based on a code of the second processor;
acquiring, by the first processor and the second processor, a second duration and starting timing synchronously;
in a case that the second duration expires, transmitting, by the second processor, the second image file to the first processor via the shared memory; and
operating, by the second processor, cooperatively based on the second image file received by the first processor.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the terminal device further comprises a decryption hardware, and the method further comprises:
decrypting, by the second processor, the received SPL image file by using the decryption hardware to obtain third decryption information; and
acquiring, by the second processor, third authentication information and determining whether the third decryption information is correct based on the third authentication information; if yes, allowing to boot the system of the terminal device; if not, prohibiting the system of the terminal device from booting.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the method further comprises:
decrypting, by the first processor, the received second image file by using the decryption hardware to obtain second decryption information; and
acquiring, by the first processor, second authentication information and determining whether the second decryption information is correct based on the second authentication information; if yes, allowing the second processor to operate cooperatively; if not, prohibiting the second processor from operating cooperatively.

### Claim 5 (depends on 1)

The method according to claim 1, wherein any image file is acquired by the processor from the shared memory, and the method further comprises:
determining whether a security of the first processor is higher than that of the second processor, if yes, loading, by the first processor, the image file and storing the image file in the shared memory; if not, loading, by the second processor, the image file and storing the image file in the shared memory.

### Claim 6 (depends on 2)

The method according to claim 2, wherein any image file is acquired by the processor from the shared memory, and the method further comprises:
determining whether a security of the first processor is higher than that of the second processor, if yes, loading, by the first processor, the image file and storing the image file in the shared memory; if not, loading, by the second processor, the image file and storing the image file in the shared memory.

### Claim 7 (depends on 3)

The method according to claim 3, wherein any image file is acquired by the processor from the shared memory, and the method further comprises:
determining whether a security of the first processor is higher than that of the second processor, if yes, loading, by the first processor, the image file and storing the image file in the shared memory; if not, loading, by the second processor, the image file and storing the image file in the shared memory.

### Claim 8 (depends on 4)

The method according to claim 4, wherein any image file is acquired by the processor from the shared memory, and the method further comprises:
determining whether a security of the first processor is higher than that of the second processor, if yes, loading, by the first processor, the image file and storing the image file in the shared memory; if not, loading, by the second processor, the image file and storing the image file in the shared memory.

### Claim 9 (depends on 5)

The method according to claim 5, wherein the terminal device further comprises a management hardware; and starting timing synchronously by the first processor and the second processor comprises:
utilizing, by the first processor, an inter-processor communication (IPC) signal generated by the management hardware and starting timing; and
sending, by the first processor, the IPC signal to the second processor, and starting timing, by the second processor, in response to the IPC signal.

### Claim 10 (depends on 5)

The method according to claim 5, wherein the terminal device further comprises a disposable storage hardware, and the third duration is stored in the disposable storage hardware.

### Claim 11 (depends on 1)

The method according to claim 1, wherein an efficiency of the first processor is higher than that of the second processor, and a timeliness of the first processor is lower than that of the second processor.

### Claim 12 (depends on 1)

A terminal device, wherein the terminal device comprises a processing unit and a storing device, the processing unit comprises a first processor and a second processor, a computer program is stored in the storing device, and the processing unit is configured to implement the method according to claim 1 when executing the computer program.

### Claim 13 (depends on 1)

A computer-readable storage medium with a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to claim 1.
