CN111130090B - Power receiving equipment control method and device, computer equipment and storage medium - Google Patents

Power receiving equipment control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111130090B
CN111130090B CN201911198538.7A CN201911198538A CN111130090B CN 111130090 B CN111130090 B CN 111130090B CN 201911198538 A CN201911198538 A CN 201911198538A CN 111130090 B CN111130090 B CN 111130090B
Authority
CN
China
Prior art keywords
power
powered device
preset
power threshold
current
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
CN201911198538.7A
Other languages
Chinese (zh)
Other versions
CN111130090A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201911198538.7A priority Critical patent/CN111130090B/en
Publication of CN111130090A publication Critical patent/CN111130090A/en
Application granted granted Critical
Publication of CN111130090B publication Critical patent/CN111130090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for dc mains or dc distribution networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/66Regulating electric power

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a powered device control method, a powered device control apparatus, a computer device, and a storage medium. The method comprises the following steps: acquiring the ambient temperature of a power supply; adjusting a preset power threshold according to the environment temperature; acquiring the current power supply output power; and performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold. By adopting the method, the preset power threshold value can be adjusted according to the environment temperature, the power threshold value of the power supply under each temperature value can be flexibly adjusted, and the reliability of the power supply is improved.

Description

Power receiving equipment control method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of ethernet and coaxial cable power supply technologies, and in particular, to a method and an apparatus for controlling a powered device, a computer device, and a storage medium.
Background
Poe (power Over ethernet) refers to a technology that, without any modification to the existing ethernet wiring infrastructure, can provide dc power for some IP-based terminals while transmitting data signals; poc (power over coax) is a video, coaxial control, power supply superposition transmission technology based on a coaxial cable, i.e. a signal and a power supply are transmitted on a single coaxial line, and after the technology is applied, engineering wiring is greatly simplified and cost is saved. In the above power supply system, there are two important components: the Power supplying Device is called "Power Sourcing Equipment" (PSE), and the Power consuming Device is called "Powered Device" (PD).
In order to protect a power supply, a safety power threshold value is set in a software strategy of the existing power supply system, usually 90% or 95%, which causes the situation that adapter power is wasted before and after the last PD device is powered on, but a power module is internally arranged and externally arranged.
Disclosure of Invention
In view of the above, it is necessary to provide a power receiving apparatus control method, device, computer apparatus, and storage medium capable of adjusting a power supply power threshold according to a temperature, in order to address the above technical problems.
A powered device control method, the method comprising:
acquiring the ambient temperature of a power supply;
adjusting a preset power threshold according to the environment temperature;
acquiring the current power supply output power;
and performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold.
In one embodiment, the adjusting the preset power threshold according to the ambient temperature includes:
if the environment temperature is greater than or equal to the preset temperature, adjusting a preset power threshold value according to the environment temperature and a preset rule;
and if the environment temperature is lower than the preset temperature, not adjusting the preset power threshold.
In one embodiment, the performing, according to the current power output power and a preset power threshold, an online/offline management on a corresponding powered device includes: the power threshold comprises a first power threshold;
if the powered device is a powered device to be powered on, acquiring the power of the powered device to be powered on;
detecting whether the sum of the current power supply output power and the power of the powered device is greater than a first power threshold;
if the sum of the current power supply output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power supply output power after power supply, which is greater than the first power threshold, exceeds a first preset time;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device.
In one embodiment, the detecting whether a sum of the current power source output power and the powered device power is greater than a first power threshold further comprises:
and if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device.
In one embodiment, the performing, according to the current power output power and a preset power threshold, an online/offline management on a corresponding powered device includes: the power threshold comprises a first power threshold and a second power threshold, the second power threshold being greater than the first power threshold;
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold;
if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time;
if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line;
and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device.
In one embodiment, if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold further includes:
if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
In one embodiment, the method further comprises: the number of the powered devices is multiple;
acquiring a priority order of the plurality of powered devices;
and according to the priority sequence, downloading the corresponding powered device.
A powered device control apparatus, the apparatus comprising:
the temperature acquisition module is used for acquiring the ambient temperature of the power supply;
the threshold value updating module is used for adjusting a preset power threshold value according to the environment temperature;
the sampling module is used for acquiring the output power of the current power supply;
and the control module is used for performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring the ambient temperature of a power supply;
adjusting a preset power threshold value according to the environment temperature;
obtaining current power supply output power, wherein the current power supply output power comprises the current power supply output power and the power of a powered-on powered device;
detecting whether the duration of the current power supply output power meeting the power threshold value is within a preset time; and
and if the duration time that the current power output power meets the power threshold value is within the preset time, enabling the powered device to be offline.
According to the control method and device of the power receiving equipment, the computer equipment and the storage medium, the preset power threshold value is adjusted according to the environment temperature, the power threshold value of the power supply under each temperature value is flexibly adjusted, and the reliability of the power supply is improved.
Drawings
Fig. 1 is a diagram illustrating an application environment of a control method of a powered device according to an embodiment;
fig. 2 is a flowchart illustrating a control method of a powered device according to an embodiment;
fig. 3 is a flowchart illustrating a control method of a powered device according to another embodiment;
fig. 4 is a block diagram showing a configuration of a power receiving device control apparatus according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The power receiving apparatus control method provided by the present application can be applied to the application environment shown in fig. 1.
Fig. 1 is an application environment diagram of a control method of a powered device in an embodiment, where the application environment is a power supply system, and the power supply system includes a main control module, a power supply module, and a control module, and all the modules are connected to each other. Specifically, the main control unit is used for detecting temperature and setting a preset power threshold of the power supply. The main control module is provided with a control interface, and is connected with the control module through the control interface, and the main control module sends a control signal to the control module. The control module is connected with the plurality of power supply ports and controls power supply of the plurality of power supply ports according to control signals. The main control module is provided with a first sampling unit and a second sampling unit, and the first sampling unit is connected with the power supply module through a voltage sampling circuit to obtain the voltage of the power supply module; the second sampling unit is connected with the power supply module through a current sampling circuit to obtain the current of the power supply module. The power module passes through the voltage sampling circuit and is connected with the main control module, and the power module also passes through the current sampling circuit and is connected with the main control module and the control module.
The main control module is used for carrying out up-down control according to the state of the power supply port; the control module is an execution layer and is used for uploading/downloading the powered device according to the control signal. The main control module can set a preset power threshold value, can also acquire the ambient temperature and compare the ambient temperature with the preset temperature, and adjusts the preset power threshold value.
The main control module can acquire the current power output power of the power supply through the sampling unit, and can also acquire the real-time running power of each power supply port from the control module through the control signal. Before the power supply port supplies power to the powered device, whether the current power supply port supports the powered device is judged by detecting the power grade of the powered device, and all power-on and power-off control is carried out by the control module sending a control signal to the control module.
In one embodiment, as shown in fig. 2, there is provided a method for controlling a powered device, applied to a computer device, including the steps of:
step 102, obtaining an ambient temperature of a power supply.
And 104, adjusting a preset power threshold according to the environment temperature.
Specifically, detecting whether the ambient temperature is less than a preset temperature; if the environment temperature is greater than or equal to the preset temperature, adjusting a preset power threshold value according to the environment temperature and a preset rule; and if the environment temperature is lower than the preset temperature, not adjusting a preset power threshold value. The power threshold value of the power supply under each temperature value is flexibly adjusted by adjusting the preset power threshold value corresponding to the environment temperature and the preset temperature, so that the reliability of the power supply is improved. In one embodiment, the preset temperature is 45 °, the preset power threshold is P1, and the preset rule is { (-0.02 × ambient temperature +1.9) × the preset power threshold }. And if the environment temperature exceeds 45 degrees, updating the preset power threshold according to a preset rule, wherein the higher the environment is, the lower the updated preset power threshold is, and the working life of the power supply in the full temperature range is fully protected by combining a real-time derating curve of the environment temperature. Assuming that the ambient temperature of the power supply is 50 ° and the preset power threshold is P1, the adjusted power threshold P2 is { (-0.02 × 50 ° +1.9) × P1 }. It is understood that the preset temperature may also be 50 °, 55 °, 60 °, 65 °, 70 °, or other values.
And step 106, acquiring the current power output power.
And 108, performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold.
Wherein the power threshold comprises a first power threshold and a second power threshold. In this embodiment, the first power threshold is lower than the second power threshold.
The steps include: if the powered device is a powered device to be powered on, acquiring the power of the powered device to be powered on; detecting whether the sum of the current power supply output power and the powered device power is greater than a first power threshold. Specifically, if the sum of the current power output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power output power after power supply, which is greater than the first power threshold, exceeds a first preset time; if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline; and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device. And if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device. By trial power supply of the powered device to be powered on, if the current power output power is lower than the first power threshold value within the preset time, the powered device is continuously powered on, and the power source power waste is avoided. In one embodiment, the preset power preset is provided with a reference power threshold, the first power threshold is 100% of the reference power threshold, and the first preset time is 5S. It is understood that the first preset time may be 1S, 2S, 3S, 4S or other values.
The steps include: and if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold. Specifically, if the current power output power is greater than a second power threshold, detecting whether the duration time that the current power output power is greater than the second power threshold exceeds a second preset time; if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line; and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device. If the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value; if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline; and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device. The power utilization condition of the powered device is detected, the powered device is controlled to be powered on/off according to the current power output power, the influence of load fluctuation on power supply is avoided, the power supply is prevented from being overloaded for a long time and influencing the service life of the power supply, the utilization rate of the power supply is fully utilized, waste is avoided, and the powered device cannot be used beyond the specification. In one embodiment, the preset power preset is provided with a reference power threshold, the second power threshold is 110% of the reference power threshold, and the first preset time is 1S. It is understood that the second preset time may be 2S, 3S, 4S, 5S or other values. The third preset time is 10S. It is understood that the third preset time may be 5S, 6S, 7S, 8S, 9S, 11S, 12S, 13S, 14S or other values.
The method further comprises the following steps: the number of the powered devices is multiple; acquiring a priority order of the plurality of powered devices; and according to the priority sequence, downloading the corresponding powered device.
Specifically, if the duration of the current power output power being greater than the second power threshold exceeds a second preset time; and if the duration time that the current power output power is greater than the first power threshold exceeds a third preset time, enabling the powered device with low priority to be off-line in sequence from low to high according to the priority, and preferentially supplying the powered device with high priority.
In one embodiment, as shown in fig. 3, the main control module reads the interface power setting value and sets the power threshold according to the interface power setting value. Obtaining the ambient temperature, and adjusting a preset power threshold according to the ambient temperature, wherein the preset temperature is 45 degrees. If the ambient temperature exceeds 45 degrees, updating the preset power threshold according to a preset rule { (-0.02 × ambient temperature +1.9) × preset power threshold }; and if the ambient temperature does not exceed 45 degrees, not adjusting the preset power threshold. Detecting whether the powered device to be powered is accessed, and if the powered device to be powered is not accessed, calculating the current power output power in real time; if the powered device to be powered on is accessed, reading the power classification grade of the powered device before the powered device is powered on, calculating whether the sum of the current power output power and the power corresponding to the power classification grade of the powered device is greater than a preset power threshold value, and if the sum of the current power output power and the power corresponding to the power classification grade of the powered device is greater than the preset power threshold value, trying to supply power to the powered device; and if the sum of the current power output power and the power corresponding to the power classification level of the powered device is less than or equal to a preset power threshold, directly powering on the powered device. Detecting the powered device in the power supply attempting process, detecting whether the duration time that the current power output power is greater than a first power threshold value after power supply detection exceeds a first preset time, and enabling the powered device with low priority to be offline if the duration time that the current power output power is greater than the first power threshold value exceeds the first preset time; and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device and continuing to supply power to the powered device to be powered on. In this embodiment, the powered device is a camera.
Acquiring the priority sequence of the powered-on device, detecting whether the duration time that the current power output power is greater than a second power threshold exceeds a second preset time, and if the duration time that the current power output power is greater than the second power threshold exceeds the second preset time, taking the powered-on device with low priority off the line; and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device. Detecting whether the detected current power supply output power is greater than a first power threshold value, and if the duration that the current power supply output power is greater than the first power threshold value exceeds a third preset time, taking the low-priority powered device off the line; if the duration that the current power output power is greater than the first power threshold value does not exceed the third preset time, the power is continuously supplied to the powered device, the powered device is controlled to be on/off according to the current power output power by detecting the power consumption condition of the powered device, the influence of load fluctuation on power supply is avoided, the power is prevented from being overloaded and used for a long time, the service life of the power is influenced, the utilization rate of the power is fully utilized, waste is avoided, and the power can not be used beyond the specification.
In the control method of the power receiving equipment, the preset power threshold value is adjusted according to the environment temperature, the power threshold value of the power supply under each temperature value is flexibly adjusted, and the reliability of the power supply is improved.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a power receiving device control apparatus including: a temperature acquisition module 210, a threshold update module 220, a sampling module 230, and a control module 240, wherein:
the temperature obtaining module 210 is configured to obtain an ambient temperature of the power supply.
The threshold update module 220 is configured to adjust a preset power threshold according to the ambient temperature.
The sampling module 230 is used for obtaining the current power output power.
The control module 240 is configured to perform offline and online management on the corresponding powered device according to the current power output power and a preset power threshold.
The threshold updating module 220 is further configured to adjust a preset power threshold according to a preset rule according to the ambient temperature if the ambient temperature is greater than or equal to a preset temperature; and if the environment temperature is lower than the preset temperature, not adjusting a preset power threshold value.
The control module 240 includes a unit to be powered on and a unit that has been powered on.
And if the powered device is the powered device to be powered on, processing by the unit to be powered on. The unit to be powered on is used for acquiring the power of the powered device to be powered on; detecting whether the sum of the current power supply output power and the power of the powered device is greater than a first power threshold; if the sum of the current power supply output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power supply output power after power supply, which is greater than the first power threshold, exceeds a first preset time; if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline; and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device. And if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device.
And if the powered device is a powered device, processing by the powered unit. The powered unit is used for detecting whether the current power supply output power is greater than a second power threshold value; if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time; if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line; and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device. If the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value; if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline; and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
The powered device control apparatus further includes a priority module. The priority module is used for acquiring power supply information of a plurality of powered devices; prioritizing the plurality of powered devices according to the power supply information; and prioritizing the powered equipment corresponding to offline according to the priority sequence.
For specific limitations of the power receiving device control apparatus, reference may be made to the above limitations of the power receiving device control method, which are not described herein again. Each module in the above-described power receiving apparatus control device may be entirely or partially implemented by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store power threshold and preset time data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a powered device control method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring the ambient temperature of a power supply;
adjusting a preset power threshold according to the environment temperature;
acquiring the current power supply output power;
and performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the adjusting the preset power threshold according to the environment temperature comprises:
if the environment temperature is greater than or equal to the preset temperature, adjusting a preset power threshold value according to the environment temperature and a preset rule;
and if the environment temperature is lower than the preset temperature, not adjusting a preset power threshold value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the performing online and offline management on the corresponding powered device according to the current power output power and a preset power threshold comprises: the power threshold comprises a first power threshold and a second power threshold;
if the powered device is a powered device to be powered on, acquiring the power of the powered device to be powered on;
detecting whether the sum of the current power supply output power and the power of the powered device is greater than a first power threshold;
if the sum of the current power supply output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power supply output power after power supply, which is greater than the first power threshold, exceeds a first preset time;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the detecting whether a sum of a current power source output power and the powered device power is greater than a first power threshold further comprises:
and if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the performing online and offline management on the corresponding powered device according to the current power output power and a preset power threshold comprises: the power threshold comprises a first power threshold and a second power threshold;
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold;
if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time;
if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line;
and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold further includes:
if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the method further comprises the following steps: the number of the powered devices is multiple;
acquiring a priority order of the plurality of powered devices;
and according to the priority sequence, downloading the corresponding powered device.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring the ambient temperature of a power supply;
adjusting a preset power threshold according to the environment temperature;
acquiring the current power supply output power;
and performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of: the adjusting the preset power threshold according to the environment temperature comprises:
if the environment temperature is greater than or equal to the preset temperature, adjusting a preset power threshold value according to the environment temperature and a preset rule;
and if the environment temperature is lower than the preset temperature, not adjusting a preset power threshold value.
In one embodiment, the computer program when executed by the processor further performs the steps of: the performing online and offline management on the corresponding powered device according to the current power output power and a preset power threshold comprises: the power threshold comprises a first power threshold and a second power threshold;
if the powered device is a powered device to be powered on, acquiring the power of the powered device to be powered on;
detecting whether the sum of the current power supply output power and the power of the powered device is greater than a first power threshold;
if the sum of the current power supply output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power supply output power after power supply, which is greater than the first power threshold, exceeds a first preset time;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device.
In one embodiment, the computer program when executed by the processor further performs the steps of: the detecting whether a sum of a current power source output power and the powered device power is greater than a first power threshold further comprises:
and if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device.
In one embodiment, the computer program when executed by the processor further performs the steps of: the performing online and offline management on the corresponding powered device according to the current power output power and a preset power threshold comprises: the power threshold comprises a first power threshold and a second power threshold;
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold;
if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time;
if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line;
and if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, continuing to supply power to the powered device.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold further includes:
if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method further comprises the following steps: the number of the powered devices is multiple;
acquiring a priority order of the plurality of powered devices;
and according to the priority sequence, downloading the corresponding powered device.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A method for controlling a powered device, the method comprising:
acquiring the ambient temperature of a power supply;
adjusting a preset power threshold according to the environment temperature;
acquiring the current power supply output power;
performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold;
the power threshold includes a first power threshold and a second power threshold, where the second power threshold is greater than the first power threshold, and performing online and offline management on a corresponding powered device according to the current power output power and a preset power threshold includes:
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold;
if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time;
if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line;
if the duration time that the current power supply output power is larger than a second power threshold value does not exceed a second preset time, continuing to supply power to the powered device;
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold further includes:
if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
2. The method of claim 1, wherein the adjusting a preset power threshold according to the ambient temperature comprises:
if the environment temperature is greater than or equal to the preset temperature, adjusting a preset power threshold value according to the environment temperature and a preset rule;
and if the environment temperature is lower than the preset temperature, not adjusting the preset power threshold.
3. The method of claim 1, wherein the managing the power of the corresponding powered device according to the current power output power and a preset power threshold comprises: the power threshold comprises a first power threshold;
if the powered device is a powered device to be powered on, acquiring the power of the powered device to be powered on;
detecting whether the sum of the current power supply output power and the power of the powered device is greater than a first power threshold;
if the sum of the current power supply output power and the power of the powered device is greater than a first power threshold, supplying power to the powered device, and detecting whether the duration of the current power supply output power after power supply, which is greater than the first power threshold, exceeds a first preset time;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a first preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the first preset time, continuing to supply power to the powered device.
4. The method of claim 3, wherein detecting whether a sum of a current power source output power and the powered device power is greater than a first power threshold further comprises:
and if the sum of the current power output power and the power of the powered device is less than or equal to a first power threshold, supplying power to the powered device.
5. The method according to any one of claims 1 to 4, further comprising: the number of the powered devices is multiple;
acquiring a priority order of the plurality of powered devices;
and according to the priority sequence, downloading the corresponding powered device.
6. A power receiving apparatus control device, characterized in that the device comprises:
the temperature acquisition module is used for acquiring the ambient temperature of the power supply;
the threshold value updating module is used for adjusting a preset power threshold value according to the environment temperature;
the sampling module is used for acquiring the output power of the current power supply;
the control module is used for performing online and offline management on corresponding powered equipment according to the current power output power and a preset power threshold;
the power threshold includes a first power threshold and a second power threshold, where the second power threshold is greater than the first power threshold, and performing online and offline management on a corresponding powered device according to the current power output power and a preset power threshold includes:
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold;
if the current power supply output power is larger than a second power threshold, detecting whether the duration time that the current power supply output power is larger than the second power threshold exceeds a second preset time;
if the duration time that the current power supply output power is larger than the second power threshold value exceeds a second preset time, enabling the powered device to be off-line;
if the duration time that the current power supply output power is larger than a second power threshold value does not exceed a second preset time, continuing to supply power to the powered device;
if the powered device is a powered device, detecting whether the current power output power is greater than a second power threshold further includes:
if the duration time that the current power supply output power is greater than the second power threshold value does not exceed the second preset time, detecting whether the current power supply output power is greater than the first power threshold value;
if the duration time that the current power supply output power is larger than the first power threshold value exceeds a third preset time, enabling the powered device to be offline;
and if the duration time that the current power supply output power is greater than the first power threshold value does not exceed the third preset time, continuing to supply power to the powered device.
7. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201911198538.7A 2019-11-29 2019-11-29 Power receiving equipment control method and device, computer equipment and storage medium Active CN111130090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911198538.7A CN111130090B (en) 2019-11-29 2019-11-29 Power receiving equipment control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911198538.7A CN111130090B (en) 2019-11-29 2019-11-29 Power receiving equipment control method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111130090A CN111130090A (en) 2020-05-08
CN111130090B true CN111130090B (en) 2022-01-11

Family

ID=70497124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911198538.7A Active CN111130090B (en) 2019-11-29 2019-11-29 Power receiving equipment control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111130090B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596426B (en) * 2020-11-30 2022-03-11 深圳市欧瑞博科技股份有限公司 Control and networking method and device of single-live-wire Bluetooth intelligent switch and electronic equipment
CN113809789A (en) * 2021-08-04 2021-12-17 南方电网电动汽车服务有限公司 Power control method, energy router, power control system and storage medium
CN114222057B (en) * 2021-11-09 2023-04-25 浙江大华技术股份有限公司 Camera power supply method, audio/video recorder, camera power supply system, and storage medium
CN114466479A (en) * 2021-12-31 2022-05-10 珠海雷特科技股份有限公司 LED power supply output power adjusting method and LED power supply
US11874717B2 (en) 2022-02-09 2024-01-16 Microsoft Technology Licensing, Llc PSU control based on PSU temperature

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118192Y (en) * 2007-11-15 2008-09-17 乐毅辉 Controller for limiting power utilization
CN102394757A (en) * 2005-01-25 2012-03-28 凌特公司 Power sourcing equipment having auto-zero circuit for determining and controlling output current
CN106207228A (en) * 2014-12-15 2016-12-07 现代自动车株式会社 For controlling the system and method for fuel battery power
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009218752A (en) * 2008-03-07 2009-09-24 Nec Corp Electric power supply device, electric power supply method, electric power supply control program, and network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394757A (en) * 2005-01-25 2012-03-28 凌特公司 Power sourcing equipment having auto-zero circuit for determining and controlling output current
CN201118192Y (en) * 2007-11-15 2008-09-17 乐毅辉 Controller for limiting power utilization
CN106207228A (en) * 2014-12-15 2016-12-07 现代自动车株式会社 For controlling the system and method for fuel battery power
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system

Also Published As

Publication number Publication date
CN111130090A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111130090B (en) Power receiving equipment control method and device, computer equipment and storage medium
CN108834086B (en) Method and device for sending short message, computer equipment and storage medium
CN111277458B (en) Fault monitoring method and device of network equipment, computer equipment and storage medium
CN108933994B (en) Short message distribution processing method and device, computer equipment and storage medium
CN110995617B (en) MQTT-based data transmission method and device, computer equipment and storage medium
CN111988240B (en) Data transmission method and device, electronic equipment and storage medium
US20150355701A1 (en) Power source equipment and power supply method thereof
CN110062452B (en) Power adjustment method, device, computer equipment and storage medium
EP3672149A1 (en) Method and device for controlling device activation
CN108924772B (en) Short message sending method and device, computer equipment and storage medium
CN113111496B (en) Operation control method, device, computer equipment and storage medium
CN112531752A (en) Energy storage device management system, method and device
CN112531750A (en) Energy storage device management system, method and device
CN115225464B (en) Network switching method, device, equipment and storage medium
US9519322B2 (en) Server
CN109450079B (en) Power supply method and device using super capacitor as backup power supply
US10788876B2 (en) System and method to maintain power cap while baseboard management controller reboots
US10770907B2 (en) Battery device and control method thereof
CN113411265B (en) Power grid monitoring system preposition service channel dynamic adjusting method based on risk prediction
CN112367416B (en) System, method and computer equipment for remotely setting equipment IP address
KR100819076B1 (en) System For Sharing Information Between Multi Platform Processors In Equipment Control Apparatus And Method Thereof
CN114911739B (en) Method, system, device and storage medium for self-adapting operation mode of memory card
US20040017782A1 (en) Equipment monitoring system line swap fast recovery method
CN214751863U (en) Calculation control module based on two FPGA
CN112769664B (en) Current-sharing control method, multi-power-supply parallel system and storage medium

Legal Events

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