BIOS parameter modification method, device, tool and readable storage medium

Determining and modifying video frames from the BIOS interface through the identification code collection solves the problem of complex and inefficient BIOS parameter modification process, realizes automated batch modification, and improves efficiency and speed.

CN113608793BActive Publication Date: 2024-09-03TOPDISK ENTERPRISE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110913077.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-10
Publication Date
2024-09-03
Estimated Expiration
2041-08-10

AI Technical Summary

Technical Problem

The existing BIOS parameter modification process is complex and inefficient. Especially when a large number of parameters need to be modified, manual operations take a long time and there is a lack of automated batch modification methods.

Method used

By obtaining the identification code set, including target identification data, target identification type, target identification area, restart identification and key code, the corresponding video frames are determined and modified from the video frames corresponding to multiple BIOS interfaces to realize automatic batch modification of BIOS parameters. .

Benefits of technology

It realizes automated batch modification of a large number of BIOS parameters, improves modification efficiency, shortens the modification cycle, and avoids waste of human resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113608793B
    Figure CN113608793B
Patent Text Reader

Abstract

The present application discloses a BIOS parameter modification method, device, tool and readable storage medium. By obtaining an identification code set (the identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code); according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, the video frame corresponding to the i-th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces, 1≤i≤I, I is the total number of identification code groups in the identification code set; and the video frame corresponding to the i-th group of identification codes is used to modify the BIOS parameters. The automatic batch modification of a large number of BIOS parameters that need to be modified is realized, which not only avoids the waste of human resources, but also improves the modification efficiency and shortens the modification cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Basic Input Output System (BIOS), and in particular to a BIOS parameter modification method, device, tool and readable storage medium. Background Art

[0002] The Basic Input Output System (BIOS) is the first software loaded when a personal computer starts up. It is a set of programs fixed to a read-only memory (ROM) chip on the computer motherboard. It 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. Its main function is to provide the lowest-level and most direct hardware settings and controls for the computer.

[0003] Generally, BIOS follows the SMBIOS specification. SMBIOS (System Management BIOS) is a unified specification that motherboard or system manufacturers must follow to display product management information in a standard format. The Desktop Management Interface (DMI) is used to collect computer system information, and the information collection is carried out in accordance with the SMBIOS specification. For security reasons, the corresponding interface and method are generally not provided for modifying BIOS parameters. At present, in the process of testing PC equipment, the BIOS parameters that need to be modified are mainly modified manually. When a large number of BIOS parameters need to be modified, the modification cycle is long, the process is complicated, and the manual efficiency is low. Summary of the invention

[0004] In view of the above problems, the present application proposes a BIOS parameter modification method, device, tool and readable storage medium.

[0005] The present application embodiment provides a BIOS parameter modification method, the method comprising:

[0006] Acquire an identification code set, the identification code set comprising at least one group of identification codes, each group of identification codes comprising target identification data, target identification type, target identification area, restart identification and key code;

[0007] Determine the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, 1≤i≤I, I is the total number of groups of identification codes in the identification code set;

[0008] The BIOS parameters are modified using the video frame corresponding to the i-th group of identification codes.

[0009] The BIOS parameter modification method described in the embodiment of the present application, wherein the video frame corresponding to the i-th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification, and key code of the i-th group of identification codes, including:

[0010] Determining whether the restart identifier of the i-th group of identification codes is valid;

[0011] If the restart identifier of the i-th group of identification codes is invalid, the key code is used to traverse the multiple BIOS interfaces, and when traversing each BIOS interface, the target identification type and target identification area of ​​the i-th group of identification codes are used to determine whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes. If included, the video frame including the target identification data of the i-th group of identification codes will be used as the video frame corresponding to the i-th group of identification codes.

[0012] The BIOS parameter modification method described in the embodiment of the present application, wherein the target identification type and target identification area of ​​the i-th group of identification codes are used to determine whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes, comprises:

[0013] Intercepting a target image from a current video frame corresponding to a currently traversed BIOS interface according to a target identification area of ​​the i-th group of identification codes;

[0014] Determining identification data of the current video frame from the target picture and the current video frame according to the target identification type of the i-th group of identification codes;

[0015] If the identification data of the current video frame is the same as the target identification data of the i-th group of identification codes, determining that the current video frame includes the target identification data of the i-th group of identification codes;

