CN-122019032-A - BIOS navigation and parameter configuration method and device, electronic equipment and storage medium
Abstract
The embodiment of the invention discloses a method, a device, electronic equipment and a storage medium for BIOS navigation and parameter configuration, and relates to the technical field of UEFI BIOS development, wherein the method comprises the steps of drawing hardware areas according to real silk screen printing of a main board, and distributing rectangular hot area coordinates and canonical naming for each hardware area; the method comprises the steps of constructing a navigation index table according to the naming of each hardware area, a form ID and a target page, hitting a rectangular hot area corresponding to the hardware area based on the navigation index table and an interaction event, loading hardware configuration parameters corresponding to the hit rectangular hot area, highlighting modifiable items, obtaining interaction information, verifying and storing legitimacy, monitoring a rollback event, returning to a main page if the page corresponding to the rollback event is jumped from the main page, and recovering a highlight state of the previous hot area, otherwise, returning to an upper menu. The invention effectively solves the problems of complex BIOS level, low interaction efficiency and difficult hardware change adaptation in the prior art, and remarkably improves the user configuration efficiency and the system stability.
Inventors
- WU WEIPENG
Assignees
- 深圳市智微智能软件开发有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251222
Claims (10)
- 1. A method for BIOS navigation and parameter configuration, the method comprising: The method comprises the steps of drawing hardware areas through a drawing tool according to actual screen printing of a main board, and distributing rectangular hot area coordinates and standard naming for each hardware area, wherein each hardware area comprises a CPU slot, a memory slot and a PCIe interface; constructing a navigation index table according to the naming of each hardware region, the form ID and the target page, and hit the rectangular hot zone corresponding to the hardware region based on the navigation index table and an interaction event, wherein the interaction event comprises a mouse hovering event, a mouse clicking event, a touch event, a timer event and a keyboard input event; loading hardware configuration parameters corresponding to the hit rectangular hot zone, highlighting modifiable items, acquiring interaction information, and verifying and storing the legitimacy of the interaction information, wherein the interaction information comprises configuration items and parameters to be modified; Monitoring a rollback event, returning to a main page if a page corresponding to the rollback event is jumped from a main page, and recovering a previous hot zone highlight state, otherwise, returning to an upper menu, wherein the rollback event comprises an ESC key event and an F10 key event.
- 2. The BIOS navigation and parameter configuration method as claimed in claim 1, wherein said drawing hardware regions by drawing tool according to actual screen printing of the motherboard, assigning rectangular hot zone coordinates and canonical names to each of the hardware regions, comprises: drawing a hardware region according to the actual screen printing of the main board by using a vector drawing tool, and deriving the hardware region into an SVG/PNG format, wherein the vector drawing tool comprises Adobe Illustrator; And distributing rectangular hot zone coordinates for each hardware region, ensuring that the error range is less than or equal to +/-2 pixels, and naming each hardware region by adopting a naming rule of combining hardware types and positions.
- 3. The method for configuring BIOS navigation and parameters according to claim 1, wherein said constructing a navigation index table according to the naming of each hardware region, the form ID and the target page, and hitting the rectangular hot zone corresponding to the hardware region based on the navigation index table and the interaction event comprises: Constructing a navigation index table to store the naming of the hardware region, the form ID and the target page and the corresponding mapping relation; capturing an interaction event according to a SimplePointer protocol of UEFI, traversing the navigation index table, and if the coordinate of the interaction event is located in the range of the rectangular hot zone, reading a form ID corresponding to the rectangular hot zone and triggering skip.
- 4. The BIOS navigation and parameter configuration method of claim 1, wherein the loading hit hardware configuration parameters corresponding to the rectangular hot zone and highlighting modifiable items comprises: After jumping to a corresponding target form, loading current hardware configuration parameters through a UEFI HII protocol and binding the current hardware configuration parameters to form controls, wherein the configuration parameters comprise CPU frequency and memory time sequence; And carrying out visual highlighting on the modifiable item in the target form, refreshing dynamic parameters through timer events to ensure that a display value is synchronous with a hardware state, wherein the visual highlighting comprises frame color change and icon hovering amplification, and the dynamic parameters comprise CPU temperature and voltage.
- 5. The BIOS navigation and parameter configuration method as recited in claim 1, wherein said verifying and saving said interaction information legitimacy comprises: And verifying whether the interaction information is in a set input range, if not, popping up an error prompt, otherwise, writing the interaction information into NVRAM through UEFI Variable Services, prompting an operation result prompt and recording a modification log.
- 6. The BIOS navigation and parameter configuration method as claimed in claim 1, wherein said listening for a rollback event, returning to a main page if a page corresponding to said rollback event is jumped from a main page, and restoring a previous hot zone highlight state, comprises: Capturing a rollback event through SimpleTextInputEx protocol of UEFI, judging the source of the current page, if the current page is jumped from the main board diagram, returning to the main board diagram and restoring the highlight state of the hot area selected before when the rollback event is triggered, and playing the smooth transition animation when the rollback event is returned.
- 7. The method for BIOS navigation and parameter configuration as recited in claim 1, wherein said reversing back to the upper menu comprises: If the current page is not jumped from the main board diagram, the GoBack function is called to return to the upper menu when the rollback event is triggered, the temporary variable is cleared when the page is rolled back, the page history record is managed through the stack structure, and continuous rollback to any level is supported.
- 8. A BIOS navigation and parameter configuration device, said device comprising: The hardware hot zone drawing module is used for drawing hardware areas through a drawing tool according to the actual screen printing of the main board, and distributing rectangular hot zone coordinates and standard naming for each hardware area; The navigation index construction module is used for constructing a navigation index table according to the naming of each hardware region, the form ID and the target page, and hitting the rectangular hot region corresponding to the hardware region based on the navigation index table and the interaction event, wherein the interaction event comprises a mouse hovering event, a mouse clicking event, a touch event, a timer event and a keyboard input event; The parameter configuration module is used for loading the hardware configuration parameters corresponding to the hit rectangular hot zone, highlighting the modifiable items, acquiring interaction information, and verifying and storing the legitimacy of the interaction information, wherein the interaction information comprises the configuration items and the parameters to be modified; And the rollback event processing module is used for monitoring a rollback event, returning to the main page if the page corresponding to the rollback event is jumped from the main page, and recovering the previous hot zone highlight state, otherwise, returning to the upper menu, wherein the rollback event comprises an ESC key event and an F10 key event.
- 9. An electronic device comprising at least one processor and at least one memory, wherein, The memory has computer readable instructions stored thereon; the computer readable instructions are executed by one or more of the processors to cause an electronic device to implement the BIOS navigation and parameter configuration method of any one of claims 1 to 7.
- 10. A storage medium having stored thereon computer readable instructions, the computer readable instructions being executable by one or more processors to implement the BIOS navigation and parameter configuration method of any one of claims 1 to 7.
Description
BIOS navigation and parameter configuration method and device, electronic equipment and storage medium Technical Field The invention relates to the technical field of UEFI BIOS development, in particular to a BIOS navigation and parameter configuration method, a device, electronic equipment and a storage medium. Background With the rapid development of computer technology, BIOS (basic input output system) is increasingly important as a bridge between hardware and an operating system. However, due to the design of a multi-level menu or text label page adopted by the conventional BIOS/UEFI Setup interface, a user needs to enter a complex path step by step (such as Advanced-CPU Configuration ") to perform parameter configuration, the steps are tedious and the terminology is obscure, so that the learning threshold and the operation cost of a novice user are greatly improved. The existing graphical BIOS changes a text menu into an icon type label, but still does not break through the limitation of a hierarchical structure, does not establish a direct mapping relation of a physical main board and a setting page, and a user needs to complete operation through a memory path or repeated attempts. The EZ Mode instrument panel provided by part of the high-end main board only supports the read-only display of hardware information, can not directly jump to the corresponding editable setting page by clicking the hardware icon, and does not take the main board outline map as a navigation main body, so that the interaction efficiency is low. In addition, the conventional BIOS design lacks compatibility support (such as a touch pad and a touch screen) for multiple input devices, has poor experience under a non-keyboard operation scene, and when the hardware configuration is changed (such as an on-board SATA interface is shielded), the system cannot dynamically disable an invalid hot zone, so that misoperation of a user is easily caused. Therefore, there is an urgent need for a BIOS navigation and parameter configuration method that can achieve "what you see is what you set", reduce the complexity of operations, improve the efficiency of parameter configuration, and be compatible with multiple types of input devices and dynamic hardware environments. Disclosure of Invention The embodiments of the invention provide a BIOS navigation and parameter configuration method to solve the problems of high user operation threshold and easy false touch caused by deep path level, complex terminology, low interaction efficiency and lack of compatibility of multiple input devices in the prior art. The technical scheme is as follows: According to one aspect of the invention, a BIOS navigation and parameter configuration method comprises the steps of drawing hardware areas through drawing tools according to actual screen printing of a main board, distributing rectangular hot area coordinates and standard names for the hardware areas, wherein the hardware areas comprise CPU slots, memory slots and PCIe interfaces, constructing a navigation index table according to the names of the hardware areas, form IDs and target pages, hit rectangular hot areas corresponding to the hardware areas based on the navigation index table and interaction events, wherein the interaction events comprise mouse hovering events, mouse clicking events, touch events, timer events and keyboard input events, loading hardware configuration parameters corresponding to the hit rectangular hot areas, highlighting modifiable items, obtaining interaction information, verifying and storing legitimacy of the interaction information, wherein the interaction information comprises configuration items and parameters to be modified, monitoring a rollback event, returning to a main page if a page corresponding to the rollback event is a page which is jumped from the main page, and restoring a previous rollback state to an upper menu, and otherwise loading the hardware configuration parameters corresponding to the rectangular hot areas, and obtaining the interaction information comprises ESC keys and F10 keys. In one embodiment, the hardware region is drawn according to the actual screen printing of the main board through a drawing tool, rectangular hot region coordinates and standard naming are distributed to the hardware regions through the drawing tool, the hardware region is drawn according to the actual screen printing of the main board through the vector drawing tool, the SVG/PNG format is derived, the vector drawing tool comprises Adobe Illustrator, the rectangular hot region coordinates are distributed to the hardware regions, the error range is not more than +/-2 pixels, and the standard naming of the hardware regions is achieved through naming rules of combination of hardware types and positions. In one embodiment, constructing a navigation index table according to the naming of each hardware region, the form ID and the target page, and hitting the rectangular hot zone corres