CN115097879A - Temperature regulation and control method, device, equipment and medium - Google Patents

Temperature regulation and control method, device, equipment and medium Download PDF

Info

Publication number
CN115097879A
CN115097879A CN202210751006.7A CN202210751006A CN115097879A CN 115097879 A CN115097879 A CN 115097879A CN 202210751006 A CN202210751006 A CN 202210751006A CN 115097879 A CN115097879 A CN 115097879A
Authority
CN
China
Prior art keywords
temperature
mode
wide
temperature sensor
edge server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210751006.7A
Other languages
Chinese (zh)
Other versions
CN115097879B (en
Inventor
杨中元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210751006.7A priority Critical patent/CN115097879B/en
Publication of CN115097879A publication Critical patent/CN115097879A/en
Application granted granted Critical
Publication of CN115097879B publication Critical patent/CN115097879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K15/00Testing or calibrating of thermometers
    • G01K15/007Testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a temperature regulation method, a temperature regulation device, equipment and a medium, which relate to the technical field of computers and comprise the following steps: polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero; if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command; and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode. This application can be based on whether ambient temperature is less than the zero degree, confirms whether open the wide warm mode of marginal server, also to two kinds of ambient modes more than the zero degree and below the zero degree, the server can independently regulate and control the temperature of part and self in order to adapt to different ambient temperature.

Description

Temperature regulation and control method, device, equipment and medium
Technical Field
The invention relates to the technical field of computers, in particular to a temperature regulation method, a temperature regulation device, temperature regulation equipment and a temperature regulation medium.
Background
The environment where the general-purpose server is placed to cope with most application scenarios is limited, and the general-purpose server is generally placed in a machine room cabinet, but for another field, that is, an edge terminal, various strategies and schemes of the general-purpose server to cope with the general-purpose environment are weak. For the application scenario of such edge terminal, a new type of server for edge application, named edge server, has been created in recent years. Because some scene implementations of the edge server are placed at the roadside or in extreme environments, compared with a general server, policy adjustment for various requirements is generated for the environmental policy and the temperature regulation supported by the server. One of the huge challenges that needs to be faced with an edge server applied to a drive test environment computing unit is: when the edge server is in an extremely severe environment, for example, the environmental temperature is lower than zero, how to ensure that each component of the edge server can operate normally. Since a general-purpose server has no sub-zero management scheme when the ambient temperature reaches sub-zero, however, it is one of the scenario schemes that must be implemented for the edge server to have the ambient temperature below zero.
In summary, how to realize that the edge server can adapt to the environmental temperature change so as to ensure that each component in the edge server can normally operate is a problem to be solved at present.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device and a medium for temperature regulation, which can enable an edge server to adapt to environmental temperature changes, so as to ensure that each component in the edge server can operate normally. The specific scheme is as follows:
in a first aspect, the present application discloses a temperature control method applied to a baseboard management controller, including:
polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero;
if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command;
and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
Optionally, after determining whether the ambient temperature is lower than zero, the method further includes:
if the temperature of the second target component is lower than the temperature of the second target component, determining that the second target component does not support the wide-temperature mode in the edge server, and setting the temperature of a third temperature sensor of the second target component to be zero.
Optionally, after sending the control command to the second temperature sensor of the first target component, the method further includes:
resetting data bits of a register in the second temperature sensor to obtain current data bits.
Optionally, the verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is successfully started includes:
reading the current data bit of a register in the second temperature sensor to determine whether the second temperature sensor successfully starts a wide temperature mode according to the current data bit.
Optionally, after controlling the edge server to enter the wide temperature regulation mode, the method further includes:
acquiring identification information of each second temperature sensor, and reading a wide temperature compatible range corresponding to the identification information from a predefined database to obtain a reading result;
and processing the reading result in a preset mode to obtain a corresponding return value, and realizing overall temperature regulation and control by utilizing a preset heat dissipation regulation and control strategy based on the return value.
Optionally, the processing the read result in a preset manner to obtain a corresponding return value includes:
and determining the currently set return value type, and processing the reading result based on the return value type to obtain a corresponding return value.
Optionally, the processing the read result based on the type of the return value to obtain a corresponding return value includes:
if the return value type is a positive value type, judging whether the reading result has a negative value, if so, performing addition processing on the reading result by using a preset value to obtain a reading result with a positive value, and then performing reverse data processing on the reading result to obtain a corresponding return value;
and if the return value type is not the positive value type, performing data forward processing on the read result to obtain a corresponding return value.
In a second aspect, the present application discloses a temperature control device for a baseboard management controller, comprising:
the environment temperature acquisition module is used for acquiring the environment temperature of the edge server by utilizing the polling of the first temperature sensor and judging whether the environment temperature is lower than zero;
the wide temperature mode control module is used for determining a first target component supporting a wide temperature mode in the edge server and sending a control command to a second temperature sensor of the first target component if the temperature is lower than the preset temperature, so that the second temperature sensor can start the wide temperature mode based on the control command;
and the checking module is used for checking the second temperature sensor by using a preset checking rule to determine whether the wide temperature mode is started successfully or not, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the temperature regulating method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program realizes the steps of the temperature regulation method disclosed in the foregoing when being executed by a processor.
Therefore, the temperature regulation and control method is applied to the substrate management controller and comprises the following steps: polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero; if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command; and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode. Therefore, the method includes the steps that the first temperature sensor is used for polling to obtain the environment temperature of the edge server, whether the environment temperature is lower than zero is judged, if yes, a control command is sent to the second temperature sensor of the first target component supporting the wide-temperature mode in the edge server to control the second temperature sensor to start the wide-temperature mode, whether the wide-temperature mode is started successfully is checked, and if the wide-temperature mode is started successfully, the edge server is controlled to enter the wide-temperature regulation and control mode. Therefore, the substrate management controller can automatically start the wide temperature mode of the edge server according to the change of the environmental temperature, so that the server can automatically regulate and control the temperature of the components and the temperature of the server to adapt to the environmental temperature for two environmental modes above zero and below zero, and the normal operation of each component in the edge server is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a temperature regulation method disclosed herein;
FIG. 2 is a flow chart of a specific temperature control method disclosed herein;
FIG. 3 is a schematic diagram of a specific temperature control process disclosed herein;
FIG. 4 is a flow chart of a specific temperature control method disclosed herein;
FIG. 5 is a schematic diagram of a specific temperature control process disclosed herein;
FIG. 6 is a schematic structural diagram of a temperature control device according to the present disclosure;
fig. 7 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, some scene implementations of edge servers are placed at the roadside or in extreme environments, so that compared to general servers, policy adjustment for various requirements is generated for environmental policies and temperature regulation supported by the servers. One of the great challenges to be faced with an edge server applied to a drive test environment computing unit is: when the edge server is in an extremely severe environment, for example, the environmental temperature is lower than zero, how to ensure that each component of the edge server can operate normally. Since a general purpose server has no sub-zero management scheme when the ambient temperature reaches below zero, however, it is one of the scenario schemes that must be implemented for the edge server to have the ambient temperature below zero. Therefore, the embodiment of the application discloses a temperature regulation method, a temperature regulation device, equipment and a medium, which can realize that an edge server can adapt to the change of environmental temperature so as to ensure that all components in the edge server can normally operate.
Referring to fig. 1, an embodiment of the present application discloses a temperature regulation method applied to a baseboard management controller, where the method includes:
step S11: and polling by utilizing a first temperature sensor to acquire the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero.
In this embodiment, a substrate Management Controller (BMC) acquires an ambient temperature of the edge server by polling using a first temperature sensor (sensor), where the first temperature sensor may specifically be a temperature sensor at the air inlet, that is, the air inlet temperature sensor autonomously senses an external ambient temperature, feeds the ambient temperature back to the substrate Management Controller at a specified time, and then the substrate Management Controller determines whether the ambient temperature is lower than zero according to the acquired ambient temperature.
Step S12: if the temperature of the edge server is lower than the preset temperature, determining a first target component supporting the wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component, so that the second temperature sensor starts the wide temperature mode based on the control command.
In this embodiment, if the ambient temperature is lower than zero, a first target component of the edge server that supports the wide temperature mode is determined, and a control command is sent to a second temperature sensor of the first target component, so that the second temperature sensor starts the wide temperature mode based on the control command, where the control command may be specifically an i2c (Inter-Integrated Circuit, i.e., two-wire serial bus) command. It will be appreciated that not all components or chips in the edge server support the wide temperature mode, and that for chips or components that support the wide temperature mode, sub-zero temperature environments, corresponding temperature sensors may be responsive. It is to be noted that the wide temperature mode in the present embodiment refers to a temperature mode in which the respective chips and components are downward compatible with respect to the ambient temperature when the ambient temperature reaches below zero.
Step S13: and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
In this embodiment, after the control command for starting the wide temperature mode is sent to the second temperature sensor of the first target component, the second temperature sensor needs to be checked by using a preset check rule to determine whether the wide temperature mode is started successfully, and if it is determined that the wide temperature mode is started successfully by the second temperature sensor, the edge server is controlled to enter the wide temperature regulation and control mode. In addition, if the second temperature sensor fails to start the wide temperature mode, log logs are recorded and a warning notice is given.
Therefore, the temperature regulation and control method is applied to the substrate management controller and comprises the following steps: polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero; if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command; and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode. Therefore, the method includes the steps that the first temperature sensor is used for polling to obtain the environment temperature of the edge server, whether the environment temperature is lower than zero is judged, if yes, a control command is sent to the second temperature sensor of the first target component supporting the wide-temperature mode in the edge server to control the second temperature sensor to start the wide-temperature mode, whether the wide-temperature mode is started successfully is checked, and if the wide-temperature mode is started successfully, the edge server is controlled to enter the wide-temperature regulation and control mode. Therefore, the substrate management controller can automatically start the wide temperature mode of the edge server according to the change of the environmental temperature, so that the server can automatically regulate and control the temperature of the components and the temperature of the server to adapt to the environmental temperature for two environmental modes above zero and below zero, and the normal operation of each component in the edge server is ensured.
Referring to fig. 2 and fig. 3, the embodiment of the present application discloses a specific temperature control method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution. The method specifically comprises the following steps:
step S21: and polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero.
Step S22: if the temperature of the edge server is lower than the preset temperature, determining a first target component supporting the wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component, so that the second temperature sensor starts the wide temperature mode based on the control command.
In another specific embodiment, after the determining whether the ambient temperature is lower than zero, the method further includes: if the temperature of the second target component is lower than the temperature of the second target component, determining that the second target component does not support the wide-temperature mode in the edge server, and setting the temperature of a third temperature sensor of the second target component to be zero. It is understood that, if the ambient temperature is lower than zero, it is further determined that the second target component in the edge server does not support the wide temperature mode, and the temperature of the third temperature sensor of the second target component is set to zero. Specifically, when the temperature reaches below zero, a chip or component that does not support wide temperature mode will zero the temperature and return the component status to zero, indicating that the component temperature sensor is not in place.
Further, if the ambient temperature is not lower than zero, the bmc does not respond, and the current components or chips are in the default wide temperature mode off state. That is, if the ambient temperature is equal to or higher than zero, the temperature sensors of the respective components or chips are kept in the state in which the wide temperature mode is turned off.
Step S23: resetting data bits of a register in the second temperature sensor to obtain current data bits.
In this embodiment, after sending the control command for turning on the wide temperature mode to the second temperature sensor of the first target component, the data bit of the register in the second temperature sensor needs to be reset to obtain the current data bit. That is, after the i2c command for turning on the wide temperature mode is sent to the second temperature sensor supporting the wide temperature mode, the register data bit in the second temperature sensor needs to be rewritten to turn on the wide temperature mode, and the edge server may enter the wide temperature mode regulation and control strategy accordingly.
Step S24: and reading the current data bit of a register in the second temperature sensor so as to determine whether the second temperature sensor successfully starts a wide temperature mode according to the current data bit, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
In this embodiment, when it is checked whether the second temperature sensor successfully starts the wide temperature mode, it may be determined whether the second temperature sensor successfully starts the wide temperature mode according to the current data bit by reading the current data bit of the register in the second temperature sensor. As can be seen from the foregoing disclosure, when a control command for turning on the wide temperature mode is sent to the second temperature sensor of the first target component, and then the data bit of the register in the second temperature sensor needs to be reset, it can be determined whether the turning on of the wide temperature mode is successful by the bmc by reading the current data bit of the register in the second temperature sensor. And if the operation is successful, controlling the edge server to enter a wide temperature regulation mode.
For a more specific processing procedure of the step S21, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
It can be seen that, after sending the control command to the second temperature sensor of the first target component, the embodiment of the present application further needs to reset the data bit of the register in the second temperature sensor to obtain the current data bit, and determine whether the second temperature sensor successfully starts the wide temperature mode according to the current data bit by reading the current data bit of the register in the second temperature sensor. Therefore, when the ambient temperature is lower than zero degree, the baseboard management controller automatically sends a control command for starting the wide-temperature mode to the second temperature sensor in the first target component supporting the wide-temperature mode, and rewrites a data bit of a register in the second temperature sensor, and then reads the data bit to determine whether the wide-temperature mode is started successfully; and setting a temperature of a third temperature sensor in a second target component that does not support the wide temperature mode to zero degrees; and when the ambient temperature is lower than zero degree, the baseboard management controller does not make any reaction and still keeps the state of closing the wide-temperature mode. Therefore, the different temperature regulation and control modes of each component or chip in the edge server can be automatically switched under different environmental temperatures, and the normal operation and the service life of each component or chip in the edge server are protected to a great extent while the diversification of the scenes responded by the edge server is realized.
Referring to fig. 4 and 5, a specific temperature control method is disclosed in the embodiment of the present application, and the technical solution is further described and optimized in the embodiment with respect to the previous embodiment. The method specifically comprises the following steps:
step S31: and polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero.
Step S32: if the temperature of the edge server is lower than the preset temperature, determining a first target component supporting the wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component, so that the second temperature sensor starts the wide temperature mode based on the control command.
Step S33: and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
Step S34: and acquiring identification information of each second temperature sensor, and reading a wide temperature compatible range corresponding to the identification information from a predefined database to obtain a reading result.
In this embodiment, as can be seen from the foregoing disclosure, a control command for starting the wide temperature mode has been sent to the second temperature sensors of the first target component supporting the wide temperature mode, then when the temperature sensors enter the wide temperature mode, the baseboard management controller obtains a signal, then obtains identification information corresponding to each second temperature sensor, and reads a wide temperature compatible range corresponding to the identification information from a predefined database, so as to obtain a read result. That is, the database stores the wide temperature compatible range corresponding to the identification information of each second sensor, and the identification information may specifically be a sensor identification number. It will be appreciated that the regulatory strategy of the baseboard management controller is generally compatible into the overall machine regulatory strategy based on the downward compatible temperature range specified by the chip or component specification.
Step S35: and processing the reading result in a preset mode to obtain a corresponding return value, and realizing overall temperature regulation and control by utilizing a preset heat dissipation regulation and control strategy based on the return value.
In this embodiment, the read result needs to be processed in a preset manner to obtain a corresponding return value, and then the overall temperature control is implemented by using a preset heat dissipation control strategy based on the return value, specifically, the return value is input into the preset heat dissipation control strategy according to a certain format to implement the temperature control of the overall machine. It should be noted that, the processing the read result in the preset manner to obtain the corresponding return value includes: and determining the currently set return value type, and processing the reading result based on the return value type to obtain a corresponding return value. It is understood that the type of the return value is preset, and then the read result is processed according to the type of the return value to obtain the corresponding return value.
Further, the processing the read result based on the type of the return value to obtain a corresponding return value includes: if the type of the return value is a positive value type, judging whether the reading result has a negative value, if so, performing addition processing on the reading result by using a preset value to obtain a reading result with a positive value, and then performing reverse data processing on the reading result to obtain a corresponding return value; and if the return value type is not the positive value type, performing data forward processing on the read result to obtain a corresponding return value. It will be appreciated that there are two return value types, one where the return value type can only be positive and the other where the return value type can be negative.
In a specific embodiment, if the type of the return value is a positive value type, the sensor chip needs to process the actual temperature return value, that is, the read result, specifically, determine whether the read result has a negative value, if so, the read result needs to be added by using a preset value to obtain a positive value read result, that is, the negative value needs to be fixed to be positive, and the substrate management controller needs to perform reverse data processing on the situation to obtain a corresponding return value.
In another embodiment, if the type of the return value is not a positive value type, that is, it indicates that a negative value can be returned, in this case, the bmc needs to process the forward data to obtain the corresponding return value.
For more specific processing procedures of the steps S31, S32, and S33, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
Therefore, in the embodiment of the present application, the temperature range is required to be compatible with the temperature range specified by the chip or component specification, and the temperature range is required to be compatible with the regulation strategy of the whole machine through the regulation strategy of the bmc. Specifically, the identification information of each second temperature sensor is obtained, a wide temperature compatible range corresponding to the identification information is read from a predefined database to obtain a read result, the read result is processed in a preset mode to obtain a corresponding return value, and the whole temperature regulation and control is realized by utilizing a preset heat dissipation regulation and control strategy based on the return value. That is, after the wide temperature mode is successfully started, the baseboard management controller can respectively preprocess wide temperature compatible ranges of different specifications according to the setting of the temperature specification on each chip or component, so as to be compatible with the heat dissipation strategy of the whole case to realize the whole regulation and control, and finally the edge server can adapt to various environmental requirements.
Referring to fig. 6, an embodiment of the present application discloses a temperature control device, which is applied to a baseboard management controller, and the temperature control device includes:
the environment temperature acquiring module 11 is configured to acquire an environment temperature of the edge server by polling through a first temperature sensor, and determine whether the environment temperature is lower than zero;
the wide temperature mode control module 12 is configured to determine, if the temperature difference is smaller than a preset temperature threshold, a first target component in the edge server that supports the wide temperature mode, and send a control command to a second temperature sensor of the first target component, so that the second temperature sensor starts the wide temperature mode based on the control command;
and the checking module 13 is configured to check the second temperature sensor by using a preset checking rule to determine whether the wide temperature mode is successfully started, and if so, control the edge server to enter the wide temperature regulation and control mode.
Therefore, the temperature regulation and control method is applied to the substrate management controller and comprises the following steps: polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero; if the temperature of the edge server is lower than the preset temperature threshold value, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command; and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode. Therefore, the method and the device have the advantages that the first temperature sensor is utilized to poll and obtain the ambient temperature of the edge server, whether the ambient temperature is lower than zero is judged, if the ambient temperature is lower than zero, a control command is sent to the second temperature sensor of the first target component supporting the wide-temperature mode in the edge server to control the second temperature sensor to start the wide-temperature mode, whether the wide-temperature mode is started successfully is checked, and if the wide-temperature mode is started successfully, the edge server is controlled to enter the wide-temperature regulation and control mode. Therefore, the substrate management controller can automatically start the wide temperature mode of the edge server according to the change of the environmental temperature, so that the server can automatically regulate and control the temperature of the components and the temperature of the server to adapt to the environmental temperature for two environmental modes above zero and below zero, and the normal operation of each component in the edge server is ensured.
In some specific embodiments, after the ambient temperature obtaining module 11, the method may further include:
and the temperature setting unit is used for determining a second target component which does not support the wide temperature mode in the edge server and setting the temperature of a third temperature sensor of the second target component to be zero if the temperature is lower than the preset temperature.
In some embodiments, the wide temperature mode control module 12 may further include:
and the data bit setting unit is used for resetting the data bits of the register in the second temperature sensor so as to obtain the current data bits.
In some specific embodiments, the verifying module 13 may specifically include:
and the data bit reading unit is used for reading the current data bit of the register in the second temperature sensor so as to determine whether the second temperature sensor successfully starts the wide temperature mode according to the current data bit.
In some specific embodiments, after the verifying module 13, the method may further include:
the reading result acquisition unit is used for acquiring the identification information of each second temperature sensor and reading a wide temperature compatible range corresponding to the identification information from a predefined database to obtain a reading result;
and the read result processing unit is used for processing the read result in a preset mode to obtain a corresponding return value and realizing overall temperature regulation and control by utilizing a preset heat dissipation regulation and control strategy based on the return value.
In some specific embodiments, the read result processing unit may specifically include:
and the return value type determining unit is used for determining the currently set return value type and processing the reading result based on the return value type to obtain a corresponding return value.
In some specific embodiments, the return value type determining unit may specifically include:
a first type processing unit, configured to determine whether a negative value exists in the read result if the return value type is a positive value type, and if so, perform addition processing on the read result by using a preset value to obtain a positive value read result, and then perform reverse data processing on the read result to obtain a corresponding return value;
and the second type processing unit is used for carrying out data forward processing on the read result to obtain a corresponding return value if the return value type is not the positive value type.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The method specifically comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is adapted to store a computer program, which is loaded and executed by the processor 21, to implement the steps of:
polling and acquiring the ambient temperature of the edge server by using a first temperature sensor, and judging whether the ambient temperature is lower than zero;
if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command;
and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
if the temperature of the second target component is lower than the temperature of the second target component, determining that the second target component does not support the wide-temperature mode in the edge server, and setting the temperature of a third temperature sensor of the second target component to be zero.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
resetting data bits of a register in the second temperature sensor to obtain current data bits.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
reading the current data bit of a register in the second temperature sensor to determine whether the second temperature sensor successfully starts a wide temperature mode according to the current data bit.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
acquiring identification information of each second temperature sensor, and reading a wide temperature compatible range corresponding to the identification information from a predefined database to obtain a reading result;
and processing the reading result in a preset mode to obtain a corresponding return value, and realizing overall temperature regulation and control by utilizing a preset heat dissipation regulation and control strategy based on the return value.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
and determining the currently set return value type, and processing the reading result based on the return value type to obtain a corresponding return value.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
if the return value type is a positive value type, judging whether the reading result has a negative value, if so, performing addition processing on the reading result by using a preset value to obtain a reading result with a positive value, and then performing reverse data processing on the reading result to obtain a corresponding return value;
and if the return value type is not the positive value type, performing data forward processing on the read result to obtain a corresponding return value.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the mass data 223 in the memory 22 by the processor 21, which may be Windows, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the temperature control method performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the electronic device and transmitted from an external device, or may include data collected by the input/output interface 25 itself.
Further, an embodiment of the present application further discloses a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is loaded and executed by a processor, the method steps executed in the temperature regulation process disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The temperature control method, device, equipment and storage medium provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A temperature regulation method is applied to a substrate management controller and comprises the following steps:
polling by utilizing a first temperature sensor to obtain the ambient temperature of the edge server, and judging whether the ambient temperature is lower than zero;
if the temperature difference is less than the preset temperature, determining a first target component supporting a wide temperature mode in the edge server, and sending a control command to a second temperature sensor of the first target component so that the second temperature sensor starts the wide temperature mode based on the control command;
and verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if so, controlling the edge server to enter the wide temperature regulation and control mode.
2. The method as claimed in claim 1, wherein after determining whether the ambient temperature is below zero, the method further comprises:
if the temperature of the second target component is lower than the temperature of the second target component, determining that the second target component does not support the wide-temperature mode in the edge server, and setting the temperature of a third temperature sensor of the second target component to be zero.
3. The method of claim 1, wherein after sending the control command to the second temperature sensor of the first target component, further comprising:
resetting data bits of a register in the second temperature sensor to obtain current data bits.
4. The method as claimed in claim 3, wherein the verifying the second temperature sensor using the preset verification rule to determine whether the wide temperature mode is successfully turned on comprises:
reading the current data bit of a register in the second temperature sensor to determine whether the second temperature sensor successfully starts a wide temperature mode according to the current data bit.
5. The temperature regulating method according to any one of claims 1 to 4, further comprising, after the controlling the edge server to enter the wide temperature regulation mode:
acquiring identification information of each second temperature sensor, and reading a wide temperature compatible range corresponding to the identification information from a predefined database to obtain a reading result;
and processing the reading result in a preset mode to obtain a corresponding return value, and realizing integral temperature regulation and control by utilizing a preset heat dissipation regulation and control strategy based on the return value.
6. The method according to claim 5, wherein the processing the read result in a preset manner to obtain a corresponding return value comprises:
and determining the currently set return value type, and processing the reading result based on the return value type to obtain a corresponding return value.
7. The method as claimed in claim 6, wherein said processing the read result based on the type of the return value to obtain the corresponding return value comprises:
if the type of the return value is a positive value type, judging whether the reading result has a negative value, if so, performing addition processing on the reading result by using a preset value to obtain a reading result with a positive value, and then performing reverse data processing on the reading result to obtain a corresponding return value;
and if the return value type is not the positive value type, performing data forward processing on the read result to obtain a corresponding return value.
8. A temperature regulation and control device is characterized in that the temperature regulation and control device is applied to a substrate management controller and comprises:
the environment temperature acquisition module is used for acquiring the environment temperature of the edge server by utilizing the polling of the first temperature sensor and judging whether the environment temperature is lower than zero;
the wide temperature mode control module is used for determining a first target component supporting a wide temperature mode in the edge server and sending a control command to a second temperature sensor of the first target component if the temperature is lower than the preset temperature, so that the second temperature sensor can start the wide temperature mode based on the control command;
and the verification module is used for verifying the second temperature sensor by using a preset verification rule to determine whether the wide temperature mode is started successfully, and if the wide temperature mode is started successfully, the edge server is controlled to enter the wide temperature regulation and control mode.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to carry out the steps of the temperature regulation method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program realizes the steps of the temperature regulation method according to any one of claims 1 to 7 when executed by a processor.
CN202210751006.7A 2022-06-29 2022-06-29 Temperature regulation and control method, device, equipment and medium Active CN115097879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210751006.7A CN115097879B (en) 2022-06-29 2022-06-29 Temperature regulation and control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210751006.7A CN115097879B (en) 2022-06-29 2022-06-29 Temperature regulation and control method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115097879A true CN115097879A (en) 2022-09-23
CN115097879B CN115097879B (en) 2023-08-04

Family

ID=83295432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210751006.7A Active CN115097879B (en) 2022-06-29 2022-06-29 Temperature regulation and control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115097879B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296155A1 (en) * 2010-05-28 2011-12-01 Microsoft Corporation Automatically starting servers at low temperatures
CN106200840A (en) * 2016-07-07 2016-12-07 山东超越数控电子有限公司 A kind of computer temperature method for handover control
CN107340833A (en) * 2017-05-27 2017-11-10 努比亚技术有限公司 Terminal temperature control method, terminal and computer-readable recording medium
CN110377414A (en) * 2019-07-25 2019-10-25 Oppo广东移动通信有限公司 Adjusting method, device, terminal and the storage medium of capacitive touch screen
CN112462868A (en) * 2020-08-28 2021-03-09 苏州浪潮智能科技有限公司 Low-temperature automatic identification heating system and method for edge server
CN113672074A (en) * 2021-08-24 2021-11-19 努比亚技术有限公司 Terminal temperature control method, terminal and storage medium
CN114020120A (en) * 2021-10-18 2022-02-08 中国联合网络通信集团有限公司 Terminal equipment protection method and device and storage medium
CN114138345A (en) * 2021-10-29 2022-03-04 苏州浪潮智能科技有限公司 Method, device and equipment for low-temperature starting of edge server and readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296155A1 (en) * 2010-05-28 2011-12-01 Microsoft Corporation Automatically starting servers at low temperatures
CN106200840A (en) * 2016-07-07 2016-12-07 山东超越数控电子有限公司 A kind of computer temperature method for handover control
CN107340833A (en) * 2017-05-27 2017-11-10 努比亚技术有限公司 Terminal temperature control method, terminal and computer-readable recording medium
CN110377414A (en) * 2019-07-25 2019-10-25 Oppo广东移动通信有限公司 Adjusting method, device, terminal and the storage medium of capacitive touch screen
CN112462868A (en) * 2020-08-28 2021-03-09 苏州浪潮智能科技有限公司 Low-temperature automatic identification heating system and method for edge server
CN113672074A (en) * 2021-08-24 2021-11-19 努比亚技术有限公司 Terminal temperature control method, terminal and storage medium
CN114020120A (en) * 2021-10-18 2022-02-08 中国联合网络通信集团有限公司 Terminal equipment protection method and device and storage medium
CN114138345A (en) * 2021-10-29 2022-03-04 苏州浪潮智能科技有限公司 Method, device and equipment for low-temperature starting of edge server and readable medium

Also Published As

Publication number Publication date
CN115097879B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
US10002054B2 (en) Method and system for performing automatic system recovery
CN111130962B (en) Automatic configuration method, equipment, system and storage medium for switch
CN106547645B (en) Method for automatically restoring image file and server system
CN116382746A (en) Firmware upgrading method, device, equipment and medium
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN111459524A (en) Software upgrading method, device and system
CN109766118A (en) Firmware file loading method, device and girff formula server
CN111637079B (en) Mainboard, fan control system and method
CN111625264B (en) Method, device, equipment and medium for upgrading multi-level management system
CN115097879B (en) Temperature regulation and control method, device, equipment and medium
CN114138597B (en) Operating system performance tuning device, method, equipment and storage medium
CN115687026A (en) Multi-node server fault early warning method, device, equipment and medium
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN113900718B (en) Decoupling method, system and device for BMC and BIOS asset information
CN115391277A (en) Method, device, equipment and medium for detecting directory capacity quota
CN114817134A (en) Snapshot task monitoring method, device, equipment and medium
CN113064095A (en) Electronic equipment fault detection method and device and electronic equipment
CN115509337A (en) Power supply detection method, device, equipment and readable storage medium
CN115993929B (en) Storage device management method, storage device management device, electronic device and storage medium
CN113900890B (en) Method, device, equipment and medium for collecting server component information
US20210349516A1 (en) Energy saving device and method for saving energy in data center
CN114036171B (en) Application data management method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant