Peripheral component interconnect express device startup method and apparatus, and storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorYutao Li
Life of this patent
Estimating the term…
Abstract
A method, apparatus and storage medium for starting up peripheral component interconnect express (PCIE) device are provided. According to the method, a basic input/output system (BIOS) attempts to verify firmware of a PCIE device to determine whether the firmware of the PCIE device is tampered with. Moreover, the BIOS may only start up a PCIE device with firmware that succeeds in the verification. Therefore, a computer device is prevented from starting up a PCIE device with firmware that is tampered with, thereby reducing the security risk caused by the PCIE device to the computer device.
Claims18
A peripheral component interconnect express (PCIE) device startup method, applied to a computer device comprising a PCIE device, wherein the method comprises:
- obtaining, by a basic input/output system (BIOS) of the computer device, firmware of the PCIE device;
- verifying, by the BIOS, the firmware to generate a verification result;
- and
- starting up, by the BIOS based on the verification result, the PCIE device when the verification result indicates that the verification for the firmware succeeds,
- wherein the firmware comprises firmware code and signature data of the firmware code;
- and
- the obtaining by a basic input/output system (BIOS) of the computer device, firmware of the PCIE device comprises:
- obtaining, by the BIOS, the signature data of the firmware code from a driver of the PCIE device;
- and
- reading, by the BIOS, the firmware code from the PCIE device.
A computer device, comprising a basic input/output system (BIOS) and a peripheral component interconnect express (PCIE) device, wherein the BIOS is configured to:
- obtain firmware of the PCIE device;
- verify the firmware to generate a verification result;
- and
- start up, based on the verification result, the PCIE device when the verification result indicates that the verification for the firmware succeeds,
- wherein the firmware comprises firmware code and the BIOS is further configured to:
- obtain signature data of the firmware code from a driver of the PCIE devices;
- and
- read the firmware code from the PCIE device.
A non-transitory computer readable storage medium, storing at least one computer program that, when executed by a basic input/output system (BIOS), causes the BIOS to perform a peripheral component interconnect express (PCIE) device startup method comprising:
- obtaining firmware of the PCIE device;
- verifying the firmware to generate a verification result;
- and
- starting up, based on the verification result, the PCIE device when the verification result indicates that the verification for the firmware succeeds,
- wherein the firmware comprises firmware code and signature data of the firmware code;
- and
- the obtaining firmware of the PCIE device comprises:
- obtaining the signature data of the firmware code from a driver of the PCIE device;
- and
- reading the firmware code from the PCIE device.
Dependencies are inferred from the claim text.