CN112667442A - Control method, device and equipment based on nonvolatile memory device starting system - Google Patents

Control method, device and equipment based on nonvolatile memory device starting system Download PDF

Info

Publication number
CN112667442A
CN112667442A CN202011604384.XA CN202011604384A CN112667442A CN 112667442 A CN112667442 A CN 112667442A CN 202011604384 A CN202011604384 A CN 202011604384A CN 112667442 A CN112667442 A CN 112667442A
Authority
CN
China
Prior art keywords
memory device
nonvolatile memory
target nonvolatile
address range
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011604384.XA
Other languages
Chinese (zh)
Other versions
CN112667442B (en
Inventor
来炜国
陈阳
苏楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN202011604384.XA priority Critical patent/CN112667442B/en
Publication of CN112667442A publication Critical patent/CN112667442A/en
Application granted granted Critical
Publication of CN112667442B publication Critical patent/CN112667442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

The invention discloses a control method, a device, equipment and a computer readable storage medium based on a nonvolatile memory device starting system, wherein a target nonvolatile memory device stores a kernel image file to obtain a faster starting speed, after a basic input and output system is powered on, the target nonvolatile memory device is determined according to address information of the kernel image file stored in advance, and then the address range of the target nonvolatile memory device is inspected according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device, if the target nonvolatile memory device has an uncorrectable error, information of system starting failure caused by the fault of the target nonvolatile memory device is output, so that whether the target nonvolatile memory device has the uncorrectable error or not can be quickly judged after the equipment is started and a user is informed, the situation that the user cannot learn the reason of the starting failure caused by the problem and cannot timely deal with the type of equipment failure is avoided.

Description

Control method, device and equipment based on nonvolatile memory device starting system
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for controlling a system booting based on a nonvolatile memory device.
Background
In a Memory system, to ensure the reliability of system boot, the operating system kernel of the device is usually stored on a non-volatile Memory (DCPMM) device in a Dual-Inline-Memory-Modules (DIMM) slot.
However, data on the non-volatile memory device may be lost permanently, that is, data is uncorrectable error (UC), and at this time, the device is in a trouble of being unable to boot, and a user cannot know the reason of the boot failure, so that the device failure of the type cannot be dealt with in time.
Disclosure of Invention
The invention aims to provide a control method, a control device, control equipment and a computer readable storage medium based on a nonvolatile memory device starting system, which are used for timely finding the fault condition of a target nonvolatile memory device for storing a memory image file in the nonvolatile memory device starting system so that a user can obtain the fault reason and timely process the fault.
In order to solve the above technical problem, the present invention provides a control method based on a nonvolatile memory device start-up system, which is based on a basic input output system, and includes:
after the power is on, determining a target nonvolatile memory device for storing the memory image file according to address information of a pre-stored kernel image file;
performing address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device;
and if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
Optionally, the determining, according to the address information of the pre-stored kernel image, a target nonvolatile memory device storing the memory image is specifically:
and determining the target nonvolatile memory device according to the system physical address of the pre-stored kernel image file.
Optionally, the performing, according to the address information of the kernel image file, address range inspection on the target nonvolatile memory device to obtain an address range inspection result of the target nonvolatile memory device specifically includes:
converting the system physical address of the kernel image file into a device physical address on the target nonvolatile memory device;
and carrying out address range inspection on the target nonvolatile memory device according to the physical address of the equipment and the length of the kernel image file to obtain an address range inspection result.
Optionally, the performing, according to the physical address of the device and the length of the kernel image file, address range inspection on the target nonvolatile memory device to obtain the address range inspection result specifically includes:
sending an address range inspection command with a specific range to the target nonvolatile memory device;
when a signal that the inspection execution of the address range in the specific range is finished is received, which is sent by the target nonvolatile memory device, an inspection result query command of the address range in the specific range is sent to the target nonvolatile memory device;
if an uncorrectable error list returned by the target nonvolatile memory device is received, determining that the address range inspection result is that the target nonvolatile memory device has uncorrectable errors;
if a successful sign of routing inspection of the address range in the specific range returned by the target nonvolatile memory device is received, determining that the address range routing inspection result is that the target nonvolatile memory device has no uncorrectable error;
wherein the command parameters of the specific range address range patrol command comprise the device physical address and the length of the kernel image file.
Optionally, the method further includes:
and if the uncorrectable error list returned by the target nonvolatile memory device is received, recording the information in the uncorrectable error list in a platform error interface table of a high-level configuration and power interface.
Optionally, the number of target nonvolatile memory devices is specifically multiple;
correspondingly, if the address range inspection result indicates that the target nonvolatile memory device has an uncorrectable error, outputting information of system start failure caused by the failure of the target nonvolatile memory device, specifically:
and if the address range inspection result shows that each target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the faults of the target nonvolatile memory devices.
Optionally, the target nonvolatile memory device specifically includes a main target nonvolatile memory device and a standby target nonvolatile memory device;
correspondingly, the performing address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device specifically includes:
performing address range inspection on the main target nonvolatile memory device to obtain an address range inspection result of the main target nonvolatile memory device;
if the address range inspection result of the main target nonvolatile memory device indicates that the main target nonvolatile memory device has uncorrectable errors, continuing to perform address inspection on the standby target nonvolatile memory device to obtain an address range inspection result of the standby target nonvolatile memory device;
correspondingly, if the address range inspection result indicates that the target nonvolatile memory device has an uncorrectable error, outputting information of system start failure caused by the failure of the target nonvolatile memory device, specifically:
and if the address range inspection result of the standby target nonvolatile memory device is that the address range inspection result of the standby target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
In order to solve the above technical problem, the present invention further provides a control apparatus based on a nonvolatile memory device start-up system, including:
the determining unit is used for determining a target nonvolatile memory device for storing the memory image file according to address information of a pre-stored kernel image file after the basic input and output system is powered on;
the inspection unit is used for inspecting the address range of the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device;
and the output unit is used for outputting information of system starting failure caused by the failure of the target nonvolatile memory device if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors.
In order to solve the above technical problem, the present invention further provides a control device based on a nonvolatile memory device start-up system, including:
a memory for storing instructions, wherein the instructions include any one of the steps of the control method for starting the system based on the nonvolatile memory device;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the control method for starting the system based on the nonvolatile memory device according to any one of the above.
The control method based on the starting system of the nonvolatile memory device provided by the invention obtains a faster starting speed by storing the kernel image file by the target nonvolatile memory device, determines the target nonvolatile memory device according to the address information of the kernel image file stored in advance after the basic input and output system is powered on, and then inspects the address range of the target nonvolatile memory device according to the address information of the kernel image file to obtain the address range inspection result of the target nonvolatile memory device, if the address range inspection result is that the target nonvolatile memory device has the uncorrectable error, outputs the information of the system starting failure caused by the fault of the target nonvolatile memory device, thereby being capable of quickly judging whether the target nonvolatile memory device storing the kernel image file has the uncorrectable error after the equipment is started, the situation that the user cannot learn the reason of the starting failure caused by the problem and cannot timely deal with the type of equipment failure is avoided.
The invention also provides a control device, equipment and a computer readable storage medium based on the nonvolatile memory device starting system, which have the beneficial effects and are not described again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a control method based on a nonvolatile memory device booting system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an embodiment of step S102 in fig. 1 according to the present invention;
fig. 3 is a schematic structural diagram of a control apparatus based on a nonvolatile memory device booting system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device based on a nonvolatile memory device booting system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a control method, a control device and a control program of a starting system based on a nonvolatile memory device, which are used for timely finding the fault condition of a target nonvolatile memory device for storing a memory image file in the starting system based on the nonvolatile memory device so that a user can obtain the fault reason and timely process the fault.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a control method based on a nonvolatile memory device booting system according to an embodiment of the present invention; fig. 2 is a flowchart illustrating a specific implementation manner of step S102 in fig. 1 according to an embodiment of the present invention.
As shown in fig. 1, a control method based on a basic input/output system (BIOS) and a boot system of a nonvolatile memory device according to an embodiment of the present invention includes:
s101: and after the power is on, determining a target nonvolatile memory device for storing the memory image file according to the address information of the pre-stored kernel image file.
S102: and carrying out address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device.
S103: and if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
To address uncorrectable errors in data, Advanced Configuration and Power Interface (ACPI) defines an address range patrol (ARS) mechanism for non-volatile memory devices. At present, there are two methods for performing address range polling, one is to perform address range polling of a full address range in the background by a basic input output system when the system is started, and the other is to perform address range polling of a full address range or address range polling of a specific address range periodically during the operation of an operating system. In the embodiment of the invention, in order to obtain a faster starting speed, the computer system stores the kernel image file in the nonvolatile memory device, and if the uncorrectable error occurs in the nonvolatile memory device, the two address range inspection modes not only can not avoid the dilemma that the system is incapable of starting, but also can not find the uncorrectable error of the nonvolatile memory device storing the kernel image file in time due to the inspection of the full-range address range, so that a user can not learn the reason of the system starting failure in time.
Therefore, in the control method for starting the system based on the nonvolatile memory device provided by the embodiment of the present invention, first, the address range of the specific address is inspected on the target nonvolatile memory device storing the kernel image file, whether the target nonvolatile memory device storing the kernel image file has the uncorrectable error is quickly judged, and the user is prompted about the reason of the system start failure in time after the target nonvolatile memory device is inspected to have the uncorrectable error, so that the user can conveniently and accurately cope with the type of start failure in advance.
In a specific implementation, for step S101, address information of the kernel image (for example, where the kernel image is specifically stored in the target nonvolatile memory device) is stored in the bios through an internal command of the operating system in advance. After the basic input and output system is powered on, firstly, a nonvolatile memory device where a memory image file is stored, namely a target nonvolatile memory device, is determined according to address information of a pre-stored kernel image file. Specifically, the target nonvolatile memory device may be determined according to a System Physical Address (SPA) of a pre-stored kernel image file.
For step S102, the bios initiates address range inspection on the target nonvolatile memory device according to the address information of the kernel image file, that is, performs address range inspection in a specific range on data of the kernel image file portion on the target nonvolatile memory device. If the address information of the memory image file adopted in step S101 is a system physical address, as shown in fig. 2, step S102 may specifically include:
s201: and converting the system physical address of the kernel image file into a Device Physical Address (DPA) on the target nonvolatile memory device.
S202: and carrying out address range inspection on the target nonvolatile memory device according to the physical address of the equipment and the length of the kernel image file to obtain an address range inspection result.
Wherein, step S202 may specifically include:
sending an address range inspection command with a specific range to a target nonvolatile memory device;
after a signal that the inspection execution of the address range in the specific range is finished is received, which is sent by the target nonvolatile memory device, an inspection result query command of the address range in the specific range is sent to the target nonvolatile memory device;
if an uncorrectable error list returned by the target nonvolatile memory device is received, determining that the address range inspection result is that the target nonvolatile memory device has uncorrectable errors;
if a successful sign of routing inspection of the address range in the specific range returned by the target nonvolatile memory device is received, determining that the address range routing inspection result is that the target nonvolatile memory device has no uncorrectable error;
the command parameters of the specific range address range patrol command comprise the physical address of the device and the length of the kernel image file.
The basic input and output system takes the physical address of the device and the length of the kernel image file as command parameters, and after the specific range address range inspection command is sent to the target nonvolatile memory device, the target nonvolatile memory device informs the basic input and output system after the address range inspection is finished according to the specific range address range inspection command. And then, the basic input and output system sends a specific range address range inspection result query command to the target nonvolatile memory device, if the target nonvolatile memory device finds an uncorrectable error in the data of the kernel image file, an uncorrectable error list represented by the equipment physical address is returned, and if not, a success mark is returned.
Further, the control method based on the nonvolatile memory device booting system provided by the embodiment of the present invention may further include:
if an uncorrectable Error list returned by the target nonvolatile memory device is received, recording information in the uncorrectable Error list into an advanced configuration and power interface (ACPI Platform Error Interfaces, APEI) table.
If the uncorrectable error list is received, the basic input and output system converts the uncorrectable error list into the uncorrectable error list represented by the system physical address, and records the uncorrectable error list in a platform error interface table of the advanced configuration and power interface.
The control method based on the starting system of the nonvolatile memory device provided by the embodiment of the invention obtains a faster starting speed by storing the kernel image file by the target nonvolatile memory device, determines the target nonvolatile memory device according to the address information of the pre-stored kernel image file after the basic input and output system is powered on, and then inspects the address range of the target nonvolatile memory device according to the address information of the kernel image file to obtain the address range inspection result of the target nonvolatile memory device, if the address range inspection result is that the target nonvolatile memory device has the uncorrectable error, outputs the information of the system starting failure caused by the fault of the target nonvolatile memory device, thereby being capable of quickly judging whether the target nonvolatile memory device storing the kernel image file has the uncorrectable error after the equipment is started, the situation that the user cannot learn the reason of the starting failure caused by the problem and cannot timely deal with the type of equipment failure is avoided.
On the basis of the foregoing embodiments, in order to improve system availability, in the control method for starting a system based on a nonvolatile memory device according to an embodiment of the present invention, a plurality of target nonvolatile memory devices are specifically provided.
Accordingly, step S103: if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the fault of the target nonvolatile memory device, specifically:
and if the address range inspection result shows that all target nonvolatile memory devices have uncorrectable errors, outputting information of system start failure caused by the faults of the target nonvolatile memory devices.
The control method for starting the system based on the nonvolatile memory device provided by the embodiment of the invention stores the kernel image files by setting the plurality of target nonvolatile memory devices, and can ensure the normal starting of the system as long as one kernel image file without uncorrectable errors exists. Only when the kernel image files on all target nonvolatile memory devices have uncorrectable errors, the problem that the system cannot be started due to the damaged kernel image files is caused.
In specific implementation, after being powered on, the basic input and output system determines a target nonvolatile memory device corresponding to one of the target nonvolatile memory devices according to the information of the address information of the plurality of kernel image files, and then the kernel image file parts on all the target nonvolatile memory devices can be subjected to address range inspection of specific addresses together, or the kernel image file parts on the target nonvolatile memory devices can be subjected to address range inspection of specific addresses one by one according to a certain sequence.
If the inspection is performed one by one in sequence, the target nonvolatile memory device may be divided into a main target nonvolatile memory device and a spare target nonvolatile memory device.
Accordingly, step S102: the method includes the following steps that address range inspection is conducted on a target nonvolatile memory device according to address information of a kernel image file, and an address range inspection result of the target nonvolatile memory device is obtained, and the method specifically includes the following steps:
carrying out address range inspection on the main target nonvolatile memory device to obtain an address range inspection result of the main target nonvolatile memory device;
if the address range inspection result of the main target nonvolatile memory device indicates that the main target nonvolatile memory device has uncorrectable errors, continuing to perform address inspection on the standby target nonvolatile memory device to obtain an address range inspection result of the standby target nonvolatile memory device;
accordingly, step S103: if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the fault of the target nonvolatile memory device, specifically:
and if the address range inspection result of the standby target nonvolatile memory device is that the address range inspection result of the standby target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
On the basis of the above detailed description of the various embodiments corresponding to the control method based on the nonvolatile memory device starting system, the invention also discloses a control device, equipment and a computer readable storage medium based on the nonvolatile memory device starting system corresponding to the above method.
Fig. 3 is a schematic structural diagram of a control apparatus based on a nonvolatile memory device booting system according to an embodiment of the present invention.
As shown in fig. 3, a control apparatus based on a nonvolatile memory device booting system according to an embodiment of the present invention includes:
a determining unit 301, configured to determine, after a basic input/output system is powered on, a target nonvolatile memory device storing a memory image file according to address information of a pre-stored kernel image file;
the inspection unit 302 is configured to perform address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device;
and an output unit 303, configured to output information of a system start failure caused by a failure of the target nonvolatile memory device if the address range inspection result indicates that an uncorrectable error exists in the target nonvolatile memory device.
Further, the control apparatus based on the nonvolatile memory device start-up system provided in the embodiment of the present invention may further include:
and the recording unit is used for recording the information in the uncorrectable error list into a platform error interface table of the advanced configuration and power interface if the uncorrectable error list returned by the target nonvolatile memory device is received.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 4 is a schematic structural diagram of a control device based on a nonvolatile memory device booting system according to an embodiment of the present invention.
As shown in fig. 4, a control device based on a nonvolatile memory device booting system according to an embodiment of the present invention includes:
a memory 410, configured to store instructions, where the instructions include the steps of the control method based on the non-volatile memory device booting system according to any one of the above embodiments;
a processor 420 for executing the instructions.
Among other things, processor 420 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 420 may be implemented in at least one hardware form of a Digital Signal Processing (DSP), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), or a Programmable Logic Array (PLA). Processor 420 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a central Processing unit (cpu); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 420 may be integrated with an image processor GPU (graphics Processing unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 420 may also include an Artificial Intelligence (AI) (artificial intelligence) processor for processing computational operations related to machine learning.
Memory 410 may include one or more computer-readable storage media, which may be non-transitory. Memory 410 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the storage 410 is at least used for storing the following computer program 411, wherein after the computer program 411 is loaded and executed by the processor 420, the relevant steps in the control method based on the nonvolatile memory device start-up system disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 410 may also include an operating system 412, data 413, and the like, and the storage may be transient storage or permanent storage. Operating system 412 may be Windows, among others. The data 413 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the control device of the non-volatile memory device based booting system may further include a display 430, a power source 440, a communication interface 450, an input/output interface 460, a sensor 470, and a communication bus 480.
Those skilled in the art will appreciate that the configuration shown in fig. 4 does not constitute a limitation of the control device of the non-volatile memory device based booting system, and may include more or less components than those shown.
The control device based on the nonvolatile memory device starting system provided by the embodiment of the application comprises the storage and the processor, and when the processor executes the program stored in the storage, the control method based on the nonvolatile memory device starting system can be realized, and the effect is the same as that of the control method.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the control method for starting the system based on the nonvolatile memory device.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory ROM (Read-Only Memory), a random Access Memory ram (random Access Memory), a magnetic disk, or an optical disk.
The computer program contained in the computer-readable storage medium provided in this embodiment can implement the steps of the control method based on the nonvolatile memory device boot system as described above when being executed by the processor, and the effect is the same as above.
The detailed description of the control method, the control device, the control equipment and the computer readable storage medium based on the nonvolatile memory device starting system provided by the invention are provided above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A control method based on a nonvolatile memory device starting system is characterized in that based on a basic input output system, the method comprises the following steps:
after the power is on, determining a target nonvolatile memory device for storing the memory image file according to address information of a pre-stored kernel image file;
performing address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device;
and if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
2. The control method according to claim 1, wherein the determining, according to the address information of the pre-stored kernel image file, the target nonvolatile memory device storing the memory image file specifically includes:
and determining the target nonvolatile memory device according to the system physical address of the pre-stored kernel image file.
3. The control method according to claim 2, wherein the performing address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device specifically includes:
converting the system physical address of the kernel image file into a device physical address on the target nonvolatile memory device;
and carrying out address range inspection on the target nonvolatile memory device according to the physical address of the equipment and the length of the kernel image file to obtain an address range inspection result.
4. The control method according to claim 3, wherein the performing address range inspection on the target nonvolatile memory device according to the device physical address and the length of the kernel image file to obtain the address range inspection result specifically includes:
sending an address range inspection command with a specific range to the target nonvolatile memory device;
when a signal that the inspection execution of the address range in the specific range is finished is received, which is sent by the target nonvolatile memory device, an inspection result query command of the address range in the specific range is sent to the target nonvolatile memory device;
if an uncorrectable error list returned by the target nonvolatile memory device is received, determining that the address range inspection result is that the target nonvolatile memory device has uncorrectable errors;
if a successful sign of routing inspection of the address range in the specific range returned by the target nonvolatile memory device is received, determining that the address range routing inspection result is that the target nonvolatile memory device has no uncorrectable error;
wherein the command parameters of the specific range address range patrol command comprise the device physical address and the length of the kernel image file.
5. The control method according to claim 4, characterized by further comprising:
and if the uncorrectable error list returned by the target nonvolatile memory device is received, recording the information in the uncorrectable error list in a platform error interface table of a high-level configuration and power interface.
6. The control method according to claim 1, wherein the target nonvolatile memory device is specifically a plurality of;
correspondingly, if the address range inspection result indicates that the target nonvolatile memory device has an uncorrectable error, outputting information of system start failure caused by the failure of the target nonvolatile memory device, specifically:
and if the address range inspection result shows that each target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the faults of the target nonvolatile memory devices.
7. The control method according to claim 6, wherein the target nonvolatile memory device specifically includes a main target nonvolatile memory device and a spare target nonvolatile memory device;
correspondingly, the performing address range inspection on the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device specifically includes:
performing address range inspection on the main target nonvolatile memory device to obtain an address range inspection result of the main target nonvolatile memory device;
if the address range inspection result of the main target nonvolatile memory device indicates that the main target nonvolatile memory device has uncorrectable errors, continuing to perform address inspection on the standby target nonvolatile memory device to obtain an address range inspection result of the standby target nonvolatile memory device;
correspondingly, if the address range inspection result indicates that the target nonvolatile memory device has an uncorrectable error, outputting information of system start failure caused by the failure of the target nonvolatile memory device, specifically:
and if the address range inspection result of the standby target nonvolatile memory device is that the address range inspection result of the standby target nonvolatile memory device has uncorrectable errors, outputting information of system start failure caused by the failure of the target nonvolatile memory device.
8. A control apparatus based on a nonvolatile memory device boot system, comprising:
the determining unit is used for determining a target nonvolatile memory device for storing the memory image file according to address information of a pre-stored kernel image file after the basic input and output system is powered on;
the inspection unit is used for inspecting the address range of the target nonvolatile memory device according to the address information of the kernel image file to obtain an address range inspection result of the target nonvolatile memory device;
and the output unit is used for outputting information of system starting failure caused by the failure of the target nonvolatile memory device if the address range inspection result shows that the target nonvolatile memory device has uncorrectable errors.
9. A control apparatus based on a nonvolatile memory device boot system, comprising:
a memory for storing instructions, the instructions comprising the steps of the control method for a non-volatile memory device based start-up system according to any one of claims 1 to 7;
a processor to execute the instructions.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the control method for starting up a system based on a non-volatile memory device according to any one of claims 1 to 7.
CN202011604384.XA 2020-12-29 2020-12-29 Control method, device and equipment based on nonvolatile memory device starting system Active CN112667442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011604384.XA CN112667442B (en) 2020-12-29 2020-12-29 Control method, device and equipment based on nonvolatile memory device starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011604384.XA CN112667442B (en) 2020-12-29 2020-12-29 Control method, device and equipment based on nonvolatile memory device starting system

Publications (2)

Publication Number Publication Date
CN112667442A true CN112667442A (en) 2021-04-16
CN112667442B CN112667442B (en) 2023-08-04

Family

ID=75410669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011604384.XA Active CN112667442B (en) 2020-12-29 2020-12-29 Control method, device and equipment based on nonvolatile memory device starting system

Country Status (1)

Country Link
CN (1) CN112667442B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489851A (en) * 2022-01-20 2022-05-13 飞腾信息技术有限公司 Memory chip starting method and device, computer equipment and storage medium
WO2023092946A1 (en) * 2021-11-23 2023-06-01 苏州浪潮智能科技有限公司 Memory patrol inspection method and apparatus, and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281454A1 (en) * 2013-03-14 2014-09-18 International Business Machines Corporation Fast hot boot of a computer system
CN111258789A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Method, apparatus, device and medium for predicting remaining life of nonvolatile memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281454A1 (en) * 2013-03-14 2014-09-18 International Business Machines Corporation Fast hot boot of a computer system
CN111258789A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Method, apparatus, device and medium for predicting remaining life of nonvolatile memory device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐远超;闫俊峰;万虎;孙凤芸;张伟功;李涛;: "新型非易失存储的安全与隐私问题研究综述", 计算机研究与发展, no. 09 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023092946A1 (en) * 2021-11-23 2023-06-01 苏州浪潮智能科技有限公司 Memory patrol inspection method and apparatus, and medium
CN114489851A (en) * 2022-01-20 2022-05-13 飞腾信息技术有限公司 Memory chip starting method and device, computer equipment and storage medium
CN114489851B (en) * 2022-01-20 2024-02-20 飞腾信息技术有限公司 Memory chip starting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112667442B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
JPWO2013103023A1 (en) Information processing apparatus, information processing method, and computer program
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
CN113254286B (en) Log output method and system of server and related device
CN112667442A (en) Control method, device and equipment based on nonvolatile memory device starting system
CN109901890B (en) Method and device for loading multi-core firmware by controller, computer equipment and storage medium
JP2008009721A (en) Evaluation system and evaluation method thereof
CN113867743A (en) Network operating system loading burning method and device, electronic equipment and storage medium
CN111651239A (en) Virtual machine cloning method, device, equipment and medium
EP2645239A1 (en) Electronic apparatus and booting method
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
JP2011107925A5 (en)
CN114721493A (en) Chip starting method, computer equipment and readable storage medium
WO2020000947A1 (en) Method, apparatus, and device for refreshing encapsulated bios data
EP3540598A1 (en) Method, device and server for checking a defective function
CN115878327A (en) Bus reservation method, device, server, electronic equipment and storage medium
US9442831B1 (en) Automated testing of program code for processing a simple boot flag data structure
CN115168119A (en) PCIE (peripheral component interface express) link detection method, device and medium for server
CN115576766A (en) Flash memory management algorithm debugging method, system, device and readable storage medium
CN111857866B (en) Loading method and device of multiple dynamic cores and computer readable storage medium
CN114780166A (en) Pin configuration method, related device, equipment and readable storage medium
CN113821369A (en) Method, device and medium for memory polling
CN108628699B (en) ECC-based FLASH data exception processing method and device
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN112580086A (en) Access protection method, device, equipment and storage medium for configuration file
CN111176572B (en) Method, device, equipment and medium for protecting stored data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant