Real-time paraphrasing method and device for BIOS options of server and storage medium

By building a knowledge graph and using Word2Vec model, combining serial listening technology, real-time interpretation of server BIOS options, the problem of untimely update of manuals is solved and server management and maintenance efficiency is improved.

CN120387440AActive Publication Date: 2025-07-29POWERLEADER COMPUTER SYST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510890309.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-07-29
Estimated Expiration
2045-06-30

AI Technical Summary

Technical Problem

The existing BIOS option interpretation methods rely on paper or electronic manuals. The information is not updated in time and it is difficult to reflect changes in hardware and software, making it difficult for users to understand option associations and configuration changes, affecting server management and maintenance efficiency.

Method used

By obtaining the documentation of the server BIOS options, building a knowledge graph, using Word2Vec model and serial monitoring technology, monitoring BIOS option data in real time, and providing detailed explanations with knowledge graph and word vector model.

Benefits of technology

Realize real-time interpretation of server BIOS options, provide the latest configuration suggestions, and improve server management and maintenance efficiency. Users do not need to manually review the manual and can fully understand the relationship and impact of options.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120387440A_ABST
    Figure CN120387440A_ABST
Patent Text Reader

Abstract

The invention provides a real-time paraphrasing method and device for BIOS options of a server and a storage medium. The method comprises the steps that description documents of the BIOS options of the server are obtained and analyzed to obtain related configuration information of each option of the BIOS; creating nodes and relationships to construct a knowledge graph about BIOS options, hardware information and associated information; a corpus of BIOS options is defined, a Word2Vec model is trained through the corpus of the BIOS options, a word vector model special for the BIOS options is obtained, the word vector model special for the BIOS options is called to search for three words most similar to the BIOS options, and a BIOS option query result is printed; bIOS option data are monitored in real time through a serial port and transmitted to the knowledge graph, and an associated information query result corresponding to the BIOS option data is obtained through a query function; determining paraphrases of BIOS options according to the BIOS option query result and the associated information query result corresponding to the BIOS option data; and uploading the paraphrases of the BIOS options to a user display interface. According to the method, the BIOS options of the server can be accurately paraphrased in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a method, device, and storage medium for real-time interpretation of server BIOS options. Background Art

[0002] In the process of managing and maintaining computer servers, the configuration of BIOS options plays a crucial role. There are numerous BIOS options in servers, covering parameters in various aspects from hardware configuration to performance optimization and security settings. Accurately understanding and correctly configuring these BIOS options are crucial for ensuring the stable operation of the server, achieving the best performance, and guaranteeing data security.

[0003] However, the existing methods for interpreting BIOS options have many deficiencies. On the one hand, traditional interpretation of BIOS options mainly relies on referring to paper or electronic user manuals. These manuals usually have complex content and long lengths. When users search for the interpretation of specific BIOS options, they often need to spend a lot of time flipping through the manuals, with low efficiency. Moreover, the information in the manuals is relatively fixed and difficult to update in a timely manner to reflect new hardware features, software compatibility changes, and security threats, etc. As a result, users may obtain outdated or inaccurate configuration suggestions, leading to problems such as difficulty in understanding option associations and inability to track configuration changes in real time. These problems seriously restrict the efficiency and quality of server management and maintenance, and pose many challenges to the stable operation and performance optimization of the server. On the other hand, with the continuous development and update of server hardware technology, new BIOS options are emerging continuously, and their functions and interrelationships are becoming increasingly complex. It is difficult for users to comprehensively understand the associations between each BIOS option and the impact that the configuration of a certain option may have on the entire system based on the simple descriptions in the manuals. In addition, the BIOS settings of the server may change frequently due to various factors such as hardware upgrades, software updates, and security policy adjustments. The existing interpretation methods have untimely information updates and cannot track these changes in real time and provide instant and targeted configuration suggestions for users. Summary of the Invention

[0004] The present invention provides a method, device, and storage medium for real-time interpretation of server BIOS options, aiming to solve at least one of the technical problems existing in the prior art.

[0005] The technical solution of the present invention is a method for real-time interpretation of server BIOS options, which includes: Obtaining the description document of the server BIOS options, and parsing the description document to obtain the relevant configuration information of each option of the BIOS; Use the py2neo library to interact with the Neo4j graph database to create nodes and relationships, and build a knowledge graph about BIOS options, hardware information, and association information; Define a corpus of BIOS options, train a Word2Vec model using the corpus of BIOS options to obtain a dedicated word vector model for BIOS options, search for the three most similar words to the BIOS options by calling the dedicated word vector model for BIOS options, and print the BIOS option query results; Real-time monitor the server BIOS option data through the serial port, and pass the read server BIOS option data as a parameter to the knowledge graph, and the knowledge graph uses a query function to obtain the associated information query results corresponding to the server BIOS option data; Determine the interpretation of the BIOS option according to the BIOS option query result and the associated information query result corresponding to the server BIOS option data. The interpretation of the BIOS option includes the function description of the BIOS option, the list of hardware components affected by the BIOS option, and other similar terms related to the BIOS option; Upload the interpretation of the BIOS option to the user display interface of the host computer.

[0006] According to some embodiments of the present invention, obtaining the instruction document of the server BIOS option and parsing the instruction document to obtain the relevant configuration information of each option of the BIOS includes: Import the requests module for sending HTTP requests, and the HTTP requests include GET requests; Set the path and data transfer format of the Redfish API, and define the get_bios_attributes function for obtaining the configuration information of the BIOS; Send a GET request to the Redfish interface to obtain the configuration information of the BIOS; Check the response status code of the HTTP request to determine whether the GET request is successfully sent. If the GET request is successfully sent, parse the response content of the HTTP request and obtain the value corresponding to the attributes key; Determine the relevant configuration information of the BIOS option according to the value corresponding to the attributes key.

[0007] According to some embodiments of the present invention, obtaining the instruction document of the server BIOS option and parsing the instruction document to obtain the relevant configuration information of each option of the BIOS further includes: Extract the descriptions of each BIOS option in the Powerleader BIOS manual of the said instruction document using a preset parsing tool; Clean the data of the BIOS option descriptions and extract key entity information to obtain the relevant configuration information of the standard BIOS options.

