CN115906202A - Detection method, device and system for box cover of server - Google Patents

Detection method, device and system for box cover of server Download PDF

Info

Publication number
CN115906202A
CN115906202A CN202211337994.7A CN202211337994A CN115906202A CN 115906202 A CN115906202 A CN 115906202A CN 202211337994 A CN202211337994 A CN 202211337994A CN 115906202 A CN115906202 A CN 115906202A
Authority
CN
China
Prior art keywords
server
temperature
rotating speed
state
measured
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.)
Pending
Application number
CN202211337994.7A
Other languages
Chinese (zh)
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 CN202211337994.7A priority Critical patent/CN115906202A/en
Publication of CN115906202A publication Critical patent/CN115906202A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

Landscapes

  • Power Sources (AREA)

Abstract

The embodiment of the application provides a detection method, a device and a system for a box cover of a server, wherein the method comprises the following steps: acquiring the temperature and the power of the server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment; acquiring the rotating speed of a fan in a box body of a server at the current moment to obtain an actually measured rotating speed; and determining the state of the box cover of the server at least according to the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened. Through the application, the problem that the material cost of the server is increased due to the fact that an additional detection element or detection circuit needs to be added on an internal board card or a server case of the server in the existing scheme is solved, and meanwhile the material cost of the server is not excessively increased.

Description

Detection method, device and system for box cover of server
Technical Field
The embodiment of the application relates to the technical field of server cover opening detection, in particular to a method, a device and a system for detecting a server cover of a server.
Background
The server is usually in the computer lab, and server management personnel generally adopt remote monitoring server running state, can not be on-the-spot continuous guard, and in order to prevent that useful person from opening the server case lid privately and carrying out operations such as reassortment to the server, the server will usually increase the function of uncapping detection, detects and records illegal intrusion behavior in the log.
In the existing server cover opening detection scheme, an additional detection element or detection circuit is required to be added on a board card inside a server or a server case, so that the material cost of the server is increased, the detection element added on the board card can occupy the space of the board card, and the detection circuit added on the case can increase the complexity of production and assembly of the server; in addition, the scheme can only be applied to newly developed servers, no power can be provided for sold servers, and meanwhile, because the service cycle of the servers is long and the iteration speed is slow, the wide application of the novel server uncovering detection scheme needs a long time.
Disclosure of Invention
The embodiment of the application provides a detection method, a detection device and a detection system for a box cover of a server, and the method, the device and the system are used for at least solving the problem that in the existing scheme, an additional detection element or detection circuit needs to be added on an internal board card of the server or a server case, so that the material cost of the server is increased.
According to an embodiment of the present application, there is provided a method for detecting a box cover of a server, the method including: acquiring the temperature and the power of a server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment; acquiring the rotating speed of a fan in a box body of a server at the current moment to obtain an actually measured rotating speed; determining the state of a box cover of the server at least according to the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened.
In an exemplary embodiment, determining the state of the lid of the server based on at least the measured temperature, the measured power, and the measured speed comprises: determining the temperature of the server in an ideal state at the current moment according to the measured temperature, the measured power and the measured rotating speed to obtain an ideal temperature; calculating the difference between the measured temperature and the ideal temperature to obtain a temperature difference; and determining the state of the box cover of the server at least according to the temperature difference.
In an exemplary embodiment, determining the state of the lid of the server based at least on the temperature difference comprises: acquiring a temperature threshold; determining that the condition of the server is a state in which a box cover of the server has been opened, in a case where the temperature difference value is greater than or equal to the temperature threshold value
In an exemplary embodiment, determining the state of the lid of the server based at least on the temperature difference comprises: acquiring a temperature threshold; and determining that the condition of the server is a state that a box cover of the server is not opened under the condition that the temperature difference value is smaller than the temperature threshold value.
In an exemplary embodiment, determining the temperature of the server in the ideal state at the current time according to the measured temperature, the measured power and the measured rotation speed, and obtaining the ideal temperature includes: according to
Figure BDA0003915815440000021
Calculating the ideal temperature, wherein T x And M is the power coefficient, P is the measured power, N is the rotation speed coefficient of the fan, R is the measured rotation speed, and K is the temperature coefficient.
In an exemplary embodiment, before determining the state of the lid of the server based on at least the measured temperature, the measured power and the measured speed, the method further comprises: under the condition of acquiring in-place information of the fan, acquiring a first rotating speed threshold value and a second rotating speed threshold value, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for representing that the fan is electrically connected with the server; determining that the operation condition of the fan is a normal operation condition under the condition that the measured rotating speed is greater than or equal to the first rotating speed threshold value and the measured rotating speed is less than or equal to the second rotating speed threshold value; and under the condition that the actual measurement rotating speed is smaller than a first rotating speed threshold value or the actual measurement rotating speed is larger than a second rotating speed threshold value, determining that the running condition of the fan is an abnormal running condition, and controlling a first alarm of the fan to give an alarm, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value.
In an exemplary embodiment, after determining that the state of the server is a state in which a lid of the server has been opened, the method further comprises: and controlling a second alarm of the server to alarm.
According to another embodiment of the application, a detection device of a box cover of a server is provided, and the device comprises a first acquisition module, a second acquisition module and a determination module; the first acquisition module is used for acquiring the temperature and the power of the server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the interior of a box body of the server at the current moment; the second acquisition module is used for acquiring the rotating speed of the fan in the box body of the server at the current moment to obtain the actually measured rotating speed; the determining module is used for determining the state of the box cover of the server at least according to the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened.
According to another embodiment of the present application, there is also provided a system for detecting a box cover of a server, including a baseboard management controller, a power supply unit, a temperature sensor, and a fan, the baseboard management controller being in communication with the power supply unit, the temperature sensor, and the fan, respectively, the baseboard management controller being configured to perform any one of the steps of the method.
In an exemplary embodiment, the detection system for the box cover of the server further includes a programmable logic device, the baseboard management controller communicates with the fan through the programmable logic device, and the programmable logic device is configured to obtain a rotation speed of the fan at a current moment, obtain an actual measurement rotation speed, generate in-place information when the fan is electrically connected to the server, and send the actual measurement rotation speed and the in-place information to the baseboard management controller.
Through this application, owing to only through actual measurement temperature, actual measurement power and actual measurement rotational speed, can confirm the state of the case lid of server, so only relate to the software logic change, need not extra design circuit, can be fast convenient use to new and old server product on, consequently, can solve and need increase extra detecting element or detection circuitry on server inside integrated circuit board or server machine case among the current scheme, and increased the problem of the material cost of server, do not have the material cost of too much increase server simultaneously.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for detecting a box cover of a server in an embodiment of the present application;
FIG. 2 is a schematic diagram of a detection system for a lid of a server according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for detecting a lid of a server according to an embodiment of the present application;
FIG. 4 is a flow chart of a detection scheme for a lid of a server according to an embodiment of the present application;
FIG. 5 is a flow chart of another detection scheme for a bin cover of a server according to an embodiment of the present application;
fig. 6 is a block diagram of a detection device of a box cover of a server according to an embodiment of the present application.
Reference numerals:
102. a processor; 104. a memory; 106. a transmission device; 108. an input-output device; 210. a baseboard management controller; 220. a power supply unit; 230. a temperature sensor; 240. a fan; 250. a programmable logic device.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The noun explains:
BMC: a Basebard Management Controller, a Baseboard Management Controller.
PSU: power Supply Unit.
CPLD: a Programmable Logic Device.
TACH: tachmeter, tachometer.
The method embodiments provided in the embodiments of the present application may be executed in a server. Taking an example of the method running on a mobile terminal as an example, fig. 1 is a hardware structure block diagram of a server of a method for detecting a box cover of the server according to an embodiment of the present application. As shown in fig. 1, the server may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the server may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. For example, the server may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the detection method of the box cover of the server in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The embodiment of the present application may be implemented on the detection system of the box cover of the server shown in fig. 2, as shown in fig. 2, the detection system of the box cover of the server includes a baseboard management controller 210, a power supply unit 220, a temperature sensor 230, and a fan 240, the baseboard management controller 210 communicates with the power supply unit 220, the temperature sensor 230, and the fan 240, respectively, and the baseboard management controller 210 is configured to perform any one of the steps of the method.
Temperature sensors are placed on all board cards in the server and are communicated with a Baseboard Management Controller (BMC) through an SMBUS (System Management Bus), the BMC can read temperature data (actually measured temperature) of all the temperature sensors in real time, meanwhile, the BMC can obtain the current Power (equivalent to the actually measured Power of the server) of a Power Supply Unit (PSU) through a Power Management Bus (PMBUS), and in-situ information and rotating speed information (TACH) of a fan can be obtained through a Complex Programmable Logic Device (CPLD); when the system runs stably, the heat exchange between the inside of the server and the external environment can slowly reach balance, and the temperature inside the server is basically stable and has no obvious change; when the server case cover is illegally opened, the air channel of the server is changed, the heat exchange balance is broken, the temperature can obviously change, the server case cover can be judged to be illegally opened by monitoring and analyzing the temperature data in real time and combining the power of the server and the state of a fan, and then an event is recorded and alarm information is sent.
In an exemplary embodiment, the system for detecting a box cover of the server further includes a programmable logic device 250, the baseboard management controller 210 communicates with the fan 240 through the programmable logic device 250, and the programmable logic device 250 is configured to obtain a rotation speed of the fan 240 at a current time, obtain an actual measurement rotation speed, generate in-place information when the fan 240 is electrically connected to the server, and send the actual measurement rotation speed and the in-place information to the baseboard management controller 210.
In this embodiment, a method for detecting a box cover of a server of a system for detecting a box cover of a server is provided, and fig. 3 is a flowchart of a method for detecting a box cover of a server according to an embodiment of the present application, and as shown in fig. 3, the flowchart includes the following steps:
step S102, acquiring the temperature and the power of a server at the current moment, and acquiring an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment;
step S104, acquiring the rotating speed of a fan in a box body of the server at the current moment to obtain an actually measured rotating speed;
and step S106, determining the state of the box cover of the server according to at least the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened.
Through the steps, the problem that in the existing scheme, an extra detection element or detection circuit needs to be added on an internal board card of the server or a server case, so that the material cost of the server is increased is solved, and because the state of a case cover of the server can be determined only through actually measured temperature, actually measured power and actually measured rotating speed, software logic change is only involved, a circuit does not need to be additionally designed, and the method can be quickly and conveniently applied to new and old server products.
The server is rapidly growing up by virtue of excellent performance, and is widely favored by the market in the fields of cloud computing, big data processing, artificial intelligence and the like. In order to ensure the safe and stable operation of the server, the server can monitor various operation states of the system, including the temperature, power, fan state and the like of the board card and the chip.
The server is usually in the computer lab, and server management personnel generally adopt remote monitoring server running state, can not continuously guard on the scene, for preventing that useful people from opening the server case lid privately and carrying out operations such as reassortment to the server, the server can increase the detection function of uncapping usually, detects the illegal acts of invading and record in the log.
The executing subject of the above steps may be a server, a terminal, etc., but is not limited thereto.
The execution sequence of step S102 and step S104 may be interchanged, that is, step S104 may be executed first, and then step S102 may be executed.
In an exemplary embodiment, determining the state of the lid of the server based on at least the measured temperature, the measured power and the measured speed comprises: determining the temperature of the server in an ideal state at the current moment according to the measured temperature, the measured power and the measured rotating speed to obtain an ideal temperature; calculating the difference value between the actual temperature and the ideal temperature to obtain a temperature difference value; and determining the state of the box cover of the server at least according to the temperature difference. The state of the box cover of the server can be quickly determined according to the temperature difference at least.
In an exemplary embodiment, determining the state of the lid of the server based at least on the temperature difference comprises: acquiring a temperature threshold; and determining the condition of the server as a state that the box cover of the server is opened when the temperature difference is larger than or equal to the temperature threshold value.
Specifically, for example, if the temperature difference is 10 ℃ and the temperature threshold is 6 ℃, it is determined that the server is in a state where the box cover of the server is opened, and an alarm needs to be given to remind a worker to perform processing as soon as possible.
In an exemplary embodiment, determining the state of the lid of the server based at least on the temperature difference comprises: acquiring a temperature threshold; and determining that the server is in a state that the box cover of the server is not opened when the temperature difference is smaller than the temperature threshold.
Specifically, for example, if the temperature difference is 5 ℃ and the temperature threshold is 6 ℃, the server is considered to be in a state where the lid of the server is not opened, and no alarm is required.
In an exemplary embodiment, determining a temperature of the server in an ideal state at a current time according to the measured temperature, the measured power and the measured rotation speed, and obtaining an ideal temperature includes: according to
Figure BDA0003915815440000081
Calculating the ideal temperature, wherein T x And M is a power coefficient, P is the measured power, N is a rotation speed coefficient of the fan, R is the measured rotation speed, and K is a temperature coefficient.
Specifically, the power coefficient, the temperature coefficient, and the rotation speed coefficient of the fan may be obtained by fitting power, temperature, and rotation speed curves.
In an exemplary embodiment, before determining the state of the lid of the server based on at least the measured temperature, the measured power and the measured speed, the method further comprises: under the condition of acquiring in-place information of the fan, acquiring a first rotating speed threshold value and a second rotating speed threshold value, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for representing that the fan is electrically connected with the server; determining that the operating condition of the fan is a normal operating condition when the measured rotation speed is greater than or equal to the first rotation speed threshold value and the measured rotation speed is less than or equal to the second rotation speed threshold value; and when the actual measurement rotating speed is smaller than a first rotating speed threshold value or the actual measurement rotating speed is larger than a second rotating speed threshold value, determining that the operating condition of the fan is an abnormal operating condition, and controlling a first alarm device of the fan to give an alarm, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value.
Specifically, the operating condition of the fan is determined only when in-place information of the fan is acquired (that is, only when the fan is known to be electrically connected to the server), the operating condition of the fan is compared with a first rotating speed threshold and a second rotating speed threshold according to an actual rotating speed, and the operating condition of the fan is determined to be a normal operating condition only when the actual rotating speed is greater than or equal to the first rotating speed threshold and the actual rotating speed is less than or equal to the second rotating speed threshold.
In an exemplary embodiment, after determining that the state of the server is a state in which a lid of the server has been opened, the method further includes: and controlling a second alarm of the server to alarm. The server box cover is used for reminding workers that the box cover of the server is illegally opened and needs to be rapidly processed.
Example 1
The application also provides a detection scheme of the box cover of the server, which comprises the following steps as shown in fig. 4:
step 1: acquiring the temperature and power of a server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the interior of a box body of the server at the current moment; acquiring the rotating speed of a fan in a box body of a server at the current moment to obtain an actually measured rotating speed;
step 2: according to
Figure BDA0003915815440000091
Calculating the ideal temperature, wherein T x Setting the ideal temperature, M is a power coefficient, P is the measured power, N is a rotation speed coefficient of the fan, R is the measured rotation speed, and K is a temperature coefficient;
and step 3: under the condition of acquiring the in-place information of the fan, acquiring a first rotating speed threshold value and a second rotating speed threshold value, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for representing that the fan is electrically connected with the server;
and 4, step 4: when the actual measurement rotating speed is smaller than a first rotating speed threshold value and the actual measurement rotating speed is larger than a second rotating speed threshold value, determining that the operating condition of the fan is an abnormal operating condition, and controlling a first alarm of the fan to give an alarm; determining that the operating condition of the fan is a normal operating condition when the measured rotation speed is greater than or equal to the first rotation speed threshold value and the measured rotation speed is less than or equal to the second rotation speed threshold value; meanwhile, under the condition that the temperature difference value is larger than or equal to the temperature threshold value, determining that the condition of the server is a state that a box cover of the server is opened, and then performing step 5; determining that the server is in a state that a box cover of the server is not opened under the condition that the temperature difference is smaller than the temperature threshold value, and then performing step 1;
and 5: and controlling a second alarm of the server to alarm.
In the above-mentioned scheme, actual measurement rotational speed and temperature difference judge simultaneously, need increase extra detecting element or detection circuitry on server inside integrated circuit board or server machine case among the solution current scheme, and increased the problem of the material cost of server, because only through actual measurement temperature, actual measurement power and actual measurement rotational speed, can confirm the state of the case lid of server, so only relate to the software logic change, need not extra design circuit, can be fast convenient use to new and old server product.
Example 2
The application also provides a detection scheme of the box cover of the server, as shown in fig. 5, the scheme comprises the following steps:
step 1: acquiring the temperature and the power of a server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment; acquiring the rotating speed of a fan in a box body of a server at the current moment to obtain an actually measured rotating speed;
step 2: according to
Figure BDA0003915815440000101
Calculating the ideal temperature, wherein T x Setting the ideal temperature, M is a power coefficient, P is the measured power, N is a rotation speed coefficient of the fan, R is the measured rotation speed, and K is a temperature coefficient;
and 3, step 3: under the condition of acquiring the in-place information of the fan, acquiring a first rotating speed threshold value and a second rotating speed threshold value, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for representing that the fan is electrically connected with the server;
and 4, step 4: if the temperature difference is greater than or equal to the temperature threshold, determining that the server is in a state that a box cover of the server is opened, and then performing step 5; determining that the server is in a state that a box cover of the server is not opened under the condition that the temperature difference is smaller than the temperature threshold value, and then performing step 1;
and 5: when the actual measurement rotating speed is smaller than a first rotating speed threshold value or the actual measurement rotating speed is larger than a second rotating speed threshold value, determining that the operating condition of the fan is an abnormal operating condition, and controlling a first alarm of the fan to give an alarm; determining that the operating condition of the fan is a normal operating condition when the measured rotation speed is greater than or equal to the first rotation speed threshold value and the measured rotation speed is less than or equal to the second rotation speed threshold value;
and 6: and controlling a second alarm of the server to give an alarm when the operating state of the fan is a normal operating state and the state of the server is a state that a box cover of the server is opened.
In the above-mentioned scheme, judge the temperature difference earlier, judge the actual measurement rotational speed again, need increase extra detecting element or detection circuitry on inside integrated circuit board of server or server machine case among the solution current scheme, and increased the problem of the material cost of server, because only through actual measurement temperature, actual measurement power and actual measurement rotational speed, can confirm the state of the case lid of server, so only relate to the software logic change, need not extra design circuit, can be fast convenient use to new and old server product.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
In this embodiment, a detection apparatus for a box cover of a server is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a detection apparatus for a box cover of a server according to an embodiment of the present application, and as shown in fig. 6, the apparatus includes a first obtaining module 62, a second obtaining module 64, and a determining module 66; the first obtaining module 62 is configured to obtain a temperature and a power of the server at a current moment, and obtain an actually measured temperature and an actually measured power, where the actually measured temperature is used to represent a temperature of the inside of the box of the server at the current moment; the second obtaining module 64 is configured to obtain a rotation speed of the fan in the box of the server at the current moment, so as to obtain an actually measured rotation speed; the determining module 66 is configured to determine a state of a lid of the server according to at least the measured temperature, the measured power, and the measured rotation speed, where the state of the lid of the server is a state in which the lid of the server has been opened or a state in which the lid of the server has not been opened.
Among the above-mentioned device, need increase extra detecting element or detection circuitry on inside integrated circuit board of server or server machine case among the solution existing scheme, and increased the problem of the material cost of server, because only through actual measurement temperature, actual measurement power and actual measurement rotational speed, can confirm the state of the case lid of server, so only relate to the software logic change, need not extra design circuit, can be fast convenient use to new and old server product on.
In an exemplary embodiment, the determining module includes a first determining submodule, a first calculating submodule and a second determining submodule, and the first determining submodule is configured to determine, according to the measured temperature, the measured power and the measured rotation speed, a temperature of the server in an ideal state at a current moment, so as to obtain an ideal temperature; the first calculation submodule is used for calculating the difference value between the actual temperature and the ideal temperature to obtain a temperature difference value; and the second determining submodule is used for determining the state of the box cover of the server at least according to the temperature difference.
In one exemplary embodiment, the second determination submodule includes a first obtaining submodule and a third determination submodule, and the first obtaining submodule is used for obtaining the temperature threshold value; the third determining submodule is used for determining that the condition of the server is the state that the box cover of the server is opened under the condition that the temperature difference value is larger than or equal to the temperature threshold value.
Specifically, for example, if the temperature difference is 10 ℃ and the temperature threshold is 6 ℃, it is determined that the server is in a state where the box cover of the server is opened, and an alarm needs to be given to remind a worker to perform processing as soon as possible.
In one exemplary embodiment, the determination module comprises a second obtaining submodule and a fourth determination submodule, wherein the second obtaining submodule is used for obtaining the temperature threshold value; the fourth determining submodule is used for determining that the server is in a state that the box cover of the server is not opened under the condition that the temperature difference value is smaller than the temperature threshold value.
Specifically, for example, if the temperature difference is 5 ℃ and the temperature threshold is 6 ℃, the server is considered to be in a state where the lid of the server is not opened, and no alarm is required.
In an exemplary embodiment, the first determining submodule includes a second calculating submodule for calculating a second coefficient according to
Figure BDA0003915815440000131
Calculating the ideal temperature, wherein T x And M is a power coefficient, P is the measured power, N is a rotation speed coefficient of the fan, R is the measured rotation speed, and K is a temperature coefficient.
Specifically, the power coefficient, the temperature coefficient, and the rotation speed coefficient of the fan may be obtained by fitting power, temperature, and rotation speed curves.
In an exemplary embodiment, the apparatus further includes a third obtaining module, a first processing module and a second processing module, before determining a state of a box cover of the server according to at least the measured temperature, the measured power and the measured rotating speed, the third obtaining module is configured to obtain a first rotating speed threshold value and a second rotating speed threshold value under the condition of obtaining in-place information of the fan, where the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for indicating that the fan is electrically connected with the server; the first processing module is used for determining that the operation condition of the fan is a normal operation condition under the condition that the actual measurement rotating speed is greater than or equal to the first rotating speed threshold value and is less than or equal to the second rotating speed threshold value; the second processing module is used for determining that the operation condition of the fan is an abnormal operation condition and controlling a first alarm of the fan to give an alarm when the actual rotation speed is less than a first rotation speed threshold value or the actual rotation speed is greater than a second rotation speed threshold value, wherein the first rotation speed threshold value is less than the second rotation speed threshold value.
Specifically, the operating condition of the fan is determined only when the fan is in place (that is, only when the fan is known to be electrically connected to the server), and the operating condition of the fan is determined and compared with a first rotating speed threshold and a second rotating speed threshold according to an actual rotating speed, and only when the actual rotating speed is greater than or equal to the first rotating speed threshold and the actual rotating speed is less than or equal to the second rotating speed threshold, the operating condition of the fan is determined to be a normal operating condition, at this time, the state of the box cover of the server is determined to be a correct judgment, and if the operating condition of the fan is determined to be an abnormal operating condition, the state of the box cover of the server is determined to be an incorrect judgment, so that a first alarm for controlling the fan needs to alarm to remind a worker of knowing that the fan is abnormal.
In an exemplary embodiment, the apparatus further includes an alarm module, and after determining that the state of the server is the state that the box cover of the server has been opened, the alarm module is configured to control a second alarm of the server to alarm. The server box cover is used for reminding workers that the box cover of the server is illegally opened and needs to be rapidly processed.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present application further provide a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present application further provide an electronic device, comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the present application described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing devices, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into separate integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A detection method for a box cover of a server is characterized by comprising the following steps:
acquiring the temperature and the power of a server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment;
acquiring the rotating speed of a fan in a box body of a server at the current moment to obtain an actually measured rotating speed;
determining the state of a box cover of the server at least according to the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened.
2. The method of claim 1, wherein determining the state of the lid of the server based on at least the measured temperature, the measured power, and the measured speed comprises:
determining the temperature of the server in an ideal state at the current moment according to the measured temperature, the measured power and the measured rotating speed to obtain an ideal temperature;
calculating the difference value between the actually measured temperature and the ideal temperature to obtain a temperature difference value;
and determining the state of the box cover of the server at least according to the temperature difference.
3. The method of claim 2, wherein determining the state of the lid of the server based at least on the temperature difference comprises:
acquiring a temperature threshold;
determining that the condition of the server is a state in which a lid of the server has been opened, in a case where the temperature difference value is greater than or equal to the temperature threshold value.
4. The method of claim 2, wherein determining the state of the lid of the server based at least on the temperature difference comprises:
acquiring a temperature threshold;
determining that the server is in a state that a box cover of the server is not opened if the temperature difference is smaller than the temperature threshold.
5. The method of claim 2, wherein determining the temperature of the server at the current time in an ideal state according to the measured temperature, the measured power and the measured rotation speed to obtain an ideal temperature comprises:
according to
Figure FDA0003915815430000021
Calculating the ideal temperature, wherein T x And M is a power coefficient, P is the actually measured power, N is a rotation speed coefficient of the fan, R is the actually measured rotation speed, and K is a temperature coefficient.
6. The method of claim 1, wherein prior to determining the state of the lid of the server based on at least the measured temperature, the measured power, and the measured speed, the method further comprises:
under the condition of acquiring in-place information of the fan, acquiring a first rotating speed threshold value and a second rotating speed threshold value, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value, and the in-place information is used for representing that the fan is electrically connected with the server;
determining that the operating condition of the fan is a normal operating condition under the conditions that the actual measurement rotating speed is greater than or equal to the first rotating speed threshold value and the actual measurement rotating speed is less than or equal to the second rotating speed threshold value;
and under the condition that the actual measurement rotating speed is smaller than a first rotating speed threshold value or the actual measurement rotating speed is larger than a second rotating speed threshold value, determining that the running condition of the fan is an abnormal running condition, and controlling a first alarm of the fan to give an alarm, wherein the first rotating speed threshold value is smaller than the second rotating speed threshold value.
7. The method of any of claims 1-6, wherein after determining that the state of the server is a state in which a lid of the server has been opened, the method further comprises:
and controlling a second alarm of the server to alarm.
8. A detection device of a box cover of a server is characterized by comprising:
the first acquisition module is used for acquiring the temperature and the power of the server at the current moment to obtain an actually measured temperature and an actually measured power, wherein the actually measured temperature is used for representing the temperature of the inside of a box body of the server at the current moment;
the second acquisition module is used for acquiring the rotating speed of the fan in the box body of the server at the current moment to obtain the actually measured rotating speed;
the determining module is used for determining the state of the box cover of the server at least according to the measured temperature, the measured power and the measured rotating speed, wherein the state of the box cover of the server is a state that the box cover of the server is opened or a state that the box cover of the server is not opened.
9. A detection system of a box cover of a server, comprising a baseboard management controller, a power supply unit, a temperature sensor and a fan, the baseboard management controller being in communication with the power supply unit, the temperature sensor and the fan, respectively, characterized in that the baseboard management controller is configured to perform the steps of the method of any one of claims 1 to 7.
10. The system of claim 9, wherein the detection system for the box cover of the server further comprises a programmable logic device, the baseboard management controller communicates with the fan through the programmable logic device, and the programmable logic device is configured to obtain a rotation speed of the fan at a current time, obtain an actual measurement rotation speed, generate in-place information under the condition that the fan is electrically connected with the server, and send the actual measurement rotation speed and the in-place information to the baseboard management controller.
CN202211337994.7A 2022-10-28 2022-10-28 Detection method, device and system for box cover of server Pending CN115906202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211337994.7A CN115906202A (en) 2022-10-28 2022-10-28 Detection method, device and system for box cover of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211337994.7A CN115906202A (en) 2022-10-28 2022-10-28 Detection method, device and system for box cover of server

Publications (1)

Publication Number Publication Date
CN115906202A true CN115906202A (en) 2023-04-04

Family

ID=86470108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211337994.7A Pending CN115906202A (en) 2022-10-28 2022-10-28 Detection method, device and system for box cover of server

Country Status (1)

Country Link
CN (1) CN115906202A (en)

Similar Documents

Publication Publication Date Title
US11158143B2 (en) Vehicle diagnostic method and device, and computer readable storage medium
US20150067153A1 (en) Remote monitoring of data facility in real-time using wireless sensor network
US10841125B2 (en) Method for transmitting data from a sensor
CN104676836B (en) Method for determining operation mode of multi-split air-conditioning system
US20180113500A1 (en) Systems and methods for monitoring battery life
US20210405104A1 (en) Automobile battery failure prediction method and system
CN110069925B (en) Software monitoring method, system and computer readable storage medium
CN115658408A (en) Sensor state detection method and device and readable storage medium
CN109672102A (en) A kind of generation judgment method, control method, device and the electronic equipment of condensation
US20200116798A1 (en) Battery operated level measuring device with remaining life determination device
CN108872780A (en) Charge livewire work detection, system and the terminal device reconnoitred
CN114064427A (en) Method, device and equipment for processing operation and maintenance monitoring data of machine room
CN115906202A (en) Detection method, device and system for box cover of server
CN105589790A (en) System and method for monitoring operation state of Linux system
CN112416896A (en) Data abnormity warning method and device, storage medium and electronic device
CN111885892A (en) Heat dissipation control method, system and device of power adapter and readable storage medium
CN117061335A (en) Cloud platform equipment health management and control method and device, storage medium and electronic equipment
CN115388931B (en) Credible monitoring method, monitoring terminal and storage medium for sensor abnormal data
US20140115148A1 (en) Decommission of a Server in Wireless Environment
WO2020169955A1 (en) Monitoring apparatus, system and method
CN115218432A (en) Air conditioner control method, air conditioner and medium
CN109936528B (en) Monitoring method, device, equipment and system
CN114997587A (en) Safety monitoring method and device for power terminal and power terminal
CN113783755A (en) Network monitoring method, network monitoring device, storage medium and electronic device
CN108632871B (en) Flow state analysis method, device and system

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