Optional search method, electronic equipment, device and medium

By loading the search page in the BIOS Setup interface and matching the target jump component, the problem of users switching repeatedly in multi-level pages is solved, and the operation of fast target positioning option is simplified.

CN120429050AActive Publication Date: 2025-08-05NEW H3C TECH CO LTD

Patent Information

Application Number
CN202510402272.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-08-05
Estimated Expiration
2045-03-31

AI Technical Summary

Technical Problem

There are too many options in the BIOS Setup interface that cause users to switch repeatedly in multi-level pages, increasing operational complexity.

Method used

Provides an option search method, by loading the search page, obtaining search fields, matching the target options and loading the target jump component, jumping directly to the target page, reducing page switching.

Benefits of technology

Reduces the complexity of users' operation of finding options when accessing the BIOS Setup interface, and quickly locates target options through the combination of search pages and target jump components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120429050A_ABST
    Figure CN120429050A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an option searching method, electronic equipment, an option searching device and a medium, and relates to the technical field of software. Obtaining a search field input in the search page; obtaining a target option matched with the search field and corresponding target option information from options configured on the BIOS Setup interface; loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option; and if the target jump component is selected, creating and loading a target page where the target jump component is located according to the target option information associated with the target jump component. By applying the scheme provided by the embodiment of the invention, the operation complexity in an option searching process when a user accesses a BIOS Setup interface can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software technology, and in particular to an option search method, electronic device, device and medium. Background Art

[0002] The BIOS (Basic Input Output System) is a set of programs embedded in a ROM (Read-Only Memory) chip. It stores the computer's most important basic input and output programs, power-on self-test programs, and system startup programs. It can read and write specific information about system settings from the CMOS (Complementary Metal Oxide Semiconductor), thereby providing hardware settings and control for the computer.

[0003] The BIOS Setup interface is used to manage and configure the hardware settings of electronic devices. Typically, you enter the BIOS Setup interface by pressing a specific key combination (such as the Delete key or the Esc key) when the computer starts.

[0004] In order to be able to perform various complex settings on the computer, the BIOS Setup interface usually contains a large number of options and configuration items for users to choose from, and to make choices in various aspects such as hardware configuration, performance tuning, and security settings. However, due to the large number of options, multi-level nested option menus may appear in the BIOS Setup interface. That is, after the user selects an option in a menu, they jump to the page corresponding to the option. The new page contains new options, and the user can jump to the new page again after selecting an option on the new page. In other words, the user needs to browse through the pages at each level to find the option they want to set. If the user is not sure about the specific location of the option, they may need to repeatedly switch between different pages to find the option they want to set, which increases the complexity of user operations. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide an option search method, electronic device, apparatus, and medium to reduce the operational complexity of searching for options when a user accesses the BIOS Setup interface. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present application provides an option search method, the method comprising:

[0007] Load the search page;

[0008] Obtaining the search field entered in the search page;

[0009] Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface;

[0010] Acquire and store target option information of the target option;

[0011] Loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option;

[0012] If the target jump component is selected, a target page where the target jump component is located is created and loaded according to the target option information associated with the target jump component.

[0013] In one embodiment of the present application, when the search page is loaded after receiving a search page display instruction, loading the search page includes:

[0014] Deleting historical option information, wherein the historical option information is: option information stored during the previous option search;

[0015] Parsing a page configuration file for defining the search page, and obtaining search page information of the search page;

[0016] Based on the search page information, a search page is loaded.

[0017] In one embodiment of the present application, when a search page is loaded after returning from a history jump page, the history jump page is: the page to which the jump component in the search page is jumped after the previous option search;

[0018] The loading of the search page includes:

[0019] A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

[0020] In one embodiment of the present application, the method further includes:

[0021] If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

[0022] In one embodiment of the present application, the target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset, and the target Form is used to define the target page where the target table item is located.

[0023] In one embodiment of the present application, if the target jump component is selected, creating and loading the target page where the target jump component is located according to the target option information associated with the target jump component includes:

[0024] If the target jump component is selected, the resources occupied by the search page are released;

[0025] Create a target page where the target jump component is located according to the target option information associated with the target jump component;

[0026] Create and load a blank screen object;

[0027] Deleting the search page;

[0028] Loading the target page;

[0029] Delete the blank screen object.

[0030] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0031] processor;

[0032] transceiver;

[0033] A machine-readable storage medium storing machine-executable instructions capable of being executed by the processor, the machine-executable instructions causing the processor to perform the following steps:

[0034] Load the search page;

[0035] Obtaining the search field entered in the search page;

[0036] Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface;

[0037] Acquire and store target option information of the target option;

[0038] Loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option;

[0039] If the target jump component is selected, a target page where the target jump component is located is created and loaded according to the target option information associated with the target jump component.

[0040] In one embodiment of the present application, when the search page is loaded after receiving a search page display instruction, loading the search page specifically includes:

[0041] Deleting historical option information, wherein the historical option information is: option information stored during the previous option search;

[0042] Parsing a page configuration file for defining the search page, and obtaining search page information of the search page;

[0043] Based on the search page information, a search page is loaded.

[0044] In one embodiment of the present application, when a search page is loaded after returning from a history jump page, the history jump page is: the page to which the jump component in the search page is jumped after the previous option search;

[0045] The loading of the search page specifically includes:

[0046] A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

[0047] In one embodiment of the present application, the machine executable instructions further cause the processor to perform the following steps:

[0048] If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

[0049] In one embodiment of the present application, the target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset, and the target Form is used to define the target page where the target table item is located.

[0050] In one embodiment of the present application, if the target jump component is selected, creating and loading the target page where the target jump component is located according to the target option information associated with the target jump component specifically includes:

[0051] If the target jump component is selected, the resources occupied by the search page are released;

[0052] Create a target page where the target jump component is located according to the target option information associated with the target jump component;

[0053] Create and load a blank screen object;

[0054] Deleting the search page;

[0055] Loading the target page;

[0056] Delete the blank screen object.

[0057] In a third aspect, an embodiment of the present application provides an option search device, the device comprising:

[0058] Search page creation module, used to load the search page;

[0059] A field acquisition module, used to acquire the search field entered in the search page;

[0060] An option matching module is used to obtain a target option that matches the search field and corresponding target option information from the options configured in the basic input and output system setting BIOS Setup interface;

[0061] An information acquisition module, configured to acquire and store target option information of the target option;

[0062] A component loading module, configured to load a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option;

[0063] The target page creation module is used to create and load the target page where the target jump component is located according to the target option information associated with the target jump component if the target jump component is selected.

[0064] In one embodiment of the present application, when the search page is loaded after receiving a search page display instruction, the search page creation module is specifically configured to:

[0065] Deleting historical option information, wherein the historical option information is: option information stored during the previous option search;

[0066] Parsing a page configuration file for defining the search page, and obtaining search page information of the search page;

[0067] Based on the search page information, a search page is loaded.

[0068] In one embodiment of the present application, when a search page is loaded after returning from a history jump page, the history jump page is: the page to which the jump component in the search page is jumped after the previous option search;

[0069] The search page creation module is specifically used to:

[0070] A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

[0071] In one embodiment of the present application, the device further comprises:

[0072] The information display module is used to display information indicating that the target option does not exist in the search page if the target option is not searched.

[0073] In one embodiment of the present application, the target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset, and the target Form is used to define the target page where the target table item is located.

[0074] In one embodiment of the present application, the target page creation module is specifically configured to:

[0075] If the target jump component is selected, the resources occupied by the search page are released;

[0076] Create a target page where the target jump component is located according to the target option information associated with the target jump component;

[0077] Create and load a blank screen object;

[0078] Deleting the search page;

[0079] Loading the target page;

[0080] Delete the blank screen object.

[0081] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the method steps described in the first aspect is implemented.

[0082] In a fifth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above.

[0083] Beneficial effects of the embodiments of the present application:

[0084] The option search method provided in the embodiment of the present application provides a search page, through which a search field can be obtained, and then the target option and target option information that match the search field can be searched in the BIOS Setup interface, and the target of the associated target jump component is loaded in the search page. When the target jump component is selected, it is possible to jump directly to the target page where the target option is located. In other words, the search page in the present application can be used to search for options and load the target jump component corresponding to the searched target option. Through the target jump component, it is possible to quickly jump to the target page where the target option is located in the BIOS Setup interface. There is no need to repeatedly switch between pages at different levels, thereby reducing the operational complexity of the user in the process of searching for options when accessing the BIOS Setup interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0086] Figure 1 A schematic diagram of components in a BIOS Setup interface provided in an embodiment of the present application;

[0087] Figure 2 This is a schematic diagram of the hierarchical relationship of a vrf file in this application;

[0088] Figure 3 A flowchart of the first option search method provided in an embodiment of the present application;

[0089] Figure 4 A schematic diagram of a hierarchical relationship of search pages provided in an embodiment of the present application;

[0090] Figure 5 A flowchart of the second option search method provided in an embodiment of the present application;

[0091] Figure 6 A flowchart of the third option search method provided in an embodiment of the present application;

[0092] Figure 7 A flowchart of the fourth option search method provided in an embodiment of the present application;

[0093] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0094] Figure 9A schematic diagram of the structure of an option search device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0096] Since there is a problem in the related art that users need to switch multiple times between multi-level pages when setting options, which leads to high complexity of user operations, in order to solve the above problem, an embodiment of the present application provides an option search method, electronic device, device and medium.

[0097] In order to describe the technical background of the embodiments of the present application, the BIOS Setup interface is first described.

[0098] See also Figure 1 , is a schematic diagram of components in a BIOS Setup interface provided in an embodiment of the present application.

[0099] As can be seen from the figure, the definition of the BIOS Setup interface can include fonts, images, tables, and strings. The table includes questions, verification expressions, and storage.

[0100] Pages in the BIOS Setup interface can be defined using vfr files. The vfr files in the HII provide form definitions. Each vrf file defines at least one formset, each consisting of one or more forms. Each formset is uniquely identified by a GUID (Globally Unique Identifier), and each form is uniquely identified by a formID. Each form defines a page in the BIOS Setup interface, and the components on the page are defined in the from file.

[0101] See also Figure 2 , which is a schematic diagram of the hierarchical relationship of a vrf file in this application.

[0102] The form set in the figure contains a form, which defines a subtitle component (subtitle), an information component (text), a checkbox component (checkbox), a selection component (one of), a jump component (goto), and other components.

[0103] See also Figure 3, which is a flow chart of the first option search method provided in an embodiment of the present application, including the following steps S301-S305.

[0104] S301: Loading the search page.

[0105] The type of the search page is defined as TYPE_SEARCH_PAGE (search page type). The information of the search page is defined in a vrf file, which can be called searchpage.vrf (search page).

[0106] The vrf file defines a formset, which contains a form that defines the search page and contains components within the search page, including subtitle, string, labelbegin, and labelend.

[0107] See also Figure 4 , is a schematic diagram of the hierarchical relationship of search pages provided in an embodiment of the present application.

[0108] The figure contains a form set, which contains a form. The form defines two subtitle components, a string component, a start tag component, and an end tag component.

[0109] The first subtitle component is the name of the search page, such as "Option Search Page." The second subtitle component represents the search results, such as "No options found" or "N options found," where n is the number of options found. The subtitle components are displayed using the lv_label control of the LVGL (Light and Versatile Graphics Library).

[0110] The string component is used to input the search field. The string component is displayed using the lv_textarea control of LVGL.

[0111] The Start and End Tags are invisible and will not be displayed on the search page. The Start Tag is where the Target Jump component for the first target option will be located after the target option is found. The End Tag is where the Target Jump component for the last target option that can be found on the search page will be located after the target option is found. The area between the Start and End Tags is used to display the Target Jump component.

[0112] The target jump component is the goto component, which is displayed using the lv_btn control of LVGL.

[0113] In one embodiment of the present application, page switching uses a hidden switching method, that is, all pages in the BIOS Setup interface are pre-created, and by adding hide and show flags to the pages, one page is controlled to be displayed and the other pages are hidden, thereby achieving page switching. In this case, the search page in this embodiment is pre-created, and when a search page display instruction is received, the other pages are hidden and the search page is displayed, thereby achieving loading of the search page.

[0114] In another embodiment of the present application, the page switching adopts a deletion switching method, that is, when a new page is displayed, the originally displayed page is deleted. In this case, in this embodiment, the search page is loaded when the search page display instruction is received.

[0115] In another embodiment of the present application, the search page display instruction may be input by the user clicking a search component on a page. To facilitate searching, all pages in the BIOS Setup interface, except the search page, may include a search component. Alternatively, the user may input the search page display instruction using a shortcut key.

[0116] S302: Acquire the search field entered in the search page.

[0117] The search field can be input by the user or extracted from a preset file.

[0118] The user can enter the string component in the search page mentioned above.

[0119] S303: Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface.

[0120] In one embodiment of the present application, all formsets can be traversed from the HII database, all forms in the formset can be traversed, and all configurable components in the form can be traversed, including numeric components, checkbox components, string components, selection components, etc. If the name of the component (i.e., the prompt string) contains the search field, the component is determined to be the target option.

[0121] When the search instruction is received, step S303 is executed. The search instruction can be input by the user by clicking the search button in the search page, or by using a shortcut key (such as the Enter key).

