Edge server temperature control method and device, electronic equipment and storage medium

The substrate management controller and preset control devices jointly monitor the air inlet temperature of the edge server, and determine whether to start the heating device and disable the cooling fan according to the temperature status, which solves the problems of low reliability and low heating efficiency in low temperature environments, and achieves rapid and effective heating and startup.

CN120161891APending Publication Date: 2025-06-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510315185.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

Existing edge servers have low reliability and low heating efficiency in low temperature environments, making it difficult to start and operate normally in extremely cold environments.

Method used

The substrate management controller and the preset control device jointly monitor the air inlet temperature of the edge server. It is monitored when the substrate management controller is started normally, and the preset control device takes over when the startup is abnormal. Determine whether to start the heating device based on the inlet temperature, and disable the cooling fan within a specific temperature range to improve heating efficiency.

Benefits of technology

It realizes rapid and effective heating of edge servers in low-temperature environments, improves the system's startup reliability and response speed in extremely cold environments, and reduces the time and energy consumption required for heating.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120161891A_ABST
    Figure CN120161891A_ABST
Patent Text Reader

Abstract

The invention provides a temperature control method and device for an edge server, electronic equipment and a storage medium, and relates to the technical field of servers. A substrate management controller and a preset control device cooperatively monitor the temperature of an air inlet of the edge server, and when the substrate management controller is normally started, the substrate management controller is responsible for monitoring; the substrate management controller takes over when starting is abnormal, the double-insurance design ensures that temperature data can be accurately acquired under various conditions, temperature monitoring failure caused by faults of the substrate management controller is avoided, reliable acquisition of temperature information by a system is guaranteed, and a solid foundation is provided for subsequent decision-making based on temperature. When the temperature of the air inlet of the edge server is in the low-temperature interval, the heating device is started, and the cooling fan is forbidden. According to the strategy, heat is effectively prevented from being taken away by the fan in the heating process, the heating efficiency is greatly improved, the heating time and energy consumption are reduced, the edge server can reach the temperature suitable for starting up more quickly, and the system response speed is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of servers, and particularly to a method and device for temperature control of an edge server, an electronic device, and a storage medium. Background Art

[0002] With the wide popularization of cloud computing and Internet of Things (IoT) technologies, the geographical locations where data is generated are becoming increasingly dispersed, and the demand for data processing is also increasing day by day. To effectively reduce the burden on data centers, reduce network latency, and improve service response speed, edge computing has emerged and is widely applied. As the core of the edge computing infrastructure, edge servers are widely deployed at locations near data sources or users at the network edge, undertaking the key task of quickly processing data. In many practical application scenarios, edge servers are often deployed in external environments, such as outdoor places like urban monitoring, traffic management, and environmental monitoring, and may even face extreme environments such as extremely cold or extremely hot. In such environments, edge servers must have the ability to adapt to various temperature conditions to ensure normal operation. However, when existing edge servers are designed, the impact of low-temperature environments on hardware startup and operation is not fully considered. Therefore, in related technologies, edge servers have problems of low reliability and low low-temperature heating efficiency when dealing with low-temperature environments, and it is urgent to solve the above problems and improve the reliability and efficiency of edge servers in low-temperature environments. Summary of the Invention

[0003] The present disclosure provides a method and device for temperature control of an edge server, an electronic device, and a storage medium. Its main purpose is to solve the problems of low reliability and low efficiency of edge servers in low-temperature environments in related technologies.

[0004] According to a first aspect of the present disclosure, there is provided a method for temperature control of an edge server, including:

[0005] In response to the edge server being powered on, start the baseboard management controller, and based on a preset control device, detect the operating state of the baseboard management controller; when the baseboard management controller starts up normally, it monitors the temperature of the air inlet of the edge server, and when the baseboard management controller starts up abnormally, the preset control device monitors the temperature of the air inlet;

[0006] Determine whether the edge server can be powered on according to the temperature of the air inlet, and when it cannot be powered on, determine whether to control the heating device to heat;

[0007] When the temperature of the air inlet is in a low-temperature range from a first temperature to a second temperature, start the heating device to heat the edge server and disable the cooling fan;

[0008] When the temperature at the air inlet rises above the second temperature, stop heating the edge server and output a power-on signal to control the edge server to boot up.

[0009] Optionally, after starting the heating device to heat the edge server and disabling the cooling fan, the method further includes:

[0010] Monitor the change in the temperature at the air inlet of the edge server and determine whether the temperature at the air inlet exceeds the second temperature.

[0011] Optionally, when monitoring the change in the temperature at the air inlet of the edge server, the method further includes:

[0012] Monitor the running duration of the heating device. If the running duration exceeds the duration threshold, determine that the heating fails and pause heating the edge server;

[0013] Monitor the number of times of heating the edge server. After the number of heating times exceeds the number threshold, stop heating the edge server.

[0014] Optionally, the baseboard management controller and the preset control device are respectively connected to the output end of the switching module through a data bus. The input end of the switching module is connected to the temperature sensor, and the preset control device is connected to the control end of the switching module;

[0015] When the baseboard management controller fails to start normally, the preset control device monitors the temperature at the air inlet, including:

[0016] When it is detected that the baseboard management controller is abnormal, control the preset control device to send a control signal to the switching module;

[0017] Switch the data path of the temperature sensor from the baseboard management controller to the preset control device to obtain the temperature at the air inlet.

[0018] Optionally, when the baseboard management controller starts up normally, it monitors the temperature at the air inlet of the edge server, including:

[0019] Obtain the temperature at the air inlet based on the data path from the baseboard management controller to the temperature sensor.

[0020] Optionally, when the baseboard management controller fails to start, the method further includes:

[0021] In response to the recovery of the basic management controller failure, obtain the temperature monitoring data recorded by the preset control device and send it to the basic management controller.

[0022] Optionally, the method further includes:

[0023] If the temperature at the air inlet is higher than the second temperature, execute the boot-up process; if the temperature at the air inlet is lower than the first temperature, control the edge server to enter the ultra-low temperature protection mode and prohibit the heating device from starting.

[0024] According to a second aspect of the present disclosure, there is provided an edge server temperature control device, including:

[0025] A detection and control unit, configured to, in response to the edge server being powered on, start the baseboard management controller, and based on a preset controller device, detect the operating state of the baseboard management controller; when the baseboard management controller starts up normally, it monitors the temperature of the air inlet of the edge server, and when the baseboard management controller starts up abnormally, the preset controller device monitors the temperature of the air inlet;

[0026] A judgment unit, configured to determine whether the edge server can be powered on according to the temperature of the air inlet, and when it cannot be powered on, judge whether to control the heating device to perform heating;

[0027] A heating unit, configured to, when the temperature of the air inlet is in a low temperature range from the first temperature to the second temperature, start the heating device to heat the edge server and disable the cooling fan;

[0028] A control unit, configured to, when the temperature of the air inlet rises above the second temperature, stop heating the edge server and output a power-on signal to control the edge server to power on.

[0029] Optionally, the device further includes:

[0030] A first monitoring unit, configured to, after starting the heating device to heat the edge server and disabling the cooling fan, monitor the change in the temperature of the air inlet of the edge server, and judge whether the temperature of the air inlet exceeds the second temperature.

[0031] Optionally, the device further includes:

[0032] A second monitoring unit, configured to, when monitoring the change in the temperature of the air inlet of the edge server, monitor the operating duration of the heating device, and if the operating duration exceeds the duration threshold, determine that the heating fails, and pause heating the edge server;

[0033] A third monitoring unit, configured to monitor the number of times of heating the edge server, and stop heating the edge server after the number of heating times exceeds the number threshold.

[0034] Optionally, the baseboard management controller and the preset controller device are respectively connected to the output end of the switching module through a data bus, the input end of the switching module is connected to the temperature sensor, and the preset controller device is connected to the control end of the switching module;

[0035] The detection and control unit includes:

[0036] A control module, configured to, when detecting that the baseboard management controller is abnormal, control the preset controller device to send a control signal to the switching module;

[0037] A switching module, configured to switch the data path of the temperature sensor from the baseboard management controller to a preset control device, so as to obtain the inlet air temperature.

[0038] Optionally, the detection and control unit further includes:

[0039] An acquisition module, configured to obtain the inlet air temperature based on the data path from the baseboard management controller to the temperature sensor.

[0040] Optionally, the device further includes:

[0041] An acquisition unit, configured to, when the baseboard management controller fails to start, in response to the recovery of the base management controller failure, obtain the temperature monitoring data recorded by the preset control device, and send it to the baseboard management controller.

[0042] Optionally, the device further includes:

[0043] An execution unit, configured to execute the boot process when the inlet air temperature is higher than the second temperature; and control the edge server to enter the ultra-low temperature protection mode and prohibit the heating device from starting when the inlet air temperature is lower than the first temperature.

[0044] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0045] At least one processor; and

[0046] A memory communicatively connected to the at least one processor; wherein,

[0047] 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 for controlling the temperature of the edge server described in the foregoing first aspect.

[0048] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method for controlling the temperature of the edge server described in the foregoing first aspect.

[0049] According to a fifth aspect of the present disclosure, there is provided a computer program product, including a computer program, where the computer program, when executed by a processor, implements the method for controlling the temperature of the edge server described in the foregoing first aspect.

[0050] The present disclosure provides a method and apparatus for controlling the temperature of an edge server, an electronic device, and a storage medium, relating to the technical field of servers. The present disclosure collaboratively monitors the temperature of the air inlet of the edge server through a baseboard management controller and a preset control device. When the baseboard management controller starts normally, it is responsible for monitoring. When the start is abnormal, the baseboard management controller takes over. This dual-insurance design ensures that temperature data can be accurately obtained in various situations, avoiding the failure of temperature monitoring caused by the failure of the baseboard management controller, guaranteeing the reliable acquisition of temperature information by the system, and providing a solid foundation for subsequent temperature-based decision-making. When the temperature of the air inlet of the edge server is in the low-temperature range, the heating device is started and the cooling fan is disabled. This strategy effectively avoids the heat being carried away by the fan during the heating process, greatly improves the heating efficiency, reduces the heating time and energy consumption required, enables the edge server to reach a suitable temperature for starting up faster, and improves the system response speed. It is judged whether the edge server can be started according to the temperature of the air inlet. When the temperature rises above the second temperature, the heating is stopped and a power-on signal is output to control the startup. Without manual intervention, the system can automatically complete a series of operations such as heating and starting up according to the temperature conditions, improving the usability and operating efficiency of the edge server and reducing the errors that may be caused by manual operations.

[0051] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used 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

[0052] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:

[0053] Figure 1 is a schematic flowchart of a method for controlling the temperature of an edge server provided by an embodiment of the present disclosure;

[0054] Figure 2 is a schematic flowchart of another method for controlling the temperature of an edge server provided by an embodiment of the present disclosure;

[0055] Figure 3 is a schematic architecture diagram of an edge server provided by an embodiment of the present disclosure;

[0056] Figure 4 is a schematic structural diagram of a device for controlling the temperature of an edge server provided by an embodiment of the present disclosure;

[0057] Figure 5 is a schematic structural diagram of another device for controlling the temperature of an edge server provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0058] The exemplary embodiments of the present disclosure will be described below in conjunction with the accompanying drawings. Various details of the embodiments of the present disclosure are included to assist in understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, descriptions of well-known functions and structures are omitted in the following description for clarity and conciseness.

[0059] A method and apparatus for edge server temperature control, an electronic device, and a storage medium according to embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0060] Figure 1 A flowchart of a method for edge server temperature control provided by an embodiment of the present disclosure.

[0061] As Figure 1 shown, the method includes the following steps:

[0062] Step 101, in response to the edge server being powered on, start the baseboard management controller, and detect the operating state of the baseboard management controller based on a preset control device; when the baseboard management controller starts up normally, it monitors the inlet air temperature of the edge server, and when the baseboard management controller starts up abnormally, the preset control device monitors the inlet air temperature.

[0063] In an embodiment of the present disclosure, in a scenario where the edge server operates in a low-temperature environment, after the edge server is powered on, the system will start the baseboard management controller (BMC) according to a predefined procedure. BMC undertakes key management and monitoring responsibilities in the server system. At this time, the preset control device plays its monitoring function to detect the operating state of BMC. The preset control device obtains relevant signals and status information during the startup process of BMC through a specific communication interface and detection logic, and thereby determines whether BMC starts up normally. It should be noted that the preset control device can be, for example, a field-programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the present disclosure does not limit this.

[0064] If the BMC starts up normally, based on its own temperature monitoring function, the BMC is responsible for monitoring the temperature of the air inlet of the edge server. The BMC is connected to the temperature sensor at the air inlet or an external temperature sensor, and can obtain the temperature data of the air inlet in real time and use this data for subsequent system decisions. When the preset control device detects that the BMC starts up abnormally, to ensure the continuity and reliability of temperature monitoring, the preset control device will take over the monitoring work of the air inlet temperature. The preset control device obtains the temperature data of the air inlet collected by the temperature sensor through corresponding circuit connections and software configurations, and realizes continuous monitoring of the temperature status of the edge server. This mechanism of collaborative monitoring by the BMC and the preset control device ensures that the temperature of the air inlet of the edge server can be effectively monitored in different situations, providing an accurate basis for subsequent system control based on temperature data.

[0065] Step 102, determine whether the edge server can be powered on according to the temperature of the air inlet. When it cannot be powered on, determine whether to control the heating device to heat.

[0066] In the embodiments of the present disclosure, after the system obtains the temperature data of the air inlet of the edge server, it will determine whether the edge server can be directly powered on according to the preset power-on temperature threshold. These temperature thresholds are determined according to the temperature range required for the normal operation of each hardware component inside the server and the overall performance optimization requirements of the server. If the current air inlet temperature reaches or is higher than the power-on temperature threshold, it indicates that the internal hardware environment of the server has met the startup conditions, and the system will guide the server to power on according to the normal process.

[0067] When the air inlet temperature is lower than the power-on temperature threshold, that is, when the server cannot be powered on, the system will further determine whether to control the heating device to heat. This determination process is not random, but is based on various factors. On the one hand, the system will refer to the current ambient temperature condition. If the ambient temperature is in an extremely low temperature state (for example, lower than -5°C), even if the heating device is started, it may not be able to raise the server temperature to the normal working range, and it will also cause energy waste, so the system will not start the heating device. On the other hand, if the ambient temperature is in a low temperature but not extremely low temperature state (such as in the range of -5°C to 0°C), the system will start the heating device to preheat the server to create a suitable power-on environment. Through such a determination mechanism, the system can reasonably decide whether to enable the heating device according to the actual temperature situation, effectively avoiding unnecessary energy consumption while ensuring the normal startup of the server, and improving the reliability and energy utilization efficiency of the edge server startup in a low temperature environment.

[0068] Step 103, when the air inlet temperature is in the low temperature range from the first temperature to the second temperature, start the heating device to heat the edge server and disable the cooling fan.

[0069] In an embodiment of the present disclosure, when the system obtains through the temperature monitoring mechanism that the temperature at the air inlet of the edge server is in the low-temperature range from the first temperature to the second temperature (for example, the low-temperature range is "-5°C - 0°C", and this range can be adjusted according to the CPU operating temperature and the operating efficiency of the heating device), the system will execute specific control instructions. The system will send a start signal to the heating device to activate the heating device to start working. The heating device heats the key hardware components inside the edge server by converting electrical energy into heat energy, gradually increasing the temperature of the hardware components to reach the temperature range suitable for the normal startup of the server. At the same time as the heating device starts, the system will send a disable instruction to the cooling fan to stop the operation of the cooling fan. This is because during the heating process, the operation of the cooling fan will cause some heat to be quickly taken away, reducing the heating efficiency, increasing the heating time and energy consumption. By disabling the cooling fan, heat dissipation can be effectively reduced, enabling more of the heat generated by the heating device to be used to increase the temperature inside the server, accelerating the server's reaching the startup temperature, and improving the startup efficiency of the system in a low-temperature environment. This collaborative control strategy for the heating device and the cooling fan within a specific low-temperature range ensures that the edge server can be preheated efficiently and stably in a low-temperature environment, providing a strong guarantee for subsequent normal startup.

[0070] Step 104, when the temperature at the air inlet rises above the second temperature, stop heating the edge server and output a power-on signal to control the edge server to power on.

[0071] In an embodiment of the present disclosure, during the process of heating the edge server, the system continuously monitors the temperature at the air inlet. When it is detected that the temperature at the air inlet rises above the second temperature (taking 0°C as an example, which can be adjusted according to the actual situation), this indicates that the hardware components inside the server have been heated to the temperature range suitable for startup. At this time, the system will immediately execute the corresponding control instructions, send a stop signal to the heating device to terminate the operation of the heating device, avoid overheating of the server, prevent damage to the hardware due to excessive temperature, and at the same time can effectively save energy.

[0072] At the same time as stopping the heating, the system will generate and output a power-on signal. This power-on signal follows specific electrical protocols and timing requirements and is accurately transmitted to the power management module and related startup circuits of the edge server. After receiving the power-on signal, the power management module supplies power to each hardware component of the server in sequence according to the preset power-on timing, guiding the server to enter the startup process. In this way, the system realizes a smooth transition from the heating state to the startup state, ensuring that the edge server can be successfully started and operate normally in a low-temperature environment, meeting the requirements for the fast and stable startup of the edge server in practical applications.

[0073] The present disclosure provides a method for controlling the temperature of an edge server. The present disclosure collaboratively monitors the temperature of the air inlet of the edge server through a baseboard management controller and a preset control device. When the baseboard management controller starts normally, it is responsible for monitoring. When the start is abnormal, the baseboard management controller takes over. This dual-insurance design ensures that temperature data can be accurately obtained in various situations, avoids the failure of temperature monitoring caused by the failure of the baseboard management controller, guarantees the reliable acquisition of temperature information by the system, and provides a solid foundation for subsequent temperature-based decision-making. When the temperature of the air inlet of the edge server is in the low-temperature range, the heating device is started and the cooling fan is disabled. This strategy effectively avoids the heat being taken away by the fan during the heating process, greatly improves the heating efficiency, reduces the heating time and energy consumption required, enables the edge server to reach a suitable temperature for startup faster, and improves the system response speed. Determine whether the edge server can be powered on according to the temperature of the air inlet. When the temperature rises above the second temperature, stop heating and output a power-on signal to control the startup. Without manual intervention, the system can automatically complete a series of operations such as heating and startup according to temperature conditions, improves the usability and operating efficiency of the edge server, and reduces the errors that may be caused by human operations.

[0074] To clearly illustrate the embodiments of the present disclosure, this embodiment provides a schematic flowchart of another method for controlling the temperature of an edge server.

[0075] As Figure 2 shown, this method includes the following steps:

[0076] Step 201, in response to the edge server being powered on, monitor the temperature of the air inlet of the edge server based on the baseboard management controller or the preset control device.

[0077] Specifically in step 201, after the edge server is powered on, the monitoring process is started. If the baseboard management controller (BMC) works normally, the BMC is responsible for obtaining the temperature data of the air inlet of the edge server; if the BMC starts abnormally, the preset control device (such as CPLD) takes over the monitoring work and obtains the temperature data to provide a basis for subsequent judgment and control.

[0078] Step 202, determine whether the edge server can be powered on according to the temperature of the air inlet.

[0079] If the temperature of the air inlet is higher than the second temperature, execute the startup process. If the temperature of the air inlet is lower than or equal to the second temperature, execute step 203.

[0080] Specifically in step 202, after the system obtains the temperature data of the air inlet of the edge server, it compares it with the preset second temperature. When the temperature is higher than the second temperature, it indicates that the server hardware has reached the appropriate temperature condition for startup, and the system executes the startup process to guide the server to start. If the temperature is lower than or equal to the second temperature, it means that the current state of the server does not meet the requirements for direct startup, and subsequent step 203 needs to be executed for further processing to ensure that the server starts in a suitable temperature environment and guarantee the stability and reliability of the startup process.

[0081] Step 203, determine whether to control the heating device to heat.

[0082] When the temperature of the air inlet is lower than the first temperature, step 204 is executed; when the temperature of the air inlet is in the low-temperature range between the first temperature and the second temperature, step 205 is executed.

[0083] Specifically in step 203, in the low-temperature startup process of the edge server, when step 202 determines that the edge server cannot be directly started, it enters the decision-making link of step 203. The system decides whether to control the heating device to work based on the obtained temperature data of the air inlet of the edge server and in combination with the preset first temperature (such as -5°C, which can actually be adjusted according to the server hardware characteristics and environmental requirements).

[0084] If the temperature of the air inlet is lower than the first temperature, it means that the current environment is in an extremely low temperature state. In this case, it is difficult for the heating device to raise the server temperature to the startup range. At this time, step 204 is executed, and the heating device is not started to avoid waste of energy caused by ineffective heating.

[0085] If the temperature of the air inlet is in the low-temperature range between the first temperature and the second temperature (such as -5°C - 0°C), it indicates that although the server has not reached the startup temperature, it is possible to start the server through heating. At this time, step 205 is executed, and the heating device is started to preheat the server to create suitable conditions for the server to start.

[0086] Step 204, control the edge server to enter the extremely low temperature protection mode and prohibit the heating device from starting.

[0087] Specifically in step 204, when it is detected that the temperature at the air inlet of the edge server is lower than the first temperature (e.g., -5°C, and this threshold can be adjusted according to the actual situation), the system will send a series of control instructions to put the edge server into the extremely low temperature protection mode. In the extremely low temperature protection mode, the system will prohibit the heating device from starting. This is because in an extremely low temperature environment, starting the heating device not only fails to effectively raise the server temperature to the range where it can be normally powered on, but also causes energy waste. Moreover, it may even pose a safety hazard due to the continuous operation of the heating device without achieving the expected effect. By prohibiting the heating device from starting, the system avoids these potential risks, protects the hardware safety of the edge server, and at the same time reserves conditions for the normal startup of the server after the ambient temperature rises later.

[0088] Step 205, start the heating device to heat the edge server and disable the cooling fan.

[0089] Specifically in step 205, when the temperature at the air inlet of the edge server is in the low temperature range between the first temperature and the second temperature (e.g., -5°C - 0°C, and this range can be adjusted according to the CPU operating temperature and the heating device efficiency). The system sends a start signal to the heating device to make the heating device start working, convert electrical energy into heat energy, heat the internal hardware components of the edge server, and raise its temperature. At the same time, the system sends a disable instruction to the cooling fan to make it stop running. This is because during the heating process, the operation of the cooling fan will take away heat, reduce the heating efficiency, increase energy consumption and the startup time. Disabling the cooling fan can reduce heat dissipation, improve the heating efficiency, enable the server to reach the appropriate startup temperature faster, ensure that the server can be efficiently preheated in a low temperature environment, and prepare for subsequent startup.

[0090] Step 206, monitor the change in the temperature at the air inlet of the edge server and determine whether the temperature at the air inlet exceeds the second temperature.

[0091] When the temperature at the air inlet rises above the second temperature, execute step 209.

[0092] Specifically in step 206, after starting the heating device to heat the edge server and disabling the cooling fan, the system continuously monitors the change in the temperature at the air inlet of the edge server in real time through a temperature monitoring device (responsible for reading data by the baseboard management controller or a preset control device). The system compares the real-time obtained temperature at the air inlet with the preset second temperature. If it is detected that the temperature at the air inlet rises above the second temperature, it means that the internal hardware components of the edge server have been heated to the appropriate startup temperature range. At this time, execute step 209, that is, stop heating and control the server to power on and other subsequent operations to ensure that the server starts under suitable temperature conditions and guarantee the stability and reliability of the startup process.

[0093] Step 207: Monitor the operation duration of the heating device. If the operation duration exceeds the duration threshold, it is determined that the heating fails, and the heating of the edge server is paused.

[0094] Specifically in Step 207, during the low-temperature startup process of the edge server, when the heating device is started, the monitoring mechanism for the operation duration of the heating device is synchronously enabled. From the moment the heating device is started, the system accurately records the operation time of the heating device. At the same time, a duration threshold is preset in the system (such as 20 minutes, and heating for 20 minutes is considered overtime). During the heating process, the system continuously compares the actual operation duration of the heating device with the duration threshold. If it is monitored that the operation duration of the heating device exceeds the preset duration threshold, it indicates that within the specified time, the heating device fails to bring the edge server to the temperature condition for startup. The system determines that the heating fails. At this time, the system sends a control signal to pause the heating operation of the edge server, avoiding energy waste caused by continuous ineffective heating, and at the same time preventing potential safety hazards that may be brought by the abnormal operation of the heating device for a long time, providing conditions for further system processing.

[0095] Step 208: Monitor the number of times of heating the edge server. After the number of heating times exceeds the number threshold, stop heating the edge server.

[0096] Specifically in Step 208, during the low-temperature startup process of the edge server, when the heating device fails to reach the temperature condition required for startup during the first heating attempt, it will attempt to heat again. When heating the edge server multiple times, it is necessary to monitor and control the number of heating times. Each time the heating device is started, the count is incremented by one. At the same time, a number threshold is preset in the system (such as 3 times, which depends on the device conditions and environment of the edge server). During the execution of the heating process, the system continuously compares the current number of heating times with the number threshold. Once the number of heating times exceeds the preset number threshold, it indicates that after multiple heating attempts, the edge server still fails to reach the startup state. At this time, the system issues an instruction to stop the heating operation of the edge server, preventing excessive energy consumption caused by repeated ineffective heating, and also avoiding the potential failure risk caused by the long-term operation of the heating device, ensuring the stability and safety of the system operation.

[0097] Step 209: Stop heating the edge server and output a power-on signal to control the edge server to power on.

[0098] Specifically in step 209, in the low-temperature startup process of the edge server, when the temperature at the air inlet rises above the second temperature, the system sends a stop signal to the heating device to terminate its heating operation, avoiding overheating of the server, ensuring hardware safety, and saving energy at the same time. Meanwhile, the system generates and outputs a power-on signal that conforms to a specific electrical protocol. This power-on signal is accurately transmitted to the power management module and related startup circuits of the edge server. The power management module supplies power to each hardware component of the server in an orderly manner according to the preset power-on timing sequence, guiding the server to enter the startup process, thereby enabling the edge server to start normally after preheating in a low-temperature environment and ensuring its stable operation.

[0099] Figure 3 It is a schematic diagram of the architecture of an edge server. The edge server 1 includes: a baseboard management controller 2, a preset control device 3, a fan 4, a heating device 5, a temperature sensor 6, and a switching module 7. The baseboard management controller 2 and the preset control device 3 are respectively connected to the output end of the switching module 7 through a data bus. The input end of the switching module 7 is connected to the temperature sensor 6, and the preset control device 3 is connected to the control end of the switching module 7.

[0100] In order to handle possible failure situations of the baseboard management controller 2 (BMC) and ensure the stable operation of the server in different states. This embodiment can adopt but is not limited to the following methods for fault handling: When the edge server is powered on, start the baseboard management controller and detect the operating state of the baseboard management controller based on the preset control device. When the baseboard management controller starts normally, it monitors the temperature at the air inlet of the edge server. When the baseboard management controller fails to start, the preset control device monitors the temperature at the air inlet.

[0101] In the embodiments of the present disclosure, from the perspective of the hardware architecture, the edge server 1 integrates a baseboard management controller 2, a preset control device 3, a fan 4, a heating device 5, a temperature sensor 6, and a switching module 7. These components cooperate with each other. Among them, the baseboard management controller 2 and the preset control device 3 are connected to the output end of the switching module 7 through a data bus. The input end of the switching module 7 receives the data collected by the temperature sensor 6. The preset control device 3 is also connected to the control end of the switching module 7. This architecture provides a hardware basis for realizing temperature monitoring and control.

[0102] When the server is powered on and starts up, the system first starts the Baseboard Management Controller 2. At the same time, the preset control device 3 begins to detect the operating status of the Baseboard Management Controller 2. If the Baseboard Management Controller 2 starts up normally, it will be responsible for monitoring the temperature of the air inlet of the edge server. During this process, the temperature control strategy is executed by the preset control device 3. For example, it controls the rotation speed of the fan 4 and the start and stop of the heating device 5 according to the temperature data, so as to adjust the internal temperature of the server and ensure the stable operation of the server. When the preset control device 3 detects that the Baseboard Management Controller 2 fails to start up normally, to ensure that the temperature monitoring work is uninterrupted, the preset control device 3 will take over the temperature monitoring task and directly obtain the data of the temperature sensor 6. And at this time, the entire temperature control strategy is also executed by the preset control device 3 to maintain the effective regulation of the temperature of the edge server.

[0103] In the temperature control strategy described in steps 201-209, whether the Baseboard Management Controller 2 works normally or fails, the preset control device 3 plays a key role, ensuring that in various situations, the edge server can be reasonably regulated according to the temperature data, improving the reliability and stability of the server operation, and effectively solving the problem of temperature monitoring and control failure that may be caused by BMC failure.

[0104] In some embodiments, the switching module 7 is a multiplexer (mux).

[0105] As an implementation method of this embodiment, when the Baseboard Management Controller starts up abnormally and the preset control device monitors the temperature of the air inlet, the following methods can be used but are not limited to: when it is detected that the Baseboard Management Controller is abnormal, control the preset control device to send a control signal to the switching module; switch the data path of the temperature sensor from the Baseboard Management Controller to the preset control device to obtain the temperature of the air inlet.

[0106] Specifically, for the temperature monitoring mechanism when the Baseboard Management Controller 2 fails to start up normally, there is a specific implementation method. After the preset control device 3 detects that the Baseboard Management Controller 2 fails to start up abnormally, it will perform corresponding control operations. The preset control device 3 will send a control signal to the switching module 7, and this signal carries an instruction for switching the data path.

[0107] After receiving this control signal, the switching module 7 adjusts the data transmission path of the temperature sensor 6. Specifically, it cuts off the data path originally connected to the baseboard management controller 2 and reconnects it to the preset control device 3. Through such a data path switching operation, the data on the air inlet temperature collected by the temperature sensor 6 can be successfully transmitted to the preset control device 3. In this way, the preset control device 3 can obtain the air inlet temperature data, so as to effectively monitor the air inlet temperature of the edge server 1, ensure that the temperature monitoring work can still be carried out normally in the case of an abnormality of the baseboard management controller 2, and guarantee the integrity and reliability of the temperature monitoring function of the entire edge server system.

[0108] As an implementation manner of this embodiment, when the baseboard management controller is normally started, it monitors the air inlet temperature of the edge server. The air inlet temperature can be obtained by, but not limited to, the following methods: based on the data path from the baseboard management controller to the temperature sensor, obtain the air inlet temperature.

[0109] Specifically, after the edge server 1 is started, if the baseboard management controller 2 is normally started, it will undertake the task of monitoring the air inlet temperature of the edge server 1. There is an established data path between the baseboard management controller 2 and the temperature sensor 6, and this path is specifically used for transmitting temperature data. When it is necessary to obtain the air inlet temperature, the baseboard management controller 2 reads the data from the temperature sensor 6 through this data path. The temperature sensor 6 collects the temperature information of the air inlet of the edge server 1 in real time, and then transmits these data along this data path to the baseboard management controller 2. In this way, the baseboard management controller 2 can obtain the air inlet temperature based on this data path, providing a data basis for a series of subsequent control operations based on the temperature.

[0110] As an implementation manner of this embodiment, when the baseboard management controller fails to start normally, the method further includes:

[0111] In response to the recovery of the basic management controller failure, obtain the temperature monitoring data recorded by the preset control device and send it to the basic management controller.

[0112] Specifically, when the Baseboard Management Controller 2 starts up abnormally, the system has a post-fault recovery processing mechanism. During the failure of the Baseboard Management Controller 2, the preset control device 3 assumes the responsibility of temperature monitoring and continuously records the relevant temperature monitoring data. When the Baseboard Management Controller 2 recovers from the failure, the system responds. At this time, the system executes specific instructions to cause the preset control device 3 to transmit the temperature monitoring data it has recorded. These data contain key information such as the temperature change at the inlet of the edge server from the start of the failure of the Baseboard Management Controller 2 to its recovery. The system sends the temperature monitoring data recorded by the preset control device 3 to the restored normal Baseboard Management Controller 2 through the established data transmission path. This operation enables the Baseboard Management Controller 2 to obtain the complete temperature data during the failure, which helps it to conduct subsequent system analysis, fault troubleshooting, etc. based on these data, and ensures that the edge server system can operate and manage stably based on the comprehensive temperature data.

[0113] It should be noted that there may be multiple steps in the embodiments of the present disclosure. For the convenience of description, these steps are numbered, but these labels are not intended to limit the execution time slots and execution orders between the steps; these steps can be implemented in any order, and the embodiments of the present disclosure do not make any limitations in this regard.

[0114] Corresponding to the above method for controlling the temperature of the edge server, the present disclosure also proposes a device for controlling the temperature of the edge server. Since the device embodiments of the present disclosure correspond to the above method embodiments, the details not disclosed in the device embodiments can be referred to the above method embodiments, and will not be elaborated in the present disclosure.

[0115] Figure 4 FIG. is a schematic structural diagram of a device for controlling the temperature of an edge server provided by an embodiment of the present disclosure, as Figure 4 shown, including:

[0116] A detection and control unit 31, configured to start the Baseboard Management Controller in response to the edge server being powered on, and detect the operating state of the Baseboard Management Controller based on a preset control device; when the Baseboard Management Controller starts up normally, it monitors the temperature at the inlet of the edge server, and when the Baseboard Management Controller starts up abnormally, the preset control device monitors the temperature at the inlet;

[0117] A judgment unit 32, configured to determine whether the edge server can be powered on according to the temperature at the inlet, and judge whether to control the heating device to heat when it cannot be powered on;

[0118] A heating unit 33, configured to start the heating device to heat the edge server and disable the cooling fan when the temperature at the inlet is in the low temperature range from the first temperature to the second temperature;

[0119] The control unit 34 is configured to stop heating the edge server and output a power-on signal to control the edge server to power on when the temperature at the air inlet rises above the second temperature.

[0120] The present disclosure provides a device for controlling the temperature of an edge server. The present disclosure collaboratively monitors the temperature at the air inlet of the edge server through a baseboard management controller and a preset control device. When the baseboard management controller starts normally, it is responsible for monitoring. When the start is abnormal, the baseboard management controller takes over. This dual-insurance design ensures that temperature data can be accurately obtained in various situations, avoids the failure of temperature monitoring due to the failure of the baseboard management controller, guarantees the reliable acquisition of temperature information by the system, and provides a solid foundation for subsequent temperature-based decision-making. When the temperature at the air inlet of the edge server is in the low-temperature range, the heating device is started and the cooling fan is disabled. This strategy effectively avoids the heat being carried away by the fan during the heating process, greatly improves the heating efficiency, reduces the heating time and energy consumption required, enables the edge server to reach a suitable temperature for power-on faster, and improves the system response speed. It is determined whether the edge server can be powered on according to the temperature at the air inlet. When the temperature rises above the second temperature, the heating is stopped and a power-on signal is output to control the power-on. Without manual intervention, the system can automatically complete a series of operations such as heating and power-on according to the temperature conditions, improving the usability and operating efficiency of the edge server and reducing the possible mistakes caused by manual operations.

[0121] Further, in a possible implementation manner of this embodiment, as Figure 5 shown, the device further includes:

[0122] The first monitoring unit 35 is configured to monitor the change in the temperature at the air inlet of the edge server after starting the heating device to heat the edge server and disabling the cooling fan, and determine whether the temperature at the air inlet exceeds the second temperature.

[0123] Further, in a possible implementation manner of this embodiment, as Figure 5 shown, the device further includes:

[0124] The second monitoring unit 36 is configured to monitor the running duration of the heating device when monitoring the change in the temperature at the air inlet of the edge server. If the running duration exceeds the duration threshold, it is determined that the heating fails, and the heating of the edge server is paused;

[0125] The third monitoring unit 37 is configured to monitor the number of times of heating the edge server, and stop heating the edge server after the number of heating times exceeds the number threshold.

[0126] Further, in a possible implementation manner of this embodiment, as Figure 5As shown, the baseboard management controller and the preset control device are respectively connected to the output end of the switching module through a data bus. The input end of the switching module is connected to the temperature sensor, and the preset control device is connected to the control end of the switching module;

[0127] The detection and control unit 31 includes:

[0128] A control module 311, configured to control the preset control device to send a control signal to the switching module when it detects an abnormality of the baseboard management controller;

[0129] A switching module 312, configured to switch the data path of the temperature sensor from the baseboard management controller to the preset control device to obtain the air inlet temperature.

[0130] Further, in a possible implementation manner of this embodiment, as Figure 5 shown, the detection and control unit 31 further includes:

[0131] An acquisition module 313, configured to acquire the air inlet temperature based on the data path from the baseboard management controller to the temperature sensor.

[0132] Further, in a possible implementation manner of this embodiment, as Figure 5 shown, the device further includes:

[0133] An acquisition unit 38, configured to, when the baseboard management controller starts abnormally, in response to the recovery of the baseboard management controller failure, acquire the temperature monitoring data recorded by the preset control device and send it to the baseboard management controller.

[0134] Further, in a possible implementation manner of this embodiment, as Figure 5 shown, the device further includes:

[0135] An execution unit 39, configured to execute the startup process when the air inlet temperature is higher than the second temperature; and control the edge server to enter the extremely low temperature protection mode and prohibit the heating device from starting when the air inlet temperature is lower than the first temperature.

[0136] It should be noted that the foregoing explanation of the method embodiment also applies to the device of this embodiment, with the same principle, and will not be limited in this embodiment.

[0137] An embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the method embodiments of the above-mentioned edge server temperature control.

[0138] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. Wherein, the computer program is configured to execute the steps in any of the above method embodiments for controlling the temperature of the edge server when running.

[0139] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as USB flash drives, read-only memories (ROM for short), random access memories (RAM for short), external hard drives, magnetic disks, or optical discs that can store computer programs.

[0140] An embodiment of the present application also provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above method embodiments for controlling the temperature of the edge server.

[0141] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above method embodiments for controlling the temperature of the edge server.

[0142] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0143] The above has introduced in detail a method for controlling the temperature of an edge server provided by the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. A method for controlling temperature of an edge server, characterized in that: include: In response to the edge server being powered on, starting the baseboard management controller, and detecting the operating state of the baseboard management controller based on a preset control device; When the baseboard management controller is started normally, the baseboard management controller monitors the air inlet temperature of the edge server; when the baseboard management controller is started abnormally, the preset control device monitors the air inlet temperature; Determine whether the edge server can be powered on according to the air inlet temperature, and determine whether to control the heating device to perform heating when the edge server cannot be powered on; When the air inlet temperature is in a low temperature range from a first temperature to a second temperature, starting the heating device to heat the edge server and disabling the cooling fan; When the air inlet temperature rises to above the second temperature, the edge server is stopped from being heated and a power-on signal is output to control the edge server to start up.

2. The method for edge server temperature control according to claim 1, characterized in that: After starting the heating device to heat the edge server and disabling the cooling fan, the method further includes: Monitor the change of the air inlet temperature of the edge server, and determine whether the air inlet temperature exceeds the second temperature.

3. The method for edge server temperature control according to claim 2, characterized in that: When monitoring the temperature change of the air inlet of the edge server, the method further includes: Monitoring the operating time of the heating device, and determining that the heating has failed if the operating time exceeds a time threshold, and suspending heating of the edge server; The number of times the edge server is heated is monitored, and after the number of times the edge server is heated exceeds a threshold, the heating of the edge server is stopped.

4. The method for edge server temperature control according to claim 1, characterized in that: The baseboard management controller and the preset control device are respectively connected to the output end of the switching module through a data bus, the input end of the switching module is connected to the temperature sensor, and the preset control device is connected to the control end of the switching module; When the baseboard management controller is abnormally started, the preset control device monitors the air inlet temperature, including: When the baseboard management controller is detected to be abnormal, controlling the preset control device to send a control signal to the switching module; The data path of the temperature sensor is switched from the baseboard management controller to the preset control device to obtain the air inlet temperature.

5. The method for edge server temperature control according to claim 4, characterized in that: When the baseboard management controller is started normally, the baseboard management controller monitors the air inlet temperature of the edge server, including: The air inlet temperature is obtained based on a data path from the baseboard management controller to the temperature sensor.

6. The method for edge server temperature control according to claim 1, characterized in that: When the baseboard management controller is abnormally started, the method further includes: In response to the basic management controller recovering from a fault, the temperature monitoring data recorded by the preset control device is acquired and sent to the basic management controller.

7. The method for edge server temperature control according to claim 1, characterized in that: The method further comprises: If the air inlet temperature is higher than the second temperature, the startup process is executed; if the air inlet temperature is lower than the first temperature, the edge server is controlled to enter an extremely low temperature protection mode, and the heating device is prohibited from starting.

8. A device for controlling temperature of an edge server, characterized in that: include: A detection control unit, configured to start a baseboard management controller in response to the edge server being powered on, and detect an operating state of the baseboard management controller based on a preset control device; When the baseboard management controller is started normally, the baseboard management controller monitors the air inlet temperature of the edge server; when the baseboard management controller is started abnormally, the preset control device monitors the air inlet temperature; A judging unit, configured to judge whether the edge server can be powered on according to the air inlet temperature, and to judge whether to control the heating device to perform heating when the edge server cannot be powered on; A heating unit, configured to start the heating device to heat the edge server and disable the cooling fan when the air inlet temperature is in a low temperature range from a first temperature to a second temperature; The control unit is used to stop heating the edge server and output a power-on signal to control the edge server to start up when the air inlet temperature rises to above the second temperature.

9. An electronic device, characterized in that: include: at least one processor; as well as 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 execute the edge server temperature control method described in 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 enable the computer to execute the edge server temperature control method according to any one of claims 1-7.