WO2016116022A1 - Method and device for detecting overcurrent of power over ethernet - Google Patents

Method and device for detecting overcurrent of power over ethernet Download PDF

Info

Publication number
WO2016116022A1
WO2016116022A1 PCT/CN2016/071224 CN2016071224W WO2016116022A1 WO 2016116022 A1 WO2016116022 A1 WO 2016116022A1 CN 2016071224 W CN2016071224 W CN 2016071224W WO 2016116022 A1 WO2016116022 A1 WO 2016116022A1
Authority
WO
WIPO (PCT)
Prior art keywords
pair
network
state
power supply
port
Prior art date
Application number
PCT/CN2016/071224
Other languages
French (fr)
Chinese (zh)
Inventor
程宁
董伟杰
王欣
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016116022A1 publication Critical patent/WO2016116022A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • This application relates to, but is not limited to, the field of Power Over Ethernet (PoE).
  • PoE Power Over Ethernet
  • PoE refers to the transmission of data for some IP (Internet Protocol)-based terminals (such as IP phones, WLAN access points APs, network cameras, etc.) in the case of the Ethernet Cat.5 cabling infrastructure. At the same time, the signal can also provide DC power supply technology for such devices.
  • IP Internet Protocol
  • the standard used for PoE Power over Ethernet is IEEE 802.3af.
  • PoE+ is an enhanced version of PoE Power over Ethernet. It defines a device with a power requirement higher than 12.95W as Class 4 (this level is described in IEEE 802.3af, but reserved for future use), which extends the power level to 25W or higher.
  • a complete PoE system consists of two parts: Power Sourcing Equipment (PSE) and Powered Device (PD).
  • PSE Power Sourcing Equipment
  • PD Powered Device
  • PSE Power Sourcing Equipment
  • WAP long-distance wireless access points
  • WAP Wireless
  • thermal monitoring camera applications have required more power.
  • multiple vendor solutions can realize mutual recognition of PSE and PD and provide up to 90W of power for PD.
  • the current of the entire loop is 2.2A at the maximum, and the 4 pairs of twisted pairs of the CAT5e type network cable are simultaneously powered.
  • the average current on each pair is 1.1A, and the engineering needs to be less than Bundling of 25 network cables.
  • the 48W power PoE powered by 4 pairs of twisted pairs uses the network cable 1, 2 and the network cable 4, 5 pairs directly connected together as the PSE positive terminal, and the network cable 3, 6 and the network cable 7 and 8 pairs are directly connected together as the PSE negative terminal. powered by.
  • the network cable 4, 5 or the network cable 7 and 8 line pairs are broken and broken, the network cable 1, 2 / network cable 3, 6 line pair is normal, or the network cable 1, 2 or network cable 3, 6 pairs of broken breaks, network cable 4, 5 / network cable 7, 8 pairs are normal, PoE PSE chip detection of the entire loop current value is unchanged, PSE chip The overcurrent protection function is not triggered, but the current output by PoE is concentrated by two twisted pairs to one twisted pair, resulting in a maximum of 2.2A for a twisted pair transmission, far exceeding the maximum CAT5e type network cable.
  • the flow capacity has huge potential risks.
  • the maximum flow capacity of the CAT5e type network cable is 1.2A. Since the cable is usually twisted into a cable bundle and placed in the wiring closet, if the transmission current exceeds the maximum value, the heat dissipation problem of the cable bundle can easily lead to fire, deflagration, etc. The accident happened. At the same time, the damaged network cable also has the danger of leakage, and the uncertainty of the cable fault location greatly increases the difficulty for the user to troubleshoot the cable.
  • This paper provides a method and device for over-current detection of Ethernet power supply, which can detect the abnormality and risk caused by network cable breakage during high-power PoE power supply and avoid accidents.
  • a method for Ethernet power overcurrent detection includes:
  • detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system includes:
  • the current state of the pair is determined by monitoring the state of the corresponding network port of the twisted pair.
  • detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system includes:
  • the power supply status of the PoE is detected:
  • the connection of the network port is interrupted, and the network cable detection tool integrated by the physical layer chip is used to detect the network cable status of the twisted pair.
  • detecting a current state of each pair of twisted pair in the Ethernet line in the power supply system includes: monitoring a state of the network port corresponding to the pair of twisted pairs, when the network port is located The state is a 100 Mbps electrical port or a 10 megabit electrical port mode, and when the PoE power supply state is normal, the idle line pair is switched to another physical layer chip, and the network layer of the idle line pair of the network layer detection tool integrated by the physical layer chip is used;
  • the idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps;
  • the signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  • a device for power overcurrent detection of a power supply comprising:
  • the detecting module is configured to: detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system;
  • the control module is configured to: when the current state of the pair or pairs of twisted pairs is abnormal, control PoE power supply.
  • the detecting module is configured to: determine a current state of the pair by monitoring a state of the corresponding network port of the twisted pair.
  • the detecting module comprises:
  • the network port monitoring unit is configured to: monitor a state of the network port corresponding to the twisted pair;
  • the first determining unit is configured to: determine a state in which the network port is located;
  • the power supply monitoring unit is configured to: when the state of the network port is changed from a Gigabit electrical port mode to a 100M electrical port mode, or a Gigabit electrical port mode is changed to a ten-mega electrical port mode, detecting the PoE Power supply status;
  • the second determining unit is configured to: determine the power supply state of the power supply device,
  • Determining a unit configured to: determine a current state of the pair
  • the interrupting unit is configured to: when the state of the network port is changed from the Gigabit electrical port mode to the 100M electrical port mode, or the Gigabit electrical port mode is changed to the ten-mega electrical port mode, the power supply device supplies power. Normally, the connection of the network port is interrupted;
  • the network cable monitoring unit is configured to: when the connection of the network port is interrupted, use a network layer detection tool integrated by the physical layer chip to detect the network cable state of the twisted pair.
  • the detecting module further includes a modifying unit
  • the interruption unit is further configured to: when the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply status is normal, when the network port connection fails, the network port is disconnected. ;
  • the network cable monitoring unit is further configured to: detect the state of the signal pair by using a network layer detecting tool integrated by a physical layer chip;
  • the modifying unit is configured to: switch the idle pair to another physical layer chip when the state of the network port is 100 Mbps or 10 Mbps;
  • the network cable monitoring unit is further configured to: detect a network cable state of an idle pair by using a network layer detection tool integrated by a physical layer of the port;
  • the idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps.
  • the signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the detecting method and device of the embodiment of the present invention do not affect the use of the normal service, and the normal data transmission and the PoE power supply do not interrupt the service, and the network cable can be detected in a short time by the above means. Fault, real-time is very strong, by stopping PoE power supply, ensuring the whole The security of the PoE power supply can also obtain the fault information of the network cable, which is helpful for the maintenance of the network cable fault.
  • the abnormality and risk caused by the damage of the network cable generated during the power supply of the high-power PoE can detect the abnormality and take corresponding measures in time. Avoid accidents.
  • FIG. 1 is a schematic diagram of a single PSE high-capacity PoE power supply according to the related art
  • FIG. 2 is a flowchart of a method for detecting power overcurrent detection of a power supply according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for detecting over-current of a power supply over Ethernet according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of cable detection according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for detecting over-current over Ethernet power according to Embodiment 1 of the present invention.
  • FIG. 6 is a block diagram of detection when the state of the network port is 100BASE-TX or 10BASE-T according to the first embodiment of the present invention.
  • a method for detecting a power overcurrent detection of a power supply includes:
  • Step 201 Detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system.
  • Step 202 Control the Power over Ethernet PoE when the current state of the pair or pairs of twisted pair pairs is abnormal.
  • the current state of the pair is determined by monitoring the state of the corresponding network port of the twisted pair.
  • the power supply status of the PoE is detected:
  • the connection of the network port is interrupted, and the network cable detection tool integrated by the physical layer chip is used to detect the network cable status of the twisted pair;
  • the idle line pair When the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply status is normal, the idle line pair is switched to another physical layer chip, and the physical layer chip integrated network line detection tool is adopted. The status of the network cable of the idle pair;
  • the idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps;
  • the signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  • the network cable when a single PSE controller is used, when a large-capacity PoE of four pairs of twisted pairs is powered, the network cable is abnormal and the risk of over-current of the network cable is reduced.
  • the method does not change the existing Ethernet cabling and affects the existing services.
  • the network cable detection tool integrated with the PHY is used to detect the fault of the network cable in time.
  • the power supply is controlled to effectively reduce the risk caused by over-current of the network cable.
  • the processor of the device where the network port is located periodically queries the status of the network port, once the network port is used. If the status is changed to 100BASE-TX or 10BASE-T, the PoE power supply status is detected in real time. If the power supply fails, the network cable is faulty and the cable fault alarm is reported. If the power supply is still normal, the LINK connection of the network port is interrupted and the network cable is detected. The tool detects the network cable. If a fault is found, the PoE power is turned off and the cable fault alarm is reported.
  • the data is transmitted by the network cable 1, 2/network cable 3, 6 pairs, and the large-capacity PoE power supply uses 4 pairs of twisted pair output currents, and the power supply is normal.
  • the cable diagnostic function of the PHY is to operate four pairs of wires at the same time, cable diagnosis cannot be performed on one pair. If the cable is diagnosed in the state of 100BASE-TX or 10BASE-T, the cable is diagnosed for four pairs. The function will cause LINK interruption and affect normal business.
  • the idle line pair of the data transmission in this case - the network line 4, 5 / network line 7, 8 line pair is switched to another 100 Mbps PHY, this PHY does not undertake the task of data transmission, by the device of the network port
  • the processor runs a network cable detection tool to periodically detect the state of the network cable 4, 5/network cable 7 and 8 pairs of the 100 Mbps PHY connection. If a fault is found, the PoE power supply is turned off, and the cable fault alarm is reported;
  • the network cable 1, 2/network cable 3, 6 line pairs continue to bear data transmission.
  • the network port LINK fails, the network port is dropped, the PoE power supply is turned off, the network cable detection tool is run, and if the network cable is found to have problems, the report line is sent. Cable failure alarm;
  • the network cable can be considered as no problem.
  • an embodiment of the present invention provides a device for detecting over-current of a power over Ethernet, including:
  • the detecting module 31 is configured to: detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system;
  • the control module 32 is configured to control PoE power supply when the current state of the pair or pairs of twisted pair is abnormal.
  • the detecting module 31 is configured to determine a current state of the pair by monitoring a state of the corresponding network port of the twisted pair.
  • the detecting module 31 includes:
  • the network port monitoring unit 311 is configured to: monitor a state in which the network port corresponding to the twisted pair is located;
  • the first determining unit 312 is configured to: determine a state in which the network port is located;
  • the power monitoring unit 313 is configured to detect the PoE when the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode. Power supply status;
  • the second determining unit 314 is configured to: determine the power supply status of the power supply end device,
  • a determining unit 315 configured to: determine a current state of the pair
  • the interrupting unit 316 is configured to: when the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode, the power supply terminal device When the power supply is normal, the connection of the network port is interrupted;
  • the interrupting unit 316 is further configured to: when the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply is normal, when the network port connection fails, the network port is disconnected;
  • the network cable monitoring unit 317 is configured to: when the connection of the network port is interrupted, the network line detection tool integrated by the physical layer chip is used to detect the state of the signal line pair; and at the same time, it is also set to: the physical layer integrated network line detection using the port The tool detects the state of the network cable of the idle pair;
  • the modifying unit 318 is configured to: when the network port status is a 100 Mbps electrical port or a ten mega electrical port, switch the idle pair to another physical layer chip;
  • the idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps.
  • the signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  • the device may further include: an alarm module 33, configured to: report a cable failure alarm.
  • the PHY chip itself has cable diagnostics. Although it is not required in IEEE 802.3-2012, most PHYs support cable diagnostics. Cable diagnostic tools are integrated into the PHY to help customers diagnose cable problems. The diagnostic function can measure the length of each pair of pairs on the network cable, and can diagnose the short-circuit or open-circuit status of each pair of twisted pairs to determine the discontinuous location.
  • the network port LINK negotiation is 1000BASE-TX, which can be run without affecting the service and LINK status; for the network port LINK negotiation is 100BASE-TX or 10BASE-T, since each operation is for 4 lines.
  • the operation cable diagnostic function for simultaneous operation will cause the LINK to be disconnected. Once the diagnosis is completed, the LINK status will be re-established;
  • the length of the four pairs of twisted pairs can be detected and recorded by the cable detection tool.
  • the short circuit or open state of each pair of twisted pairs can be diagnosed to determine the discontinuous location.
  • the Gigabit Ethernet port uses 4 pairs of twisted pair to transmit signals, and the 100M network port uses 2 pairs of twisted pair to transmit signals. High-power PoE power supply needs to be adopted. 4 power is supplied to the twisted pair.
  • the processor of the device where the network port is located can monitor the connection status and rate of the network port in real time by reading the PHY register.
  • the PoE power supply state is obtained by reading the registers of the PoE power supply control chip. Therefore, the above information can be combined to analyze whether the network cable is faulty, and then determine whether there is a risk of excessive output current on the network cable. Once the PoE output current is found to be too large, the processor of the device can operate the register of the PoE power supply control chip. Turn off PoE power.
  • the status of the network port is 1000 A-TX. In this case, the status is A in Figure 5, and the network port is monitored. Status, once the status of the network port is changed to 100BASE-TX or 10BASE-T, the PoE power supply status is detected in real time. If the power supply fails, the PoE power supply is actively interrupted, and the power failure alarm is reported. At the same time, the LINK connection of the network port is interrupted, and the network cable detection tool is run. Detect 4 pairs of twisted pairs. If the network cable is faulty, report the network cable fault alarm.
  • the PoE power supply outputs current through the network cable 1, 2/network cable 3, 6 pairs. At this time, the LINK connection of the network port should be interrupted immediately. Run the network cable detection tool to detect the network cable of the network cable 4, 5/network cable 7 and 8 pairs. Once the fault is found, the PoE power supply is turned off, and the network cable fault alarm is reported; if there is no problem, it jumps to the state B in the figure;
  • the network port status is 1000BASE-TX
  • the data is normally transmitted due to the 4 twisted pairs. It can be considered that there is no problem with the network cable.
  • the PoE chip monitors whether the current is overcurrent or not. When the network port LINK fails, the network port is disconnected, the PoE is powered off, and the network cable detection tool is run. If the network cable is faulty, the cable fault alarm is reported.
  • the data transmission uses only the network cable 1, 2/network cable 3, and 6 line pairs.
  • a large-capacity PoE application uses four pairs of twisted-pair power cables. If there is a problem with the network cable 4, 5/network cable 7, 8 pairs, the data transmission and PoE power supply can still be maintained, but at this time, the network cable 1 and 2 / The network line 3, 6 line pair current will increase sharply. Therefore, in this case, it is necessary to detect whether there is a problem in the line pair 4, 5/network line 7 and 8 line pairs in real time without affecting the service.
  • the network cable 4, 5/network cable 7, 8 in this case is switched by the processor to another 100 Mbps PHY through the electronic switch, and the PHY does not undertake the task of data transmission, and is processed by the device where the network port is located.
  • the device runs a network cable detection tool to periodically query the status of the network cable 4, 5/network cable 7 and 8 pairs of the 100 Mbps PHY connection, and if the fault is found, the PoE power supply is turned off;
  • the network cable 1, 2/network cable 3, 6 line pairs serve as the channel for transmitting data on the network port.
  • the LINK fails, the processor turns off the PoE power supply, runs the network cable detection tool, and detects the network cable 1, 2/network cable. 3, 6 line pair status, once the fault is found, the cable fault alarm is reported; the block diagram is shown in Figure 6.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the detection method and device of the embodiment of the present invention do not affect the use of the normal service, and the normal data transmission and the PoE power supply do not interrupt the service, and the network cable fault can be detected in a short time, and the real-time performance is strong, and the PoE is suspended.
  • Power supply ensures the safety of the entire PoE power supply; at the same time, it can also obtain the fault information of the network cable, which is helpful for the maintenance of the network cable fault.
  • the abnormality and risk caused by the damage of the network cable generated during the power supply of the high-power PoE can detect the abnormality and take corresponding measures in time. Measures to avoid accidents.

