Baseboard management controller starting method and device, electronic equipment and storage medium

By acquiring the number of fan in-place signals and preload configuration of electronic devices, the automated startup of the substrate management controller is achieved, solving the problem of frequent restarts when replacing the motherboard in the prior art, improving efficiency and reducing costs.

CN119690530AInactive Publication Date: 2025-03-25INSPUR (SHANDONG) COMPUTER TECH CO LTD

Patent Information

Application Number
CN202510205987.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-03-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art requires frequent restart of the substrate management controller (BMC) when replacing the motherboard, resulting in complex operation and inefficient efficiency, increasing time and labor costs.

Method used

By responding to BMC initialization, the number of fans in-place signals of electronic devices is obtained, the model is determined, the preload cooling strategy and the hard disk backplane connection configuration is achieved, and the BMC is automatically started without subsequent restarts.

Benefits of technology

Simplifies the BMC startup process, improves work efficiency, reduces labor and material costs, and reduces operational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690530A_ABST
    Figure CN119690530A_ABST
Patent Text Reader

Abstract

The invention provides a substrate management controller starting method and device, electronic equipment and a storage medium, and is applied to the technical field of computers. The method comprises the steps that in response to initialization of a substrate management controller (BMC), the number of fan in-place signals of the electronic equipment is obtained; based on the number of the fan in-place signals of the electronic equipment, the type of the electronic equipment is determined; based on the type of the electronic equipment, determining a heat dissipation strategy of the electronic equipment, and the maximum number of slots which can be connected with a hard disk backboard of the electronic equipment and the positions of the slots; a fan is controlled to dissipate heat based on a heat dissipation strategy of the electronic equipment, and preloading is performed based on the maximum number of slots which can be connected with the hard disk backboard and the slot positions, so that in the BMC starting stage, the maximum number of slots which can be connected with the hard disk backboard of the electronic equipment and the slot positions can be determined based on the type of the electronic equipment to perform preloading. And subsequent BMC restarting is avoided.
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 baseboard management controller startup method, device, electronic device and storage medium. Background Art

[0002] In the related art, the baseboard management controller (BMC) usually starts running according to a specific model configuration. Subsequently, the switch flag is written into the electrically erasable programmable read-only memory (EEPROM) with the help of the original equipment manufacturer command (OEM). Then, the system is restarted according to the target model configuration, and the corresponding configuration driver and cooling strategy are loaded. However, in actual application scenarios where the motherboard needs to be replaced frequently, the above operation requires repeated restarting of the BMC, which undoubtedly greatly increases the complexity and tediousness of the operation, reduces work efficiency, and increases time and labor costs. Summary of the invention

[0003] The present disclosure provides a baseboard management controller startup method, device, electronic device and storage medium to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, a baseboard management controller startup method is provided, comprising: In response to the BMC initialization, the number of fan presence signals of the electronic device is obtained; Determining the model of the electronic device based on the number of fan presence signals of the electronic device; Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, and the maximum number and positions of slots to which the hard disk backplane of the electronic device can be connected; Fan heat dissipation is controlled based on the heat dissipation strategy of the electronic device, and preloading is performed based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0005] In the above scheme, the method further comprises: activating the electronic device; In response to the completion of the startup of the electronic device, obtaining hard disk information connected to the hard disk backplane based on the inter-integrated circuit bus signal; The hard disk information includes at least one of the number of hard disks, the working status of each hard disk, the model of the hard disk, the specification of the hard disk, the temperature of the hard disk and the reading and writing speed of the hard disk.

[0006] In the above solution, the step of obtaining the number of fan presence signals of the electronic device includes: Reading a first fan presence signal of the electronic device; In response to the number of the first fan-in-place signals being an even number, determining the number of the first fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the first fan-in-place signals being an odd number, the fan-in-place signals of the electronic device are re-read.

[0007] In the above solution, the re-reading of the fan presence signal of the electronic device includes: Reading a second fan presence signal of the electronic device; In response to the number of the second fan-in-place signals being an even number, determining the number of the second fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the second fan presence signals being an odd number and the number of times the fan presence signals are re-read is greater than or equal to a preset threshold, the number of the second fan presence signals plus 1 is determined to be the number of fan presence signals of the electronic device.

[0008] In the above solution, the method of determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: The model of the electronic device is determined based on the number of fan presence signals and the correlation between the number of fans and the model.

[0009] In the above solution, the method of determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: Determining project information corresponding to the electronic device; Based on the project information, determine the relationship between the number of fans and the model; The model of the electronic device is determined based on the comparison relationship between the number of fans and the model, and the number of fan presence signals.

[0010] In the above solution, the model of the electronic device includes 2 units (2 Unit, 2U), 4 units (4 Unit 4U) or 6 units (6 Unit 6U).

[0011] According to a second aspect of the present disclosure, a baseboard management controller startup device is provided, the device comprising: An acquisition unit, configured to acquire the number of fan presence signals of the electronic device in response to BMC initialization; A first determining unit, configured to determine a model of the electronic device based on the number of fan presence signals of the electronic device; A second determining unit is used to determine a heat dissipation strategy of the electronic device and a maximum number of slots and slot positions to which a hard disk backplane of the electronic device can be connected based on the model of the electronic device; The preloading unit is used to control fan heat dissipation based on the heat dissipation strategy of the electronic device and to perform preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0012] According to a third 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.

[0013] According to a fourth 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.

[0014] The baseboard management controller startup method disclosed in the present invention obtains the number of fan in-place signals of the electronic device in response to BMC initialization; determines the model of the electronic device based on the number of fan in-place signals of the electronic device; determines the heat dissipation strategy of the electronic device and the maximum number of slots and slot positions that the hard disk backplane of the electronic device can be connected to based on the model of the electronic device; controls the heat dissipation of the fan based on the heat dissipation strategy of the electronic device, and performs preloading based on the maximum number of slots and slot positions that the hard disk backplane can be connected to; so that the model of the electronic device can be determined by the number of fans during the BMC startup process, and then the corresponding configuration is preloaded according to the model of the electronic device, so as to realize BMC startup based on the electronic device without the need for subsequent restart, simplifying the operation, and saving manpower and material resources.

[0015] 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

[0016] 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.

[0017] Figure 1A first optional flow chart of a method for starting a baseboard management controller provided by an embodiment of the present disclosure is shown; Figure 2 A second optional flow chart of the baseboard management controller startup method provided by the embodiment of the present disclosure is shown; Figure 3 A third optional flow chart of the baseboard management controller startup method provided in an embodiment of the present disclosure is shown; Figure 4 A fourth optional flow chart of the baseboard management controller startup method provided in an embodiment of the present disclosure is shown; Figure 5 A fifth optional flow chart of the baseboard management controller startup method provided in the embodiment of the present disclosure is shown; Figure 6 An optional structural schematic diagram of a baseboard management controller startup device provided in an embodiment of the present disclosure is shown; Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0018] 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.

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] Since customer requirements are always complex and changeable, general projects usually require support for multiple model configurations at the beginning of the project. Since the changes in these model configurations generally only involve the hard disk backplane and cooling strategy, it is usually possible to use a set of BMC, Basic Input Output System (BIOS) and Complex Programmable Logic Device to fully adapt, without the need to develop a separate version. The most commonly used solution at present is that the BMC uses a custom Original Equipment Manufacturer (OEM) command to write the switching flag to the Electrically Erasable Programmable Read-Only Memory (EEPROM). After that, the BMC needs to be restarted to reload the corresponding model configuration driver and the corresponding cooling strategy. If the machine is in the power-on state at this time, it is also necessary to restart the machine, and the BMC needs to re-acquire the machine model configuration information.

[0024] The disadvantages of this solution are mainly reflected in two aspects: when the production line switches the model configuration, it is necessary to strictly follow the steps and restart the BMC and the machine, which greatly increases the time cost; when encountering scenarios where the motherboard needs to be replaced frequently, on-site technicians are also required to check the model configuration used by the spare motherboard and replace it with the model configuration used by the customer's machine, which greatly increases the difficulty of operation for on-site personnel.

[0025] In view of the defects existing in the related technology, the embodiments of the present disclosure provide a baseboard management controller startup method, which aims to solve the problem of manual identification and switching of model configuration when replacing the mainboard, thereby simplifying the steps of model identification and switching, thereby achieving the purpose of improving generation efficiency and reducing the complexity of operations for technicians.

[0026] Figure 1 A first optional flow chart of a baseboard management controller startup method provided in an embodiment of the present disclosure is shown, and will be described according to each step.

[0027] Step S101 , in response to the initialization of a baseboard management controller, the number of fan presence signals of the electronic device is obtained.

[0028] In some embodiments, the baseboard management controller startup method is executed during the BMC startup process to complete the BMC startup for the electronic device model. In some embodiments, in response to BMC initialization, that is, the BMC starts to execute the startup program, the BMC obtains the number of fan in-place signals of the electronic device.

[0029] The number of fan-in-place signals of the electronic device includes the number of signals that are in a normal installation position on the motherboard of the electronic device (ie, the fan is connected to the correct slot / interface) and can be detected.

[0030] Step S102: determining the model of the electronic device based on the number of fan presence signals of the electronic device.

[0031] In some embodiments, different models of motherboards have different numbers of fan sockets. In order to ensure the normal operation of electronic equipment, different models of motherboards have different numbers of fans connected to them. The BMC can determine the number of fans connected to the motherboard based on the number of fan presence signals, and then determine the model of the electronic equipment based on the number of fans connected to the motherboard.

[0032] Step S103: determining the heat dissipation strategy of the electronic device, and the maximum number of slots and slot positions that can be connected to the hard disk backplane of the electronic device based on the model of the electronic device.

[0033] In some embodiments, determining the heat dissipation strategy of the electronic device during the BMC startup process can avoid the situation in which the CPU or other components are overheated due to an inappropriate heat dissipation strategy during the subsequent startup process of the electronic device.

[0034] In some embodiments, different models correspond to different cooling strategies and the maximum number of slots and slot positions that the hard disk backplane of the electronic device can connect to. The cooling strategy, maximum number of slots and slot positions of the electronic device can be determined based on the model of the electronic device determined in step S102.

[0035] Step S104, controlling fan heat dissipation based on the heat dissipation strategy of the electronic device, and performing preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0036] In some embodiments, after determining the heat dissipation strategy of the electronic device and the maximum number of slots and slot positions to which the hard disk backplane of the electronic device can be connected, fan heat dissipation can be controlled based on the heat dissipation strategy and preloading can be performed.

[0037] In some embodiments, when the BMC is started, it will preload according to a preset maximum number of slots and slot positions. In the prior art, if the actual maximum number of slots and slot positions of the electronic device are significantly different from the preset maximum number of slots and slot positions, manual settings are required and the BMC must be restarted so that the BMC can preload according to the actual maximum number of slots and slot positions. In the embodiments of the present disclosure, during the first startup phase of the BMC, the maximum number of slots and slot positions that the hard disk backplane of the electronic device can connect to (i.e., the actual maximum number of slots and slot positions of the electronic device) can be determined based on the electronic device model for preloading, thereby avoiding subsequent restarting of the BMC.

[0038] In this way, through the baseboard management controller startup method provided by the embodiment of the present disclosure, the model of the electronic device can be determined by the number of fans during the BMC startup process, and then the corresponding configuration can be preloaded according to the model of the electronic device to achieve BMC startup based on the electronic device without the need for subsequent restart, simplifying the operation and saving manpower and material resources.

[0039] Figure 2 A second optional flow chart of the baseboard management controller startup method provided in the embodiment of the present disclosure is shown, and will be explained according to each step.

[0040] Step S201, in response to BMC initialization, obtaining the number of fan presence signals of the electronic device.

[0041] Step S202: determining the model of the electronic device based on the number of fan presence signals of the electronic device.

[0042] Step S203: determining the heat dissipation strategy of the electronic device, and the maximum number of slots and slot positions that can be connected to the hard disk backplane of the electronic device based on the model of the electronic device.

[0043] Step S204, controlling fan heat dissipation based on the heat dissipation strategy of the electronic device, and performing preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0044] The specific step flow from step S201 to step S204 is the same as that from step S101 to step S104, and will not be repeated here.

[0045] Step S205: start the electronic device.

[0046] In some embodiments, after the BMC completes preloading, the electronic device starts, and the Inter-Integrated Circuit (i2C) signal is available, the BMC obtains the hard disk information connected to the hard disk backplane through the i2C; optionally, the hard disk information is displayed on a display screen corresponding to the electronic device. The hard disk information includes at least one of the number of hard disks, the working status of each hard disk, the model of the hard disk, the specification of the hard disk, the temperature of the hard disk, and the read and write speed of the hard disk.

[0047] In this way, through the baseboard management controller startup method provided by the embodiment of the present disclosure, the model of the electronic device can be determined by the number of fans during the BMC startup process, and then the corresponding configuration can be preloaded according to the model of the electronic device to achieve BMC startup based on the electronic device without the need for subsequent restart; after the BMC is started, the hard disk information connected to the hard disk backplane is obtained through i2C and displayed according to project requirements.

[0048] Figure 3 A third optional flow chart of the baseboard management controller startup method provided in the embodiment of the present disclosure is shown, and will be explained according to each step.

[0049] Step S301, obtaining the number of fan presence signals of the electronic device.

[0050] In some embodiments, different motherboards correspond to different machine models, and different machine models require different numbers of fans for heat dissipation. Therefore, the number of slots corresponding to fans on different motherboards is also different. When the motherboard is replaced, the number of fans connected to the motherboard will also change accordingly. Based on the number of connected fans, the model corresponding to the electronic device can be determined, and the number of connected fans can be determined by the fan presence signal.

[0051] In some embodiments, the BMC reads a first fan-in-place signal of an electronic device; in response to the number of the first fan-in-place signals being an even number, the BMC determines the number of the first fan-in-place signals as the number of fan-in-place signals of the electronic device; in response to the number of the first fan-in-place signals being an odd number, the fan-in-place signal of the electronic device is re-read.

[0052] Specifically, the number of fans corresponding to different models is usually an even number, and the probability of two or more faulty fans existing at the same time is very low. Therefore, whether the reading of the first fan presence signal is accurate can be determined based on the parity of the first fan presence signal. If it is an even number, it is determined that the reading of the first fan presence signal is accurate, and the number of the first fan presence signals is the number of fan presence signals of the electronic device; if it is an odd number, the reading of the first fan presence signal is inaccurate, or there is a problem during the reading process, or the fan is faulty, and it needs to be read again.

[0053] Specifically, when rereading, the BMC reads the second fan-in-place signal of the electronic device; in response to the number of the second fan-in-place signals being an even number, the number of the second fan-in-place signals is determined to be the number of fan-in-place signals of the electronic device; optionally, the BMC can set a preset threshold for rereading, and in response to the number of the second fan-in-place signals being an odd number, and the number of times the fan-in-place signals are reread is greater than or equal to the preset threshold, the number of the second fan-in-place signals plus 1 is determined to be the number of fan-in-place signals of the electronic device; in this way, subsequent operations, such as determining the model of the electronic device, can be entered in advance, without waiting for repeated confirmation of the number of fans or for the operation and maintenance personnel to troubleshoot the problem after an alarm, thereby improving the BMC startup efficiency.

[0054] Optionally, the BMC may also issue an alarm message, where the alarm message is used to indicate that there is a problem with the number of fans in place, so that the technician can promptly troubleshoot the hardware problem.

[0055] Step S302: determining the model of the electronic device based on the number of fan presence signals of the electronic device.

[0056] Step S303: determining the heat dissipation strategy of the electronic device, and the maximum number of slots and slot positions that can be connected to the hard disk backplane of the electronic device based on the model of the electronic device.

[0057] Step S304, controlling fan heat dissipation based on the heat dissipation strategy of the electronic device, and performing preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0058] The specific step flow from step S302 to step S304 is the same as that from step S102 to step S104, and will not be repeated here.

[0059] In this way, through the baseboard management controller startup method provided by the embodiment of the present invention, according to the characteristic that the number of fans in the current machine is usually an even number, a processing measure is added for identifying the signal of an odd number of fans in place. In order to prevent the problem of unstable signal, it will be re-read when an odd number of fans is detected. If an even number of fans higher than this number is read, it will be executed normally according to the number of fans in place. If no reading is done five times, it is preliminarily indicated that a fan is not installed or there is hardware damage to the mainboard. In order to allow the technicians to discover it in time, an alarm message is generated at this time, indicating that the number of fans is an odd number at this time. For the subsequent normal operation of the machine, the heat dissipation strategy is loaded according to the current odd number plus one model configuration to avoid overheating of the machine.

[0060] Figure 4 A fourth optional flow chart of the baseboard management controller startup method provided in the embodiment of the present disclosure is shown, and will be explained according to each step.

[0061] Step S401, obtaining the number of fan presence signals of the electronic device.

[0062] The specific step flow of step S401 is the same as step S101 or step S301, and will not be repeated here.

[0063] Step S402: determining the model of the electronic device based on the project information to which the electronic device belongs and the number of fan presence signals of the electronic device.

[0064] In some embodiments, different models correspond to different numbers of fans, for example, a 1-unit (1U) model is equipped with 2 to 4 fans, a 2U model is equipped with 3 to 6 fans, a 3-unit (3U) model is equipped with 3-6 fans, a 4U model is equipped with 3-8 fans, a 5-unit (5U) model is equipped with 6-8 fans, and a 6U model is equipped with more than 4 fans; the BMC can determine the model of the electronic device based on the number of fan in-position signals and the relationship between the number of fans and the model. The relationship between the number of fans and the model includes a table of relationships between different numbers of fans and corresponding models.

[0065] In some embodiments, in some actual projects, the 2U model is configured with 4 fans, the 4U model is configured with 6 or 8 fans, and the 6U model is configured with 8 or 12 fans; in different projects, the number of fans configured for each model is different and non-repetitive. For example, in a certain project, the 4U model is configured with 8 fans, then for the heat dissipation effect, the 6U model will be configured with a number of fans greater than 8, such as 12; or, in a certain project, the 4U model is configured with 6 fans, and the corresponding 6U model will be configured with 8 fans; therefore, the model can be determined based on the number of fans.

[0066] In some embodiments, the BMC can determine the project information corresponding to the electronic device; determine the relationship between the number of fans and the model based on the project information; and determine the model of the electronic device based on the relationship between the number of fans and the model and the number of fan in-position signals. The relationship between the number of fans and the model corresponding to different project information is different.

[0067] Step S403: determining the heat dissipation strategy of the electronic device, and the maximum number and positions of slots that can be connected to the hard disk backplane of the electronic device based on the model of the electronic device.

[0068] Step S404, controlling fan heat dissipation based on the heat dissipation strategy of the electronic device, and performing preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0069] The specific step flow from step S403 to step S404 is the same as that from step S103 to step S104, and will not be repeated here.

[0070] In this way, through the baseboard management controller startup method provided by the embodiment of the present disclosure, when determining the specific model, it can be directly based on the number of fan-in-place signals and the corresponding relationship between the number of fans and the model; it is also possible to first determine the project information corresponding to the electronic device, determine the corresponding relationship between the number of fans and the model based on the project information, and then determine the model of the electronic device in combination with the number of fan-in-place signals, thereby improving the accuracy of model determination.

[0071] Figure 5 A fifth optional flow chart of the baseboard management controller startup method provided in the embodiment of the present disclosure is shown, and will be explained according to each step.

[0072] Step S501, identifying the number of machine fan presence signals.

[0073] Step S501 is the same as step S101 or step S301 and will not be repeated here.

[0074] Step S502: determine the current model based on the identified number of fans in place.

[0075] In some embodiments, since different models use different numbers of fans, the number of fans can be used for judgment. At the same time, a trial and error mechanism is added. Since the number of fans of different models is usually an even number, when the in-place signal is an odd number, the signal is re-read. If five retries are still unsuccessful, an odd number of fans in place alarm is triggered, allowing on-site technicians to perceive it in time and troubleshoot hardware-related problems. At the same time, the machine model is judged by adding one to the fan in-place signal, and the corresponding fan strategy is loaded to avoid overheating of electronic equipment.

[0076] Step S503, loading a heat dissipation strategy based on the current model.

[0077] In some embodiments, the corresponding machine model is determined based on the number of fans identified in step S502 and the corresponding heat dissipation strategy is loaded.

[0078] Through steps S501 to S503, the current model of the electronic device is preliminarily determined and loaded into the corresponding heat dissipation strategy to avoid the situation where the CPU or other components of the electronic device are overheated due to an incorrect heat dissipation strategy during the startup process.

[0079] Step S504, pre-load the maximum number of slots and slot positions that can be connected to the hard disk backplane.

[0080] Among them, the maximum number of slots and slot positions that the hard disk backplane can connect to include the maximum number of slots and slot positions that the hard disk backplane can connect to. The "can" here means "can" or "can be able to", that is, it represents the capability of the hard disk backplane.

[0081] In some embodiments, when distinguishing different machine model configurations, BMC mainly focuses on some devices that need to be pre-loaded. Generally, the external cards of the machine, such as network cards, disk array cards (Redundant Array of Independent Disks Card, RAID), memory, etc., have fixed slots and do not require special attention. However, different models of hard disk backplanes often have differences in the available number and hard disk slots, and BMC mainly processes this part.

[0082] Step S505: BMC loading is completed and the electronic device starts.

[0083] In some embodiments, the BMC is fully started, all parts that need to be preloaded are processed, and the electronic device needs to be started to make i2c available before the subsequent steps can be performed.

[0084] Step S506: BMC reads the hard disk backplane information through i2C and displays it.

[0085] The hard disk backplane information includes hard disk information connected to the hard disk backplane.

[0086] In some embodiments, the BMC obtains the hard disk information in the backplane through i2c and displays it according to the requirements of the project; for example, the hard disk information includes the number of hard disks, the working status of each hard disk, the model of the hard disk, the specifications of the hard disk, the temperature of the hard disk and at least one of the read and write speed of the hard disk; the number of hard disks, the working status of each hard disk and the model of the hard disk are displayed according to the requirements of the project.

[0087] Thus, the baseboard management controller startup method provided by the embodiment of the present disclosure is aimed at the current electronic equipment production needs to strictly follow the steps to switch the scene and the customer site needs to replace the motherboard, the technical personnel need to manually identify the machine model and manually use the command to switch the operation scene; solve the problem of reducing the production line efficiency due to the model switching during production and the problem of complex and cumbersome manual operation at the customer site; improve the efficiency of production and customer site operation and greatly reduce the complexity of operation. And the BMC can identify the hardware problems of some machines in advance for the fan in-position signal and the backplane model. It should be noted that the BMC identification of the fan in-position signal and the operation of loading the machine model and configuration are completed during the BMC startup process. The previous and next steps are serially run during the code development process. Only when the code of the model module is executed, the corresponding configuration code is executed to avoid BMC abnormalities caused by disorder. In addition, the code can be modularized when developing, so that the project team does not need to consider too much when revising the plan at the beginning, and can add different models and configurations at any time according to market demand, greatly improving the flexibility of project operation.

[0088] Figure 6 An optional structural schematic diagram of a baseboard management controller startup device provided in an embodiment of the present disclosure is shown, and will be described according to each part.

[0089] In some embodiments, the baseboard management controller starting device 600 includes an acquiring unit 601 , a first determining unit 602 , a second determining unit 603 , and a preloading unit 604 .

[0090] The acquisition unit 601 is used to acquire the number of fan presence signals of the electronic device in response to BMC initialization; The first determining unit 602 is configured to determine the model of the electronic device based on the number of fan presence signals of the electronic device; The second determining unit 603 is used to determine the heat dissipation strategy of the electronic device and the maximum number of slots and slot positions that can be connected to the hard disk backplane of the electronic device based on the model of the electronic device; The preloading unit 604 is used to control fan cooling based on the cooling strategy of the electronic device, and to perform preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

[0091] The preloading unit 604 is also used to start the electronic device; in response to the completion of the startup of the electronic device, the hard disk information connected to the hard disk backplane is obtained based on the bus signal between integrated circuits; the hard disk information includes at least one of the number of hard disks, the working status of each hard disk, the model of the hard disk, the specification of the hard disk, the temperature of the hard disk and the read and write speed of the hard disk.

[0092] The acquisition unit 601 is specifically used to read a first fan presence signal of the electronic device; In response to the number of the first fan-in-place signals being an even number, determining the number of the first fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the first fan-in-place signals being an odd number, the fan-in-place signals of the electronic device are re-read.

[0093] The acquisition unit 601 is specifically used to read the second fan presence signal of the electronic device; In response to the number of the second fan-in-place signals being an even number, determining the number of the second fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the second fan presence signals being an odd number and the number of times the fan presence signals are re-read is greater than or equal to a preset threshold, the number of the second fan presence signals plus 1 is determined to be the number of fan presence signals of the electronic device.

[0094] The first determination unit 602 is specifically configured to determine the model of the electronic device based on the number of fan presence signals and the relationship between the number of fans and the model.

