CN113359962B - Fan hot plug method, system, equipment and medium - Google Patents

Fan hot plug method, system, equipment and medium Download PDF

Info

Publication number
CN113359962B
CN113359962B CN202110447489.7A CN202110447489A CN113359962B CN 113359962 B CN113359962 B CN 113359962B CN 202110447489 A CN202110447489 A CN 202110447489A CN 113359962 B CN113359962 B CN 113359962B
Authority
CN
China
Prior art keywords
power supplies
fan
starting time
signal
response
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.)
Active
Application number
CN202110447489.7A
Other languages
Chinese (zh)
Other versions
CN113359962A (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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110447489.7A priority Critical patent/CN113359962B/en
Publication of CN113359962A publication Critical patent/CN113359962A/en
Application granted granted Critical
Publication of CN113359962B publication Critical patent/CN113359962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for hot insertion of a fan, wherein the method comprises the following steps: transmitting an electromagnetic signal based on a permanent magnet disposed in the fan module in response to the fan module being inserted into the connector; in response to receiving the electromagnetic signal, converting the electromagnetic signal into an electrical signal based on a hall sensor on a motherboard; in response to receiving an electrical signal, converting the electrical signal to an in-place signal; and responding to the received in-place signal, and turning on the power supply of the fan module. According to the invention, the Hall sensor is matched with the permanent magnet, so that the fan connector does not need to consider long and short pins, the selection range of the fan hot-plug connector can be increased, and the delay length of the power supply can be adjusted according to the relative position of the permanent magnet and the Hall sensor.

Description

Fan hot-plug method, system, equipment and medium
Technical Field
The present invention relates to the field of fans, and more particularly, to a method, system, computer device, and readable medium for hot plug of a fan.
Background
In the application of the server, the heat dissipation of the system is an important link. The system heat dissipation is a key factor of normal operation of the system, the conventional method is to use a fan for heat dissipation at present, but along with the increase of the service time of the fan, a motor or blades in the fan can age, and when the service life is critical or when abnormality occurs due to other factors, the fan needs to be replaced, so that a good heat dissipation effect is kept. When the fan is replaced, the first condition is that the fan is maintained after the system power supply is turned off, and the second condition is that the fan is directly maintained in a hot plug mode when the system is continuously powered on. The second method is the most common method, and has the advantage that the fan module can be replaced without powering off the system.
When the system fan connector is designed in a type selection manner, in consideration of a hot plug function, a physical characteristic connector with long and short pins (pins) generally needs to be selected, and when a Pin position is defined, the Pin position is firstly contacted with a grounding Pin position GND of the system connector through the long Pin, as shown in FIG. 1. And the fan module pins are matched with the design of the system end connector to support the functional docking when the system is developed, as shown in fig. 2. The system detects the fan module turning on the connector power when the system detects the status signal (PRSNT #) in order to avoid direct flashover at the moment of contact.
In the prior art, connectors with long and short pins can be selected, so that the selection is limited, the connectors are required to be customized, the delivery period is long, the universality is low, and the cost is high due to the need of an additional mold. In addition, the design requirement cannot select the long and short pin connectors, and the requirement of the timing sequence of hot plug cannot be met.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for hot plug of a fan, in which a hall sensor is matched with a permanent magnet, so that a fan connector does not need to consider long and short pins, the selection range of the fan hot plug connector can be increased, the length of a delay time of a power supply can be adjusted according to the relative position of the permanent magnet and the hall sensor, and the timing requirement of hot plug can be met.
In view of the above object, an aspect of the embodiments of the present invention provides a method for hot plug of a fan, including the following steps: transmitting an electromagnetic signal based on a permanent magnet disposed in the fan module in response to the fan module being inserted into the connector; in response to receiving the electromagnetic signal, converting the electromagnetic signal into an electrical signal based on a hall sensor on a motherboard; in response to receiving an electrical signal, converting the electrical signal to an in-place signal; and responding to the received in-place signal, and turning on the power supply of the fan module.
In some embodiments, the method further comprises: and adjusting the relative distance between the permanent magnet and the Hall sensor according to the time of delayed start of the power supply.
In some embodiments, the turning on the power of the fan module includes: and acquiring the environmental temperature information of the fan module, and adjusting the voltage of the power supply according to the environmental temperature information.
In some embodiments, the method further comprises: responding to the simultaneous reception of a plurality of groups of in-place signals, and judging whether power supplies with the same delay starting time exist or not; and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing.
In some embodiments, the method further comprises: responding to the power supplies with the same delay starting time, and judging whether the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value or not; and responding to the fact that the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value, and starting the power supplies in sequence according to the environment temperature of the power supplies.
In some embodiments, said sequentially activating the power supply according to the ambient temperature of the power supply comprises: judging whether the environmental temperatures of the power supplies with the same delay starting time are the same or not; and responding to different environment temperatures of the power supplies with the same delay starting time, and starting the power supplies in sequence from high environment temperature to low environment temperature.
In some embodiments, the method further comprises: concurrently starting the power supplies in response to the total power consumption of the power supplies having the same delayed start time not being greater than a start threshold.
In another aspect of the embodiments of the present invention, a system for fan hot plug is provided, including: a setting module configured to transmit an electromagnetic signal based on a permanent magnet provided in the fan module in response to insertion of the fan module into the connector; the first conversion module is used for responding to the received electromagnetic signal and converting the electromagnetic signal into an electric signal based on a Hall sensor on the mainboard; a second conversion module configured to convert the electrical signal into an in-place signal in response to receiving the electrical signal; and the execution module is configured to respond to the received in-place signal and start the power supply of the fan module.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: through the cooperation of hall sensor and permanent magnet for fan connector need not consider long and short pin position, can improve the selection range of fan hot plug connector, can adjust the time delay length of power according to the relative position of permanent magnet and hall sensor, and can satisfy hot plug's chronogenesis requirement.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a connector with long and short pins in the prior art;
FIG. 2 is a schematic diagram of a prior art connection between a fan module and a system connector;
FIG. 3 is a schematic diagram of an embodiment of a method for hot plug of a fan according to the present invention;
FIG. 4 is a schematic diagram of the connection between the fan module and the system connector according to the present invention;
FIG. 5 is a diagram illustrating a hardware configuration of an embodiment of a computer device with a fan hot plug provided in the present invention;
FIG. 6 is a schematic diagram of an embodiment of a computer storage medium with a fan hot plug provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Hot plugging (Hot swapping) is also called Hot swapping, i.e., "Hot plugging", which means that hardware can be plugged in or removed from a computer while the computer is running. By matching with appropriate software, the peripheral equipment supporting hot plug can be plugged in or unplugged without turning off the power supply, the host computer or the peripheral equipment can not be burnt, and new equipment can be detected and used in real time. Compared with Plug-and-Play, the requirements of hot Plug for software and hardware also include the contact sequence of power supply, signal and grounding wire.
The invention adds a permanent magnet in the structure of a fan module, takes the permanent magnet as a fixed signal emission source, transmits a magnetic signal through air magnetic lines of force on the stroke of inserting and pulling out the fan module, detects an input signal by a Hall Sensor on a mainboard, converts the electromagnetic signal into an electric signal after detecting the electromagnetic signal emitted by the permanent magnet, further converts the electric signal into an on-position signal, and turns on a fan power supply after detecting the on-position signal by a fan on-position detection signal (PRSNT #) of the mainboard so as to avoid the problem of flashover caused by the fact that a connector with long and short pins cannot be selected.
A Hall Sensor (Hall Sensor) is a Sensor that senses a change in a magnetic field based on the Hall effect. The hall sensor of the hall sensor is generally made of P-type semiconductor, such as gallium arsenide (GaAs) and indium antimonide (InSb). The Hall sensing component can obtain potential difference (voltage) after sensing the magnetic field, the potential difference is an analog signal, so that the potential difference can be conveniently input to a GPIO pin of the MCU for subsequent control, and can be converted into a high or low digital signal through an amplifier and a Schmitt trigger and finally output.
The hall sensors can be divided into four types according to sensing modes:
unipolar and one output (Unipolar and one output): only one of S pole or N pole of the magnetic field can be induced, and the signal is a single output;
bipolar single output (Bipolar and one output): the S pole or the N pole of the magnetic field can be induced, and the signal is output singly;
bipolar dual output (Bipolar and two output): the S pole or the N pole of the magnetic field can be induced, the signal is double-output, and two output pins respectively reflect the state of the S pole or the N pole;
state change detection (Biploar latch): can induce the magnetic field to change from S pole to N pole or from N pole to S pole, the signal is a single output.
Any one of the above hall sensors may be used in the embodiments of the present invention.
In view of the above objects, a first aspect of embodiments of the present invention proposes an embodiment of a method of hot-plugging a fan. Fig. 3 is a schematic diagram illustrating an embodiment of a method for hot insertion of a fan according to the present invention. As shown in fig. 3, the embodiment of the present invention includes the following steps:
s1, responding to the insertion of the fan module into the connector, and transmitting an electromagnetic signal based on the permanent magnet arranged in the fan module;
s2, responding to the received electromagnetic signals, and converting the electromagnetic signals into electric signals based on the Hall sensors on the mainboard;
s3, responding to the received electric signal, converting the electric signal into an in-place signal; and
and S4, responding to the received in-place signal, and turning on the power supply of the fan module.
Fig. 4 is a schematic diagram illustrating the connection between the fan module and the system connector according to the present invention. As shown in fig. 4, a permanent magnet is added to the fan module, and a hall sensor is used on the main board to detect an electromagnetic signal sent by the permanent magnet. When the Hall sensor detects an electromagnetic signal, high magnetic energy can be converted into an electric energy signal, and the electric energy signal is further converted into an in-place signal to start or stop a power supply. Specifically, when the BMC or other control source detects the in-place signal, the normal installation of the fan is determined, then the corresponding power control chip controls the power of the fan to be turned on, and then the rotation of the fan maintains the heat dissipation of the system.
In some embodiments, the method further comprises: and adjusting the relative distance between the permanent magnet and the Hall sensor according to the time of delayed start of the power supply. In some cases, the time for delaying the start of the power supply is different among different types of power supplies, so that the time for delaying the start of the power supply can be adjusted by adjusting the relative distance between the permanent magnet and the Hall sensor in order to meet the requirements of different power supplies. Under the unchangeable condition of hall sensor on the mainboard, can adjust the position of permanent magnet on the fan module. In addition, because the hot plug also has requirements on the time sequence, the time sequence control can be adjusted by adjusting the relative position relationship between the permanent magnet and the Hall sensor.
In some embodiments, the turning on the power of the fan module includes: and acquiring the environmental temperature information of the fan module, and adjusting the voltage of the power supply according to the environmental temperature information. The voltage can affect the speed of the fan, which is faster when the voltage is higher. When the environmental temperature of the fan module is higher, namely the heat dissipation requirement is higher, the voltage of the power supply can be increased, so that the rotating speed of the fan is increased; when the ambient temperature of the fan module is relatively low, that is, the heat dissipation requirement is relatively low, the voltage of the power supply can be reduced, so that the rotating speed of the fan is reduced.
In some embodiments, the method further comprises: responding to the simultaneous reception of a plurality of groups of in-place signals, and judging whether power supplies with the same delay starting time exist or not; and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing. For example, A, B, C and D four sets of bit signals are received simultaneously, if the delay start time is 0.1 ms, 0.15 ms, 0.2 ms and 0.25 ms, respectively, then the following sequences are performed according to the delay start time from small to large: A. b, C, D are provided. And sequentially turning on corresponding power supplies according to the sequence.
In some embodiments, the method further comprises: responding to the power supplies with the same delay starting time, and judging whether the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value or not; and responding to the fact that the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value, and starting the power supplies in sequence according to the environment temperature of the power supplies. In order to avoid excessive power consumption in a moment, if the total power consumption of the power supplies with the same delay starting time is excessive, the power supplies are sequentially started according to the ambient temperature. For example, when A, B, C and D four sets of on-bit signals are received simultaneously, if the delay start time is 0.1 ms and the environmental temperatures are 23.2 ℃, 23.5 ℃, 23.7 ℃ and 24.0 ℃, respectively, the power supply can be started from high to low according to the environmental temperatures.
In some embodiments, the method further comprises: and responding to the fact that the total power consumption of the power supplies with the same delay starting time is not larger than a starting threshold value, and starting the power supplies simultaneously.
In some embodiments, said sequentially activating the power supply according to the ambient temperature of the power supply comprises: judging whether the environmental temperatures of the power supplies with the same delay starting time are the same or not; and responding to different environmental temperatures of the power supplies with the same delay starting time, and sequentially starting the power supplies according to the sequence from high environmental temperature to low environmental temperature. For example, if A, B, C and D four sets of on-position signals are received simultaneously, if the delay start time is 0.1 ms, and the environmental temperatures are 23.2 ℃, 23.5 ℃, 23.7 ℃ and 23.2 ℃, respectively, it is first determined whether the environmental temperatures are the same, the environmental temperatures of a and D are the same, and AD and B, C are different, and C, B, A (D) is sequentially performed according to the sequence of the environmental temperatures from high to low. The power supplies with different ambient temperatures are sequentially started from high to low according to the ambient temperatures, when the ambient temperatures are the same, whether the total power consumption of the power supplies is larger than a preset threshold value or not is judged, if the total power consumption of the power supplies is not larger than the threshold value, all the power supplies can be started simultaneously, and if the total power consumption of the power supplies is larger than the threshold value, the power supplies with the same ambient temperatures can be started in a random starting mode.
In order to clearly illustrate the overall concept of the present invention, the following description will be made by taking an example:
a permanent magnet is additionally arranged in each fan module according to the delayed starting time of a power supply, and the position of the permanent magnet is determined by the Hall sensor and the delayed starting time together. When the fan module is inserted into the connector, one or more Hall sensors on the main board can detect electromagnetic signals, the Hall sensors can convert the electromagnetic signals into electric signals and finally convert the electric signals into in-place signals, and the system detects the in-place signals and then turns on a power supply of the fan module. At the moment, the environmental temperature information of the fan module can be acquired, the output voltage of the power supply can be increased when the environmental temperature information is higher than a preset threshold value, and the output voltage of the power supply can be reduced when the environmental temperature information is lower than the preset threshold value. It is also possible to set a proportional function of the voltage and the ambient temperature and set the output voltage of the power supply according to the function.
If there are simultaneous on-position signals received from multiple fan modules, for example, A, B, C, D are four groups of on-position signals respectively, the delayed start time is 0.1 ms, 0.15 ms, 0.2 ms and 0.1 ms respectively, and the environmental temperature is 23.1 ℃, 23.3 ℃, 23.1 ℃ and 23.7 ℃ respectively. Firstly, four groups of bit signals are arranged from small to small according to the delay starting time, and are sorted as follows: a (D), B, C, the delay start time of A and D are both 0.1 ms, so their sequence positions are the same. And then, determining the total power consumption of A and D according to the environment temperature of A and D, if the total power consumption of A and D is greater than a preset threshold value, determining the starting sequence of A and D according to the environment temperature from large to small, and if the total power consumption of A and D is not greater than the preset threshold value, starting the power supplies corresponding to A and D at the same time. That is, if the total power consumption of a and D is greater than the preset threshold, the start-up sequence is as follows: D. a, B, C, respectively; if the total power consumption of A and D is not greater than the preset threshold, the starting sequence is as follows: a (D), B, C.
According to the embodiment of the invention, the permanent magnet is added in the existing fan module, one or more Hall sensors are added on the mainboard, the detected electromagnetic signals are converted into electric signals through the performance of the Hall sensors, various types of connectors can be elastically selected, the limitation of long and short Pin pins is not considered in design, the selectivity of the system connector is increased through the cooperation of the Hall sensors and the permanent magnet, and the overall applicability of the system is improved. In addition, the relative position relation between the Hall sensor and the permanent magnet can be adjusted according to different requirements of the power supply, and the relative position relation can also meet the requirement of time sequence control.
It should be particularly noted that, the steps in the embodiments of the fan hot plug method described above can be mutually intersected, replaced, added, or deleted, and therefore, the method of fan hot plug, which is transformed by these reasonable permutations and combinations, shall also fall within the scope of the present invention, and shall not limit the scope of the present invention to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided a system for fan hot plug, including: a setting module configured to transmit an electromagnetic signal based on a permanent magnet provided in the fan module in response to insertion of the fan module into the connector; the first conversion module is used for responding to the received electromagnetic signal and converting the electromagnetic signal into an electric signal based on a Hall sensor on the mainboard; a second conversion module configured to convert an electrical signal into an in-place signal in response to receiving the electrical signal; and the execution module is configured to respond to the received in-place signal and start the power supply of the fan module.
In some embodiments, the system further comprises a tuning module configured to: and adjusting the relative distance between the permanent magnet and the Hall sensor according to the time of delayed start of the power supply.
In some embodiments, the execution module is configured to: and acquiring the environmental temperature information of the fan module, and adjusting the voltage of the power supply according to the environmental temperature information.
In some embodiments, the system further comprises a first determining module configured to: responding to the simultaneous reception of a plurality of groups of in-place signals, and judging whether power supplies with the same delay starting time exist or not; and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing.
In some embodiments, the system further comprises a second determining module configured to: responding to the power supplies with the same delay starting time, and judging whether the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value or not; and responding to the fact that the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value, and starting the power supplies in sequence according to the environment temperature of the power supplies.
In some embodiments, the second determining module is configured to: judging whether the environmental temperatures of the power supplies with the same delay starting time are the same or not; and responding to different environmental temperatures of the power supplies with the same delay starting time, and sequentially starting the power supplies according to the sequence from high environmental temperature to low environmental temperature.
In some embodiments, the system further comprises an initiation module configured to: concurrently starting the power supplies in response to the total power consumption of the power supplies having the same delayed start time not being greater than a start threshold.
According to the embodiment of the invention, the permanent magnet is added in the existing fan module, one or more Hall sensors are added on the mainboard, the detected electromagnetic signals are converted into electric signals through the performance of the Hall sensors, various types of connectors can be elastically selected, the limitation of long and short Pin pins is not considered in design, the selectivity of the system connector is increased through the cooperation of the Hall sensors and the permanent magnet, and the overall applicability of the system is improved. In addition, the relative position relation between the Hall sensor and the permanent magnet can be adjusted according to different requirements of the power supply, and the relative position relation can also meet the requirement of time sequence control.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, responding to the insertion of the fan module into the connector, and transmitting an electromagnetic signal based on the permanent magnet arranged in the fan module; s2, responding to the received electromagnetic signals, and converting the electromagnetic signals into electric signals based on the Hall sensors on the mainboard; s3, responding to the received electric signal, converting the electric signal into an in-place signal; and S4, responding to the on-position signal, and turning on the power supply of the fan module.
In some embodiments, the steps further comprise: and adjusting the relative distance between the permanent magnet and the Hall sensor according to the time of delayed start of the power supply.
In some embodiments, the turning on the power of the fan module includes: and acquiring the environmental temperature information of the fan module, and adjusting the voltage of the power supply according to the environmental temperature information.
In some embodiments, the steps further comprise: responding to the simultaneous reception of a plurality of groups of in-place signals, and judging whether power supplies with the same delay starting time exist or not; and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing.
In some embodiments, the steps further comprise: responding to the power supplies with the same delay starting time, and judging whether the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value or not; and responding to the fact that the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value, and starting the power supplies in sequence according to the environment temperature of the power supplies.
In some embodiments, said sequentially activating the power supply according to the ambient temperature of the power supply comprises: judging whether the environmental temperatures of the power supplies with the same delay starting time are the same or not; and responding to different environment temperatures of the power supplies with the same delay starting time, and starting the power supplies in sequence from high environment temperature to low environment temperature.
In some embodiments, the steps further comprise: concurrently starting the power supplies in response to the total power consumption of the power supplies having the same delayed start time not being greater than a start threshold.
Fig. 5 is a schematic hardware structure diagram of an embodiment of the computer device with a fan hot plug according to the present invention.
Taking the apparatus shown in fig. 5 as an example, the apparatus includes a processor 201 and a memory 202, and may further include: an input device 203 and an output device 204.
The processor 201, the memory 202, the input device 203 and the output device 204 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 202, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for fan hot plug in the embodiments of the present application. The processor 201 executes various functional applications of the server and data processing, i.e., a method of implementing the fan hot plug of the above-described method embodiment, by executing the nonvolatile software program, instructions, and modules stored in the memory 202.
The memory 202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the fan hot plug method, and the like. Further, the memory 202 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 202 may optionally include memory located remotely from processor 201, which may be connected to local modules via 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 input device 203 may receive information such as a user name and a password that are input. The output device 204 may include a display device such as a display screen.
Program instructions/modules corresponding to one or more fan hot-plug methods are stored in the memory 202 and, when executed by the processor 201, perform the fan hot-plug method of any of the above-described method embodiments.
Any embodiment of a computer apparatus for performing the method of fan hot-plug described above may achieve the same or similar effects as any of the preceding method embodiments corresponding thereto.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Fig. 6 is a schematic diagram of an embodiment of the above-described computer storage medium with fan hot plug provided in the present invention. Taking the computer storage medium as shown in fig. 6 as an example, the computer readable storage medium 3 stores a computer program 31 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as those skilled in the art can understand, all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware by a computer program, and the program of the method of fan hot plug can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments corresponding thereto.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also combinations between technical features in the above embodiments or in different embodiments are possible, and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (9)

1. A method of fan hot-plug, comprising the steps of:
responding to the insertion of a fan module into a connector, and transmitting an electromagnetic signal based on a permanent magnet arranged in the fan module;
in response to receiving the electromagnetic signal, converting the electromagnetic signal into an electrical signal based on a hall sensor on a motherboard;
in response to receiving an electrical signal, converting the electrical signal to an in-place signal; and
responding to the received in-place signal, turning on the power supply of the fan module, and the method comprises the following steps:
responding to the simultaneous reception of a plurality of groups of in-place signals, and judging whether power supplies with the same delay starting time exist or not; and
and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing.
2. The method of claim 1, further comprising:
and adjusting the relative distance between the permanent magnet and the Hall sensor according to the time of delayed start of the power supply.
3. The method of claim 2, wherein the turning on the power of the fan module comprises:
and acquiring the environmental temperature information of the fan module, and adjusting the voltage of the power supply according to the environmental temperature information.
4. The method of claim 3, further comprising:
responding to the power supplies with the same delay starting time, and judging whether the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value or not; and
and responding to the fact that the total power consumption of the power supplies with the same delay starting time is larger than a starting threshold value, and starting the power supplies in sequence according to the environment temperature of the power supplies.
5. The method of claim 4, wherein the sequentially activating the power supplies according to the ambient temperature of the power supplies comprises:
judging whether the environmental temperatures of the power supplies with the same delay starting time are the same or not; and
and in response to that the environmental temperatures of the power supplies with the same delay starting time are different, starting the power supplies in sequence from high to low according to the environmental temperatures.
6. The method of claim 4, further comprising:
concurrently starting the power supplies in response to the total power consumption of the power supplies having the same delayed start time not being greater than a start threshold.
7. A fan hot plug system, comprising:
a setting module configured to transmit an electromagnetic signal based on a permanent magnet provided in a fan module in response to insertion of the fan module into a connector;
the first conversion module is used for responding to the received electromagnetic signal and converting the electromagnetic signal into an electric signal based on a Hall sensor on the mainboard;
a second conversion module configured to convert the electrical signal into an in-place signal in response to receiving the electrical signal; and
the execution module is configured to respond to the received in-place signal and start the power supply of the fan module;
the first judgment module is configured to respond to the simultaneous reception of multiple groups of in-place signals and judge whether power supplies with the same delay starting time exist or not; and in response to the fact that the power supplies with the same delay starting time do not exist, sequencing the power supplies corresponding to each group of in-place signals from small to large according to the delay starting time of the power supplies, and sequentially starting the corresponding power supplies according to the sequencing.
8. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202110447489.7A 2021-04-25 2021-04-25 Fan hot plug method, system, equipment and medium Active CN113359962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110447489.7A CN113359962B (en) 2021-04-25 2021-04-25 Fan hot plug method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110447489.7A CN113359962B (en) 2021-04-25 2021-04-25 Fan hot plug method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN113359962A CN113359962A (en) 2021-09-07
CN113359962B true CN113359962B (en) 2022-08-19

Family

ID=77525453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110447489.7A Active CN113359962B (en) 2021-04-25 2021-04-25 Fan hot plug method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN113359962B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966955A (en) * 2015-07-03 2015-10-07 成都比善科技开发有限公司 Intelligent safety socket and control method thereof
JP2019219115A (en) * 2018-06-21 2019-12-26 ダイヤモンド電機株式会社 Fan heater control circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102777403A (en) * 2011-05-13 2012-11-14 鸿富锦精密工业(深圳)有限公司 Fan system
US9720044B2 (en) * 2013-12-04 2017-08-01 Labinal, Llc Method and apparatus for sensing the status of a circuit interrupter
CN108828363A (en) * 2018-06-29 2018-11-16 郑州云海信息技术有限公司 A kind of fault detection system of connector
CN209781268U (en) * 2018-12-26 2019-12-13 无锡陆金新能源科技有限公司 Battery rack fan control and delayed start processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966955A (en) * 2015-07-03 2015-10-07 成都比善科技开发有限公司 Intelligent safety socket and control method thereof
JP2019219115A (en) * 2018-06-21 2019-12-26 ダイヤモンド電機株式会社 Fan heater control circuit

Also Published As

Publication number Publication date
CN113359962A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US8954628B2 (en) Portable device and peripheral extension dock
CN105867593A (en) USB Type-C interface circuit and control device thereof
CN111697663A (en) Charging circuit and charging cable
TW200421103A (en) Connecting wire for universal serial bus interface
WO2018086458A1 (en) Usb interface circuit, method and device for usb interface implementation, and computer storage medium
US20120098461A1 (en) Power supply detecting circuit
JP2012533106A (en) USB attachment detection
US11689041B2 (en) System and method for detecting electrical connection and disconnection on USB Type-A charging port
CN110825204A (en) Mainboard of electronic equipment and power supply information management method
CN205692122U (en) A kind of USB Type C interface circuit and control device thereof
CN113359962B (en) Fan hot plug method, system, equipment and medium
CN107506323B (en) Hot plug processing method and device
CN114647280B (en) Self-describing cable
CN111881074A (en) Electronic system, host device and control method
CN102213971B (en) Sequential control circuit and there is the Front Side Bus power supply of this sequential control circuit
CN113572622B (en) POE power supply system and POE power supply method
CN113946530A (en) Control method and device of expansion card and nonvolatile storage medium
US20130166929A1 (en) Power supply system for memory modules
CN211718539U (en) Detection device
CN114661646A (en) Serial port switching control circuit
CN115605839A (en) Plug-in display system and power-on method thereof
KR20120112998A (en) Computer comprising non-limited current usb connector
CN111339013A (en) USB and UART line switching method and device
US11127480B1 (en) System and method for short circuit detection
CN116148644B (en) Test circuit, chip, test system and test method

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