[0016] If the identification data of the current video frame is different from the target identification data of the i-th group of identification codes, it is determined that the current video frame does not include the target identification data of the i-th group of identification codes.

[0017] The BIOS parameter modification method described in the embodiment of the present application, wherein the step of determining the identification data of the current video frame from the target image and the current video frame according to the target identification type of the i-th group of identification codes includes:

[0018] If the target identification type of the i-th group of identification codes is a video frame, the current video frame is used as identification data of the current video frame;

[0019] If the target identification type of the i-th group of identification codes is a picture, using the target picture as identification data of the current video frame;

[0020] If the target identification type of the i-th group of identification codes is text, extracting text from the target image, and using the text in the target image as identification data of the current video frame;

[0021] If the target identification type of the i-th group of identification codes is color, the color is extracted from the target image, and the color in the target image is used as identification data of the current video frame.

[0022] The BIOS parameter modification method described in the embodiment of the present application also includes:

[0023] If the restart identifier of the i-th group of identification codes is valid, controlling the BIOS system to restart;

[0024] After the BIOS system is restarted, the video frame corresponding to the i+1th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces based on the target identification data, target identification type, target identification area, restart identification and key code of the i+1th group of identification codes.

[0025] The BIOS parameter modification method described in the embodiment of the present application also includes:

[0026] Determine the target identification data of each BIOS interface in advance according to the preset target identification type and / or preset target identification area corresponding to each BIOS interface;

[0027] A corresponding set of identification codes is determined according to the target identification data of each BIOS interface, the corresponding preset target identification type and the preset target identification area.

[0028] The BIOS parameter modification method described in the embodiment of the present application, wherein the target identification data of each BIOS interface is determined according to the preset target identification type and / or preset target identification area corresponding to each BIOS interface, comprises:

[0029] Determine whether the preset target identification type corresponding to the i-th BIOS interface is a video frame;

[0030] If it is a video frame, the video frame of the i-th BIOS interface is used as the target identification data of the i-th BIOS interface;

[0031] If it is not a video frame, intercepting the corresponding i-th target image from the video frame of the i-th BIOS interface according to the preset target identification area corresponding to the i-th BIOS interface;

[0032] If the preset target identification type corresponding to the i-th BIOS interface is an image, the i-th target image is used as the target identification data of the i-th BIOS interface;

[0033] If the preset target identification type corresponding to the i-th BIOS interface is text, extracting text from the i-th target image, and using the text in the i-th target image as target identification data of the i-th BIOS interface;

[0034] If the preset target identification type corresponding to the i-th BIOS interface is color, the color is extracted from the i-th target image, and the color in the i-th target image is used as the target identification data of the i-th BIOS interface.

[0035] The present application also provides a BIOS parameter modification device, the device comprising:

[0036] An acquisition module, used to acquire an identification code set, wherein the identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code;

[0037] a determination module, configured to determine a video frame corresponding to the i-th group of identification codes from a plurality of video frames corresponding to a plurality of BIOS interfaces according to target identification data, target identification type, target identification area, restart identification, and key code of the i-th group of identification codes, 1≤i≤I, where I is the total number of groups of identification codes in the identification code set;

[0038] The modification module is used to modify BIOS parameters using the video frame corresponding to the i-th group of identification codes.

[0039] An embodiment of the present application further provides a BIOS parameter modification tool, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the BIOS parameter modification method described in the embodiment of the present application is executed.

[0040] The embodiment of the present application further provides a readable storage medium storing a computer program, which executes the BIOS parameter modification method described in the embodiment of the present application when running on a processor.

[0041] The BIOS parameter modification method disclosed in the present application obtains an identification code set (the identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code); determines the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, 1≤i≤I, I is the total number of identification code groups in the identification code set; and modifies the BIOS parameters using the video frame corresponding to the i-th group of identification codes. The method realizes automatic batch modification of a large number of BIOS parameters that need to be modified, which not only avoids waste of human resources, but also improves modification efficiency and shortens the modification cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

[0043] Figure 1 A schematic diagram of the structure of a BIOS parameter modification tool proposed in an embodiment of the present application is shown;

[0044] Figure 2 A schematic diagram showing a flow chart of a BIOS parameter modification method proposed in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of a process of determining a video frame corresponding to an i-th group of identification codes from a plurality of video frames corresponding to a plurality of BIOS interfaces in a BIOS parameter modification method proposed in an embodiment of the present application is shown;

[0046] Figure 4 A schematic diagram of a process of determining whether a video frame corresponding to a currently traversed BIOS interface includes target identification data of an i-th group of identification codes in a BIOS parameter modification method proposed in an embodiment of the present application is shown;

[0047] Figure 5 A schematic diagram of a process for predetermining target identification data of each BIOS interface in a BIOS parameter modification method proposed in an embodiment of the present application is shown;

[0048] Figure 6 A schematic diagram of a BIOS interface proposed in an embodiment of the present application is shown;

[0049] Figure 7 A schematic diagram of the structure of a BIOS parameter modification device proposed in an embodiment of the present application is shown.

[0050] 10-BIOS parameter modification device; 11-acquisition module; 12-determination module; 13-modification module. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0052] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0053] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0054] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0055] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

[0056] See also Figure 1The embodiment of the present application discloses a BIOS parameter modification tool (BIOS TOOL), which includes a processor (MCU), a plurality of physical buttons (K1, K2 and Kn) for modifying BIOS parameters, and a restart module for controlling the restart of a PC device, wherein the restart module includes a power supply terminal VCC, a diode VD, a relay K, a transistor T, a first resistor R1 and a second resistor R2, and the relay K is connected in parallel with the reset button Reset Button. The power supply terminal VCC is the power supply of the BIOS TOOL, wherein the relay K can be a passive relay, and the diode VD can play a freewheeling role; the transistor T is an NPN bipolar transistor, which can be replaced by an NMosfet tube, the first resistor R1 plays a current limiting role, and the second resistor R2 is used to prevent malfunction.

[0057] It should be noted that the physical keys for modifying BIOS parameters are not limited to K1, K2 and Kn, and can be expanded to multiple keys as needed.

[0058] The COM port of the BIOS parameter modification tool (BIOS TOOL) is used to connect to the management PC (Manager PC). The management PC (Manager PC) transmits the protocol to the BIOS parameter modification tool (BIOS TOOL) through the serial port COM. After the processor (MCU) receives the protocol, it performs parsing processing. Among them, the serial port COM can be TTL level or RS232 level.

[0059] VGA 1to 2 is a VGA or HDMI video splitter, which is used to split the output video of the motherboard into two channels and transmit them to the monitor Display and BIOS TOOL.

[0060] Display is a monitor used for displaying one channel of the motherboard PC. The input can be an uncompressed digital signal HDMI or an analog signal VGA.

[0061] The video output VGA of the motherboard can output VGA or HDMI signals. USB Host is the USB keyboard or mouse port. Reset is the motherboard's reset button interface, which connects to 2 Reset_A and Reset_B lines. ResetButton is the motherboard's built-in reset button.

[0062] The VGA_In of the processor (MCU) is the VGA signal or HDMI signal input interface. It can also be converted into a communicative signal input through a video device, such as I2C, SPI, UART, etc.

[0063] The USB Device of the processor (MCU) is a USB port working in USB Device mode, which mainly plays the function of mouse and keyboard simulation (Mouse & Keyboard Simulator).

[0064] K1_In, K2_In, ..., Kn_In of the processor (MCU) are key signal inputs, and Kn represents multiple.

[0065] The LED_Out of the processor (MCU) is used to drive the light-emitting diode LED to serve as a signal prompt.

[0066] It can be understood that the relay K is connected in parallel with the reset button of the motherboard PC Motherboard, which does not affect the work of the existing PC. The video distributor VGA 1to 2 splits the video, which does not affect the work of the existing PC; the USB interface is used to simulate the mouse and keyboard, and at the same time, it does not affect the work of the mouse and keyboard of the existing PC; the buttons K1, K2, ..., Kn are used as shortcut buttons, each shortcut button is associated with an identification code set, each identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code, each group of identification codes corresponds to a BIOS interface, each group of identification codes can be used to modify the BIOS parameters corresponding to a BIOS interface, and the BIOS parameter modification tool (BIOS TOOL) facilitates the automatic batch modification of BIOS parameters to improve work efficiency.

[0067] Example 1

[0068] For an example of this application, see Figure 2 , a BIOS parameter modification method is proposed, comprising the following steps S100, S200 and S300:

[0069] S100: Acquire an identification code set, where the identification code set includes at least one group of identification codes, and each group of identification codes includes target identification data, target identification type, target identification area, restart identification, and key code.

[0070] It should be noted that there are many ways to obtain the identification code set. The identification code set can be obtained by changing the state of a virtual button (a virtual button in an application on a terminal device). For example, the application on the terminal device includes multiple virtual buttons, and each virtual button corresponds to an identification code set. When any virtual button is pressed, the identification code set corresponding to the virtual button is obtained by the processor of the terminal device. Furthermore, the processor of the terminal device can determine the corresponding video frame from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of each group of identification codes in turn; and modify the BIOS parameters using the video frame corresponding to each group of identification codes. Alternatively, the processor of the terminal device sends the obtained identification code set to a Figure 1 The processor (MCU) of the BIOS parameter modification tool (BIOS TOOL) shown in the figure can determine the corresponding video frame from the multiple video frames corresponding to the multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of each group of identification codes in turn; and modify the BIOS parameters using the video frame corresponding to each group of identification codes. It can be understood that the identification code set corresponding to each virtual key has been preset.

[0071] The identification code set can also be obtained by changing the state of a physical key (physical key of the BIOS parameter modification tool). For example, the BIOS parameter modification tool (BIOS TOOL) can include multiple physical keys (for example, K1, K2, and Kn), each physical key corresponds to an identification code set, and when any physical key is pressed, the identification code set corresponding to the physical key is obtained by the processor (MCU) of the BIOS parameter modification tool. Further, the processor (MCU) can determine the corresponding video frame from the multiple video frames corresponding to the multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification, and key code of each set of identification codes in turn; and modify the BIOS parameters using the video frame corresponding to each set of identification codes. It can be understood that the identification code set corresponding to each physical key has been pre-burned into the flash memory of the processor (MCU) of the BIOS parameter modification tool, and when the state of any physical key changes, the corresponding identification code set is obtained from the flash memory of the processor (MCU).

[0072] S200: Determine the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, 1≤i≤I, I is the total number of groups of identification codes in the identification code set.

[0073] For example, see Figure 3, S200 includes the following steps S210 to S230:

[0074] S210: Determine whether the restart identifier of the i-th group of identification codes is valid.

[0075] If the restart identifier of the i-th group of identification codes is invalid, step S220 is executed; if the restart identifier of the i-th group of identification codes is valid, step S230 is executed: controlling the BIOS system to restart. After the BIOS system is restarted, the video frame corresponding to the i+1-th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identifier and key code of the i+1-th group of identification codes.

[0076] S220: traverse the multiple BIOS interfaces using the key code, and when traversing each BIOS interface, determine whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes using the target identification type and target identification area of ​​the i-th group of identification codes; if included, use the video frame including the target identification data of the i-th group of identification codes as the video frame corresponding to the i-th group of identification codes.

[0077] For further information, see Figure 4 The step S220 of determining whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes by using the target identification type and the target identification area of ​​the i-th group of identification codes comprises the following steps S221 to S225:

[0078] S221: capturing a target image from a current video frame corresponding to a currently traversed BIOS interface according to a target identification area of ​​the i-th group of identification codes.

[0079] The target area can be any shape such as circle, square, rectangle, etc. For example, if it is a circle, the target identification area can be represented by the origin coordinates and radius. If it is a rectangle, the target identification area can be represented by the coordinates of the two endpoints on any diagonal line.

[0080] It should be noted that the mouse or keyboard instructions parsed from the key codes in the i-th group of identification codes include not only instructions for traversing the multiple BIOS interfaces, but also mouse or keyboard instructions for capturing a target image from a video frame. Therefore, the mouse or keyboard instructions for capturing a target image (parsed from the key codes in the i-th group of identification codes) are sent to the USB Host end of the PC device motherboard through the USB Device pin of the processor (MCU) of the BIOS parameter modification tool (BIOS TOOL), so that the PC device motherboard can respond to the mouse or keyboard instructions to capture the target image.

[0081] S222: Determine identification data of the current video frame from the target picture and the current video frame according to the target identification type of the i-th group of identification codes.

[0082] Exemplarily, if the target identification type of the i-th group of identification codes is a video frame, the current video frame is used as the identification data of the current video frame; if the target identification type of the i-th group of identification codes is a picture, the target picture is used as the identification data of the current video frame; if the target identification type of the i-th group of identification codes is text, the text is extracted from the target picture, and the text in the target picture is used as the identification data of the current video frame; if the target identification type of the i-th group of identification codes is color, the color is extracted from the target picture, and the color in the target picture is used as the identification data of the current video frame.

[0083] S223: Determine whether the identification data of the current video frame is the same as the target identification data of the i-th group of identification codes.

[0084] If the identification data of the current video frame is the same as the target identification data of the i-th group of identification codes, step S224 is executed; if the identification data of the current video frame is different from the target identification data of the i-th group of identification codes, step S225 is executed.

[0085] S224: Determine whether the current video frame includes target identification data of the i-th group of identification codes.

[0086] S225: Determine that the current video frame does not include the target identification data of the i-th group of identification codes.

[0087] S300: Modify BIOS parameters using the video frame corresponding to the i-th group of identification codes.

[0088] It should be noted that the mouse or keyboard instructions parsed from the key codes in the i-th group of identification codes also include instructions for modifying BIOS parameters. Therefore, after determining the video frame corresponding to the i-th group of identification codes, the mouse or keyboard instructions for modifying BIOS parameters (parsed from the key codes in the i-th group of identification codes) can be sent to the USB Host end of the PC device motherboard through the USB Device pin of the processor (MCU) of the BIOS parameter modification tool (BIOS TOOL), so that the PC device motherboard can respond to the mouse or keyboard instructions to modify the BIOS parameters.

[0089] It should be noted that the above steps S200 and S300 need to be executed in a loop I times so that all BIOS parameters corresponding to I identification codes in an identification code set are modified.

[0090] Furthermore, it should be noted that the BIOS parameter modification method disclosed in the present application also needs to determine the target identification data of each BIOS interface in advance based on the preset target identification type and / or preset target identification area corresponding to each BIOS interface; and then determine a corresponding set of identification codes based on the target identification data of each BIOS interface, the corresponding preset target identification type and the preset target identification area.

[0091] For example, see Figure 5 , the target identification data of each BIOS interface needs to be determined in advance using the following steps S10 to S90.

[0092] S10: Determine whether the preset target identification type corresponding to the i-th BIOS interface is a video frame.

[0093] If it is a video frame, execute step S20; if it is not a video frame, execute step S30.

[0094] S20: Using the video frame of the i-th BIOS interface as target identification data of the i-th BIOS interface.

[0095] S30: intercepting a corresponding i-th target image from the video frame of the i-th BIOS interface according to a preset target identification area corresponding to the i-th BIOS interface.

[0096] S40: Determine whether the preset target identification type corresponding to the i-th BIOS interface is a picture.

[0097] If the preset target identification type corresponding to the i-th BIOS interface is a picture, step S50 is executed; if the preset target identification type corresponding to the i-th BIOS interface is not a picture, step S60 is executed.

[0098] S50: Using the i-th target image as target identification data of the i-th BIOS interface.

[0099] S60: Determine whether the preset target identification type corresponding to the i-th BIOS interface is text.

[0100] If the preset target identification type corresponding to the i-th BIOS interface is text, execute step S70; if the preset target identification type corresponding to the i-th BIOS interface is not text, execute step S80.

[0101] S70: extracting text from the i-th target image, and using the text in the i-th target image as target identification data of the i-th BIOS interface.

[0102] S80: Determine whether the preset target identification type corresponding to the i-th BIOS interface is color.

[0103] If the preset target identification type corresponding to the i-th BIOS interface is color, step S90 is executed.

[0104] S90: extracting colors from the i-th target image, and using the colors in the i-th target image as target identification data of the i-th BIOS interface.

[0105] It can be understood that the preset target identification types include video frames, pictures, colors and texts, which can flexibly respond to changes in the BIOS interface, and thus unique target identification data can be determined from each BIOS interface.

[0106] For example, see Figure 6 , showing a BIOS interface for modifying SATA hot plug enabling parameters (SATA Hot Plug), the interface includes specific text information, for example, SATA. Therefore, when determining the BIOS interface for modifying SATA hot plug enabling parameters (SATA Hot Plug) from multiple BIOS interfaces, it is possible to traverse each specific area of ​​the BIOS interface in turn to see whether it includes the text SATA. If it does, the BIOS interface for modifying SATA hot plug enabling parameters (SATAHot Plug) can be determined.