[0008] According to some embodiments of the present invention, use the py2neo library to interact with the Neo4j graph database to create nodes and relationships to construct a knowledge graph about BIOS options, hardware information, and association information, including: Obtain the address, port, and authentication information of the Neo4j graph database. The py2neo library connects to the Neo4j graph database based on the address, port, and authentication information of the Neo4j graph database through the Bolt protocol to realize the interaction between the py2neo library and the Neo4j graph database; Define a function for creating nodes that accepts option parameters and description parameters. The option parameter represents the BIOS option, and the description parameter represents the description of the BIOS option. Create a new node of type BIOS Option and assign the BIOS option name and associated information description attributes to the new node of the BIOS Option to obtain other similar terms related to the BIOS option. Add the other similar terms related to the BIOS option to the Neo4j graph database; Create a node of "VT-d" of type BIOS_Option and a node of "IOMMU" of type Hardware. Use the Relationship class to define a relationship from the "VT-d" node to the "IOMMU" node. The relationship type is ENABLES, indicating that when the VT-d function is enabled, it activates or enables the IOMMU hardware to form a list of hardware components affected by the BIOS option. Add the list of hardware components affected by the BIOS option to the Neo4j graph database; Construct a knowledge graph about BIOS options, hardware information, and association information based on the BIOS options, other similar terms related to the BIOS options, and the list of hardware components affected by the BIOS option.

[0009] According to some embodiments of the present invention, define the corpus of BIOS options, use the corpus of BIOS options to train a Word2Vec model to obtain a dedicated word vector model for BIOS options, and print the BIOS option query results, including: Import the gensim.models library and import the Word2Vec model from the gensim.models library to create a word vector model; Create a corpus list that contains several groups of vocabulary related to BIOS options, and define the corpus of BIOS options based on the corpus list; Set the word vector dimension of the word vector model to 100, the window size to 5, and ignore words that appear less than 1 time, and use the corpus of BIOS options to train the Word2Vec model to obtain a dedicated word vector model for BIOS options; Call the dedicated word vector model for BIOS options, search for the three most similar words to the "VT-d" node by calculating the cosine similarity between word vectors to measure similarity, and print the BIOS option query result; Save the trained dedicated word vector model for BIOS options to disk.

[0010] According to some embodiments of the present invention, the method for real-time monitoring of server BIOS option data through a serial port and passing the read server BIOS option data as a parameter to the knowledge graph, and the knowledge graph uses a query function to obtain an associated information query result corresponding to the server BIOS option data, including: Configure and open the specified serial port, and continuously monitor the server BIOS option data in an infinite loop through the serial port; After reading a line of data each time, use a parsing function to extract the complete line content, print the line content, and obtain the server BIOS option data according to the line content; Pass the read complete line content as a parameter to the query function of the knowledge graph, and use the query function of the knowledge graph to obtain detailed explanations or impact information related to the server BIOS option data, obtain the corresponding associated information query result, and print the associated information query result.

[0011] According to some embodiments of the present invention, it further includes: Set up an exception handling mechanism; During the process of continuously monitoring the server BIOS option data by the serial port, if it is found that the BIOS option data acquisition is abnormal or the BIOS option data acquisition times out, close the serial port through the exception handling mechanism; Record the exception information, generate an exception warning message, and send the exception information and the exception warning message to the user display interface of the host computer.

[0012] According to some embodiments of the present invention, uploading the interpretation of the BIOS option to the user display interface of the host computer includes: Create a user display interface using the tkinter library, where the user display interface includes an input keyboard, buttons, and a text display box; In response to the trigger information of the button, according to the BIOS option name received by the input keyboard, call the explain_bios_option function to obtain the corresponding interpretation of the BIOS option, and display the interpretation of the BIOS option in the text display box.

[0013] The technical solution of the present invention also relates to a computer device, including a memory and a processor, and when the processor executes the computer program stored in the memory, the above method is implemented.

[0014] The technical solution of the present invention also relates to a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.

[0015] The real-time interpretation method, device, and storage medium for server BIOS options provided by the embodiments of the present invention at least have one of the following advantages or beneficial effects: obtaining the description document of server BIOS options, parsing it to obtain the relevant configuration information of each option of the BIOS, such as function description, default value, etc., and providing the original data of the BIOS options. Using the py2neo library to interact with the Neo4j graph database, creating nodes and relationships, and constructing a knowledge graph about BIOS options, hardware information, and association information. The knowledge graph is a powerful data structure that can represent the complex relationships between entities (such as BIOS options, hardware components) in a graphical way. By constructing the knowledge graph, associations can be established between BIOS options and relevant hardware components, similar terms, etc., providing support for subsequent queries and inferences. Customizing the corpus of BIOS options, dynamically adapting to new terms, generating personalized BIOS option explanations and suggestions, providing users with the latest explanations and understandings. Using this corpus to train the Word2Vec model to obtain a dedicated word vector model for BIOS options. By training the dedicated word vector model for BIOS options, other words that are semantically most similar to a certain BIOS option can be found, which helps to discover other terms related to the target BIOS option and enrich the interpretation content; then, calling the dedicated word vector model for BIOS options to search for the three words most similar to the BIOS option and printing the query results. Real-time monitoring of server BIOS option data through the serial port. Real-time monitoring of server BIOS option data is a key step in realizing real-time interpretation. The read BIOS option data is passed as a parameter to the knowledge graph, and the knowledge graph can quickly query the relevant association information using the query function based on these BIOS option data. By combining the document parsing results, knowledge graph query results, and similar word query results of the Word2Vec model, the interpretation of the BIOS option is determined. The obtained interpretation of the BIOS option includes the function description of the BIOS option, the list of hardware components affected by the BIOS option, and the complete interpretation of other similar terms related to the BIOS option. Uploading the interpretation of the BIOS option to the user display interface of the host computer immediately provides users with relevant explanations and suggestions without the need for users to manually consult the manual, improving the efficiency of server maintenance and management. Users can conveniently view the detailed interpretation of the BIOS option, thereby better understanding and configuring the BIOS option.

[0016] In addition, some of the additional aspects and advantages of the present invention will be given in the following description, some will become apparent from the following description, or be understood through the practice of the present invention. Brief Description of the Drawings

[0017] Figure 1 is the overall flowchart of the real-time interpretation method for server BIOS options provided by the embodiments of the present invention; Figure 2 It is a detailed flowchart of step S100 in the real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 3 It is a detailed flowchart of step S200 in the real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 4 It is a detailed flowchart of step S300 in the real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 5 It is a detailed flowchart of step S400 in the real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 6 It is a detailed flowchart of a real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 7 It is a detailed flowchart of step S600 in the real-time paraphrasing method of server BIOS options provided by an embodiment of the present invention; Figure 8 It is a schematic diagram of a user display interface. Detailed implementation manners

[0018] Hereinafter, the concept, specific structure and technical effects of the present invention will be clearly and completely described in combination with embodiments and drawings to fully understand the purpose, solution and effects of the present invention.

[0019] It should be noted that, unless otherwise specified, when a certain feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. The singular forms "a", "the" and "said" used herein are also intended to include the plural forms unless the context clearly indicates otherwise. In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this technology belongs. The terms used in the description of this specification are only for describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any combination of one or more of the related listed items.

[0020] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, without departing from the scope of the present invention, the first element may also be referred to as the second element, and similarly, the second element may also be referred to as the first element. The use of any and all examples or exemplary language (such as "for example", "such as", etc.) provided herein is only intended to better illustrate the embodiments of the present invention and will not impose a limitation on the scope of the present invention unless otherwise required.

[0021] In the related art, there are many deficiencies in the BIOS option interpretation method. On the one hand, the traditional BIOS option interpretation mainly relies on consulting paper or electronic user manuals. These manuals usually have complex content and long lengths. When users search for the interpretation of specific BIOS options, they often need to spend a lot of time flipping through the manuals, resulting in low efficiency. Moreover, the information in the manuals is relatively fixed and difficult to update in a timely manner to reflect new hardware features, software compatibility changes, and security threats, etc. As a result, users may obtain outdated or inaccurate configuration suggestions, leading to problems such as users' difficulty in understanding option associations and inability to track configuration changes in real time. These problems seriously restrict the efficiency and quality of server management and maintenance, and bring many challenges to the stable operation and performance optimization of the server. On the other hand, with the continuous development and update of server hardware technology, new BIOS options are emerging continuously, and their functions and interrelationships are becoming increasingly complex. It is difficult for users to comprehensively understand the associations between various BIOS options and the impact that the configuration of a certain option may have on the entire system based on the simple descriptions in the manuals. In addition, the BIOS settings of the server may change frequently due to various factors such as hardware upgrades, software updates, and security policy adjustments. The existing interpretation methods do not update information in a timely manner, cannot track these changes in real time, and provide instant and targeted configuration suggestions for users.

[0022] Based on this, the embodiments of the present invention provide a real-time interpretation method, device, and storage medium for server BIOS options, which are beneficial to real-time and accurate interpretation of server BIOS options, provide comprehensive and dynamic configuration suggestions, and can adapt to the changes in the server hardware and software environment, so as to meet the needs of modern server management and maintenance.

[0023] Refer to Figure 1 as shown in Figure 1 is the overall flowchart of the real-time interpretation method for server BIOS options provided by the embodiments of the present invention. The real-time interpretation method for server BIOS options includes but is not limited to steps S100 to step S600. Specifically, S100: Obtain the instruction document of the server BIOS options, and parse the instruction document to obtain the relevant configuration information of each option of the BIOS; S200: Use the py2neo library to interact with the Neo4j graph database to create nodes and relationships, so as to construct a knowledge graph about BIOS options, hardware information, and association information; S300: Define the corpus of BIOS options, use the corpus of BIOS options to train the Word2Vec model, obtain the dedicated word vector model for BIOS options, search for the three most similar words to the BIOS options by calling the dedicated word vector model for BIOS options, and print the BIOS option query results; S400: Listen to the server BIOS option data in real time through the serial port, and use the read server BIOS option data as a parameter to the knowledge graph. The knowledge graph uses the query function to obtain the associated information query results corresponding to the server BIOS option data; S500: Determine the interpretation of the BIOS option according to the BIOS option query results and the associated information query results corresponding to the server BIOS option data. The interpretation of the BIOS option includes the function description of the BIOS option, the list of hardware components affected by the BIOS option, and other similar terms related to the BIOS option; S600: Upload the interpretation of the BIOS option to the user display interface of the host computer.

[0024] In some embodiments of the present invention, an instruction document of the server BIOS options is obtained. The instruction document is a direct source for understanding the BIOS options, and it is parsed to obtain the relevant configuration information of each option of the BIOS. By parsing the instruction document, the basic information of each BIOS option, such as function description, default value, etc., is obtained, providing the original data of the BIOS options. The py2neo library is used to interact with the Neo4j graph database to create nodes and relationships, and build a knowledge graph about BIOS options, hardware information, and association information. The knowledge graph is a powerful data structure that can represent the complex relationships between entities (such as BIOS options, hardware components) in a graphical way. By building the knowledge graph, the BIOS options can be associated with relevant hardware components, similar terms, etc., providing support for subsequent queries and inferences. A corpus of BIOS options is defined, and the Word2Vec model is trained using this corpus. The Word2Vec model is a natural language processing technology that can map the vocabulary in the text to vectors in a high-dimensional space, obtaining a dedicated word vector model for BIOS options. By training the dedicated word vector model for BIOS options, other words that are semantically most similar to a certain BIOS option can be found, which helps to discover other terms related to the target BIOS option and enrich the paraphrased content. Then, the dedicated word vector model for BIOS options is called to search for the three words that are most similar to the BIOS option, and the query results are printed. The server BIOS option data is monitored in real time through the serial port. Monitoring the server BIOS option data in real time is a key step in realizing real-time paraphrasing. The read BIOS option data is passed as a parameter to the knowledge graph, and the knowledge graph can quickly query the relevant association information according to these BIOS option data using the query function. By combining the document parsing results, the knowledge graph query results, and the similar word query results of the Word2Vec model, the paraphrase of the BIOS option is determined. The obtained paraphrase of the BIOS option includes the function description of the BIOS option, the list of hardware components affected by the BIOS option, and the complete paraphrase of other similar terms related to the BIOS option. The paraphrase of the BIOS option is uploaded to the user display interface of the host computer, and the paraphrase result is displayed to the user. The user can conveniently view the detailed paraphrase of the BIOS option, so as to better understand and configure the BIOS option.

