CN113064555A - BIOS data storage method, device, equipment and storage medium - Google Patents

BIOS data storage method, device, equipment and storage medium Download PDF

Info

Publication number
CN113064555A
CN113064555A CN202110429748.3A CN202110429748A CN113064555A CN 113064555 A CN113064555 A CN 113064555A CN 202110429748 A CN202110429748 A CN 202110429748A CN 113064555 A CN113064555 A CN 113064555A
Authority
CN
China
Prior art keywords
data
binary
stored
menu
bios
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.)
Pending
Application number
CN202110429748.3A
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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110429748.3A priority Critical patent/CN113064555A/en
Publication of CN113064555A publication Critical patent/CN113064555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a BIOS data storage method, a device, BIOS equipment and a computer readable storage medium, wherein the method comprises the following steps: the BIOS acquires each binary menu data to be stored; determining BIT data corresponding to each binary menu data to be stored; acquiring target byte data corresponding to the BIT data, and storing the target byte data in a preset storage area of the BIOS; according to the method and the device, the BIT data which are smaller than 1 byte and correspond to each binary menu data to be stored are determined, and the option data of each binary menu to be stored are mapped into the BIT data which are smaller than 1 byte, so that the BIT data corresponding to a plurality of option data can be stored in the same byte in the preset storage area of the BIOS, and the space occupied by the storage of the binary menu data in the BIOS is reduced on the basis of not influencing the binary menu option function.

Description

BIOS data storage method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for storing BIOS data, a BIOS device, and a computer-readable storage medium.
Background
The TSE is an important man-machine interface in a BIOS (Basic Input Output System), and provides menu options for providing modification and setting functions, modifying a value of a register, or transferring a designated parameter to a BIOS program, and the like. The menu option types in the TSE can be summarized into binary type, multi-value type, character string type and the like, wherein the menu of the binary type (namely the binary menu) occupies a considerable proportion in the whole TSE menu; the binary menu has two states of ENABLE or DISABLE, or 1 or 0 is used to represent different input values.
In the prior art, menu options in the TSE are usually described by using a structure body in the C language, each option of a binary menu is defined by 1 byte, and menu option data (binary menu data bytes as shown in fig. 1) will be finally stored in a FLASH (FLASH memory) NVRAM (non-volatile random access memory) area of the BIOS, which is generally a one-to-one mapping relationship as shown in fig. 1. Because the current BIOS has a plurality of functions and a plurality of configurable menu options, the space of FLASH (FLASH memory) occupied by the binary menu option in the TSE during final storage is large. Therefore, how to reduce the space occupied by the binary menu data stored in the BIOS on the basis of not affecting the function of the binary menu option is a problem that needs to be solved urgently today.
Disclosure of Invention
The invention aims to provide a BIOS data storage method, a BIOS data storage device, BIOS equipment and a computer readable storage medium, so as to reduce the space occupied by the storage of binary menu data in the BIOS on the basis of not influencing the function of the binary menu option.
In order to solve the above technical problem, the present invention provides a data storage method for a BIOS, including:
the BIOS acquires each binary menu data to be stored;
determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte;
acquiring target byte data corresponding to the BIT data, and storing the target byte data in a preset storage area of the BIOS; the amount of the BIT data corresponding to at least one byte in the target byte data is a preset amount, and the preset amount is greater than or equal to 2.
Optionally, the determining BIT data corresponding to each binary menu data to be stored includes:
acquiring BIT data corresponding to each binary menu data to be stored by using a first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of the binary menu data to be stored and the BIT data;
correspondingly, the acquiring target byte data corresponding to the BIT data includes:
acquiring target byte data corresponding to the BIT data by utilizing a second mapping relation table; and the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data.
Optionally, before determining the BIT data corresponding to each binary menu data to be stored, the method further includes:
judging whether the number of the binary menu data to be stored is greater than a threshold value;
if yes, executing the step of determining the BIT data corresponding to each binary menu data to be stored;
and if not, storing the binary menu data to be stored in the preset storage area.
Optionally, the preset data size is 1 BIT.
Optionally, the preset number is 8.
Optionally, the method further includes: a process of acquiring the binary menu data to be stored from the preset storage area;
wherein, the process of obtaining the binary menu data to be stored from the preset storage area comprises:
reading the target byte data from the preset storage area;
and acquiring the binary menu data to be stored according to the target byte data.
Optionally, the obtaining the binary menu data to be stored according to the target byte data includes:
acquiring BIT data corresponding to the target byte data by using a second mapping relation table; the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data;
acquiring binary menu data to be stored corresponding to the BIT data by using a first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of the binary menu data to be stored and the BIT data.
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;
the determining module is used for determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte;
the storage module is used for acquiring target byte data corresponding to the BIT data and storing the target byte data in a preset storage area of the BIOS; the amount of the BIT data corresponding to at least one byte in the target byte data is a preset amount, and the preset amount is greater than or equal to 2.
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 each binary menu data to be stored; determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte; acquiring target byte data corresponding to the BIT data, and storing the target byte data in a preset storage area of the BIOS; the quantity of the BIT data corresponding to at least one byte in the target byte data is a preset quantity, and the preset quantity is greater than or equal to 2;
therefore, the invention determines the BIT data with less than 1 byte corresponding to each binary menu data to be stored, and maps the option data of each binary menu to be stored into the BIT data with less than 1 byte, so that the BIT data corresponding to a plurality of option data can be stored in the same byte in the preset storage area of the BIOS, thereby reducing the space occupied by the binary menu data stored in the BIOS on the basis of not influencing the binary menu option function. 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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram illustrating a method for storing option data of a binary menu of a BIOS in the prior art;
FIG. 2 is a flowchart illustrating a method for storing BIOS data according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating another BIOS data storage method according to an embodiment of the present invention;
fig. 4 is a block diagram of a data storage device of a BIOS according to an embodiment of the present invention.
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. 2, fig. 2 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 each binary menu data to be stored.
It can be understood that the binary menu data to be stored in this step may be option data of a binary menu to be stored, that is, data of two states, namely ENABLE state data (ENABLE) or DISABLE state Data (DISABLE) corresponding to each binary menu; that is, each binary menu data to be stored in this step may be enable state data or disable state data.
Specifically, the specific way in which the BIOS device (e.g., the BIOS chip) acquires each binary menu data to be stored in this step may be set by a designer according to a practical scenario and a user requirement, for example, the BIOS device may be implemented in a manner the same as or similar to the method for acquiring a binary menu data to be stored in the prior art, as shown in fig. 1, the BIOS device may acquire binary menu data to be stored (i.e., binary menu data bytes 1 to N) of a SETUP (a human-computer interface) storage structure that needs to be stored. As long as the BIOS device can obtain the binary menu data to be stored, this embodiment does not set any limitation thereto.
Likewise, the present embodiment does not limit the specific content and size of each binary menu data to be stored, for example, each binary menu data to be stored may be 1 BYTE (BYTE) of allowed state data or disabled state data described by using a structure body in the C language in the prior art.
Step 102: determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte.
It can be understood that, in this step, the BIOS device determines BIT data of a preset data size corresponding to each binary menu data to be stored, so that the BIT data occupying a smaller space can be used to represent option data of a corresponding binary menu.
Correspondingly, the specific setting of the preset data size in the step, namely the size setting of BIT data corresponding to each binary menu data to be stored can be set by a designer according to a practical scene and user requirements, and because the binary menu only has two states of ENABLE or DISABLE, the two states can be represented by using one BIT (BIT), namely the preset data size can be 1BIT, if the BIT data is 1, the allowed state data can be represented, and if the BIT data is 0, the forbidden state data can be represented; a plurality of BITs (e.g. 2BIT and 4BIT, etc.) may also be used to represent the two states, as long as the preset data size is guaranteed to be smaller than 1 byte, which is not limited in this embodiment.
Specifically, the specific manner in which the BIOS device determines the BIT data corresponding to each binary menu data to be stored in this step may be set by the designer, and as shown in fig. 3, the binary menu data (BYTE source data, that is, binary menu data BYTEs 1-N) is mapped to the BIT data (BIT mesh data, that is, BIT1-N) by combing and defining the SETUP storage structure in advance, so as to establish a first mapping relationship table (mapping relationship table 1) of bidirectional mapping; in this step, the BIOS device may obtain BIT data corresponding to each binary menu data to be stored, by using the first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of binary menu data to be stored and BIT data. In this step, the BIOS device may also identify each binary menu data to be stored, and determine BIT data corresponding to each binary menu data to be stored, which is not limited in this embodiment.
Further, before step 102, it may further include determining whether the number of binary menu data to be stored is greater than a threshold; if yes, go to step 102; and if not, storing the binary menu data to be stored in a preset storage area. That is to say, the BIOS device may map the binary menu data to be stored into the corresponding BIT data for storage by the method provided in this embodiment when the number of the binary menu data to be stored is greater than the threshold value, so as to reduce the occupied space for storage; when the number of the binary menu data to be stored is less than or equal to the threshold, the BIOS device may store the binary menu data to be stored in the preset storage area by using the prior art as shown in fig. 1.
Step 103: acquiring target byte data corresponding to the BIT data, and storing the target byte data in a preset storage area of the BIOS; the quantity of the BIT data corresponding to at least one byte in the target byte data is a preset quantity, and the preset quantity is greater than or equal to 2.
It can be understood that, in this step, the BIOS device determines to obtain the target byte data corresponding to the BIT data, so that one byte in the target byte data in the preset storage area of the BIOS may store the BIT data corresponding to a plurality of binary menu data to be stored, thereby reducing the occupied space of the binary menu data to be stored.
Correspondingly, for the specific setting of the preset number in this step, that is, the specific number of BIT data that can be stored in one byte of the target byte data in the preset storage area, can be set by a designer according to a practical scene and a user requirement, as shown in fig. 3, when the size of the BIT data is 1BIT, the preset number may be 8, so that the occupation of the storage space of the BIOS device by the binary menu data to be stored is maximally reduced to 1/8, for example, when the number of the BIT data is an integral multiple of 8, the number of the BIT data corresponding to each byte of the target byte data is 8; the preset number may also be a number less than 8 and greater than or equal to 2, which is not limited in this embodiment.
It should be noted that the preset storage area in this step may be a specified area in a memory of the BIOS device, such as a specified area defined in the NVRAM of the BIOS device. The target BYTE data in this step may be BYTE data composed of all BIT data, such as FLASH BYTE data in fig. 3. As for the specific manner of acquiring the target byte data corresponding to the BIT data by the BIOS device in this step, the specific manner may be set by a designer according to a practical scenario and a user requirement, and as shown in fig. 3, a second mapping relationship table of bidirectional mapping is established by mapping the BIT data to the target byte data in advance; in this step, the BIOS device may obtain target byte data corresponding to the BIT data by using the second mapping relationship table; the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data. In this step, the BIOS device may also generate target byte data using the determined BIT data, and record a correspondence between each BIT data in the target byte data and the respective corresponding binary menu data to be stored. The present embodiment does not set any limit to this.
Specifically, in this step, after obtaining the target byte data corresponding to the BIT data, the BIOS device may call a SetVariable () function (a standard function in the BIOS that stores data in a memory, and a specific interface is defined by UEFI specific industrial SPECIFICATION), so as to actually store the target byte data in a preset storage area of the BIOS.
In this embodiment, by determining BIT data of less than 1 byte corresponding to each binary menu data to be stored, and mapping the option data of each binary menu to be stored into BIT data of less than 1 byte, the BIT data corresponding to multiple option data can be stored in the same byte in a preset storage area of the BIOS, so that the space occupied by the binary menu data stored in the BIOS is reduced on the basis of not affecting the function of the binary menu options.
Based on the above embodiment, the data storage method of the BIOS provided in this embodiment may further include a process of acquiring binary menu data to be stored from the preset storage area, so as to ensure that the BIOS device may acquire the original binary menu data to be stored by using the target byte data stored in the preset storage area; specifically, the process of acquiring the binary menu data to be stored from the preset storage area may include the following steps:
step 201: and reading the target byte data from the preset storage area.
Specifically, in this step, the BIOS device may read target byte data corresponding to the binary menu data to be stored from the preset storage area when the binary menu data to be stored needs to be acquired, for example, the BIOS device may call a GetVariable () function (a standard function for reading data from a memory in the BIOS, where a specific interface is defined by UEFI specific industrial SPECIFICATION), and read the target byte data from the preset storage area.
Step 202: and acquiring binary menu data to be stored according to the target byte data.
It can be understood that, in this step, the BIOS device may obtain, by using the target byte data read from the preset storage area, to-be-stored binary menu data corresponding to the target byte data, and restore the option data of the original binary menu.
Specifically, the specific manner in which the BIOS device obtains the binary menu data to be stored according to the target byte data in this step may be set by a designer according to a practical scenario and a user requirement, as shown in fig. 3, when the first mapping relationship table (mapping relationship table 1) and the second mapping relationship table (mapping relationship table 2) are preset, the BIOS device in this step may obtain the BIT data corresponding to the target byte data by using the second mapping relationship table first; and then, acquiring binary menu data to be stored corresponding to the BIT data by using the first mapping relation table. In this step, the BIOS device may also directly obtain the binary menu data to be stored corresponding to the target byte data by using a corresponding relationship between each BIT data in the recorded target byte data and the respective binary menu data to be stored, which is not limited in this embodiment.
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. 4, fig. 4 is a block diagram of 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;
a determining module 20, configured to determine BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte;
the storage module 30 is configured to obtain target byte data corresponding to the BIT data, and store the target byte data in a preset storage area of the BIOS; the quantity of the BIT data corresponding to at least one byte in the target byte data is a preset quantity, and the preset quantity is greater than or equal to 2.
Optionally, the determining module 20 may include:
the target BIT obtaining submodule is used for obtaining BIT data corresponding to each binary menu data to be stored by utilizing the first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of binary menu data to be stored and BIT data;
correspondingly, the storage module 30 may include:
the target byte obtaining submodule is used for obtaining target byte data corresponding to the BIT data by utilizing the second mapping relation table; the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data.
Optionally, the apparatus may further include:
the judging module is used for judging whether the number of the binary menu data to be stored is greater than a threshold value; if the threshold value is larger than the threshold value, sending a starting signal to the determining module 20;
and the direct storage module is used for storing the binary menu data to be stored into a preset storage area if the binary menu data is not greater than the threshold.
Optionally, the preset data size is 1 BIT.
Optionally, the preset number is 8.
Optionally, the apparatus may further include: the storage acquisition module is used for acquiring binary menu data to be stored from a preset storage area;
wherein, the storage obtaining module may include:
the reading submodule is used for reading target byte data from a preset storage area;
and the obtaining submodule is used for obtaining binary menu data to be stored according to the target byte data.
Optionally, the obtaining sub-module may be specifically configured to obtain, by using the second mapping relation table, BIT data corresponding to the target byte data; acquiring binary menu data to be stored corresponding to the BIT data by using a first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of binary menu data to be stored and BIT data, and the second mapping relation table is a bidirectional mapping relation table of the BIT data and target byte data.
In this embodiment, the determining module 20 determines BIT data of less than 1 byte corresponding to each binary menu data to be stored, and maps the option data of each binary menu to be stored into BIT data of less than 1 byte, so that BIT data corresponding to multiple option data can be stored in the same byte in a preset storage area of the BIOS, thereby reducing the space occupied by the binary menu data stored in the BIOS on the basis of not affecting the binary menu option function.
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.
The 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 data storage method of the BIOS provided in the above 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.

Claims (10)

1. A data storage method of a BIOS is characterized by comprising the following steps:
the BIOS acquires each binary menu data to be stored;
determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte;
acquiring target byte data corresponding to the BIT data, and storing the target byte data in a preset storage area of the BIOS; the amount of the BIT data corresponding to at least one byte in the target byte data is a preset amount, and the preset amount is greater than or equal to 2.
2. The method according to claim 1, wherein the determining BIT data corresponding to each binary menu data to be stored comprises:
acquiring BIT data corresponding to each binary menu data to be stored by using a first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of the binary menu data to be stored and the BIT data;
correspondingly, the acquiring target byte data corresponding to the BIT data includes:
acquiring target byte data corresponding to the BIT data by utilizing a second mapping relation table; and the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data.
3. The method according to claim 1, wherein before determining the BIT data corresponding to each binary menu data to be stored, the method further comprises:
judging whether the number of the binary menu data to be stored is greater than a threshold value;
if yes, executing the step of determining the BIT data corresponding to each binary menu data to be stored;
and if not, storing the binary menu data to be stored in the preset storage area.
4. The BIOS data storage method of claim 1, wherein the predetermined data size is 1 BIT.
5. The BIOS data storage method of claim 4 wherein the predetermined number is 8.
6. The BIOS data storage method of any one of claims 1 to 5, further comprising: a process of acquiring the binary menu data to be stored from the preset storage area;
wherein, the process of obtaining the binary menu data to be stored from the preset storage area comprises:
reading the target byte data from the preset storage area;
and acquiring the binary menu data to be stored according to the target byte data.
7. The BIOS data storage method according to claim 6, wherein the obtaining the binary menu data to be stored according to the target byte data comprises:
acquiring BIT data corresponding to the target byte data by using a second mapping relation table; the second mapping relation table is a bidirectional mapping relation table of the BIT data and the target byte data;
acquiring binary menu data to be stored corresponding to the BIT data by using a first mapping relation table; the first mapping relation table is a bidirectional mapping relation table of the binary menu data to be stored and the BIT data.
8. A data storage device of a BIOS, comprising:
the acquisition module is used for acquiring each binary menu data to be stored;
the determining module is used for determining BIT data corresponding to each binary menu data to be stored; the size of each BIT data is a preset data size, and the preset data size is smaller than 1 byte;
the storage module is used for acquiring target byte data corresponding to the BIT data and storing the target byte data in a preset storage area of the BIOS; the amount of the BIT data corresponding to at least one byte in the target byte data is a preset amount, and the preset amount is greater than or equal to 2.
9. A BIOS device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data storage method of the BIOS as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the data storage method of the BIOS according to one of claims 1 to 7.
CN202110429748.3A 2021-04-21 2021-04-21 BIOS data storage method, device, equipment and storage medium Pending CN113064555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110429748.3A CN113064555A (en) 2021-04-21 2021-04-21 BIOS data storage method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110429748.3A CN113064555A (en) 2021-04-21 2021-04-21 BIOS data storage method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113064555A true CN113064555A (en) 2021-07-02