[0122] The above-mentioned target option information includes at least one of the following information: a description string (prompt) of the target option, an identifier of the target option in the target Form (questionID), an identifier of the target Form in the target Formset (formID), and an identifier of the target Formset (GUID). The above-mentioned target Form is used to define the target page where the above-mentioned target table item is located.

[0123] For each target option, the target option information of the target option can be encapsulated into a data structure of a preset type. The data structure can be called tagSETUP_SEARCH_RESULT, and the target option information encapsulated in the data structure can be called SETUP_SEARCH_RESULT_S (setup search result).

[0124] The data structure is defined as follows:

[0125]

[0126] If there are multiple target options, the target option information of each target option can be stored in the array as different elements of the array.

[0127] S304: Loading a target jump component corresponding to the target option in the search page.

[0128] Among them, the target jump component is associated with the target option information of the corresponding target option.

[0129] The target jump component is a goto-type component. It associates the GUID and FormID corresponding to the target option. This allows the component to jump to the target page corresponding to the form with the FormID in the formset corresponding to the GUID when selected. The target jump component's description string is the same as the description string of the corresponding target option. That is, the name of the target jump component is the name of the target option. When the target jump component is displayed on the search page, users can determine its corresponding target option by viewing its name.

[0130] In one embodiment of the present application, the form corresponding to the search page is updated by calling the library function HiiUpdateForm in the HII database. Information describing the target jump component is added to the form, thereby updating the target jump component on the search page. A button (such as the lv_btn button) is created for each target jump component. The button's description string is the description string of the target option. When the user clicks the button, the page jumps to the corresponding target page.

[0131] In another embodiment of the present application, a preset maximum number (such as 10, 15, 20, etc.) is set, which indicates the maximum number of target jump components that can be displayed in the search page. If the number of target options searched is greater than or equal to the preset maximum number, only the target jump components corresponding to the preset maximum number of target options are displayed in the search page. In this case, the last target jump component displayed is located at the position where the end tag component is located. The target option corresponding to the displayed target jump component can be any target option searched, or it can be the preset maximum number of target options with the highest matching degree with the search field.

[0132] If the number of searched target options is less than the preset maximum number, the target jump components corresponding to all searched target options are displayed on the search page.

[0133] Furthermore, for each target redirect component, a callback function is registered to respond to the LV_EVENT_CLICKED event when the target redirect component is selected. This callback function retrieves the formset from the HII database based on the GUID in the target option information corresponding to the target redirect component. It then finds the corresponding form in the formset based on the formID in the target option information. The target page defined by the found form is then created and loaded. The specific creation method can be found in related technologies and will not be detailed here.

[0134] In another embodiment of the present application, when at least one target option is found, information indicating the number of target options found can be displayed on the search page, such as "n options found." Specifically, the content displayed in the subtitle component of the search page can be modified to indicate the number of target options found.

[0135] In another embodiment of the present application, the following steps A are further performed:

[0136] Step A: If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

[0137] Specifically, the content displayed in the subtitle component of the search page can be modified to indicate that the target option does not exist, such as "No option found".

[0138] You can call the library function HiiSetString in the HII database to modify the content displayed in the subtitle component.

[0139] S305: If the target jump component is selected, create and load the target page where the target jump component is located according to the target option information associated with the target jump component.

[0140] When creating the target page, you call the page creation function (lv_obj_create) to create components for the target page based on the target page's formset and form data. The formset and form data are retrieved from the HII database using the GUID and formID. If the target page has a goto option, create a button for the jump component within the screen object and register an event callback function for each jump component. This function responds to the LV_EVENT_CLICKED event, meaning that the page jumps when the jump component button is clicked.

[0141] As can be seen from the above, in the embodiment of the present application, the search field can be obtained through the search page, and then the target option and target option information that match the search field can be searched in the BIOS Setup interface, and the target of the associated target jump component can be loaded in the search page. When the target jump component is selected, it is possible to jump directly to the target page where the target option is located. In other words, the search page in the present application can be used to search for options and load the target jump component corresponding to the searched target option. Through the target jump component, it is possible to quickly jump to the target page where the target option is located in the BIOS Setup interface. There is no need to repeatedly switch between pages at different levels, thereby reducing the operational complexity of the user in the process of searching for options when accessing the BIOS Setup interface.

[0142] See also Figure 5 , is a flow chart of the second option search method provided in the embodiment of the present application, in which the search page is loaded after receiving the search page display instruction, and Figure 3 Compared with the embodiment shown, the above step S301 can be implemented by the following steps S301A to S301C.

[0143] S301A: Delete historical option information.

[0144] The above-mentioned historical option information is: the option information stored during the previous option search.

[0145] As can be seen from the preceding, each option search may result in the search result being found, and the option information for the found option will be stored. Furthermore, in order to display the corresponding redirect component for the searched option, the search page form needs to be updated. In this case, if a search page is constructed directly based on the updated search page form, the newly constructed search page will also contain the redirect component from the previous option search. To prevent this from happening, it is necessary to delete the historical option information.

[0146] In one embodiment of the present application, the library function HiiUpdateForm in the HII database may be called to clear the dynamic portion of the search page, ie, the historical option information.

[0147] S301B: Parse the page configuration file used to define the search page, and obtain search page information of the search page.

[0148] The page configuration file may be the searchpage.vrf described above. The page configuration file is parsed to extract the formset and the form corresponding to the search page as the search page information, thereby obtaining binary search page information.

[0149] It should be noted that even if an option was found during the previous option search, only the search page information parsed from the page configuration file will be updated, and the page configuration file itself will not be updated. Therefore, in this embodiment, the search page information obtained from the page configuration file does not contain any information related to the jump component corresponding to the option.

[0150] In one embodiment of the present application, the library function ParseOpCodes in the HII database may be called to reparse the page configuration file to generate formset data and form data of the search page as the search page information.

[0151] S301C: Based on the above search page information, load the search page.

[0152] As shown above, there will be no jump component corresponding to the option in the search page loaded based on the search page information.

[0153] As can be seen above, when the search page is loaded after receiving the search page display instruction, the historical option information stored during the previous option search will be deleted, the page configuration file will be re-parsed, the search page information will be re-acquired, and the search page will be loaded based on the re-acquired search page information. This will prevent the results of the previous search option from affecting the display of the current search page.

[0154] See also Figure 6 , is a flow chart of the third option search method provided in the embodiment of the present application. In the case of loading the search page after returning from the history jump page, the above-mentioned history jump page is: the page to which the jump component in the search page jumps after the previous option search is performed, and the above-mentioned Figure 3 Compared with the embodiment shown, the above step S301 can be implemented by the following step S301D.

[0155] S301D: Load the search page containing the first jump component.

[0156] The first jump component is associated with historical option information, and the historical option information is: option information stored during the previous option search.

[0157] Specifically, the search page may be loaded based on the search page information of the search page after the form is updated as mentioned above, and the search page may include the first jump component.

[0158] As can be seen from the above, the first jump component is displayed in the search page after the last search option, and the history jump page is the page that jumps to after the last search option. Therefore, before jumping to the history jump page, the first jump component should exist in the search page. In this embodiment, after returning from the history jump page, the search page still contains the first jump component, so that the search page displayed after returning from the history jump page is the same as the search page before jumping to the history jump page, which improves the consistency of the page display and makes it easier for users to select the first jump component from the search page to jump to the page without having to search again.

[0159] See also Figure 7 , is a flow chart of the fourth option search method provided in the embodiment of the present application, which is similar to the aforementioned Figure 3 Compared with the embodiment shown, the above step S305 can be implemented by the following steps S305A-S305F.

[0160] S305A: If the target jump component is selected, the resources occupied by the search page are released.

[0161] The above resources may be memory resources applied by the search page for the target jump component corresponding to the searched target option, as well as memory resources occupied by the search page itself.

[0162] Specifically, the page destruction function may be called to release the above resources. In addition to releasing the above resources, the callback functions configured for each button in the search page may also be deleted.

[0163] In addition to calling the page destruction function to release resources when jumping from the search page to the target page, the page destruction function can also be called to release resources when exiting the search page. The exit can be triggered by the user clicking the exit button on the search page or by entering a shortcut key (such as the Esc key).

[0164] S305B: Create a target page where the target jump component is located according to the target option information associated with the target jump component.

[0165] Specifically, the aforementioned page creation function may be called to create a target page.

[0166] S305C: Create and load a blank screen object.

[0167] Specifically, the blank screen object does not include any components and only serves as a transition during the time interval between the subsequent deletion of the search page and the creation of a new target page.

[0168] S305D: Delete the above search page.

[0169] Specifically, delete the search page screen object and all components contained therein.

[0170] S305E: Load the above target page.

[0171] S305F: Delete the blank screen object.

[0172] The above steps S305A to S305F can be implemented by calling a page reloading function.

[0173] An example of a program that reloads a page is:

[0174]

[0175] Among them, create_screen_cb is the page creation function, destroy_screen_cb is the page destruction function, user_data is the target option information, Guid and FormID are the GUID and formID corresponding to the search page.

[0176] As can be seen above, between the time the search page is deleted and the target page is created, at least a blank screen object exists in the BIOS Setup interface, preventing display lag issues caused by the deletion of all screen objects in the BIOS Setup interface. Furthermore, because the creation and deletion of screen objects takes only a few milliseconds, the blank screen object is effectively invisible to the user and does not adversely affect the BIOS Setup interface's display quality.

[0177] Corresponding to the aforementioned option search method, an embodiment of the present application also provides an electronic device.

[0178] See also Figure 8 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device comprising:

[0179] Processor 801;

[0180] transceiver 804;

[0181] A machine-readable storage medium 802 stores machine-executable instructions that can be executed by the processor 801, and the machine-executable instructions prompt the processor 801 to perform the following steps:

[0182] Load the search page;

[0183] Obtaining the search field entered in the search page;

[0184] Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface;

[0185] Loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option;

[0186] If the target jump component is selected, a target page where the target jump component is located is created and loaded according to the target option information associated with the target jump component.

[0187] like Figure 8 As shown, the network device may further include a communication bus 803. The processor 801, the machine-readable storage medium 802, and the transceiver 804 communicate with each other via the communication bus 803. The communication bus 803 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 803 may be divided into an address bus, a data bus, a control bus, and the like.

[0188] The transceiver 804 may be a wireless communication module. Under the control of the processor 801 , the transceiver 804 exchanges data with other devices.

[0189] The machine-readable storage medium 802 may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Alternatively, the machine-readable storage medium 802 may be at least one storage device located remote from the processor.

[0190] The processor 801 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0191] As can be seen from the above, in the embodiment of the present application, the search field can be obtained through the search page, and then the target option and target option information that match the search field can be searched in the BIOS Setup interface, and the target of the associated target jump component can be loaded in the search page. When the target jump component is selected, it is possible to jump directly to the target page where the target option is located. In other words, the search page in the present application can be used to search for options and load the target jump component corresponding to the searched target option. Through the target jump component, it is possible to quickly jump to the target page where the target option is located in the BIOS Setup interface. There is no need to repeatedly switch between pages at different levels, thereby reducing the operational complexity of the user in the process of searching for options when accessing the BIOS Setup interface.

[0192] In one embodiment of the present application, when the search page is loaded after receiving a search page display instruction, loading the search page specifically includes:

[0193] Deleting historical option information, wherein the historical option information is: option information stored during the previous option search;

[0194] Parsing a page configuration file for defining the search page, and obtaining search page information of the search page;

[0195] Based on the search page information, a search page is loaded.

[0196] As can be seen above, when the search page is loaded after receiving the search page display instruction, the historical option information stored during the previous option search will be deleted, the page configuration file will be re-parsed, the search page information will be re-acquired, and the search page will be loaded based on the re-acquired search page information. This will prevent the results of the previous search option from affecting the display of the current search page.

[0197] In one embodiment of the present application, when a search page is loaded after returning from a history jump page, the history jump page is: the page to which the jump component in the search page is jumped after the previous option search;

[0198] The loading of the search page specifically includes:

[0199] A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

[0200] As can be seen from the above, the first jump component is displayed in the search page after the last search option, and the history jump page is the page that jumps to after the last search option. Therefore, before jumping to the history jump page, the first jump component should exist in the search page. In this embodiment, after returning from the history jump page, the search page still contains the first jump component, so that the search page displayed after returning from the history jump page is the same as the search page before jumping to the history jump page, which improves the consistency of the page display and makes it easier for users to select the first jump component from the search page to jump to the page without having to search again.

[0201] In one embodiment of the present application, the machine executable instructions further cause the processor to perform the following steps:

[0202] If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

[0203] In one embodiment of the present application, the target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset, and the target Form is used to define the target page where the target table item is located.

[0204] In one embodiment of the present application, if the target jump component is selected, creating and loading the target page where the target jump component is located according to the target option information associated with the target jump component specifically includes:

[0205] If the target jump component is selected, the resources occupied by the search page are released;

[0206] Create a target page where the target jump component is located according to the target option information associated with the target jump component;

[0207] Create and load a blank screen object;

[0208] Deleting the search page;

[0209] Loading the target page;

[0210] Delete the blank screen object.

[0211] As can be seen above, between the time the search page is deleted and the target page is created, at least a blank screen object exists in the BIOS Setup interface, preventing display lag issues caused by the deletion of all screen objects in the BIOS Setup interface. Furthermore, because the creation and deletion of screen objects takes only a few milliseconds, the blank screen object is effectively invisible to the user and does not adversely affect the BIOS Setup interface's display quality.

[0212] Corresponding to the aforementioned option search method, an embodiment of the present application also provides an option search device.

[0213] See also Figure 9 , is a schematic diagram of the structure of an option search device provided in an embodiment of the present application, the device comprising:

[0214] Search page creation module 901, used to load the search page;

[0215] A field acquisition module 902 is used to acquire the search field entered in the search page;

[0216] An option matching module 903 is configured to obtain a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface;

[0217] A component loading module 904 is configured to load a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option;

[0218] The target page creation module 905 is used to create and load the target page where the target jump component is located according to the target option information associated with the target jump component if the target jump component is selected.

[0219] As can be seen from the above, in the embodiment of the present application, the search field can be obtained through the search page, and then the target option and target option information that match the search field can be searched in the BIOS Setup interface, and the target of the associated target jump component can be loaded in the search page. When the target jump component is selected, it is possible to jump directly to the target page where the target option is located. In other words, the search page in the present application can be used to search for options and load the target jump component corresponding to the searched target option. Through the target jump component, it is possible to quickly jump to the target page where the target option is located in the BIOS Setup interface. There is no need to repeatedly switch between pages at different levels, thereby reducing the operational complexity of the user in the process of searching for options when accessing the BIOS Setup interface.

[0220] In one embodiment of the present application, when the search page is loaded after receiving a search page display instruction, the search page creation module 901 is specifically configured to:

[0221] Deleting historical option information, wherein the historical option information is: option information stored during the previous option search;

[0222] Parsing a page configuration file for defining the search page, and obtaining search page information of the search page;

[0223] Based on the search page information, a search page is loaded.

[0224] As can be seen above, when the search page is loaded after receiving the search page display instruction, the historical option information stored during the previous option search will be deleted, the page configuration file will be re-parsed, the search page information will be re-acquired, and the search page will be loaded based on the re-acquired search page information. This will prevent the results of the previous search option from affecting the display of the current search page.

[0225] In one embodiment of the present application, when a search page is loaded after returning from a history jump page, the history jump page is: the page to which the jump component in the search page is jumped after the previous option search;

[0226] The search page creation module 901 is specifically used to:

[0227] A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

[0228] As can be seen from the above, the first jump component is displayed in the search page after the last search option, and the history jump page is the page that jumps to after the last search option. Therefore, before jumping to the history jump page, the first jump component should exist in the search page. In this embodiment, after returning from the history jump page, the search page still contains the first jump component, so that the search page displayed after returning from the history jump page is the same as the search page before jumping to the history jump page, which improves the consistency of the page display and makes it easier for users to select the first jump component from the search page to jump to the page without having to search again.

[0229] In one embodiment of the present application, the device further comprises:

[0230] The information display module is used to display information indicating that the target option does not exist in the search page if the target option is not searched.

[0231] In one embodiment of the present application, the target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset, and the target Form is used to define the target page where the target table item is located.

[0232] In one embodiment of the present application, the target page creation module 905 is specifically configured to:

[0233] If the target jump component is selected, the resources occupied by the search page are released;

[0234] Create a target page where the target jump component is located according to the target option information associated with the target jump component;

[0235] Create and load a blank screen object;

[0236] Deleting the search page;

[0237] Loading the target page;

[0238] Delete the blank screen object.

[0239] As can be seen above, between the time the search page is deleted and the target page is created, at least a blank screen object exists in the BIOS Setup interface, preventing display lag issues caused by the deletion of all screen objects in the BIOS Setup interface. Furthermore, because the creation and deletion of screen objects takes only a few milliseconds, the blank screen object is effectively invisible to the user and does not adversely affect the BIOS Setup interface's display quality.

[0240] In another embodiment provided by the present application, a computer-readable storage medium is further provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any of the above-mentioned option search methods are implemented.

[0241] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any one of the option search methods in the above embodiments.

[0242] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0243] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0244] Each embodiment in this specification is described in a related manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences between the other embodiments. In particular, since the electronic device, device, computer-readable storage medium, and computer program product embodiments are generally similar to the method embodiments, their descriptions are relatively simple. For related portions, reference can be made to the descriptions of the method embodiments.

[0245] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the scope of protection of the present application.

Claims

1. An option search method, characterized in that: The method comprises: Load the search page; Obtaining the search field entered in the search page; Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface; Loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option; If the target jump component is selected, a target page where the target jump component is located is created and loaded according to the target option information associated with the target jump component.

2. The method according to claim 1, characterized in that In the case where the search page is loaded after receiving the search page display instruction, loading the search page includes: Deleting historical option information, wherein the historical option information is: option information stored during the previous option search; Parsing a page configuration file for defining the search page, and obtaining search page information of the search page; Based on the search page information, a search page is loaded.

3. The method according to claim 1, characterized in that In the case of loading a search page after returning from a history jump page, the history jump page is: the page to which the jump component in the search page was jumped after the previous option search; The loading of the search page includes: A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

4. The method according to claim 1, wherein The method further comprises: If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

5. The method according to any one of claims 1 to 4, characterized in that The target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset. The target Form is used to define the target page where the target table item is located.

6. The method according to any one of claims 1 to 4, characterized in that If the target jump component is selected, creating and loading a target page where the target jump component is located according to target option information associated with the target jump component, including: If the target jump component is selected, the resources occupied by the search page are released; Create a target page where the target jump component is located according to the target option information associated with the target jump component; Create and load a blank screen object; Deleting the search page; Loading the target page; Delete the blank screen object.

7. An electronic device, characterized in that: The electronic device comprises: processor; transceiver; A machine-readable storage medium storing machine-executable instructions capable of being executed by the processor, the machine-executable instructions causing the processor to perform the following steps: Load the search page; Obtaining the search field entered in the search page; Acquire a target option that matches the search field and corresponding target option information from the options configured in the BIOS Setup interface; Loading a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option; If the target jump component is selected, a target page where the target jump component is located is created and loaded according to the target option information associated with the target jump component.

8. The electronic device according to claim 7, wherein: In the case where the search page is loaded after receiving the search page display instruction, loading the search page specifically includes: Deleting historical option information, wherein the historical option information is: option information stored during the previous option search; Parsing a page configuration file for defining the search page, and obtaining search page information of the search page; Based on the search page information, a search page is loaded.

9. The electronic device according to claim 7, wherein: In the case of loading a search page after returning from a history jump page, the history jump page is: the page to which the jump component in the search page was jumped after the previous option search; The loading of the search page specifically includes: A search page including a first jump component is loaded, wherein the first jump component is associated with historical option information, and the historical option information is option information stored during a previous option search.

10. The electronic device according to claim 7, wherein: The machine executable instructions further cause the processor to perform the following steps: If the target option is not found, a message indicating that the target option does not exist is displayed on the search page.

11. The electronic device according to any one of claims 7 to 10, characterized in that: The target option information includes at least one of the following information: the name of the target option, the identifier of the target option in the target form Form, the identifier of the target Form in the target form set Formset, and the identifier of the target Formset. The target Form is used to define the target page where the target table item is located.

12. The electronic device according to any one of claims 7 to 10, characterized in that: If the target jump component is selected, creating and loading the target page where the target jump component is located according to the target option information associated with the target jump component, specifically includes: If the target jump component is selected, the resources occupied by the search page are released; Create a target page where the target jump component is located according to the target option information associated with the target jump component; Create and load a blank screen object; Deleting the search page; Loading the target page; Delete the blank screen object.

13. An option search device, characterized in that: The device comprises: Search page creation module, used to load the search page; A field acquisition module, used to acquire the search field entered in the search page; An option matching module is used to obtain a target option that matches the search field and corresponding target option information from the options configured in the basic input and output system setting BIOS Setup interface; A component loading module, configured to load a target jump component corresponding to the target option in the search page, wherein the target jump component is associated with target option information of the corresponding target option; The target page creation module is used to create and load the target page where the target jump component is located according to the target option information associated with the target jump component if the target jump component is selected.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Management software use method for android mobile phone

    CN108874263A

  • Method and device for automatically testing BIOS (Basic Input / Output System)

    CN115687142A

  • BIOS Setup search function test method and device, electronic equipment and storage medium

    CN115905016A

  • Intelligent search method of basic input output system and electronic device using the same

    TW202343233A

  • Secure biometric authentication system and method of implementation thereof

    US20060123240A1

Cited By

  • Interface element positioning method, electronic equipment, storage medium and program product

    CN121029051A

  • Interface element positioning method, electronic device, storage medium and program product

    CN121029051B