CN113849233A - BIOS null boot entry deleting method, system, terminal and storage medium - Google Patents

BIOS null boot entry deleting method, system, terminal and storage medium Download PDF

Info

Publication number
CN113849233A
CN113849233A CN202111069397.6A CN202111069397A CN113849233A CN 113849233 A CN113849233 A CN 113849233A CN 202111069397 A CN202111069397 A CN 202111069397A CN 113849233 A CN113849233 A CN 113849233A
Authority
CN
China
Prior art keywords
item information
starting
startup item
startup
path
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.)
Withdrawn
Application number
CN202111069397.6A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111069397.6A priority Critical patent/CN113849233A/en
Publication of CN113849233A publication Critical patent/CN113849233A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Abstract

The invention provides a method, a system, a terminal and a storage medium for deleting a BIOS null boot entry, wherein the method comprises the following steps: reading a startup item information list in a basic input and output system, and screening target startup item information with a storage format of USB storage equipment from the startup item information list; saving the starting path of the target starting item information to a structural body; reading and accessing a starting path in a structure body, and marking target starting item information to which the starting path belongs as an empty starting item if the access fails; and deleting the corresponding startup item information in the startup item information list according to the empty startup item mark, and updating the startup item list according to the startup item information list after the deletion is finished. The invention can automatically delete the empty startup item in the BIOS startup item list, meets the use experience of the user, and avoids the embarrassment that the user can not exit because the user enters the empty startup item by mistake and must restart the server.

Description

