CN114460697A - Temperature control speed regulation method and device for network equipment - Google Patents

Temperature control speed regulation method and device for network equipment Download PDF

Info

Publication number
CN114460697A
CN114460697A CN202210015949.3A CN202210015949A CN114460697A CN 114460697 A CN114460697 A CN 114460697A CN 202210015949 A CN202210015949 A CN 202210015949A CN 114460697 A CN114460697 A CN 114460697A
Authority
CN
China
Prior art keywords
temperature
optical module
module
optical
preset
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
CN202210015949.3A
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202210015949.3A priority Critical patent/CN114460697A/en
Publication of CN114460697A publication Critical patent/CN114460697A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/24Coupling light guides
    • G02B6/42Coupling light guides with opto-electronic elements
    • G02B6/4201Packages, e.g. shape, construction, internal or external details
    • G02B6/4266Thermal aspects, temperature control or temperature monitoring
    • G02B6/4268Cooling
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F05INDEXING SCHEMES RELATING TO ENGINES OR PUMPS IN VARIOUS SUBCLASSES OF CLASSES F01-F04
    • F05DINDEXING SCHEME FOR ASPECTS RELATING TO NON-POSITIVE-DISPLACEMENT MACHINES OR ENGINES, GAS-TURBINES OR JET-PROPULSION PLANTS
    • F05D2270/00Control
    • F05D2270/30Control parameters, e.g. input parameters
    • F05D2270/303Temperature

Abstract

The invention discloses a temperature control speed regulation method and a temperature control speed regulation device for network equipment, wherein the method is applied to the network equipment which comprises a plurality of optical modules and fans; the method comprises the following steps: acquiring the temperature of an optical module of a target high-temperature optical module according to a first preset period; inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature; controlling the fan according to the rotating speed of the fan to radiate the network equipment; the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer. The embodiment of the invention can solve the problem that the heat dissipation problem of the network equipment is more severe in the prior art.

Description

Temperature control speed regulation method and device for network equipment
Technical Field
The invention relates to the technical field of control, in particular to a temperature control speed regulation method and a temperature control speed regulation device for network equipment.
Background
As the demand for data traffic increases, the density of the switching ports of the network device increases, so that the heat dissipation problem of the ports faces a serious challenge. In order to fully utilize the panel space of the network device, the port mode has gradually evolved from 1 × 2 or 2 × 1 to 1 × N or 2 × N. The increased power density of optical modules and port configurations in network devices have made the heat dissipation challenge even more severe. Finding new technical solutions has become a hot issue.
For the above problems, the conventional fan is used for cooling the optical module by controlling or reading the internal temperature of all the optical modules through the external temperature sensor of the optical module, and then performing intelligent temperature control (PID) speed regulation according to the obtained temperature, specifically including the following steps:
mode 1, cover the optical module with optical module external sensor and dispel the heat, the defect that exists can cause the fan rotational speed high, the energy consumption is high, the noise is big, fan life shortens scheduling problem.
In the mode 2, the light module is radiated by reading the temperature of all the light modules to perform PID speed regulation, and because the number of the optical module ports of the network equipment is large, the workload of software is greatly increased, more CPU resources are occupied, and the risk of CPU blockage exists.
Therefore, a temperature control speed regulation mode which is lower in cost, high in efficiency and more reliable is needed at present.
Disclosure of Invention
The embodiment of the invention provides a temperature control speed regulation method and a temperature control speed regulation device for network equipment, which are used for solving the problem that the heat dissipation problem of the network equipment is more severe in the prior art.
According to the embodiment of the invention, a temperature control speed regulation method of network equipment is provided, the method is applied to the network equipment, and the network equipment comprises a plurality of optical modules and fans; the method comprises the following steps:
acquiring the temperature of an optical module of a target high-temperature optical module according to a first preset period;
inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature;
controlling the fan according to the rotating speed of the fan to radiate the network equipment;
the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer.
Optionally, the method further comprises:
scanning the temperature of all optical modules of the network equipment;
determining an optical module with the temperature of the optical module being greater than a preset temperature threshold value as a candidate high-temperature optical module;
determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
sequencing the candidate high-temperature optical modules according to the sequence of the optical module temperature from high to low to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N positions after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module.
Optionally, the method further comprises:
and updating the target high-temperature optical module according to the scanned optical module temperature.
Optionally, the updating the target high-temperature optical module according to the scanned optical module temperature specifically includes:
scanning the temperature of the optical module of the suspected high-temperature optical module according to the first preset period;
scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period;
judging whether the temperature of the scanned optical module is greater than the preset temperature threshold value or not;
determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
and sequencing the new candidate high-temperature optical module and the current target high-temperature optical module according to the sequence of the temperature of the optical modules from high to low to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
Optionally, the method further comprises:
storing the number information and the optical module temperature of the target high-temperature optical module;
correspondingly, acquiring the optical module temperature of the target high-temperature optical module according to a first preset period;
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
According to the embodiment of the invention, the temperature control speed regulation device of the network equipment is also provided, the device is applied to the network equipment, and the network equipment comprises a plurality of optical modules and fans; the apparatus, comprising: the device comprises an acquisition module, a first determination module and a control module; wherein the content of the first and second substances,
the acquisition module is used for acquiring the temperature of the optical module of the target high-temperature optical module according to a first preset period;
the first determining module is used for inputting the highest optical module temperature in the target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature;
the control module is used for controlling the fan according to the rotating speed of the fan so as to radiate the network equipment;
the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer.
Optionally, the apparatus further comprises: the device comprises a scanning module, a second determining module and a sequencing module; wherein the content of the first and second substances,
the scanning module is used for scanning the temperature of the optical modules of all the optical modules of the network equipment;
the second determining module is used for determining the optical module with the temperature higher than a preset temperature threshold value as a candidate high-temperature optical module; determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
the sorting module is used for sorting the candidate high-temperature optical modules in the order of the high-temperature optical module temperature to the low-temperature optical module temperature to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N positions after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module.
Optionally, the scanning module is specifically configured to scan the temperature of the optical module of the suspected high-temperature optical module according to the first preset period; scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period;
the second determining module is further configured to determine whether the scanned temperature of the optical module is greater than the preset temperature threshold; determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
the sorting module is further configured to sort the new candidate high-temperature optical module and the current target high-temperature optical module in order of high-to-low optical module temperatures to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
Optionally, the apparatus further comprises: the storage module is used for storing the number information of the target high-temperature optical module and the temperature of the optical module;
correspondingly, the obtaining module is configured to obtain the optical module temperature of the target high-temperature optical module according to a first preset period, and specifically is configured to:
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
According to the embodiment of the invention, the electronic equipment comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the above method steps when executing the program stored in the memory.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, which when executed by a processor, performs the above-mentioned method steps.
The invention has the following beneficial effects:
according to the temperature control speed regulation method and device for the network equipment, the temperature of the optical module of the target high-temperature optical module is obtained according to the first preset period; inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature; controlling the fan according to the rotating speed of the fan to radiate the network equipment; the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer. According to the embodiment of the invention, the optical modules are intelligently classified according to the temperature, the optical module temperature of the target high-temperature optical module is obtained only according to the first preset period, and the optical module temperature of all the optical modules is not obtained, so that the workload of a CPU (central processing unit) can be reduced, and the calculation amount of the CPU is greatly reduced by the classified optical modules; and the energy conservation and noise reduction of the fan are obviously improved by combining with an intelligent temperature control speed regulation algorithm. The network equipment with any number of optical module ports can be intelligently classified and processed according to temperature, the more the ports are, the tighter the arrangement is, and the more obvious the heat dissipation and energy saving effects are. The realization cost is lower, the efficiency is high and more reliable.
Drawings
FIG. 1 is a flow chart of a temperature control and speed regulation method for a network device according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a temperature control and speed regulation device of a network device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device shown in the present application.
Detailed Description
The method for controlling the temperature and the speed of the network equipment provided by the embodiment of the invention is applied to the network equipment, the network equipment comprises a plurality of optical modules and fans, the temperature of the optical modules of a target high-temperature optical module is firstly obtained according to a first preset period, and the rotating speed of the fans is determined according to the obtained temperature of the optical modules, so that the fans are controlled to realize the heat dissipation of the network equipment. The flow of the method of the invention is shown in figure 1, and the execution steps are as follows:
step 101, acquiring the temperature of an optical module of a target high-temperature optical module according to a first preset period;
the method comprises the steps that an optical module in the network equipment is intelligently classified according to the temperature of the optical module, the optical module with the temperature being larger than a preset temperature threshold is obtained, and the optical module is determined to be a candidate high-temperature optical module; determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module; then, obtaining a target high-temperature optical module from the candidate high-temperature optical modules according to a preset rule, wherein the target high-temperature optical module is an optical module in which the temperature of the optical module in the candidate high-temperature optical module is ranked from high to low and located in the first N, that is, the temperature of the optical module in the last first preset period is ranked from high to low and located in the first N, and the temperature of the optical module is greater than a preset temperature threshold; and N is a positive integer.
Optionally, the preset temperature threshold may be 60 ℃, 70 ℃, and the like, if the number of the optical modules of the network device is 128, N may be 20, 25, and the like, and the number of the target high-temperature optical modules is limited by N, so as to prevent problems that the number of the target high-temperature optical modules is too large, the workload of the CPU is large due to too much data storage amount, and the like.
Step 102, inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature;
the speed regulation algorithm may be implemented by a related PID algorithm, which is not limited in the embodiment of the present invention.
103, controlling the fan according to the rotating speed of the fan to radiate the network equipment;
optionally, when the optical module of the network device is intelligently classified for the first time, the method further includes:
scanning the temperature of all optical modules of the network equipment;
determining an optical module with the temperature of the optical module being greater than a preset temperature threshold value as a candidate high-temperature optical module;
determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
sequencing the candidate high-temperature optical modules according to the sequence of the optical module temperature from high to low to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N positions after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module; it should be understood that when the number of the candidate high-temperature optical modules determined to be obtained is less than N, all the candidate high-temperature optical modules are the target high-temperature optical modules.
Optionally, the method further comprises:
and updating the target high-temperature optical module according to the scanned optical module temperature. In the embodiment of the present invention, if the suspected high-temperature optical module is continuously increased or the temperature of the low-temperature optical module is changed, or even higher than the temperature of the current target high-temperature optical module, the order may be ranked to the top N, so that the target high-temperature optical module needs to be updated according to a predetermined period.
Wherein, according to the scanned optical module temperature, updating the target high-temperature optical module specifically includes:
scanning the temperature of the optical module of the suspected high-temperature optical module according to the first preset period;
scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period; since the optical module temperature of the suspected high-temperature optical module is closer to the optical module temperature of the target high-temperature optical module, the scanning frequency of the suspected high-temperature optical module is more frequent than the scanning frequency of the low-temperature optical module, so that the target high-temperature optical module can be updated more accurately and efficiently.
Judging whether the temperature of the scanned optical module is greater than the preset temperature threshold value or not;
determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
and sequencing the new candidate high-temperature optical module and the current target high-temperature optical module according to the sequence of the temperature of the optical modules from high to low to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
Further, the method further comprises:
storing the number information and the optical module temperature of the target high-temperature optical module; here, the optical modules of the network device may be numbered in advance, and number information of each optical module may be obtained. When the temperature of each optical module is obtained through scanning, only the number information of each optical module and the corresponding temperature of the optical module need to be acquired.
Correspondingly, acquiring the optical module temperature of the target high-temperature optical module according to a first preset period;
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
According to the temperature control speed regulation method of the network equipment, the temperature of the optical module of the target high-temperature optical module is obtained according to a first preset period; inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature; controlling the fan according to the rotating speed of the fan to radiate the network equipment; the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer. According to the embodiment of the invention, the optical modules are intelligently classified according to the temperature, the optical module temperature of the target high-temperature optical module is acquired only according to the first preset period, and the optical module temperatures of all the optical modules are not acquired, so that the workload of a CPU (central processing unit) can be reduced, and the calculation amount of the CPU is greatly reduced by the classified optical modules; and the energy conservation and noise reduction of the fan are obviously improved by combining with an intelligent temperature control speed regulation algorithm. The network equipment with any number of optical module ports can be intelligently classified and processed according to temperature, the more the ports are, the tighter the arrangement is, and the more obvious the heat dissipation and energy saving effects are. The realization cost is lower, the efficiency is high and more reliable.
Based on the same inventive concept, an embodiment of the present invention provides a temperature control speed adjusting device for a network device, where the device may be applied to a network device, the network device includes a plurality of optical modules and a fan, and a structure of the device is shown in fig. 2, where the device includes: the device comprises an acquisition module 21, a first determination module 22 and a control module 23; wherein the content of the first and second substances,
the obtaining module 21 is configured to obtain the temperature of the optical module of the target high-temperature optical module according to a first preset period;
the first determining module 22 is configured to input the highest optical module temperature in the target high-temperature optical module into a preset speed regulation algorithm for calculation, and determine a fan rotation speed corresponding to the highest optical module temperature;
the control module 23 is configured to control the fan according to the rotating speed of the fan to dissipate heat of the network device;
the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer.
Optionally, the apparatus further comprises: the device comprises a scanning module, a second determining module and a sequencing module; wherein the content of the first and second substances,
the scanning module is used for scanning the temperature of the optical modules of all the optical modules of the network equipment;
the second determining module is used for determining the optical module with the temperature higher than a preset temperature threshold value as a candidate high-temperature optical module; determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
the sorting module is used for sorting the candidate high-temperature optical modules in the order of the high-temperature optical module temperature to the low-temperature optical module temperature to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N positions after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module.
Optionally, the scanning module is specifically configured to scan a temperature of an optical module of the suspected high-temperature optical module according to the first preset period; scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period;
the second determining module is further configured to determine whether the scanned temperature of the optical module is greater than the preset temperature threshold; determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
the sorting module is further configured to sort the new candidate high-temperature optical module and the current target high-temperature optical module in order of high-to-low optical module temperatures to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
Optionally, the apparatus further comprises: the storage module is used for storing the number information of the target high-temperature optical module and the temperature of the optical module;
correspondingly, the obtaining module 21 is configured to obtain the optical module temperature of the target high-temperature optical module according to a first preset period, and specifically is configured to:
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
It should be understood that the implementation principle and process of the temperature control speed regulation device of the network device provided in the embodiment of the present invention are similar to those in the above-described embodiment shown in fig. 1, and are not described herein again.
According to the temperature control speed regulation method and device for the network equipment, the temperature of the optical module of the target high-temperature optical module is obtained according to the first preset period; inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature; controlling the fan according to the rotating speed of the fan to radiate the network equipment; the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer. According to the embodiment of the invention, the optical modules are intelligently classified according to the temperature, the optical module temperature of the target high-temperature optical module is obtained only according to the first preset period, and the optical module temperature of all the optical modules is not obtained, so that the workload of a CPU (central processing unit) can be reduced, and the calculation amount of the CPU is greatly reduced by the classified optical modules; and the energy conservation and noise reduction of the fan are obviously improved by combining with an intelligent temperature control speed regulation algorithm. The network equipment with any number of optical module ports can be intelligently classified and processed according to temperature, the more the ports are, the tighter the arrangement is, and the more obvious the heat dissipation and energy saving effects are. The realization cost is lower, the efficiency is high and more reliable.
An electronic device is further provided in the embodiment of the present application, please refer to fig. 3, which includes a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete communication with each other through the communication bus 540.
A memory 530 for storing a computer program;
the processor 510 is configured to implement the temperature control and speed regulation method of the network device according to any of the above embodiments when executing the program stored in the memory 530.
The communication interface 520 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the scheme, the optical modules are intelligently classified according to the temperature, the optical module temperature of the target high-temperature optical module is only acquired according to the first preset period, and the optical module temperatures of all the optical modules are not acquired, so that the workload of a CPU (central processing unit) can be reduced, and the calculation amount of the CPU is greatly reduced by the classified optical modules; and the energy conservation and noise reduction of the fan are obviously improved by combining with an intelligent temperature control speed regulation algorithm. The network equipment with any number of optical module ports can be intelligently classified and processed according to temperature, the more the ports are, the tighter the arrangement is, and the more obvious the heat dissipation and energy saving effects are. The realization cost is lower, the efficiency is high and more reliable.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the temperature control speed regulation method of the network device in any of the foregoing embodiments.
In the scheme, the optical modules are intelligently classified according to the temperature, the optical module temperature of the target high-temperature optical module is only acquired according to the first preset period, and the optical module temperatures of all the optical modules are not acquired, so that the workload of a CPU (central processing unit) can be reduced, and the calculation amount of the CPU is greatly reduced by the classified optical modules; and the energy conservation and noise reduction of the fan are obviously improved by combining with an intelligent temperature control speed regulation algorithm. The network equipment with any number of optical module ports can be intelligently classified and processed according to temperature, the more the ports are, the tighter the arrangement is, and the more obvious the heat dissipation and energy saving effects are. The realization cost is lower, the efficiency is high and more reliable.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are merely used for distinguishing different operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (11)

1. The method is characterized in that the method is applied to network equipment, and the network equipment comprises a plurality of optical modules and fans; the method comprises the following steps:
acquiring the temperature of an optical module of a target high-temperature optical module according to a first preset period;
inputting the highest optical module temperature in a target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature;
controlling the fan according to the rotating speed of the fan to radiate the network equipment;
the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer.
2. The method of claim 1, further comprising:
scanning the temperature of all optical modules of the network equipment;
determining an optical module with the temperature of the optical module being greater than a preset temperature threshold value as a candidate high-temperature optical module;
determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
sequencing the candidate high-temperature optical modules according to the sequence of the optical module temperature from high to low to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N positions after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module.
3. The method of claim 2, further comprising:
and updating the target high-temperature optical module according to the scanned optical module temperature.
4. The method according to claim 3, wherein the updating the target high-temperature optical module according to the scanned optical module temperature specifically includes:
scanning the temperature of the optical module of the suspected high-temperature optical module according to the first preset period;
scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period;
judging whether the temperature of the scanned optical module is greater than the preset temperature threshold value or not;
determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
and sequencing the new candidate high-temperature optical module and the current target high-temperature optical module according to the sequence of the temperature of the optical modules from high to low to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
5. The method of any of claims 1 to 4, further comprising:
storing the number information and the optical module temperature of the target high-temperature optical module;
correspondingly, acquiring the optical module temperature of the target high-temperature optical module according to a first preset period;
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
6. The temperature control speed regulation device of the network equipment is characterized in that the device is applied to the network equipment, and the network equipment comprises a plurality of optical modules and fans; the device, comprising: the device comprises an acquisition module, a first determination module and a control module; wherein the content of the first and second substances,
the acquisition module is used for acquiring the temperature of the optical module of the target high-temperature optical module according to a first preset period;
the first determining module is used for inputting the highest optical module temperature in the target high-temperature optical module into a preset speed regulation algorithm for calculation, and determining the fan rotating speed corresponding to the highest optical module temperature;
the control module is used for controlling the fan according to the rotating speed of the fan so as to radiate the network equipment;
the target high-temperature optical module is an optical module which is arranged in the first N in the last first preset period from high to low in temperature sequence and has the temperature greater than a preset temperature threshold; and N is a positive integer.
7. The apparatus of claim 6, further comprising: the device comprises a scanning module, a second determining module and a sequencing module; wherein the content of the first and second substances,
the scanning module is used for scanning the temperature of the optical modules of all the optical modules of the network equipment;
the second determining module is used for determining the optical module with the temperature higher than a preset temperature threshold value as a candidate high-temperature optical module; determining an optical module with the temperature of the optical module being less than or equal to a preset temperature threshold as a low-temperature optical module;
the sorting module is used for sorting the candidate high-temperature optical modules in the order of the high-temperature optical module temperature to the low-temperature optical module temperature to obtain a target high-temperature optical module and a suspected high-temperature optical module;
the target high-temperature optical modules are optical modules which are arranged in the front N after being sequenced; the suspected high-temperature optical module is an optical module left after the candidate high-temperature optical module removes the target high-temperature optical module.
8. The apparatus according to claim 7, wherein the scanning module is specifically configured to scan a light module temperature of the suspected high-temperature light module according to the first preset period; scanning the temperature of the optical module of the low-temperature optical module according to a second preset period; the first preset period is less than the second preset period;
the second determining module is further configured to determine whether the scanned temperature of the optical module is greater than the preset temperature threshold; determining the optical module with the temperature of the optical module being greater than the preset temperature threshold value as a new candidate high-temperature optical module;
the sorting module is further configured to sort the new candidate high-temperature optical module and the current target high-temperature optical module in order of high-to-low optical module temperatures to obtain a new target high-temperature optical module and a new suspected high-temperature optical module.
9. The apparatus of any of claims 6 to 8, further comprising: the storage module is used for storing the number information of the target high-temperature optical module and the temperature of the optical module;
correspondingly, the obtaining module is configured to obtain the optical module temperature of the target high-temperature optical module according to a first preset period, and specifically is configured to:
and reading the stored number information and the temperature of the optical module corresponding to the number information according to the first preset period.
10. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-5 when executing a program stored on a memory.
11. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202210015949.3A 2022-01-07 2022-01-07 Temperature control speed regulation method and device for network equipment Pending CN114460697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210015949.3A CN114460697A (en) 2022-01-07 2022-01-07 Temperature control speed regulation method and device for network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210015949.3A CN114460697A (en) 2022-01-07 2022-01-07 Temperature control speed regulation method and device for network equipment

Publications (1)

Publication Number Publication Date
CN114460697A true CN114460697A (en) 2022-05-10

Family

ID=81409070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210015949.3A Pending CN114460697A (en) 2022-01-07 2022-01-07 Temperature control speed regulation method and device for network equipment

Country Status (1)

Country Link
CN (1) CN114460697A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054979A (en) * 2016-05-26 2016-10-26 青岛海信宽带多媒体技术有限公司 Optical module protection methods and devices, and optical modules
AT521859A1 (en) * 2018-11-02 2020-05-15 Josef Faller Ges Mit Beschraenkter Haftung Arrangement for connecting optical fibers
CN112987893A (en) * 2021-04-13 2021-06-18 紫光计算机科技有限公司 Fan speed regulation method and device, storage medium and electronic equipment
CN113691308A (en) * 2021-10-25 2021-11-23 杭州芯耘光电科技有限公司 Optical module monitoring method
CN113740977A (en) * 2020-05-29 2021-12-03 瞻博网络公司 Optoelectronic device using hybrid automated test equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054979A (en) * 2016-05-26 2016-10-26 青岛海信宽带多媒体技术有限公司 Optical module protection methods and devices, and optical modules
AT521859A1 (en) * 2018-11-02 2020-05-15 Josef Faller Ges Mit Beschraenkter Haftung Arrangement for connecting optical fibers
CN113740977A (en) * 2020-05-29 2021-12-03 瞻博网络公司 Optoelectronic device using hybrid automated test equipment
CN112987893A (en) * 2021-04-13 2021-06-18 紫光计算机科技有限公司 Fan speed regulation method and device, storage medium and electronic equipment
CN113691308A (en) * 2021-10-25 2021-11-23 杭州芯耘光电科技有限公司 Optical module monitoring method

