BIOS configuration method and server
Automatically match the target scenario and configure the BIOS through the scene configuration recommendation table, which solves the problem of inaccurate BIOS configuration caused by user knowledge dependence, improves server stability and performance, and simplifies the configuration process.
Patent Information
- Application Number
- CN202410783026.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-11-01
AI Technical Summary
In the prior art, when configuring the server BIOS, users need to rely on insufficient knowledge of BIOS configuration in different scenarios, resulting in inaccurate configuration, which may lead to unstable server operating system or inadequate hardware performance, increasing user workload and configuration. Duration.
By introducing a scenario configuration recommendation table, the data to be configured matches the similarity of the recommended configuration data of each scenario, the target scenario is automatically determined and BIOS configuration is performed, reducing dependence on user knowledge and improving configuration accuracy and efficiency.
It enables accurate configuration without users' in-depth understanding of BIOS configuration data in different scenarios, improves the stability and performance of the server, simplifies the configuration process, and reduces user workload and configuration time.
Smart Images

Figure CN118885203A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of servers, and in particular to a BIOS configuration method and a server. Background Art
[0002] The Basic Input / Output System (BIOS) is a set of programs fixed to a read-only memory chip on the server motherboard, which stores the server's most important basic input / output programs, self-test programs after power-on, and system self-startup programs. BIOS is mainly used to initialize hardware, start the operating system, and manage server resources. It is a bridge between the server's basic hardware and system software. Among them, the BIOS configuration data determines how the server's basic hardware and system software interact, and has an important impact on the performance and stability of the server.
[0003] At present, users often query the configuration statement of each BIOS configuration item on the technical support website provided by the server manufacturer, and use the configuration statement to configure the BIOS. However, the configuration statement only involves basic attribute information such as the matching type, default value, possible value range, and function description of the configuration item. If the user modifies the configuration of the BIOS to meet a specific scenario, it depends on the user's knowledge of the BIOS configuration in the scenario. If the user does not have enough knowledge of the BIOS configuration for a certain scenario, there will be excessive adjustment of the data of certain configuration items, resulting in instability of the server's operating system, or insufficient adjustment of the data of certain configuration items, resulting in the server's hardware being unable to fully exert its performance. Therefore, how to improve the accuracy of the BIOS configuration and thus improve the performance and stability of the server has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a BIOS configuration method and a server, which are used to reduce dependence on users and improve the accuracy of adjusting BIOS configuration data, thereby improving the performance and stability of the server.
[0005] In order to achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a system configuration method, which is applied to a baseboard management controller (Based Management Controller, BMC), where the BMC is used to manage BIOS. The method includes the following steps:
[0007] Obtain the data to be configured of the BIOS; determine the target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured. The scene configuration recommendation includes the recommended configuration data corresponding to at least one scene, and at least one scene includes the target scene. The recommended configuration data of the target scene in the scene configuration recommendation table is used to configure the BIOS.
[0008] In the implementation of the present application, the similarity between the data to be configured and the recommended configuration data of each scene in the scene configuration recommendation table can be used to determine the adaptation of the scene represented by the data to be configured and each scene in the scene configuration recommendation table. Therefore, the similarity between the data to be configured and the recommended configuration data of each scene in the scene configuration recommendation table can be used to effectively determine the target scene expected by the user. Then the recommended configuration data of the target scene is obtained from the scene configuration recommendation table, and the BIOS is configured using the recommended configuration data of the target scene expected by the user. That is, the embodiment of the present application can accurately configure the BIOS by introducing the scene configuration recommendation table, without relying on the user's knowledge of the BIOS configuration of different scenes. In other words, even if the user does not understand the scene of the server that needs to be optimized, the BIOS can be configured based on the recommended configuration data of the scene that already exists in the scene configuration recommendation table. That is, the embodiment of the present application can effectively avoid the technical problem of over-adjusting the data of some BIOS configurations or adjusting the data of some BIOS configurations by a small range due to the degree of knowledge mastery of the user, so it helps to improve the configuration accuracy of the BIOS configuration and improve the stability and performance of the server.
[0009] In a specific implementation, the scene corresponding to the greatest similarity is selected from the similarity between the recommended configuration data of each scene and the data to be configured; the scene corresponding to the greatest similarity is used as the target scene. The higher the similarity between the scene in the scene configuration recommendation table and the current scene, the higher the degree of adaptation. Therefore, the target scene corresponding to the current scene can be effectively determined by determining the target scene by similarity. Therefore, the determined target scene can better reflect user needs.
[0010] In another specific implementation, based on the similarity between the recommended configuration data of each scenario and the data to be configured, the matching degree of each scenario and the data to be configured is determined; the matching degree of each scenario is positively correlated with the similarity of each scenario; the matching degree of each scenario is output to be displayed in the BIOS configuration interface; in response to receiving a trigger operation in the BIOS configuration interface, the scene corresponding to the trigger operation is determined as a target scene; the trigger operation indicates an operation to trigger one of the scenes in the BIOS configuration interface. Thus, through the BIOS configuration interface, the BMC can interact with the user, follow the user's opinions, and adaptively determine the target scene, thereby using the recommended configuration data corresponding to the target scene to perform BIOS configuration, and the configuration result can better meet the user's needs, thereby helping to further improve the user experience and improve the configuration accuracy.
[0011] In another specific implementation, within a first preset time period, in response to receiving a trigger operation on the BIOS configuration interface, the scene corresponding to the trigger operation is determined as the target scene; if within the first preset time period, no trigger operation is received on the BIOS configuration interface, the scene with the highest matching degree among the scenes is determined as the target scene. In this way, the problem of the user not selecting for a long time, resulting in the BIOS configuration not being executed for a long time, thereby affecting the BIOS configuration efficiency, is avoided.
[0012] In another specific implementation, the matching degrees of each scene are arranged in order based on the matching degree from small to large or from large to small; the matching degrees of each scene after the order is arranged are output to the BIOS configuration interface for display on the BIOS configuration interface. In this way, the user can intuitively understand which scenes are more suitable for the current scene, thereby further improving the user experience.
[0013] In another specific implementation, the first Euclidean distance between the recommended configuration data and the data to be configured for each scene is determined; the similarity of each scene is determined based on the first Euclidean distance of each scene; the similarity of each scene is negatively correlated with the first Euclidean distance of each scene. Compared with cosine similarity, the use of Euclidean distance can fully consider the vector length and vector direction, so the similarity of each scene obtained is more accurate.
[0014] Among them, the data to be configured includes attribute data to be configured of multiple configuration items. The embodiment of the present application can also determine the second Euclidean distance of multiple configuration items in each scene in each scene; the second Euclidean distance indicates the Euclidean distance between the recommended attribute data of the configuration item and the attribute data to be configured; the square sum of the second Euclidean distances of the multiple configuration items of each scene is added up, and the square root of the accumulated result is taken to obtain the first Euclidean distance of each scene.
[0015] In another specific implementation, in response to triggering the one-key distribution function of the BIOS configuration interface of the BIOS, the BIOS is configured simultaneously using the recommended configuration data of the target scenario. The one-key distribution function helps to improve the distribution efficiency, thereby improving the configuration efficiency.
[0016] If the BIOS configuration data is modified in the BIOS configuration interface corresponding to the KVM of the BMC, the modified BIOS configuration data is identified by using image character recognition technology, or, in response to triggering a configuration completion operation in the BIOS configuration interface corresponding to the KVM, the modified BIOS configuration data sent by the BIOS is received; the modified BIOS configuration data is used as the data to be configured. The scoring processor can receive the data to be configured obtained by the KVM, or can obtain the data to be configured from the BIOS, which is more flexible.
[0017] In a second aspect, an embodiment of the present application provides a server, wherein the server includes a BMC; the BMC is used to implement the BIOS configuration method as described in any one of the first aspects.
[0018] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is run on a computer, the computer executes the method described in any one of the first aspects above.
[0019] In a fourth aspect, an embodiment of the present application further provides a computer program product, which, when running on a computer, executes any of the methods described in the first aspect.
[0020] The server, computer-readable storage medium or computer program product corresponding to any of the BIOS configuration methods provided above are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of a BIOS configuration interface;
[0022] Figure 2 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0023] Figure 3 A flow chart of a system configuration method provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of a first BIOS 202 configuration interface provided in an embodiment of the present application;
[0025] Figure 5A schematic diagram of a display of a first BIOS 202 configuration interface provided in an embodiment of the present application;
[0026] Figure 6 A schematic diagram of another server architecture provided in an embodiment of the present application;
[0027] Figure 7 A schematic diagram of a method for a scoring processor to determine a target scene provided in an embodiment of the present application;
[0028] Fig. 8A Another BIOS configuration method interaction diagram provided in an embodiment of the present application;
[0029] Figure 8B An interaction diagram of another BIOS configuration method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0031] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0032] As mentioned above, the BIOS configuration data determines how the server's basic hardware and system software interact, and has a significant impact on the server's performance and stability. The BIOS configuration data includes but is not limited to the following: motherboard settings, including motherboard model, version information, and manufacturer; central processing unit (CPU) settings, including CPU frequency and temperature; memory settings, including memory speed, timing, and capacity; device settings, including hard disk settings, graphics card settings, and network card settings; boot sequence settings; security and boot options, including Unified Extensible Firmware Interface (UEFI) secure boot, enabling / disabling virtualization technology, etc.
[0033] Currently, the server provides a BIOS configuration interface, where users can configure the BIOS. Figure 1 The following is a schematic diagram of a BIOS configuration interface. The BIOS configuration interface includes main information configuration items, advanced settings configuration items, security options configuration items, power management settings configuration items, and exit options configuration items. If the user wants to set the CPU frequency under the CPU settings in the advanced settings option, the user needs to Figure 1 The BIOS configuration interface shown in (a) triggers the advanced settings configuration item and enters the attached Figure 1 The BIOS configuration interface shown in (b) in the figure. Figure 1 The BIOS configuration interface shown in (b) triggers the CPU setting configuration item and enters the attached Figure 1 The BIOS configuration interface shown in (c) in the figure. Figure 1 In the BIOS configuration interface shown in (c), trigger the CPU setting, find the CPU frequency sub-configuration item of the CPU setting, enter the CPU frequency value to be configured in the CPU frequency value input box, and click the "Save" button after the user completes all the configuration items that need to be configured. In this way, the BIOS can be triggered to obtain the user's BIOS configuration data and complete the update.
[0034] At present, before configuring the BIOS, users often log in to the technical support website provided by the server manufacturer and query the configuration statement of the configuration item on the technical support website. Then, the user configures the BIOS according to the configuration statement. However, the configuration statement only involves basic attribute descriptions such as the matching type, default value, possible value range, and function description of the configuration item. But the configuration statement does not involve the optimal configuration of the BIOS configuration items in different scenarios. In other words, when the user configures the BIOS to optimize the performance of the server, it depends on the user's knowledge of the BIOS configuration data in different scenarios, and the user experience is poor. And if the user's knowledge of the BIOS configuration data of a certain scenario or some scenarios is insufficient, there will often be over-adjustment or under-adjustment. If some BIOS configuration data is configured too large, it will cause the server's operating system to be unstable. For example, if the CPU frequency is configured too high, it will cause the server's operating system to be unstable. If some BIOS configuration data is configured too conservatively, such as the memory timing configuration is too loose, the hardware performance will not be brought into play.
[0035] In addition, the BIOS has a large amount of configuration data. Each configuration data has a specific function and may have dependencies with other configuration data. For example, motherboard settings are important for maintenance and troubleshooting. CPU settings are used to improve server performance, and memory settings can optimize and adjust the server's memory. The boot sequence setting determines which device the server boots the operating system from when it is turned on. Security and boot selections are used to ensure that the operating system is booted from a trusted source. This places higher requirements on users to master BIOS configurations in different scenarios.
[0036] In addition, querying the configuration statement from the technical support website provided by the server manufacturer will increase the user's workload to a certain extent, increase the configuration time, and affect the user experience.
[0037] In view of the above problems, an embodiment of the present application provides a BIOS configuration method. The BMC determines the target scenario expected by the user by using the similarity between the data to be configured and the recommended configuration data of each scenario in the scenario configuration recommendation table. Then, the recommended configuration data of the target scenario is obtained from the scenario configuration recommendation table, and the BIOS is configured using the recommended configuration data of the target scenario expected by the user. In this way, the BIOS can be accurately configured without relying on the user's knowledge of the BIOS configuration data of different scenarios. And the user does not need to spend a lot of time to memorize the configuration data of the BIOS configuration of various scenarios, and the user does not need to query the configuration statement from the technical support website provided by the server manufacturer, which helps to improve work efficiency, reduce configuration time, and improve user experience.
[0038] The following is a detailed description of the configuration method of the system provided by the embodiment of the present application in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0039] Embodiment 1
[0040] The BIOS configuration method provided in the embodiment of the present application can be applied to a server including a BMC, and the server is not limited to the type of server, for example, the server can be a rack server or an edge server. Figure 2A schematic diagram of the structure of a server provided in an embodiment of the present application, wherein the server 200 includes a BMC 201 and a first BIOS 202, and the BMC 201 communicates with the first BIOS 202 via an Intelligent Platform Management Interface (IPMI) bus to configure the first BIOS 202.
[0041] In the embodiment of the present application, the BMC 201 obtains the data to be configured of the first BIOS 202. The data to be configured indicates the data that the user expects to configure corresponding to the configuration item. The data to be configured of the first BIOS 202 may be the configuration data that the user expects to configure corresponding to one configuration item, or may be the configuration data that the user expects to configure corresponding to multiple configuration items. The multiple indicates a number greater than or equal to 2.
[0042] BMC 201 pre-stores a scenario configuration recommendation table. The scenario configuration recommendation table includes optimal configuration data corresponding to different scenarios. If the first BIOS 202 is configured according to the optimal configuration data, it can avoid configuring some of the first BIOS 202 configuration data too large, which will cause the server's operating system to be unstable, or configuring some of the first BIOS 202 configuration data too conservatively, resulting in the problem of being unable to exert hardware performance, thereby improving the performance and stability of the server. Based on the similarity between the recommended configuration data of each scenario in the scenario configuration recommendation table and the data to be configured, BMC 201 can determine the adaptability of each scenario to the scenario embodied by the data to be configured, thereby determining the target scenario expected by the user. Finally, BMC 201 configures the first BIOS 202 using the recommended configuration data of the target scenario in the scenario configuration recommendation table.
[0043] That is, BMC 201 introduces a scenario configuration recommendation table, which includes different recommended configuration data corresponding to different scenarios. When BMC 201 determines the target scenario, it can configure the first BIOS 202 based on the recommended data of the target scenario in the scenario configuration recommendation table. In other words, this method does not need to rely on the user's knowledge of the first BIOS 202 configuration data of different scenarios. In other words, even if the user does not understand the scenario of the server that needs to be optimized, the first BIOS 202 can be configured based on the recommended configuration data of the scenario that already exists in the scenario configuration recommendation table. That is, the embodiment of the present application can effectively avoid the technical problems of over-adjusting some of the first BIOS 202 configuration data or adjusting some of the first BIOS 202 configuration data to a small extent, thereby improving the accuracy of adjusting the first BIOS 202 configuration data, and then improving the stability and performance of the server.
[0044] Attached Figure 3 A flow chart of a system configuration method provided in an embodiment of the present application, the method is applied to the attached Figure 2 In the server 200 shown, it is specifically applied on the BMC 201 of the server 200. The method comprises the following steps:
[0045] S310 , obtaining the to-be-configured data of the first BIOS 202 .
[0046] The data to be configured is data that the user has configured for the first BIOS 202 at the current moment but has not yet taken effect. The data to be configured is a general term for a type of data, which can be data input or modified by the user when configuring the first BIOS 202 in the first BIOS 202 configuration interface, or can be all data in the first BIOS 202 configuration interface, which is not specifically limited in the embodiment of the present application.
[0047] The BMC 201 may obtain the to-be-configured data of the first BIOS 202 in a variety of ways.
[0048] In one example, the BMC has built-in image character recognition technology. The BMC uses image character recognition technology to identify the configuration data of the first BIOS 202 configuration interface, and uses the identified configuration data as the data to be configured. Specifically, when the user modifies or enters the data of the configuration item in the first BIOS 202 configuration interface, the BMC 201 collects the configuration picture based on the preset interval. Among them, the configuration picture is the picture corresponding to the first BIOS 202 configuration interface at the time of collection. The preset interval is the collection time interval set by those skilled in the art as needed, for example, the preset interval is 5ms, 10ms, 1s, etc.
[0049] BMC 201 performs preprocessing on the collected configuration pictures, specifically including image graying, binarization, denoising, filtering, edge detection, etc. The preprocessed configuration pictures have high picture quality, which is conducive to improving the accuracy of subsequent character recognition. Next, BMC 201 performs text detection on the preprocessed configuration pictures to locate the text area and text position in the picture. Then BMC 201 uses image processing techniques such as edge detection or contour tracking to extract the character image in the picture. Finally, BMC 201 extracts the features of the character image, and compares the extracted features with the character modules in the template library to obtain the data to be configured. In the embodiment of the present application, the image character recognition technology can be used to accurately identify the text information in the image and obtain the data to be configured for each frame of the configuration picture.
[0050] In order to avoid missing the configuration data of the first BIOS 202 configuration interface, BMC 201 can save the configuration image corresponding to each frame of the first BIOS 202 configuration interface operated by the user. Then BMC 201 uses image character recognition technology to identify each frame of the configuration image, thereby obtaining the data to be configured. In addition, considering that each frame of the configuration image is identified, there may be repeated data to be configured, and the embodiment of the present application deletes the same data to be configured by clustering. And considering that the same configuration items exist in different configuration images, but the configuration data corresponding to the configuration items are different, BMC201 will overwrite the configuration data in the pre-processed configuration image with the configuration data in the post-processed configuration image, so as to ensure that the acquired data to be configured does not omit the data of the configuration items in the first BIOS 202 configuration interface.
[0051] In another example, the user completes modifying or inputting the data of the configuration item in the first BIOS 202 configuration interface, and triggers the configuration completion operation. In response to receiving the configuration completion, the BMC 201 notifies the first BIOS 202 to obtain the configuration data of the first BIOS 202 configuration interface. After receiving the notification instruction, the first BIOS 202 obtains the configuration data of the first BIOS 202 configuration interface from the BMC 201, and sends the data as the data to be configured to the BMC 201. The embodiment of the present application does not require the BMC 201 to provide a special image character recognition technology to identify the data to be configured, and does not need to collect each frame of the configuration picture for storage, so it helps to reduce the memory resource loss of the BMC 201.
[0052] The BMC 201 may also obtain the to-be-configured data of the first BIOS 202 in other ways, which are not specifically limited in the embodiment of the present application.
[0053] S320: Determine a target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured.
[0054] The scenario configuration recommendation table is a table pre-stored in the BMC 201, which includes recommended configuration data for multiple scenarios. The recommended configuration data for each scenario is obtained after summarizing the existing usage data. Among them, the recommended configuration data for one scenario indicates the best configuration data for configuring the first BIOS 202 in the scenario. That is, in the scenario, the BMC 201 uses the recommended configuration data for the scenario in the scenario configuration recommendation table to configure the first BIOS 202, which will not affect the operating performance of the server and can fully discover the hardware performance in the server.
[0055] It should be noted that in the embodiment of the present application, the recommended configuration data of one scenario does not indicate one data, but refers to a set of multiple configuration data that need to be configured for the first BIOS 202 in the scenario. For example, the recommended configuration data includes data of multiple configuration items, and one configuration item can also be called one attribute. In the embodiment of the present application, attribute 1, attribute 2, ..., attribute n are used to represent different attribute data respectively. Where n is an integer greater than 2.
[0056] In the embodiment of the present application, the multiple scenarios are multiple scenarios obtained by dividing the use environment of the server based on preset rules. For example, the use environment of the server can be divided based on performance to obtain a high energy efficiency (i.e., Efficiency) scenario, a high performance (i.e., Performance) scenario, and a load balancing (i.e., Load Balance) scenario.
[0057] Exemplary description: Table 1 is a scenario configuration recommendation table provided in an embodiment of the present application. Table 1 uses scenario 1, scenario 2, ..., scenario n to represent different scenarios.
[0058] Table 1
[0059]
[0060]
[0061] Among them, the data corresponding to different attributes of scene 1 are: the data corresponding to attribute 1 is X 11 , the data corresponding to attribute 2 is X 12 , ..., the data corresponding to attribute n is X 1n The different attribute data corresponding to scene 2 are: the data corresponding to attribute 1 is X 21 , the data corresponding to attribute 2 is X 22 , ..., the data corresponding to attribute n is X 2n ……. The different attribute data corresponding to scene n are: the data corresponding to attribute 1 is Xn1, the data corresponding to attribute 2 is Xn2, ..., the data corresponding to attribute n is Xnn.
[0062] In addition, with the development of technology, the application scenarios of the server are also constantly updated. In order to ensure that the scenario configuration recommendation table meets the current development needs, the scenario configuration recommendation table can be updated. For example, BMC 201 can delete unnecessary scenes and recommended configuration data of the scenes in the scenario configuration recommendation table, and can also add new scenes and recommended configuration data of new scenes. In one example, an embodiment of the present application provides a modification interface, and a user can modify the scenes in the scenario configuration recommendation table and the recommended configuration data corresponding to the scenes in the modification interface. New scenes and recommended configuration data corresponding to new scenes can be added, or existing scenes or recommended configuration data corresponding to existing scenes can be deleted. In another example, an embodiment of the present application provides a command line, and a user can update the scenario configuration recommendation table based on the modified command line. Thus, the user can modify the scenario configuration recommendation table based on the modification interface or command line, which has strong ease of use and flexibility, and can enhance the user experience.
[0063] In the embodiment of the present application, BMC 201 can obtain the recommended configuration data of at least one scene from the scene configuration recommendation table. Among them, BMC 201 can obtain the recommended configuration data of the scene by a preset trigger mode, or can obtain the recommended configuration data of the scene based on a preset condition, for example, the preset condition is a target scene, and BMC 201 can read the recommended configuration data of the target scene through the target scene. The embodiment of the present application is not specifically limited.
[0064] In an embodiment of the present application, BMC 201 determines the target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured. Wherein, the target scene is the scene in which the user expects the server to work. BMC201 determines the target scene based on the similarity, that is, determines the target scene by using the degree of fit between each scene and the scene represented by the data to be configured (referred to as the current scene). It is understandable that the higher the similarity between the scene in the scene configuration recommendation table and the current scene, the higher the degree of fit. Therefore, by using the similarity to determine the target scene, the target scene corresponding to the current scene can be effectively determined.
[0065] In one example, BMC 201 may use the scene with the highest scene similarity as the target scene based on the similarity of each scene in the scene configuration recommendation table. The scene similarity is an abbreviation for the similarity between the recommended configuration data of the scene and the data to be configured. It is understandable that the highest similarity of the scene indicates that the scene is more compatible with the current scene, so the determined target scene can better reflect the user's needs.
[0066] The following introduces various methods of determining similarity by taking the scenario configuration recommendation as shown in Table 1 and the data to be configured as shown in Table 2 as an example. Table 2 is a data to be configured provided by an embodiment of the present application, wherein the data to be configured is attribute data of each attribute in the current scenario.
[0067] Table 2
[0068] Property 1 Property 2 …… Attribute Current scene <![CDATA[Y1]]> <![CDATA[Y2]]> …… <![CDATA[Y n ]]>
[0069] Example 1: BMC 201 calculates the cosine similarity between the data to be configured and the recommended configuration data of each scenario in the scenario configuration recommendation table, and determines the similarity between the recommended configuration data of each scenario and the data to be configured. Specifically, the first attribute vector corresponding to scenario 1 is a1=(X 11 , X 12 , ..., X 1n ), the second attribute vector corresponding to scene 2 is a2=(X 21 , X 22 , ..., X 2n ), ..., the nth attribute vector corresponding to scene n is an = (Xn1, X 12 , ..., X 1n ), the target attribute vector corresponding to the current scene is y = (Y1, Y2, ..., Y n ). Based on the cosine similarity calculation formula, a first similarity cos1 between the first attribute vector and the target attribute vector, a second similarity cos2 between the second attribute vector and the target attribute vector, ..., an nth similarity cosn between the nth attribute vector and the target attribute vector are obtained.
[0070] Example 2: However, considering that cosine similarity has no scale dependence, that is, as long as the directions of the two vectors are the same, the cosine similarity will be very high, regardless of the difference in vector length, which leads to low accuracy of the similarity of each scene in the scene configuration recommendation table determined by cosine similarity. In view of this, BMC 201 determines the similarity of each scene in the scene configuration recommendation table by calculating the Euclidean distance (referred to as the first Euclidean distance) between the recommended configuration data and the data to be configured for each scene in the scene recommendation table. Specifically, the first Euclidean distance A1 between scene 1 and the current scene, the first Euclidean distance A2 between scene 2 and the current scene, ..., the Euclidean distance An between scene n and the current scene are calculated.
[0071] A1=(X 11 -Y1) 2 +(X 12 -Y2) 2 +…+(X 1n -Y n ) 2 (1)
[0072] A2=(X 21 -Y1) 2 +(X 22 -Y2) 2 +…+(X 2n -Y n ) 2 (2)
[0073] …
[0074] A1=(X n1 -Y1) 2 +(X n2 -Y2) 2 +…+(X nn -Y n ) 2 (3)
[0075] That is, if the recommended configuration data of each scene includes multiple attributes, when calculating the first Euclidean distance of each scene, the second Euclidean distance between two configuration data of the same attribute is first calculated, and the squares of multiple second Euclidean distances are accumulated, and the square root of the accumulated result is taken as the first Euclidean distance.
[0076] Next, BMC 201 determines the similarity of each scene using the similarity of each scene in the scene recommendation configuration table and the negative correlation between the first Euclidean distance of each scene. The negative correlation indicates that the larger the Euclidean distance, the smaller the similarity. The smaller the Euclidean distance, the greater the similarity.
[0077] In addition, BMC 201 may also determine the similarity between the recommended configuration data and the data to be configured for each scenario in the scenario recommended configuration table by other methods, such as calculating the similarity between the recommended configuration data and the data to be configured based on Jaccard similarity, which is not specifically limited in the embodiment of the present application.
[0078] In another example, BMC 201 outputs the matching degree of each scene in the scene configuration recommendation table and displays it in the first BIOS 202 configuration interface. Specifically, the matching degree of each scene, also known as the score of each scene, indicates the recommendation level of each scene. In the embodiment of the present application, the score of each scene is positively correlated with the similarity of each scene, that is, the greater the similarity of each scene, the greater the score, and the smaller the similarity, the greater the score. Figure 4 Schematic diagram of a first BIOS 202 configuration interface provided in an embodiment of the present application. The first BIOS 202 configuration interface displays the scores of each scenario. Thus, the user can intuitively understand the scores of each scenario, that is, the adaptability of each scenario. Figure 4The score of the displayed scene 1 is a1, the score of scene 2 is a2, the score of scene 3 is a3, ..., and the score of scene n is an, wherein a1<a2<a3<...<an.
[0079] In the embodiment of the present application, the user can perform a trigger operation in the first BIOS 202 interface and use the scene corresponding to the trigger operation as the target scene. Figure 4 , the user can select scene 1 and use scene 1 as the target scene. For example, the user can click on scene 1 and click on the "confirm" button, and the BMC 201 determines the target scene.
[0080] Therefore, through the first BIOS 202 configuration interface, the BMC can interact with the user, follow the user's opinions, and adaptively determine the target scenario, thereby configuring the first BIOS 202 using the recommended configuration data corresponding to the target scenario. The configuration result can better meet the user's needs, thereby helping to further improve the user experience and improve the configuration accuracy.
[0081] Furthermore, the BMC 201 arranges the scores of the various scenarios in order from small to large or from large to small, and outputs the scores of the various scenarios after the order is arranged, so as to display the scores after the order is arranged on the BIOS configuration interface. Figure 5 A display diagram of a first BIOS 202 configuration interface provided in an embodiment of the present application. The scores of various scenes arranged in sequence are displayed in the first BIOS 202 configuration interface. Thus, the user can intuitively understand which scenes are more suitable for the current scene, thereby further improving the user experience.
[0082] It should be noted that if there are identical scores among the scores of the various scenes obtained, the scenes with identical scores can be arranged based on preset rules. For example, the preset rules can arrange scenes with more previous uses in the front and scenes with fewer previous uses in the back. For example, the preset rules can arrange the scenes in alphabetical order, etc., which is not specifically limited in the embodiments of the present application.
[0083] S330: Configure the first BIOS 202 using the recommended configuration data of the target scenario in the scenario configuration recommendation table.
[0084] After the BMC 201 determines the target scenario, it can obtain the recommended configuration data of the target scenario from the scenario configuration recommendation table, and use the recommended configuration data to configure the first BIOS 202. Since the target scenario is the scenario expected by the user, configuring the first BIOS 202 with the recommended configuration data of the target scenario can better meet the needs of the user.
[0085] The following describes how to configure the first BIOS 202 according to the recommended configuration of the target scenario.
[0086] In one case, after the BMC 201 obtains the recommended configuration data of the target scenario, it can use the position correspondence between each attribute in the pre-stored scenario configuration recommendation table and the configuration selection items of the first BIOS 202 configuration interface to send the recommended configuration data of the target scenario to the configuration items of the first BIOS 202 configuration interface, thereby configuring the first BIOS 202. Thus, the BMC 201 can use the position correspondence to automatically send the recommended configuration data of the target scenario to the configuration items of the first BIOS 202 configuration interface, make precise adjustments, and thus achieve precise configuration of the first BIOS 202.
[0087] In another case, the first BIOS 202 configuration interface displays a one-key sending function. After the user triggers the one-key sending function, the BMC can send all recommended configuration data to the configuration items of the first BIOS 202 configuration interface based on the position correspondence between each attribute in the available pre-stored scenario configuration recommendation table and the configuration selection items of the first BIOS 202 configuration interface, thereby realizing the configuration of the first BIOS 202, thereby improving the configuration speed.
[0088] In another case, the first BIOS 202 configuration interface displays the recommended configuration data in the target scenario. The user can modify the recommended configuration data. After the user has modified the recommended configuration data, all the recommended configuration data in the target scenario displayed in the first BIOS 202 configuration interface can be sent to the configuration items of the first BIOS 202 configuration interface based on the one-key sending function of the configuration interface to implement the configuration of the first BIOS 202, thereby further improving the configuration accuracy of the first BIOS 202 configuration and enhancing the user experience.
[0089] In addition, the embodiment of the present application may also configure the first BIOS 202 in other ways, which are not specifically limited in the embodiment of the present application.
[0090] In summary, BMC 201 introduces a scenario configuration recommendation table, which includes different recommended configuration data corresponding to different scenarios. When BMC 201 determines the target scenario, the BIOS can be configured based on the recommended data of the target scenario in the scenario configuration recommendation table. In other words, this method does not need to rely on the user's knowledge of the BIOS configuration data of different scenarios. In other words, even if the user does not understand the scenario of the server that needs to be optimized, the BIOS can be configured based on the recommended configuration data of the scenario that already exists in the scenario configuration recommendation table. That is, the embodiment of the present application can effectively avoid the technical problems of over-adjusting certain BIOS configuration data or adjusting certain BIOS configuration data to a small extent, thereby improving the accuracy of adjusting the BIOS configuration data, and then improving the stability of the server's operating system and hardware performance.
[0091] Embodiment 2
[0092] In addition, the BMC provided in the embodiment of the present application can not only configure the BIOS of the server where the BMC is located, but also configure the BIOS of the server where the BMC is not located but is monitored by the BMC. Figure 6 A schematic diagram of another server architecture provided in an embodiment of the present application. The server 200 includes a BMC 201, and the BMC 201 is used to configure and manage a second BIOS 501 of another server. The BMC 201 includes a multi-computer switch (Keyboard Video Mouse, KVM) 201-1, a scoring processor 201-2 and a BIOS manager 201-3.
[0093] The KVM 201-1 is connected to the scoring processor 201-2, so that the scoring processor 201-2 can obtain the data to be configured. Alternatively, the KVM 201-1 communicates with the second BIOS 501, so that the second BIOS 501 can obtain the data to be configured, and the second BIOS 501 communicates with the scoring processor 201-2, so as to send the data to be configured to the scoring processor 201-2.
[0094] KVM refers to the user using the local video, keyboard, and mouse on the client to monitor and control the remote device, and provides a management method for real-time operation of remote devices. In the embodiment of the present application, the BMC modifies the BIOS through KVM, and can configure the BIOS on the same server as the BMC, or configure the BIOS on a different server. It should be noted that the BIOS on a server other than the BMC communicates with the BMC. That is, in the embodiment of the present application, the BIOS can be remotely managed through KVM, that is, the BMC can remotely configure the BIOS on a server other than the BMC.
[0095] The scoring processor 201-2 is used to process the configuration data and determine the target scene. Figure 7 A schematic diagram of a method for a scoring processor to determine a target scene provided in an embodiment of the present application. Specifically, the data to be configured is input into the scoring processor 201-2. The scoring processor 201-2 compares the data to be configured with the optimal configuration data (i.e., the recommended configuration data) of each scene in the scene configuration recommendation table to determine the similarity of each scene. The specific processing method is described in step S320 and will not be discussed here. Then, the scoring processor 201-2 determines the score of each scene based on the similarity of each scene. Among them, the higher the similarity, the higher the score. Then the scoring processor 201-2 arranges the scores of each scene in order from large to small, and outputs them to the BIOS configuration interface, and displays the scores of each scene on the BIOS configuration interface. Among them, the attached Figure 6 A BIOS configuration interface is also shown in the figure, which shows that the score in the Efficiency scenario is 66%, the score in the Performance scenario is 22%, the score in the Load Balance scenario is 11%, and so on. Thus, the user can intuitively view the scenario that best matches the data to be configured, and trigger the target scenario based on the BIOS configuration interface. Among them, the target scenario can be the Efficiency scenario that best matches the data to be configured, or it can be other scenarios, such as the Load Balance scenario. Thus, BMC 201 can obtain the target scenario expected by the user, and configure the BIOS based on the recommended configuration data corresponding to the target scenario, so that the configuration result of the BIOS can better reflect the user's needs.
[0096] The BIOS manager 201-3 performs BIOS configuration. For example, after the BIOS manager 201-3 obtains the recommended configuration data of the target scenario, it sends the recommended configuration data to the second BIOS 501 to configure the second BIOS 501. The BIOS manager 201-3 triggers the second BIOS 501 to restart so that the BIOS configuration result takes effect.
[0097] Therefore, BMC 201 can monitor the BIOS in the same server as BMC 201 or the BIOS in a different server from BMC 201 through KVM. In addition, the scoring processor is used to analyze the data to be configured input by the user, and the recommended configuration data of the target scenario most suitable for the data to be configured is selected to configure the BIOS. Therefore, the scoring processor can receive the data to be configured obtained by KVM, and can also obtain the data to be configured from BIOS, which is more flexible.
[0098] The following is combined with Fig. 8A and attached Figure 8B The BIOS configuration method provided in the embodiment of the present application is described.
[0099] Attached Fig. 8A Another BIOS configuration method interaction diagram provided in the embodiment of the present application. The method is applied in the attached Figure 6 In the embodiment, the method comprises the following steps:
[0100] S810. The user modifies relevant configurations in the BIOS configuration interface through KVM.
[0101] In the embodiment of the present application, the user can remotely log in to the BIOS configuration interface of the target server connected to the server 200 based on the KVM 201-1, and remotely configure the second BIOS 501 of the target server. Specifically, during the boot process of the target server, the user presses a preset key on the server 200, such as the delete key, the F2 key, etc., to enter the BIOS configuration interface of the target server. The BIOS configuration interface includes a menu interface of various configuration items, and the user can configure various configuration items in the BIOS configuration interface. For specific methods of modifying the configuration, see the attached Figure 1 Therefore, the user can modify the relevant configuration of the BIOS configuration interface of the target server through KVM.
[0102] S820. During the modification process, the KVM uses image character recognition software to obtain the modified configuration.
[0103] Image character recognition software refers to software that includes image character recognition technology (see step S310 for details, which will not be discussed here). During the modification process, KVM 201-1 uses the image character recognition software to obtain the modified configuration. For example, the BIOS configuration interface displays the image character recognition software, and the user can manually open the image character recognition software to obtain the modified configuration. Or when the user performs a modification operation in the BIOS configuration interface, KVM 201-1 directly opens the image character recognition software to obtain the modified configuration.
[0104] S830. The KVM uses image character recognition software to recognize when the user has completed the modification and attempted to save the configuration, and sends the acquired current configuration to the scoring processor.
[0105] The time when the user completes the modification and attempts to save refers to the time when the user has completed the modification of the relevant configuration items on the BIOS configuration interface but has not yet saved, that is, the time when the BIOS configuration has not yet taken effect.
[0106] In the embodiment of the present application, KVM 201-1 can pre-set the moment when the user modifies and attempts to save. For example, KVM 201-1 uses image character recognition software to recognize the moment when the user's mouse falls on the "Save" button, and uses this moment as the moment when the user has completed the modification and attempted to save. Or KVM 201-1 uses image character recognition software to recognize that the configuration items in the BIOS configuration interface have not changed within the target time length, and uses this moment as the moment when the user has completed the modification and attempted to save. Or the BIOS configuration interface sets a preset completion button, and when the user triggers the preset completion button, the triggering moment is the moment when the user has completed the modification and attempted to save.
[0107] When KVM 201 - 1 recognizes that the user has completed the modification and attempted to save, it sends the acquired current configuration (ie, the data to be configured) to the scoring processor.
[0108] S840: The scoring processor outputs the most matching scene under the current configuration and displays all available scenes.
[0109] That is, the scoring processor 201-2 calculates the score based on the attached Figure 7 The method shown is used to obtain the degree of match between the current configuration and each scenario in the scenario configuration recommendation table (i.e., the score of each scenario), and the most matching scenario (i.e., the scenario with the highest score) under the current configuration is displayed on the BIOS configuration interface in descending order of the score value, and all available scenarios and the scores of the available scenarios are displayed.
[0110] S850: The scoring processor responds to the target scene selected by the user and obtains optimal configuration data under the target scene.
[0111] The user can select a desired scene in the BIOS configuration interface and use the scene as the target scene. Specifically, the user clicks the desired scene, or the user double-clicks the desired scene, or the user selects the desired scene by voice or the like. The embodiments of the present application are not specifically limited.
[0112] The scoring processor 201 - 2 responds to the target scene selected by the user and obtains the best configuration data (ie, recommended configuration data) under the target scene from the scene configuration recommendation table, thereby making the obtained target scene meet the user's needs.
[0113] In one possible manner, if the user does not make any selection within the first preset time, the scoring processor 201-2 adaptively selects the scene with the highest score as the target scene, and obtains the target scene from the scene configuration recommendation table, thereby avoiding the problem that the user does not make any selection for a long time, resulting in the BIOS configuration not being executed for a long time, thereby affecting the BIOS configuration efficiency.
[0114] S860: The scoring processor sends the optimal configuration data in the target scenario to the BIOS manager.
[0115] In the embodiment of the present application, after the scoring processor 201-2 obtains the optimal configuration data in the target scenario, it sends the optimal configuration data in the target scenario to the BIOS manager 201-3, and the BIOS manager 201-3 configures the BIOS using the optimal configuration data in the target scenario.
[0116] S870, BIOS Manager sends the best configuration data to BIOS with one click.
[0117] Specifically, the BIOS manager 201-3 sends the optimal configuration data of the target scenario to the BIOS with one click. In the embodiment of the present application, the BIOS configuration interface displays a one-click send button, and the user can trigger the one-click send button. The BIOS manager 201-3 receives the operation of the trigger button and sends the optimal configuration data to the configuration item of the BIOS configuration interface with one click.
[0118] It is understandable that the BIOS manager 201-3 stores the position correspondence between the optimal configuration data and the configuration items of the BIOS configuration interface. After receiving the optimal configuration data, the BIOS manager 201-3 sends the optimal configuration data to the configuration items of the BIOS configuration interface with one click based on the position correspondence.
[0119] S880: After the BIOS manager is issued, the BIOS restart is triggered to complete the BIOS configuration.
[0120] After the BIOS manager 201 - 3 sends the optimal configuration data, it directly triggers the BIOS restart to complete the BIOS configuration.
[0121] In summary, in the embodiment of the present application, the scoring processor receives the data to be configured acquired by the KVM, evaluates the data to be configured, confirms the user's desired scenario, and gives corresponding evaluations and suggestions. At the same time, the scene selected by the user is received and the scene is used as the target scene, thereby improving the registration accuracy. In addition, the embodiment of the present application also provides a one-key send button in the BIOS configuration interface, and the user can trigger the one-key send button to send the recommended configuration data of the target scene to the configuration item of the BIOS configuration interface. Thus, the configuration speed is improved.
[0122] Attached Figure 8B Another BIOS configuration method interaction diagram provided in the embodiment of the present application is applied in the attached Figure 5 In the embodiment, the method comprises the following steps:
[0123] S910. The user modifies relevant configurations in the BIOS configuration interface through KVM.
[0124] After the user modifies the relevant configuration in the BIOS configuration interface through the KVM, the KVM sends a notification instruction to the second BIOS 501, notifying the second BIOS 501 that the modification is completed. Specifically, the user triggers the "Save" button, and the KVM sends a notification instruction to the second BIOS 501, notifying the second BIOS 501 that the modification is completed. The second BIOS 501 obtains the modified relevant configuration from the storage area corresponding to the KVM 201-1.
[0125] S920: After the user completes the modification and saves the modification, the BIOS sends the configuration information modified by the user to the scoring processor of the BMC.
[0126] In the embodiment of the present application, after the user completes the modification and saves it, the second BIOS 501 obtains the configuration information modified by the user (i.e., the data to be configured), and sends the obtained data to be configured to the scoring processor 201-2 of the BMC through the IPMI bus. As a result, the BMC does not need to collect the BIOS configuration interface, and does not need to have built-in image character recognition software, which helps to save the memory of the BMC and improve the processing efficiency of the BMC.
[0127] S930: The scoring processor outputs the most matching scene under the current configuration and displays all available scenes.
[0128] S940: The scoring processor responds to the target scene selected by the user and obtains optimal configuration data under the target scene.
[0129] S950: The scoring processor sends the optimal configuration data in the target scenario to the BIOS manager.
[0130] S960, BIOS manager sends the best configuration data to BIOS with one click.
[0131] S970: After the BIOS manager is issued, the BIOS restart is triggered to complete the BIOS configuration.
[0132] Among them, step S910 is the same as S810, and steps S930 to S970 are the same as steps S840 to S880.
[0133] Therefore, the embodiment of the present application does not require the BMC to carry image character recognition software for collecting the BIOS configuration interface and performing image character recognition on the BIOS configuration interface. It only needs to directly receive the data to be configured sent by the BIOS, which reduces the amount of modification to the BMC and is conducive to improving work efficiency.
[0134] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions in the embodiments of the present application are generated.
[0135] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a magnetic disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
[0136] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.
Claims
1. A BIOS configuration method, characterized in that: Applied to a baseboard management controller BMC, the BMC is used to communicate with BIOS, the method includes: Obtaining the data to be configured of the BIOS; Determine a target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured; the scene configuration recommendation table includes recommended configuration data corresponding to at least one scene, and the at least one scene includes the target scene; The BIOS is configured using the recommended configuration data of the target scenario in the scenario configuration recommendation table.
2. The method according to claim 1, characterized in that: The determining the target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured includes: The scene corresponding to the greatest similarity is screened out from the similarities between the recommended configuration data of the various scenes and the data to be configured; and the scene corresponding to the greatest similarity is used as the target scene.
3. The method according to claim 1, characterized in that: The determining the target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured includes: Based on the similarity between the recommended configuration data of each scenario and the data to be configured, determining the matching degree between each scenario and the data to be configured; the matching degree of each scenario is positively correlated with the similarity of each scenario; Outputting the matching degree of each of the scenarios to be displayed on the BIOS configuration interface; In response to receiving a trigger operation in the BIOS configuration interface, determining the target scene according to the scene corresponding to the trigger operation; the trigger operation indicates an operation of triggering one of the scenes in the BIOS configuration interface.
4. The method according to claim 3, characterized in that: In response to receiving a trigger operation on the BIOS configuration interface, determining the target scene according to a scene corresponding to the trigger operation includes: Within a first preset time period, in response to receiving a trigger operation on the BIOS configuration interface, determining the target scene as a scene corresponding to the trigger operation; The method further includes: if no trigger operation is received in the BIOS configuration interface within the first preset time period, determining the scene with the highest matching degree among the scenes as the target scene.
5. The method according to claim 3 or 4, characterized in that: Before outputting the matching degree of each scenario for display on the BIOS configuration interface, the method further includes: Arranging the matching degrees of the scenes in order based on the matching degree from small to large or from large to small; Outputting the matching degree of each scenario to display it on the BIOS configuration interface includes: The matching degree of each scene arranged in sequence is output to the BIOS configuration interface to be displayed on the BIOS configuration interface.
6. The method according to claim 1, characterized in that: Before determining the target scene based on the similarity between the recommended configuration data of each scene in the scene configuration recommendation table and the data to be configured, the method further includes: Determine a first Euclidean distance between the recommended configuration data of each scenario and the data to be configured; The similarity of each scene is determined according to the first Euclidean distance of each scene; the similarity of each scene is positively correlated with the first Euclidean distance of each scene.
7. The method according to claim 6, characterized in that: The data to be configured includes attribute data to be configured of a plurality of configuration items, and the determining of a first Euclidean distance between the recommended configuration data for each scenario and the data to be configured includes: Determine a second Euclidean distance of the plurality of configuration items of each of the scenarios; the second Euclidean distance indicates a Euclidean distance between recommended attribute data of the configuration item and attribute data to be configured; The square sums of the second Euclidean distances of the multiple configuration items of each scene are accumulated, and the accumulated sums are squared to obtain the first Euclidean distances of the respective scenes.
8. The method according to any one of claims 1 to 7, characterized in that: The configuring the BIOS using the recommended configuration data of the target scenario in the scenario configuration recommendation includes: In response to triggering an operation on a one-key sending function of a BIOS configuration interface of the BIOS, the BIOS is simultaneously configured using the recommended configuration data of the target scenario.
9. The method according to any one of claims 1 to 7, characterized in that: The obtaining of the to-be-configured data of the BIOS includes: If the configuration data of the BIOS is modified in the BIOS configuration interface corresponding to the KVM of the BMC, the modified configuration data of the BIOS is identified by using image character recognition technology; Alternatively, in response to triggering a configuration completion operation in a BIOS configuration interface corresponding to the KVM, receiving modified BIOS configuration data sent by the BIOS; The modified configuration data of the BIOS is used as the data to be configured.
10. A server, characterized in that: The server includes a BMC; the BMC is used to implement the BIOS configuration method according to any one of claims 1-9.
Citation Information
Cited By
Substrate management controller adaptation method, device, equipment and medium
CN120371412A
Baseboard management controller adaptation method, device, equipment and medium
CN120371412B
Firmware configuration method and device, equipment and medium
CN120560747A