[0107] Example 2

[0108] For another embodiment of the present application, see Figure 7 , a BIOS parameter modification device 10 is proposed, including: an acquisition module 11, a determination module 12 and a modification module 13.

[0109] An acquisition module 11 is used to acquire an identification code set, wherein the identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code; a determination module 12 is used to determine the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces based on the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, 1≤i≤I, I is the total number of groups of identification codes in the identification code set; a modification module 13 is used to modify BIOS parameters using the video frame corresponding to the i-th group of identification codes.

[0110] The BIOS parameter modification device 10 disclosed in this embodiment is used to execute the BIOS parameter modification method described in the above embodiment through the coordinated use of the acquisition module 11, the determination module 12 and the modification module 13. The implementation scheme and beneficial effects involved in the above embodiment are also applicable to this embodiment and will not be repeated here.

[0111] Furthermore, the BIOS parameter modification tool disclosed in the present application also includes a memory, in which a computer program is stored, and when the computer program is run on the processor, the BIOS parameter modification method described in the present application is executed.

[0112] Furthermore, a readable storage medium stores a computer program, which executes the BIOS parameter modification method described in the present application when running on a processor.

[0113] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0114] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0115] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0116] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A BIOS parameter modification method, characterized in that: The method comprises: Acquire an identification code set, the identification code set comprising at least one group of identification codes, each group of identification codes comprising target identification data, target identification type, target identification area, restart identification and key code; Determine the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes, 1≤i≤I, I is the total number of groups of identification codes in the identification code set; Modifying BIOS parameters using the video frame corresponding to the i-th group of identification codes; The method of determining the video frame corresponding to the i-th group of identification codes from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identification and key code of the i-th group of identification codes includes: judging whether the restart identification of the i-th group of identification codes is valid; if the restart identification of the i-th group of identification codes is invalid, traversing the multiple BIOS interfaces by using the key code, and when traversing each BIOS interface, determining whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes by using the target identification type and target identification area of ​​the i-th group of identification codes, and if so, using the video frame including the target identification data of the i-th group of identification codes as the video frame corresponding to the i-th group of identification codes; If the restart identifier of the i-th group of identification codes is valid, the BIOS system is controlled to restart; after the BIOS system is restarted, the video frame corresponding to the i+1-th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identifier and key code of the i+1-th group of identification codes; Parsing the key code in the i-th group of identification codes to obtain a plurality of mouse or keyboard instructions, wherein the plurality of mouse or keyboard instructions include an instruction for capturing a target image and an instruction for traversing the plurality of BIOS interfaces; The method of determining whether the video frame corresponding to the currently traversed BIOS interface includes the target identification data of the i-th group of identification codes by using the target identification type and the target identification area of ​​the i-th group of identification codes comprises: capturing a target image from the current video frame corresponding to the currently traversed BIOS interface according to the target identification area of ​​the i-th group of identification codes; determining the identification data of the current video frame from the target image and the current video frame according to the target identification type of the i-th group of identification codes; if the identification data of the current video frame is the same as the target identification data of the i-th group of identification codes, determining that the current video frame includes the target identification data of the i-th group of identification codes; if the identification data of the current video frame is different from the target identification data of the i-th group of identification codes, determining that the current video frame does not include the target identification data of the i-th group of identification codes; The method further includes: determining target identification data of each BIOS interface in advance according to a preset target identification type and / or a preset target identification area corresponding to each BIOS interface; determining a corresponding set of identification codes according to the target identification data of each BIOS interface, the corresponding preset target identification type and the preset target identification area; The method of determining the target identification data of each BIOS interface according to the preset target identification type and / or preset target identification area corresponding to each BIOS interface includes: determining whether the preset target identification type corresponding to the i-th BIOS interface is a video frame; if it is a video frame, using the video frame of the i-th BIOS interface as the target identification data of the i-th BIOS interface; if it is not a video frame, intercepting the corresponding i-th target image from the video frame of the i-th BIOS interface according to the preset target identification area corresponding to the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is an image, using the i-th target image as the target identification data of the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is text, extracting the text from the i-th target image, and using the text in the i-th target image as the target identification data of the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is color, extracting the color from the i-th target image, and using the color in the i-th target image as the target identification data of the i-th BIOS interface.