Family

ID=76567265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110429748.3A Pending CN113064555A (en) 2021-04-21 2021-04-21 BIOS data storage method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113064555A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201041675Y (en) * 2006-03-28 2008-03-26 上海芯正电子科技有限公司 A protection memory of byte storage unit array and corresponding IC card chip
CN101183336A (en) * 2007-12-18 2008-05-21 凌阳科技股份有限公司 Method using nonvolatile semiconductor memory performance-test data and electronic device thereof
US20140208062A1 (en) * 2010-03-22 2014-07-24 Lsi Corporation Storage address space to nvm address, span, and length mapping/converting
CN104868922A (en) * 2014-02-24 2015-08-26 华为技术有限公司 Data compression method and device
CN107209661A (en) * 2014-09-26 2017-09-26 英特尔公司 Instruction and logic for providing SIMD SM4 cryptographic block cryptographic functionalities
CN107862026A (en) * 2017-10-31 2018-03-30 北京小度信息科技有限公司 Date storage method and device, data query method and device, electronic equipment
CN108197324A (en) * 2018-02-06 2018-06-22 百度在线网络技术(北京)有限公司 For storing the method and apparatus of data
CN108733317A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 Date storage method and device
CN111008230A (en) * 2019-11-22 2020-04-14 远景智能国际私人投资有限公司 Data storage method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201041675Y (en) * 2006-03-28 2008-03-26 上海芯正电子科技有限公司 A protection memory of byte storage unit array and corresponding IC card chip
CN101183336A (en) * 2007-12-18 2008-05-21 凌阳科技股份有限公司 Method using nonvolatile semiconductor memory performance-test data and electronic device thereof
US20140208062A1 (en) * 2010-03-22 2014-07-24 Lsi Corporation Storage address space to nvm address, span, and length mapping/converting
CN104868922A (en) * 2014-02-24 2015-08-26 华为技术有限公司 Data compression method and device
CN107209661A (en) * 2014-09-26 2017-09-26 英特尔公司 Instruction and logic for providing SIMD SM4 cryptographic block cryptographic functionalities
CN108733317A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 Date storage method and device
CN107862026A (en) * 2017-10-31 2018-03-30 北京小度信息科技有限公司 Date storage method and device, data query method and device, electronic equipment
CN108197324A (en) * 2018-02-06 2018-06-22 百度在线网络技术(北京)有限公司 For storing the method and apparatus of data
CN111008230A (en) * 2019-11-22 2020-04-14 远景智能国际私人投资有限公司 Data storage method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110765031B (en) Data storage method and device, mobile terminal and storage medium
US20200021772A1 (en) Multimedia recording data obtaining method and terminal device
EP1325419A1 (en) Logic system with configurable interface
CN112929672B (en) Video compression method, device, equipment and computer readable storage medium
CN110888843A (en) Cross-host sparse file copying method, device, equipment and storage medium
CN110543281A (en) Storage compression implementation method, device, equipment and storage medium
WO2022228500A1 (en) Data storage method and apparatus for bios, device and storage medium
CN111125008B (en) Dynamic repairing method and system of abnormal inode and related components
CN114117992B (en) Serialization and deserialization method and device and electronic equipment
CN108958755B (en) Method and device for generating application program installation package and electronic equipment
CN109508782B (en) Neural network deep learning-based acceleration circuit and method
CN108053034B (en) Model parameter processing method and device, electronic equipment and storage medium
CN113064555A (en) BIOS data storage method, device, equipment and storage medium
CN107741968B (en) Method, system and device for file retrieval and computer readable storage medium
CN113177045A (en) Data extraction method and device, computable storage equipment and data request equipment
CN110780820A (en) Method and device for determining continuous storage space, electronic equipment and storage medium
CN113641643A (en) File writing method and device
CN115629711A (en) Packet writing alignment method, system, device and medium
CN115765754A (en) Data coding method and coded data comparison method
CN114861003A (en) Object enumeration method, device and medium under specified directory
JP3725443B2 (en) Method and system for converting Unicode text to a mixed code page
CN113434502B (en) Heterogeneous database consistency implementation method, system, electronic equipment and storage medium
KR101652740B1 (en) System and method for image processing and restoring
CN107729387B (en) Video thumbnail selection method, storage medium and electronic device
US7085792B2 (en) Look-up table methods for reducing the use of memory volume and system thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication