Data processing method and device, electronic equipment, storage medium and program product

By passing identifiers between the BIOS and the substrate management controller, determining whether to retain the target device manufacturer parameters, the problem of extended boot time during BIOS in-band refresh in the prior art is solved, and a faster BIOS configuration and boot process is achieved.

CN119902810AActive Publication Date: 2025-04-29INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510376566.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-04-29
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

The prior art needs to retain the original equipment manufacturer parameters when refreshing in BIOS band, resulting in an extended boot time, and without the need to retain the parameters, the acquisition operation will increase the boot time.

Method used

By passing an identifier between the BIOS and the substrate management controller, it is determined whether to retain the target device manufacturer parameters. If retained, it is stored in the substrate management controller. The BIOS is configured based on the target device manufacturer parameters at the next startup, and if not retained, it is configured directly based on the default parameters.

Benefits of technology

By adding the steps to obtain identifiers, the boot time when BIOS configuration is directly based on the default parameters is shortened, the BIOS refresh process is optimized, and the boot time is saved by at least 30 seconds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902810A_ABST
    Figure CN119902810A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, electronic equipment, a storage medium and a program product, which are applied to the technical field of computers, and the method comprises the following steps: starting a basic input and output system (BIOS), and in response to a first identifier obtained from a baseboard management controller (BMC), representing and reserving a target equipment manufacturer parameter, if yes, the target equipment manufacturer parameters and a second identifier are sent to a substrate management controller; restarting the basic input and output system, and obtaining a target equipment manufacturer parameter from the substrate management controller in response to the fact that a second identifier obtained from the substrate management controller represents that the target equipment manufacturer parameter is reserved; based on the target equipment manufacturer parameters, configuring the basic input and output system; in this way, the startup time in a BIOS configuration scene directly based on the default target device manufacturer parameters can be shortened by adding the step of obtaining the identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a data processing method, device, electronic device, storage medium, or program product. Background Art

[0002] In the prior art, the OEM parameters of the Basic Input Output System (BIOS) are stored in the Non-Volatile Random Access Memory (NVRAM). In the scenario of an out-of-band refresh version of the BIOS, the stored OEM parameters are obtained from the Baseboard Management Controller (BMC) each time the computer is powered on, and configuration is performed based on the obtained OEM parameters. However, in the scenario where the OEM parameters do not need to be retained, the obtaining operation will extend the boot time. Summary of the invention

[0003] The present disclosure provides a data processing method, device, electronic device, storage medium and program product to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, there is provided a data processing method, which is applied to a basic input and output system, and the method comprises: Starting the basic input and output system, in response to the first identifier obtained from the baseboard management controller representing the reserved target device manufacturer parameter, sending the target device manufacturer parameter and the second identifier to the baseboard management controller; Restarting the basic input and output system, and in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameter is retained, obtaining the target device manufacturer parameter from the baseboard management controller; Based on the target device manufacturer parameters, the basic input and output system is configured.

[0005] In the above solution, after configuring the basic input and output system, the method further includes: sending a third identifier to a baseboard management controller; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

[0006] In the above scheme, the method further comprises: In response to the first identifier obtained from the baseboard management controller indicating that the target device manufacturer parameter is not retained, sending a second identifier to the baseboard management controller; The second identifier is used to characterize the reserved first OEM parameter.

[0007] In the above scheme, the method further comprises: In response to the second identifier obtained from the baseboard management controller indicating that the target equipment manufacturer parameters are not retained, the basic input and output system is configured based on the first original equipment manufacturer parameters.

[0008] In the above solution, sending the target device manufacturer parameter and the second identifier to the baseboard management controller includes: Calling the first interface to obtain the target device manufacturer parameters stored in the first memory, encrypting the target device manufacturer parameters to obtain first encrypted data; Determine that the value of the second identifier is a first preset value; when the value of the second identifier is the first preset value, it indicates that the target device manufacturer parameters are retained; when the value of the second identifier is the second preset value, it indicates that the first original equipment manufacturer parameters are retained; Using the first encrypted data as a data header and the target device manufacturer parameters as a data body, the data header and the data body constitute a second original equipment manufacturer parameter; The second OEM parameter and the second identifier are sent to a baseboard management controller.

[0009] In the above solution, encrypting the target device manufacturer parameter to obtain the first encrypted data includes: The version of the target device manufacturer parameter, the target device manufacturer parameter and the first character string are encrypted based on an algorithm function to obtain first encrypted data.

[0010] In the above solution, in response to the second identifier obtained from the baseboard management controller representing the retention of the target device manufacturer parameter, obtaining the target device manufacturer parameter from the baseboard management controller includes: Acquire a second identifier from a baseboard management controller; In response to the second identifier obtained from the baseboard management controller representing the retention target device manufacturer parameter, obtaining first encrypted data from the baseboard management controller; confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on a first comparison result of the first encrypted data and the second encrypted data; The second encrypted data is obtained based on current original equipment manufacturer parameters of the basic input and output system.

[0011] In the above solution, the step of confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on the first comparison result between the first encrypted data and the second encrypted data includes: In response to the first encrypted data and the second encrypted data being the same, continuing to boot the basic input and output system.

[0012] In the above solution, the step of confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on the first comparison result between the first encrypted data and the second encrypted data includes one of the following: In response to the first encrypted data and the second encrypted data being different but having the same version, obtaining the target device manufacturer parameter from a baseboard management controller; In response to the first encrypted data and the second encrypted data being different and having different versions, comparing the items corresponding to the current original equipment manufacturer parameters with the items corresponding to the target equipment manufacturer parameters to obtain a second comparison result; In response to the second comparison result indicating that the first item exists in the target device manufacturer parameters but does not exist in the current original equipment manufacturer parameters, sending a first alarm message to the baseboard management controller; In response to the second comparison result including that the item corresponding to the current OEM parameter is the same as the item corresponding to the target OEM parameter, or the item corresponding to the current OEM parameter is greater than the item corresponding to the target OEM parameter, obtaining the target OEM parameter from the baseboard management controller; The target device manufacturer parameters are written into the first memory.

[0013] According to a second aspect of the present disclosure, a data processing method is provided, which is applied to a baseboard management controller, and the method includes: In response to a basic input / output system being started, sending a first identifier to the basic input / output system; In response to the first identifier representing the reserved target device manufacturer parameter, receiving the target device manufacturer parameter and the second identifier transmitted by the basic input and output system, and storing the target device manufacturer parameter in the second memory; In response to the substrate input and output system being started again, sending a second identifier to the substrate input and output system; In response to the second identifier representing the retention of target device manufacturer parameters, sending the target device manufacturer parameters to the basic input and output system; The target device manufacturer parameters are used to configure the basic input and output system.

[0014] In the above scheme, the method further comprises: receiving a third identifier sent by the basic input and output system; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

[0015] In the above solution, the step of receiving the target device manufacturer parameter and the second identifier transmitted by the basic input and output system includes: receiving a second OEM parameter transmitted by a basic input / output system with the first encrypted data as a data header and the target device manufacturer parameter as a data body; A second identifier is received.

[0016] In the above solution, the step of sending the target device manufacturer parameter to the basic input and output system includes: Sending first encrypted data; In response to the basic input and output system confirming that the target device manufacturer parameters are obtained from the baseboard management controller based on the first encrypted data, the target device manufacturer parameters are sent.

[0017] In the above solution, the first encrypted data is used to compare with the second encrypted data to obtain a first comparison result; The first comparison result is used by the basic input and output system to confirm whether to obtain the target device manufacturer parameters.

[0018] According to a third aspect of the present disclosure, there is provided a data processing method, comprising: Starting a basic input and output system, the baseboard management controller sending a first identifier to the basic input and output system; In response to the first identifier representing the retention of target device manufacturer parameters, the basic input and output system sends the target device manufacturer parameters and the second identifier to the baseboard management controller; Restarting the basic input and output system, the baseboard management controller sending a second identifier to the basic input and output system; In response to the second identifier representing the retention of target device manufacturer parameters, obtaining the target device manufacturer parameters from a baseboard management controller; Based on the target device manufacturer parameters, the basic input and output system is configured.

[0019] According to a fourth aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0020] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0021] According to a first aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the method described in the present disclosure when executed by a processor.

[0022] The data processing method provided by the present disclosure starts the basic input and output system, responds to the first identifier obtained from the baseboard management controller to indicate that the target device manufacturer parameters are retained, and then sends the target device manufacturer parameters and the second identifier to the baseboard management controller; starts the basic input and output system again, responds to the second identifier obtained from the baseboard management controller to indicate that the target device manufacturer parameters are retained, and then obtains the target device manufacturer parameters from the baseboard management controller; configures the basic input and output system based on the target device manufacturer parameters. After each BIOS startup, the identifier obtained from the BMC determines whether to retain the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that they can be configured based on the target device manufacturer parameters at the next startup; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario of directly configuring the BIOS based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which: In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0025] Figure 1 A first optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 2 A second optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 3 A third optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 4A fourth optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 5 A fifth optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 6 A sixth optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 7 A seventh optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Figure 8 An eighth optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Fig. 9 A ninth optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown; Fig.10 A first optional structural diagram of a data processing device provided by an embodiment of the present disclosure is shown; Fig.11 A second optional structural diagram of a data processing device provided by an embodiment of the present disclosure is shown; Fig.12 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0026] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0027] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0028] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0029] Unless otherwise defined, all technical and scientific terms used in this disclosure have the same meaning as those commonly understood by those skilled in the art to which this disclosure belongs. The terms used in this disclosure are only for the purpose of describing the embodiments of this disclosure and are not intended to limit this disclosure.

[0030] It should be understood that in the various embodiments of the present disclosure, the size of the serial number of each implementation process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.

[0031] During the server product development stage and after mass production, if you encounter some firmware problems or compatibility with new components, or upgrade the patch of the Central Processing Unit (CPU), you need to update the BIOS. In addition, during the development and testing stage, the BIOS itself needs to cover the compatibility of previous and later versions, and needs to support upgrades and downgrades and horizontal refreshes.

[0032] The BIOS refresh of the server is divided into in-band refresh and out-band refresh. In-band refresh refers to the operation of self-refresh of BIOS in a specific environment. Out-band refresh can be performed by the BMC end or by using a burner. The embodiment of the present disclosure aims to solve the problem of in-band refresh of BIOS.

[0033] BIOS in-band flashing requires direct flashing of BIOS in the Basic Input Output System Setup (BIOS Setup), Linux operating system (Linux), and Unified Extensible Firmware Interface shell (UEFI shell) environments. There are corresponding update items under Setup. To execute under Linux, you need to use the flash tool (tool) to grant administrator privileges. Under Linux, you can use the super user (root user) or super user execution (superuser do, sudo) to elevate to administrator privileges. After updating the BIOS, customers often do not want their original equipment manufacturer (OEM) settings to be changed, but hope that customized items can be retained after the update.

[0034] In the prior art, the BIOS in-band refresh includes the operation of directly flashing the BIOS in the BIOS Setup, Linux, and UEFI shell environments. The BIOS Setup project settings are stored in an area with a fixed offset in the ROM, which is the NVRAM, and it stores all project variables that the BIOS setup can see. When the BIOS is refreshed, this area is skipped when erasing and writing the updated version, thereby ensuring that the project settings of the updated version remain unchanged.

[0035] This method is applicable to the case where the platform initialization (PI) remains unchanged and there are no additions or deletions to the BIOS setup. It is often applicable to mature products that are close to mass production or have already been mass produced, and only involves upgrades to resolve some BIOS bug changes. However, if it involves, for example, the platform initialization code related to the CPU manufacturer, the CPU microcode, and some underlying driver FW updates, there are some additions and deletions between the new version and the old version, and there are changes in the BIOS ROM layout, and there will be problems in refreshing the NVRAM area of ​​the retained BIOS. If the NVRAM area is skipped according to the offset of the old version, it may cause a failure to boot or abnormal boot, which may bring unpredictable effects.

[0036] In view of the defects existing in the related art, the embodiments of the present disclosure provide a data processing method to at least solve some or all of the above technical problems. The embodiments of the present disclosure are based on the hardware communication protocol design of BIOS and BMC, including but not limited to ipmi, redfish and other interfaces, and perform corresponding operations in combination with the relevant operations selected by the user.

[0037] Figure 1 A first optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown, and will be explained according to each step.

[0038] Step S101 , starting a basic input / output system, and in response to a first identifier obtained from a baseboard management controller representing a reserved target device manufacturer parameter, sending the target device manufacturer parameter and a second identifier to the baseboard management controller.

[0039] In some embodiments, the electronic device is powered on, the BIOS is started, and the first identifier sent by the BMC is received. The first identifier is used to indicate that the first OEM parameters are retained or the target manufacturer parameters are retained; the first OEM parameters include the default OEM parameters of the BIOS; the target manufacturer parameters include the current OEM parameters of the BIOS, that is, the OEM parameters stored in the first memory of the BIOS when the BIOS is started for the first time.

[0040] In some embodiments, the BIOS confirms the reserved original equipment manufacturer parameters based on the first identifier; in response to the first identifier representing the reserved target equipment manufacturer parameters, the target equipment manufacturer parameters and the second identifier are sent to the baseboard management controller. The baseboard management controller stores the target equipment manufacturer parameters, and transmits the target manufacturer parameters to the BIOS for BIOS configuration when the BIOS is started next time. The first identifier is sent to the BMC when the BIOS is last started; the last time refers to the time before step S101.

[0041] In some embodiments, the BIOS sends the target device manufacturer parameter and the second identifier to the baseboard management controller, where the second identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target device manufacturer parameter is retained when the BIOS is started next time.

[0042] In some optional embodiments, after the BIOS sends the target device manufacturer parameter and the second identifier to the baseboard management controller, the target device manufacturer parameter stored in the first memory of the BIOS is deleted. Alternatively, the BIOS is updated for refreshing, and the system is restarted after the refreshing is completed.

[0043] Step S102 , restarting the basic input and output system, and in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameters are retained, obtaining the target device manufacturer parameters from the baseboard management controller.

[0044] In some embodiments, the BIOS is restarted to receive the second identifier sent by the BMC. In response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameters are retained, the target device manufacturer parameters are obtained from the baseboard management controller.

[0045] Step S103: configuring the basic input and output system based on the target device manufacturer parameters.

[0046] In some embodiments, after receiving the target device manufacturer parameters, the BIOS stores the target device manufacturer parameters in a first memory, and configures the BIOS based on the target device manufacturer parameters. The specific configuration method is the same as that in the prior art, and will not be repeated here.

[0047] The first memory may be NVRAM in BIOS.

[0048] In this way, through the data processing method provided by the embodiment of the present disclosure, the identifier obtained from the BMC after each BIOS startup determines whether to retain the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default original equipment manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0049] Figure 2 A second optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0050] Step S201 , starting a basic input / output system, and in response to a first identifier obtained from a baseboard management controller representing a reserved target device manufacturer parameter, sending the target device manufacturer parameter and a second identifier to the baseboard management controller.

[0051] The specific step flow of step S201 is the same as that of step S101 and will not be repeated here.

[0052] Step S202 , restarting the basic input and output system, and in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameters are retained, obtaining the target device manufacturer parameters from the baseboard management controller.

[0053] The specific step flow of step S202 is the same as that of step S102 and will not be repeated here.

[0054] Step S203: sending a third identifier to the baseboard management controller.

[0055] In some embodiments, the third identifier is used to instruct the BIOS to use the first OEM parameters or retain the target device manufacturer parameters during the next configuration.

[0056] In this way, through the data processing method provided by the embodiment of the present disclosure, the identifier obtained from the BMC after each BIOS startup determines whether to retain the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0057] Figure 3A third optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0058] Step S301, starting a basic input and output system to obtain a first identifier.

[0059] In some embodiments, the electronic device is powered on, BIOS is started, and the first identifier sent by the BMC is received. The electronic device may be a server.

[0060] Among them, the first identifier is a first preset value or a second preset value; wherein, when the value of the second identifier is the first preset value, it indicates that the target device manufacturer parameters are retained; when the value of the second identifier is the second preset value, it indicates that the first original equipment manufacturer parameters are retained; in this embodiment, the value of the first identifier is the second preset value.

[0061] Step S302: in response to the first identifier obtained from the baseboard management controller indicating that the first OEM parameter is retained, sending a second identifier to the baseboard management controller.

[0062] In some embodiments, the BIOS confirms whether to retain the first OEM parameter based on the first identifier; in response to the first identifier indicating that the first OEM parameter is retained, a second identifier is sent to the baseboard management controller; the value of the second identifier is a second preset value.

[0063] Step S303 : in response to the second identifier obtained from the baseboard management controller indicating that the first OEM parameters are retained, the basic input and output system is configured based on the first OEM parameters.

[0064] In some embodiments, the BIOS confirms whether to retain the first OEM parameter based on the second identifier; in response to the first identifier indicating that the first OEM parameter is retained, the BIOS is configured based on the first OEM parameter. The specific configuration method can refer to the relevant technology and will not be repeated here.

[0065] In this way, through the data processing method provided by the embodiment of the present disclosure, the identifier obtained from the BMC after each BIOS startup determines whether to retain the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0066] Figure 4 A fourth optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0067] Step S401: start the basic input and output system and receive a first identifier sent by the BMC.

[0068] In some embodiments, the electronic device is powered on, the BIOS is started, and a first identifier sent by the BMC is received. The first identifier is used to indicate that the first original equipment manufacturer parameters are retained or the target equipment manufacturer parameters are retained; if the first identifier indicates that the first original equipment manufacturer parameters are retained, it means that the BIOS uses the default original equipment manufacturer parameters for configuration; if the first identifier indicates that the target equipment manufacturer parameters are retained, it means that the BIOS uses the target equipment manufacturer parameters for configuration.

[0069] Step S402: in response to the first identifier obtained from the baseboard management controller representing the reserved target device manufacturer parameter, the target device manufacturer parameter and the second identifier are sent to the baseboard management controller.

[0070] In some embodiments, the BIOS calls the first interface to obtain the target device manufacturer parameters from the first memory; optionally, the first interface may be an SCE interface; and the first memory may be a BIOS ROM.

[0071] In some embodiments, after the BIOS obtains the target device manufacturer parameters, the target device manufacturer parameters are encrypted, and the encrypted target device manufacturer parameters and the second identifier are sent to the BMC. The second identifier is used to indicate that the first original equipment manufacturer parameters are retained or the target device manufacturer parameters are retained; if the second identifier indicates that the first original equipment manufacturer parameters are retained, it means that the BIOS uses the default original equipment manufacturer parameters for configuration; if the second identifier indicates that the target device manufacturer parameters are retained, it means that the BIOS uses the target device manufacturer parameters for configuration.

[0072] In a specific implementation, the BIOS may encrypt the version of the target device manufacturer parameter, the target device manufacturer parameter and the first string based on the algorithm function to obtain the first encrypted data. The first string is used to enhance the complexity of the algorithm function to prevent the encrypted data from being cracked. It may be obtained based on experience, experimental results or user input.

[0073] In some embodiments, the BIOS uses the first encrypted data as a data header and the target device manufacturer parameters as a data body, and the data header and the data body constitute a second OEM parameter; and sends the second OEM parameter and a second identifier to a baseboard management controller.

[0074] Step S403: restart the BIOS and receive the second identifier sent by the BMC.

[0075] Step S404: in response to the second identifier obtained from the baseboard management controller representing the reserved target device manufacturer parameter, obtaining the first encrypted data from the baseboard management controller.

[0076] In some embodiments, the BIOS obtains the first encrypted data from the BMC.

[0077] Step S405 : confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on a first comparison result of the first encrypted data and the second encrypted data.

[0078] In some embodiments, the BIOS obtains the current OEM parameters stored in the first memory based on the first interface (i.e., the OEM parameters stored in the BIOS when starting again), and encrypts the version of the current OEM parameters, the version of the current OEM parameters and the first string based on an algorithm function to obtain second encrypted data.

[0079] In some embodiments, the BIOS compares the first encrypted data and the second encrypted data. If the first encrypted data is the same as the second encrypted data, it means that the current OEM parameters in the BIOS are the same as the target device manufacturer parameters. The BIOS can be configured directly based on the current OEM parameters without obtaining them from the BMC.

[0080] If the first encrypted data is different from the second encrypted data, it means that the current OEM parameters in the BIOS are different from the target OEM parameters, and the second OEM parameters need to be obtained from the BMC.

[0081] Step S406: configuring the basic input and output system based on the target device manufacturer parameters.

[0082] In some embodiments, after the BIOS obtains the second OEM parameters from the BMC, it first confirms the difference between the target OEM parameters in the second OEM parameters and the current OEM parameters.

[0083] In specific implementation, the BIOS compares the version of the target device manufacturer parameter with the version of the current OEM parameter. If the versions are different, the BIOS compares the items corresponding to the current OEM parameter with the items corresponding to the target device manufacturer parameter to obtain a second comparison result.

[0084] In some embodiments, the second comparison result is obtained based on a comparison result of each item in the target device manufacturer parameter and the current original equipment manufacturer parameter.

[0085] Specifically, in response to the second comparison result indicating that the first item exists in the target device manufacturer parameters but does not exist in the current original equipment manufacturer parameters, a first alarm message is sent to the baseboard management controller; indicating that it is an item deleted in this version, or indicating that the setting of the OEM setup item does not exist in the new version (current original equipment manufacturer parameters), then the BIOS will record the corresponding item name, pass it to the BMC through the OEM cmd, and display the first alarm message in the SEL log of the BMC web to inform the user.

[0086] Specifically, in response to the second comparison result including that the items corresponding to the current OEM parameters are the same as the items corresponding to the target device manufacturer parameters, or the number of items corresponding to the current OEM parameters is greater than the number of items corresponding to the target device manufacturer parameters, the target device manufacturer parameters are obtained from the baseboard management controller; if the number of items corresponding to the current OEM parameters is greater than the number of items corresponding to the target device manufacturer parameters, it means that a new item is added in this version, then the target device manufacturer parameters read from the BMC do not have this item, which does not affect the user settings because it is outside the OEM project itself, and you can continue to compare the next project.

[0087] In some embodiments, the BIOS writes the target device manufacturer parameters into the first memory, and performs BIOS configuration based on the target device manufacturer parameters.

[0088] In this way, the data processing method provided by the disclosed embodiment breaks through the traditional way of upgrading and iterating across PIs, the addition and deletion of NVRAM area item values ​​may cause downtime, the OEM items cannot be retained, and the user needs to manually set them again. The limitation of upgrading to the new version in one step is directly achieved; by adding identifiers, encrypting data, and comparing versions, the boot time is greatly optimized; by encrypting the transmitted data, the setting items are prevented from being leaked by attacks. Regardless of the number of version iterations, as long as it is the BIOS firmware of the same product, the OEM setup item settings can be retained; which OEM setup items need to be retained can be customized by the user, which is more flexible than the traditional method and saves at least 30 seconds of time, and the specific time depends on the number of OEM projects.

[0089] Figure 5 A fifth optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0090] Step S501: in response to a basic input / output system being started, sending a first identifier to the basic input / output system.

[0091] In some embodiments, in response to the BIOS booting, the BMC sends a first identifier to the BIOS system, wherein the first identifier is sent to the BMC after the BIOS is last booted.

[0092] Step S502: In response to the first identifier indicating that the target device manufacturer parameter is retained, the BMC receives the target device manufacturer parameter and the second identifier transmitted by the basic input and output system, and stores the target device manufacturer parameter in a second memory.

[0093] In some embodiments, the second memory is a baseboard management controller electrically erasable programmable read-only memory (BMC EEPROM).

[0094] In some embodiments, if the BIOS needs to retain the target device manufacturer parameters for configuration, the BMC receives the target device manufacturer parameters and a second identifier sent by the BIOS. The second identifier is used to indicate retaining the first original device manufacturer parameters or retaining the target device manufacturer parameters.

[0095] Step S503 , in response to the substrate input and output system being started again, sending a second identifier to the substrate input and output system.

[0096] In some embodiments, in response to the BIOS restarting, the BMC sends the second identifier to the BIOS.

[0097] Step S504: in response to the second identifier representing the reserved target device manufacturer parameters, sending the target device manufacturer parameters to the basic input and output system.

[0098] In some embodiments, if the second identifier indicates that the BIOS is configured using the target device manufacturer parameters, then after receiving the acquisition instruction sent by the BIOS, the BMC sends the target device manufacturer parameters to the BIOS, so that the BIOS configures the basic input and output system based on the target device manufacturer parameters.

[0099] In some optional embodiments, after the BIOS completes the configuration, the BMC receives a third identifier sent by the basic input and output system; the third identifier is used to indicate that the first original equipment manufacturer parameters are retained or the target equipment manufacturer parameters are retained.

[0100] In this way, through the data processing method provided by the embodiment of the present disclosure, the BMC sends an identifier to the BIOS to determine whether the BIOS retains the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0101] Figure 6 A sixth optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0102] Step S601: in response to a basic input / output system being started, sending a first identifier to the basic input / output system.

[0103] The specific step flow of step S601 is the same as that of step S501 and will not be repeated here.

[0104] Step S602: In response to the first identifier indicating that the target device manufacturer parameters are retained, the BMC receives the second OEM parameters and the second identifier transmitted by the basic input and output system, and stores the target device manufacturer parameters in a second memory.

[0105] In some embodiments, if the BIOS needs to retain the target device manufacturer parameters for configuration, the BMC receives the second OEM parameters and the second identifier sent by the BIOS, wherein the second identifier is used to represent the retained target device manufacturer parameters.

[0106] Step S603 , in response to the substrate input and output system being started again, sending a second identifier to the substrate input and output system.

[0107] In some embodiments, in response to the BIOS restarting, the BMC sends the second identifier to the BIOS.

[0108] Step S604: sending the first encrypted data.

[0109] In some embodiments, if the second identifier indicates that the BIOS is configured using the target device manufacturer parameters, then after receiving the acquisition instruction sent by the BIOS, the BMC sends the first encrypted data to the BIOS.

[0110] Step S605 : in response to the basic input / output system confirming that the target device manufacturer parameters are obtained from the baseboard management controller based on the first encrypted data, sending the target device manufacturer parameters.

[0111] In some embodiments, the first encrypted data is used to compare with the second encrypted data to obtain a first comparison result; the first comparison result is used by the basic input and output system to confirm whether to obtain the target device manufacturer parameters. If the first comparison result indicates that the BIOS confirms whether to obtain the target device manufacturer parameters, the target device manufacturer parameters are sent.

[0112] In some optional embodiments, after the BIOS completes the configuration, the BMC receives a third identifier sent by the basic input and output system; the third identifier is used to indicate that the first original equipment manufacturer parameters are retained or the target equipment manufacturer parameters are retained.

[0113] In this way, through the data processing method provided by the embodiment of the present disclosure, the BMC sends an identifier to the BIOS to determine whether the BIOS retains the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0114] Figure 7 A seventh optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0115] Step S701: BIOS is started, and the BMC sends a first identifier to the BIOS.

[0116] In some embodiments, the electronic device is powered on, the BIOS is started, and the BMC sends a first identifier to the BIOS.

[0117] Step S702: In response to the first identifier representing the retention of target device manufacturer parameters, the BIOS sends the target device manufacturer parameters and the second identifier to the BMC.

[0118] In some embodiments, the BIOS confirms the reserved OEM parameters based on the first identifier; in response to the first identifier representing the reserved target device manufacturer parameters, the target device manufacturer parameters and the second identifier are sent to the baseboard management controller, so that the baseboard management controller stores the target device manufacturer parameters, and transmits the target manufacturer parameters to the BIOS for BIOS configuration when the BIOS is started next time.

