Disclosure of Invention
The invention aims to provide a BIOS data storage method and device, a BIOS device and a computer readable storage medium, so as to reduce the space occupied by UEFI variable data storage in the BIOS.
In order to solve the above technical problem, the present invention provides a data storage method for a BIOS, including:
the BIOS acquires UEFI variable data to be stored;
detecting repeated data corresponding to target data in the UEFI variable data to be stored in the repeated data storage area; wherein the target data comprises name data and/or GUID data;
if the current repeated data corresponding to the current target data is detected in the repeated data storage area, acquiring an index of the current repeated data, and replacing the current target data with the index of the current repeated data for storage in the process of storing the UEFI variable data to be stored in the variable data storage area; the current target data is any one of the target data, and the data size of the current target data is larger than the data size of the index of the current repeated data.
Optionally, the method further includes:
if the repeated data corresponding to the current target data is not detected in the repeated data storage area, storing the current target data into the repeated data storage area, and generating an index of the current target data in the repeated data storage area;
and in the process of storing the UEFI variable data to be stored into the variable data storage area, replacing the current target data with the index of the current target data for storage.
Optionally, the method further includes:
if the repeated data corresponding to the current target data is not detected in the repeated data storage area, detecting whether the repeated data corresponding to the current target data exists in UEFI variable data stored in the variable data storage area;
if so, storing the current target data into the repeated data storage area, and generating an index of the current target data in the repeated data storage area; in the process of storing the UEFI variable data to be stored into the variable data storage area, replacing the current target data with the index of the current target data for storage;
if not, storing the current target data in the variable data storage area in the process of storing the UEFI variable data to be stored in the variable data storage area.
Optionally, in the process of storing the UEFI variable data to be stored in the variable data storage area, the step of replacing the current target data with the index of the current duplicate data for storage includes:
and in the process of storing the UEFI variable data to be stored into the variable data storage area, replacing the current target data with the index of the current repeated data for storage, and adjusting the repeated attribute corresponding to the current target data in the storage attribute data corresponding to the UEFI variable data to be stored into a repeated state.
Optionally, when the target data includes the name data and the GUID data, the duplicate data storage area includes a duplicate name data storage area and a duplicate GUID data storage area.
Optionally, the method further includes: obtaining UEFI variable data to be read from the variable data storage area;
the process of obtaining the UEFI variable data to be read from the variable data storage area includes:
when the index of the current target data in the UEFI variable data to be read is stored in the variable data storage area, acquiring the index of the current target data;
and acquiring the current target data from the repeated data storage area according to the index of the current target data.
Optionally, when the index of the current target data in the UEFI variable data to be read is stored in the variable data storage area, acquiring the index of the current target data, including:
detecting whether a repeated attribute corresponding to current target data in storage attribute data corresponding to the UEFI variable data to be read in the variable data storage area is in a repeated state;
if so, acquiring an index of the current target data, and executing the step of acquiring the current target data from the repeated data storage area according to the index of the current target data;
if not, the current target data is obtained from the variable data storage area.
The present invention also provides a data storage device of BIOS, comprising:
the acquisition module is used for acquiring each binary menu data to be stored; each binary menu data to be stored is allowed state data or forbidden state data;
the detection module is used for detecting the repeated data corresponding to the target data in the UEFI variable data to be stored in the repeated data storage area; wherein the target data comprises name data and/or GUID data;
the repeated data storage module is used for acquiring an index of the current repeated data if the current repeated data corresponding to the current target data is detected in the repeated data storage area, and replacing the current target data with the index of the current repeated data for storage in the process of storing the UEFI variable data to be stored in the variable data storage area; the current target data is any one of the target data, and the data size of the current target data is larger than the data size of the index of the current repeated data.
The present invention also provides a BIOS device, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the data storage method of the BIOS when executing the computer program.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the data storage method of the BIOS as described above.
The invention provides a data storage method of a BIOS, which comprises the following steps: the BIOS acquires UEFI variable data to be stored; detecting repeated data corresponding to target data in UEFI variable data to be stored in a repeated data storage area; wherein the target data comprises name data and/or GUID data; if the current repeated data corresponding to the current target data is detected in the repeated data storage area, acquiring an index of the current repeated data, and replacing the current target data with the index of the current repeated data for storage in the process of storing UEFI variable data to be stored in the variable data storage area; the current target data is any one of the target data, and the data size of the current target data is larger than the data size of the index of the current repeated data;
therefore, in the process of storing the UEFI variable data to be stored in the variable data storage area, the current target data is stored by replacing the index of the current repeated data with the current target data, the repeated target data of each UEFI variable data can be stored by using the repeated data storage area, the space occupied by the storage of the repeated target data in the BIOS is reduced, and the space occupied by the storage of the UEFI variable data in the BIOS is reduced. In addition, the invention also provides a data storage device of the BIOS, the BIOS equipment and a computer readable storage medium, and the beneficial effects are also achieved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Referring to fig. 4, fig. 4 is a flowchart illustrating a data storage method of a BIOS according to an embodiment of the present invention. The method can comprise the following steps:
step 101: and the BIOS acquires UEFI variable data to be stored.
It is understood that the UEFI variable data to be stored in this step may be UEFI variable data that needs to be stored. The embodiment does not limit the specific content of the UEFI variable data to be stored, and may be implemented in the same or similar manner as the data content of the UEFI variable in the prior art, for example, the UEFI variable data to be stored may include name data, GUID data, and specific user data.
Specifically, the specific way in which the BIOS device (e.g., the BIOS chip) acquires the UEFI variable data to be stored in this embodiment may be set by a designer according to a practical scenario and a user requirement, for example, the BIOS device may acquire the UEFI variable data to be stored by using a SetVariable () interface function, for example, if the method is the same as or similar to the method for acquiring the UEFI variable data to be stored in the prior art.
Step 102: detecting repeated data corresponding to target data in UEFI variable data to be stored in a repeated data storage area; wherein the target data comprises name data and/or GUID data.
It is understood that the target data in this step may be partial data (such as name data and/or GUID data) in each UEFI variable data, where a duplicate situation may occur, that is, partial data that can be stored in the duplicate data storage area in the UEFI variable data to be stored. The repeated data storage area in this step may be an Nvram area for storing repeated target data.
Specifically, for the specific setting of the target data in this embodiment, the setting may be set by a designer according to a practical scenario and a user requirement, for example, the target data may include name data or GUID data, that is, the repeated data storage area may include a repeated name data storage area (e.g., the repeated variable name storage area in fig. 5) for storing repeated name data or a repeated GUID data storage area (e.g., the repeated variable GUID storage area in fig. 5) for storing repeated GUID data; the target data may also include name data and GUID data, i.e., the duplicate data store may include a duplicate name data store and a duplicate GUID data store.
It should be noted that the repeated data corresponding to the target data in this step may be the same data as the target data in the UEFI variable data to be stored, which is stored in the repeated data storage area. In this step, the BIOS device may detect the duplicate data corresponding to the target data in the UEFI variable data to be stored in the duplicate data storage area by detecting the duplicate data corresponding to the target data in the UEFI variable data to be stored in the duplicate data storage area, and may detect, in the duplicate name data storage area, the data (i.e., duplicate name data) identical to the name data in the UEFI variable data to be stored and the data (i.e., duplicate GUID data) identical to the name data in the UEFI variable data to be stored in the duplicate GUID data storage area, sequentially or separately, if the target data includes name data and GUID data.
Step 103: if the current repeated data corresponding to the current target data is detected in the repeated data storage area, acquiring an index of the current repeated data, and replacing the current target data with the index of the current repeated data for storage in the process of storing UEFI variable data to be stored in the variable data storage area; the current target data is any one of the target data, and the data size of the current target data is larger than the data size of the index of the current repeated data.
It can be understood that the current repeated data in this step may be the repeated data corresponding to the current target data (such as name data or GUID data) in the UEFI variable data to be stored in the repeated data storage area, that is, the data in the repeated data storage area that is the same as the current target data. In this step, the index (index) of the current duplicate data may be information used to indicate a storage location of the current duplicate data in the duplicate data storage area, such as an offset of the current duplicate data in the duplicate data storage area, that is, the BIOS device may search the current duplicate data in the duplicate data storage area by using the index of the current duplicate data. The variable data holding area in this step may be an Nvram area (e.g., a single variable holding area in fig. 5) for storing UEFI variable data.
Correspondingly, in this step, when the current target data to be stored in the UEFI variable data is stored in the duplicate data storage area, the BIOS device may obtain an index of the current target data (i.e., the current duplicate data) in the duplicate data storage area, so that in the process of storing the UEFI variable data to be stored in the variable data storage area, the current target data is replaced with the index of the current duplicate data for storage, so that the current target data does not need to be stored again in the variable data storage area, but an index with a smaller occupied space is stored, and therefore, the occupied space for storing the UEFI variable data to be stored is reduced without affecting the reading and use of the UEFI variable data to be stored. As shown in fig. 6, when the current target data is Name data in UEFI variable data to be stored corresponding to the variable 1, in this step, in the process of storing the UEFI variable data to be stored in the single variable storage area, the BIOS device may replace the actual current target data with the INDEX Name INDEX 1 of Name 1 (i.e., current duplicate data) in the duplicate variable Name storage area corresponding to the current target data at the variable Name in the variable 1, so that the storage of the actual ASCII character string of the current target data can be replaced with Name INDEX 1 (i.e., INDEX) occupying a smaller storage space at the variable Name in the variable 1 in the single variable storage area; correspondingly, when the current target data is GUID data, in the process of storing the UEFI variable data to be stored in the variable data storage area in this step, the BIOS device in this step may replace the actual 16-byte hexadecimal data of the current target data with a smaller INDEX (e.g., GUID INDEX 1-N in fig. 6) occupying a storage space at the GUID of the variable basic unit (e.g., variables 1-N in fig. 6) corresponding to the UEFI variable data to be stored in the variable data storage area.
It should be noted that, this step is illustrated by taking, as an example, storage processing of the BIOS device on any target data (i.e., current target data) of the UEFI variable data to be stored, that is, when the UEFI variable data to be stored includes two or more target data (such as name data and GUID data), each target data may be stored in the same or similar manner as this step.
Correspondingly, in the process that the basic input/output system (BIOS) device stores the UEFI variable data to be stored in the variable data storage area, the BIOS device not only can replace the current target data with the index of the current repeated data for storage, but also can adjust the repeated attribute corresponding to the current target data in the storage attribute data corresponding to the UEFI variable data to be stored into a repeated state, so that when the current target data of the UEFI variable data to be stored is subsequently read, whether the current target data or the index corresponding to the current target data is stored in the variable data storage area can be determined by detecting the repeated attribute corresponding to the current target data in the storage attribute data. That is, in this embodiment, the storage attribute data (i.e., the variable header) of the variable basic unit may include not only the existing attributes such as the size attribute for describing the total size of the variable basic units, the next attribute for describing the offset of the next variable basic unit, and the flags attribute for describing the attribute of the variable basic unit, but also the duplicate attribute corresponding to each target data.
Specifically, when the target data includes name data and GUID data, as shown in fig. 3 and 7, in this embodiment, two attributes, namely, a variable name duplicate attribute corresponding to the name data and a duplicate attribute corresponding to the GUID data (namely, a variable GUID duplicate attribute), may be added to the storage attribute data (namely, the variable header) of the variable basic unit corresponding to the UEFI variable data to be stored, so as to respectively identify whether the name data and the GUID data in the variable basic unit are respectively stored in corresponding duplicate data storage areas; for example, when the duplicate attribute corresponding to the name data is 1 (i.e., duplicate state), it may be indicated that the variable basic unit stores the index corresponding to the name data, and the actual name data (e.g., ASCII string) is stored in the duplicate name data storage area; when the duplicate attribute corresponding to the name data is 0 (i.e., non-duplicate state), it can indicate that the actual name data (e.g., ASCII string) is stored in the variable basic unit.
It should be noted that, in the method provided in this embodiment, if the duplicate data corresponding to the current target data is not detected in the duplicate data storage area, the current target data is stored in the duplicate data storage area, and an index of the current target data in the duplicate data storage area is generated; and in the process of storing the UEFI variable data to be stored into the variable data storage area, replacing the current target data with the index of the current target data for storage. That is to say, in this embodiment, when the BIOS device cannot detect the duplicate data corresponding to the current target data in the duplicate data storage area, the BIOS device may directly store the current target data in the duplicate data storage area, and store the current target data in the variable data storage area by replacing the index of the current target data in the duplicate data storage area with the index of the current target data. For example, in this embodiment, the repeated data storage area may store actual target data in all UEFI variable data, so that only an index corresponding to the target data is stored in the variable data storage area; correspondingly, because only the index corresponding to the target data is stored in the variable data storage area, the repeated attribute corresponding to the target data does not need to be set in the storage attribute data of the variable basic unit corresponding to the UEFI variable data in the variable data storage area.
Specifically, as shown in fig. 8, when the current target data is a variable name (i.e., name data), the BIOS device may search, according to the variable name transferred by SetVariable (), whether the variable name exists in the repeated variable name storage area; if not, storing the ACSII data of the name data in the repeated variable name storage area, generating an index (index) of the ACSII data of the variable name in the repeated variable name storage area, setting a variable name repeated attribute in a variable header of a variable basic unit corresponding to the variable name to be 1, setting the variable name of the variable basic unit to be the generated index (such as a hexadecimal numerical value), and then executing other steps of SetVariable () to finish the storage of the variable basic unit in the variable data storage area; if so, directly acquiring the index (index) of the ACSII data of the variable name stored in the duplicate name data storage area, setting the variable name duplicate attribute in the variable header of the variable basic unit corresponding to the variable name to be 1, setting the variable name of the variable basic unit to be the acquired index, and then executing other steps of SetVariable () to finish the storage of the variable basic unit in the variable data storage area. Correspondingly, in a manner similar to the process shown in fig. 8, the current target data is GUID data, and utilization of the index of the GUID data in the duplicate GUID data storage area, setting of the variable name duplicate attribute in the variable basic unit, and storage of the index corresponding to the GUID data can be achieved.
It can be understood that, the method provided by this embodiment may further include detecting whether the stored UEFI variable data in the variable data storage area includes the repeated data corresponding to the current target data if the repeated data corresponding to the current target data is not detected in the repeated data storage area; if yes, storing the current target data into the repeated data storage area, generating an index of the current target data in the repeated data storage area, and replacing the current target data with the index of the current target data for storage in the process of storing the UEFI variable data to be stored into the variable data storage area; and if not, storing the current target data in the variable data storage area in the process of storing the UEFI variable data to be stored in the variable data storage area.
That is to say, in this embodiment, when the duplicate data corresponding to the current target data cannot be detected in the duplicate data storage area, the BIOS device may continue to detect whether the duplicate data corresponding to the current target data exists in UEFI variable data (that is, UEFI variable data already stored) stored in the variable data storage area, that is, whether the current target data is repeated with data in the variable data storage area, so that when the current target data is repeated with data in the variable data storage area, the current target data is stored in the duplicate data storage area, so that an index corresponding to the current target data can be stored when the current target data needs to be stored again; when the current target data is not repeated with the data in the variable data storage area, the current target data can be stored in the variable data storage area, so that the target data which is not repeated does not need to be stored in the repeated data storage area, and the storage quantity of indexes corresponding to the target data in the variable data storage area is reduced.
Correspondingly, when the repeated data corresponding to the current target data is not detected in the repeated data storage area, and the repeated data corresponding to the current target data exists in the stored UEFI variable data in the variable data storage area, the BIOS device may store the current target data in the repeated data storage area, generate an index of the current target data in the repeated data storage area, replace the current target data with the index of the current target data for storage in the process of storing the UEFI variable data to be stored in the variable data storage area, and adjust the repeated attribute corresponding to the current target data in the storage attribute data corresponding to the UEFI variable data to be stored to be a repeated state. Correspondingly, the BIOS device may further adjust the repeated data corresponding to the current target data in the variable data storage area to an index of the current target data, and adjust a repeated attribute corresponding to the current target data in the storage attribute data corresponding to the UEFI variable data stored where the repeated data is located to a repeated state, thereby implementing storage adjustment of repeated target data occurring in the variable data storage area, and further reducing an occupied space of the repeated target data.
In the embodiment, in the process of storing the UEFI variable data to be stored in the variable data storage area, the current target data is stored by replacing the index of the current repeated data, so that the repeated target data of each UEFI variable data can be stored by using the repeated data storage area, the space occupied by the storage of the repeated target data in the BIOS is reduced, and the space occupied by the storage of the UEFI variable data in the BIOS is reduced.
Based on the above embodiment, the data storage method for the BIOS provided in this embodiment may further include a process of obtaining the UEFI variable data to be read from the variable data storage area, so as to ensure that the BIOS device may obtain complete UEFI variable data (e.g., the UEFI variable data to be stored in the above embodiment) from the variable data storage area. Specifically, the process of obtaining UEFI variable data to be read from the variable data storage area may include the following steps:
step 201: and when the index of the current target data in the UEFI variable data to be read is stored in the variable data storage area, acquiring the index of the current target data.
It can be understood that the UEFI variable data to be read in this step may be stored UEFI variable data that needs to be read; the current target data in this step may be any target data (such as name data or GUID data) in the UEFI variable data to be read. In this step, the BIOS device may store an index of current target data in UEFI variable data to be read in the duplicate data storage area, that is, when the current target data is stored in the duplicate data storage area, obtain the index corresponding to the current target data in the variable data storage area, so as to obtain the current target data from the duplicate data storage area by using the index.
Specifically, for the specific way in which the BIOS device determines the index of the current target data in the UEFI variable data to be read in the variable data storage area in this embodiment, the specific way may be set by a designer according to a practical scenario and a user requirement, for example, only the index corresponding to the target data is stored in the variable data storage area, that is, when the actual target data in the stored UEFI variable data is stored in the duplicate data storage area, the BIOS may default that the index of the current target data in the UEFI variable data to be read is stored in the variable data storage area in this step.
Correspondingly, when actual target data can be stored in the variable data storage area, the BIOS device in this step may also determine whether an index of the current target data in the UEFI variable data to be read is stored in the variable data storage area by detecting whether a repetition attribute corresponding to the current target data in the storage attribute data of the UEFI variable data to be read in the variable data storage area is a repetition state; therefore, when the repeated attribute is in a repeated state, the index of the current target data can be obtained, and the step 202 is carried out to obtain the current target data from the repeated data storage area; and when the repeated attribute is in a non-repeated state, directly acquiring the current target data from the variable data storage area. As shown in fig. 9, when the current target data is name data, the BIOS device may first check a variable name repetition attribute in a variable basic unit corresponding to UEFI variable data to be read when the current target data is read by using GetVariable (); if the value is 1 (i.e. the duplicate state), the area of the variable name in the variable basic unit in the variable data storage area (i.e. the variable name area) is an index (index) corresponding to the name data, but not the ASCII string of the actual name data, according to the index, the ASCII string of the actual name data can be read from the duplicate variable name storage area, and then other processes of GetVariable () can be executed to complete the reading of UEFI variable data to be read; if the variable name area is 0 (i.e. non-duplicate state), the ASCII string of the actual name data in the variable name area in the variable basic unit in the variable data storage area can be directly read from the ASCII string of the name data, and then the other process of GetVariable () can be executed to complete the reading of the UEFI variable data to be read. Accordingly, reading of the stored GUID data can be realized in a manner similar to the process shown in fig. 9 when the current target data is the GUID data.
Step 202: and acquiring the current target data from the repeated data storage area according to the index of the current target data.
It can be understood that, in this step, the BIOS device may obtain the current target data from the repeated data storage area by using the index of the current target data obtained from the variable data storage area; if the current target data is name data, the BIOS device may read the actual current target data (e.g., ASCII string) from the offset area corresponding to the index in the duplicate name data storage area using the index corresponding to the current target data in the variable data storage area.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a data storage device of a BIOS, and the data storage device of the BIOS described below and the data storage method of the BIOS described above may be referred to correspondingly.
Referring to fig. 10, fig. 10 is a block diagram illustrating a data storage device of a BIOS according to an embodiment of the present invention. The apparatus may include:
an obtaining module 10, configured to obtain each binary menu data to be stored; each binary menu data to be stored is allowed state data or forbidden state data;
the detection module 20 is configured to detect duplicate data corresponding to target data in UEFI variable data to be stored in the duplicate data storage area; wherein the target data comprises name data and/or GUID data;
the repeated data storage module 30 is configured to, if current repeated data corresponding to current target data is detected in the repeated data storage area, obtain an index of the current repeated data, and replace the current target data with the index of the current repeated data for storage in a process of storing UEFI variable data to be stored in the variable data storage area; the current target data is any one of the target data, and the data size of the current target data is larger than the data size of the index of the current repeated data.
Optionally, the apparatus may further include:
the index generation module is used for storing the current target data into the repeated data storage area and generating an index of the current target data in the repeated data storage area if the repeated data corresponding to the current target data is not detected in the repeated data storage area;
and the index storage module is used for replacing the current target data with the index of the current target data for storage in the process of storing the UEFI variable data to be stored into the variable data storage area.
Optionally, the apparatus may further include:
the variable detection module is used for detecting whether the repeated data corresponding to the current target data exists in the stored UEFI variable data in the variable data storage area or not if the repeated data corresponding to the current target data is not detected in the repeated data storage area;
the repeated storage module is used for storing the current target data into the repeated data storage area if the repeated data corresponding to the current target data exists, and generating an index of the current target data in the repeated data storage area; in the process of storing UEFI variable data to be stored into a variable data storage area, replacing the current target data with the index of the current target data for storage;
and the variable storage module is used for storing the current target data in the variable data storage area in the process of storing the UEFI variable data to be stored in the variable data storage area if the repeated data corresponding to the current target data does not exist.
Optionally, the data storage module 30 may include:
and the attribute adjusting submodule is used for replacing the current target data with the index of the current repeated data for storage in the process of storing the UEFI variable data to be stored in the variable data storage area, and adjusting the repeated attribute corresponding to the current target data in the storage attribute data of the UEFI variable data to be stored into a repeated state.
Optionally, when the target data includes name data and GUID data, the duplicate data storage area includes a duplicate name data storage area and a duplicate GUID data storage area.
Optionally, the apparatus may further include: the reading module is used for acquiring UEFI variable data to be read from the variable data storage area;
wherein, the reading module may include:
the index acquisition submodule is used for acquiring the index of the current target data when the index of the current target data in the UEFI variable data to be read is stored in the repeated data storage area;
and the repeated reading submodule is used for acquiring the current target data from the repeated data storage area according to the index of the current target data.
Optionally, the index obtaining sub-module may include:
the detection unit is used for detecting whether the repeated attribute corresponding to the current target data in the storage attribute data of the UEFI variable data to be read in the variable data storage area is in a repeated state;
the index acquisition unit is used for acquiring the index of the current target data and sending a starting signal to the repeated reading submodule if the current target data is in a repeated state;
and the variable reading unit is used for acquiring the current target data from the variable data storage area if the current target data is in a non-repetitive state.
In this embodiment, in the process of storing the UEFI variable data to be stored in the variable data storage area, the repeated data storage module 30 replaces the current target data with the index of the current repeated data for storage, so that the repeated target data generated by each UEFI variable data can be stored in the repeated data storage area, and the space occupied by the storage of the repeated target data in the BIOS is reduced, thereby reducing the space occupied by the storage of the UEFI variable data in the BIOS.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a BIOS device, and the following BIOS device and the above described data storage method of the BIOS may be referred to correspondingly.
An embodiment of the present invention further provides a BIOS device, including:
a memory for storing a computer program;
a processor for implementing the steps of the data storage method of the BIOS as provided in the above embodiments when executing the computer program.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a computer-readable storage medium, and the computer-readable storage medium described below and the data storage method of the BIOS described above may be referred to correspondingly.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the device testing method provided in the foregoing embodiment are implemented.
Wherein the 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), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
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 BIOS 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.
The data storage method and device of the BIOS, the BIOS device, and the computer readable storage medium provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. 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.