BIOS null boot entry deleting method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a method, a system, a terminal and a storage medium for deleting a BIOS null boot entry.
Background
The FAT32 format is a pre-installed file system of the USB storage device, belongs to the traditional file format of a Windows platform, has good compatibility, and many users can select the FAT32 to be used as the pre-installed system of the U disk. The BIOS (basic Input Output System) basic Input Output system can provide more simple usability functions for the server as a manager of the most direct hardware setting and control of the bottom layer of the server mainboard. The BIOS Setup can display some function settings of the BIOS in the form of options, and a user can modify some function settings by modifying the Setup option value so as to meet different requirements. The BIOS Setup can display a startup item, that is, a startup item list is set in the Setup to display an option that the inserted storage device can start up, namely, the startup item, so that the startup item can enter the startup system by selecting the startup item in the Setup.
The FAT32 format USB storage device is used as a special storage device, and the UEFI document specifies that the FAT32 format USB storage device also serves as a boot device, even if the FAT32 format USB disk is an empty USB disk or there is no boot path for the boot system in the USB disk, which results in an empty boot entry under the BIOS Setup, which has been set by firmware manufacturers according to the UEFI document. However, the boot entry generated by the USB storage device with FAT32 format empty or no boot path is also an empty boot entry, and is not usable, has no meaning, and also easily brings some unnecessary troubles to the user, such as: the empty boot entry is entered by mistake and the system cannot be booted. Therefore, the USB storage device with FAT32 format empty or no boot path does not need to generate a boot entry, and the BIOS needs to delete the empty boot entry and does not display it in the boot entry list, i.e. delete it from the boot entry list in Setup, so that the user does not get into the empty boot entry by mistake and is troublesome.
Therefore, it is necessary to optimize the function of generating a Boot entry for the FAT 32-format USB storage device, and avoid generating a useless empty Boot entry, and how to delete the empty Boot entry from the Boot entry List (Boot Option List) and delete the empty Boot entry from the Boot Order (Boot Order) is a difficult problem faced by the present invention.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for deleting a BIOS null boot entry, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for deleting a BIOS null boot entry, including:
reading a startup item information list in a basic input and output system, and screening target startup item information with a storage format of USB storage equipment from the startup item information list;
saving the starting path of the target starting item information to a structural body;
reading and accessing a starting path in a structure body, and marking target starting item information to which the starting path belongs as an empty starting item if the access fails;
and deleting the corresponding startup item information in the startup item information list according to the empty startup item mark, and updating the startup item list according to the startup item information list after the deletion is finished.
Further, reading a startup item information list in the basic input output system, and screening target startup item information with a storage format of the USB storage device from the startup item information list, including:
constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list;
setting a processing period, and calling the processing function periodically according to the processing period.
Further, saving the boot path of the target boot item information to the structure includes:
extracting a unified extensible firmware interface starting path from the target starting item information;
and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
Further, reading and accessing a start path in the structure, and if the access fails, marking target start item information to which the start path belongs as a null start item, including:
accessing the file under the starting path by using the constructed file access function, and marking a judgment variable of the starting path as unopenable if the access fails;
and marking the judgment variable of the starting path as the unopened starting item information as an empty starting item through variable assignment.
Further, deleting the corresponding startup item information in the startup item information list according to the empty startup item mark, and updating the startup item list according to the startup item information list after the deletion is completed, including:
monitoring the data updating condition of the startup item information list by using a monitoring process;
and if the startup item information list is monitored to have data updating, traversing the startup item information list, searching matched startup item information of the startup items in the startup item list from the startup item information list, and deleting the startup items without the matched startup item information from the startup item list.
In a second aspect, the present invention provides a system for deleting a BIOS null boot entry, including:
the information screening unit is used for reading a starting item information list in a basic input and output system and screening target starting item information with a storage format of USB storage equipment from the starting item information list;
the path storage unit is used for storing the starting path of the target starting item information to the structural body;
the information marking unit is used for reading and accessing the starting path in the structure body, and marking the target starting item information to which the starting path belongs as an empty starting item if the access fails;
and the list updating unit is used for deleting the corresponding startup item information in the startup item information list according to the empty startup item mark and updating the startup item list according to the startup item information list after the deletion is finished.
Further, the information screening unit is configured to:
constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list;
setting a processing period, and calling the processing function periodically according to the processing period.
Further, the information holding unit is configured to:
extracting a unified extensible firmware interface starting path from the target starting item information;
and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
Further, the information marking unit is configured to:
accessing the file under the starting path by using the constructed file access function, and marking a judgment variable of the starting path as unopenable if the access fails;
and marking the judgment variable of the starting path as the unopened starting item information as an empty starting item through variable assignment.
Further, the list updating unit is configured to:
monitoring the data updating condition of the startup item information list by using a monitoring process;
and if the startup item information list is monitored to have data updating, traversing the startup item information list, searching matched startup item information of the startup items in the startup item list from the startup item information list, and deleting the startup items without the matched startup item information from the startup item list.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The method, the system, the terminal and the storage medium for deleting the BIOS idle boot entry have the advantages that a screening range is obtained by reading the boot entry information list in the basic input/output system and screening the target boot entry information of which the storage format is the USB storage device from the boot entry information list, namely, the boot entry information of all the USB storage devices is screened out firstly because the idle boot entry is basically the USB storage device (FAT32 format), and the screening range is initially reduced; storing the starting path of the target starting item information to a structural body, reading and accessing the starting path in the structural body, marking the target starting item information to which the starting path belongs as an empty starting item if the access fails, realizing the availability detection of the starting path, deleting the corresponding starting item information in the starting item information list according to the empty starting item mark, updating the starting item list according to the starting item information list after the deletion is finished, and realizing the automatic deletion of the empty starting item in the BIOS. The invention deletes the empty startup item generated by the FAT32 format USB storage device without the empty or startup path, so that the FAT32 format USB disk and other format USB disks can only generate the startup item when having the startup path, and the startup item can be started and is not the empty startup item. The mode can better meet the use experience of the user, and the embarrassment that the user can not exit because the user enters the idle starting item by mistake and must restart the server is avoided.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, 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 schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all 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.
The following explains key terms appearing in the present invention.
BIOS is an abbreviation of English "Basic Input Output System", and the name of Chinese after translation is "Basic Input Output System". It is an industry standard firmware interface for IBMPC compatible systems. It is a set of programs solidified on a ROM chip on the internal mainboard of computer, it stores the most important basic input and output program of computer, self-checking program after starting up and system self-starting program, it can read and write the specific information set by system from CMOS. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer. In addition, the BIOS provides some system parameters to the operating system. The change of system hardware is hidden by BIOS, and programs use BIOS functions rather than directly control the hardware. Modern operating systems ignore the abstraction layer provided by the BIOS and directly control the hardware components.
A Central Processing Unit (CPU) is a final execution unit for information processing and program operation, and serves as an operation and control core of a computer system.
The starting item is a program which runs in a foreground or a background when the system is started. When the operating system completes the login process, many processes appear in the process table. When the operating system is started, a plurality of programs are automatically loaded. The self-starting of many programs brings great convenience to us, which is a fact that it is not contended, but not every self-starting program is useful to us; further, there may be viruses or trojans in the self-priming row. In the Windows operating system, the program is automatically loaded according to two folders and 9 core registry subkeys except for loading the program from the Autoexec.bat file left in the previous system for the self-starting file. Generally classified into 5 types.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a BIOS null boot entry deletion system.
As shown in fig. 1, the method includes:
step 110, reading a startup item information list in a basic input and output system, and screening target startup item information with a storage format of USB storage equipment from the startup item information list;
step 120, storing the starting path of the target starting item information to a structural body;
step 130, reading and accessing a starting path in the structure body, and if the access fails, marking target starting item information to which the starting path belongs as an empty starting item;
and step 140, deleting the corresponding startup item information in the startup item information list according to the empty startup item mark, and updating the startup item list according to the startup item information list after the deletion is completed.
In order to facilitate understanding of the present invention, the following describes the method for deleting the BIOS null boot entry according to the principle of the method for deleting the BIOS null boot entry according to the present invention, in combination with the process of deleting the BIOS null boot entry in the embodiment.
Specifically, the method for deleting the BIOS null boot entry includes:
s1, reading the startup item information list in the basic input and output system, and screening the target startup item information with the storage format of the USB storage device from the startup item information list.
Constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list; setting a processing period, and calling the processing function periodically according to the processing period.
The newly-built function module defines a function for removing the empty Boot items, traverses all Boot Option lists (Boot item information lists), and firstly filters out the storage devices with the storage format of USB according to the types of the devices generating the Boot options. To ensure that there is no empty boot entry in the boot entry list of the BIOS, a processing cycle is set to periodically call the remove empty boot entry function, for example, every 15 min.
And S2, storing the starting path of the target starting item information to the structure.
Extracting a unified extensible firmware interface starting path from the target starting item information; and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
A Token is defined to store a UEFIShell starting path, and a structure array BootFileName is defined to store the starting path of the starting system.
S3, reading and accessing the starting path in the structure body, and marking the target starting item information to which the starting path belongs as a null starting item if the access fails.
Accessing the file under the starting path by using the constructed file access function, and marking a judgment variable of the starting path as unopenable if the access fails; and marking the judgment variable of the starting path as the unopened starting item information as an empty starting item through variable assignment.
Defining a flag variable BootDeleteFlag ═ Ture for deleting the startup item; 4) judging whether a UEFI Shell Boot path or a Boot path of a Boot system can be opened by opening a file path function in the device generating the Boot Option, if so, representing that the Boot path exists in the storage USB device, and setting a variable Boot DeleteFlag as False; if the USB storage device cannot be opened, the USB storage device is indicated to have no starting path, and no action is taken; 5) and judging whether the startup item is deleted from the startup item list or not according to the value of a startup item deletion variable BootDeleteFlag, namely if the BootDeleteFlag is Ture, assigning the BootOptionNumber of the startup item to be 0.
And S4, deleting the corresponding startup item information in the startup item information list according to the null startup item mark, and updating the startup item list according to the startup item information list after the deletion is completed.
Monitoring the data updating condition of the startup item information list by using a monitoring process; and if the startup item information list is monitored to have data updating, traversing the startup item information list, searching matched startup item information of the startup items in the startup item list from the startup item information list, and deleting the startup items without the matched startup item information from the startup item list.
Deleting the items of which the BootOptionNumbers in the Boot Option List are 0, and finally deleting the startup items from the startup item List; 6) and updating the Boot item in the Boot Order by the new function, traversing the Boot Option List by the function, updating the Boot Order according to the Boot Option number in the Boot Option List, so that the Boot item deleted in the Boot Option List cannot appear in the Boot Order, and finally realizing that the null Boot item is deleted from the Boot Option List and the Boot Order.
In the method for deleting the BIOS idle boot entry provided in this embodiment, a screening range is obtained by reading a boot entry information list in a basic input/output system and screening target boot entry information having a storage format of the USB storage device from the boot entry information list, that is, because the boot entry is basically the USB storage device (FAT32 format), boot entry information of all the USB storage devices is screened first, and the screening range is initially narrowed; storing the starting path of the target starting item information to a structural body, reading and accessing the starting path in the structural body, marking the target starting item information to which the starting path belongs as an empty starting item if the access fails, realizing the availability detection of the starting path, deleting the corresponding starting item information in the starting item information list according to the empty starting item mark, updating the starting item list according to the starting item information list after the deletion is finished, and realizing the automatic deletion of the empty starting item in the BIOS. The embodiment deletes the null boot entry generated by the FAT32 format USB storage device with null or no boot path, so that the FAT32 format USB disk generates the boot entry only when the boot path is available like other format USB disks, and the boot entry is bootable and not a null boot entry. The mode can better meet the use experience of the user, and the embarrassment that the user can not exit because the user enters the idle starting item by mistake and must restart the server is avoided.
As shown in fig. 2, the system 200 includes:
an information screening unit 210, configured to read a startup item information list in a basic input/output system, and screen out target startup item information with a storage format of a USB storage device from the startup item information list;
a path storage unit 220, configured to store the boot path of the target boot item information to a structure;
an information marking unit 230, configured to read and access a start path in a structure, and mark target start item information to which the start path belongs as an empty start item if the access fails;
and the list updating unit 240 is configured to delete the corresponding startup item information in the startup item information list according to the empty startup item flag, and update the startup item list according to the startup item information list after the deletion is completed.
Optionally, as an embodiment of the present invention, the information screening unit is configured to:
constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list;
setting a processing period, and calling the processing function periodically according to the processing period.
Optionally, as an embodiment of the present invention, the information saving unit is configured to:
extracting a unified extensible firmware interface starting path from the target starting item information;
and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
Optionally, as an embodiment of the present invention, the information marking unit is configured to:
accessing the file under the starting path by using the constructed file access function, and marking a judgment variable of the starting path as unopenable if the access fails;
and marking the judgment variable of the starting path as the unopened starting item information as an empty starting item through variable assignment.
Optionally, as an embodiment of the present invention, the list updating unit is configured to:
monitoring the data updating condition of the startup item information list by using a monitoring process;
and if the startup item information list is monitored to have data updating, traversing the startup item information list, searching matched startup item information of the startup items in the startup item list from the startup item information list, and deleting the startup items without the matched startup item information from the startup item list.
The embodiment deletes the null boot entry generated by the FAT32 format USB storage device with null or no boot path, so that the FAT32 format USB disk generates the boot entry only when the boot path is available like other format USB disks, and the boot entry is bootable and not a null boot entry. The mode can better meet the use experience of the user, and the embarrassment that the user can not exit because the user enters the idle starting item by mistake and must restart the server is avoided.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the method for deleting the BIOS null boot entry according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention obtains a screening range by reading the starting item information list in the basic input and output system and screening the target starting item information with the storage format of the USB storage device from the starting item information list, namely, because the starting item information of all USB storage devices is basically the USB storage device (FAT32 format) causing the empty starting item, the screening range is firstly screened out, and the screening range is preliminarily reduced; storing the starting path of the target starting item information to a structural body, reading and accessing the starting path in the structural body, marking the target starting item information to which the starting path belongs as an empty starting item if the access fails, realizing the availability detection of the starting path, deleting the corresponding starting item information in the starting item information list according to the empty starting item mark, updating the starting item list according to the starting item information list after the deletion is finished, and realizing the automatic deletion of the empty starting item in the BIOS. The invention deletes the empty startup item generated by the FAT32 format USB storage device without the empty or startup path, so that the FAT32 format USB disk and other format USB disks can only generate the startup item when having the startup path, and the startup item can be started and is not the empty startup item. The method can better meet the use experience of the user, and avoids the dilemma that the user cannot exit because the user enters the empty starting item by mistake and must restart the server.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units 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, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A BIOS null boot entry deletion method is characterized by comprising the following steps:
reading a startup item information list in a basic input and output system, and screening target startup item information with a storage format of USB storage equipment from the startup item information list;
saving the starting path of the target starting item information to a structural body;
reading and accessing a starting path in a structure body, and marking target starting item information to which the starting path belongs as an empty starting item if the access fails;
and deleting the corresponding startup item information in the startup item information list according to the empty startup item mark, and updating the startup item list according to the startup item information list after the deletion is finished.
2. The method of claim 1, wherein reading a startup item information list in a basic input output system, and screening target startup item information stored in a USB storage device from the startup item information list comprises:
constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list;
setting a processing period, and calling the processing function periodically according to the processing period.
3. The method of claim 1, wherein saving the boot path of the target boot item information to a fabric comprises:
extracting a unified extensible firmware interface starting path from the target starting item information;
and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
4. The method of claim 1, wherein reading and accessing a boot path in a structure, and if the access fails, marking target boot entry information to which the boot path belongs as a null boot entry comprises:
accessing the file under the starting path by using the constructed file access function, and marking a judgment variable of the starting path as unopenable if the access fails;
and marking the judgment variable of the starting path as the unopened starting item information as an empty starting item through variable assignment.
5. The method of claim 1, wherein deleting the corresponding startup item information in the startup item information list according to an empty startup item flag, and updating the startup item list according to the startup item information list after the deletion is completed, comprises:
monitoring the data updating condition of the startup item information list by using a monitoring process;
and if the startup item information list is monitored to have data updating, traversing the startup item information list, searching matched startup item information of the startup items in the startup item list from the startup item information list, and deleting the startup items without the matched startup item information from the startup item list.
6. A BIOS null boot entry deletion system, comprising:
the information screening unit is used for reading a starting item information list in a basic input and output system and screening target starting item information with a storage format of USB storage equipment from the starting item information list;
the path storage unit is used for storing the starting path of the target starting item information to the structural body;
the information marking unit is used for reading and accessing the starting path in the structure body, and marking the target starting item information to which the starting path belongs as an empty starting item if the access fails;
and the list updating unit is used for deleting the corresponding startup item information in the startup item information list according to the empty startup item mark and updating the startup item list according to the startup item information list after the deletion is finished.
7. The system of claim 6, wherein the information filtering unit is configured to:
constructing a processing function, wherein the processing function traverses a starting item information list, and screens out target starting item information of the USB storage equipment in all storage formats from the starting item information list;
setting a processing period, and calling the processing function periodically according to the processing period.
8. The system of claim 6, wherein the information holding unit is configured to:
extracting a unified extensible firmware interface starting path from the target starting item information;
and defining an identity token for the starting path of the unified extensible firmware interface, and storing the starting path of the unified extensible firmware interface to a structural body based on the identity token.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202111069397.6A 2021-09-13 2021-09-13 BIOS null boot entry deleting method, system, terminal and storage medium Withdrawn CN113849233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111069397.6A CN113849233A (en) 2021-09-13 2021-09-13 BIOS null boot entry deleting method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111069397.6A CN113849233A (en) 2021-09-13 2021-09-13 BIOS null boot entry deleting method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113849233A true CN113849233A (en) 2021-12-28