Abstract

Disclosed are a method and a device for detecting overcurrent of power over Ethernet, comprising: detecting a current state of each pair of twisted-pair line pairs in Ethernet cables in a power over Ethernet system; and when current states of one or more pairs of twisted-pair line pairs are abnormal, controlling the power over Ethernet (PoE).

Description

一种以太网供电过流检测的方法和装置Method and device for detecting power overcurrent in Ethernet 技术领域Technical field
本申请涉及但不限于以太网供电(PoE,Power Over Ethernet)领域。This application relates to, but is not limited to, the field of Power Over Ethernet (PoE).
背景技术Background technique
PoE指在以太网Cat.5布线基础架构的情况下,在为一些基于IP(Internet Protocol,网络互连协议)的终端(如IP电话机、无线局域网接入点AP、网络摄像机等)传输数据信号的同时,还能为此类设备提供直流供电的技术,PoE以太网供电所使用的标准是:IEEE 802.3af。PoE+是PoE以太网供电的增强版,它将功率要求高于12.95W的设备定义为Class 4(该级别在IEEE 802.3af中有描述,但留作将来使用),可将功率水平扩展到25W或更高。PoE refers to the transmission of data for some IP (Internet Protocol)-based terminals (such as IP phones, WLAN access points APs, network cameras, etc.) in the case of the Ethernet Cat.5 cabling infrastructure. At the same time, the signal can also provide DC power supply technology for such devices. The standard used for PoE Power over Ethernet is IEEE 802.3af. PoE+ is an enhanced version of PoE Power over Ethernet. It defines a device with a power requirement higher than 12.95W as Class 4 (this level is described in IEEE 802.3af, but reserved for future use), which extends the power level to 25W or higher.
一个完整的PoE系统包括供电端设备(PSE,Power Sourcing Equipment)和受电端设备(PD,Powered Device)两部分,对于新一代的高功率PoE应用,包括长距离无线接入点(WAP,Wireless Access Point)、瘦客户机和热感监控摄像机应用,已经需要更大的功率了。目前多个厂家方案可实现PSE与PD的相互识别并为PD提供高达90W的功率。A complete PoE system consists of two parts: Power Sourcing Equipment (PSE) and Powered Device (PD). For the new generation of high-power PoE applications, including long-distance wireless access points (WAP, Wireless) Access Point), thin client and thermal monitoring camera applications have required more power. At present, multiple vendor solutions can realize mutual recognition of PSE and PD and provide up to 90W of power for PD.
在90W功率的PoE应用中,整个回路的电流最大为2.2A,采用CAT5e类型的网线的4对双绞线同时供电,平均每线对上的电流最大为1.1A,同时工程上需要满足少于25根网线的捆扎。In a 90W power PoE application, the current of the entire loop is 2.2A at the maximum, and the 4 pairs of twisted pairs of the CAT5e type network cable are simultaneously powered. The average current on each pair is 1.1A, and the engineering needs to be less than Bundling of 25 network cables.
大部分PoE芯片工作在自动模式,具有过流、短路检测的功能,能够在过流、短路时自动停止供电;对于图1的采用单PSE控制器,4对双绞线供电的90W功率的PoE应用中,4双绞线供电模式是采用网线1、2与网线4、5线对直接连接在一起作为PSE正端,网线3、6与网线7、8线对直接连接在一起作为PSE负端供电。若有一股双绞线出现破损断路或短路的情况,比如网线4、5或者网线7、8线对出现破损断路,网线1、2/网线3、6线对正常,或者网线1、2或者网线3、6线对出现破损断路,网线4、5/网线7、8线对正常,PoE的PSE芯片检测整个回路的电流值是保持不变的,PSE芯片 的过流保护功能不被触发,但PoE输出的电流由两股双绞线集中到一股双绞线,导致一股双绞线传输的电流最大达到2.2A,远远超过CAT5e类型的网线最大通流能力,存在巨大的风险隐患。Most PoE chips work in automatic mode, with overcurrent and short circuit detection functions, which can automatically stop power supply during overcurrent and short circuit. For the single PSE controller of Figure 1, the 48W power PoE powered by 4 pairs of twisted pairs In the application, the 4 twisted pair power supply mode uses the network cable 1, 2 and the network cable 4, 5 pairs directly connected together as the PSE positive terminal, and the network cable 3, 6 and the network cable 7 and 8 pairs are directly connected together as the PSE negative terminal. powered by. If there is a broken or broken circuit in a twisted pair, for example, the network cable 4, 5 or the network cable 7 and 8 line pairs are broken and broken, the network cable 1, 2 / network cable 3, 6 line pair is normal, or the network cable 1, 2 or network cable 3, 6 pairs of broken breaks, network cable 4, 5 / network cable 7, 8 pairs are normal, PoE PSE chip detection of the entire loop current value is unchanged, PSE chip The overcurrent protection function is not triggered, but the current output by PoE is concentrated by two twisted pairs to one twisted pair, resulting in a maximum of 2.2A for a twisted pair transmission, far exceeding the maximum CAT5e type network cable. The flow capacity has huge potential risks.
CAT5e类型的网线最大通流能力为1.2A,由于电缆通常被匝成电缆束并置于配线柜中,若传输电流超过最大值,线缆束的散热问题会很容易导致起火、爆燃等安全事故的发生。同时破损的网线也会存在漏电的危险,线缆故障地点的不确定性也大大增加了用户排查线缆故障的难度。The maximum flow capacity of the CAT5e type network cable is 1.2A. Since the cable is usually twisted into a cable bundle and placed in the wiring closet, if the transmission current exceeds the maximum value, the heat dissipation problem of the cable bundle can easily lead to fire, deflagration, etc. The accident happened. At the same time, the damaged network cable also has the danger of leakage, and the uncertainty of the cable fault location greatly increases the difficulty for the user to troubleshoot the cable.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种以太网供电过流检测的方法和装置,能够检测大功率PoE供电时发生的网线破损导致的异常和风险,避免事故的发生。This paper provides a method and device for over-current detection of Ethernet power supply, which can detect the abnormality and risk caused by network cable breakage during high-power PoE power supply and avoid accidents.
一种以太网供电过流检测的方法,包括:A method for Ethernet power overcurrent detection includes:
检测以太网供电系统中以太网线中每对双绞线线对的当前状态;Detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system;
当所述一对或者多对双绞线线对的当前状态异常时,对以太网供电PoE进行控制。When the current state of the pair or pairs of twisted pairs is abnormal, the Power over Ethernet PoE is controlled.
可选地,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:Optionally, detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system includes:
通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。The current state of the pair is determined by monitoring the state of the corresponding network port of the twisted pair.
可选地,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:Optionally, detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system includes:
监测所述双绞线线对对应的网口所处的状态,当所述网口所处的状态为千兆电口模式,并且PoE供电状态正常时,则确定以太网供电中每对线对的当前状态为正常;Monitoring the state of the corresponding network port of the twisted pair, and determining the pair of pairs in the power supply when the network port is in the Gigabit mode and the PoE power is normal. The current status is normal;
当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,则检测所述PoE的供电状况: When the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode, the power supply status of the PoE is detected:
当供电端设备供电失败时,则确定所述线对的当前状态为异常;When the power supply device fails to supply power, determining that the current state of the pair is abnormal;
当供电端设备供电正常时,中断所述网口的连接,采用物理层芯片集成的网线检测工具检测所述双绞线线对的网线状态。When the power supply device is powered normally, the connection of the network port is interrupted, and the network cable detection tool integrated by the physical layer chip is used to detect the network cable status of the twisted pair.
可选地,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:监测所述双绞线线对对应的网口所处的状态,当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,将空闲线对切换到另一个物理层芯片上,采用物理层芯片集成的网线检测工具空闲线对的网线状态;Optionally, detecting a current state of each pair of twisted pair in the Ethernet line in the power supply system includes: monitoring a state of the network port corresponding to the pair of twisted pairs, when the network port is located The state is a 100 Mbps electrical port or a 10 megabit electrical port mode, and when the PoE power supply state is normal, the idle line pair is switched to another physical layer chip, and the network layer of the idle line pair of the network layer detection tool integrated by the physical layer chip is used;
监测所述网口状态,若网口连接失败,则中断所述网口的连接,采用物理层芯片集成的网线检测工具检测信号线对状态;Monitoring the status of the network port, if the connection of the network port fails, interrupting the connection of the network port, and detecting the state of the signal line pair by using a network line detection tool integrated by the physical layer chip;
所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时只承担PoE供电;The idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps;
所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
一种以太网供电过流检测的装置,包括:A device for power overcurrent detection of a power supply, comprising:
检测模块,设置为:检测以太网供电系统中以太网线中每对双绞线线对的当前状态;The detecting module is configured to: detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system;
控制模块,设置为:当所述一对或者多对双绞线线对的当前状态异常时,对PoE供电进行控制。The control module is configured to: when the current state of the pair or pairs of twisted pairs is abnormal, control PoE power supply.
可选地,所述检测模块是设置为:通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。Optionally, the detecting module is configured to: determine a current state of the pair by monitoring a state of the corresponding network port of the twisted pair.
可选地,检测模块包括:Optionally, the detecting module comprises:
网口监测单元,设置为:监测所述双绞线线对对应的网口所处的状态;The network port monitoring unit is configured to: monitor a state of the network port corresponding to the twisted pair;
第一判断单元,设置为:判断所述网口所处的状态;The first determining unit is configured to: determine a state in which the network port is located;
供电监测单元,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,检测所述PoE的供电状况; The power supply monitoring unit is configured to: when the state of the network port is changed from a Gigabit electrical port mode to a 100M electrical port mode, or a Gigabit electrical port mode is changed to a ten-mega electrical port mode, detecting the PoE Power supply status;
第二判断单元,设置为:判断供电端设备供电状态,The second determining unit is configured to: determine the power supply state of the power supply device,
确定单元,设置为:确定所述线对的当前状态;Determining a unit, configured to: determine a current state of the pair;
中断单元,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,所述供电端设备供电正常时,中断所述网口的连接;The interrupting unit is configured to: when the state of the network port is changed from the Gigabit electrical port mode to the 100M electrical port mode, or the Gigabit electrical port mode is changed to the ten-mega electrical port mode, the power supply device supplies power. Normally, the connection of the network port is interrupted;
网线监测单元,设置为:当中断所述网口的连接时,采用物理层芯片集成的网线检测工具检测所述双绞线线对的网线状态。The network cable monitoring unit is configured to: when the connection of the network port is interrupted, use a network layer detection tool integrated by the physical layer chip to detect the network cable state of the twisted pair.
可选地,检测模块还包括修改单元;Optionally, the detecting module further includes a modifying unit;
所述中断单元,还设置为:当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,当网口连接失败,中断所述网口的连接;The interruption unit is further configured to: when the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply status is normal, when the network port connection fails, the network port is disconnected. ;
所述网线监测单元,还设置为:采用物理层芯片集成的网线检测工具检测所述信号线对状态;The network cable monitoring unit is further configured to: detect the state of the signal pair by using a network layer detecting tool integrated by a physical layer chip;
所述修改单元,设置为:当所述网口所处的状态为百兆电口或者十兆电口模式,将空闲线对切换到另一个物理层芯片上;The modifying unit is configured to: switch the idle pair to another physical layer chip when the state of the network port is 100 Mbps or 10 Mbps;
所述网线监测单元,还设置为:采用端口的物理层集成的网线检测工具检测空闲线对的网线状态;The network cable monitoring unit is further configured to: detect a network cable state of an idle pair by using a network layer detection tool integrated by a physical layer of the port;
所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时只承担PoE供电。The idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps.
所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
与相关技术相比,本发明实施例的检测方法和装置不影响正常业务的使用,对于正常的数据传输和PoE供电,不会中断业务,通过上述手段,可以在较短的时间内检测到网线故障,实时性很强,通过中止PoE供电,确保整 个PoE供电的安全;同时还可获取网线故障信息,有助于网线故障的维修,在大功率PoE供电时发生的网线破损导致的异常和风险,能及时检测到异常发生并采取相应的措施,避免事故的发生。Compared with the related art, the detecting method and device of the embodiment of the present invention do not affect the use of the normal service, and the normal data transmission and the PoE power supply do not interrupt the service, and the network cable can be detected in a short time by the above means. Fault, real-time is very strong, by stopping PoE power supply, ensuring the whole The security of the PoE power supply can also obtain the fault information of the network cable, which is helpful for the maintenance of the network cable fault. The abnormality and risk caused by the damage of the network cable generated during the power supply of the high-power PoE can detect the abnormality and take corresponding measures in time. Avoid accidents.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术的单PSE大容量PoE供电示意图;1 is a schematic diagram of a single PSE high-capacity PoE power supply according to the related art;
图2为本发明实施例的以太网供电过流检测的方法的流程图;2 is a flowchart of a method for detecting power overcurrent detection of a power supply according to an embodiment of the present invention;
图3为本发明实施例的以太网供电过流检测的装置的结构示意图;3 is a schematic structural diagram of an apparatus for detecting over-current of a power supply over Ethernet according to an embodiment of the present invention;
图4为本发明实施例的线缆检测示意图;4 is a schematic diagram of cable detection according to an embodiment of the present invention;
图5为本发明实施例一的以太网供电过流检测的方法的流程图;FIG. 5 is a flowchart of a method for detecting over-current over Ethernet power according to Embodiment 1 of the present invention; FIG.
图6为本发明实施例一的网口状态为100BASE-TX或者10BASE-T时的检测框图。FIG. 6 is a block diagram of detection when the state of the network port is 100BASE-TX or 10BASE-T according to the first embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图2所示,本发明实施例提供的一种以太网供电过流检测的方法,包括:As shown in FIG. 2, a method for detecting a power overcurrent detection of a power supply provided by an embodiment of the present invention includes:
步骤201,检测以太网供电系统中以太网线中每对双绞线线对的当前状态;Step 201: Detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system.
步骤202,当所述一对或者多对双绞线线对的当前状态异常时,对以太网供电PoE进行控制。Step 202: Control the Power over Ethernet PoE when the current state of the pair or pairs of twisted pair pairs is abnormal.
其中,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:The current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system is detected:
通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。 The current state of the pair is determined by monitoring the state of the corresponding network port of the twisted pair.
其中,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:The current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system is detected:
监测所述双绞线线对对应的网口所处的状态,当所述网口所处的状态为千兆电口模式,并且PoE供电状态正常时,则确定以太网供电中每对线对的当前状态为正常;Monitoring the state of the corresponding network port of the twisted pair, and determining the pair of pairs in the power supply when the network port is in the Gigabit mode and the PoE power is normal. The current status is normal;
当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,则检测所述PoE的供电状况:When the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode, the power supply status of the PoE is detected:
当供电端设备供电失败时,则确定所述线对的当前状态为异常;When the power supply device fails to supply power, determining that the current state of the pair is abnormal;
当供电端设备供电正常时,中断所述网口的连接,采用物理层芯片集成的网线检测工具检测所述双绞线线对的网线状态;When the power supply device is powered normally, the connection of the network port is interrupted, and the network cable detection tool integrated by the physical layer chip is used to detect the network cable status of the twisted pair;
当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,将空闲线对切换到另一个物理层芯片上,采用物理层芯片集成的网线检测工具空闲线对的网线状态;When the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply status is normal, the idle line pair is switched to another physical layer chip, and the physical layer chip integrated network line detection tool is adopted. The status of the network cable of the idle pair;
并监测所述网口状态,若网口连接失败,则中断所述网口的连接,采用物理层芯片集成的网线检测工具检测信号线对状态;And monitoring the status of the network port. If the network port connection fails, the connection of the network port is interrupted, and the network line detection tool integrated by the physical layer chip is used to detect the status of the signal line pair;
所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时只承担PoE供电;The idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps;
所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
本发明实施例采用单PSE控制器,4对双绞线的大容量PoE供电时,检测网线异常,降低网线过流风险。该方法不改变已有的以太网布线和影响已有业务,通过监测网口状态,采用PHY(Port Physical Layer,端口的物理层)集成的网线检测工具对网线故障及时检测,发现异常后对PoE供电进行控制,有效降低了网线过流导致的风险。In the embodiment of the present invention, when a single PSE controller is used, when a large-capacity PoE of four pairs of twisted pairs is powered, the network cable is abnormal and the risk of over-current of the network cable is reduced. The method does not change the existing Ethernet cabling and affects the existing services. By monitoring the status of the network port, the network cable detection tool integrated with the PHY (Port Physical Layer) is used to detect the fault of the network cable in time. The power supply is controlled to effectively reduce the risk caused by over-current of the network cable.
本发明实施例所述的方法,还包括:The method of the embodiment of the present invention further includes:
上报线缆故障告警。Report a cable fault alarm.
当采用4对双绞线进行大容量PoE供电时,若网口初始状态为1000BASE-TX,网口所在设备的处理器周期性查询该网口的状态,一旦网口 状态变更为100BASE-TX或者10BASE-T,则实时检测PoE供电状况,若供电失败,则确定网线有故障,上报线缆故障告警;若供电仍正常,则中断网口的LINK连接,运行网线检测工具,检测网线,一旦发现故障,则关断PoE供电,上报线缆故障告警;If the initial state of the network port is 1000BASE-TX, the processor of the device where the network port is located periodically queries the status of the network port, once the network port is used. If the status is changed to 100BASE-TX or 10BASE-T, the PoE power supply status is detected in real time. If the power supply fails, the network cable is faulty and the cable fault alarm is reported. If the power supply is still normal, the LINK connection of the network port is interrupted and the network cable is detected. The tool detects the network cable. If a fault is found, the PoE power is turned off and the cable fault alarm is reported.
进一步,当网口状态为100BASE-TX或者10BASE-T时,采用网线1、2/网线3、6线对传输数据,大容量PoE供电采用4对双绞线输出电流,供电正常。Further, when the network port status is 100BASE-TX or 10BASE-T, the data is transmitted by the network cable 1, 2/network cable 3, 6 pairs, and the large-capacity PoE power supply uses 4 pairs of twisted pair output currents, and the power supply is normal.
由于PHY的线缆诊断功能是对4个线对同时操作的,不能单独对一个线对进行线缆诊断,若在100BASE-TX或者10BASE-T的状态下,对4个线对运行线缆诊断功能,将导致LINK中断,影响正常业务。Since the cable diagnostic function of the PHY is to operate four pairs of wires at the same time, cable diagnosis cannot be performed on one pair. If the cable is diagnosed in the state of 100BASE-TX or 10BASE-T, the cable is diagnosed for four pairs. The function will cause LINK interruption and affect normal business.
因此将这种情况下的数据传输的空闲线对——网线4、5/网线7、8线对切换到另一个百兆PHY上,这个PHY不承担数据传输的任务,由网口所在设备的处理器运行网线检测工具,周期性检测这个百兆PHY连接的网线4、5/网线7、8线对的状态,一旦发现故障,则关断PoE供电,上报线缆故障告警;Therefore, the idle line pair of the data transmission in this case - the network line 4, 5 / network line 7, 8 line pair is switched to another 100 Mbps PHY, this PHY does not undertake the task of data transmission, by the device of the network port The processor runs a network cable detection tool to periodically detect the state of the network cable 4, 5/network cable 7 and 8 pairs of the 100 Mbps PHY connection. If a fault is found, the PoE power supply is turned off, and the cable fault alarm is reported;
同时,网线1、2/网线3、6线对继续承担数据传输,一旦该网口LINK失败,网口掉线,则关断PoE供电,运行网线检测工具,若发现网线出现问题,则上报线缆故障告警;At the same time, the network cable 1, 2/network cable 3, 6 line pairs continue to bear data transmission. Once the network port LINK fails, the network port is dropped, the PoE power supply is turned off, the network cable detection tool is run, and if the network cable is found to have problems, the report line is sent. Cable failure alarm;
进一步,当网口状态一直保持为1000BASE-TX时,由于4对双绞线都有数据正常传输,可认为网线没有问题。Further, when the status of the network port is maintained at 1000BASE-TX, since the data is normally transmitted on the four pairs of twisted pairs, the network cable can be considered as no problem.
如图3所示,本发明实施例提供一种以太网供电过流检测的装置,包括:As shown in FIG. 3, an embodiment of the present invention provides a device for detecting over-current of a power over Ethernet, including:
检测模块31,设置为:检测以太网供电系统中以太网线中每对双绞线线对的当前状态;The detecting module 31 is configured to: detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system;
控制模块32,设置为:当所述一对或者多对双绞线线对的当前状态异常时,对PoE供电进行控制。The control module 32 is configured to control PoE power supply when the current state of the pair or pairs of twisted pair is abnormal.
可选地,所述检测模块31是设置为:通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。 Optionally, the detecting module 31 is configured to determine a current state of the pair by monitoring a state of the corresponding network port of the twisted pair.
其中,检测模块31包括:The detecting module 31 includes:
网口监测单元311,设置为:监测所述双绞线线对对应的网口所处的状态;The network port monitoring unit 311 is configured to: monitor a state in which the network port corresponding to the twisted pair is located;
第一判断单元312,设置为:判断所述网口所处的状态;The first determining unit 312 is configured to: determine a state in which the network port is located;
供电监测单元313,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,检测所述PoE的供电状况;The power monitoring unit 313 is configured to detect the PoE when the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode. Power supply status;
第二判断单元314,设置为:判断供电端设备供电状态,The second determining unit 314 is configured to: determine the power supply status of the power supply end device,
确定单元315,设置为:确定所述线对的当前状态;a determining unit 315, configured to: determine a current state of the pair;
中断单元316,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,所述供电端设备供电正常时,中断所述网口的连接;The interrupting unit 316 is configured to: when the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode, the power supply terminal device When the power supply is normal, the connection of the network port is interrupted;
中断单元316,还设置为:当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,当网口连接失败,中断所述网口的连接;The interrupting unit 316 is further configured to: when the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply is normal, when the network port connection fails, the network port is disconnected;
网线监测单元317,设置为:当中断所述网口的连接时,采用物理层芯片集成的网线检测工具检测所述信号线对状态;同时,还设置为:采用端口的物理层集成的网线检测工具检测空闲线对的网线状态;The network cable monitoring unit 317 is configured to: when the connection of the network port is interrupted, the network line detection tool integrated by the physical layer chip is used to detect the state of the signal line pair; and at the same time, it is also set to: the physical layer integrated network line detection using the port The tool detects the state of the network cable of the idle pair;
修改单元318,设置为:当网口状态为百兆电口或者十兆电口时,将空闲线对切换到另一个物理层芯片上;The modifying unit 318 is configured to: when the network port status is a 100 Mbps electrical port or a ten mega electrical port, switch the idle pair to another physical layer chip;
所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时只承担PoE供电。The idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps.
所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
上述装置,还可包括:告警模块33,设置为:上报线缆故障告警。The device may further include: an alarm module 33, configured to: report a cable failure alarm.
实施例一 Embodiment 1
目前PHY芯片本身具备线缆诊断功能,虽然在IEEE 802.3-2012里没有要求,但是绝大多数的PHY支持线缆诊断功能,线缆诊断工具集成在PHY里可以帮忙客户诊断线缆问题,线缆诊断功能可以测量网线每对线对的长度,可以诊断出每对双绞线对的短路或开路状态,判断不连续的地点。Currently, the PHY chip itself has cable diagnostics. Although it is not required in IEEE 802.3-2012, most PHYs support cable diagnostics. Cable diagnostic tools are integrated into the PHY to help customers diagnose cable problems. The diagnostic function can measure the length of each pair of pairs on the network cable, and can diagnose the short-circuit or open-circuit status of each pair of twisted pairs to determine the discontinuous location.
本实施例对于网口LINK协商为1000BASE-TX,可以在不影响业务和LINK状态的情况下运行;对于网口LINK协商为100BASE-TX或者10BASE-T,由于每次操作都是对4个线对同时操作的运行线缆诊断功能将导致LINK断开,一旦诊断完成,将重新建立LINK状态;In this embodiment, the network port LINK negotiation is 1000BASE-TX, which can be run without affecting the service and LINK status; for the network port LINK negotiation is 100BASE-TX or 10BASE-T, since each operation is for 4 lines. The operation cable diagnostic function for simultaneous operation will cause the LINK to be disconnected. Once the diagnosis is completed, the LINK status will be re-established;
如图4所示,采用线缆检测工具能够检测出4对双绞线的长度,并记录下来,同时可以诊断出每对双绞线对的短路或开路状态,判断不连续的地点;As shown in Figure 4, the length of the four pairs of twisted pairs can be detected and recorded by the cable detection tool. At the same time, the short circuit or open state of each pair of twisted pairs can be diagnosed to determine the discontinuous location.
大容量PoE供电时,以太网线上有数据信号和直流供电同时传输,千兆网口采用4对双绞线传输信号,百兆网口采用2对双绞线传输信号,大功率PoE供电需要采用4对双绞线进行供电。When the large-capacity PoE is powered, the data line and the DC power supply are transmitted simultaneously on the Ethernet line. The Gigabit Ethernet port uses 4 pairs of twisted pair to transmit signals, and the 100M network port uses 2 pairs of twisted pair to transmit signals. High-power PoE power supply needs to be adopted. 4 power is supplied to the twisted pair.
一旦网线出现故障,会直接影响到网口的状态和传输速率和PoE供电,网口所在设备的处理器可以通过读取PHY的寄存器的方法,实时监测到网口连接状态和速率,同样也可以通过读取PoE供电控制芯片的寄存器,获取PoE供电状态。因此,上述几个信息可以结合起来分析网线是否出现故障,进而判断网线上是否有输出电流过大的风险,一旦发现PoE输出电流过大,设备的处理器可以通过操作PoE供电控制芯片的寄存器,关断PoE供电。Once the network cable fails, it will directly affect the status and transmission rate of the network port and PoE power supply. The processor of the device where the network port is located can monitor the connection status and rate of the network port in real time by reading the PHY register. The PoE power supply state is obtained by reading the registers of the PoE power supply control chip. Therefore, the above information can be combined to analyze whether the network cable is faulty, and then determine whether there is a risk of excessive output current on the network cable. Once the PoE output current is found to be too large, the processor of the device can operate the register of the PoE power supply control chip. Turn off PoE power.
对于采用4对双绞线供电的大容量PoE供电场景,判断网口初始的协商状态,若网口初始状态协商为1000BASE-TX时,此时为图5中的状态A,监测该网口的状态,一旦该网口状态变更为100BASE-TX或者10BASE-T,则实时检测PoE供电状况,若供电失败,主动中断PoE供电,上报供电失败告警;同时中断网口的LINK连接,运行网线检测工具检测4对双绞线,一旦网线有故障,上报网线故障告警;If the initial state of the network port is 1000BASE-TX, the status of the network port is 1000 A-TX. In this case, the status is A in Figure 5, and the network port is monitored. Status, once the status of the network port is changed to 100BASE-TX or 10BASE-T, the PoE power supply status is detected in real time. If the power supply fails, the PoE power supply is actively interrupted, and the power failure alarm is reported. At the same time, the LINK connection of the network port is interrupted, and the network cable detection tool is run. Detect 4 pairs of twisted pairs. If the network cable is faulty, report the network cable fault alarm.
若供电仍正常,则有可能是网线4、5/网线7、8线对有问题,PoE供电通过网线1、2/网线3、6线对输出电流,此时应立即中断网口的LINK连接,运行网线检测工具,检测网线4、5/网线7、8线对的网线,一旦发现故障,则关断PoE供电,上报网线故障告警;若没有问题,则跳转到图中的状态B; If the power supply is still normal, there may be a problem with the network cable 4, 5/network cable 7 and 8 pairs. The PoE power supply outputs current through the network cable 1, 2/network cable 3, 6 pairs. At this time, the LINK connection of the network port should be interrupted immediately. Run the network cable detection tool to detect the network cable of the network cable 4, 5/network cable 7 and 8 pairs. Once the fault is found, the PoE power supply is turned off, and the network cable fault alarm is reported; if there is no problem, it jumps to the state B in the figure;
当网口状态为1000BASE-TX时,网口状态正常时,由于4双绞线都有数据正常传输,可认为网线没有问题,正常供电后由PoE芯片自行监测电流是否过流,在电流过流时主控关断PoE供电;一旦该网口LINK失败,网口掉线,则关断PoE供电,运行网线检测工具,一旦发现网线出现问题,则上报线缆故障告警;When the network port status is 1000BASE-TX, when the network port status is normal, the data is normally transmitted due to the 4 twisted pairs. It can be considered that there is no problem with the network cable. After the normal power supply, the PoE chip monitors whether the current is overcurrent or not. When the network port LINK fails, the network port is disconnected, the PoE is powered off, and the network cable detection tool is run. If the network cable is faulty, the cable fault alarm is reported.
当网口状态协商为100BASE-TX或者10BASE-T时,对应于图5中的状态B,数据传输只使用网线1、2/网线3、6线对。对于单PSE控制器,大容量PoE应用采用4对双绞线供电,若网线4、5/网线7、8线对出现问题,则数据传输和PoE供电仍能保持,但此时网线1、2/网线3、6线对电流将急剧增大,因此在这种情况下,需要在不影响业务的基础上,实时检测出网线4、5/网线7、8线对是否出现问题。When the network port status is negotiated as 100BASE-TX or 10BASE-T, corresponding to the state B in FIG. 5, the data transmission uses only the network cable 1, 2/network cable 3, and 6 line pairs. For a single PSE controller, a large-capacity PoE application uses four pairs of twisted-pair power cables. If there is a problem with the network cable 4, 5/network cable 7, 8 pairs, the data transmission and PoE power supply can still be maintained, but at this time, the network cable 1 and 2 / The network line 3, 6 line pair current will increase sharply. Therefore, in this case, it is necessary to detect whether there is a problem in the line pair 4, 5/network line 7 and 8 line pairs in real time without affecting the service.
由于每个PHY的线缆诊断功能是对4个线对同时操作的,不能单独对网线4、5/网线7、8线对进行线缆诊断,同时若在100BASE-TX或者10BASE-T的状态下,对4个线对运行线缆诊断功能,将导致LINK中断,影响正常业务。Since the cable diagnostic function of each PHY is operated simultaneously for 4 pairs, the cable diagnosis of the network cable 4, 5/network cable 7 and 8 pairs cannot be performed separately, and if the state is 100BASE-TX or 10BASE-T. The operation of the cable diagnostic function on the four pairs will cause the LINK to be interrupted and affect normal services.
因此将这种情况下的网线4、5/网线7、8线对,由处理器通过电子开关切换到另一个百兆PHY上,这个PHY不承担数据传输的任务,由网口所在设备的处理器运行网线检测工具,周期性查询这个百兆PHY连接的网线4、5/网线7、8线对的状态,一旦发现故障,则关断PoE供电;Therefore, the network cable 4, 5/network cable 7, 8 in this case is switched by the processor to another 100 Mbps PHY through the electronic switch, and the PHY does not undertake the task of data transmission, and is processed by the device where the network port is located. The device runs a network cable detection tool to periodically query the status of the network cable 4, 5/network cable 7 and 8 pairs of the 100 Mbps PHY connection, and if the fault is found, the PoE power supply is turned off;
同时网线1、2/网线3、6线对作为网口传输数据的通道,一旦该网口掉线,LINK失败,则处理器关断PoE供电,运行网线检测工具,检测网线1、2/网线3、6线对的状态,一旦发现故障,则上报线缆故障告警;框图如图6所示。At the same time, the network cable 1, 2/network cable 3, 6 line pairs serve as the channel for transmitting data on the network port. Once the network port is dropped, the LINK fails, the processor turns off the PoE power supply, runs the network cable detection tool, and detects the network cable 1, 2/network cable. 3, 6 line pair status, once the fault is found, the cable fault alarm is reported; the block diagram is shown in Figure 6.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例的检测方法和装置不影响正常业务的使用,对于正常的数据传输和PoE供电,不会中断业务,可以在较短的时间内检测到网线故障,实时性很强,通过中止PoE供电,确保整个PoE供电的安全;同时还可获取网线故障信息,有助于网线故障的维修,在大功率PoE供电时发生的网线破损导致的异常和风险,能及时检测到异常发生并采取相应的措施,避免事故的发生。 The detection method and device of the embodiment of the present invention do not affect the use of the normal service, and the normal data transmission and the PoE power supply do not interrupt the service, and the network cable fault can be detected in a short time, and the real-time performance is strong, and the PoE is suspended. Power supply ensures the safety of the entire PoE power supply; at the same time, it can also obtain the fault information of the network cable, which is helpful for the maintenance of the network cable fault. The abnormality and risk caused by the damage of the network cable generated during the power supply of the high-power PoE can detect the abnormality and take corresponding measures in time. Measures to avoid accidents.

