CN113010151B - Method, system, equipment and medium for traversing dynamic options in HII database - Google Patents

Method, system, equipment and medium for traversing dynamic options in HII database Download PDF

Info

Publication number
CN113010151B
CN113010151B CN202110271423.7A CN202110271423A CN113010151B CN 113010151 B CN113010151 B CN 113010151B CN 202110271423 A CN202110271423 A CN 202110271423A CN 113010151 B CN113010151 B CN 113010151B
Authority
CN
China
Prior art keywords
dynamic
offset
option
options
static table
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
Application number
CN202110271423.7A
Other languages
Chinese (zh)
Other versions
CN113010151A (en
Inventor
翟占平
王晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110271423.7A priority Critical patent/CN113010151B/en
Publication of CN113010151A publication Critical patent/CN113010151A/en
Application granted granted Critical
Publication of CN113010151B publication Critical patent/CN113010151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a system, equipment and a storage medium for traversing dynamic options in an HII database, wherein the method comprises the following steps: establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member; judging whether dynamic option topology parameters exist or not, and determining a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters; determining a target HII page through the global unique identifier, acquiring an original offset of a member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset; and matching the new offset with the basic offset, and setting a corresponding interface for the member to complete the customized content in response to successful matching of the new offset with the basic offset. The application can effectively improve the traversing speed and reduce the starting time by introducing the topology parameters established during the generation of the dynamic options.

Description

Method, system, equipment and medium for traversing dynamic options in HII database
Technical Field
The present application relates to the field of servers, and more particularly, to a method, system, computer device, and readable medium for traversing dynamic options in an HII database.
Background
For the customization requirement of the control interface of the BIOS (Basic Input Output System ), original equipment manufacturers need to develop a set of modularized platform scheme, and the scheme needs to be decoupled with hardware microcode provided by equipment providers such as Intel, AMD and the like, and also needs to be decoupled with firmware source codes provided by underlying firmware developers such as AMI, inryde and the like, so that portability of the developed BIOS control interface module is ensured. The previous modification on the basis of the source code is thus converted into a separate module that does not modify the source code. The code for controlling the BIOS setting interface is developed as an independent module, the dependence on source codes is reduced, the styles and the contents of the BIOS setting interfaces of different platforms and different products are basically the same, and the module is as simple as possible, easy to modify and maintain.
The existing scheme is that before a server is started and enters a BIOS control interface, a module traversing an HII (Human Interface Infrastructure, man-machine interface infrastructure) database is called, and a customized function is realized by traversing the generated HII database, searching options stated in a static table in the module and executing corresponding HII member attribute settings. In the existing module for traversing the HII, by establishing an option static table, the static table is compared with members in the HII in the starting process, and if the static table is consistent with the members in the HII, corresponding attribute setting is executed. For dynamically generated options, all possible dynamic options need to be listed in the static table. The static table is complex to build and maintain, and all HII members are compared one by one in the process of starting up traversal, and the traversal process comprises more repeated actions, so that the starting up time is increased.
Disclosure of Invention
Therefore, an object of the embodiments of the present application is to provide a method, a system, a computer device, and a computer readable storage medium for traversing dynamic options in an HII database, which introduces a traversing process for identifying dynamically generated options based on an existing traversing search framework, reserves an interface for identifying dynamic options, and can effectively reduce the workload of newly increasing control options, from the previous thousands of static table members covering all dynamic options to tens of static table members, thereby reducing the time for traversing dynamic options and improving the starting speed of a server.
Based on the above objects, an aspect of the embodiments of the present application provides a method for traversing dynamic options in an HII database, including the following steps: establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member; judging whether dynamic option topology parameters exist or not, responding to the existence of the dynamic option topology parameters, and determining a corresponding static table according to the dynamic option topology parameters; determining a target HII page through a global unique identifier, acquiring an original offset of a member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset; and matching the new offset with the basic offset, and setting a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
In some embodiments, the creating the static table of dynamic options includes: and taking the initial global variable of each type of dynamic options as a mark, and establishing the connection between the mark and each dynamic option in the belonging type.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: determining a sign according to the dynamic option topology parameters, and finding each dynamic option in the category according to the sign.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: and setting a Boolean type dynamic option mark according to the static table.
In some embodiments, said determining a new offset from said dynamic options topology parameter and said original offset comprises: subtracting the product of the dynamic option topology parameter and the dynamic option mark from the original offset to obtain a new offset.
In some embodiments, said matching said new offset to said base offset comprises: and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
In some embodiments, the method further comprises: judging whether each member in the static table completes the matching of the offset, and setting a completion identification for the static table in response to each member in the static table completing the matching of the offset.
In another aspect of an embodiment of the present application, a system for traversing dynamic options in an HII database is provided, including: the establishing module is configured to establish a static table of dynamic options, take one dynamic option in each type of dynamic options as a reference member, and determine the basic offset of the reference member; the judging module is configured to judge whether dynamic option topology parameters exist or not, and determine a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters; the computing module is configured to determine a target HII page through a global unique identifier, acquire an original offset of a member of the target HII page, and determine a new offset according to the dynamic option topology parameter and the original offset; and the execution module is configured to match the new offset with the basic offset, and set a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
In yet another aspect of the embodiment of the present application, there is also provided a computer apparatus, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The application has the following beneficial technical effects: by introducing the topology parameters established during the generation of the dynamic options, the corresponding options are quickly searched through the parameters in the traversal process, so that the traversal speed can be effectively improved, and the startup time is reduced; the patent also provides a configuration method of the static table of the optimized dynamic options, and all the dynamic options can be found only by setting the initial options in one type of dynamic options as references, so that the workload of module development and maintenance is reduced, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of a method for traversing dynamic options in a HII database provided by the present application;
FIG. 2 is a schematic diagram of a hardware architecture of an embodiment of a computer device for traversing dynamic options in an HII database according to the present application;
FIG. 3 is a schematic diagram of an embodiment of a computer storage medium traversing dynamic options in a HII database provided by the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following embodiments of the present application will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present application, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present application, and the following embodiments are not described one by one.
Based on the above objects, a first aspect of the embodiments of the present application proposes an embodiment of a method for traversing dynamic options in an HII database. FIG. 1 is a schematic diagram illustrating an embodiment of a method for traversing dynamic options in a HII database according to the present application. As shown in fig. 1, the embodiment of the present application includes the following steps:
s1, establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member;
s2, judging whether dynamic option topology parameters exist, and determining a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters;
s3, determining a target HII page through the global unique identifier, acquiring an original offset of a member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset; and
and S4, matching the new offset with the basic offset, and setting a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
Briefly, the HII database is made up of a number of HII pages, each of which contains a number of members, each member having a corresponding attribute. These attributes determine whether this member is visible in the BIOS control interface, optional, and what is displayed, etc. The hierarchical relationship between the HII page and the member is basically the same as the hierarchical relationship displayed by the BIOS control interface, so that the traversing time can be reduced by searching the HII page and then searching the HII member.
In this patent, the HII pages are searched mainly by the global unique identifier, and the HII members corresponding to each HII page are searched mainly by the variable ID (identification), offset address and TOKEN (a hexadecimal number stated in the HII specification and used for identifying the HII members). And providing corresponding operation interfaces after searching the corresponding members, and realizing the customization requirement of options.
And establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member. The static table accurately describes the attributes of each option, including variable ID, offset address, and TOKEN. For dynamically generated options, all possible generated dynamic options need to be listed in the static table and their attributes described as much as possible. The static table in the embodiment of the application also needs to state one of each type of dynamic options as a reference member, the variable names of the dynamic options use an array form, the array length is the length of the topology parameters of the dynamic options, the default is the maximum value supported by the hardware theory, and after the power-on, the variable names are updated to the supported number of the actual hardware. The topology parameters are derived from a set of variables dynamically updated by the source code for hardware identification and linking during power-on, including memory topology, hard disk topology, PCIe (Peripheral component interconnect express, high-speed serial computer expansion bus standard) topology, VMD (Volume Management Device ) topology, etc.
In some embodiments, the creating the static table of dynamic options includes: and taking the initial global variable of each type of dynamic options as a mark, and establishing the connection between the mark and each dynamic option in the belonging type. Specifically, the static table of the dynamic options is built by taking the initial global variable of each type of dynamic options, namely the first processor, the first memory and the first PCIe interface which meet the starting condition of the host, namely the corresponding first dynamic option. When the traversal function is transferred, topology parameters are transferred in when dynamic options are built, and then the traversal function searches all dynamic options related to the topology parameters. Thus, different configuration conditions of the host can be ignored, and all dynamic options can be found as long as one dynamic option can be found.
Judging whether dynamic option topology parameters exist, and determining a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: determining a sign according to the dynamic option topology parameters, and finding each dynamic option in the category according to the sign. The embodiment of the application adds input parameters, namely dynamic option topology parameters, to the traversal function. After the parameter is introduced, the original circulation structure of traversing HII members is adjusted, when each member in the HII page is traversed now, instead of searching for a member, marking a member, executing a policy of a member, changing to searching for all dynamic options related to the mark through the mark of the dynamic option, and performing jump searching according to the topology parameter after all dynamic options related to the dynamic option mark are searched, marking the dynamic option mark as complete.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: and setting a Boolean type dynamic option mark according to the static table. If the traversal function receives the topology parameter of the dynamic option, the static table corresponding to the topology parameter is marked, and a boolean dynamic option flag is set.
And determining a target HII page through the global unique identifier, acquiring the original offset of the member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset. The target HII page is looked up by the globally unique identifier, which belongs to the prior art and will not be described in detail here. After traversing to a target HII page, searching for a member in the current HII page, acquiring the external attribute of the HII member, and then acquiring the attribute of the member declared in the static table.
In some embodiments, said determining a new offset from said dynamic options topology parameter and said original offset comprises: subtracting the product of the dynamic option topology parameter and the dynamic option mark from the original offset to obtain a new offset. New offset = original offset-dynamic options topology parameter dynamic options flag.
And matching the new offset with the basic offset, and setting a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
In some embodiments, said matching said new offset to said base offset comprises: and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
In some embodiments, the method further comprises: judging whether each member in the static table completes the matching of the offset, and setting a completion identification for the static table in response to each member in the static table completing the matching of the offset. The static table corresponding to the target HII page is searched, and the static table with the completion identification is firstly excluded.
And after successful matching, providing an HII member setting interface to complete customized content. After the HII member is set, judging whether the topology parameter of the dynamic option is used completely, if so, marking the dynamic option in the static table as completed, and omitting the member in the subsequent traversal; if not, then point to the next member in the dynamic options topology parameters and then continue traversing the remaining HII members. The above dynamic options searching process may be performed synchronously, if there are multiple dynamic options defined in multiple corresponding static tables in one HII page, these dynamic options will be found.
The embodiment of the application introduces the traversal process for identifying the dynamic generation options on the basis of the existing traversal search framework, reserves the interface for identifying the dynamic options, can effectively reduce the workload of newly added control options, and reduces the workload from nearly thousands of previous static table members covering all the dynamic options to tens of static table members. The time for traversing the dynamic options is reduced, and the starting speed of the server is improved.
It should be noted that, the steps in the embodiments of the method for traversing the dynamic options in the HII database may be intersected, replaced, added and subtracted, so that the method for traversing the dynamic options in the HII database by using these reasonable permutation and combination transformations shall also belong to the protection scope of the present application, and shall not limit the protection scope of the present application to the embodiments.
Based on the above object, a second aspect of the embodiment of the present application proposes a system for traversing dynamic options in an HII database, including: the establishing module is configured to establish a static table of dynamic options, take one dynamic option in each type of dynamic options as a reference member, and determine the basic offset of the reference member; the judging module is configured to judge whether dynamic option topology parameters exist or not, and determine a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters; the computing module is configured to determine a target HII page through a global unique identifier, acquire an original offset of a member of the target HII page, and determine a new offset according to the dynamic option topology parameter and the original offset; and the execution module is configured to match the new offset with the basic offset, and set a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
In some embodiments, the setup module is configured to: and taking the initial global variable of each type of dynamic options as a mark, and establishing the connection between the mark and each dynamic option in the belonging type.
In some embodiments, the determination module is configured to: determining a sign according to the dynamic option topology parameters, and finding each dynamic option in the category according to the sign.
In some embodiments, the determination module is configured to: and setting a Boolean type dynamic option mark according to the static table.
In some embodiments, the computing module is configured to: subtracting the product of the dynamic option topology parameter and the dynamic option mark from the original offset to obtain a new offset.
In some embodiments, the execution module is configured to: and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
In some embodiments, the system further comprises an identification module configured to: judging whether each member in the static table completes the matching of the offset, and setting a completion identification for the static table in response to each member in the static table completing the matching of the offset.
In view of the above object, a third aspect of the embodiments of the present application provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member; s2, judging whether dynamic option topology parameters exist, and determining a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters; s3, determining a target HII page through the global unique identifier, acquiring an original offset of a member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset; and S4, matching the new offset with the basic offset, and setting a corresponding interface for the member to complete customized content in response to successful matching of the new offset with the basic offset.
In some embodiments, the creating the static table of dynamic options includes: and taking the initial global variable of each type of dynamic options as a mark, and establishing the connection between the mark and each dynamic option in the belonging type.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: determining a sign according to the dynamic option topology parameters, and finding each dynamic option in the category according to the sign.
In some embodiments, the determining the corresponding static table according to the dynamic options topology parameter includes: and setting a Boolean type dynamic option mark according to the static table.
In some embodiments, said determining a new offset from said dynamic options topology parameter and said original offset comprises: subtracting the product of the dynamic option topology parameter and the dynamic option mark from the original offset to obtain a new offset.
In some embodiments, said matching said new offset to said base offset comprises: and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
In some embodiments, the steps further comprise: judging whether each member in the static table completes the matching of the offset, and setting a completion identification for the static table in response to each member in the static table completing the matching of the offset.
As shown in fig. 2, a hardware structure diagram of an embodiment of the above-mentioned computer device for traversing dynamic options in the HII database is provided in the present application.
Taking the example of the apparatus shown in fig. 2, the apparatus includes a processor 201 and a memory 202, and may further include: an input device 203 and an output device 204.
The processor 201, memory 202, input devices 203, and output devices 204 may be connected by a bus or other means, for example in fig. 2.
The memory 202 serves as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the method of traversing dynamic options in the HII database in embodiments of the present application. The processor 201 executes various functional applications of the server and data processing, i.e., a method of traversing dynamic options in the HII database implementing the above-described method embodiments, by running non-volatile software programs, instructions, and modules stored in the memory 202.
Memory 202 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the store data area may store data created from the use of a method of traversing dynamic options in the HII database, etc. In addition, memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 202 may optionally include memory located remotely from processor 201, which may be connected to the local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 203 may receive input information such as a user name and a password. The output device 204 may include a display device such as a display screen.
Program instructions/modules corresponding to one or more methods of traversing dynamic options in an HII database are stored in memory 202 that, when executed by processor 201, perform the methods of traversing dynamic options in an HII database in any of the method embodiments described above.
Any one embodiment of a computer device that performs the above-described method of traversing dynamic options in an HII database may achieve the same or similar effects as any of the previously described method embodiments corresponding thereto.
The application also provides a computer readable storage medium storing a computer program which when executed by a processor performs the method as above.
As shown in fig. 3, a schematic diagram of an embodiment of the above-mentioned computer storage medium traversing dynamic options in the HII database is provided in the present application. Taking a computer storage medium as shown in fig. 3 as an example, the computer readable storage medium 3 stores a computer program 31 that, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, implementing all or part of the above-described methods in the embodiments may be implemented by a computer program for instructing relevant hardware, and the program for traversing the dynamic options in the HII database may be stored in a computer readable storage medium, where the program when executed may include the steps of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present application has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the application, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the application, and many other variations of the different aspects of the embodiments of the application as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present application.

Claims (9)

1. A method of traversing dynamic options in an HII database, comprising the steps of:
establishing a static table of dynamic options, taking one dynamic option in each type of dynamic options as a reference member, and determining the basic offset of the reference member;
judging whether dynamic option topology parameters exist or not, responding to the existence of the dynamic option topology parameters, and determining a corresponding static table according to the dynamic option topology parameters;
determining a target HII page through a global unique identifier, acquiring an original offset of a member of the target HII page, and determining a new offset according to the dynamic option topology parameter and the original offset; and
matching the new offset with the base offset, setting a corresponding interface to the member to complete customized content in response to successful matching of the new offset with the base offset,
said matching said new offset with said base offset comprises:
and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
2. The method of claim 1, wherein creating a static table of dynamic options comprises:
and taking the initial global variable of each type of dynamic options as a mark, and establishing the connection between the mark and each dynamic option in the belonging type.
3. The method of claim 2, wherein said determining a corresponding static table from said dynamic options topology parameters comprises:
and determining a dynamic option mark according to the dynamic option topology parameter, and finding each dynamic option in the category according to the dynamic option mark.
4. The method of claim 1, wherein said determining a corresponding static table from said dynamic options topology parameters comprises:
and setting a Boolean type dynamic option mark according to the static table.
5. The method of claim 4, wherein said determining a new offset from said dynamic options topology parameter and said original offset comprises:
subtracting the product of the dynamic option topology parameter and the dynamic option mark from the original offset to obtain a new offset.
6. The method as recited in claim 1, further comprising:
judging whether each member in the static table completes the matching of the offset, and setting a completion identification for the static table in response to each member in the static table completing the matching of the offset.
7. A system for traversing dynamic options in an HII database, comprising:
the establishing module is configured to establish a static table of dynamic options, take one dynamic option in each type of dynamic options as a reference member, and determine the basic offset of the reference member;
the judging module is configured to judge whether dynamic option topology parameters exist or not, and determine a corresponding static table according to the dynamic option topology parameters in response to the existence of the dynamic option topology parameters;
the computing module is configured to determine a target HII page through a global unique identifier, acquire an original offset of a member of the target HII page, and determine a new offset according to the dynamic option topology parameter and the original offset; and
an execution module configured to match the new offset with the base offset, set a corresponding interface to the member to complete customized content in response to the new offset being successfully matched with the base offset,
the execution module is further configured to:
and judging whether the difference value between the new offset and the basic offset in the static table is smaller than a threshold value, and if the difference value between the new offset and the basic offset in the static table is smaller than the threshold value, successfully matching.
8. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-6.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-6.
CN202110271423.7A 2021-03-12 2021-03-12 Method, system, equipment and medium for traversing dynamic options in HII database Active CN113010151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110271423.7A CN113010151B (en) 2021-03-12 2021-03-12 Method, system, equipment and medium for traversing dynamic options in HII database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110271423.7A CN113010151B (en) 2021-03-12 2021-03-12 Method, system, equipment and medium for traversing dynamic options in HII database

Publications (2)

Publication Number Publication Date
CN113010151A CN113010151A (en) 2021-06-22
CN113010151B true CN113010151B (en) 2023-09-01

Family

ID=76406365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110271423.7A Active CN113010151B (en) 2021-03-12 2021-03-12 Method, system, equipment and medium for traversing dynamic options in HII database

Country Status (1)

Country Link
CN (1) CN113010151B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371819A (en) * 2016-08-19 2017-02-01 联想(北京)有限公司 Parameter acquisition method and apparatus, and electronic device
CN110609715A (en) * 2019-08-13 2019-12-24 平安国际智慧城市科技股份有限公司 Random option page display method and device, computer equipment and storage medium
US10540151B1 (en) * 2017-07-28 2020-01-21 American Medatrends International, LLC Graphical customization of a firmware-provided user interface (UI)
CN112083851A (en) * 2020-08-06 2020-12-15 曙光信息产业(北京)有限公司 Interface positioning method and device for BIOS (basic input output System) configuration options, server and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371819A (en) * 2016-08-19 2017-02-01 联想(北京)有限公司 Parameter acquisition method and apparatus, and electronic device
US10540151B1 (en) * 2017-07-28 2020-01-21 American Medatrends International, LLC Graphical customization of a firmware-provided user interface (UI)
CN110609715A (en) * 2019-08-13 2019-12-24 平安国际智慧城市科技股份有限公司 Random option page display method and device, computer equipment and storage medium
CN112083851A (en) * 2020-08-06 2020-12-15 曙光信息产业(北京)有限公司 Interface positioning method and device for BIOS (basic input output System) configuration options, server and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于UEFI的基础加电BIT软件设计与实现;张拓智等;航空计算技术;第48卷(第05期);全文 *

Also Published As

Publication number Publication date
CN113010151A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN111045655B (en) Page rendering method and device, rendering server and storage medium
CN108197091B (en) Method, system and related equipment for creating data table
WO2016011879A1 (en) Web page display method and apparatus
CN110635944A (en) Cluster network configuration method and device, electronic equipment and storage medium
CN104268229A (en) Resource obtaining method and device based on multi-process browser
WO2023155940A1 (en) Mini program compiling method and apparatus, mini program running method and apparatus, and storage medium
CN110990008B (en) Page updating method and device, storage medium and electronic equipment
CN113064625B (en) Method, device, equipment and medium for upgrading BIOS (basic input output system) out of band
US8615729B2 (en) Extending existing model-to-model transformations
CN111047434B (en) Operation record generation method and device, computer equipment and storage medium
CN113434482A (en) Data migration method and device, computer equipment and storage medium
CN111949262A (en) Front-end project construction method and device, computer equipment and storage medium
CN111309332A (en) File content on-demand loading method and device, electronic equipment and storage medium
CN110717050A (en) Method and device for accessing knowledge map database
CN113535262A (en) Method, device, equipment and storage medium for controlling starting of proxy node
CN113010151B (en) Method, system, equipment and medium for traversing dynamic options in HII database
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN113971191A (en) Data import method and device and computer readable storage medium
CN113495723B (en) Method, device and storage medium for calling functional component
CN114090145B (en) Page jump determining method and device, storage medium and electronic device
CN112231011B (en) Activiti-based flow chart adjustment method and device, electronic equipment and storage medium
CN112464596B (en) Regression testing method, system, equipment and readable storage medium
CN107644103A (en) It is a kind of can tracing information source information storage method and system
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN114546220A (en) Page configuration method and device, storage medium and computer equipment

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