Baseboard management controller startup method and apparatus, electronic device, and storage medium
Patent Information
- Application Number
- PCT/CN2025/128951
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-25
- Filing Date
- 2025-10-21
- Publication Date
- 2026-09-03
Smart Images

Figure CN2025128951_03092026_PF_FP_ABST
Abstract
Description
Board management controller startup method, apparatus, electronic device and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202510205987.9, filed on February 25, 2025, entitled “Baseboard Management Controller Startup Method, Apparatus, Electronic Device and Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for starting a baseboard management controller. Background Technology
[0003] In related technologies, the Baseboard Management Controller (BMC) typically boots up based on a specific device configuration. Subsequently, a switching flag is written into the Electrically Erasable Programmable Read-Only Memory (EEPROM) using an Original Equipment Manufacturer (OEM) command. Then, the system restarts according to the target device configuration, loading the corresponding configuration driver and thermal management strategy. However, in real-world applications requiring frequent motherboard replacements, this process necessitates repeatedly restarting the BMC, significantly increasing complexity and tediousness, reducing efficiency, and increasing time and labor costs. Summary of the Invention
[0004] This disclosure provides a baseboard management controller startup method, apparatus, electronic device, and storage medium to at least solve the above-mentioned technical problems existing in the prior art.
[0005] According to a first aspect of this disclosure, a method for starting a baseboard management controller is provided, comprising:
[0006] In response to BMC initialization, the number of fan in-situ signals of the electronic device is obtained;
[0007] The model of the electronic device is determined based on the number of fan presence signals of the electronic device;
[0008] Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to;
[0009] The fan is controlled to dissipate heat based on the heat dissipation strategy of the electronic device, and preloading is performed based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0010] The method in the above scheme further includes:
[0011] Start the electronic device;
[0012] In response to the completion of the startup of the electronic device, the hard drive information connected to the hard drive backplane is obtained based on the inter-integrated circuit bus signal;
[0013] The hard drive information includes at least one of the following: number of hard drives, operating status of each hard drive, hard drive model, hard drive specifications, hard drive temperature, and hard drive read / write speed.
[0014] In the above scheme, obtaining the number of fan presence signals of the electronic device includes:
[0015] Read the first fan in-situ signal of the electronic device;
[0016] In response to the fact that the number of the first fan in-situ signals is even, the number of the first fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device;
[0017] If the number of the first fan presence signals is odd, the fan presence signals of the electronic device are reread.
[0018] In the above scheme, rereading the fan presence signal of the electronic device includes:
[0019] Read the presence signal of the second fan in the electronic device;
[0020] In response to the fact that the number of the second fan in-situ signals is even, the number of the second fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device;
[0021] In response to the fact that the number of the second fan's presence signals is odd and the number of times the fan presence signals are reread is greater than or equal to a preset threshold, the number of the second fan's presence signals is incremented by 1 to determine the number of the fan presence signals of the electronic device.
[0022] In the above scheme, determining the model of the electronic device based on the number of fan presence signals of the electronic device includes:
[0023] Based on the number of fan presence signals and the relationship between the number of fans and the model, the model of the electronic device is determined.
[0024] In the above scheme, determining the model of the electronic device based on the number of fan presence signals of the electronic device includes:
[0025] Determine the project information corresponding to the electronic device;
[0026] Based on the project information, the relationship between the number of fans and the model was determined;
[0027] Based on the relationship between the number of fans and the model, and the number of fan presence signals, the model of the electronic device is determined.
[0028] In the above scheme, the electronic device includes models with 2 units (2Unit, 2U), 4 units (4Unit 4U), or 6 units (6Unit 6U).
[0029] According to a second aspect of this disclosure, a substrate management controller startup device is provided, the device comprising:
[0030] The acquisition unit is used to acquire the number of fan in-situ signals of the electronic device in response to BMC initialization;
[0031] The first determining unit is used to determine the model of the electronic device based on the number of fan presence signals of the electronic device;
[0032] The second determining unit is used to determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to, based on the model of the electronic device.
[0033] The preloading unit is used to control fan cooling based on the heat dissipation strategy of the electronic device and to preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0034] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0035] At least one processor; and
[0036] A memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods described in this disclosure.
[0038] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the methods described in this disclosure.
[0039] The baseboard management controller startup method disclosed herein obtains the number of fan presence signals of an electronic device in response to BMC initialization; determines the model of the electronic device based on the number of fan presence signals; determines the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to, based on the model of the electronic device; controls fan cooling 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 drive backplane can connect to; thereby enabling the electronic device model to be determined by the number of fans during BMC startup, and then preloading the corresponding configuration based on the model of the electronic device to achieve BMC startup based on the electronic device without subsequent restart, simplifying operation and saving manpower and resources.
[0040] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0041] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which:
[0042] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0043] Figure 1 shows a schematic diagram of a first optional process for the baseboard management controller startup method provided in an embodiment of the present disclosure;
[0044] Figure 2 illustrates a second optional flowchart of the baseboard management controller startup method provided in an embodiment of this disclosure;
[0045] Figure 3 illustrates a third optional flowchart of the baseboard management controller startup method provided in an embodiment of this disclosure;
[0046] Figure 4 illustrates a fourth optional flowchart of the baseboard management controller startup method provided in an embodiment of this disclosure;
[0047] Figure 5 illustrates a fifth optional process diagram of the baseboard management controller startup method provided in this embodiment of the present disclosure;
[0048] Figure 6 shows a schematic diagram of an optional structure of the baseboard management controller startup device provided in an embodiment of this disclosure;
[0049] Figure 7 shows a schematic diagram of the composition structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0050] To make the objectives, features, and advantages of this disclosure more apparent and understandable, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0051] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is 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.
[0052] In the following description, the terms "first" and "second" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first" and "second" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0053] Unless otherwise defined, all technical and scientific terms used in this disclosure have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used in this disclosure is for the purpose of describing embodiments of this disclosure only and is not intended to be limiting of this disclosure.
[0054] It should be understood that in the various embodiments of this disclosure, the sequence number of each implementation process does not imply 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 this disclosure.
[0055] Because customer needs are always complex and ever-changing, projects typically require support for multiple machine configurations from the outset. Since changes to these configurations generally only involve the hard drive backplane and cooling strategies, a single BMC, Basic Input Output System (BIOS), and Complex Programmable Logic Device (CAMP) can usually provide complete compatibility without requiring separate versions. Currently, the most common approach is for the BMC to use custom Original Equipment Manufacturer (OEM) commands to write the switching flag to Electrically Erasable Programmable Read-Only Memory (EEPROM). Afterward, the BMC needs to be restarted to reload the corresponding machine configuration driver and cooling strategy. If the machine is powered on at this time, a restart is also required, and the BMC needs to re-acquire the machine's configuration information.
[0056] The main drawbacks of this solution are twofold: when switching machine configurations on the production line, the steps must be strictly followed, and the BMC and the machine must be restarted, which greatly increases the time cost; when encountering scenarios that require frequent motherboard replacements, on-site technicians also need to check the machine configuration used by the spare motherboard and replace it with the machine configuration used by the customer's machine, which greatly increases the operational difficulty for on-site personnel.
[0057] To address the deficiencies in related technologies, this disclosure provides a method for starting a baseboard management controller, which aims to solve the problem of manually identifying and switching the model configuration when replacing the motherboard. This simplifies the model identification and switching steps, thereby improving production efficiency and reducing the operational complexity for technicians.
[0058] Figure 1 shows a schematic diagram of a first optional process of the baseboard management controller startup method provided in an embodiment of the present disclosure, which will be described step by step.
[0059] In step S101, in response to the initialization of the baseboard management controller, the number of fan presence signals of the electronic device is obtained.
[0060] In some embodiments, the baseboard management controller startup method is executed during the BMC startup process to complete the startup of the BMC for the specific model of the electronic device. In some embodiments, in response to BMC initialization, i.e., when the BMC begins executing the startup procedure, the BMC acquires the number of fan presence signals of the electronic device.
[0061] The number of fan presence signals of the electronic device includes the number of signals that are in a normal installation position on the motherboard of the electronic device (i.e., the fan is connected to the correct slot / interface) and can be detected.
[0062] Step S102: Determine the model of the electronic device based on the number of fan presence signals of the electronic device.
[0063] In some embodiments, different models of motherboards have different numbers of fan headers. In order to ensure the normal operation of electronic devices, different models of motherboards have different numbers of fans connected to them. 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 device based on the number of fans connected to the motherboard.
[0064] Step S103: Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to.
[0065] In some embodiments, determining the heat dissipation strategy of the electronic device during the BMC startup process can prevent the CPU or other components from overheating due to an inappropriate heat dissipation strategy during the subsequent startup of the electronic device.
[0066] In some embodiments, different models correspond to different heat dissipation strategies and the maximum number and location of slots that the hard drive backplane of the electronic device can connect to. The heat dissipation strategy, maximum number of slots and slot locations of the electronic device can be determined according to the model of the electronic device determined in step S102.
[0067] Step S104: Control the fan to dissipate heat based on the heat dissipation strategy of the electronic device, and preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0068] In some embodiments, after determining the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to, the fan can be controlled to dissipate heat based on the heat dissipation strategy, and preloading can be performed.
[0069] In some embodiments, the BMC preloads based on a preset maximum number of slots and slot positions upon startup. In the prior art, if the actual maximum number of slots and slot positions of the electronic device differ significantly from the preset maximum number of slots and slot positions, manual setting and restarting of the BMC are required so that the BMC can preload according to the actual maximum number of slots and slot positions. However, in this embodiment, during the first startup phase of the BMC, the maximum number of slots and slot positions that the hard drive 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 model of the electronic device for preloading, avoiding subsequent restarts of the BMC.
[0070] Thus, through the board management controller startup method provided in this embodiment, the model of the electronic device can be determined by the number of fans during the BMC startup process, and the corresponding configuration can be preloaded based on the model of the electronic device to realize BMC startup based on the electronic device without subsequent restart, simplifying operation and saving manpower and resources.
[0071] Figure 2 shows a second optional flowchart of the baseboard management controller startup method provided in the embodiments of this disclosure, which will be described step by step.
[0072] In step S201, in response to BMC initialization, the number of fan in-situ signals of the electronic device is obtained.
[0073] Step S202: Determine the model of the electronic device based on the number of fan presence signals of the electronic device.
[0074] Step S203: Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to.
[0075] Step S204: Control the fan to dissipate heat based on the heat dissipation strategy of the electronic device, and preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0076] The specific steps of steps S201 to S204 are the same as those of steps S101 to S104, and will not be repeated here.
[0077] Step S205: Start the electronic device.
[0078] In some embodiments, after the BMC completes preloading, the electronic device starts up, and the Inter-Integrated Circuit (i2C) bus signal is available. The BMC then obtains the hard drive information connected to the hard drive backplane via i2C. Optionally, the hard drive information is displayed on the corresponding display screen of the electronic device. The hard drive information includes at least one of the following: the number of hard drives, the operating status of each hard drive, the model of the hard drive, the specifications of the hard drive, the temperature of the hard drive, and the read / write speed of the hard drive.
[0079] Thus, through the board management controller startup method provided in this embodiment, the model of the electronic device can be determined by the number of fans during the BMC startup process, and the corresponding configuration can be preloaded based on the model of the electronic device to realize BMC startup based on the electronic device without subsequent restart; after BMC startup, the hard drive information connected to the hard drive backplane is obtained through i2C and displayed according to project requirements.
[0080] Figure 3 shows a third optional flowchart of the baseboard management controller startup method provided in the embodiments of this disclosure, which will be described according to each step.
[0081] Step S301: Obtain the number of fan presence signals of the electronic device.
[0082] In some embodiments, different motherboards correspond to different models, and different models require different numbers of fans for heat dissipation. Therefore, the number of fan slots on different motherboards is also different. When the motherboard is replaced, the number of fans connected to the motherboard will also change. 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.
[0083] In some embodiments, the BMC reads a first fan presence signal of the electronic device; in response to an even number of first fan presence signals, it determines the number of first fan presence signals as the number of fan presence signals of the electronic device; in response to an odd number of first fan presence signals, it rereads the fan presence signal of the electronic device.
[0084] Specifically, the number of fans corresponding to different models is usually even, and the probability of two or more faulty fans existing at the same time is very low. Therefore, the accuracy of the reading of the first fan presence signal can be determined based on the parity of the first fan presence signal. If it is even, 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 odd, the reading of the first fan presence signal is inaccurate, or there is a problem during the reading process, or the fan is faulty, so it needs to be read again.
[0085] Specifically, during rereading, the BMC reads the second fan presence signal of the electronic device. If the number of second fan presence signals is even, the BMC determines the number of second fan presence signals as the total number of fan presence signals for the electronic device. Optionally, the BMC can set a preset threshold for rereading. If the number of second fan presence signals is odd, and the number of rereads is greater than or equal to the preset threshold, the BMC determines the number of second fan presence signals plus 1 as the total number of fan presence signals for the electronic device. This allows for earlier initiation of subsequent operations, such as determining the model of the electronic device, without waiting for repeated confirmation of the fan count or for maintenance personnel to troubleshoot after an alarm, thus improving the BMC startup efficiency.
[0086] Optionally, the BMC can also issue alarm messages to indicate a problem with the number of fans in place, allowing technicians to promptly investigate hardware issues.
[0087] Step S302: Determine the model of the electronic device based on the number of fan presence signals of the electronic device.
[0088] Step S303: Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to.
[0089] Step S304: Control the fan to dissipate heat based on the heat dissipation strategy of the electronic device, and preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0090] The specific steps of steps S302 to S304 are the same as those of steps S102 to S104, and will not be repeated here.
[0091] Thus, the board management controller startup method provided in this embodiment adds processing measures for detecting an odd number of fan presence signals, based on the characteristic that the number of fans in the machine is usually even. To prevent signal instability, the system will reread when an odd number of fans are detected. If an even number of fans is read, the system will proceed normally according to the number of fans in place. If no fans are read after five attempts, it initially indicates that a fan is not installed or there is hardware damage to the motherboard. To allow technicians to discover this in time, an alarm message is generated, indicating that the number of fans is currently odd. To ensure the normal operation of the machine, the heat dissipation strategy is loaded according to the current odd number plus one model configuration to avoid overheating.
[0092] Figure 4 shows a fourth optional flowchart of the baseboard management controller startup method provided in the embodiments of this disclosure, which will be described according to each step.
[0093] Step S401: Obtain the number of fan presence signals of the electronic device.
[0094] The specific steps of step S401 are the same as those of step S101 or step S301, and will not be repeated here.
[0095] Step S402: Based on the project information to which the electronic device belongs and the number of fan presence signals of the electronic device, determine the model of the electronic device.
[0096] 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 with 3 to 6 fans, a 3-unit (3U) model with 3 to 6 fans, a 4U model with 3 to 8 fans, a 5-unit (5U) model with 6 to 8 fans, and a 6U model with 4 or more fans. The BMC can 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. The relationship between the number of fans and the model includes a table showing the correspondence between different numbers of fans and their respective models.
[0097] In some embodiments, in some actual projects, the 2U model is configured with 4 fans, the 4U model with 6 or 8 fans, and the 6U model with 8 or 12 fans. The number of fans configured for each model is different and non-repeating in different projects. For example, in a project, the 4U model is configured with 8 fans, then for better heat dissipation, the 6U model will be configured with more than 8 fans, such as 12 fans; or, in a 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.
[0098] In some embodiments, the BMC can determine the item information corresponding to the electronic device; based on the item information, determine the relationship between the number of fans and the device model; and based on the relationship between the number of fans and the device model, and the number of fan presence signals, determine the device model. The relationship between the number of fans and the device model differs for different item information.
[0099] Step S403: Based on the model of the electronic device, determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to.
[0100] Step S404: Control the fan to dissipate heat based on the heat dissipation strategy of the electronic device, and preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0101] The specific steps of steps S403 to S404 are the same as those of steps S103 to S104, and will not be repeated here.
[0102] Thus, by using the board management controller startup method provided in this embodiment, when determining a specific model, it is possible to directly base the determination on the number of fan presence signals and the relationship between the number of fans and the model; alternatively, it is possible to first determine the item information corresponding to the electronic device, determine the relationship between the number of fans and the model based on the item information, and then combine the number of fan presence signals to determine the model of the electronic device, thereby improving the accuracy of model determination.
[0103] Figure 5 shows a fifth optional flowchart of the board management controller startup method provided in the embodiments of this disclosure, which will be described according to each step.
[0104] Step S501: Identify the number of machine fan presence signals.
[0105] Step S501 is the same as step S101 or step S301, and will not be repeated here.
[0106] Step S502: Determine the current model based on the number of fans in place.
[0107] In some embodiments, since different models use different numbers of fans, the number of fans can be used for identification. A trial-and-error mechanism is also added. Since different models typically have an even number of fans, when the number of fans in position is odd, the signal is reread. If the retry fails after five attempts, an odd-numbered fan in-position alarm is issued, allowing on-site technicians to promptly detect and troubleshoot hardware-related issues. Simultaneously, the machine model is determined by incrementing the fan in-position signal by one, and the corresponding fan strategy is implemented to prevent overheating of electronic equipment.
[0108] Step S503: Load the heat dissipation strategy based on the current model.
[0109] In some embodiments, the corresponding model is determined based on the number of fans identified in step S502, and the corresponding heat dissipation strategy is loaded.
[0110] Through steps S501 to S503, the current model of the electronic device is initially determined and the corresponding heat dissipation strategy is loaded to avoid the CPU or other components from overheating during the startup process due to an incorrect heat dissipation strategy.
[0111] Step S504: Preload the maximum number of slots and slot positions that the hard drive backplane can connect to.
[0112] Among them, the maximum number of slots and slot positions that the hard drive backplane can connect to include the maximum number of slots and slot positions that the hard drive backplane can connect to. Here, "can" means "can" or "able to", that is, it represents the capability of the hard drive backplane.
[0113] In some embodiments, when differentiating between different machine configurations, BMC mainly focuses on devices that need to be pre-loaded. Generally, the slots for external cards such as network cards, redundant array of independent disk cards (RAID), and memory are fixed and do not require special attention. However, different models of hard drive backplanes often differ in the number of available hard drive slots, and BMC mainly deals with this part.
[0114] Step S505: BMC loading complete, electronic device starts.
[0115] In some embodiments, the BMC is fully started, all parts that need to be preloaded have been processed, and the electronic device needs to be started to make I2C available before subsequent steps can be performed.
[0116] In step S506, the BMC reads and displays the hard drive backplane information via i2C.
[0117] The hard drive backplane information includes information about the hard drives connected to the hard drive backplane.
[0118] In some embodiments, the BMC obtains hard drive information from the backplane via I2C and displays it according to project requirements; for example, the hard drive information includes at least one of the following: number of hard drives, working status of each hard drive, hard drive model, hard drive specifications, hard drive temperature, and hard drive read / write speed; the number of hard drives, working status of each hard drive, and hard drive model are displayed according to project requirements.
[0119] Thus, the board management controller startup method provided in this disclosure addresses scenarios where strict step-by-step switching is required during electronic device production, and where manual machine model identification and command switching are necessary when a customer needs to replace the motherboard. It solves the problem of reduced production line efficiency due to machine model switching and the complexity and cumbersome manual operation at the customer's site. It improves efficiency in both production and customer operations while significantly reducing operational complexity. Furthermore, the BMC's identification of fan presence signals and backplane model can proactively identify hardware issues in some machines. It should be noted that the BMC's identification of fan presence signals and loading of machine models and configurations are both completed during the BMC startup process. During code development, the preceding and following steps are executed sequentially; the corresponding configuration code is executed only after the machine model module's code has finished executing, avoiding BMC anomalies caused by out-of-order execution. In addition, the code can be modularized during development, allowing the project team to add different models and configurations as needed based on market demands without excessive consideration during initial revisions, greatly improving project flexibility.
[0120] Figure 6 shows a schematic diagram of an optional structure of the baseboard management controller startup device provided in an embodiment of this disclosure, which will be described in terms of each part.
[0121] In some embodiments, the substrate management controller startup device 600 includes an acquisition unit 601, a first determination unit 602, a second determination unit 603, and a preloading unit 604.
[0122] The acquisition unit 601 is used to acquire the number of fan in-situ signals of the electronic device in response to BMC initialization;
[0123] The first determining unit 602 is used to determine the model of the electronic device based on the number of fan presence signals of the electronic device;
[0124] The second determining unit 603 is used to determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to, based on the model of the electronic device.
[0125] The preloading unit 604 is used to control fan cooling based on the heat dissipation strategy of the electronic device and to preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
[0126] The preloading unit 604 is also used to start the electronic device; in response to the completion of the startup of the electronic device, it obtains the 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 following: number of hard disks, working status of each hard disk, model of hard disk, specifications of hard disk, temperature of hard disk and read / write speed of hard disk.
[0127] The acquisition unit 601 is specifically used to read the first fan presence signal of the electronic device;
[0128] In response to the fact that the number of the first fan in-situ signals is even, the number of the first fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device;
[0129] If the number of the first fan presence signals is odd, the fan presence signals of the electronic device are reread.
[0130] The acquisition unit 601 is specifically used to read the second fan presence signal of the electronic device;
[0131] In response to the fact that the number of the second fan in-situ signals is even, the number of the second fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device;
[0132] In response to the fact that the number of the second fan's presence signals is odd and the number of times the fan presence signals are reread is greater than or equal to a preset threshold, the number of the second fan's presence signals is incremented by 1 to determine the number of the fan presence signals of the electronic device.
[0133] The first determining unit 602 is specifically used 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.
[0134] The first determining unit 602 is specifically used to determine the item information corresponding to the electronic device;
[0135] Based on the project information, the relationship between the number of fans and the model was determined;
[0136] Based on the relationship between the number of fans and the model, and the number of fan presence signals, the model of the electronic device is determined.
[0137] In some embodiments, the electronic device may be a 2U, 4U, or 6U model.
[0138] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0139] Figure 7 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. 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 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0140] As shown in Figure 7, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. The RAM 803 can also store various programs and data required for the operation of the electronic device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0141] Multiple components in electronic device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of displays, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows electronic device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0142] The computing unit 801 can be various general-purpose and / or special-purpose 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 special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, 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 can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the baseboard management controller startup method described above can be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the baseboard management controller startup method by any other suitable means (e.g., by means of firmware).
[0143] Various embodiments 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-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations 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, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0144] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0145] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0146] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).
[0147] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0148] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0149] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0150] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.
[0151] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A method for starting a baseboard management controller, characterized in that, The method includes: In response to the initialization of the Baseboard Management Controller (BMC), the number of fan-in-place signals of the electronic device is obtained; The model of the electronic device is determined 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, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to; The fan is controlled to dissipate heat based on the heat dissipation strategy of the electronic device, and preloading is performed based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
2. The method according to claim 1, characterized in that, The method further includes: Start the electronic device; In response to the completion of the startup of the electronic device, the hard drive information connected to the hard drive backplane is obtained based on the inter-integrated circuit bus signal; The hard drive information includes at least one of the following: number of hard drives, operating status of each hard drive, hard drive model, hard drive specifications, hard drive temperature, and hard drive read / write speed.
3. The method according to claim 1, characterized in that, The acquisition of the number of fan presence signals of the electronic device includes: Read the first fan in-situ signal of the electronic device; In response to the fact that the number of the first fan in-situ signals is even, the number of the first fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device; If the number of the first fan presence signals is odd, the fan presence signals of the electronic device are reread.
4. The method according to claim 3, characterized in that, The rereading of the fan presence signal of the electronic device includes: Read the presence signal of the second fan in the electronic device; In response to the fact that the number of the second fan in-situ signals is even, the number of the second fan in-situ signals is determined to be the number of fan in-situ signals of the electronic device; In response to the fact that the number of the second fan's presence signals is odd and the number of times the fan presence signals are reread is greater than or equal to a preset threshold, the number of the second fan's presence signals is incremented by 1 to determine the number of the fan presence signals of the electronic device.
5. The method according to claim 1, characterized in that, Determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: Based on the number of fan presence signals and the relationship between the number of fans and the model, the model of the electronic device is determined.
6. The method according to claim 5, characterized in that, Determining the model of the electronic device based on the number of fan presence signals of the electronic device includes: Determine the project information corresponding to the electronic device; Based on the project information, the relationship between the number of fans and the model was determined; Based on the relationship between the number of fans and the model, and the number of fan presence signals, the model of the electronic device is determined.
7. The method according to claim 1, characterized in that, The electronic devices include models with 2 units, 4 units, or 6 units.
8. A board management controller start-up device, characterized in that, The device includes: The acquisition unit is used to acquire the number of fan in-situ signals of the electronic device in response to the initialization of the baseboard management controller (BMC). The first determining unit is used to determine the model of the electronic device based on the number of fan presence signals of the electronic device; The second determining unit is used to determine the heat dissipation strategy of the electronic device, as well as the maximum number of slots and slot positions that the hard drive backplane of the electronic device can connect to, based on the model of the electronic device. The preloading unit is used to control fan cooling based on the heat dissipation strategy of the electronic device and to preload based on the maximum number of slots that the hard drive backplane can connect to and the slot positions.
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 to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.