Back to results
US 12,001,285 B2Granted
System booting method and apparatus, node device, and computer-readable storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorMing Chen
Life of this patent
Estimating the term…
Abstract
A system booting method, a node device, and a computer-readable storage medium relate to the technical field of operating systems and include determining a location of a first operating system to be booted by the node device in a target persistent memory; and booting, based on the location of the first operating system and by the node device, the first operating system.
Claims17
A method comprising:
- determining a location of a first operating system to be booted by a node device in a target persistent memory;
- determining, based on the location, whether the first operating system is damaged by performing, based on the location, a target operation on the first operating system to obtain first description information indicating the first operating system, determining that the first operating system is not damaged when the first description information is consistent with second description information, wherein the second description information indicates a target operating system that is updated to the first operating system, and determining that the first operating system is damaged when the first description information is not consistent with second description information;
- booting the first operating system in the target persistent memory when the first operating system is not damaged;
- and
- when the first operating system is damaged:
- querying a target storage medium in the node device that stores a second operating system, wherein the second operating system is a backup of the first operating system;
- repairing, based on the second operating system, the first operating system to obtain a repaired first operating system;
- and
- booting the repaired first operating system in the target persistent memory.
6 more elements
A node device comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory, wherein the instructions when executed by the processor cause the node device to:
- determine a location of a first operating system to be booted by the node device in a target persistent memory;
- and
- determine, based on the location, whether the first operating system is damaged by performing, based on the location, a target operation on the first operating system to obtain first description information indicating the first operating system, determine that the first operating system is not damaged when the first description information is consistent with second description information, wherein the second description information indicates a target operating system that is updated to the first operating system, and determine that the first operating system is damaged when the first description information is not consistent with second description information;
- boot the first operating system in the target persistent memory when the first operating system is not damaged;
- and
- when the first operating system is damaged:
- query a target storage medium in the node device that stores a second operating system, wherein the second operating system is a backup of the first operating system;
- repair, based on the second operating system, the first operating system to obtain a repaired first operating system;
- and
- boot the repaired first operating system in the target persistent memory.
10 more elements
A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause a node device to:
- determine a location of a first operating system to be booted by the node device in a target persistent memory;
- and
- determine, based on the location, whether the first operating system is damaged by performing, based on the location, a target operation on the first operating system to obtain first description information indicating the first operating system, determine that the first operating system is not damaged when the first description information is consistent with second description information, wherein the second description information indicates a target operating system that is updated to the first operating system, and determine that the first operating system is damaged when the first description information is not consistent with second description information;
- boot the first operating system in the target persistent memory when the first operating system is not damaged;
- and
- when the first operating system is damaged:
- query a target storage medium in the node device that stores a second operating system, wherein the second operating system is a backup of the first operating system;
- repair, based on the second operating system, the first operating system to obtain a repaired first operating system;
- and
- boot the repaired first operating system in the target persistent memory.
7 more elements
Dependencies are inferred from the claim text.