[0119] In some embodiments, the BIOS sends the target device manufacturer parameter and the second identifier to the baseboard management controller, where the second identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target device manufacturer parameter is retained when the BIOS is started next time.

[0120] In some optional embodiments, after the BIOS sends the target device manufacturer parameter and the second identifier to the baseboard management controller, the target device manufacturer parameter stored in the first memory of the BIOS is deleted. Alternatively, the BIOS is updated for refreshing, and the system is restarted after the refreshing is completed.

[0121] Step S703: restart the BIOS, and the BMC sends the second identifier to the BIOS.

[0122] Step S704: In response to the second identifier representing the retention of target device manufacturer parameters, the BIOS obtains the target device manufacturer parameters from the BMC.

[0123] Step S705: configuring the basic input and output system based on the target device manufacturer parameters.

[0124] In some embodiments, after receiving the target device manufacturer parameters, the BIOS stores the target device manufacturer parameters in a first memory, and configures the BIOS based on the target device manufacturer parameters. The specific configuration method is the same as that in the prior art, and will not be repeated here.

[0125] The first memory may be NVRAM in BIOS.

[0126] In this way, through the data processing method provided by the embodiment of the present disclosure, the identifier obtained from the BMC after each BIOS startup determines whether to retain the target device manufacturer parameters; if retained, the current target device manufacturer parameters of the BIOS are stored in the BMC so that configuration based on the target device manufacturer parameters is performed the next time the BIOS is started; if not retained, the BIOS configuration is performed directly based on the default target device manufacturer parameters; in this way, the boot time in the scenario where the BIOS configuration is performed directly based on the default target device manufacturer parameters is shortened by adding the step of obtaining the identifier.

[0127] Figure 8 An eighth optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0128] Step S801: BIOS is started, and the BMC sends a first identifier to the BIOS.

[0129] The first identifier is sent by the BIOS to the BMC before this boot, and is intended to indicate the OEM used in this BIOS refresh. The first identifier can be a preset value; if the first identifier is the first preset value, it indicates that the target device manufacturer parameters are retained, that is, when the BIOS is refreshed next time, the existing, set OEM configuration BIOS is used, and the first preset value can be "False"; when the value of the first identifier is the second preset value, it indicates that the first original equipment manufacturer parameters are retained, and the second preset value can be "true".

[0130] Step S802: The BIOS confirms configuration parameters of the BIOS based on the first identifier.

[0131] In some embodiments, if the value of the first identifier is a first preset value, it is confirmed that when the BIOS is refreshed next time, the existing, set OEM configuration BIOS, ie, the target device manufacturer parameters are used for configuration, and step S804 is executed.

[0132] In other embodiments, if the value of the first identifier is the second preset value, it is confirmed that the default OEM parameters, ie, the first OEM parameters, are used for configuration when the BIOS is refreshed next time, and step S803 is executed.

[0133] Step S803: restart the BIOS and configure it based on the first OEM parameters stored in the first memory.

[0134] Step S804: BIOS sends the target device manufacturer parameter and the second identifier to the BMC.

[0135] In some embodiments, the BIOS calls the first interface to obtain the target device manufacturer parameters from the first memory; optionally, the first interface may be an SCE interface; and the first memory may be a BIOS ROM.

[0136] In some embodiments, after the BIOS obtains the target device manufacturer parameters, the target device manufacturer parameters are encrypted, and the encrypted target device manufacturer parameters and the second identifier are sent to the BMC. The second identifier is used to indicate that the first original equipment manufacturer parameters are retained or the target device manufacturer parameters are retained; if the second identifier indicates that the first original equipment manufacturer parameters are retained, it means that the BIOS uses the default original equipment manufacturer parameters for configuration; if the second identifier indicates that the target device manufacturer parameters are retained, it means that the BIOS uses the target device manufacturer parameters for configuration.

[0137] In a specific implementation, the BIOS may encrypt the version of the target device manufacturer parameter, the target device manufacturer parameter and the first string based on the algorithm function to obtain the first encrypted data. The first string is used to enhance the complexity of the algorithm function to prevent the encrypted data from being cracked. It may be obtained based on experience, experimental results or user input.

[0138] Specifically, it can be calculated using the following algorithm: Decrypt =Alg(Ver, String, "@Salt@") Decrypt is the first encrypted data, which is a fixed-length value; Alg is the algorithm function called, String is the target device manufacturer parameter, Ver is the version of the target device manufacturer parameter, and @Salt@ is the first string. Specifically, Ver is the version of the input BIOS OEM Setup project. As long as there is a change in the NVRAM area or the Setup adds or deletes items, this version number will be accumulated. The same version of the bios only involves the difference in the value of the item, and does not involve additions or deletions or changes in NVRAMlayout. It can be understood as a macro judgment. If Ver does not change, it means that it does not involve updates such as CPU PI code, microcode, and some underlying driver firmware (Firmware, FW), and there are no additions or deletions between the versions before and after the update. If there are changes, it is only the difference in the string, which will involve the modification of some OEM project default values.

[0139] The second OEM parameter is determined based on the first encrypted data and the target device manufacturer parameter; wherein Decrypt is sent to the BMC together with the String as the Header of the String and stored in the EEPROM of the BMC.

[0140] In some embodiments, the BIOS sets the value of the second identifier to a first preset value, and sends the value together with the second OEM parameter to the BMC.

[0141] Step S805 : The BMC stores the second OEM parameter in the second memory.

[0142] Wherein, the second memory is EEPROM.

[0143] Step S806, refresh BIOS and restart the system.

[0144] In some embodiments, the BIOS is updated by a complete refresh, and the system is restarted after the refresh is complete.

[0145] Step S807: The BMC sends the second identifier to the BIOS.

[0146] Step S808: The BIOS confirms the configuration parameters of the BIOS based on the second identifier.

[0147] Step S809: BIOS obtains first encrypted data from the BMC.

[0148] In some embodiments, the BIOS obtains the current OEM parameters stored in the first memory based on the first interface, and encrypts the version of the current OEM parameters, the version of the current OEM parameters and the first string based on an algorithm function to obtain second encrypted data.

[0149] Step S810: confirming whether a target device manufacturer parameter is obtained from a baseboard management controller based on a first comparison result between the first encrypted data and the second encrypted data.

[0150] In some embodiments, the BIOS compares the first encrypted data and the second encrypted data. If the first encrypted data is the same as the second encrypted data, it means that the current original equipment manufacturer parameters in the BIOS are the same as the target device manufacturer parameters. The BIOS can be configured directly based on the current original equipment manufacturer parameters without obtaining them from the BMC, and step S812 is executed.

[0151] If the first encrypted data is different from the second encrypted data, it means that the current original equipment manufacturer parameters in the BIOS are different from the target equipment manufacturer parameters, and the target equipment manufacturer parameters need to be obtained from the BMC.

[0152] Step S811, BIOS obtains target device manufacturer parameters from BMC.

[0153] Step S812, configure BIOS.

[0154] In some embodiments the BIOS is configured based on the parameters indicated by the second identifier.

[0155] In this way, the data processing method provided by the disclosed embodiment breaks through the traditional way of upgrading and iterating across PIs, the addition and deletion of NVRAM area item values ​​may cause downtime, the OEM items cannot be retained, and the user needs to manually set them again. The limitation of upgrading to the new version in one step is directly achieved; by adding identifiers, encrypting data, and comparing versions, the boot time is greatly optimized; by encrypting the transmitted data, the setting items are prevented from being leaked by attacks. Regardless of the number of version iterations, as long as it is the BIOS firmware of the same product, the OEM setup item settings can be retained; which OEM setup items need to be retained can be customized by the user, which is more flexible than the traditional method and saves at least 30 seconds of time, and the specific time depends on the number of OEM projects.

[0156] Fig. 9A ninth optional flow chart of the data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.

[0157] In some embodiments, each time after the BIOS completes the boot, it sends a boot completion identifier flashflag (i.e., one of the first identifier, the second identifier, and the third identifier) ​​to the BMC through the OEM cmd. The flashflag is mainly used to be sent from the BMC to the BIOS during the boot process. The BIOS reads the identifier. If the value is the first preset value (true), it means that this boot is the first boot after retaining the currently configured parameters and updating the BIOS ROM, then the BIOS will read back the retained OEM setup items (target device manufacturer parameters) from the EEPROM of the BMC, and then assign values ​​to the NVRAM area of ​​the BIOS. The judgment of adding this identifier is because the operation of the BIOS reading back these target device manufacturer parameters from the BMC is relatively time-consuming. In order to optimize the boot time, the embodiment of the present disclosure reflects the need for a read-back operation or the need for a read-back operation through an identifier, reflecting that the BIOS does not need to read the target device manufacturer parameters from the BMC every time it boots, and only reads back after retaining the configuration upgrade operation, and sets the flashflag to the second preset value (false) after the boot is completed. When the machine is booted again, the BIOS will not repeatedly read the target device manufacturer parameters from the BMC, thereby shortening the boot time.

[0158] Step S901, power on, and receive a first identifier.

[0159] In some embodiments, when the electronic device is powered on and enters the system or setup, if the BIOS configuration refresh is selected, before executing the BIOS ROM update, the SCE interface will be called to obtain the OEM setup parameters from the BIOS ROM. Here, the target device manufacturer parameters are named String and transmitted to the BMC through the protocol channel between the BIOS and the BMC. Before transmission, an algorithm check can be adopted, and the algorithm formula is as follows: Decrypt =Alg(Ver, String, "@Salt@") Decrypt is a fixed-length value output as the header of the String and sent to the BMC together with the String to be stored in the BMC's EEPROM. Alg is the algorithm function called. The parameter part: Ver is the version of the input BIOS OEMSetup project (that is, the version of the target device manufacturer's parameters). As long as there is a change in the NVRAM area or the addition or deletion of Setup items, the version number will be accumulated. The parameters of the same version only involve the difference in the value of the project, not the addition or deletion or change of nvramlayout. It can be understood as a macro judgment. If Ver does not change, it means that it does not involve, for example, CPU PI code, microcode, and some underlying driver FW updates, and there are no additions or deletions between the versions before and after the update. If there are changes, it is only the difference in the String, which will involve the modification of some OEM project default values. Salt is the part that adds "salt". This is a string customized by R&D or customers to enhance the complexity of the algorithm and prevent cracking. The value of the second identifier is set to true and sent to the BMC, indicating that a refresh with preserved configuration has been performed. If the BIOS is refreshed without preserving the configuration, or the BIOS update operation is not performed, this operation is not required.

[0160] Step S902, update the BIOS and completely refresh it, and restart the system after the refresh is completed.

[0161] Step S903, restart the device and read the second identifier.

[0162] When the computer is turned on again, the BIOS reads the second identifier from the BMC in the early boot stage. If the read value is false, it means that there is no need to synchronize the OEM setup project and the computer can be started normally. If the read value is true, step S904 is executed.

[0163] Step S904: determine whether to obtain the manufacturer parameters of the target device.

[0164] In some embodiments, the value of the second identifier is true, which proves that the reserved configuration was refreshed during the last startup. At this time, the value of the first encrypted data Decrypt (distinguished as D1) is read from the BMC through the OEM command and compared with the second encrypted data Decrypt value (distinguished as D2) calculated using the same algorithm for this startup. If D1=D2, it proves that the versions of the OEM setup items of the BIOS before and after the reserved configuration refresh and the default values ​​of these items are exactly the same. At this time, the startup can continue without getting data from the BMC. If D1 and D2 are not equal, it proves that there is a change in the version or the default value of the item, and step S905 is executed.

[0165] Step S905: Obtain the manufacturer parameters of the target device from the BMC.

[0166] In some embodiments, D1 and D2 are not equal, which proves that there is a change in the version or the default value of the project. Then you need to get the complete string. After getting the complete string, collect the OEM setup items for this startup, first compare the Ver in the first encrypted data and the second encrypted data. If the Ver is the same, it proves that there is only a difference in the default value, then overwrite the value of the corresponding item in the target device vendor parameter to the NVRAM of this BIOS, and then continue to start. After the boot is successful, check the relevant items and you will find that they are the default values ​​of the items before the update. If the Ver is different, it proves that there is a big Setupout change, and there are added or deleted items, which proves that the updated version is quite different from the last running version. It may be a more serious bug, or it may be an iteration from an immature version to a mature version in the early stage of the research and development. If the Ver is different, then there are added or deleted items. During the comparison process, there are the following 3 situations: (1) If this is a new project in this version, the target device vendor parameters read from the BMC do not have this project. This does not affect the user settings because this project is outside the OEM project. You can continue to compare the next project. (2) If the item is deleted in this version (or the current version), it means that the setting of the OEM setup item no longer exists in the new version. The BIOS records the name of the deleted item and passes it to the BMC through the OEM cmd. The warning (first warning information) is displayed in the SEL log of the BMC web to inform the user.

[0167] (3) Other matching items are processed in the same manner as Ver.

[0168] After completing the above steps, write them into the nvram area of ​​BIOS ROM for permanent storage.

[0169] In this way, the data processing method provided by the embodiment of the present disclosure breaks through the traditional way of upgrading and iterating across PIs, the addition and deletion of NVRAM area item values ​​may cause downtime, the OEM items cannot be retained, and the user needs to manually set them again. The limitation of upgrading to the new version in one step is directly achieved; by adding identifiers, encrypting data, and comparing versions, the boot time is greatly optimized; by encrypting the transmitted data, the setting items are prevented from being leaked by attacks. Regardless of the number of version iterations, as long as it is the BIOS firmware of the same product, the OEM setup item settings can be retained; which OEM setup items need to be retained can be customized by the user, which is more flexible than the traditional method and saves at least 30 seconds of time, and the specific time depends on the number of OEM projects.

[0170] Fig.10A first optional structural diagram of a data processing device provided in an embodiment of the present disclosure is shown and will be described according to each part.

[0171] In some embodiments, the data processing device 1000 is applied to a basic input / output system, and the device includes: a first transmission unit 1001 , a second transmission unit 1002 , and a configuration unit 1003 .

[0172] The first transmission unit 1001 is used to start the basic input and output system, and in response to the first identifier obtained from the baseboard management controller representing the reserved target device manufacturer parameter, send the target device manufacturer parameter and the second identifier to the baseboard management controller; The second transmission unit 1002 is used to restart the basic input and output system, and in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameter is retained, obtain the target device manufacturer parameter from the baseboard management controller; The configuration unit 1003 is used to configure the basic input and output system based on the target device manufacturer parameters.

[0173] The first transmission unit 1001 is further used to send a third identifier to a baseboard management controller after configuring the basic input and output system; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

[0174] The first transmission unit 1001 is further configured to send a second identifier to the baseboard management controller in response to the first identifier obtained from the baseboard management controller indicating that the first OEM parameter is retained; The second identifier is used to characterize the reserved first OEM parameter.

[0175] The configuration unit 1003 is further configured to configure the basic input and output system based on the first OEM parameters in response to the second identifier obtained from the baseboard management controller indicating that the first OEM parameters are retained.

[0176] The second transmission unit 1002 is specifically configured to call the first interface to obtain the target device manufacturer parameters stored in the first memory, encrypt the target device manufacturer parameters, and obtain first encrypted data; Determine that the value of the second identifier is a first preset value; when the value of the second identifier is the first preset value, it indicates that the target device manufacturer parameters are retained; when the value of the second identifier is the second preset value, it indicates that the first original equipment manufacturer parameters are retained; Using the first encrypted data as a data header and the target device manufacturer parameters as a data body, the data header and the data body constitute a second original equipment manufacturer parameter; The second OEM parameter and the second identifier are sent to a baseboard management controller.

[0177] The second transmission unit 1002 is specifically configured to encrypt the version of the target device manufacturer parameter, the target device manufacturer parameter, and the first character string based on an algorithm function to obtain first encrypted data.

[0178] The second transmission unit 1002 is specifically configured to obtain a second identifier from a baseboard management controller; In response to the second identifier obtained from the baseboard management controller representing the retention target device manufacturer parameter, obtaining first encrypted data from the baseboard management controller; confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on a first comparison result of the first encrypted data and the second encrypted data; The second encrypted data is obtained based on current original equipment manufacturer parameters of the basic input and output system.

[0179] The second transmission unit 1002 is specifically configured to continue starting the basic input and output system in response to the first encrypted data and the second encrypted data being the same.

[0180] The second transmission unit 1002 is specifically used for one of the following: In response to the first encrypted data and the second encrypted data being different but having the same version, obtaining the target device manufacturer parameter from a baseboard management controller; In response to the first encrypted data and the second encrypted data being different and having different versions, comparing the items corresponding to the current original equipment manufacturer parameters with the items corresponding to the target equipment manufacturer parameters to obtain a second comparison result; In response to the second comparison result indicating that the first item exists in the target device manufacturer parameters but does not exist in the current original equipment manufacturer parameters, sending a first alarm message to the baseboard management controller; In response to the second comparison result including that the item corresponding to the current OEM parameter is the same as the item corresponding to the target OEM parameter, or the item corresponding to the current OEM parameter is greater than the item corresponding to the target OEM parameter, obtaining the target OEM parameter from the baseboard management controller; The target device manufacturer parameters are written into the first memory.

[0181] Fig.11A second optional structural diagram of the data processing device provided in the embodiment of the present disclosure is shown and will be explained according to each part.

[0182] In some embodiments, the data processing device 1100 is applied to a baseboard management controller, and the device includes: a first sending unit 1101 , a first receiving unit 1102 , and a second sending unit 1103 .

[0183] The first sending unit 1101 is configured to send a first identifier to the basic input output system in response to the basic input output system being started; A first receiving unit 1102 is configured to receive the target device manufacturer parameter and the second identifier transmitted by the basic input and output system in response to the first identifier representing the reserved target device manufacturer parameter, and store the target device manufacturer parameter in a second memory; The second sending unit 1103 is used for sending a second identifier to the substrate input and output system in response to the substrate input and output system being started again; in response to the second identifier indicating that the target device manufacturer parameters are retained, sending the target device manufacturer parameters to the substrate input and output system; The target device manufacturer parameters are used to configure the basic input and output system.

[0184] The first receiving unit 1102 is further configured to receive a third identifier sent by the basic input and output system; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

[0185] The first receiving unit 1102 is specifically configured to receive a second OEM parameter transmitted by a basic input / output system with the first encrypted data as a data header and the target device manufacturer parameter as a data body; and receive a second identifier.

[0186] The second sending unit 1103 is specifically configured to send the first encrypted data; In response to the basic input and output system confirming that the target device manufacturer parameters are obtained from the baseboard management controller based on the first encrypted data, the target device manufacturer parameters are sent.

[0187] In some embodiments, the first encrypted data is used to compare with the second encrypted data to obtain a first comparison result; The first comparison result is used by the basic input and output system to confirm whether to obtain the target device manufacturer parameters.

[0188] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0189] Fig.12 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0190] like Fig.12 As shown, the electronic device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 1208 to a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 can also be stored. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0191] Multiple components in the electronic device 1200 are connected to the I / O interface 1205, including: an input unit 1206, such as a keyboard, a mouse, etc.; an output unit 1207, such as various types of displays, speakers, etc.; a storage unit 1208, such as a disk, an optical disk, etc.; and a communication unit 1209, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1209 allows the electronic device 1200 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0192] The computing unit 1201 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1201 performs the various methods and processes described above, such as data processing methods. For example, in some embodiments, the data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1200 via the ROM 1202 and / or the communication unit 1209. When the computer program is loaded into the RAM 1203 and executed by the computing unit 1201, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform the data processing method in any other appropriate manner (e.g., by means of firmware).

[0193] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0194] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0195] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0196] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0197] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0198] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0199] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0200] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A data processing method, characterized in that: Applied to a basic input and output system, the method comprises: Starting the basic input and output system, in response to the first identifier obtained from the baseboard management controller representing the reserved target device manufacturer parameter, sending the target device manufacturer parameter and the second identifier to the baseboard management controller; Restarting the basic input and output system, and in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameter is retained, obtaining the target device manufacturer parameter from the baseboard management controller; Based on the target device manufacturer parameters, the basic input and output system is configured.

2. The method according to claim 1, characterized in that After configuring the basic input and output system, the method further includes: sending a third identifier to a baseboard management controller; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

3. The method according to claim 1, characterized in that The method further comprises: In response to the first identifier obtained from the baseboard management controller indicating that the first OEM parameter is retained, sending a second identifier to the baseboard management controller; The second identifier is used to characterize the reserved first OEM parameter.

4. The method according to claim 3, characterized in that The method further comprises: In response to the second identifier obtained from the baseboard management controller indicating that the first OEM parameters are retained, the basic input and output system is configured based on the first OEM parameters.

