Method, device, equipment and medium for extracting decoseable information of BIOS Setup interface

Through screenshots and area cutting of the BIOS Setup interface, combined with the recognition and analysis algorithm, the problem of difficulty in extracting information in the existing technology is solved, and automated testing of the BIOS interface is realized, ensuring accurate analysis and automated processing of information.

CN119166528APending Publication Date: 2024-12-20DONGGUAN RAMAXEL MEMORY TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411326026.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The prior art is difficult to implement automated testing of the BIOS Setup interface through computer code because its design logic is complex and it is difficult to extract desensible information.

Method used

By screenshotting, cutting areas, judging the highlighted areas and multi-screen display status of the BIOS Setup interface, combining with the recognition and analysis algorithm, the information of each element is extracted and parsed, and the automated information extraction of the BIOS interface is realized.

Benefits of technology

This enables the machine to accurately parse the contents of various items and values ​​of the BIOS interface, realizes automated testing, and overcomes the problems of difficult information to understand and extract in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166528A_ABST
    Figure CN119166528A_ABST
Patent Text Reader

Abstract

The invention relates to a method, a device, equipment and a medium for extracting decoseable information of a BIOS (Basic Input / Output System) Setup interface, and the method comprises the following steps: carrying out screenshot on the BIOS Setup interface to obtain screenshot information; scanning the screenshot information and carrying out region cutting division to obtain a cut region map; judging whether a highlight area exists in the cutting area map or not; if the cut area map does not have the highlight area, judging whether the cut area map has a multi-screen display state or not; and if the cut area map does not have the multi-screen display state, identifying and analyzing the content in the cut area map to obtain demeaning information. According to the method, a machine can read the content of each item and value of the BIOS Setup interface, the automatic code can accurately analyze the content of each item and value from the screenshot of the BIOS Setup interface according to a program preset by a programmer, and finally automatic testing of the BIOS by using the code is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of extracting BIOS Setup interface, and in particular to a method, device, equipment and medium for extracting interpretable information from a BIOS Setup interface. Background Art

[0002] BIOS (Basic Input Output System) is an important component of the server. The BIOS Setup interface contains various information about the machine, but its design logic is mainly for human reading. It requires understanding certain syntax and semantics and following certain reading logic to understand the BIOS information. Therefore, it is difficult for computer programs to extract effective information (referring to interpretable information) from the BIOS interface and understand the BIOS information. In other words, it is difficult to implement automated testing of the BIOS Setup interface through computer code. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a method, device, equipment and medium for extracting interpretable information from a BIOS Setup interface.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0005] In a first aspect, this embodiment provides a method for extracting interpretable information from a BIOS Setup interface, comprising the following steps:

[0006] Take a screenshot of the BIOS Setup interface to obtain the screenshot information;

[0007] Scan the screenshot information and perform area cutting and division to obtain a cutting area map;

[0008] Determine whether there is a highlighted area in the cutting area map;

[0009] If there is no highlighted area in the cutting area graph, determine whether the cutting area graph is in a multi-screen display state;

[0010] If the cutting area map does not exist in a multi-screen display state, the content in the cutting area map is identified and analyzed to obtain interpretation information.

[0011] A further technical solution is: after the step of judging whether there is a highlight area in the cutting area map, it also includes: if there is a highlight area in the cutting area map, identifying the highlight area to obtain identification information.

[0012] Its further technical solution is: after the step of judging whether the cutting area map has a multi-screen display state, it also includes: if the cutting area map has a multi-screen display state, extracting the information content of the multi-screen display to obtain extracted information.

[0013] A further technical solution is: the step of identifying and parsing the content in the cutting area diagram to obtain interpretation information includes identifying and parsing each element information, line break item information, and multiple repeated option information.

[0014] In a second aspect, the present embodiment provides a device for extracting interpretable information from a BIOS Setup interface, comprising: a screenshot unit, a scanning and cutting unit, a first judgment unit, a second judgment unit, and an identification and analysis unit;

[0015] The screenshot unit is used to take a screenshot of the BIOS Setup interface to obtain screenshot information;

[0016] The scanning and cutting unit is used to scan the screenshot information and perform area cutting and division to obtain a cutting area map;

[0017] The first judging unit is used to judge whether there is a highlight area in the cutting area map;

[0018] The second judgment unit is used to judge whether the cutting area map has a multi-screen display state if there is no highlighted area in the cutting area map;