[0025] It can be understood that the traditional method for interpreting BIOS options is to query the manual, which is usually a collection of a large amount of text. Finding the interpretation of a specific BIOS option may take a relatively long time, especially when the manual content is extremely large. The dedicated word vector model for BIOS options in the embodiments of the present invention can quickly locate the terms and content related to the target option by calculating the similarity and other relationships between words. Even if the user's query expression is not precise enough, it can provide relevant explanations, suggestions, and recommendations for other BIOS options related to the query option, which helps users more comprehensively understand the connections between various BIOS options and the configuration items that may need to be considered simultaneously, and avoid problems such as incomplete or inconsistent configurations caused by only focusing on a single option. Moreover, the dedicated word vector model for BIOS options in the embodiments of the present invention can capture the semantic associations between words and understand the potential relationships between different terms. By constructing a knowledge graph about BIOS options, hardware information, and association information, and customizing the corpus of BIOS options, training the Word2Vec model using the corpus of BIOS options, a dedicated word vector model for BIOS options is obtained. For example, "VT-d" and "IOMMU" may have a relatively high similarity in the word vector space, and the dedicated word vector model for BIOS options can provide users with a deeper semantic understanding based on this, rather than just the definitions clearly listed in the manual. The dedicated word vector model for BIOS options can combine with the knowledge graph to analyze the associations between BIOS options, hardware, and error codes. For example, when a user queries a certain BIOS option, the dedicated word vector model for BIOS options can simultaneously provide information such as the hardware impact related to the BIOS option and the error codes that may be triggered, helping users more comprehensively evaluate the impact of the setting of this option on the system. In server management, the BIOS event logs captured through serial port monitoring are often generated in real time. The dedicated word vector model for BIOS options in the embodiments of the present invention can be combined with the serial port monitoring service to parse the information such as BIOS option changes in the log in real time and immediately provide relevant explanations and suggestions to users without the need for users to manually consult the manual, improving the efficiency of server maintenance and management. In addition, with the continuous development of BIOS technology, new terms and options may emerge continuously. The dedicated word vector model for BIOS options can dynamically adapt to these new terms through continuous training and updating, providing users with the latest explanations and understandings, while the update of the manual usually has a certain lag. The dedicated word vector model for BIOS options can also generate personalized BIOS option explanations and suggestions according to the specific needs and usage scenarios of users. For example, for different types of servers or different business requirements, the dedicated word vector model for BIOS options can combine the corresponding knowledge graph and semantic analysis to provide users with more practical configuration guidance.

[0026] Therefore, in the embodiments of the present invention, by monitoring the BIOS option data in real time through the serial port, the latest information can be obtained in a timely manner, and the real-time interpretation of the BIOS options can be realized. Combining various technologies such as instruction document parsing, knowledge graph construction, and natural language processing, information is obtained and integrated from multiple perspectives, improving the accuracy of the BIOS option interpretation. The interpretation content of the BIOS options in the present invention not only includes function descriptions, but also includes a list of hardware components affected by the options and similar terms, providing comprehensive information for users.

[0027] Refer to Figure 2 as shown Figure 2 is the detailed flowchart of step S100 in the method for real-time interpretation of server BIOS options provided by the embodiments of the present invention. Step S100 includes but is not limited to steps S110 to S150. Specifically, S110: Import the requests module for sending HTTP requests, where the HTTP requests include GET requests; S120: Set the path and data transfer format of the Redfish API, and define the get_bios_attributes function for obtaining the configuration information of the BIOS; S130: Send a GET request to the Redfish interface to obtain the configuration information of the BIOS; S140: Check the response status code of the HTTP request to determine whether the GET request is successfully sent. If the GET request is successfully sent, parse the response content of the HTTP request and obtain the value corresponding to the attributes key; S150: Determine the relevant configuration information of the BIOS options according to the value corresponding to the attributes key.

[0028] Obtain the instruction document of the server BIOS options, and parse the instruction document to obtain the relevant configuration information of each option of the BIOS, including: Import the requests module. The requests module is used to send HTTP requests (such as GET requests), which simplifies the process of sending HTTP requests and handling responses. In the embodiments of the present invention, the requests module is used to send requests to the Redfish API to obtain BIOS data. Set the path and data transfer format of the Redfish API, and define the get_bios_attributes function for obtaining the configuration information of the BIOS. Specifically, Set the URL and headers url = "https: / / xxxxxx / redfish / v1 / Systems / 1 / Bios" headers = { 'Content-Type': 'application / json', 'Accept': 'application / json' } Among them, the url points to the URL of the Redfish API, https: / / xxxxxx is the IP address of the target server, and / redfish / v1 / Systems / 1 / Bios is the path of the Redfish API, indicating that the BIOS configuration information of the first system (1) is to be accessed.

[0029] headers: Content-Type: application / json: Sets the data format of the sent data to JSON; Accept: application / json: Sets the response data format to be received as JSON as well.

[0030] Define the function get_bios_attributes: def get_bios_attributes(url, headers): Defines a function named get_bios_attributes for obtaining the configuration attributes of the BIOS. The function accepts two parameters: url: the address of the API, headers: the request header information.

[0031] It can be understood that redfish_base_url is the base address of the Redfish interface, headers are used to set the request headers, including the content type and authentication information, and the get_bios_attributes function is used to send a GET request to the Redfish interface to obtain the BIOS configuration information.

[0032] After that, send a GET request to the Redfish interface to obtain the BIOS configuration information. Specifically, Send a GET request response = requests.get(url, headers=headers, verify=False) Use the requests.get method to send a GET request to the specified URL.

[0033] Parameter description: url: the target API address; headers: contains request header information; verify=False: ignores SSL certificate verification (usually used in development environments or for self-signed certificates). It should be noted that in the production environment, the verify=False in the embodiments of the present invention should be removed and the SSL certificate verification should be correctly configured.

[0034] Check the response status code of the HTTP request to determine whether the GET request was sent successfully, which is achieved as follows: if response.status_code == 200: Check whether the status code of the HTTP response is 200, indicating that the request was successful, and the response content can be parsed; if the status code is not 200, this conditional branch will not be entered, and the function will directly return None.

[0035] If the GET request is sent successfully, parse the response content of the HTTP request, and obtain the value corresponding to the 'attributes' key, and determine the relevant configuration information of the BIOS option according to the value corresponding to the 'attributes' key.

[0036] Parse the response content of the HTTP request. Specifically, bios_data = response.json() attributes = bios_data.get('attributes') response.json(): Parse the response content into JSON format; bios_data.get('attributes'): Extract the value corresponding to the 'attributes' key from the parsed JSON data.

[0037] response.json() parses the response content into JSON format, and bios_data.get('attributes',{}) obtains the value corresponding to the 'attributes' key. This value is a dictionary that contains BIOS options and their configuration information. In the Redfish API, BIOS configurations are usually stored under the 'attributes' key, and BIOS configuration attributes include but are not limited to Secure Boot, Boot Mode, Power Management, etc.

[0038] During the process of obtaining the instruction document of the server BIOS options and parsing the instruction document to obtain the relevant configuration information of each option of the BIOS, an exception handling mechanism is also set. If any error occurs during the request or parsing process (such as network problems, invalid JSON data, etc.), the exception will be captured and the error message will be printed.

[0039] The Redfish interface is a standardized API that is applicable to various server hardware, with good compatibility and interoperability. Through HTTPS and the authentication mechanism, the security of data transmission is ensured. The requests module simplifies the sending of HTTP requests and the handling of responses, making the code easy to write and maintain. Therefore, obtaining and parsing each option of the BIOS through the Redfish interface is an efficient and reliable method. It utilizes the standardized API and modern network technologies to quickly and securely obtain the BIOS configuration information and improve the efficiency of server management and maintenance.

[0040] In some embodiments of the present invention, step S100 further includes but is not limited to steps S160 to S170. Specifically, S160: Use a preset parsing tool to extract each BIOS option description in the Powerleader BIOS manual of the instruction document; S170: Perform data cleaning on the BIOS option description and extract key entity information to obtain the relevant configuration information of the standard BIOS options.

[0041] Obtain the instruction document of the server BIOS options. The instruction document of the BIOS options may be in various data formats such as excel, html, pdf, etc. In the embodiments of the present invention, taking reading a pdf as an example, the method for parsing the instruction document to obtain the relevant configuration information of each option of the BIOS further includes: using a preset parsing tool to extract each BIOS option description in the Powerleader BIOS manual of the instruction document. The preset parsing tool is a pdf parsing tool. Extract the text information of the instruction document through the pdf parsing tool to obtain each BIOS option description in the manual. Then, perform data cleaning processing on the extracted BIOS option description to remove irrelevant text content, such as headers, footers, and extra spaces; use natural language processing (NLP) technologies, such as spaCy or NLTK, to identify and extract key entity information, such as BIOS option names, function descriptions, default values, etc., and organize the extracted entity information into a standard configuration information format, such as a dictionary or JSON, to obtain the relevant configuration information of the standard BIOS options. Finally, print out the organized relevant configuration information of the standard BIOS options or save it to a file.

[0042] In one embodiment, the method for parsing the instruction document to obtain the relevant configuration information of each option of the BIOS is implemented by the following code: Parse the pdf instruction manual of the server option to obtain the relevant configuration selections and descriptions: # Use a pdf parsing tool to extract text (example: PyPDF2) import PyPDF2 def extract_bios_text(pdf_path): text = "" with open(pdf_path, 'rb') as f: reader = PyPDF2.PdfReader(f) for page in reader.pages: text += page.extract_text() return text # Example: Extract the option descriptions in the "Powerleader BIOS Manual" bios_text = extract_bios_text("powerleader_bios_manual.pdf") Clean the BIOS option descriptions and extract the key entity information to obtain the relevant configuration information of the standard BIOS options: # Clean the text and extract the key entities import re def clean_and_extract(text): # Match the BIOS option format (such as "Secure Boot: [Enabled / Disabled]") pattern = r"(\w+[\s-]?\w+):\s*\[(Enabled|Disabled|Auto)\]" matches = re.findall(pattern, text) return [{"option": m[0], "state": m[1]} for m in matches] # Example output # [{'option': 'Secure Boot','state': 'Enabled'},...] Automatically extract and process the content of documents through code to achieve the parsing of the PDF manual of the server BIOS options, extract and organize the relevant configuration options and descriptions, reduce the errors and time costs of manual operations. Using natural language processing (NLP) technology can extract key information more accurately, improve data quality, and can be easily extended to other types of documents and information extraction tasks. This method combines document parsing and natural language processing technologies, and can efficiently obtain and process the configuration information of BIOS options, providing support for server management and maintenance.

[0043] Refer to Figure 3 as shown Figure 3 is the detailed flowchart of step S200 in the real-time interpretation method of the server BIOS options provided by the embodiment of the present invention. Step S200 includes but is not limited to steps S210 to S240. Specifically, S210: Obtain the address, port, and authentication information of the Neo4j graph database. The py2neo library connects to the Neo4j graph database through the Bolt protocol based on the address, port, and authentication information of the Neo4j graph database to achieve the interaction between the py2neo library and the Neo4j graph database; S220: Define a function to create a node that accepts option parameters and description parameters. The option parameter represents the BIOS option, and the description parameter represents the description of the BIOS option. Create a new node of type BIOS Option, and assign the BIOS option name and associated information description attributes to the new node of BIOS Option to obtain other similar terms related to the BIOS option, and add the other similar terms related to the BIOS option to the Neo4j graph database; S230: Create a node of type BIOS_Option "VT-d" and a node of type Hardware "IOMMU". Use the Relationship class to define a relationship from the "VT-d" node to the "IOMMU" node. The relationship type is ENABLES, indicating that when the VT-d function is enabled, the IOMMU hardware is activated or enabled to form a list of hardware components affected by the BIOS option, and add the list of hardware components affected by the BIOS option to the Neo4j graph database; S240: Construct a knowledge graph about BIOS options, hardware information, and associated information based on the BIOS options, other similar terms related to the BIOS options, and the list of hardware components affected by the BIOS options.

[0044] In some embodiments of the present invention, the py2neo library is used to interact with the Neo4j graph database to create nodes and relationships, so as to construct a knowledge graph about BIOS options, hardware information, and association information, including: First, obtain the address, port, and authentication information (username and password) of the Neo4j graph database. Then, use the py2neo library to interact with the Neo4j graph database. After that, define a function create_bios_option_node that accepts option and description parameters, creates a new node of type BIOS Option, and assigns it attributes such as name (option name) and desc (association information description). Obtain other similar terms related to the BIOS option, quickly locate terms and content related to the target option, provide relevant explanations, suggestions, and recommendations for other BIOS options related to the query option, which helps users more comprehensively understand the connections between various BIOS options and the configuration items that may need to be considered simultaneously, and avoid problems such as incomplete or inconsistent configurations caused by only focusing on a single option. Then, use the graph.create(node) function to add the newly created node to the Neo4j graph database.

[0045] Create a "VT-d" node of type BIOS_Option and an "IOMMU" node of type Hardware, and define the relationship between them. Use the Relationship class to define a relationship from "VT-d" to "IOMMU", and the relationship type is ENABLES, indicating that enabling the VT-d function will activate or enable the IOMMU hardware, forming a list of hardware components affected by the BIOS option. In a virtualized environment, IOMMU is crucial for managing I / O operations and memory mapping, and the enabling of the VT-d option directly determines whether the IOMMU can work properly; use the graph.create(rel) function to add this list of hardware components affected by the BIOS option to the Neo4j graph database.

[0046] Finally, based on the py2neo library and the Neo4j graph database, construct a knowledge graph about BIOS options, hardware information, and association information according to the BIOS options, other similar terms related to the BIOS options, and the list of hardware components affected by the BIOS options. The knowledge graph can graphically represent the complex relationships between entities (such as BIOS options, hardware components). By constructing the knowledge graph, associations can be established between BIOS options and related hardware components, similar terms, etc., providing support for subsequent queries and inferences.

[0047] Store BIOS options, hardware information, and associated information in a Neo4j graph database, and construct a knowledge graph. Using the Neo4j graph database, BIOS options, hardware information, and associated information can be stored in a structured manner, facilitating querying and analysis. By defining different node types and relationship types, various information and the relationships between them can be flexibly represented, and more BIOS options, hardware components, and associated information can be added to expand the knowledge graph. This method takes advantage of the strengths of graph databases and can efficiently represent and query complex relational data, providing strong support for server management and maintenance.

[0048] In some embodiments of the present invention, creating specific nodes and relationships further includes creating a node of type Error_Code. The node of type Error_Code is used to record error codes or other problems caused by certain BIOS settings, enabling quick location and resolution of problems caused by BIOS settings.

[0049] Define a function create_error_code_node that accepts error_code and description parameters, creates a new node of type Error_Code, assigns corresponding attributes, and defines its relationship with BIOS options. For example, assume that a certain BIOS option, VT-d, may cause the error code 0x1234. By associating the error code with the BIOS option, problems caused by BIOS settings can be quickly traced and resolved. The information in the knowledge graph can be shared among team members, improving the efficiency of problem-solving. More error codes and BIOS options can be easily added to expand the knowledge graph.

[0050] Creating specific nodes and relationships further includes creating a node of type Error_Code, implementing the storage of BIOS options, hardware information, associated information, and error codes in a Neo4j graph database, and constructing a knowledge graph. This method not only helps to quickly locate and resolve problems caused by BIOS settings but also serves as a platform for team knowledge sharing.

[0051] In some embodiments of the present invention, the Relationship class is used to define a relationship from "VT-d" to "0x1234" with the relationship type CAUSES, indicating that enabling VT-d may cause the error code 0x1234. This may be because the system hardware does not fully support the VT-d function or there are compatibility issues between the relevant drivers and the VT-d settings, helping technicians quickly locate the BIOS settings that may cause this error.

[0052] A relationship from "AES-NI" to "CPU" is defined using the Relationship class. The relationship type is AFFECTS, which means that when AES-NI is enabled, the CPU can utilize specialized instruction sets during encryption and decryption operations, thereby improving the efficiency of encryption operations, reducing the CPU's resource consumption for these operations, and affecting the overall system performance. The AFFECTS relationship reflects that this BIOS option of AES-NI has an impact on the performance or functionality of the CPU.

[0053] Refer to Figure 4 as shown Figure 4 is a detailed flowchart of step S300 in the real-time interpretation method of server BIOS options provided by an embodiment of the present invention. Step S300 includes but is not limited to steps S310 to S350. Specifically, S310: Import the gensim.models library and import the Word2Vec model from the gensim.models library to create a word vector model; S320: Create a corpus list. The corpus list contains several groups of vocabulary related to BIOS options, and define the corpus of BIOS options according to the corpus list; S330: Set the word vector dimension of the word vector model to 100, the window size to 5, ignore words that appear less than 1 time, and use the corpus of BIOS options to train the Word2Vec model to obtain a dedicated word vector model for BIOS options; S340: Call the dedicated word vector model for BIOS options, search for the three most similar words to the "VT-d" node by calculating the cosine similarity between word vectors to measure similarity, and print the BIOS option query results; S350: Save the trained dedicated word vector model for BIOS options to disk.

[0054] In some embodiments of the present invention, a Word2Vec model is trained using the gensim library, and a word vector model is created using this Word2Vec model. Then, a corpus of BIOS options is defined. The corpus of BIOS options includes a corpus list, and the corpus list contains several groups of vocabulary related to BIOS options. Next, the word vector model is initialized and trained, setting the word vector dimension to 100, the window size to 5, and ignoring words that appear less than 1 time. The Word2Vec model is trained using the corpus of BIOS options to obtain a dedicated word vector model for BIOS options. Then, the dedicated word vector model for BIOS options is called to query the three most similar words to "VT-d", and the similarity is measured by calculating the cosine similarity between word vectors, and the BIOS option query results are printed. Finally, the trained dedicated word vector model for BIOS options is saved to disk for subsequent use. The whole process demonstrates how to build a dedicated word vector model for BIOS options and perform basic text analysis tasks to find similar words.

[0055] Create a corpus of BIOS options. Train a Word2Vec model based on the corpus of BIOS options to obtain a dedicated word vector model for BIOS options. Through the dedicated word vector model for BIOS options, other words that are semantically most similar to the target word of the BIOS option can be found, which helps to discover related BIOS option terms and provides support for server management and maintenance. At the same time, the trained model is saved to disk for subsequent use and update. The embodiments of the present invention can adjust the parameters of the dedicated word vector model for BIOS options, such as the word vector dimension, window size, etc., to adapt to different application scenarios.

[0056] In one embodiment of the present invention, by combining a knowledge graph and a dedicated word vector model for BIOS options, a comprehensive explanation of a specific BIOS option is generated: Obtain structured knowledge from the knowledge graph: By calling the custom query_neo4j function and passing in the BIOS option name (such as "VT-d"), the description and related hardware information of this option are obtained from the knowledge graph.

[0057] Use word vectors to expand similar terms: Utilize the pre-trained Word2Vec model (the dedicated word vector model for BIOS options) to find the three most similar terms to the input option to help expand the query and understand the context.

[0058] Generate a natural language explanation: Based on the information obtained from the knowledge graph and the dedicated word vector model for BIOS options, construct a natural language explanation that includes the following content: the function description of the BIOS option, the list of hardware components affected by this option, and other similar terms related to this option.

[0059] Refer to Figure 5 as shown Figure 5 is a detailed flowchart of step S400 in the real-time interpretation method of server BIOS options provided by an embodiment of the present invention. Step S400 includes but is not limited to steps S410 to S430. Specifically, S410: Configure and open a specified serial port, and continuously monitor server BIOS option data in an infinite loop through the serial port; S420: After reading a line of data each time, use a parsing function to extract the complete line content, print the line content, and obtain server BIOS option data according to the line content; S430: Pass the complete line content read as a parameter to the query function of the knowledge graph, and obtain detailed explanations or impact information related to the server BIOS option data through the query function of the knowledge graph, obtain the corresponding associated information query result, and print the associated information query result.

[0060] In some embodiments of the present invention, server BIOS option data is continuously monitored in real time through a serial port, and the server BIOS option data read is passed as a parameter to the knowledge graph. The knowledge graph uses the query function to obtain the associated information query result corresponding to the server BIOS option data, including: First, configure and open a specified serial port (such as COM1), and then continuously monitor server BIOS option data in an infinite loop. After reading a line of data each time, use the parsing function read_until_newline to extract the complete line content, print the line content, and obtain server BIOS option data according to the line content. Then, pass the entire line of data read as a parameter to the knowledge graph query function explain_bios_option to obtain detailed explanations or impact information related to the BIOS option data, and print the associated information query result.

[0061] By continuously monitoring server BIOS option data in real time through a serial port, the latest information can be obtained in a timely manner, the serial port data can be automatically parsed, and the knowledge graph can be queried to obtain relevant detailed explanations or impact information, reducing manual operation errors and time costs. This method can process BIOS option data in real time and automatically, providing strong support for server management and maintenance.

[0062] Refer to Figure 6 as shown Figure 6 is a detailed flowchart of a real-time interpretation method of server BIOS options provided by an embodiment of the present invention. The real-time interpretation method of server BIOS options further includes but is not limited to steps S700 to S720. Specifically, S700: Set an exception handling mechanism; S710: During the process of continuously monitoring the server BIOS option data through the serial port, if it is found that the acquisition of BIOS option data is abnormal or the acquisition of BIOS option data times out, the serial port is closed through the exception handling mechanism; S720: Record the exception information, generate an exception warning message, and send the exception information and the exception warning message to the user display interface of the host computer.

[0063] In some embodiments of the present invention, in order to ensure the stability and reliability of serial port communication, it is very important to set up an exception handling mechanism. First, import the pyserial library for serial port communication. After that, configure the logging to record exception information and generate exception warning messages. Define a function handle_exception to handle exceptions, record exception information, and generate exception warning messages. Define a function query_knowledge_graph that accepts the server BIOS option data as a parameter and obtains detailed explanations or impact information related to the server BIOS option data through the query function of the knowledge graph. After setting up the exception handling mechanism, open the serial port and start listening for serial port data. Continuously monitor the server BIOS option data in an infinite loop. After each line of data is read, parse and print the line content, and then pass the line content to the query function of the knowledge graph to obtain and print the query result of the associated information. If an exception occurs, call the exception handling function.

[0064] The exception handling mechanism can continuously monitor the serial port data, process and query relevant information in a timely manner. Through the exception handling mechanism, it is ensured that the serial port can be closed in a timely manner when an exception occurs, avoiding program crashes. At the same time, record the exception information and warning information for subsequent maintenance and problem troubleshooting. The exception handling mechanism is used throughout the process to ensure that the serial port connection can be correctly closed when an error occurs, so as to achieve real-time monitoring of changes in the hardware BIOS settings and instant analysis of their potential impacts.

[0065] Refer to Figure 7 as shown in Figure 7 is the detailed flowchart of step S600 in the method for real-time interpretation of server BIOS options provided by the embodiment of the present invention. Step S600 includes but is not limited to steps S610 to S620. Specifically, S610: Use the tkinter library to create a user display interface, and the user display interface includes an input keyboard, buttons, and a text display box; S620: In response to the trigger information of the button, according to the BIOS option name received by the input keyboard, call the explain_bios_option function to obtain the interpretation of the corresponding BIOS option, and display the interpretation of the BIOS option in the text display box.

[0066] In some embodiments of the present invention, uploading the interpretations of BIOS options to the user display interface of the host computer includes: importing the tkinter library, creating a user display interface (GUI) based on the tkinter library. The user display interface includes an input keyboard, buttons, and a text display box. The user can input the BIOS option name through the input keyboard, and after clicking the button, call the explain_bios_option function to obtain the interpretation of the corresponding BIOS option, and display the result in the text display box. Refer to Figure 8 As shown, Figure 8 is a schematic diagram of the user display interface.

[0067] The user inputs the BIOS option name "Socket0 Configuration" through the input keyboard, clicks the button to trigger the query, and the program will call the explain_bios_option function to obtain and display the explanation. The entire application enters the main loop through root.mainloop(), keeps the window running, and responds to user operations. The text display box displays the interpretation corresponding to the BIOS option name "Socket0 Configuration", including detailed explanations or impact information, etc. Through the intuitive graphical user interface, it is convenient for the user to input the BIOS option name and obtain the interpretation, and the user can immediately see the query result, improving the user experience.

[0068] It should be recognized that the method steps in the embodiments of the present invention can be implemented or executed by computer hardware, a combination of hardware and software, or computer instructions stored in a non-transitory computer-readable memory. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. In addition, for this purpose, the program can run on a dedicated integrated circuit programmed for this purpose.

[0069] In addition, the operations of the processes described herein can be performed in any suitable order, unless otherwise indicated herein or otherwise clearly contradicted by the context. The processes described herein (or variations and / or combinations thereof) can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executed commonly on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions executable by one or more processors.

[0070] Further, the method may be implemented in operable connection with any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, network or distributed computing environments, separate or integrated computer platforms, or communicating with charged particle tools or other imaging devices, etc. Aspects of the present invention may be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into the computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer and, when read by the storage medium or device, can be used to configure and operate the computer to perform the processes described herein. Additionally, the machine-readable code, or portions thereof, may be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the above-described steps in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention may also include the computer itself.

[0071] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the transformed data represents physical and tangible objects, including a specific visual depiction of the physical and tangible objects generated on a display.

[0072] As described above, these are only the preferred embodiments of the present invention. The present invention is not limited to the above-described embodiments. As long as it achieves the technical effects of the present invention by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention. Within the scope of protection of the present invention, its technical solutions and / or implementation manners may have various different modifications and changes.

Claims

1. A real-time interpretation method for server BIOS options, characterized in that, Including: Obtain the instruction document of the server BIOS options, and parse the instruction document to obtain the relevant configuration information of each option of the BIOS; Use the py2neo library to interact with the Neo4j graph database to create nodes and relationships, so as to construct a knowledge graph about BIOS options, hardware information, and association information; Define the corpus of BIOS options, use the corpus of BIOS options to train the Word2Vec model, obtain the dedicated word vector model for BIOS options, search for the three most similar words to the BIOS options by calling the dedicated word vector model for BIOS options, and print the BIOS option query results; Real-time monitor the server BIOS option data through the serial port, and pass the read server BIOS option data as a parameter to the knowledge graph, and the knowledge graph uses the query function to obtain the associated information query results corresponding to the server BIOS option data; Determine the interpretation of the BIOS option according to the BIOS option query result and the associated information query result corresponding to the server BIOS option data. The interpretation of the BIOS option includes the function description of the BIOS option, the list of hardware components affected by the BIOS option, and other similar terms related to the BIOS option; Upload the interpretation of the BIOS option to the user display interface of the host computer.

2. The real-time interpretation method of the server BIOS option according to claim 1, characterized in that The obtaining the instruction document of the server BIOS options and parsing the instruction document to obtain the relevant configuration information of each option of the BIOS includes: Import the requests module for sending HTTP requests, and the HTTP requests include GET requests; Set the path and data transfer format of the Redfish API, and define the get_bios_attributes function for obtaining the configuration information of the BIOS; Send a GET request to the Redfish interface to obtain the configuration information of the BIOS; Check the response status code of the HTTP request to determine whether the GET request is sent successfully. If the GET request is sent successfully, parse the response content of the HTTP request and obtain the value corresponding to the attributes key; Determine the relevant configuration information of the BIOS option according to the value corresponding to the attributes key.

3. The real-time interpretation method of the server BIOS option according to claim 1, wherein The obtaining the instruction document of the server BIOS options and parsing the instruction document to obtain the relevant configuration information of each option of the BIOS further includes: Use a preset parsing tool to extract each BIOS option description in the Powerleader BIOS manual of the instruction document; Clean the data of the BIOS option description and extract the key entity information to obtain the relevant configuration information of the standard BIOS option.

4. The real-time interpretation method of the server BIOS option according to claim 1, wherein The using the py2neo library to interact with the Neo4j graph database to create nodes and relationships to construct a knowledge graph about BIOS options, hardware information, and association information includes: Obtain the address, port, and authentication information of the Neo4j graph database. The py2neo library connects to the Neo4j graph database through the Bolt protocol based on the address, port, and authentication information of the Neo4j graph database to achieve the interaction between the py2neo library and the Neo4j graph database; Define a function to create a node that accepts option parameters and description parameters. The option parameter represents the BIOS option, and the description parameter represents the description of the BIOS option. Create a new node of type BIOS Option, and assign the BIOS option name and associated information description attributes to the new node of BIOS Option to obtain other similar terms related to the BIOS option. Add the other similar terms related to the BIOS option to the Neo4j graph database; Create a "VT-d" node of type BIOS_Option and an "IOMMU" node of type Hardware. Use the Relationship class to define a relationship from the "VT-d" node to the "IOMMU" node. The relationship type is ENABLES, indicating that when the VT-d function is enabled, it activates or enables the IOMMU hardware to form a list of hardware components affected by the BIOS option. Add the list of hardware components affected by the BIOS option to the Neo4j graph database; Construct a knowledge graph about BIOS options, hardware information, and associated information based on the BIOS options, other similar terms related to the BIOS options, and the list of hardware components affected by the BIOS options.

5. The real-time interpretation method of the server BIOS option according to claim 4, characterized in that, Define the corpus of BIOS options, use the corpus of BIOS options to train the Word2Vec model to obtain a dedicated word vector model for BIOS options, and print the BIOS option query results, including: Import the gensim.models library and import the Word2Vec model from the gensim.models library to create a word vector model; Create a corpus list that contains several groups of vocabulary related to BIOS options, and define the corpus of BIOS options according to the corpus list; Set the word vector dimension of the word vector model to 100, the window size to 5, and ignore words that appear less than 1 time, and use the corpus of BIOS options to train the Word2Vec model to obtain a dedicated word vector model for BIOS options; Call the dedicated word vector model for BIOS options, search for the three most similar words to the "VT-d" node by calculating the cosine similarity between word vectors to measure similarity, and print the BIOS option query results; Save the trained dedicated word vector model for BIOS options to disk.

6. The real-time interpretation method of the server BIOS option according to claim 1, wherein Listening to the server BIOS option data in real time through the serial port, and passing the read server BIOS option data as a parameter to the knowledge graph. The knowledge graph uses a query function to obtain the associated information query result corresponding to the server BIOS option data, including: Configuring and opening the specified serial port, and continuously listening to the server BIOS option data through the serial port in an infinite loop; After reading a line of data each time, using a parsing function to extract the complete line content, printing the line content, and obtaining the server BIOS option data according to the line content; Passing the read complete line content as a parameter to the query function of the knowledge graph, using the query function of the knowledge graph to obtain the detailed explanation or impact information related to the server BIOS option data, obtaining the corresponding associated information query result, and printing the associated information query result.

7. The real-time interpretation method of the server BIOS option according to claim 6, wherein It further includes: Setting an exception handling mechanism; During the process of continuously listening to the server BIOS option data by the serial port, if it is found that the BIOS option data acquisition is abnormal or the BIOS option data acquisition times out, closing the serial port through the exception handling mechanism; Recording the exception information, generating an exception warning message, and sending the exception information and the exception warning message to the user display interface of the host computer.

8. The real-time interpretation method of the server BIOS option according to claim 1, characterized in that Uploading the interpretation of the BIOS option to the user display interface of the host computer, including: Using the tkinter library to create a user display interface, where the user display interface includes an input keyboard, buttons, and a text display box; In response to the trigger information of the button, according to the BIOS option name received by the input keyboard, calling the explain_bios_option function to obtain the interpretation of the corresponding BIOS option, and displaying the interpretation of the BIOS option in the text display box.

9. A computer device, comprising a memory and a processor, characterized in that, When the processor executes the computer program stored in the memory, it implements the method according to any one of claims 1 to 8.

10. A computer-readable storage medium having program instructions stored thereon, characterized in that, [[ID=

Citation Information

Patent Citations

  • Divergent associated fan equipment operation inspection knowledge graph construction and retrieval method

    CN116822625A

  • Construction method of automobile fault intelligent diagnosis system based on knowledge graph

    CN117332858A

  • Term selection from a document to find similar content

    US20160140231A1