Claims (9)

  1. 一种以太网供电过流检测的方法,包括:A method for Ethernet power overcurrent detection includes:
    检测以太网供电系统中以太网线中每对双绞线线对的当前状态;Detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system;
    当所述一对或者多对双绞线线对的当前状态异常时,对以太网供电PoE进行控制。When the current state of the pair or pairs of twisted pairs is abnormal, the Power over Ethernet PoE is controlled.
  2. 根据权利要求1所述的方法,其中,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:The method of claim 1 wherein detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system comprises:
    通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。The current state of the pair is determined by monitoring the state of the corresponding network port of the twisted pair.
  3. 根据权利要求2所述的方法,其中,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:The method of claim 2 wherein detecting the current state of each pair of twisted pair pairs in the Ethernet line in the Power over Ethernet system comprises:
    监测所述双绞线线对对应的网口所处的状态,当所述网口所处的状态为千兆电口模式,并且PoE供电状态正常时,则确定以太网供电中每对线对的当前状态为正常;Monitoring the state of the corresponding network port of the twisted pair, and determining the pair of pairs in the power supply when the network port is in the Gigabit mode and the PoE power is normal. The current status is normal;
    当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,则检测所述PoE的供电状况:When the state of the network port is changed from the Gigabit electrical port mode to the 100 Mbps electrical port mode, or the Gigabit electrical port mode is changed to the ten mega electrical port mode, the power supply status of the PoE is detected:
    当供电端设备供电失败时,则确定所述线对的当前状态为异常;When the power supply device fails to supply power, determining that the current state of the pair is abnormal;
    当供电端设备供电正常时,中断所述网口的连接,采用物理层芯片集成的网线检测工具检测所述双绞线线对的网线状态。When the power supply device is powered normally, the connection of the network port is interrupted, and the network cable detection tool integrated by the physical layer chip is used to detect the network cable status of the twisted pair.
  4. 根据权利要求2所述的方法,其中,检测以太网供电系统中以太网线中每对双绞线线对的当前状态包括:监测所述双绞线线对对应的网口所处的状态,当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,将空闲线对切换到另一个物理层芯片上,采用物理层芯片集成的网线检测工具空闲线对的网线状态;The method of claim 2, wherein detecting a current state of each pair of twisted pair pairs in the Ethernet line in the power over Ethernet system comprises: monitoring a state of the network port corresponding to the pair of twisted pairs, when The state of the network port is 100 Mbps or 10 Mbps, and when the PoE power supply status is normal, the idle line pair is switched to another physical layer chip, and the network layer detection tool integrated by the physical layer chip is idle. The network cable status of the pair;
    监测所述网口状态,若网口连接失败,则中断所述网口的连接,采用物理层芯片集成的网线检测工具检测信号线对状态;Monitoring the status of the network port, if the connection of the network port fails, interrupting the connection of the network port, and detecting the state of the signal line pair by using a network line detection tool integrated by the physical layer chip;
    所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式 时只承担PoE供电;The state of the idle line pair in the network port is a 100M electrical port mode or a 10 M electrical port mode. Only bear PoE power supply;
    所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  5. 一种以太网供电过流检测的装置,包括:A device for power overcurrent detection of a power supply, comprising:
    检测模块,设置为:检测以太网供电系统中以太网线中每对双绞线线对的当前状态;The detecting module is configured to: detect a current state of each pair of twisted pair pairs in the Ethernet line in the Ethernet power supply system;
    控制模块,设置为:当所述一对或者多对双绞线线对的当前状态异常时,对PoE供电进行控制。The control module is configured to: when the current state of the pair or pairs of twisted pairs is abnormal, control PoE power supply.
  6. 根据权利要求5所述的装置,其中,所述检测模块是设置为:通过监测所述双绞线线对对应的网口所处的状态,判断所述线对的当前状态。The device according to claim 5, wherein the detecting module is configured to determine a current state of the pair by monitoring a state of the corresponding network port of the twisted pair.
  7. 根据权利要求6所述的装置,其中,检测模块包括:The apparatus of claim 6 wherein the detecting module comprises:
    网口监测单元,设置为:监测所述双绞线线对对应的网口所处的状态;The network port monitoring unit is configured to: monitor a state of the network port corresponding to the twisted pair;
    第一判断单元,设置为:判断所述网口所处的状态;The first determining unit is configured to: determine a state in which the network port is located;
    供电监测单元,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,检测所述PoE的供电状况;The power supply monitoring unit is configured to: when the state of the network port is changed from a Gigabit electrical port mode to a 100M electrical port mode, or a Gigabit electrical port mode is changed to a ten-mega electrical port mode, detecting the PoE Power supply status;
    第二判断单元,设置为:判断供电端设备供电状态,The second determining unit is configured to: determine the power supply state of the power supply device,
    确定单元,设置为:确定所述线对的当前状态;Determining a unit, configured to: determine a current state of the pair;
    中断单元,设置为:当所述网口所处的状态由千兆电口模式变更为百兆电口模式,或者由千兆电口模式变更为十兆电口模式,所述供电端设备供电正常时,中断所述网口的连接;The interrupting unit is configured to: when the state of the network port is changed from the Gigabit electrical port mode to the 100M electrical port mode, or the Gigabit electrical port mode is changed to the ten-mega electrical port mode, the power supply device supplies power. Normally, the connection of the network port is interrupted;
    网线监测单元,设置为:当中断所述网口的连接时,采用物理层芯片集成的网线检测工具检测所述双绞线线对的网线状态。The network cable monitoring unit is configured to: when the connection of the network port is interrupted, use a network layer detection tool integrated by the physical layer chip to detect the network cable state of the twisted pair.
  8. 根据权利要求7所述的装置,其中,检测模块还包括:修改单元;The apparatus according to claim 7, wherein the detecting module further comprises: a modifying unit;
    所述中断单元,还设置为:当所述网口所处的状态为百兆电口或者十兆电口模式,并且PoE供电状态正常时,当网口连接失败,中断所述网口的连接; The interruption unit is further configured to: when the state of the network port is 100 Mbps or 10 Mbps, and the PoE power supply status is normal, when the network port connection fails, the network port is disconnected. ;
    所述网线监测单元,还设置为:采用物理层芯片集成的网线检测工具检测所述信号线对状态;The network cable monitoring unit is further configured to: detect the state of the signal pair by using a network layer detecting tool integrated by a physical layer chip;
    所述修改单元,设置为:当所述网口所处的状态为百兆电口或者十兆电口模式,将空闲线对切换到另一个物理层芯片上;The modifying unit is configured to: switch the idle pair to another physical layer chip when the state of the network port is 100 Mbps or 10 Mbps;
    所述网线监测单元,还设置为:采用端口的物理层集成的网线检测工具检测空闲线对的网线状态;The network cable monitoring unit is further configured to: detect a network cable state of an idle pair by using a network layer detection tool integrated by a physical layer of the port;
    所述空闲线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时只承担PoE供电;The idle line pair only bears PoE power supply when the state of the network port is 100 Mbps or 10 Mbps;
    所述信号线对在所述网口所处的状态为百兆电口模式或者十兆电口模式时,既传输信号又承担PoE供电。The signal line pair transmits both signals and PoE power when the state of the network port is 100 Mbps or 10 Mbps.
  9. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-4任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-4.