[0019] The identification and analysis unit is used to identify and analyze the content in the cutting area map to obtain interpretation information if the cutting area map does not exist in a multi-screen display state.

[0020] A further technical solution is as follows: the device further comprises: an identification unit, which is used to identify the highlighted area if there is a highlighted area in the cutting area diagram, so as to obtain identification information.

[0021] A further technical solution is as follows: the device further comprises: an extraction unit, which is used to extract the information content of the multi-screen display if the cutting area map exists in a multi-screen display state, so as to obtain the extracted information.

[0022] A further technical solution is as follows: the identification and analysis unit includes identification and analysis of each element information, line break item information, and multiple repeated option information.

[0023] In a third aspect, this embodiment provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method for extracting interpretable information from a BIOS Setup interface as described above is implemented.

[0024] In a fourth aspect, the present embodiment provides a storage medium storing a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method for extracting interpretable information from a BIOS Setup interface as described above can be implemented.

[0025] The beneficial effects of the present invention compared with the prior art are: by taking a screenshot of the BIOS Setup interface to obtain screenshot information, scanning the screenshot information and performing area cutting and division to obtain a cutting area map, and then identifying and parsing the content in the cutting area map to obtain interpretation information, so that the machine can "understand" the contents of each item and value of the BIOS Setup interface. According to the program pre-set by the programmer, the automated code can accurately parse the contents of each item and value from the screenshot of the BIOS Setup interface, and finally realize automated testing of the BIOS with code.

[0026] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 A flowchart of a method for extracting interpretable information from a BIOS Setup interface provided by an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of the definition of each area of ​​BIOS provided in an embodiment of the present invention;

[0030] Figure 3 A schematic diagram illustrating the BIOS Setup interface elements provided by an embodiment of the present invention;

[0031] Figure 4 A schematic diagram illustrating a Pop Up Area contour positioning scenario provided by an embodiment of the present invention;

[0032] Figure 5 A schematic diagram of highlight area information processing provided by an embodiment of the present invention;

[0033] Figure 6 A schematic diagram of multi-screen display information extraction provided by an embodiment of the present invention;

[0034] Figure 7A schematic diagram of a dynamic window matching algorithm provided by an embodiment of the present invention;

[0035] Figure 8 A schematic block diagram of a device for extracting interpretable information from a BIOS Setup interface provided by an embodiment of the present invention;

[0036] Fig. 9 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0039] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0040] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0041] See also Figures 1 to 7 In the specific embodiment shown, the present invention discloses a method for extracting interpretable information from a BIOS Setup interface, comprising the following steps:

[0042] S1, taking a screenshot of the BIOS Setup interface to obtain screenshot information;

[0043] Specifically, see Figure 2As shown, the various areas of the BIOS Setup interface are defined. Among them, 1 is defined as TopArea, which refers to the top area and is used to display the title name of the page; 2 is defined as Bottom Area, which refers to the bottom area and is used to display the BIOS operation instructions; 3 is defined as Middle Left Area, which refers to the middle left area and is used for the most important information display area, displaying information of all BIOS items and values; 4 is defined as Middle Right Area, which refers to the middle right area and is used to display the description information of the currently selected item or value of the BIOS; 5 is defined as Pop Up Area, which refers to the pop-up window area. When modifying the value corresponding to an item, the window will pop up to allow the user to select from multiple alternative values; Divider 1 is the dividing line between Top Area and MiddleArea; Divider 2 is the dividing line between Middle Area and Bottom Area; Divider 3 is the dividing line between Middle LeftArea and Bottom Right Area. The Middle Area includes Middle Left Area and Middle RightArea.

[0044] Specifically, see Figure 3 The schematic sketch of the BIOS Setup interface is shown, and the various elements of the BIOS are defined. Among them, boundary 1 is page, which refers to the page name, with a right-pointing triangle symbol on the left. Press the Enter key on the keyboard to open the page, and press the Esc key on the keyboard to exit the current page and return to the previous page; boundary 2 is item, which refers to the name of the BIOS item; boundary 3 is value, which refers to the value corresponding to a BIOS item; boundary 4 is remark, which refers to the description of the currently selected item or value, and the position is fixed in the Middle Right Area; boundary 5 is top, which refers to the information displayed in the Top Area, generally indicating the name of the current page; boundary 6 is bottom, which refers to the information displayed in the Bottom Area, generally showing the operation instructions of the BIOS page.

[0045] S2, scanning the screenshot information and performing area cutting and division to obtain a cutting area map;