[0095] The first determining unit 602 is specifically configured to determine the project information corresponding to the electronic device; Based on the project information, determine the relationship between the number of fans and the model; The model of the electronic device is determined based on the comparison relationship between the number of fans and the model, and the number of fan presence signals.

[0096] In some embodiments, the electronic device has a model of 2U, 4U or 6U.

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

[0098] Figure 7 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.

[0099] like Figure 7 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (In / Out, I / O) interface 805 is also connected to the bus 804.

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

[0101] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 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 (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the baseboard management controller startup method. For example, in some embodiments, the baseboard management controller startup method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the baseboard management controller startup method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the baseboard management controller startup method in any other appropriate manner (eg, by means of firmware).

[0102] Various embodiments of the systems and techniques described above herein may 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), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may 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 may be a dedicated 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.

[0103] 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.

[0104] 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.

[0105] 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).

[0106] 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.

[0107] 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.

[0108] 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.

[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0110] 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 baseboard management controller startup method, characterized in that: The method comprises: In response to the initialization of the baseboard management controller BMC, the number of fan presence signals of the electronic device is obtained; Determining the model of the electronic device based on the number of fan presence signals of the electronic device; Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, and the maximum number and positions of slots to which the hard disk backplane of the electronic device can be connected; Fan heat dissipation is controlled based on the heat dissipation strategy of the electronic device, and preloading is performed based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

2. The method according to claim 1, characterized in that: The method further comprises: activating the electronic device; In response to the completion of the startup of the electronic device, obtaining hard disk information connected to the hard disk backplane based on the inter-integrated circuit bus signal; The hard disk information includes at least one of the number of hard disks, the working status of each hard disk, the model of the hard disk, the specification of the hard disk, the temperature of the hard disk and the reading and writing speed of the hard disk.

3. The method according to claim 1, characterized in that The obtaining of the number of fan presence signals of the electronic device includes: Reading a first fan presence signal of the electronic device; In response to the number of the first fan-in-place signals being an even number, determining the number of the first fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the first fan-in-place signals being an odd number, the fan-in-place signals of the electronic device are re-read.

4. The method according to claim 3, characterized in that The re-reading of the fan presence signal of the electronic device comprises: Reading a second fan presence signal of the electronic device; In response to the number of the second fan-in-place signals being an even number, determining the number of the second fan-in-place signals to be the number of fan-in-place signals of the electronic device; In response to the number of the second fan presence signals being an odd number and the number of times the fan presence signals are re-read is greater than or equal to a preset threshold, the number of the second fan presence signals plus 1 is determined to be the number of fan presence signals of the electronic device.

5. The method according to claim 1, characterized in that The determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: The model of the electronic device is determined based on the number of fan presence signals and the correlation between the number of fans and the model.

6. The method according to claim 5, characterized in that The determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: Determining project information corresponding to the electronic device; Based on the project information, determine the relationship between the number of fans and the model; The model of the electronic device is determined based on the comparison relationship between the number of fans and the model, and the number of fan presence signals.

7. The method according to claim 1, characterized in that The electronic device may have a 2-unit, 4-unit or 6-unit model.

8. A baseboard management controller startup device, characterized in that: The device comprises: An acquisition unit, configured to acquire the number of fan presence signals of the electronic device in response to initialization of a baseboard management controller BMC; A first determining unit, configured to determine a model of the electronic device based on the number of fan presence signals of the electronic device; A second determining unit is used to determine a heat dissipation strategy of the electronic device and a maximum number of slots and slot positions to which a hard disk backplane of the electronic device can be connected based on the model of the electronic device; The preloading unit is used to control fan heat dissipation based on the heat dissipation strategy of the electronic device and to perform preloading based on the maximum number of slots and slot positions that the hard disk backplane can connect to.

9. 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 7.

10. 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-7.

Citation Information

Patent Citations

  • Firmware loading method, electronic device and server storing firmware configuration data

    CN109976833A

  • Regulation and control method and system for preventing reversion of hot plug fan, and computer storage medium

    CN113074132A

  • Hard disk heat dissipation method, BMC and server

    CN114217684A

  • Starting method, configuration method and device of substrate management controller and electronic equipment

    CN114995918A

  • Method, device, equipment and medium for configuration verification and recovery based on PFR

    CN115509814A

Cited By

  • Baseboard management controller startup method and apparatus, electronic device, and storage medium

    WO2026179186A1