BIOS encryption and decryption method and system based on fingerprint module, terminal and storage medium
By providing fingerprint feature value data interface and verification comparison interface under UEFI BIOS, and recording and verifying feature value using fingerprint sensors, the problem that computer BIOS only supports key encryption and decryption is solved, and a low-cost and secure fingerprint encryption and decryption function is realized , enhances computer security.
Patent Information
- Application Number
- CN202411257865.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-10
AI Technical Summary
The existing computer BIOS only supports key encryption and decryption, which poses the risk of forgetting or stolen keys. The existing fingerprint encryption method is complex and costly to modify hardware.
Provide fingerprint feature value data interface and verification comparison interface under UEFI BIOS. Through fingerprint sensor recording and verification of fingerprint feature values, the fingerprint encryption and decryption function of BIOS is realized. You only need to simply upgrade the BIOS program.
It realizes a low-cost and concise BIOS fingerprint encryption and decryption method, enhances security and avoids the risk of key forgetting and stealing.
Smart Images

Figure CN119106413A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more specifically, to a BIOS encryption and decryption method, system, terminal and storage medium based on a fingerprint module. Background Art
[0002] BIOS is a set of programs fixed on a ROM chip in the motherboard, which can read and write specific information of system settings from CMOS. This program stores the most important basic input and output programs of the computer, the self-test program after powering on, and the system self-starting program. In simple terms, BIOS is a program that controls all input and output in the computer. It can control and adjust parameters of the keyboard, mouse, external interface, frequency, power supply, disk drive, etc. on the motherboard.
[0003] Currently, conventional BIOS on computers only support encryption and decryption with keys, but do not support fingerprint unlocking. This method has the following defects: 1. The key needs to be remembered, and if the key is forgotten, it cannot be unlocked; 2. The key needs to be entered manually, which is easy to be stolen; China application, application number 03134997.8 discloses a fingerprint encryption security industrial control system, which solves the problem of BIOS fingerprint encryption by integrating the fingerprint verification function into the basic BIOS to form a BIOS module with a fingerprint recognition function. However, it involves more hardware modifications, and the logical operations are relatively complex and costly. A low-cost and simpler BIOS encryption and decryption method based on a fingerprint module is needed to overcome the above defects. Summary of the invention
[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a BIOS encryption and decryption method based on a fingerprint module is provided, and a BIOS encryption and decryption system based on a fingerprint module, a BIOS encryption and decryption terminal based on a fingerprint module and a computer-readable storage medium are also provided.
[0005] The technical solution adopted by the present invention to solve the technical problem is:
[0006] A BIOS encryption and decryption method based on a fingerprint module is constructed, wherein the method comprises the following steps:
[0007] Step 1: Under UEFI BIOS, the driver module provides an interface for calculating fingerprint feature value data and an interface for verification and comparison;
[0008] Step 2: When setting the BIOS password, the BIOS calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash;
[0009] Step 3: When verifying the fingerprint, the BIOS prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value;
[0010] Step 4: Call the verification and comparison interface to pass the generated feature value and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor for verification.
[0011] The fingerprint module-based BIOS encryption and decryption method of the present invention, wherein, in the step 2, when setting the password, the fingerprint sensor needs to be pressed at least 3 times to record the fingerprint feature values and store them in sequence as a fingerprint library.
[0012] The fingerprint module-based BIOS encryption and decryption method of the present invention, wherein, in step three, the BIOS prompts the user to input the fingerprint by displaying it.
[0013] The fingerprint module-based BIOS encryption and decryption method of the present invention, wherein the step 4 also includes the following method:
[0014] If the verification is successful, you will enter the BIOS configuration menu or the password setting interface;
[0015] If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
[0016] A BIOS encryption and decryption system based on a fingerprint module, wherein the system comprises a drive unit, a fingerprint sensor and a BIOS unit;
[0017] The driving unit is used to drive the module to provide a fingerprint feature value calculation data interface and a verification comparison interface under UEFI BIOS;
[0018] When setting the BIOS password, the BIOS unit calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash;
[0019] When verifying the fingerprint, the BIOS unit prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value;
[0020] The verification comparison interface is called to pass the characteristic value generated this time and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor for verification.
[0021] In the fingerprint module-based BIOS encryption and decryption system of the present invention, when setting a password, the fingerprint sensor needs to be pressed at least three times to record fingerprint feature values and store them in sequence as a fingerprint library.
[0022] The fingerprint module-based BIOS encryption and decryption system of the present invention, wherein the BIOS unit prompts the user to input a fingerprint by displaying the fingerprint.
[0023] The fingerprint module-based BIOS encryption and decryption system of the present invention, wherein, if the fingerprint sensor is successfully authenticated, the BIOS configuration menu or the password setting interface is entered;
[0024] If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
[0025] A BIOS encryption and decryption terminal based on a fingerprint module comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0026] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.
[0027] The beneficial effect of the present invention is that by applying the method of the present application, it is only necessary to provide a fingerprint feature value calculation data interface and a verification comparison interface in the driver module under the UEFI BIOS, and simply upgrade and modify the BIOS program to upgrade the traditional BIOS to a new BIOS with fingerprint encryption and decryption functions. While solving the security and confidentiality problems, the cost can be very low, which is suitable for promotion and popularization. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:
[0029] Figure 1 It is a flow chart of the BIOS encryption and decryption method based on the fingerprint module of a preferred embodiment of the present invention;
[0030] Figure 2 It is an encryption flow chart of the BIOS encryption and decryption method based on the fingerprint module of a preferred embodiment of the present invention;
[0031] Figure 3 It is a decryption flow chart of the BIOS encryption and decryption method based on the fingerprint module of a preferred embodiment of the present invention;
[0032] Figure 4It is a principle block diagram of a BIOS encryption and decryption system based on a fingerprint module according to a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0034] The BIOS encryption and decryption method based on the fingerprint module of the preferred embodiment of the present invention is as follows: Figure 1 See also Figure 2 and Figure 3 , including the following steps:
[0035] S01: Under UEFI BIOS, the driver module provides a fingerprint feature value calculation data interface and a verification comparison interface;
[0036] S02: When setting the BIOS password, the BIOS calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash;
[0037] S03: When verifying the fingerprint, the BIOS prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value;
[0038] S04: calling the verification and comparison interface to pass the characteristic value generated this time and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor for verification;
[0039] To apply the method of the present application, it is only necessary to provide a fingerprint feature value calculation data interface and a verification comparison interface for the driver module under the UEFI BIOS, and simply upgrade and modify the BIOS program to upgrade the traditional BIOS to a new BIOS with fingerprint encryption and decryption functions. While solving security and confidentiality issues, the cost can be very low, which is suitable for promotion and popularization.
[0040] Preferably, in step 2, when setting the password, the fingerprint sensor needs to be pressed at least 3 times to record the fingerprint feature values and store them in sequence as a fingerprint library.
[0041] Preferably, in step three, the BIOS prompts the user to input a fingerprint by displaying the fingerprint.
[0042] Preferably, step 4 also includes a method:
[0043] If the verification is successful, you will enter the BIOS configuration menu or the password setting interface;
[0044] If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
[0045] A BIOS encryption and decryption system based on fingerprint module, such as Figure 4 As shown, the system includes a drive unit 100, a fingerprint sensor 101 and a BIOS unit 102;
[0046] The driving unit 100 is used to drive the module under UEFI BIOS to provide a fingerprint feature value calculation data interface and a verification comparison interface;
[0047] When setting the BIOS password, the BIOS unit 102 calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash;
[0048] When verifying the fingerprint, the BIOS unit prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value;
[0049] Call the verification and comparison interface to pass the generated feature value and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor 101 for verification;
[0050] To apply the system of the present application, it is only necessary to provide a fingerprint feature value calculation data interface and a verification comparison interface for the driver module under the UEFI BIOS, and to simply upgrade and modify the BIOS program to upgrade the traditional BIOS to a new BIOS with fingerprint encryption and decryption functions. While solving security and confidentiality issues, the cost can be very low, which is suitable for promotion and popularization.
[0051] Preferably, when setting a password, the fingerprint sensor needs to be pressed at least three times to record the fingerprint feature values and store them in sequence as a fingerprint library.
[0052] Preferably, the BIOS unit prompts the user to input a fingerprint by displaying the fingerprint.
[0053] Preferably, if the fingerprint sensor is successfully authenticated, the BIOS configuration menu or the password setting interface is entered;
[0054] If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
[0055] A BIOS encryption and decryption terminal based on a fingerprint module comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0056] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.
[0057] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. A BIOS encryption and decryption method based on a fingerprint module, characterized in that: The method comprises the following steps: Step 1: Under UEFI BIOS, the driver module provides an interface for calculating fingerprint feature value data and an interface for verification and comparison; Step 2: When setting the BIOS password, the BIOS calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash; Step 3: When verifying the fingerprint, the BIOS prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value; Step 4: Call the verification and comparison interface to pass the generated feature value and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor for verification.
2. The BIOS encryption and decryption method based on the fingerprint module according to claim 1 is characterized in that: In the step 2, when setting the password, the fingerprint sensor needs to be pressed at least 3 times to record the fingerprint feature values and store them in order as a fingerprint library.
3. The BIOS encryption and decryption method based on the fingerprint module according to claim 1, characterized in that: In the step three, the BIOS prompts the user to input the fingerprint by displaying the fingerprint.
4. The BIOS encryption and decryption method based on the fingerprint module according to claim 1, characterized in that: The step 4 also includes a method: If the verification is successful, you will enter the BIOS configuration menu or the password setting interface; If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
5. A BIOS encryption and decryption system based on a fingerprint module, characterized in that: The system includes a drive unit, a fingerprint sensor and a BIOS unit; The driving unit is used to drive the module to provide a fingerprint feature value calculation data interface and a verification comparison interface under UEFI BIOS; When setting the BIOS password, the BIOS unit calls the provided fingerprint feature value data interface to receive and calculate the fingerprint feature value data, and saves the data to the BIOS Flash; When verifying the fingerprint, the BIOS unit prompts the user and calls the fingerprint feature value data interface to receive and obtain the fingerprint feature value; The verification comparison interface is called to pass the characteristic value generated this time and the fingerprint data previously saved in the BIOS Flash to the fingerprint sensor for verification.
6. The BIOS encryption and decryption system based on the fingerprint module according to claim 5 is characterized in that: When setting a password, you need to press the fingerprint sensor at least 3 times to record the fingerprint feature values and store them in sequence as a fingerprint library.
7. The BIOS encryption and decryption system based on the fingerprint module according to claim 5 is characterized in that: The BIOS unit prompts the user to input a fingerprint by displaying the fingerprint.
8. The BIOS encryption and decryption system based on the fingerprint module according to claim 5 is characterized in that: If the fingerprint sensor is successfully authenticated, the user enters the BIOS configuration menu or the password setting interface; If the verification fails, an error message will be prompted and a window will pop up to select whether to retry. Select Yes to return to re-verify the BIOS password, and select No to end.
9. A BIOS encryption and decryption terminal based on a fingerprint module, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