[0046] Specifically, according to the layout of the BIOS Setup interface and the functions of each part, the entire Setup interface is divided into five major areas, namely, Top Area, Bottom Area, Middle Left Area, Middle Right Area, and Pop Up Area. Then, dividing line 1 and dividing line 2 can be used to accurately divide the Top Area, Middle Area, and Bottom Area. Dividing line 3 can then accurately divide the Middle Area into Middle Left Area and Middle Right Area.

[0047] Among them, see Figure 4 As shown, accurate positioning of the Pop Up Area outline is a major difficulty. The detailed algorithm is as follows:

[0048] First get the coordinates of the center point P center ;

[0049] Then, according to the X coordinate of the center point and the Y coordinate of the dividing line 3, the starting point coordinate P can be derived. start ;

[0050] From the starting point P start , traverse to the left and find the temporary border point coordinates P temp ;

[0051] From the temporary border point coordinates P temp Traversing upwards, we can get the upper right corner border point P top_right ;

[0052] From the temporary border point coordinates P temp Traversing downward, we can get the lower right corner border point P bottom_right ;

[0053] From the bottom right border point P bottom_right Traversing to the left, we can get the lower left corner border point P bottom_left ;

[0054] According to the coordinates of the upper right corner, lower right corner, and lower left corner of the pop-up box, the coordinates of the upper left border point can be calculated.

[0055] S3, determining whether there is a highlighted area in the cutting area graph;

[0056] Specifically, the highlighted area indicates the currently selected content. Generally, there is only one highlighted area, but when there is a Pop Up Area pop-up box, there will be multiple highlighted areas. If there is a highlighted area, the automated code needs to determine whether to recognize the content of the highlighted area. There may be multiple highlighted areas in the BIOS Setup interface, but through the process design from step S2 to step S3, only a single highlighted area can be obtained in the end. Because according to the design of the BIOS Setup interface and the implicit rules, each individual area cannot have multiple selections (the highlighted area represents the selection).

[0057] There are three situations for processing the highlight area, and the specific processing situations are as follows:

[0058]

[0059] Among them, the processing required for case 3 is the most complicated, but by converting the image pixel background, the character extraction effect using OCR technology can be guaranteed. Figure 5 As shown in the figure, taking Pop Up Area as an example, the effect diagrams of three situations are demonstrated respectively.

[0060] In one embodiment, after the step of determining whether there is a highlight area in the cutting area map, it also includes: S6, if there is a highlight area in the cutting area map, identifying the highlight area to obtain identification information, and then jumping to execute "determining whether the cutting area map is in a multi-screen display state".

[0061] S4, if the cutting area graph does not have a highlighted area, determining whether the cutting area graph has a multi-screen display state;

[0062] In one embodiment, after the step of determining whether the cutting area map has a multi-screen display state, it also includes: S7, if the cutting area map has a multi-screen display state, extracting the information content of the multi-screen display to obtain the extracted information, and then jumping to execute "identifying and parsing the content in the cutting area map to obtain the interpretation information".

[0063] Specifically, the Middle Left Area and Middle Right Area may have multiple screens. In this case, you can switch screens using the scroll bar to view more information. In addition, extract the information from multiple screens and remove the duplicated information. The Middle Left Area of ​​the BIOS Setup interface contains a large amount of information, including page, item, value and other elements. If one screen cannot display the information, you need to display it on multiple screens using the scroll bar. Figure 6The example shows a multi-screen display. The code will take a screenshot of each screen, but how to accurately identify and remove the repeated lines between these multiple screenshots is a difficult point. In addition, some of the lines may have the same content, and this interference also needs to be eliminated. Figure 6 In the example, lines 6 to 8 are repeated and need to be removed; the content of lines 3 and 7, and lines 4 and 6 are repeated. How to accurately identify and remove the repeated lines? The present invention proposes a dynamic window matching algorithm. Figure 7 As shown, Figure 6 For example, the blue window is a dynamically changing window that will traverse the data from the last screen one by one. The window records the sequential relationship between data. The code compares the data extracted from the blue window with the current non-duplicate data (i.e., "data up to the second screen" in the figure) in a loop. If a match is found, the element index is recorded; if no match is found, the duplicate data can be calculated based on the recorded subscript of the matched element. The dynamic window matching algorithm not only records the data, but also records the sequential relationship between the data, so it can eliminate the influence of data with the same content. Figure 7 In the first cycle, "Line 4" is matched, but in the second cycle, "Line 6" and "Line 7" are matched. At this time, the interference with the same content in lines 4 and 6 is eliminated.

[0064] S5, if the cutting area map does not exist in a multi-screen display state, the content in the cutting area map is identified and analyzed to obtain interpretation information.

[0065] Specifically, the interpretation information can be directly used for automated testing. In addition, in the case of highlight areas and / or multi-screen displays, the identification information of the highlight areas is interpreted first, and the extraction information of all screen display contents is interpreted first.

[0066] In one embodiment, the step of identifying and parsing the content in the cut area diagram to obtain interpretation information includes identifying and parsing each element information, line break item information, and multiple repeated option information.

[0067] Specifically, as to how to accurately identify the information of each element of the page, the BIOS Setup page mainly contains 6 elements, among which top, bottom, and remark are in different areas and can be accurately obtained. The page element has a special mark, such as Figure 3For example, if it starts with a right-pointing triangle symbol, the content of the line is page. The most difficult thing is to accurately identify item and value. There are two difficulties here: 1. If the item in the BIOS Setup interface is too long, there will be a line break; 2. Item and value are usually placed in one line, how to make the machine more accurately distinguish which part is the item and which part is the value. The present invention proposes a value matching algorithm, which is as follows:

[0068] First restore the item that is split into multiple lines;

[0069] For scenarios where item input is provided, an exact match will be performed based on the input item content to return the value;

[0070] For scenarios where no item input is provided, fuzzy matching is performed based on accumulated experience. For example, in most cases, the value is placed in brackets, such as [value]. For another example, when the value ends with a number + unit, the number + unit is generally the value (such as 30s). As experience accumulates, the recognition range of fuzzy matching will gradually improve.

[0071] Specifically, how to accurately move to a certain element, where the element refers to page, item or value, only the Middle Left Area or Pop Up Area has the need to move the cursor to a certain element. Among them, including how to determine whether it has moved to the desired element and how to determine whether all rows have been traversed, the present invention designs the following algorithm processing respectively:

[0072] The algorithm for determining the element that has been moved to the desired position is as follows:

[0073]

[0074] Among them, the algorithm for judging whether all rows have been traversed is as follows:

[0075]

[0076]

[0077] The present invention takes a screenshot of the BIOS Setup interface to obtain screenshot information, scans the screenshot information and performs regional cutting and division to obtain a cutting area map, and then identifies and analyzes the content in the cutting area map to obtain interpretation information, so that the machine can "understand" the content of each item and value of the BIOS Setup interface. According to the program pre-set by the programmer, the automated code can accurately parse the content of each item and value from the screenshot of the BIOS Setup interface, and finally realize automated testing of the BIOS by code.

[0078] See also Figure 8 As shown, the present invention also discloses a device for extracting interpretable information from a BIOS Setup interface, comprising: a screenshot unit 10, a scanning and cutting unit 20, a first judgment unit 30, a second judgment unit 40, and an identification and analysis unit 50;

[0079] The screenshot unit 10 is used to take a screenshot of the BIOS Setup interface to obtain screenshot information;

[0080] The scanning and cutting unit 20 is used to scan the screenshot information and perform area cutting and division to obtain a cutting area map;

[0081] The first judging unit 30 is used to judge whether there is a highlight area in the cutting area map;

[0082] The second judgment unit 40 is used to judge whether the cutting area map has a multi-screen display state if there is no highlighted area in the cutting area map;

[0083] The identification and analysis unit 50 is used to identify and analyze the content in the cutting area map to obtain interpretation information if the cutting area map does not exist in a multi-screen display state.

[0084] In one embodiment, the device further comprises: an identification unit 60, configured to identify the highlighted area if there is a highlighted area in the cutting area map, so as to obtain identification information.

[0085] In one embodiment, the device further comprises: an extraction unit 70, configured to extract information content of the multi-screen display if the cut area map is in a multi-screen display state, so as to obtain extracted information.

[0086] In one embodiment, the identification and analysis unit 50 includes identifying and analyzing each element information, line-break item information, and multiple repeated option information.

[0087] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned device for extracting interpretable information from the BIOSSetup interface and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0088] The above-mentioned device for extracting interpretable information of the BIOS Setup interface can be implemented in the form of a computer program. The computer program can be used in the following manner: Fig. 9 Runs on the computer device shown.

[0089] See also Fig. 9 , Fig. 9 is a schematic block diagram of a computer device provided in an embodiment of the present application; the computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0090] See also Fig. 9 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0091] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a method for extracting interpretable information of a BIOS Setup interface.

[0092] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0093] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for extracting interpretable information from the BIOS Setup interface.

[0094] The network interface 505 is used to communicate with other devices over the network. Fig. 9 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0095] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:

[0096] Take a screenshot of the BIOS Setup interface to obtain screenshot information; scan the screenshot information and perform area cutting and division to obtain a cutting area map; determine whether the cutting area map has a highlighted area; if the cutting area map does not have a highlighted area, determine whether the cutting area map has a multi-screen display state; if the cutting area map does not have a multi-screen display state, identify and parse the content in the cutting area map to obtain interpretation information.

[0097] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0098] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0099] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the above-mentioned method for extracting interpretable information from a BIOS Setup interface can be implemented. The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the above-mentioned method can be implemented. The program instructions include the following steps:

[0100] Take a screenshot of the BIOS Setup interface to obtain screenshot information; scan the screenshot information and perform area cutting and division to obtain a cutting area map; determine whether the cutting area map has a highlighted area; if the cutting area map does not have a highlighted area, determine whether the cutting area map has a multi-screen display state; if the cutting area map does not have a multi-screen display state, identify and parse the content in the cutting area map to obtain interpretation information.

[0101] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0102] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0103] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or skipped.

[0104] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0106] The above embodiments are preferred implementation schemes of the present invention. In addition, the present invention may also be implemented in other ways. Any obvious replacement without departing from the concept of the present technical solution is within the protection scope of the present invention.

Claims

1. A method for extracting interpretable information from a BIOS Setup interface, characterized in that: The following steps are involved: Take a screenshot of the BIOS Setup interface to obtain the screenshot information; Scan the screenshot information and perform area cutting and division to obtain a cutting area map; Determine whether there is a highlighted area in the cutting area map; If there is no highlighted area in the cutting area graph, determine whether the cutting area graph is in a multi-screen display state; If the cutting area map does not exist in a multi-screen display state, the content in the cutting area map is identified and analyzed to obtain interpretation information.

2. The method for extracting interpretable information from a BIOS Setup interface according to claim 1, wherein: After the step of determining whether there is a highlight area in the cutting area map, the method further includes: if there is a highlight area in the cutting area map, identifying the highlight area to obtain identification information.

3. The method for extracting interpretable information from a BIOS Setup interface according to claim 1, wherein: After the step of determining whether the cutting area graph is in a multi-screen display state, the method further includes: if the cutting area graph is in a multi-screen display state, extracting information content of the multi-screen display to obtain extracted information.

4. The method for extracting interpretable information from a BIOS Setup interface according to claim 1, wherein: The step of identifying and parsing the content in the cutting area diagram to obtain interpretation information includes identifying and parsing each element information, line break item information, and multiple repeated option information.

5. A device for extracting interpretable information from a BIOS Setup interface, characterized in that: include: A screenshot unit, a scanning and cutting unit, a first judgment unit, a second judgment unit, and a recognition and analysis unit; The screenshot unit is used to take a screenshot of the BIOS Setup interface to obtain screenshot information; The scanning and cutting unit is used to scan the screenshot information and perform area cutting and division to obtain a cutting area map; The first judging unit is used to judge whether there is a highlight area in the cutting area map; The second judgment unit is used to judge whether the cutting area map has a multi-screen display state if there is no highlighted area in the cutting area map; The identification and analysis unit is used to identify and analyze the content in the cutting area map to obtain interpretation information if the cutting area map does not exist in a multi-screen display state.

6. The device for extracting interpretable information of BIOSSetup interface according to claim 5, characterized in that: The device further comprises: an identification unit, which is used to identify the highlight area if there is a highlight area in the cutting area map, so as to obtain identification information.

7. The device for extracting interpretable information of BIOS Setup interface according to claim 5, characterized in that: The device further comprises: an extraction unit, which is used to extract information content of the multi-screen display if the cutting area diagram is in a multi-screen display state, so as to obtain extracted information.

8. The device for extracting interpretable information of BIOS Setup interface according to claim 5, characterized in that: The identification and analysis unit includes identification and analysis of each element information, line break item information, and multiple repeated option information.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method for extracting interpretable information of the BIOS Setup interface according to any one of claims 1 to 4 when executing the computer program.

10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method for extracting interpretable information of a BIOS Setup interface according to any one of claims 1 to 4 is implemented.