Similar Documents

Publication Publication Date Title
CN108063427B (en) Inverter overheat protector control method, control device and control system
CN102878102B (en) Speed adjustment processing method and device of fan
US20140089700A1 (en) Performance management methods for electronic devices with mutiple central processing units
US20170329649A1 (en) Determining and using correlative thermal efficiency impacts to distribute workloads
US11907759B2 (en) Technologies for providing predictive thermal management
US20140095906A1 (en) Rotational Graphics Sub-Slice and Execution Unit Power Down to Improve Power Performance Efficiency
CN104735963A (en) Cooling device, work method thereof and display equipment
CN104214121A (en) Fan revolution control system and method
CN113791538B (en) Control method, control device and control system of machine room equipment
US20200326760A1 (en) Control fan using neural network
CN114460697A (en) Temperature control speed regulation method and device for network equipment
CN105354054A (en) Electronic product and adjusting method for performance parameter thereof
CN117311311A (en) DCS controller credibility measurement method, system, electronic equipment and storage medium
CN115163540B (en) Fan rotating speed control method, device and equipment
US10327361B2 (en) Managing air temperature within a server rack
CN113204279B (en) Method, system, device and medium for improving server efficiency based on redundant power supply
CN112421760B (en) Method and device for controlling exciting current of UPS isolation transformer
CN102312850A (en) Heat-radiation control system and method of fan
CN113094149B (en) Data center virtual machine placement method, system, medium and equipment
CN111878977B (en) Distributed equipment control method, device, equipment and medium based on network
CN112257812B (en) Labeling sample determination method, device, machine-readable medium and equipment
CN111967682B (en) Equipment on-shelf scheme optimizing method and device and terminal equipment
CN111178373B (en) Operation method, device and related product
CN105868016B (en) A kind of thread transfer distribution method avoiding multi-core processor hot-spot
CN112230964A (en) Application program development method, application program running method, device, equipment and medium

Legal Events

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