CN101820348A - Method and device for carrying out overload protection on equipment in POE system - Google Patents

Method and device for carrying out overload protection on equipment in POE system Download PDF

Info

Publication number
CN101820348A
CN101820348A CN 201010139629 CN201010139629A CN101820348A CN 101820348 A CN101820348 A CN 101820348A CN 201010139629 CN201010139629 CN 201010139629 CN 201010139629 A CN201010139629 A CN 201010139629A CN 101820348 A CN101820348 A CN 101820348A
Authority
CN
China
Prior art keywords
power
pse
power supply
priority
port
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
CN 201010139629
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.)
Wuhan FiberHome Networks Co Ltd
Original Assignee
Wuhan FiberHome 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 Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN 201010139629 priority Critical patent/CN101820348A/en
Publication of CN101820348A publication Critical patent/CN101820348A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention discloses a method for carrying out overload protection on equipment in a POE system. The method comprises the following steps: A, configuring the priority for each port supporting power over Ethernet (POE) of power supply equipment (PSE), and setting a threshold power; B, detecting the real-time power of the PSE, judging whether the real-time power is larger than the threshold power, and executing step C if the real-time power is larger than the threshold power; and C, cutting off the power supply at the PSE ports in an ascending order based on the priority until the real-time power is equal to or smaller than the threshold power. By setting the priority for each port of the PSE equipment, and cutting off the power supply at the PSE ports in the ascending order based on the priority when the PSE is overloaded, the invention prevents the PSE end equipment from being overloaded, and ensures the power utilization of the important PD equipment as much as possible, realizes the automatic protection set by the PSE, further reduces the equipment damage probability, and enhances the accessibility and the reliability of the equipment.

Description

In a kind of POE system equipment is carried out the method and apparatus of overload protection
Technical field
The present invention relates to a kind of POE technology, specifically, is the method and apparatus that in a kind of POE system equipment is carried out overload protection.
Background technology
The POE full name is Power Over Ethernet (Power over Ethernet), is meant by media such as 10base-T, 100BASE-TX, 1000BASE-T ethernet network is powered, and the distance the longest of its reliable power supply is 100 meters.In this way, can effectively solve IP phone, wireless aps (Access Point, WAP (wireless access point)), the centralized power of terminals such as portable computer, portable equipment charger, machine for punching the card, camera, data acquisition power supply, for these terminals, no longer need to consider the problem of its indoor power supply system wiring, in access network, just can realize power supply equipment.Aspect versatility, present POE power supply has had unified standard, as long as follow IEEE 802.3af or the IEEE 802.3at standard of having issued, just can solve the problem of the suitability between the devices from different manufacturers.
Under home, use the equipment that has the POE function to be PD (Power Device, power receiving equipment) power supply, PD under normal circumstances can not transship.The threshold power that PD overload or user have set power devices under particular surroundings causes PSE (Power Sourcing Equipment; power supply unit) can't operate as normal; just need this time PSE equipment to have the ability of self-protection, the overload source is disposed.
A plurality of ports have been connect on the PSE equipment and when PD powered, when if the required power of PD can provide performance number or surpass keeper's value of setting above equipment, prior art can't be handled the overload source automatically, this may cause the PSE device damage, and then cause other PD to work, make fault spread.
Summary of the invention
The technical problem to be solved in the present invention provides the method and apparatus that in a kind of POE system equipment is carried out overload protection, can handle the overload source automatically, realizes the automatic protection to PSE equipment.
In order to solve the problems of the technologies described above, the invention provides the method for in a kind of POE system equipment being carried out overload protection, comprising:
A. be the port arrangement priority of each support Power over Ethernet POE of power supply unit PSE; One threshold power is set;
B. detect the realtime power of PSE, and whether judge this realtime power greater than described threshold power, if greater than, execution in step C;
C. according to priority from low to high order is cut off the power supply of described PSE port, is equal to or less than described threshold power until described realtime power.
Further, behind the described C, also comprise step:
D. continue to detect the realtime power of PSE, if this realtime power is less than described threshold power, the power supply of the described PSE port that cuts off among the order recovery step C from high to low according to priority, until described realtime power saturated or cut off power supply in steps among the C described PSE port all restore electricity;
Described realtime power is saturated to be meant that current realtime power is less than or equal to threshold power, but can make the state of realtime power greater than described threshold power if increase the power supply of a PSE port.
Further, among the described step C, the method that described from low to high order is according to priority cut off the power supply of described PSE port is:
C1., one interim priority variable is set, and composes lowest priority values for it;
C2. travel through and cut off the power supply of the PSE port that described PSE port medium priority equates with described interim priority variable value;
C3. the value with described interim priority variable improves one-level priority, and judges that whether described interim priority variable value is higher than the limit priority for described PSE port arrangement, if not, returns step C2; If, process ends;
In above-mentioned steps C2, after the power supply of a PSE port of every cut-out, obtain the realtime power of PSE again, at the realtime power of this PSE that obtains again during less than described threshold power, process ends.
Further, among the described step D, described from high to low the method for power supply of the described PSE port of order recovery according to priority is:
D1., one interim priority variable is set, and composes highest priority value for it;
D2. travel through and recover the power supply of the PSE port that described PSE port medium priority equates with described interim priority variable value;
D3. the value with described interim priority variable reduces one-level priority, and judges that whether described interim priority variable value is lower than the limit priority for described PSE port arrangement, if not, returns step D2; If, process ends;
Among the above-mentioned steps D2, after the power supply of a PSE port of every recovery, obtain the realtime power of PSE again, when the realtime power of this PSE that obtains again is saturated, process ends.
Further,
Among the described step C, cut off the power supply of a certain PSE port after, cause the identifier that cuts off the power supply for this PSE port is provided with priority, be used to identify this PSE port and cut off power supply owing to automatic overload protection;
Among the described step D, before recovering the power supply of described PSE port, the priority that at first detects this PSE port causes cutting off the power supply, and whether identifier indicates because the outage that the priority overload protection causes, and this PSE port has been enabled and has powered, if, the power supply that then recovers this PSE port; If not, skip this PSE port.
Further,
Among the described step C, cut off the power supply of a certain PSE port after, write down the output power before the outage of this PSE port;
Among the described step D, recover the power supply of described PSE port before, whether at first judge output power and current realtime power sum before this PSE port outage write down greater than described threshold power, as if greater than, skip this PSE port; Otherwise, the power supply that recovers this PSE port.
The present invention also provides the system that in a kind of POE system equipment is carried out overload protection, comprising:
Configuration module is used to the port arrangement priority of each support POE of PSE, and threshold power is set;
Detect judge module, be used to detect the realtime power of PSE, and judge that whether this realtime power is greater than described threshold power;
The protection Executive Module, be used for the judged result of described detection judge module for greater than the time, according to priority order is from low to high cut off the power supply of described PSE port, is equal to or less than described threshold power until described realtime power.
Further, also comprise:
Protection recovers module, be used in the judged result of described detection judge module for the power that consumes in real time during less than set threshold power, the power supply of the described PSE port that cut off by described protection Executive Module of order recovery from high to low according to priority, until described realtime power saturated or all restored electricity by described PSE ports that described protection Executive Module cuts off power supply;
Described realtime power is saturated to be meant that current realtime power is less than or equal to threshold power, but can make the state of realtime power greater than described threshold power if increase the power supply of a PSE port.
Further,
Described protection Executive Module causes the identifier that cuts off the power supply for this PSE port is provided with priority after the power supply of cutting off a certain PSE port, be used to identify this PSE port owing to automatic overload protection cuts off power supply;
Described protection recovers module before the power supply that recovers described PSE port, the priority that at first detects this PSE port causes cutting off the power supply, and whether identifier indicates because the outage that the priority overload protection causes, and this PSE port has been enabled and has powered, if, the power supply that recovers this PSE port; If not, skip this PSE port.
Further,
Described protection Executive Module writes down the preceding output power of this PSE port outage after the power supply of cutting off a certain PSE port;
Described protection recovers module before the power supply that recovers described PSE port, whether at first judges output power and current realtime power sum before this PSE port outage of being write down greater than described threshold power, as if greater than, skip this PSE port; Otherwise, the power supply that recovers this PSE port.
The present invention is by being provided with priority for the port of PSE equipment; when the PSE apparatus overload; the power supply of the cut-out PSE port of order from low to high according to priority; thereby the overload source is disposed; and guarantee the electricity consumption of important PD equipment as far as possible; realize the automatic protection that PSE is provided with, further also reduced the probability of device damage, improved the ease for use and the reliability of equipment.
Description of drawings
Fig. 1 is the flow chart that in the POE of the present invention system equipment is carried out the method for overload protection;
Fig. 2 is to be the schematic diagram of an embodiment of PSE port arrangement priority among the present invention;
Fig. 3 is the flow chart that in the POE of the present invention system equipment is carried out a specific implementation embodiment of protection flow process in the method for overload protection;
Fig. 4 is the flow chart that in the POE of the present invention system equipment is carried out recovering in the method for overload protection a specific implementation embodiment of flow process;
Fig. 5 is the theory diagram that in the POE of the present invention system equipment is carried out the device of overload protection;
Fig. 6 is for realizing the schematic diagram of the POE interface module that the present invention is provided with.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, can be implemented so that those skilled in the art can better understand the present invention also, but illustrated embodiment is not as a limitation of the invention.
As shown in Figure 1, the method for in the POE of the present invention system equipment being carried out overload protection may further comprise the steps:
Step 101: for each of PSE supported the port arrangement priority of POE, and a threshold power priority variable is set is the variable of overall fixed storage, does not set if the user is artificial, and then the default priority of POE port is a lowest priority;
Step 102: the realtime power that detects PSE in real time;
Step 103: whether the realtime power of judging PSE greater than default threshold power, if, execution in step 104; If not, return step 102;
Step 104: according to priority cut off the power supply of described PSE port from low to high and by the ascending order of port numbers, be equal to or less than described threshold power until described realtime power.
So far, the protection flow performing finishes.
Judge according to the value that equipment writes down when carrying out overload protection,, might need to allow the port that goes to enable the POE function because of automatic overload protection return to the normal power supply state when equipment no longer is in overload.This just needs to recover flow process and finishes this work.As shown in Figure 1, recovering flow process comprises:
Step 105: whether the realtime power of judging PSE less than threshold power, if, execution in step 106; Continue to judge;
Step 106: the power supply of the described PSE port that cuts off in step 104 of order recovery from high to low according to priority, saturated or all PSE ports that cut off power supply in step 104 all restore electricity until described realtime power.
Wherein, realtime power is saturated to be meant that current realtime power is less than or equal to threshold power, but can make the state of realtime power greater than described threshold power if increase the power supply of a PSE port.
As shown in Figure 2, in the present embodiment, the POE software module adopts the data structure based on array.At first define global structure body gPseInfo, be correlated with the head pointer pPortInfo of the relevant array of PSE device port with the PSE groove position head pointer pMainInfo of array of this structure storage.Relate generally to the relevant array of port when realizing function of the present invention, the subscript of this array is relevant with the port numbers of port.In the relevant data structure of port, each member of array is and the relevant structure of port PO E information to have stored the precedence information and the various power information of this port of configuration in each structure.Particularly, pPortInfo[0] stored the various POE information that the corresponding end slogan is 1 port, pPortInfo[1] stored the various POE information that the corresponding end slogan is 2 port, by that analogy.In the array member, stored and power supply priority relevant enumerating: ePsePowerPriority, this enumeration definition three kinds of values, be respectively: CRITICAL, HIGH, three kinds of ranks of LOW.
When device initialize, equipment can at first detect this port and whether support the POE function, if this port is supported the POE function, then taking one is the PSE node of index with the port numbers, and this node has carried this port and supported needed all information of POE function.The port priority acquiescences all in initial condition are low.When the user improved the priority of certain particular port, the POE module can be set to the Configuration Values of webmaster correspondence according to the specific port number group membership's of user's configuration ePsePowerPriority value.In the above-described embodiments, step 104 be the protection flow process, its a kind of specific implementation as shown in Figure 3:
Step 301: defining temporary variable tempPortPowPr and differencePow respectively, is POE_LOW to the tempPortPowPri assignment, is the poor of realtime power and threshold power to the differencePow assignment;
TempPortPowPri provides the comparison basis of priority for protecting flow process, and what POE_LOW represented is lowest priority.In the present embodiment, for the POE module can dispose three kinds of priority, be respectively POE_LOW, POE_HIGH, POE_CRITICAL, their rank from low to high.
Step 302: judge whether tempPortPowPri is lower than limit priority, if tempPortPowPri is higher than limit priority, show then the array of the relevant POE of port is traveled through that perhaps some situation causes tempPortPowPri to be higher than limit priority;
Step 303: be higher than limit priority if circulate temporarily with priority, then process ends.
Step 304: if interim circulation is lower than limit priority with priority, then begin the circulation to the array of the relevant POE information of storage port of POE module, the effect of this step is for finding out the corresponding port that should cut off the power supply, so that handle corresponding overload source;
Step 305: judge whether the array member of the corresponding port of this priority to be traveled through fully;
Step 306: if with all of the port chained list traversal of this priority correspondence, just improve one-level with the priority of temporary variable tempPortPowPri this moment, enters circulation once more;
Step 307: whether enable and be in priority in the circulation if the array member who finds to find, then judges on this port POE function for empty and this array member are used;
Step 308: if the POE function of this port enables, then the POE function of this port is gone to enable, simultaneously will be because of protecting the sign position assignment of flow process automatically with the port outage, if when recovering, can judge that port goes to enable because of customer requirements like this, still because priority protects flow process to go to enable automatically;
Step 309: after this port PO E function goes to enable, judge that whether the power that reduces is greater than differencePow, this just means poor that the power of minimizing must be greater than realtime power and threshold power, can not go to enable just to stop to protect flow process after the port when guaranteeing multiport power supply overload;
Step 310: on the basis of step 307 and step 309, move a member backward, this step is the basic step that guarantees traversal same priority port array, just can guarantee all overload sources are all gone to enable on the basis of this step;
Step 311: on the basis of step 309, if the function that reduces poor greater than realtime power and threshold power, this has not been in overload with regard to devices illustrated, protects flow process to finish so.
As shown in Figure 4; when equipment no longer is in overload, and under the situation that external environment condition has changed, allow the port that goes to enable the POE function because of overload protection automatically return to the normal power supply state if desired; a kind of embodiment of its recovery flow process comprises as shown in Figure 4:
Step 401: defining temporary variable tempPortPowPr and differencePow respectively, is POE_CRITICAL to the tempPortPowPri assignment, is the poor of threshold power and realtime power to the differencePow assignment;
TempPortPowPri provides the comparison basis of priority for the protection flow process, is limit priority and POE_CRITICAL represents.In this enforcement, note differencePow=realPow (realtime power)-usageThrPow (threshold power) in the protection flow process, and differencePow=usageThrPow-realPow here.This is because be to have judged to be realtime power greater than threshold power or threshold power greater than realtime power entering protection or recovering flow process.So just can guarantee that differencePow for just, if differencePow is negative, can lead to errors, just needing process ends to detect is where to have made mistakes.
Step 402: judge whether realtime power equals threshold power, judge promptly whether differencePow is 0, if, execution in step 403; If not, execution in step 404;
Because be to recover flow process, just need judge whether that here the port power supply that recovers causes equipment to enter overload again again, the judgement of being done in this step that promptly is based on this reason.That has just done the duplication of labour if the equipment that recovered after the port power supply has entered overload again, this situation should be avoided, if differencePow has just in time equalled zero, obviously be a kind of situation that above-mentioned reason causes, obviously there is no need further to recover.
Step 403: finish to recover flow process, do not powered because there are enough dump powers to be used to recover new port.
Step 404: judge whether tempPortPowPri is lower than lowest priority, show the POE array member traversal of port being correlated with if tempPortPowPri has been lower than lowest priority, perhaps some situation causes tempPortPowPri to be lower than lowest priority;
It should be noted that this step and step 302 are similar, exactly so again identical.This is because determine by the definite port outage of protection flow process rule.The determined outage rule of protection flow process decision: the overload phenomenon when a plurality of ports are powered simultaneously, occurs, at first turn-off the port of low priority, if also locate to turn-off again the port of high priority with overload; If in same priority, there are a plurality of ports to be in wherein, then can be from the shutoff of port numbers minimum, and then turn-off the big port of port numbers.On this basis, obviously should the power supply of backward recovery port in recovering flow process.That is to say when recovering and recover the port of high priority earlier, if in same priority, there are a plurality of ports to need to recover, then can the big port of first reset terminal slogan.
Step 405: be lower than lowest priority if find the tempPortPowPri that is used to circulate, then finished to recover flow process.
Step 406: if interim circulation is higher than lowest priority with priority, then begin the circulation to the relevant POE information array member of the storage port of POE module, the effect of this step is to prepare for the overload source of finding out the corresponding port correspondence that should recover;
Step 407: judge whether the array member of the corresponding port of this priority to be traveled through fully, and whether this array member can use;
Step 408: if with all of the port array member traversal of this priority correspondence, just reduce one-level with the priority of temporary variable tempPortPowPri this moment, enters circulation once more;
Step 409: judge port whether should be recover flow process the port that should recover, this judgement has two conditions: the first, whether this port is in enabled state; The second, whether this port is because priority protection flow process is turn-offed automatically, these two conditions for this judgement be " with " relation, that is to say that these two conditions must satisfy simultaneously;
Step 410: this step is the further judgement of situation described in the step 402, judges whether further that promptly the port power supply that recovers causes equipment to enter overload again again;
Here need to prove among Fig. 4 that the said power that provides is at last noted outside this flow process by the POE module in the step 410.The reason of doing like this is because equipment could be confirmed the power that PD needs after having only power supply, and PSE need judge whether to restore electricity now, promptly means just do not knowing how much power PD needs before the power supply, and this is an antinomy.So take the scheme of an accommodation, the power that record provides for the last time is used for whether recovering the basis for estimation of this port power supply.Do like this and also be based on a kind of realistic consideration, the general situation that overload occurs all is that PD equipment is because certain reason causes apparatus overload, perhaps user's manual configuration the low threshold power of relative actual needs power, and this moment, the user generally can't or can not (equipment is that the keeper that distribution is placed may not in time appear at fault in-situ, just needs the automatic handling failure of equipment this time) change the PD that is connected on the PSE device port.And the worst case of PD fault to be power demand be higher than threshold power, this can be got off by the POE module records, and this will enter step 403 and finish to recover flow process.
Step 411: if step 409, step 410 all are judged as "Yes", carry out that to need the port that recovers, specific implementation be that the POE function of port that needs are recovered enables, and will recover because of the flag bit of priority protection set automatically;
Step 412: this step is to judge whether that the port power supply that recovers causes equipment to enter the protection afterwards of overload again again, appearance equipment for fear of this situation can read the realtime power of the port that restores electricity once, and whether the power of judging this port recovery is greater than differencePow;
Step 413: in step 409, step 410 or step 412 if the situation of denying judges to next port that then the effect of this step is exactly to point to the pairing array member of next port;
Step 414: on the basis of step 412, if the realtime power that the port that recovers reads is greater than differencePow, then recovering flow process need not proceed, because by the rule of looking for described in the step 404, can only recover this port, and the power that the plant capacity after this port recovery can provide greater than equipment finishes so recover flow process.
As shown in Figure 5, be the theory diagram that in the POE of the present invention system equipment is carried out the device of overload protection, it comprises:
Configuration module is used to the port arrangement priority of each support POE of PSE, and a threshold power is set;
Detect judge module, be used to detect the realtime power of PSE, and judge that this realtime power is whether greater than by the default threshold power of configuration module;
The protection Executive Module, be used for the judged result that detects judge module for greater than the time, according to priority order is from low to high cut off the power supply of PSE port, is equal to or less than threshold power until realtime power;
Protection recovers module; be used for the judged result that detects judge module for less than the time; the power supply of the PSE port of the protected Executive Module cut-out of order recovery from high to low according to priority, PSE ports saturated until realtime power or all protected Executive Modules cut-out power supplies all restore electricity.
In addition, for the present invention being done further optimization: the protection Executive Module for this PSE port adds a power-off protection identifier, is used to identify this PSE port and cuts off power supply owing to protecting automatically after the power supply of cutting off a certain PSE port;
Correspondingly, protection recovers module before the power supply that recovers the PSE port, at first detects this PSE port and whether has the power-off protection identifier, if there is the power supply that recovers this PSE port; If do not exist, skip this PSE port.
Can also do another kind of optimization to the present invention: the protection Executive Module writes down the output power before this PSE port cuts off the power supply after the power supply of cutting off a certain PSE port;
Protection recovers module before the power supply that recovers the PSE port, whether at first judges output power and current realtime power sum before this PSE port outage of being write down greater than threshold power, as if greater than, skip this PSE port; Otherwise, the power supply that recovers this PSE port.
On the specific implementation, the present invention can realize by software and hardware combining, realize in the POE module of upper layer software (applications) by the POE interface and parameter setting and conversion work between the hardware, and report relevant interrupt status and interrupt source for the POE module of upper layer software (applications), so that upper layer software (applications) is done corresponding processing.Be illustrated in figure 6 as the schematic diagram of POE interface module.
In when work, upper layer software (applications) POE module is handed down to the POE interface module with required setting or the information of obtaining and instruction; The POE interface module is the list item that hardware can read with information and the instruction translation that issues, and allows the hardware components of POE go to realize the function of being correlated with;
In to the related setting process of hardware or hardware when relevant fault occurring, Hardware Subdivision branch produces corresponding interrupt signal, and set corresponding list item and show the reason of produce interrupting, give the POE interface module with relevant parameters and interrupt delivery simultaneously, also provide specific parameter value in addition for upper layer software (applications);
Step 504:POE interface module is passed to the upper layer software (applications) POE module of moving with interrupting information and the required particular parameter value of obtaining, and allows upper layer software (applications) POE module make corresponding judgement, thereby takes appropriate measures, and is reflected to the upper strata webmaster simultaneously.
Use interface function to be connected between POE interface module and the POE hardware module, the operation of POE hardware by sending instructions and parameter under the upper layer software (applications) POE module, is translated as the list item that POE hardware can be discerned by interface function, allow the POE hardware components go to carry out.When the POE hardware module runs into the situation that need report, also be to report upper layer software (applications) POE module by interface function.Simultaneously, the particular parameter value that need obtain for upper layer software (applications) POE module also is to be provided by interface function, thereby finishes monitoring and the controlled function of whole POE.
In the POE interface module, the information of obtaining from upper layer software (applications) POE module is to do relevant conversion and mapping with instruction, and final value just can be set to the relevant position of hardware POE module.Meanwhile, when need also being to change accordingly and to shine upon when hardware POE module section obtains specific parameter.Following a few class is arranged specifically: (1) arrives the mapping and the correspondence of the classification of POE hardware state to the PD apparatus logic state classification that defines in the upper layer software (applications) POE module; (2) to the correspondence of the logical port number in the upper layer software (applications) POE module to the hardware physical port number; (3) parameter that upper layer software (applications) POE module is set arrives the conversion of reality to the configuration parameter of physical hardware; (4) translation operation that the value of obtaining from the hardware POE module of bottom is correlated with is to offer upper layer software (applications) POE module; (5) state of the relevant PD equipment that bottom hardware POE module is collected becomes corresponding message content to pass to upper layer software (applications) POE module with information translation, handles accordingly for it.The benefit of this hierarchical design is to make each layer function clear in structure of whole POE functional module, calls unified relevant interface module.Thereby reached separating of upper layer software (applications) and bottom hardware, shielded the realization details of hardware, made the whole software module cross-platformly to transplant.And, coupling between modules a little less than, thereby guaranteed the modification of any one module wherein do not influenced other operation.
At hardware components, the encapsulation of POE interface module that can be by the upper strata, the setting that the function in the POE interface directly is correlated with to the corresponding list item of hardware POE module and reading realizes thereby reach intended function.
Need to prove corresponding step 410, the power that last this port of record provides has directly solved a complicated situation branch.The problem that the recovery flow process is faced has following 3 kinds:
A) equipment has some port PO E functions to go to enable;
B) equipment has some ports also to be turn-offed by automatic priority protection flow process, and these ports that turn-off are can consumable power ratio bigger, and the required power ratio of the port that recovers is less;
C) administrator hand provides the threshold value of power to change equipment.
At a) and b) can solve automatically by recovering flow process.And for c) branch of three kinds of new situations will appear in problem: the first, the keeper changes threshold value greatly; The second, the keeper changes threshold value little; The 3rd, the keeper is constant with threshold value, but he has reset the threshold value initial value once.If the variation according to threshold value just triggers the operation that recovers flow process, directly threshold value just becomes an initiatively value, need change according to its variation, and the realtime power value still needs to read.If after having write down the last power that needs of PD, threshold value still is a passive value, recover requirements of process and consider its variation, only need read realtime power and relatively get final product with it then.
The present invention can combine the overload protection of realizing power devices by software with the POE interface module, and can realize real-time, seamless combination between software and the POE hardware, thereby can provide effective overload protection ability for equipment; The present invention utilizes the priority of software storage port to realize automatic priority defencive function, according to the priority of storage port is cut off the power supply and recovery algorithms, thereby realizes controlling, monitoring at the power supply of port on the POE interface module.The present invention can adopt software and hardware in conjunction with the POE function overload protection to equipment, has reached the optimization of efficient and cost.
The above embodiment is the preferred embodiment that proves absolutely that the present invention lifts, and protection scope of the present invention is not limited thereto.Being equal to that those skilled in the art are done on basis of the present invention substitutes or conversion, all within protection scope of the present invention.Protection scope of the present invention is as the criterion with claims.

Claims (10)

1. in the POE system equipment is carried out the method for overload protection, it is characterized in that, comprising:
A. be the port arrangement priority of each support Power over Ethernet POE of power supply unit PSE; One threshold power is set;
B. detect the realtime power of PSE, and whether judge this realtime power greater than described threshold power, if greater than, execution in step C;
C. according to priority from low to high order is cut off the power supply of described PSE port, is equal to or less than described threshold power until described realtime power.
2. in the POE according to claim 1 system equipment is carried out the method for overload protection, it is characterized in that, behind the described C, also comprise step:
D. continue to detect the realtime power of PSE, if this realtime power is less than described threshold power, the power supply of the described PSE port that cuts off among the order recovery step C from high to low according to priority, until described realtime power saturated or cut off power supply in steps among the C described PSE port all restore electricity;
Described realtime power is saturated to be meant that current realtime power is less than or equal to threshold power, but can make the state of realtime power greater than described threshold power if increase the power supply of a PSE port.
3. in the POE according to claim 2 system equipment is carried out the method for overload protection, it is characterized in that, among the described step C, the method that described from low to high order is according to priority cut off the power supply of described PSE port is:
C1., one interim priority variable is set, and composes lowest priority values for it;
C2. travel through and cut off the power supply of the PSE port that described PSE port medium priority equates with described interim priority variable value;
C3. the value with described interim priority variable improves one-level priority, and judges that whether described interim priority variable value is higher than the limit priority for described PSE port arrangement, if not, returns step C2; If, process ends;
In above-mentioned steps C2, after the power supply of a PSE port of every cut-out, obtain the realtime power of PSE again, at the realtime power of this PSE that obtains again during less than described threshold power, process ends.
4. in the POE according to claim 2 system equipment is carried out the method for overload protection, it is characterized in that, among the described step D, described from high to low the method for power supply of the described PSE port of order recovery according to priority is:
D1., one interim priority variable is set, and composes highest priority value for it;
D2. travel through and recover the power supply of the PSE port that described PSE port medium priority equates with described interim priority variable value;
D3. the value with described interim priority variable reduces one-level priority, and judges that whether described interim priority variable value is lower than the limit priority for described PSE port arrangement, if not, returns step D2; If, process ends;
Among the above-mentioned steps D2, after the power supply of a PSE port of every recovery, obtain the realtime power of PSE again, when the realtime power of this PSE that obtains again is saturated, process ends.
5. according to the method for in claim 2, the 3 or 4 described POE systems equipment being carried out overload protection, it is characterized in that,
Among the described step C, cut off the power supply of a certain PSE port after, cause the identifier that cuts off the power supply for this PSE port is provided with priority, be used to identify this PSE port and cut off power supply owing to automatic overload protection;
Among the described step D, before recovering the power supply of described PSE port, the priority that at first detects this PSE port causes cutting off the power supply, and whether identifier indicates because the outage that the priority overload protection causes, and this PSE port has been enabled and has powered, if, the power supply that then recovers this PSE port; If not, skip this PSE port.
6. according to the method for in claim 2, the 3 or 4 described POE systems equipment being carried out overload protection, it is characterized in that,
Among the described step C, cut off the power supply of a certain PSE port after, write down the output power before the outage of this PSE port;
Among the described step D, recover the power supply of described PSE port before, whether at first judge output power and current realtime power sum before this PSE port outage write down greater than described threshold power, as if greater than, skip this PSE port; Otherwise, the power supply that recovers this PSE port.
7. in the POE system equipment is carried out the system of overload protection, it is characterized in that, comprising:
Configuration module is used to the port arrangement priority of each support POE of PSE, and threshold power is set;
Detect judge module, be used to detect the realtime power of PSE, and judge that whether this realtime power is greater than described threshold power;
The protection Executive Module, be used for the judged result of described detection judge module for greater than the time, according to priority order is from low to high cut off the power supply of described PSE port, is equal to or less than described threshold power until described realtime power.
8. in the POE according to claim 7 system equipment is carried out the system of overload protection, it is characterized in that, also comprise:
Protection recovers module, be used in the judged result of described detection judge module for the power that consumes in real time during less than set threshold power, the power supply of the described PSE port that cut off by described protection Executive Module of order recovery from high to low according to priority, until described realtime power saturated or all restored electricity by described PSE ports that described protection Executive Module cuts off power supply;
Described realtime power is saturated to be meant that current realtime power is less than or equal to threshold power, but can make the state of realtime power greater than described threshold power if increase the power supply of a PSE port.
9. in the POE according to claim 8 system equipment is carried out the system of overload protection, it is characterized in that,
Described protection Executive Module causes the identifier that cuts off the power supply for this PSE port is provided with priority after the power supply of cutting off a certain PSE port, be used to identify this PSE port owing to automatic overload protection cuts off power supply;
Described protection recovers module before the power supply that recovers described PSE port, the priority that at first detects this PSE port causes cutting off the power supply, and whether identifier indicates because the outage that the priority overload protection causes, and this PSE port has been enabled and has powered, if, the power supply that recovers this PSE port; If not, skip this PSE port.
10. in the POE according to claim 8 system equipment is carried out the system of overload protection, it is characterized in that,
Described protection Executive Module writes down the preceding output power of this PSE port outage after the power supply of cutting off a certain PSE port;
Described protection recovers module before the power supply that recovers described PSE port, whether at first judges output power and current realtime power sum before this PSE port outage of being write down greater than described threshold power, as if greater than, skip this PSE port; Otherwise, the power supply that recovers this PSE port.
CN 201010139629 2010-03-09 2010-04-06 Method and device for carrying out overload protection on equipment in POE system Pending CN101820348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010139629 CN101820348A (en) 2010-03-09 2010-04-06 Method and device for carrying out overload protection on equipment in POE system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010120401.2 2010-03-09
CN 201010139629 CN101820348A (en) 2010-03-09 2010-04-06 Method and device for carrying out overload protection on equipment in POE system

Publications (1)

Publication Number Publication Date
CN101820348A true CN101820348A (en) 2010-09-01

Family

ID=42655303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010139629 Pending CN101820348A (en) 2010-03-09 2010-04-06 Method and device for carrying out overload protection on equipment in POE system

Country Status (1)

Country Link
CN (1) CN101820348A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025509A (en) * 2010-11-10 2011-04-20 中兴通讯股份有限公司 Power-off control method and device
CN102215113A (en) * 2011-06-08 2011-10-12 北京星网锐捷网络技术有限公司 Power supply method, device and network equipment of Ethernet
CN102856878A (en) * 2011-06-28 2013-01-02 英业达股份有限公司 Overcurrent and overpower protection device
CN102883423A (en) * 2012-09-25 2013-01-16 福建星网锐捷网络有限公司 Method and device for allocating power of power over Ethernet (POE) modules
CN103200015A (en) * 2013-04-03 2013-07-10 武汉烽火网络有限责任公司 Power over Ethernet (POE) switchboard power supply method
CN103384199A (en) * 2011-12-31 2013-11-06 华为数字技术(成都)有限公司 Power supply method, converter and Ethernet power supply system
CN103546301A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for POE system to carry out overload protection on equipment
CN103701618A (en) * 2013-12-27 2014-04-02 上海斐讯数据通信技术有限公司 POE (power over Ethernet) switch port setting power limiting value validating method
CN103873263A (en) * 2014-03-27 2014-06-18 浙江宇视科技有限公司 Method and device for supplying electricity based on POE
WO2014101110A1 (en) * 2012-12-28 2014-07-03 华为技术有限公司 Ethernet power supply method, apparatus, device and system
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN104219062A (en) * 2014-08-20 2014-12-17 烽火通信科技股份有限公司 POE power scheduling management method based on ONU ports
CN104571013A (en) * 2014-11-27 2015-04-29 沈阳东软医疗系统有限公司 Power supply distribution control method and device for fixed-capacity power grid
WO2015196677A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Method for supplying power to powered devices by pse and ethernet pse
CN106341237A (en) * 2015-07-06 2017-01-18 北京东土科技股份有限公司 POE (Power Over Ethernet) system based PSE (Power Sourcing Equipment) power supply method and device
CN103543765B (en) * 2012-07-13 2017-02-08 中兴通讯股份有限公司 Method and device for controlling temperature of power over Ethernet system
CN106612185A (en) * 2015-10-21 2017-05-03 韩华泰科株式会社 Apparatus and method for supplying power
WO2017173926A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Power allocation method and device
CN107425986A (en) * 2017-07-31 2017-12-01 杭州迪普科技股份有限公司 A kind of method and device of POE power protection
CN107612854A (en) * 2017-10-18 2018-01-19 湖南恒茂高科股份有限公司 A kind of non-management type PoE interchangers and control method
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system
CN110071815A (en) * 2018-01-20 2019-07-30 南宁富桂精密工业有限公司 Power supply management method and device
CN110120875A (en) * 2018-02-06 2019-08-13 杭州海康威视数字技术股份有限公司 Method of supplying power to, device, power supply unit and storage medium
CN110932871A (en) * 2019-12-12 2020-03-27 太仓市同维电子有限公司 Protection method for preventing POE power supply equipment from being overloaded
CN110957696A (en) * 2019-12-12 2020-04-03 太仓市同维电子有限公司 Method for recovering power supply after power supply overload and power failure of POE (Power over Ethernet) equipment
CN110995498A (en) * 2019-12-12 2020-04-10 迈普通信技术股份有限公司 Port starting method and device
CN113037508A (en) * 2019-12-24 2021-06-25 华为技术有限公司 Power-down control circuit and power-down control method
CN114143120A (en) * 2020-09-03 2022-03-04 瑞昱半导体股份有限公司 Ethernet power supply device and power management method thereof
CN114257462A (en) * 2021-02-19 2022-03-29 慧与发展有限责任合伙企业 Power off of power over Ethernet interface
US11669137B2 (en) 2021-07-29 2023-06-06 Hewlett Packard Enterprise Development Lp Power down of power over Ethernet interfaces

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794636A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Power prioritization in power source equipment
CN101013963A (en) * 2006-12-21 2007-08-08 华为技术有限公司 Method, communication equipment and veneer for preventing communication equipment from operation exceeding rated power consumption
CN101060412A (en) * 2007-03-29 2007-10-24 杭州华三通信技术有限公司 Ethernet power supply system, control unit, master control module and Ethernet power supply method
US7571331B2 (en) * 2005-01-31 2009-08-04 Microsemi Corp.—Analog Mixed Signal Group Ltd. Means for preventing unintended powering of a first power over Ethernet controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794636A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Power prioritization in power source equipment
US7571331B2 (en) * 2005-01-31 2009-08-04 Microsemi Corp.—Analog Mixed Signal Group Ltd. Means for preventing unintended powering of a first power over Ethernet controller
CN101013963A (en) * 2006-12-21 2007-08-08 华为技术有限公司 Method, communication equipment and veneer for preventing communication equipment from operation exceeding rated power consumption
CN101060412A (en) * 2007-03-29 2007-10-24 杭州华三通信技术有限公司 Ethernet power supply system, control unit, master control module and Ethernet power supply method

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025509B (en) * 2010-11-10 2014-07-16 中兴通讯股份有限公司 Power-off control method and device
CN102025509A (en) * 2010-11-10 2011-04-20 中兴通讯股份有限公司 Power-off control method and device
CN102215113B (en) * 2011-06-08 2013-12-25 北京星网锐捷网络技术有限公司 Power supply method, device and network equipment of Ethernet
CN102215113A (en) * 2011-06-08 2011-10-12 北京星网锐捷网络技术有限公司 Power supply method, device and network equipment of Ethernet
CN102856878A (en) * 2011-06-28 2013-01-02 英业达股份有限公司 Overcurrent and overpower protection device
CN103384199B (en) * 2011-12-31 2017-09-05 华为数字技术(成都)有限公司 A kind of method of supplying power to, converter and POE system
CN103384199A (en) * 2011-12-31 2013-11-06 华为数字技术(成都)有限公司 Power supply method, converter and Ethernet power supply system
CN103543765B (en) * 2012-07-13 2017-02-08 中兴通讯股份有限公司 Method and device for controlling temperature of power over Ethernet system
CN102883423B (en) * 2012-09-25 2015-03-11 福建星网锐捷网络有限公司 Method and device for allocating power of power over Ethernet (POE) modules
CN102883423A (en) * 2012-09-25 2013-01-16 福建星网锐捷网络有限公司 Method and device for allocating power of power over Ethernet (POE) modules
WO2014101110A1 (en) * 2012-12-28 2014-07-03 华为技术有限公司 Ethernet power supply method, apparatus, device and system
US9268383B2 (en) 2012-12-28 2016-02-23 Huawei Technologies Co., Ltd. Power over ethernet method, apparatus, device, and system
CN104137473A (en) * 2012-12-28 2014-11-05 华为技术有限公司 Ethernet power supply method, apparatus, device and system
CN104137473B (en) * 2012-12-28 2017-07-14 华为技术有限公司 POE method, device, equipment and system
CN103200015A (en) * 2013-04-03 2013-07-10 武汉烽火网络有限责任公司 Power over Ethernet (POE) switchboard power supply method
CN103546301B (en) * 2013-10-30 2018-04-06 上海斐讯数据通信技术有限公司 POE system carries out the method and system of overload protection to equipment
CN103546301A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for POE system to carry out overload protection on equipment
CN103701618A (en) * 2013-12-27 2014-04-02 上海斐讯数据通信技术有限公司 POE (power over Ethernet) switch port setting power limiting value validating method
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN103873263A (en) * 2014-03-27 2014-06-18 浙江宇视科技有限公司 Method and device for supplying electricity based on POE
CN105323076A (en) * 2014-06-27 2016-02-10 中兴通讯股份有限公司 Method for supplying power to power device (PD) through PSE (power supply equipment), and Ethernet PSE
WO2015196677A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Method for supplying power to powered devices by pse and ethernet pse
CN104219062A (en) * 2014-08-20 2014-12-17 烽火通信科技股份有限公司 POE power scheduling management method based on ONU ports
CN104219062B (en) * 2014-08-20 2017-11-07 烽火通信科技股份有限公司 POE power dispatching management methods based on ONU end mouthful
CN104571013A (en) * 2014-11-27 2015-04-29 沈阳东软医疗系统有限公司 Power supply distribution control method and device for fixed-capacity power grid
CN106341237A (en) * 2015-07-06 2017-01-18 北京东土科技股份有限公司 POE (Power Over Ethernet) system based PSE (Power Sourcing Equipment) power supply method and device
CN106341237B (en) * 2015-07-06 2019-11-08 北京东土科技股份有限公司 PSE method of supplying power to and device based on POE system
CN106612185A (en) * 2015-10-21 2017-05-03 韩华泰科株式会社 Apparatus and method for supplying power
CN106612185B (en) * 2015-10-21 2020-02-28 韩华泰科株式会社 Apparatus and method for supplying power
WO2017173926A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Power allocation method and device
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system
EP3544227A4 (en) * 2016-11-16 2019-09-25 Hangzhou Hikvision Digital Technology Co., Ltd. Power control method, device and electronic equipment in ethernet power supply system
US10999085B2 (en) 2016-11-16 2021-05-04 Hangzhou Hikvision Digital Technology Co., Ltd. Power control method, device and electronic equipment in ethernet power supply system
CN107425986A (en) * 2017-07-31 2017-12-01 杭州迪普科技股份有限公司 A kind of method and device of POE power protection
CN107612854A (en) * 2017-10-18 2018-01-19 湖南恒茂高科股份有限公司 A kind of non-management type PoE interchangers and control method
CN110071815B (en) * 2018-01-20 2021-03-05 南宁富桂精密工业有限公司 Power supply management method and device
CN110071815A (en) * 2018-01-20 2019-07-30 南宁富桂精密工业有限公司 Power supply management method and device
CN110120875A (en) * 2018-02-06 2019-08-13 杭州海康威视数字技术股份有限公司 Method of supplying power to, device, power supply unit and storage medium
CN110995498A (en) * 2019-12-12 2020-04-10 迈普通信技术股份有限公司 Port starting method and device
CN110957696A (en) * 2019-12-12 2020-04-03 太仓市同维电子有限公司 Method for recovering power supply after power supply overload and power failure of POE (Power over Ethernet) equipment
CN110932871A (en) * 2019-12-12 2020-03-27 太仓市同维电子有限公司 Protection method for preventing POE power supply equipment from being overloaded
CN113037508A (en) * 2019-12-24 2021-06-25 华为技术有限公司 Power-down control circuit and power-down control method
CN114143120A (en) * 2020-09-03 2022-03-04 瑞昱半导体股份有限公司 Ethernet power supply device and power management method thereof
CN114257462A (en) * 2021-02-19 2022-03-29 慧与发展有限责任合伙企业 Power off of power over Ethernet interface
US11669137B2 (en) 2021-07-29 2023-06-06 Hewlett Packard Enterprise Development Lp Power down of power over Ethernet interfaces

Similar Documents

Publication Publication Date Title
CN101820348A (en) Method and device for carrying out overload protection on equipment in POE system
CN102105865B (en) Method and system for power management in a virtual machine environment without disrupting network connectivity
CN102292894B (en) Feeder automation for an electric power distribution system
CN101707380B (en) Method, device and system for configuring power supply system
CN101060412B (en) Ethernet power supply system, master control module and Ethernet power supply method
CN103135732B (en) Server cabinet system
CN103944739A (en) Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN102096620A (en) Method and device for detecting connection state of serial port, and communication system
US20190243685A1 (en) Advanced cloud architectures for power outage mitigation and flexible resource use
CN103763126A (en) System and method for monitoring database and database monitoring device
CN103019905A (en) Substrate managing controller and data processing method thereof
CN103902011A (en) Electronic device controlling method and electronic device
CN103166765A (en) Power over ethernet (PoE) power gating switchover method and device
CN104505947A (en) Transformer substation direct current power supply monitoring system and transformer substation direct current power supply monitoring method
CN103984394A (en) High-density energy-saving blade server system
CN105224489A (en) A kind of integrated management system of hardware device
CN102916909A (en) Collocation method and device of AC card bandwidth and core device
CN100555260C (en) The integrating device of master-controlled bottom layer managing plane and method
CN112201378A (en) Hot standby switching method, system, terminal and medium based on nuclear power plant DCS platform
CN102984739A (en) Breakdown information processing method and processing device
CN104090986A (en) Wireless controller slot position control method, access device and wireless controller
CN110971532A (en) Network resource management method, device and equipment
CN111263387B (en) Wireless sensor network exception handling method and system
CN101534313B (en) A method for realizing electronic apparatus connection topological security control
CN103546301A (en) Method and system for POE system to carry out overload protection on equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100901