2. The BIOS parameter modification method according to claim 1, characterized in that: The determining the identification data of the current video frame from the target picture and the current video frame according to the target identification type of the i-th group of identification codes includes: If the target identification type of the i-th group of identification codes is a video frame, the current video frame is used as identification data of the current video frame; If the target identification type of the i-th group of identification codes is a picture, using the target picture as identification data of the current video frame; If the target identification type of the i-th group of identification codes is text, extracting text from the target image, and using the text in the target image as identification data of the current video frame; If the target identification type of the i-th group of identification codes is color, the color is extracted from the target image, and the color in the target image is used as identification data of the current video frame.

3. A BIOS parameter modification device, characterized in that: The device comprises: An acquisition module, used to acquire an identification code set, wherein the identification code set includes at least one group of identification codes, each group of identification codes includes target identification data, target identification type, target identification area, restart identification and key code; a determination module, configured to determine a video frame corresponding to the i-th group of identification codes from a plurality of video frames corresponding to a plurality of BIOS interfaces according to target identification data, target identification type, target identification area, restart identification, and key code of the i-th group of identification codes, 1≤i≤I, where I is the total number of groups of identification codes in the identification code set; A modification module, used to modify BIOS parameters using the video frame corresponding to the i-th group of identification codes; The determination module is further configured to determine whether the restart identifier of the i-th group of identification codes is valid; if the restart identifier of the i-th group of identification codes is invalid, the key code is used to traverse the multiple BIOS interfaces, and when traversing each BIOS interface, the target identifier type and target identifier area of ​​the i-th group of identification codes are used to determine whether the video frame corresponding to the currently traversed BIOS interface includes the target identifier data of the i-th group of identification codes, and if so, the video frame including the target identifier data of the i-th group of identification codes is used as the video frame corresponding to the i-th group of identification codes; If the restart identifier of the i-th group of identification codes is valid, the BIOS system is controlled to restart; after the BIOS system is restarted, the video frame corresponding to the i+1-th group of identification codes is determined from multiple video frames corresponding to multiple BIOS interfaces according to the target identification data, target identification type, target identification area, restart identifier and key code of the i+1-th group of identification codes; Parsing the key code in the i-th group of identification codes to obtain a plurality of mouse or keyboard instructions, wherein the plurality of mouse or keyboard instructions include an instruction for capturing a target image and an instruction for traversing the plurality of BIOS interfaces; The determination module is further configured to capture a target image from a current video frame corresponding to a currently traversed BIOS interface according to a target identification area of ​​the i-th group of identification codes; determine identification data of the current video frame from the target image and the current video frame according to a target identification type of the i-th group of identification codes; if the identification data of the current video frame is the same as the target identification data of the i-th group of identification codes, determine that the current video frame includes the target identification data of the i-th group of identification codes; if the identification data of the current video frame is different from the target identification data of the i-th group of identification codes, determine that the current video frame does not include the target identification data of the i-th group of identification codes; Determine the target identification data of each BIOS interface in advance according to the preset target identification type and / or preset target identification area corresponding to each BIOS interface; determine a corresponding set of identification codes according to the target identification data of each BIOS interface, the corresponding preset target identification type and the preset target identification area; Determine whether the preset target identification type corresponding to the i-th BIOS interface is a video frame; if it is a video frame, use the video frame of the i-th BIOS interface as the target identification data of the i-th BIOS interface; if it is not a video frame, capture the corresponding i-th target image from the video frame of the i-th BIOS interface according to the preset target identification area corresponding to the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is an image, use the i-th target image as the target identification data of the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is text, extract the text from the i-th target image, and use the text in the i-th target image as the target identification data of the i-th BIOS interface; if the preset target identification type corresponding to the i-th BIOS interface is color, extract the color from the i-th target image, and use the color in the i-th target image as the target identification data of the i-th BIOS interface.

4. A BIOS parameter modification tool, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is run on the processor, the method for modifying BIOS parameters according to claim 1 or 2 is executed.

5. A readable storage medium, characterized in that: It stores a computer program, which executes the BIOS parameter modification method according to claim 1 or 2 when running on a processor.