PCT/CN2016/071224 2015-01-23 2016-01-18 Method and device for detecting overcurrent of power over ethernet WO2016116022A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510035445.8 2015-01-23
CN201510035445.8A CN105871579B (en) 2015-01-23 2015-01-23 Method and device for detecting Power Over Ethernet (POE)

Publications (1)

Publication Number Publication Date
WO2016116022A1 true WO2016116022A1 (en) 2016-07-28

Family

ID=56416432

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071224 WO2016116022A1 (en) 2015-01-23 2016-01-18 Method and device for detecting overcurrent of power over ethernet

Country Status (2)

Country Link
CN (1) CN105871579B (en)
WO (1) WO2016116022A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI635725B (en) * 2016-10-07 2018-09-11 普萊德科技股份有限公司 Network switching system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801720A (en) * 2006-01-17 2006-07-12 杭州华为三康技术有限公司 Method and apparatus for supplying power to external device via Ethernet
CN102136915A (en) * 2010-12-07 2011-07-27 华为技术有限公司 Method and device for strengthening power over Ethernet (POE) security
US20140136874A1 (en) * 2012-11-15 2014-05-15 Broadcom Corporation Low latency discovery for power over ethernet
CN104125076A (en) * 2014-07-04 2014-10-29 深圳创维数字技术股份有限公司 POE (Power Over Ethernet) multimedia terminal
CN104394003A (en) * 2014-11-04 2015-03-04 杭州华三通信技术有限公司 Power supply fault processing method and device and power supply equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6535983B1 (en) * 1999-11-08 2003-03-18 3Com Corporation System and method for signaling and detecting request for power over ethernet
US8037324B2 (en) * 2007-03-20 2011-10-11 Broadcom Corporation Power over ethernet connector with integrated power source equipment (PSE) controller supporting high power applications
CN101252448B (en) * 2008-03-31 2010-12-22 杭州华三通信技术有限公司 Method and system for detecting current failure of power receiving equipment as well as power supply equipment
CN102098814A (en) * 2009-12-11 2011-06-15 中兴通讯股份有限公司 Ethernet port adaptation realization method, network system and network equipment
US8898446B2 (en) * 2010-01-05 2014-11-25 Microsemi Corp.—Analog Mixed Signal Group, Ltd. Power over ethernet extender suitable for use with multiple powering arrangements
CN101793930B (en) * 2010-02-01 2014-08-13 中兴通讯股份有限公司 System, device and method for testing power over Ethernet (POE) function
CN103002042B (en) * 2012-12-14 2016-06-01 广州杰赛科技股份有限公司 Cloud terminal with multiple power supply modes and cloud computing system
CN103490906B (en) * 2013-08-30 2017-05-24 福建星网锐捷网络有限公司 Power supply processing method and device and power supply system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801720A (en) * 2006-01-17 2006-07-12 杭州华为三康技术有限公司 Method and apparatus for supplying power to external device via Ethernet
CN102136915A (en) * 2010-12-07 2011-07-27 华为技术有限公司 Method and device for strengthening power over Ethernet (POE) security
US20140136874A1 (en) * 2012-11-15 2014-05-15 Broadcom Corporation Low latency discovery for power over ethernet
CN104125076A (en) * 2014-07-04 2014-10-29 深圳创维数字技术股份有限公司 POE (Power Over Ethernet) multimedia terminal
CN104394003A (en) * 2014-11-04 2015-03-04 杭州华三通信技术有限公司 Power supply fault processing method and device and power supply equipment

Also Published As

Publication number Publication date
CN105871579B (en) 2019-12-27
CN105871579A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
EP3174243B1 (en) Poe-based power supply method and pse
JP4790729B2 (en) Combination of high-side and low-side current sensing in a system for providing power over a communication link
CN110663219A (en) Thermal modeling of cables for transmitting data and power
US9647879B2 (en) Network backup device and network system
US8018349B1 (en) Detecting an inline power shutoff failure
KR102525573B1 (en) Power control method for power over data lines system
US10764071B1 (en) System and method for chaining power and communications to multiple nodes
CN104301146A (en) Link switching method and device in software defined network
US8341231B2 (en) Systems and methods for processing heartbeat messages
CN101977115B (en) Method and device for realizing power control over Ethernet
WO2013127164A1 (en) Method for triggering bypass equipment switching, and bypass equipment switching method and device
CN103957138B (en) A kind of method for monitoring network, device and its system
CN103546300A (en) Ethernet power supply method and Ethernet power supply device
CN110417464B (en) Fault processing method and device, computer device and readable storage medium
US8493843B2 (en) System and method for using an alternative wire pair for communication on initial wire pair failure
CN108512680A (en) Distribution bar monitoring method and distribution bar, the network switch and power supply system
WO2016116022A1 (en) Method and device for detecting overcurrent of power over ethernet
WO2017215672A1 (en) Power supply method and power supply device in poe system
WO2019079961A1 (en) Method and device for determining shared risk link group
JP5064352B2 (en) Optical communication network system and communication method thereof
KR101234102B1 (en) A circuit automatic switching apparatus and its operational method thereof
US10379921B1 (en) Fault detection and power recovery and redundancy in a power over ethernet system
JP6762032B2 (en) Power receiving device and control method
CN107040309B (en) Optical fiber communication broken link rapid monitoring method based on physical layer
JP2002185567A (en) Network performance monitor system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16739769

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16739769

Country of ref document: EP

Kind code of ref document: A1