5. The method according to claim 1, characterized in that The step of sending the target device manufacturer parameter and the second identifier to a baseboard management controller includes: Calling the first interface to obtain the target device manufacturer parameters stored in the first memory, encrypting the target device manufacturer parameters to obtain first encrypted data; Determine that the value of the second identifier is a first preset value; when the value of the second identifier is the first preset value, it indicates that the target device manufacturer parameters are retained; when the value of the second identifier is the second preset value, it indicates that the first original equipment manufacturer parameters are retained; Using the first encrypted data as a data header and the target device manufacturer parameters as a data body, the data header and the data body constitute a second original equipment manufacturer parameter; The second OEM parameter and the second identifier are sent to a baseboard management controller.

6. The method according to claim 5, characterized in that The step of encrypting the target device manufacturer parameter to obtain first encrypted data includes: The version of the target device manufacturer parameter, the target device manufacturer parameter and the first character string are encrypted based on an algorithm function to obtain first encrypted data.

7. The method according to claim 1, characterized in that The step of retaining the target device manufacturer parameter in response to the second identifier obtained from the baseboard management controller represents that the target device manufacturer parameter is obtained from the baseboard management controller, comprising: Acquire a second identifier from a baseboard management controller; In response to the second identifier obtained from the baseboard management controller representing the retention target device manufacturer parameter, obtaining first encrypted data from the baseboard management controller; confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on a first comparison result of the first encrypted data and the second encrypted data; The second encrypted data is obtained based on current original equipment manufacturer parameters of the basic input and output system.

8. The method according to claim 7, characterized in that The confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on the first comparison result of the first encrypted data and the second encrypted data includes: In response to the first encrypted data and the second encrypted data being the same, continuing to boot the basic input and output system.

9. The method according to claim 7, characterized in that: The confirming whether the target device manufacturer parameter is obtained from the baseboard management controller based on the first comparison result of the first encrypted data and the second encrypted data includes one of the following: In response to the first encrypted data and the second encrypted data being different but having the same version, obtaining the target device manufacturer parameter from a baseboard management controller; In response to the first encrypted data and the second encrypted data being different and having different versions, comparing the items corresponding to the current original equipment manufacturer parameters with the items corresponding to the target equipment manufacturer parameters to obtain a second comparison result; In response to the second comparison result indicating that the first item exists in the target device manufacturer parameters but does not exist in the current original equipment manufacturer parameters, sending a first alarm message to the baseboard management controller; In response to the second comparison result including that the items corresponding to the current OEM parameters are the same as the items corresponding to the target OEM parameters, or the number of items corresponding to the current OEM parameters is greater than the number of items corresponding to the target OEM parameters, obtaining the target OEM parameters from the baseboard management controller; The target device manufacturer parameters are written into the first memory.

10. A data processing method, characterized in that: Applied to a baseboard management controller, the method comprises: In response to a basic input / output system being started, sending a first identifier to the basic input / output system; In response to the first identifier representing the reserved target device manufacturer parameter, receiving the target device manufacturer parameter and the second identifier transmitted by the basic input and output system, and storing the target device manufacturer parameter in the second memory; In response to the substrate input and output system being started again, sending a second identifier to the substrate input and output system; In response to the second identifier representing the retention of target device manufacturer parameters, sending the target device manufacturer parameters to the basic input and output system; The target device manufacturer parameters are used to configure the basic input and output system.

11. The method according to claim 10, characterized in that The method further comprises: receiving a third identifier sent by the basic input and output system; The third identifier is used to indicate that the first original equipment manufacturer parameter is retained or the target equipment manufacturer parameter is retained.

12. The method according to claim 10, characterized in that The receiving of the target device manufacturer parameter and the second identifier transmitted by the basic input and output system comprises: receiving a second OEM parameter transmitted by a basic input / output system with the first encrypted data as a data header and the target device manufacturer parameter as a data body; A second identifier is received.

13. The method according to claim 10, characterized in that The sending the target device manufacturer parameter to the basic input and output system includes: Sending first encrypted data; In response to the basic input and output system confirming that the target device manufacturer parameters are obtained from the baseboard management controller based on the first encrypted data, the target device manufacturer parameters are sent.

14. The method according to claim 13, characterized in that The first encrypted data is used to compare with the second encrypted data to obtain a first comparison result; The first comparison result is used by the basic input and output system to confirm whether to obtain the target device manufacturer parameters.

15. A data processing method, characterized in that: The method comprises: Starting a basic input and output system, the baseboard management controller sending a first identifier to the basic input and output system; In response to the first identifier representing the retention of target device manufacturer parameters, the basic input and output system sends the target device manufacturer parameters and the second identifier to the baseboard management controller; Restarting the basic input and output system, the baseboard management controller sending a second identifier to the basic input and output system; In response to the second identifier representing the retention of target device manufacturer parameters, obtaining the target device manufacturer parameters from a baseboard management controller; Based on the target device manufacturer parameters, the basic input and output system is configured.

16. A data processing device, characterized in that: Applied to a basic input and output system, the device comprises: A first transmission unit, configured to start a basic input and output system, and in response to a first identifier obtained from a baseboard management controller representing a reserved target device manufacturer parameter, send the target device manufacturer parameter and a second identifier to the baseboard management controller; A second transmission unit, configured to restart the basic input and output system, and obtain the target device manufacturer parameters from the baseboard management controller in response to the second identifier obtained from the baseboard management controller indicating that the target device manufacturer parameters are retained; A configuration unit is used to configure the basic input and output system based on the target device manufacturer parameters.

17. A data processing device, characterized in that: Applied to a baseboard management controller, the device comprises: A first sending unit, configured to send a first identifier to the basic input output system in response to the basic input output system being started; A first receiving unit, configured to receive the target device manufacturer parameter and the second identifier transmitted by the basic input and output system in response to the first identifier representing the reserved target device manufacturer parameter, and store the target device manufacturer parameter in a second memory; A second sending unit is used for sending a second identifier to the substrate input and output system in response to the substrate input and output system being started again; in response to the second identifier indicating that the target device manufacturer parameters are retained, sending the target device manufacturer parameters to the basic input and output system; The target device manufacturer parameters are used to configure the basic input and output system.

18. An electronic device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 9; Alternatively, the method according to claims 10 to 14 is performed; Alternatively, perform the method of claim 15.

19. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1 to 9; Alternatively, the method according to claims 10 to 14 is performed; Alternatively, perform the method of claim 15.

20. A computer program product, characterized in that comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9; Alternatively, the method according to claims 10 to 14 is performed; Alternatively, perform the method of claim 15.

Citation Information

Patent Citations

  • Method and device for managing startup information of electronic equipment

    CN106155713A

  • Method, system and equipment for realizing BIOS option setting and storage medium

    CN114528029A

  • System starting method and device, electronic equipment and storage medium

    CN115794257A

  • Method and device for setting configuration mode of BIOS (Basic Input / Output System) and storage medium

    CN116185518A

  • Calibration parameter writing method and device, electronic equipment and storage medium

    CN116820581A