CN113609348B - Method, device, equipment and medium for retrieving BIOS graphical interface - Google Patents
Method, device, equipment and medium for retrieving BIOS graphical interface Download PDFInfo
- Publication number
- CN113609348B CN113609348B CN202110704102.1A CN202110704102A CN113609348B CN 113609348 B CN113609348 B CN 113609348B CN 202110704102 A CN202110704102 A CN 202110704102A CN 113609348 B CN113609348 B CN 113609348B
- Authority
- CN
- China
- Prior art keywords
- menu
- target path
- target
- bios
- level
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/907—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Library & Information Science (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
技术领域technical field
本发明涉及BIOS检索领域,尤其是涉及一种BIOS图形界面的检索方法、装置、设备及介质。The invention relates to the field of BIOS retrieval, in particular to a retrieval method, device, equipment and medium of a BIOS graphical interface.
背景技术Background technique
在BIOS(Basic Input Output System,基本输入/输出系统)测试过程中,因测试机的操作系统还未真实进入,无法使用常规的Linux(一种操作系统)指令操作。During the BIOS (Basic Input Output System, basic input/output system) test process, because the operating system of the test machine has not actually entered, it is impossible to use conventional Linux (an operating system) command to operate.
现有技术中,测试人员往往需要进入BIOS图形页面,通过手动按键操作页面进行信息查看、设置。In the prior art, testers often need to enter the BIOS graphics page, and perform information viewing and setting by manually operating the page with keys.
但是,通过手动按键操作页面进行信息查看、设置的方式,不仅测试效率较低,容易出错;而且不同版本BIOS界面的菜单区别较大,对不熟悉的版本每次查找目标菜单,需要浪费较长的时间,可靠性也比较差,不仅不利于提高BIOS界面目标菜单查询的效率,也不利于提高BIOS的测试效率以及可靠性。However, the method of checking and setting information through the manual button operation page is not only low in test efficiency, but also prone to errors; moreover, the menus of different versions of the BIOS interface are quite different, and it takes a long time to search for the target menu for unfamiliar versions. The time and reliability are relatively poor, which is not only unfavorable for improving the efficiency of the BIOS interface target menu query, but also unfavorable for improving the testing efficiency and reliability of the BIOS.
发明内容Contents of the invention
本发明为了解决现有技术中存在的问题,创新提出了一种BIOS图形界面的检索方法、装置、设备及介质,有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。In order to solve the problems existing in the prior art, the present invention innovatively proposes a retrieval method, device, equipment and medium of a BIOS graphic interface, which effectively solves the problem of low BIOS test efficiency caused by manually operating the BIOS graphic page, and effectively improves Improve the efficiency of BIOS interface target menu query, and also improve the efficiency and reliability of BIOS testing.
本发明第一方面提供了一种BIOS图形界面的检索方法,应用于BIOS测试中,包括:The first aspect of the present invention provides a kind of retrieval method of BIOS graphical interface, is applied in BIOS test, comprises:
建立待测设备的BIOS菜单字典;Build the BIOS menu dictionary of the device under test;
触发本地图形窗口幕布刷新,扫描幕布的文字信息,根据幕布中的文字色彩信息确定当前选中菜单;Trigger the screen refresh of the local graphics window, scan the text information of the screen, and determine the currently selected menu according to the text color information in the screen;
根据当前选中菜单是否为主菜单,分别生成第一目标路径或第二目标路径;According to whether the currently selected menu is the main menu, respectively generate the first target path or the second target path;
解析第一目标路径或第二目标路径,将第一目标路径或第二目标路径的解析结果分别与建立待测设备的BIOS菜单字典进行对比,按照第一目标路径或第二目标路径的级别输出按键控制指针结构;Analyze the first target path or the second target path, compare the analysis results of the first target path or the second target path with the BIOS menu dictionary of the device under test, and output according to the level of the first target path or the second target path Button control pointer structure;
按照输出的按键指针结构循环发送按键指令,发送完成后,触发幕布再次刷新,获取当前刷新后的屏幕文字信息,并根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性。According to the output key pointer structure, the key commands are sent cyclically. After the sending is completed, the screen is triggered to refresh again, and the currently refreshed screen text information is obtained, and the accuracy of the target menu information is verified according to the currently refreshed screen text information.
可选地,待测设备的BIOS菜单字典包括不同级别的菜单,其中,末级菜单为有序列表。Optionally, the BIOS menu dictionary of the device under test includes menus at different levels, wherein the last-level menu is an ordered list.
可选地,触发本地图形窗口幕布刷新,扫描幕布的文字信息,根据幕布中的文字色彩信息确定当前选中菜单具体包括:Optionally, trigger the screen refresh of the local graphics window, scan the text information of the screen, and determine the currently selected menu according to the text color information in the screen. Specifically include:
通过远程映射,在本地打开图形连接窗口;Through remote mapping, open the graphical connection window locally;
发送按键序列指令,触发本地图形连接窗口的幕布刷新;Send a key sequence command to trigger the screen refresh of the local graphics connection window;
扫描窗口幕布文字信息;Scan window curtain text information;
根据窗口幕布文字信息判断本地打开图形窗口的界面是否正确,如果正确,则根据幕布上文字色彩信息确定当前选中菜单;如果不正确,触发重启待测设备,通过远程映射,重新在本地打开图形连接窗口。Judging whether the interface to open the graphics window locally is correct according to the text information of the window screen, if correct, determine the currently selected menu according to the text color information on the screen; if not, trigger the restart of the device under test, and re-open the graphics connection locally through remote mapping window.
可选地,根据当前选中菜单是否为主菜单,分别生成第一目标路径或第二目标路径具体是:Optionally, according to whether the currently selected menu is the main menu, generate the first target path or the second target path, specifically:
判断当前选中的菜单是否为主菜单,如果当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以目标菜单为终点生成第一目标路径;如果当前选中的菜单不为主菜单,以选中菜单为起点目标菜单为终点,遍历静态字典生成第二目标路径。Determine whether the currently selected menu is the main menu. If the currently selected menu is the main menu, initialize the currently selected menu as the first line of the home page, and generate the first target path with the target menu as the end point; if the currently selected menu is not the main menu, use The selected menu is the starting point and the target menu is the end point, and the second target path is generated by traversing the static dictionary.
可选地,按照第一目标路径或第二目标路径的级别输出按键控制指针结构具体是:如果第一目标路径或第二目标路径的级别为第一级别,则生成[退出:次数]指针结构;如果第一目标路径或第二目标路径的级别为第二级别,生成[上/下:次数]指针结构;如果第一目标路径或第二目标路径的级别为第三级别,生成[下:次数,回车]指针结构;如果第一目标路径或第二目标路径的级别为第四级别,生成[左/右,回车]指针结构。Optionally, outputting the button control pointer structure according to the level of the first target path or the second target path is: if the level of the first target path or the second target path is the first level, then generate [exit: times] pointer structure ; If the level of the first target path or the second target path is the second level, generate [Up/Down: Times] pointer structure; if the level of the first target path or the second target path is the third level, generate [Down: times, carriage return] pointer structure; if the level of the first target path or the second goal path is the fourth level, generate a [left/right, carriage return] pointer structure.
可选地,根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性具体是:Optionally, verifying the accuracy of the target menu information according to the currently refreshed screen text information is as follows:
根据获取当前刷新后的屏幕文字信息获取目标菜单值;Obtain the target menu value according to the currently refreshed screen text information;
对比目标菜单值与预设目标菜单值是否一致,如果一致,校验通过,并将目标菜单返回给用户;如果不一致,校验失败,初始化当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以目标菜单为终点生成第一目标路径,重新进行第一目标路径的解析。Compare whether the target menu value is consistent with the preset target menu value. If they are consistent, the verification is passed, and the target menu is returned to the user; if not, the verification fails, and the currently selected menu is initialized as the main menu, and the currently selected menu is initialized as the home page In the first line, the first target path is generated with the target menu as the end point, and the analysis of the first target path is performed again.
进一步地,校验失败后重新进行第一目标路径的解析的次数为1次。Further, the number of reanalysis of the first target path after the verification fails is 1 time.
本发明第二方面提供了一种BIOS图形界面的检索装置,应用于BIOS测试中,包括:The second aspect of the present invention provides a kind of retrieval device of BIOS graphic interface, is applied in BIOS test, comprises:
建立模块,建立待测设备的BIOS菜单字典;Build a module to build the BIOS menu dictionary of the device under test;
触发及确定模块,触发本地图形窗口幕布刷新,扫描幕布的文字信息,根据幕布中的文字色彩信息确定当前选中菜单;The trigger and determination module triggers the refresh of the local graphics window curtain, scans the text information of the curtain, and determines the currently selected menu according to the text color information in the curtain;
生成模块,根据当前选中菜单是否为主菜单,分别生成第一目标路径或第二目标路径;The generation module generates the first target path or the second target path respectively according to whether the currently selected menu is the main menu;
解析模块,解析第一目标路径或第二目标路径,将第一目标路径或第二目标路径的解析结果分别与建立待测设备的BIOS菜单字典进行对比,按照第一目标路径或第二目标路径的级别输出按键控制指针结构;The parsing module analyzes the first target path or the second target path, and compares the resolution results of the first target path or the second target path with the BIOS menu dictionary of the device under test respectively, according to the first target path or the second target path The level output key control pointer structure;
发送及校验模块,按照输出的按键指针结构循环发送按键指令,发送完成后,触发幕布再次刷新,获取当前刷新后的屏幕文字信息,并根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性。The sending and verification module sends key commands cyclically according to the output key pointer structure. After the sending is completed, it triggers the screen to refresh again, obtains the currently refreshed screen text information, and verifies the target menu information based on the currently refreshed screen text information. accuracy.
本发明第三方面提供了一种电子设备包括:存储器,用于存储计算机程序;处理器,用于执行所述计算机程序时实现如本发明第一方面所述的BIOS图形界面的检索方法的步骤。The third aspect of the present invention provides an electronic device comprising: a memory for storing a computer program; a processor for implementing the steps of the method for retrieving a BIOS graphical interface as described in the first aspect of the present invention when executing the computer program .
本发明第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如本发明第一方面所述的BIOS图形界面的检索方法的步骤。A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the BIOS graphical interface as described in the first aspect of the present invention is realized The steps of the search method.
本发明采用的技术方案包括以下技术效果:The technical scheme adopted in the present invention comprises the following technical effects:
1、本发明有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。1. The present invention effectively solves the problem of low BIOS test efficiency due to manual button operation on the BIOS graphic page, effectively improves the efficiency of the BIOS interface target menu query, and also improves the test efficiency and reliability of the BIOS.
2、本发明技术方案可以模拟人工操作,自动读取、设置BIOS信息,测试人员仅通过配置条件,既可以查询、设置所需要的菜单信息,为BIOS测试工作提供了便捷的查询设置工具,降低BIOS测试工作对人员熟练度的依赖,提升测试效率,同时也为BIOS自动化测试提供了高效的底层支撑。2. The technical scheme of the present invention can simulate manual operation, automatically read and set BIOS information, and the testers can query and set the required menu information only through the configuration conditions, providing a convenient query and setting tool for the BIOS test work, reducing the The BIOS test work relies on the proficiency of personnel, which improves the test efficiency and also provides an efficient underlying support for the BIOS automated test.
3、本发明技术方案通过建立待测设备的BIOS菜单字典,并以有序列表作为末级菜单,对选中菜单以及目标菜单生成第一目标路径或第二目标路径,针对第一目标路径或第二目标路径的解析后生成对应的按键操作指令,以达到模拟人工操作,自动进行智能控制检索的目的。3. The technical solution of the present invention is to establish the BIOS menu dictionary of the device under test, and use the ordered list as the final menu to generate the first target path or the second target path for the selected menu and the target menu, and for the first target path or the second target path After the analysis of the target path, the corresponding key operation instructions are generated to achieve the purpose of simulating manual operation and automatically performing intelligent control retrieval.
4、本发明技术方案根据第一目标路径或第二目标路径的级别,输出对应的按键控制指针结构,以提高BIOS图形界面检索的适应性。4. According to the level of the first target path or the second target path, the technical solution of the present invention outputs the corresponding button control pointer structure to improve the adaptability of the BIOS graphical interface retrieval.
5、本发明技术方案中根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性,提高了BIOS图形界面检索的可靠性。5. In the technical solution of the present invention, the accuracy of the target menu information is verified according to the currently refreshed screen text information, and the reliability of the BIOS graphical interface retrieval is improved.
应当理解的是以上的一般描述以及后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
为了更清楚说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单介绍,显而易见的,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, Other drawings can also be obtained from these drawings without any creative effort.
图1为本发明方案中实施例一方法的流程示意图;Fig. 1 is the schematic flow sheet of the method of embodiment one in the scheme of the present invention;
图2为本发明方案中实施例一方法中步骤S2的流程示意图;Fig. 2 is the schematic flow chart of step S2 in the method of embodiment one in the scheme of the present invention;
图3为本发明方案中实施例一方法中步骤S7的流程示意图;Fig. 3 is the schematic flow chart of step S7 in the method of embodiment one in the scheme of the present invention;
图4为本发明方案中实施例二装置的结构示意图;Fig. 4 is the structural representation of the device of embodiment two in the scheme of the present invention;
图5为本发明方案中实施例二装置中触发及确定模块102的结构示意图;FIG. 5 is a schematic structural diagram of the triggering and determination module 102 in the device of Embodiment 2 of the solution of the present invention;
图6为本发明方案中实施例二装置中发送及校验模块105的结构示意图;FIG. 6 is a schematic structural diagram of the sending and checking module 105 in the device of Embodiment 2 of the solution of the present invention;
图7为本发明方案中实施例三设备的结构示意图。Fig. 7 is a schematic structural diagram of the equipment of Example 3 in the solution of the present invention.
具体实施方式Detailed ways
为能清楚说明本方案的技术特点,下面通过具体实施方式,并结合其附图,对本发明进行详细阐述。下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。应当注意,在附图中所图示的部件不一定按比例绘制。本发明省略了对公知组件和处理技术及工艺的描述以避免不必要地限制本发明。In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the present invention.
实施例一Embodiment one
如图1所示,本发明提供了一种BIOS图形界面的检索方法,应用于BIOS测试中,包括:As shown in Figure 1, the present invention provides a kind of retrieval method of BIOS graphic interface, is applied in BIOS test, comprises:
S1,建立待测设备的BIOS菜单字典;S1, establishing the BIOS menu dictionary of the device under test;
S2,触发本地图形窗口幕布刷新,扫描幕布的文字信息,根据幕布中的文字色彩信息确定当前选中菜单;S2, triggering the screen refresh of the local graphics window, scanning the text information of the screen, and determining the currently selected menu according to the text color information in the screen;
S3,判断当前选中菜单是否为主菜单,如果判断结果为是,则执行步骤S4;如果判断结果为否,则执行步骤S5;S3, judging whether the currently selected menu is the main menu, if the judgment result is yes, then execute step S4; if the judgment result is no, then execute step S5;
S4,生成第一目标路径;S4, generating a first target path;
S5,生成第二目标路径;S5, generating a second target path;
S6,解析第一目标路径或第二目标路径,将第一目标路径或第二目标路径的解析结果分别与建立待测设备的BIOS菜单字典进行对比,按照第一目标路径或第二目标路径的级别输出按键控制指针结构;S6, analyzing the first target path or the second target path, comparing the analysis results of the first target path or the second target path with the BIOS menu dictionary of the device under test, according to the first target path or the second target path Level output button control pointer structure;
S7,按照输出的按键指针结构循环发送按键指令,发送完成后,触发幕布再次刷新,获取当前刷新后的屏幕文字信息,并根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性。S7. Send key commands cyclically according to the output key pointer structure. After the sending is completed, trigger the screen to refresh again, obtain the currently refreshed screen text information, and verify the accuracy of the target menu information according to the currently refreshed screen text information.
其中,在步骤S1中,待测设备的BIOS菜单字典包括主菜单、子菜单,其中,末级菜单为有序列表。各个不同级别的菜单以字典形式存放,因BIOS特殊性,按键可页面循环操作,因此以有序列表为菜单递归结束标识。具体地,例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,父菜单、子菜单是两个不同级别菜单相对而定的关系,当前位置是指的一个被展开菜单(main菜单)的页面里被选中的那一个菜单(name)。Wherein, in step S1, the BIOS menu dictionary of the device under test includes a main menu and submenus, wherein the last menu is an ordered list. The menus of different levels are stored in the form of dictionaries. Due to the particularity of the BIOS, the buttons can be operated in a page cycle, so the ordered list is used as the recursive end mark of the menu. Specifically, for example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position If name is selected, then main is its parent menu, a, b, and c are its submenu items, and product is the same-level menu of name. The parent menu and submenu are the relative relationship between two different levels of menus. The current position refers to the selected menu (name) in the page of an expanded menu (main menu).
步骤S2中,如图2所示,具体包括:In step S2, as shown in Figure 2, specifically include:
S21,通过远程映射,在本地打开图形连接窗口;S21, open a graphical connection window locally through remote mapping;
S22,发送按键序列指令,触发本地图形连接窗口的幕布刷新;S22, sending a key sequence instruction to trigger the screen refresh of the local graphics connection window;
S23,扫描窗口幕布文字信息;S23, scanning window curtain text information;
S24,根据窗口幕布文字信息判断本地打开图形窗口的界面是否正确,如果判断结果为是,则执行步骤S25;如果判断结果为否,则执行步骤S26;S24, judging whether the interface of the locally opened graphic window is correct according to the window curtain text information, if the judgment result is yes, then execute step S25; if the judgment result is no, then execute step S26;
S25,则根据幕布上文字色彩信息确定当前选中菜单;S25, then determine the currently selected menu according to the text color information on the screen;
S26,触发重启待测设备,通过远程映射,重新在本地打开图形连接窗口。S26, triggering to restart the device under test, and re-opening the graphical connection window locally through remote mapping.
其中,在步骤S21中,用户通过远程映射,在本地打开图形连接窗口;用户输入参数需包括可远程映射图形窗口的地址、用户名、密码、查询的目标BIOS菜单的路径,通过用户输入参数启动远程映射,在本地打开图形连接窗口。Wherein, in step S21, the user opens the graphic connection window locally through remote mapping; the user input parameters need to include the address of the remote mapping graphic window, user name, password, and the path of the target BIOS menu of the query, and start through the user input parameters. For remote mapping, open the graphical connection window locally.
在步骤S22中,发送按键CSI(Command Sequence Introducer,命令序列引导)序列指令,触发本地图形连接窗口的幕布刷新。In step S22, send a CSI (Command Sequence Introducer, Command Sequence Introducer, Command Sequence Introducer) sequence command to trigger the screen refresh of the local graphics connection window.
在步骤S23-S24中,扫描窗口幕布文字信息,根据窗口幕布文字信息判断本地打开图形窗口的界面是否正确,具体地,本地打开后,如果返回结果只有一个login(字符串),这种尝试连接返回信息,那么就是登录不上的,本地打开图形窗口的界面不正确,当返回结果除了login之外,还有其他信息(幕布信息),那么就认定连接本地打开图形窗口的界面是正确的。优选地,可以定义字符串为数字编码,例如960,当返回编码为960时,本地打开图形窗口的界面不正确;当返回编码为非960时,本地打开图形窗口的界面正确。In steps S23-S24, scan the window curtain text information, and judge whether the interface of the local open graphics window is correct according to the window curtain text information. Specifically, after the local opening, if there is only one login (character string) in the return result, this attempt to connect If the information is returned, then the login is not possible, and the interface for opening the graphics window locally is incorrect. When the returned result includes other information (curtain information) besides login, then it is determined that the interface for opening the graphics window locally is correct. Preferably, the character string can be defined as a numeric code, such as 960. When the returned code is 960, the interface for opening the graphics window locally is incorrect; when the returned code is not 960, the interface for opening the graphics window locally is correct.
在步骤S25中,则根据幕布上文字色彩信息确定当前选中菜单;具体地,如果当前菜单还有下一级菜单的话,显示蓝色;当前选中的菜单显示白色;如果当前菜单没有下一级菜单了,显示黑色;通过幕布上文字色彩信息(或明暗信息)确定当前选中菜单。In step S25, then determine the currently selected menu according to the text color information on the screen; specifically, if the current menu also has a lower-level menu, it will display blue; the currently selected menu will display white; if the current menu does not have a lower-level menu The menu is displayed in black; the currently selected menu is determined by the text color information (or light and dark information) on the screen.
在步骤S26中,通过BMC(Baseboard Management Controler,基板管理控制器)命令,触发重启待测设备,通过远程映射,重新在本地打开图形连接窗口。In step S26, a BMC (Baseboard Management Controller, Baseboard Management Controller) command is used to trigger the restart of the device under test, and the graphical connection window is re-opened locally through remote mapping.
在步骤S3中,判断当前选中菜单是否为主菜单具体是:通过截取选中菜单的第一个双空格前面的字符串,通过字符串确定当前选中菜单的菜单名,根据菜单名与菜单字典中的不同级别菜单的菜单名进行比对,确定当前菜单是否为主菜单。例如,确定当前选中菜单的菜单名为product或name,则当前选中菜单不是主菜单,如果确定当前选中菜单的菜单名为main,则当前选中菜单是主菜单。具体地,菜单名:菜单值的特点如下:In step S3, judging whether the currently selected menu is the main menu is specifically: by intercepting the character string in front of the first double space of the selected menu, determining the menu name of the currently selected menu through the character string, according to the menu name and the menu dictionary Compare the menu names of different levels of menus to determine whether the current menu is the main menu. For example, if the menu name of the currently selected menu is determined to be product or name, then the currently selected menu is not the main menu; if the menu name of the currently selected menu is determined to be main, then the currently selected menu is the main menu. Specifically, the menu name: menu value features are as follows:
菜单名如果是2个英文词,菜单名与菜单值中间只有一个空格,但是也存在菜单名:菜单值之间的距离等于大于2个空格的情况,用2个空格做分隔符就可以排除菜单名与菜单值中间的空格的影响,以便于准确地获取当前选中菜单的菜单名。If the menu name is 2 English words, there is only one space between the menu name and the menu value, but there are also menu names: the distance between the menu values is equal to or greater than 2 spaces, and the menu can be excluded by using 2 spaces as a separator The effect of the space between the name and the menu value, so as to accurately obtain the menu name of the currently selected menu.
在步骤S4中,如果当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以菜单结构为地图,以目标菜单为终点生成第一目标路径;因为是从main菜单出发,按照行动轨迹走,是不存在up动作的,一直是向右向下的动作查询,因此,第一目标路径的生成需要初始化当前选中菜单为首页首行。例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,如果要当前选中菜单为main菜单,目标菜单为123,执行动作为enter(进入)、向下即可完成;如果要当前选中菜单为main菜单,目标菜单为a,执行动作为enter(进入)、向下、enter、向下即可完成。In step S4, if the currently selected menu is the main menu, initialize the currently selected menu as the first line of the home page, use the menu structure as a map, and use the target menu as the end point to generate the first target path; because it starts from the main menu, follow the action track Going, there is no up action, and it is always a right-down action query. Therefore, the generation of the first target path needs to initialize the currently selected menu as the first line of the home page. For example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position is selected name, then main is its parent menu, a, b, and c are its submenu items, and product is the menu at the same level as name. If the currently selected menu is the main menu, the target menu is 123, and the execution action is enter (enter ), down to complete; if the currently selected menu is the main menu, the target menu is a, and the execution action is enter (enter), down, enter, down to complete.
在步骤S5中,如果当前选中的菜单不为主菜单,以选中菜单为起点、目标菜单为终点,以菜单结构为地图,遍历静态字典(用户数据不会发生变化)生成第二目标路径。第二目标路径为最短路径,因为是从不是主菜单的菜单出发,按照行动轨迹走,需要预先返回主菜单,然后再从主菜单出发,首先存在ESC(退回或退出)动作,到达主菜单后,再执行进入、向下动作的,因此,第二目标路径的生成不需要初始化当前选中菜单为首页首行。例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,如果当前选中菜单为123,目标菜单为c,执行动作为ESC(退回到product)、ESC(退回到主菜单)、enter(进入product菜单)、向下(name菜单)、enter(a菜单)、向下(b菜单)、向下(c菜单)即可完成;如果当前选中菜单为a,目标菜单为123,执行动作为ESC(退回到name菜单)、ESC(退回到主菜单)、enter(进入product)、enter(进入123菜单)即可完成。In step S5, if the currently selected menu is not the main menu, use the selected menu as the starting point, the target menu as the end point, and use the menu structure as a map to traverse the static dictionary (user data will not change) to generate a second target path. The second target path is the shortest path, because it starts from a menu that is not the main menu and follows the action track. It is necessary to return to the main menu in advance, and then start from the main menu. First, there is an ESC (return or exit) action. After reaching the main menu , and then execute the entry and downward actions. Therefore, the generation of the second target path does not need to initialize the currently selected menu as the first line of the home page. For example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position is selected name, then main is its parent menu, a, b, and c are its submenu items, and product is the same-level menu of name. If the currently selected menu is 123, the target menu is c, and the execution action is ESC (back to product ), ESC (return to the main menu), enter (enter the product menu), down (name menu), enter (a menu), down (b menu), down (c menu) can be completed; if currently selected The menu is a, the target menu is 123, and the execution actions are ESC (return to the name menu), ESC (return to the main menu), enter (enter product), and enter (enter 123 menu) to complete.
在步骤S6中,按照第一目标路径或第二目标路径的级别输出按键控制指针结构具体是:如果第一目标路径或第二目标路径的级别为第一级别,则生成[退出:次数]指针结构;如果第一目标路径或第二目标路径的级别为第二级别,生成[上/下:次数]指针结构;如果第一目标路径或第二目标路径的级别为第三级别,生成[下:次数,回车]指针结构;如果第一目标路径或第二目标路径的级别为第四级别,生成[左/右,回车]指针结构。In step S6, outputting the button control pointer structure according to the level of the first target path or the second target path is specifically: if the level of the first target path or the second target path is the first level, then generate [exit: times] pointer structure; if the level of the first target path or the second target path is the second level, generate [Up/Down: times] pointer structure; if the level of the first target path or the second target path is the third level, generate [Down : number of times, carriage return] pointer structure; if the level of the first target path or the second goal path is the fourth level, generate a [left/right, carriage return] pointer structure.
具体地,第一目标路径对应第二级别、第三级别、第四级别,不存在第一级别路径,因为第一目标路径为主菜单,不存在退回情况。第二目标路径对应第一级别、第二级别、第三级别、第四级别。如果第二目标路径的级别为第一级别,其中,第一级别路径,对应子菜单到父菜单;则生成[退出:次数]指针结构,次数指的是退出动作(ESC)的累加;如果第一目标路径或第二目标路径的级别为第二级别,其中,第二级别路径,对应同级菜单到同级菜单;生成[上/下:次数]指针结构,次数指的是上/下动作(up/down)的累加;如果第一目标路径或第二目标路径的级别为第三级别,第三级别路径对应父菜单进入到子菜单,生成[下:次数,回车]指针结构,次数为向下(down)的累加;如果第一目标路径或第二目标路径的级别为第四级别,第四级别路径对应确认/取消路径记录,生成[左/右,回车]指针结构;以{Main:{product:123,name:[a,b,c]}菜单字典为例,当前选中的位置在菜单a上,如果要回到main,那么需要发送2次ESC,这个就是记录a菜单到main菜单差了几级,如果是2级,那么ESC就累加到2,生成[ESC:2]指针结构。同理,如果当前在product菜单上,我要走到c,需要的动作是退出到主菜单main,然后进入到product菜单,向下到name,回车->进入name,展示a,b,c,向下2次->c,此时需要生成一个动作列表就是指针[ESC:1,enter:1,down:1,enter:1,down:2],按照这个列表循环执行次数就可以实现鼠标的轨迹控制了。Specifically, the first target path corresponds to the second level, the third level, and the fourth level, and there is no first level path, because the first target path is the main menu, and there is no return situation. The second target path corresponds to the first level, the second level, the third level, and the fourth level. If the level of the second target path is the first level, wherein, the first level path corresponds to the submenu to the parent menu; then generate [exit: times] pointer structure, the number of times refers to the accumulation of the exit action (ESC); if the first The level of the first target path or the second target path is the second level, wherein, the second level path corresponds to the same-level menu to the same-level menu; generate a [up/down: times] pointer structure, and the times refer to the up/down action Accumulation of (up/down); if the level of the first target path or the second target path is the third level, the third level path corresponds to the parent menu and enters the submenu, and generates a [down: times, enter] pointer structure, times It is down (down) accumulation; if the level of the first target path or the second target path is the fourth level, the fourth level path corresponds to the confirmation/cancellation path record, and a [left/right, carriage return] pointer structure is generated; {Main: {product: 123, name: [a,b,c]} menu dictionary as an example, the currently selected position is on menu a, if you want to return to main, you need to send 2 ESC, this is to record menu a It is a few levels away from the main menu, if it is level 2, then the ESC will be accumulated to 2, and the [ESC: 2] pointer structure will be generated. Similarly, if I am currently on the product menu and I want to go to c, the required action is to exit to the main menu main, then enter the product menu, go down to name, press Enter -> enter name, and display a, b, c , down 2 times -> c, at this time, an action list needs to be generated, which is the pointer [ESC: 1, enter: 1, down: 1, enter: 1, down: 2], and the mouse can be realized by looping the number of executions according to this list trajectory is controlled.
如图3所示,步骤S7具体包括:As shown in Figure 3, step S7 specifically includes:
S71,根据获取当前刷新后的屏幕文字信息获取目标菜单值;S71. Acquiring the target menu value according to the current refreshed screen text information;
S72,对比目标菜单值与预设目标菜单值是否一致,如果判断结果为是,执行步骤S73;如果判断结果为否,则执行步骤S73;S72, comparing whether the target menu value is consistent with the preset target menu value, if the judgment result is yes, execute step S73; if the judgment result is no, execute step S73;
S73,校验通过,并将目标菜单返回给用户;S73, the verification is passed, and the target menu is returned to the user;
S74,校验失败,初始化当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以目标菜单为终点生成第一目标路径,重新执行步骤S6-S7。S74, the verification fails, initialize the currently selected menu as the main menu, initialize the currently selected menu as the first line of the home page, generate the first target path with the target menu as the end point, and re-execute steps S6-S7.
具体地,校验失败后重新进行第一目标路径的解析(步骤S6-S7)的次数为1次。Specifically, the number of times to re-analyze the first target path (steps S6-S7) after the verification fails is one time.
需要说明的是,本发明技术方案中步骤S1-S7均可以通过硬件或软件编程实现,编程的思路与本发明步骤相对应,也可以通过其他方式实现,本发明在此不做限制。It should be noted that steps S1-S7 in the technical solution of the present invention can be realized through hardware or software programming, and the idea of programming corresponds to the steps of the present invention, and can also be realized in other ways, and the present invention is not limited here.
本发明有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。The invention effectively solves the problem of low BIOS test efficiency caused by manually operating the BIOS graphic page, effectively improves the efficiency of BIOS interface target menu query, and also improves the test efficiency and reliability of the BIOS.
本发明技术方案可以模拟人工操作,自动读取、设置BIOS信息,测试人员仅通过配置条件,既可以查询、设置所需要的菜单信息,为BIOS测试工作提供了便捷的查询设置工具,降低BIOS测试工作对人员熟练度的依赖,提升测试效率,同时也为BIOS自动化测试提供了高效的底层支撑。The technical scheme of the present invention can simulate manual operation, automatically read and set BIOS information, and testers can query and set the required menu information only through the configuration conditions, providing a convenient query and setting tool for BIOS testing, reducing the cost of BIOS testing. The work depends on the proficiency of personnel, which improves the test efficiency and also provides efficient underlying support for BIOS automated testing.
本发明技术方案通过建立待测设备的BIOS菜单字典,并以有序列表作为末级菜单,对选中菜单以及目标菜单生成第一目标路径或第二目标路径,针对第一目标路径或第二目标路径的解析后生成对应的按键操作指令,以达到模拟人工操作,自动进行智能控制检索的目的。The technical solution of the present invention establishes the BIOS menu dictionary of the device under test, and uses the ordered list as the final menu to generate the first target path or the second target path for the selected menu and the target menu, and for the first target path or the second target After the path is analyzed, the corresponding key operation instructions are generated to achieve the purpose of simulating manual operation and automatically performing intelligent control retrieval.
本发明技术方案根据第一目标路径或第二目标路径的级别,输出对应的按键控制指针结构,以提高BIOS图形界面检索的适应性。According to the level of the first target path or the second target path, the technical solution of the present invention outputs the corresponding button control pointer structure, so as to improve the adaptability of BIOS graphical interface retrieval.
本发明技术方案中根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性,提高了BIOS图形界面检索的可靠性。In the technical solution of the present invention, the accuracy of the target menu information is checked according to the currently refreshed screen text information, and the reliability of the BIOS graphical interface retrieval is improved.
实施例二Embodiment two
如图4所示,本发明技术方案还提供了一种BIOS图形界面的检索装置,应用于BIOS测试中,包括:As shown in Figure 4, the technical solution of the present invention also provides a retrieval device of a BIOS graphical interface, which is applied in BIOS testing, including:
建立模块101,建立待测设备的BIOS菜单字典;Build module 101, set up the BIOS menu dictionary of equipment under test;
触发及确定模块102,触发本地图形窗口幕布刷新,扫描幕布的文字信息,根据幕布中的文字色彩信息确定当前选中菜单;Trigger and determine module 102, trigger the refreshment of the local graphics window curtain, scan the text information of the curtain, and determine the currently selected menu according to the text color information in the curtain;
生成模块103,根据当前选中菜单是否为主菜单,分别生成第一目标路径或第二目标路径;Generating module 103, respectively generates the first target path or the second target path according to whether the currently selected menu is the main menu;
解析模块104,解析第一目标路径或第二目标路径,将第一目标路径或第二目标路径的解析结果分别与建立待测设备的BIOS菜单字典进行对比,按照第一目标路径或第二目标路径的级别输出按键控制指针结构;Parsing module 104, parsing the first target path or the second target path, comparing the resolution results of the first target path or the second target path with the BIOS menu dictionary of the device under test respectively, according to the first target path or the second target path Path level output button control pointer structure;
发送及校验模块105,按照输出的按键指针结构循环发送按键指令,发送完成后,触发幕布再次刷新,获取当前刷新后的屏幕文字信息,并根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性。The sending and verifying module 105 sends key commands cyclically according to the output key pointer structure. After the sending is completed, it triggers the screen to refresh again, obtains the currently refreshed screen text information, and verifies the target menu according to the obtained currently refreshed screen text information. Accuracy of Information.
其中,在建立模块101中,待测设备的BIOS菜单字典包括主菜单、子菜单,其中,末级菜单为有序列表。各个不同级别的菜单以字典形式存放,因BIOS特殊性,按键可页面循环操作,因此以有序列表为菜单递归结束标识。具体地,例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,父菜单、子菜单是两个不同级别菜单相对而定的关系,当前位置是指的一个被展开菜单(main菜单)的页面里被选中的那一个菜单(name)。Wherein, in the establishment module 101, the BIOS menu dictionary of the device under test includes a main menu and submenus, wherein the last menu is an ordered list. The menus of different levels are stored in the form of dictionaries. Due to the particularity of the BIOS, the buttons can be operated in a page cycle, so the ordered list is used as the recursive end mark of the menu. Specifically, for example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position If name is selected, then main is its parent menu, a, b, and c are its submenu items, and product is the same-level menu of name. The parent menu and submenu are the relative relationship between two different levels of menus. The current position refers to the selected menu (name) in the page of an expanded menu (main menu).
触发及确定模块102中,如图5所示,具体包括:In the triggering and determining module 102, as shown in FIG. 5 , it specifically includes:
打开子模块1021,通过远程映射,在本地打开图形连接窗口;Open the submodule 1021, and open the graphical connection window locally through remote mapping;
触发子模块1022,发送按键序列指令,触发本地图形连接窗口的幕布刷新;The trigger sub-module 1022 sends a key sequence command to trigger the screen refresh of the local graphics connection window;
扫描子模块1023,扫描窗口幕布文字信息;Scanning sub-module 1023, scanning window curtain text information;
确定子模块1024,根据窗口幕布文字信息判断本地打开图形窗口的界面是否正确,如果本地打开图形窗口的界面正确,则根据幕布上文字色彩信息确定当前选中菜单;如果本地打开图形窗口的界面不正确,触发重启待测设备,通过远程映射,重新在本地打开图形连接窗口。Determining submodule 1024, judge whether the interface of locally opening the graphics window is correct according to the window curtain text information, if the interface of locally opening the graphics window is correct, then determine the currently selected menu according to the text color information on the curtain; if the interface of locally opening the graphics window is incorrect , trigger the restart of the device under test, and re-open the graphical connection window locally through remote mapping.
其中,在打开子模块1021中,用户通过远程映射,在本地打开图形连接窗口;用户输入参数需包括可远程映射图形窗口的地址、用户名、密码、查询的目标BIOS菜单的路径,通过用户输入参数启动远程映射,在本地打开图形连接窗口。Among them, in the opening sub-module 1021, the user opens the graphical connection window locally through remote mapping; the user input parameters need to include the address of the remote mapping graphical window, user name, password, and the path of the target BIOS menu of the query. The parameter starts remote mapping and opens a graphical connection window locally.
在触发子模块1022中,发送按键CSI(Command Sequence Introducer,命令序列引导)序列指令,触发本地图形连接窗口的幕布刷新。In the triggering sub-module 1022, a key CSI (Command Sequence Introducer, Command Sequence Introducer) sequence instruction is sent to trigger the screen refresh of the local graphics connection window.
在步骤扫描子模块1023、确定子模块1024中,扫描窗口幕布文字信息,根据窗口幕布文字信息判断本地打开图形窗口的界面是否正确,具体地,本地打开后,如果返回结果只有一个login(字符串),这种尝试连接返回信息,那么就是登录不上的,本地打开图形窗口的界面不正确,当返回结果除了login之外,还有其他信息(幕布信息),那么就认定连接本地打开图形窗口的界面是正确的。优选地,可以定义字符串为数字编码,例如960,当返回编码为960时,本地打开图形窗口的界面不正确;当返回编码为非960时,本地打开图形窗口的界面正确。In the step scanning submodule 1023 and determining submodule 1024, scan the window curtain text information, judge whether the interface of the local open graphic window is correct according to the window curtain text information, specifically, after the local opening, if the return result only has a login (character string ), this kind of attempt to connect returns information, then it is impossible to log in, and the interface for opening the graphics window locally is incorrect. When the returned result includes other information (curtain information) besides login, then it is determined that the connection is locally opened. The graphics window The interface is correct. Preferably, the character string can be defined as a numeric code, such as 960. When the returned code is 960, the interface for opening the graphics window locally is incorrect; when the returned code is not 960, the interface for opening the graphics window locally is correct.
如果本地打开图形窗口的界面正确,根据幕布上文字色彩信息确定当前选中菜单;具体地,如果当前菜单还有下一级菜单的话,显示蓝色;当前选中的菜单显示白色;如果当前菜单没有下一级菜单了,显示黑色;通过幕布上文字色彩信息(或明暗信息)确定当前选中菜单。If the interface of the graphics window opened locally is correct, determine the currently selected menu according to the text color information on the screen; specifically, if the current menu has a lower-level menu, it will be displayed in blue; the currently selected menu will be displayed in white; The first-level menu is displayed in black; the currently selected menu is determined by the text color information (or light and dark information) on the screen.
如果本地打开图形窗口的界面不正确,通过BMC(Baseboard ManagementControler,基板管理控制器)命令,触发重启待测设备,通过远程映射,重新在本地打开图形连接窗口。If the interface to open the graphics window locally is incorrect, trigger the restart of the device under test through the BMC (Baseboard Management Controller, Baseboard Management Controller) command, and re-open the graphics connection window locally through remote mapping.
在生成模块103中,判断当前选中菜单是否为主菜单具体是:通过截取选中菜单的第一个双空格前面的字符串,通过字符串确定当前选中菜单的菜单名,根据菜单名与菜单字典中的不同级别菜单的菜单名进行比对,确定当前菜单是否为主菜单。例如,确定当前选中菜单的菜单名为product或name,则当前选中菜单不是主菜单,如果确定当前选中菜单的菜单名为main,则当前选中菜单是主菜单。具体地,菜单名:菜单值的特点如下:In the generation module 103, judging whether the currently selected menu is the main menu is specifically: by intercepting the character string in front of the first double space of the selected menu, determining the menu name of the currently selected menu by the character string, according to the menu name and menu dictionary Compare the menu names of different levels of menus to determine whether the current menu is the main menu. For example, if the menu name of the currently selected menu is determined to be product or name, then the currently selected menu is not the main menu; if the menu name of the currently selected menu is determined to be main, then the currently selected menu is the main menu. Specifically, the menu name: menu value features are as follows:
菜单名如果是2个英文词,菜单名与菜单值中间只有一个空格,但是也存在菜单名:菜单值之间的距离等于大于2个空格的情况,用2个空格做分隔符就可以排除菜单名与菜单值中间的空格的影响,以便于准确地获取当前选中菜单的菜单名。If the menu name is 2 English words, there is only one space between the menu name and the menu value, but there are also menu names: the distance between the menu values is equal to or greater than 2 spaces, and the menu can be excluded by using 2 spaces as a separator The effect of the space between the name and the menu value, so as to accurately obtain the menu name of the currently selected menu.
如果当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以菜单结构为地图,以目标菜单为终点生成第一目标路径;因为是从main菜单出发,按照行动轨迹走,是不存在up动作的,一直是向右向下的动作查询,因此,第一目标路径的生成需要初始化当前选中菜单为首页首行。例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,如果要当前选中菜单为main菜单,目标菜单为123,执行动作为enter(进入)、向下即可完成;如果要当前选中菜单为main菜单,目标菜单为a,执行动作为enter(进入)、向下、enter、向下即可完成。If the currently selected menu is the main menu, initialize the currently selected menu as the first line of the home page, use the menu structure as a map, and use the target menu as the end point to generate the first target path; because it starts from the main menu and follows the action track, it does not exist The up action is always a right-down action query. Therefore, the generation of the first target path needs to initialize the currently selected menu as the first line of the home page. For example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position is selected name, then main is its parent menu, a, b, and c are its submenu items, and product is the menu at the same level as name. If the currently selected menu is the main menu, the target menu is 123, and the execution action is enter (enter ), down to complete; if the currently selected menu is the main menu, the target menu is a, and the execution action is enter (enter), down, enter, down to complete.
如果当前选中的菜单不为主菜单,以选中菜单为起点、目标菜单为终点,以菜单结构为地图,遍历静态字典(用户数据不会发生变化)生成第二目标路径。第二目标路径为最短路径,因为是从不是主菜单的菜单出发,按照行动轨迹走,需要预先返回主菜单,然后再从主菜单出发,首先存在ESC(退回或退出)动作,到达主菜单后,再执行向右、向下动作的,因此,第二目标路径的生成不需要初始化当前选中菜单为首页首行。例如,{Main:{product:123,name:[a,b,c]}代表了菜单字典,其中,最高一级菜单由main开头,所以叫main菜单(主菜单),如果当前位置选中的是name,那么main是他的父菜单,a,b,c是他的子菜单项,product是name的同级菜单,如果当前选中菜单为123,目标菜单为c,执行动作为ESC(退回到product)、ESC(退回到主菜单)、enter(进入product菜单)、向下(name菜单)、enter(a菜单)、向下(b菜单)、向下(c菜单)即可完成;如果当前选中菜单为a,目标菜单为123,执行动作为ESC(退回到name菜单)、ESC(退回到主菜单)、enter(进入product)、enter(进入123菜单)即可完成。If the currently selected menu is not the main menu, use the selected menu as the starting point, the target menu as the end point, and use the menu structure as a map to traverse the static dictionary (user data will not change) to generate the second target path. The second target path is the shortest path, because it starts from a menu that is not the main menu and follows the action track. It is necessary to return to the main menu in advance, and then start from the main menu. First, there is an ESC (return or exit) action. After reaching the main menu , and then execute the right and down actions, therefore, the generation of the second target path does not need to initialize the currently selected menu as the first line of the home page. For example, {Main: {product: 123, name: [a,b,c]} represents the menu dictionary, where the highest level menu starts with main, so it is called the main menu (main menu), if the current position is selected name, then main is its parent menu, a, b, and c are its submenu items, and product is the same-level menu of name. If the currently selected menu is 123, the target menu is c, and the execution action is ESC (back to product ), ESC (return to the main menu), enter (enter the product menu), down (name menu), enter (a menu), down (b menu), down (c menu) can be completed; if currently selected The menu is a, the target menu is 123, and the execution actions are ESC (return to the name menu), ESC (return to the main menu), enter (enter product), and enter (enter 123 menu) to complete.
在解析模块104中,按照第一目标路径或第二目标路径的级别输出按键控制指针结构具体是:如果第一目标路径或第二目标路径的级别为第一级别,则生成[退出:次数]指针结构;如果第一目标路径或第二目标路径的级别为第二级别,生成[上/下:次数]指针结构;如果第一目标路径或第二目标路径的级别为第三级别,生成[下:次数,回车]指针结构;如果第一目标路径或第二目标路径的级别为第四级别,生成[左/右,回车]指针结构。In the parsing module 104, outputting the button control pointer structure according to the level of the first target path or the second target path is specifically: if the level of the first target path or the second target path is the first level, then generate [exit: number of times] Pointer structure; if the level of the first target path or the second target path is the second level, generate [up/down: times] pointer structure; if the level of the first target path or the second target path is the third level, generate [ Down: number of times, carriage return] pointer structure; if the level of the first target path or the second goal path is the fourth level, generate a [left/right, carriage return] pointer structure.
具体地,第一目标路径对应第二级别、第三级别、第四级别,不存在第一级别路径,因为第一目标路径为主菜单,不存在退回情况。第二目标路径对应第一级别、第二级别、第三级别、第四级别。如果第二目标路径的级别为第一级别,其中,第一级别路径,对应子菜单到父菜单;则生成[退出:次数]指针结构,次数指的是退出动作(ESC)的累加;如果第一目标路径或第二目标路径的级别为第二级别,其中,第二级别路径,对应同级菜单到同级菜单;生成[上/下:次数]指针结构,次数指的是上/下动作(up/down)的累加;如果第一目标路径或第二目标路径的级别为第三级别,第三级别路径对应父菜单进入到子菜单,生成[下:次数,回车]指针结构,次数为向下(down)的累加;如果第一目标路径或第二目标路径的级别为第四级别,第四级别路径对应确认/取消路径记录,生成[左/右,回车]指针结构;以{Main:{product:123,name:[a,b,c]}菜单字典为例,当前选中的位置在菜单a上,如果要回到main,那么需要发送2次ESC,这个就是记录a菜单到main菜单差了几级,如果是2级,那么ESC就累加到2,生成[ESC:2]指针结构。同理,如果当前在product菜单上,我要走到c,需要的动作是退出到主菜单main,然后进入到product菜单,向下到name,回车->进入name,展示a,b,c,向下2次->c,此时需要生成一个动作列表就是指针[ESC:1,enter:1,down:1,enter:1,down:2],按照这个列表循环执行次数就可以实现鼠标的轨迹控制了。Specifically, the first target path corresponds to the second level, the third level, and the fourth level, and there is no first level path, because the first target path is the main menu, and there is no return situation. The second target path corresponds to the first level, the second level, the third level, and the fourth level. If the level of the second target path is the first level, wherein, the first level path corresponds to the submenu to the parent menu; then generate [exit: times] pointer structure, the number of times refers to the accumulation of the exit action (ESC); if the first The level of the first target path or the second target path is the second level, wherein, the second level path corresponds to the same-level menu to the same-level menu; generate a [up/down: times] pointer structure, and the times refer to the up/down action Accumulation of (up/down); if the level of the first target path or the second target path is the third level, the third level path corresponds to the parent menu and enters the submenu, and generates a [down: times, enter] pointer structure, times It is down (down) accumulation; if the level of the first target path or the second target path is the fourth level, the fourth level path corresponds to the confirmation/cancellation path record, and a [left/right, carriage return] pointer structure is generated; {Main: {product: 123, name: [a,b,c]} menu dictionary as an example, the currently selected position is on menu a, if you want to return to main, you need to send 2 ESC, this is to record menu a It is a few levels away from the main menu, if it is level 2, then the ESC will be accumulated to 2, and the [ESC: 2] pointer structure will be generated. Similarly, if I am currently on the product menu and I want to go to c, the required action is to exit to the main menu main, then enter the product menu, go down to name, press Enter -> enter name, and display a, b, c , down 2 times -> c, at this time, an action list needs to be generated, which is the pointer [ESC: 1, enter: 1, down: 1, enter: 1, down: 2], and the mouse can be realized by looping the number of executions according to this list trajectory is controlled.
如图6所示,发送及校验模块105具体包括:As shown in Figure 6, the sending and verification module 105 specifically includes:
获取子模块1051,根据获取当前刷新后的屏幕文字信息获取目标菜单值;Obtaining sub-module 1051, obtaining the target menu value according to the currently refreshed screen text information;
对比子模块1052,对比目标菜单值与预设目标菜单值是否一致,如果校验通过,并将目标菜单返回给用户;校验失败,初始化当前选中的菜单为主菜单,初始化当前选中菜单为首页首行,以目标菜单为终点生成第一目标路径,重新进行第一目标路径的解析。Comparison sub-module 1052, compares whether the target menu value is consistent with the preset target menu value, if the verification is passed, the target menu is returned to the user; if the verification fails, the currently selected menu is initialized as the main menu, and the currently selected menu is initialized as the home page In the first line, the first target path is generated with the target menu as the end point, and the analysis of the first target path is performed again.
本发明有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。The invention effectively solves the problem of low BIOS test efficiency caused by manually operating the BIOS graphic page, effectively improves the efficiency of BIOS interface target menu query, and also improves the test efficiency and reliability of the BIOS.
本发明技术方案可以模拟人工操作,自动读取、设置BIOS信息,测试人员仅通过配置条件,既可以查询、设置所需要的菜单信息,为BIOS测试工作提供了便捷的查询设置工具,降低BIOS测试工作对人员熟练度的依赖,提升测试效率,同时也为BIOS自动化测试提供了高效的底层支撑。The technical scheme of the present invention can simulate manual operation, automatically read and set BIOS information, and testers can query and set the required menu information only through the configuration conditions, providing a convenient query and setting tool for BIOS testing, reducing the cost of BIOS testing. The work depends on the proficiency of personnel, which improves the test efficiency and also provides efficient underlying support for BIOS automated testing.
本发明技术方案通过建立待测设备的BIOS菜单字典,并以有序列表作为末级菜单,对选中菜单以及目标菜单生成第一目标路径或第二目标路径,针对第一目标路径或第二目标路径的解析后生成对应的按键操作指令,以达到模拟人工操作,自动进行智能控制检索的目的。The technical solution of the present invention establishes the BIOS menu dictionary of the device under test, and uses the ordered list as the final menu to generate the first target path or the second target path for the selected menu and the target menu, and for the first target path or the second target After the path is analyzed, the corresponding key operation instructions are generated to achieve the purpose of simulating manual operation and automatically performing intelligent control retrieval.
本发明技术方案根据第一目标路径或第二目标路径的级别,输出对应的按键控制指针结构,以提高BIOS图形界面检索的适应性。According to the level of the first target path or the second target path, the technical solution of the present invention outputs the corresponding button control pointer structure, so as to improve the adaptability of BIOS graphical interface retrieval.
本发明技术方案中根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性,提高了BIOS图形界面检索的可靠性。In the technical solution of the present invention, the accuracy of the target menu information is checked according to the currently refreshed screen text information, and the reliability of the BIOS graphical interface retrieval is improved.
实施例三Embodiment three
如图7所示,本发明技术方案还提供了一种电子设备,包括:存储器201,用于存储计算机程序;处理器202,用于执行所述计算机程序时实现如实施例一的BIOS图形界面的检索方法的步骤。As shown in Figure 7, the technical solution of the present invention also provides an electronic device, including: a memory 201 for storing a computer program; a processor 202 for implementing the BIOS graphical interface as in Embodiment 1 when executing the computer program The steps of the search method.
本申请实施例中的存储器201用于存储各种类型的数据以支持电子设备的操作。这些数据的示例包括:用于在电子设备上操作的任何计算机程序。可以理解,存储器201可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,ErasableProgrammable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,ElectricallyErasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagneticrandom access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous StaticRandom Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous DynamicRandom Access Memory)、增强型同步动态随机存取存储器(ESDRAM,EnhancedSynchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器201旨在包括但不限于这些和任意其它适合类型的存储器。上述本申请实施例揭示的方法可以应用于处理器202中,或者由处理器202实现。处理器202可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器202中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器202可以是通用处理器、DSP(Digital Signal Processing,即指能够实现数字信号处理技术的芯片),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器202可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器201,处理器202读取存储器201中的程序,结合其硬件完成前述方法的步骤。处理器202执行所述程序时实现本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。The memory 201 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on an electronic device. It can be understood that the memory 201 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Wherein, non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, ErasableProgrammable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, ElectricallyErasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory, CD-ROM, Or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory). The memory 201 described in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory. The methods disclosed in the foregoing embodiments of the present application may be applied to the processor 202 or implemented by the processor 202 . The processor 202 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 202 or instructions in the form of software. The above-mentioned processor 202 may be a general-purpose processor, DSP (Digital Signal Processing, that is, a chip capable of implementing digital signal processing technology), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 202 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 201, and the processor 202 reads the program in the memory 201, and completes the steps of the foregoing method in combination with its hardware. When the processor 202 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, and for the sake of brevity, details are not repeated here.
本发明有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。The invention effectively solves the problem of low BIOS test efficiency caused by manually operating the BIOS graphic page, effectively improves the efficiency of BIOS interface target menu query, and also improves the test efficiency and reliability of the BIOS.
本发明技术方案可以模拟人工操作,自动读取、设置BIOS信息,测试人员仅通过配置条件,既可以查询、设置所需要的菜单信息,为BIOS测试工作提供了便捷的查询设置工具,降低BIOS测试工作对人员熟练度的依赖,提升测试效率,同时也为BIOS自动化测试提供了高效的底层支撑。The technical scheme of the present invention can simulate manual operation, automatically read and set BIOS information, and testers can query and set the required menu information only through the configuration conditions, providing a convenient query and setting tool for BIOS testing, reducing the cost of BIOS testing. The work depends on the proficiency of personnel, which improves the test efficiency and also provides efficient underlying support for BIOS automated testing.
本发明技术方案通过建立待测设备的BIOS菜单字典,并以有序列表作为末级菜单,对选中菜单以及目标菜单生成第一目标路径或第二目标路径,针对第一目标路径或第二目标路径的解析后生成对应的按键操作指令,以达到模拟人工操作,自动进行智能控制检索的目的。The technical solution of the present invention establishes the BIOS menu dictionary of the device under test, and uses the ordered list as the final menu to generate the first target path or the second target path for the selected menu and the target menu, and for the first target path or the second target After the path is analyzed, the corresponding key operation instructions are generated to achieve the purpose of simulating manual operation and automatically performing intelligent control retrieval.
本发明技术方案根据第一目标路径或第二目标路径的级别,输出对应的按键控制指针结构,以提高BIOS图形界面检索的适应性。According to the level of the first target path or the second target path, the technical solution of the present invention outputs the corresponding button control pointer structure, so as to improve the adaptability of BIOS graphical interface retrieval.
本发明技术方案中根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性,提高了BIOS图形界面检索的可靠性。In the technical solution of the present invention, the accuracy of the target menu information is checked according to the currently refreshed screen text information, and the reliability of the BIOS graphical interface retrieval is improved.
实施例四Embodiment four
本发明技术方案还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如实施例一的BIOS图形界面的检索方法的步骤。The technical solution of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the retrieval method of the BIOS graphical interface as in Embodiment 1 is realized. step.
例如包括存储计算机程序的存储器201,上述计算机程序可由处理器202执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、FlashMemory、磁表面存储器、光盘、或CD-ROM等存储器。For example, it includes a memory 201 storing a computer program, and the above computer program can be executed by a processor 202 to complete the steps in the foregoing method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, FlashMemory, magnetic surface memory, optical disk, or CD-ROM.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks. Alternatively, if the above-mentioned integrated units of the present application are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make an electronic device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.
本发明有效解决由于手动按键操作BIOS图形页面造成BIOS测试效率低的问题,有效的提高了BIOS界面目标菜单查询的效率,也提高BIOS的测试效率以及可靠性。The invention effectively solves the problem of low BIOS test efficiency caused by manually operating the BIOS graphic page, effectively improves the efficiency of BIOS interface target menu query, and also improves the test efficiency and reliability of the BIOS.
本发明技术方案可以模拟人工操作,自动读取、设置BIOS信息,测试人员仅通过配置条件,既可以查询、设置所需要的菜单信息,为BIOS测试工作提供了便捷的查询设置工具,降低BIOS测试工作对人员熟练度的依赖,提升测试效率,同时也为BIOS自动化测试提供了高效的底层支撑。The technical scheme of the present invention can simulate manual operation, automatically read and set BIOS information, and testers can query and set the required menu information only through the configuration conditions, providing a convenient query and setting tool for BIOS testing, reducing the cost of BIOS testing. The work depends on the proficiency of personnel, which improves the test efficiency and also provides efficient underlying support for BIOS automated testing.
本发明技术方案通过建立待测设备的BIOS菜单字典,并以有序列表作为末级菜单,对选中菜单以及目标菜单生成第一目标路径或第二目标路径,针对第一目标路径或第二目标路径的解析后生成对应的按键操作指令,以达到模拟人工操作,自动进行智能控制检索的目的。The technical solution of the present invention establishes the BIOS menu dictionary of the device under test, and uses the ordered list as the final menu to generate the first target path or the second target path for the selected menu and the target menu, and for the first target path or the second target After the path is analyzed, the corresponding key operation instructions are generated to achieve the purpose of simulating manual operation and automatically performing intelligent control retrieval.
本发明技术方案根据第一目标路径或第二目标路径的级别,输出对应的按键控制指针结构,以提高BIOS图形界面检索的适应性。According to the level of the first target path or the second target path, the technical solution of the present invention outputs the corresponding button control pointer structure, so as to improve the adaptability of BIOS graphical interface retrieval.
本发明技术方案中根据获取当前刷新后的屏幕文字信息校验目标菜单信息的准确性,提高了BIOS图形界面检索的可靠性。In the technical solution of the present invention, the accuracy of the target menu information is checked according to the currently refreshed screen text information, and the reliability of the BIOS graphical interface retrieval is improved.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it is not a limitation to the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110704102.1A CN113609348B (en) | 2021-06-24 | 2021-06-24 | Method, device, equipment and medium for retrieving BIOS graphical interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110704102.1A CN113609348B (en) | 2021-06-24 | 2021-06-24 | Method, device, equipment and medium for retrieving BIOS graphical interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113609348A CN113609348A (en) | 2021-11-05 |
| CN113609348B true CN113609348B (en) | 2023-08-08 |
Family
ID=78303671
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110704102.1A Active CN113609348B (en) | 2021-06-24 | 2021-06-24 | Method, device, equipment and medium for retrieving BIOS graphical interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113609348B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115587002A (en) * | 2022-09-09 | 2023-01-10 | 超聚变数字技术有限公司 | Test method, device and computer system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108733403A (en) * | 2018-05-21 | 2018-11-02 | 紫光华山信息技术有限公司 | A kind of BIOS setting methods and device |
| CN110268385A (en) * | 2017-04-19 | 2019-09-20 | 惠普发展公司,有限责任合伙企业 | Computer with BIOS optimization |
| CN111611036A (en) * | 2020-05-06 | 2020-09-01 | 香港乐蜜有限公司 | Application menu configuration method, device, electronic device and storage medium |
| CN112347277A (en) * | 2020-10-28 | 2021-02-09 | 同辉佳视(北京)信息技术股份有限公司 | Menu generation method, apparatus, electronic device and readable storage medium |
-
2021
- 2021-06-24 CN CN202110704102.1A patent/CN113609348B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110268385A (en) * | 2017-04-19 | 2019-09-20 | 惠普发展公司,有限责任合伙企业 | Computer with BIOS optimization |
| CN108733403A (en) * | 2018-05-21 | 2018-11-02 | 紫光华山信息技术有限公司 | A kind of BIOS setting methods and device |
| CN111611036A (en) * | 2020-05-06 | 2020-09-01 | 香港乐蜜有限公司 | Application menu configuration method, device, electronic device and storage medium |
| CN112347277A (en) * | 2020-10-28 | 2021-02-09 | 同辉佳视(北京)信息技术股份有限公司 | Menu generation method, apparatus, electronic device and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113609348A (en) | 2021-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11561887B2 (en) | Test script debugging using an automated testing framework and UI rendering tree | |
| CN110704304B (en) | Application program testing method and device, storage medium and server | |
| US8745727B2 (en) | Graphical user interface tester | |
| CN111026645A (en) | User interface automatic testing method and device, storage medium and electronic equipment | |
| CN112860587B (en) | UI automatic test method and device | |
| CN111414309B (en) | Automatic test method of application program, computer equipment and storage medium | |
| JP5303795B2 (en) | Application analysis method, analysis system, and analysis program | |
| CN115599490B (en) | BIOS setting method, system, storage medium and equipment | |
| RU2431187C2 (en) | Declarative determination of action of means of control | |
| CN113609348B (en) | Method, device, equipment and medium for retrieving BIOS graphical interface | |
| CN113076257B (en) | Test script recording method, device, medium and computer equipment | |
| US7958422B2 (en) | Method and apparatus for generating self-verifying device scenario code | |
| CN111651368B (en) | A kind of user graphical interface testing method and computer readable storage medium | |
| US11106571B2 (en) | Identification of input object in a graphical user interface | |
| CN111309413B (en) | Interface display method, device, electronic device and storage medium | |
| CN108399125A (en) | Automated testing method, device, computer equipment and storage medium | |
| US7895575B2 (en) | Apparatus and method for generating test driver | |
| KR20100056338A (en) | Gui test automatic system for improving reusability of test script and method thereof | |
| Ricca et al. | Web testware evolution | |
| CN112181809B (en) | A graphical user interface automated testing method based on multiple positioning methods | |
| CN110888641A (en) | Automatic script generation method and device, server and storage medium | |
| CN116431461A (en) | Desktop application testing method, device, electronic equipment and program product | |
| KR101784280B1 (en) | System and method for testing graphical user interface automatically | |
| US20100115328A1 (en) | Methods and Systems for Handling Device Failovers during Test Executions | |
| CN118567932B (en) | Flow generating and executing method suitable for semiconductor device parameter test |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd. Country or region after: China Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before: China |