Family

ID=78974023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111069397.6A Withdrawn CN113849233A (en) 2021-09-13 2021-09-13 BIOS null boot entry deleting method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113849233A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117369890A (en) * 2023-11-30 2024-01-09 苏州元脑智能科技有限公司 Method, device, equipment and medium for starting server in guiding manner

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117369890A (en) * 2023-11-30 2024-01-09 苏州元脑智能科技有限公司 Method, device, equipment and medium for starting server in guiding manner
CN117369890B (en) * 2023-11-30 2024-02-27 苏州元脑智能科技有限公司 Method, device, equipment and medium for starting server in guiding manner

Similar Documents

Publication Publication Date Title
CN109542744A (en) Detect method, apparatus, storage medium and the terminal of terminal booting abnormal problem
CN111669284B (en) OpenStack automatic deployment method, electronic device, storage medium and system
CN107885535A (en) A kind of system start method, system switching method and device
CN111737609B (en) WEB system menu bar display method, terminal and storage medium
CN109271211B (en) Method, device, equipment and medium for separating application program
CN112486522A (en) Deployment method and device of OpenStack bare machine with intelligent network card
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN114185607B (en) Starting control method, device and equipment for PCI (peripheral component interconnect) equipment in ARM (advanced RISC machines) server
CN113190279B (en) Pre-boot function control method, system and medium
CN113849233A (en) BIOS null boot entry deleting method, system, terminal and storage medium
CN114385251A (en) Operating system booting method, system, terminal and storage medium based on memory
CN114024853A (en) Hardware information collection method and system for bare metal node and related components
CN111158987A (en) Health check method and device of micro-service architecture
CN109634782A (en) A kind of detection method of system robustness, device, storage medium and terminal
CN115150268A (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN114756362A (en) Resource quota management method and system, intelligent terminal and storage medium
CN105631318B (en) A kind of acquisition methods and device of registration table key assignments
CN112130900B (en) User information management method, system, equipment and medium for BMC
CN110058866B (en) Cluster component installation method and device
CN111966286A (en) Multi-data pool hierarchical migration method and system
CN112486409A (en) Method, system, terminal and storage medium for automatically recycling cluster cloud hard disk
CN111143193A (en) Big data service testing method, system, terminal and storage medium based on RobotFramework
CN111443907A (en) Method and device for calling SDK function
CN110825417A (en) Application program updating method and system
CN110209596A (en) Disk method for sorting, device and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20211228

WW01 Invention patent application withdrawn after publication