CN112202570B - Switch equipment and compatible power supply method - Google Patents

Switch equipment and compatible power supply method Download PDF

Info

Publication number
CN112202570B
CN112202570B CN202010921530.5A CN202010921530A CN112202570B CN 112202570 B CN112202570 B CN 112202570B CN 202010921530 A CN202010921530 A CN 202010921530A CN 112202570 B CN112202570 B CN 112202570B
Authority
CN
China
Prior art keywords
power supply
module
power
powered device
supply module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010921530.5A
Other languages
Chinese (zh)
Other versions
CN112202570A (en
Inventor
朱欢燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010921530.5A priority Critical patent/CN112202570B/en
Publication of CN112202570A publication Critical patent/CN112202570A/en
Application granted granted Critical
Publication of CN112202570B publication Critical patent/CN112202570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L49/00Packet switching elements
    • H04L49/40Constructional details, e.g. power supply, mechanical construction or backplane
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/03Power distribution arrangements

Abstract

The invention provides a switch device and a compatible power supply method, wherein the device comprises a first power supply module, a second power supply module, an interface module and a control module, wherein: the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, and when the first power supply module detects that the powered device is connected through the interface module, the first power supply module feeds back the electric power grade of the powered device to the control module; the switch equipment provided by the invention can be compatible with most of equipment on the market, avoids equipment released by the market containing a private protocol from going out of the market, realizes switching by software, avoids inconvenience caused by manual operation, has a simple realization method, and can easily realize module switching.

Description

Switch equipment and compatible power supply method
Technical Field
The invention relates to the technical field of security communication, in particular to a switch device and a compatible power supply method.
Background
The IEEE802.3af standard is the power detection and control specification in the IEEE earliest approved remote power supply systems. It provides a dc voltage at the port output of between 44 and 57V, providing a PD (Powered Device) with an electric power request of four Class classes (Class 0-Class 3) of 3.84-12.95W, in 2009 the IEEE proposed a new specification IEEE802.3at, which provides a dc voltage at the port output of between 50 and 57V, and defines a Device higher than 12.95W as Class 4, the power level of PD can be extended to 25.5W. On the basis, a part of chip terminals are designed to be higher, for example, MAX5980 supports a proprietary Class5 grade, and can output 60W of electric power.
In order to meet the increasing power supply requirements, IEEE has promulgated the IEEE802.3bt standard again. Four new high power PD classes (classes) were introduced to bring the total number of transmission power protocols to 9. Class 5-8 is new to the PoE (Power Over Ethernet) standard, converting electrical Power to PD Power levels of 40.0W-71W.
The existing remote power supply system on the market mainly comprises a power supply device PSE and a powered device, the existing powered device has the power supply standards of the above four protocols, but the existing power supply device on the market is not compatible with the power supply standards of all the protocols, so that a problem exists that a powered device cannot be compatible with the powered devices of all the protocols, for example, some devices support ieee802.3af/at and private 60WPDHi-PoE power, but do not support newly proposed ieee802.3bt, and a few devices only support newly proposed ieee802.3 bt.
Disclosure of Invention
The invention provides a switch device and a compatible power supply method, which are used for solving the problems that newly-introduced IEEE802.3bt can be forward compatible with 802.3at and 802.3af, but cannot be compatible with the existing private Hi-PoE standard on the market, and old devices with high power consumption face to be retired.
A first aspect of the present invention provides a switch device, including a first power supply module, a second power supply module, an interface module, and a control module, wherein:
the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, wherein the first power supply module supports a first power supply protocol, the second power supply module supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported electric power grades are not completely compatible;
the first power supply module feeds back the electric power level of the powered device to the control module when detecting that the powered device is connected through an interface module;
the control module controls a first power supply module or a second power supply module supporting access to the power receiving apparatus to supply power to the power receiving apparatus according to the power class of the power receiving apparatus.
Alternatively, the control module may control the first power supply module to supply power to the powered device when determining that the power level of the powered device is greater than a highest power level supported by a second power supply protocol, and control the second power supply module to supply power to the powered device when the power level is not greater than the highest power level supported by the second power supply protocol.
Optionally, the apparatus further comprises:
and the switch module is used for controlling the first power supply module to supply power to the powered device through switching on the control module and the first power supply module or controlling the second power supply module to supply power to the powered device through switching on the control module and the second power supply module.
Optionally, the control module is further configured to send a first control signal to the first power supply module, to control the first power supply module to supply power to the powered device, or send a second control signal to the second power supply module, to control the second power supply module to supply power to the powered device.
Optionally, the control module is further configured to control the first power supply module to apply a detection voltage to the powered device;
the control module controls the first power supply module to apply a detected electric power level voltage to the powered device when receiving an indication of a feedback current meeting a power supply standard, the first power supply module feeding back an electric power level of the powered device to the control module.
Optionally, the control module is further configured to determine that the powered device does not meet the power supply standard, and not control the first power supply module and the second power supply module to supply power to the powered device.
Optionally, the second power protocol is a standard compatible with the ieee802.3at standard, the ieee802.3af standard, and a proprietary power protocol.
A second aspect of the present invention provides a switch apparatus, the apparatus including a first power supply module, a second power supply module, an interface module, and a control module, wherein:
the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, wherein the first power supply module and the second power supply module both support a second power supply protocol;
the control module controls the first power supply module and the second power supply module to apply detection voltage to the powered device through the interface module respectively;
if first power module, second power module all to when control module sends the instruction of receiving the feedback current that accords with the power supply standard, control module confirms that the powered device supports first power supply protocol, control first power module with the power supply module of second is in the same direction the powered device supplies power, if only when first power module or second power module send the instruction of receiving the feedback current that accords with the power supply standard to control module, control module confirms that the powered device supports the second power supply protocol, control first power module or second power module to the powered device supplies power, first power supply protocol version is higher than the second power supply protocol, and the electric power grade that supports is incompletely compatible.
Optionally, when the first power supply module and the second power supply module do not send an indication that the feedback current meeting the power supply standard is received to the control module, it is determined that the powered device does not meet the power supply standard, and the first power supply module and the second power supply module are not controlled to supply power to the powered device.
Optionally, the first power supply protocol is an ieee802.3bt standard, and the second power supply protocol is a standard compatible with the ieee802.3at standard, the ieee802.3af standard, and a private power supply protocol.
A third aspect of the present invention provides a compatible power supply method, where the method is applied to a switch device, and the method includes:
receiving the electric power level of the connected powered device detected by the first power supply device power supply module through the interface module;
according to the electric power grade of the powered device, a first power supply module or a second power supply module which supports access to the powered device is controlled to supply power to the powered device, wherein the first power supply module and the second power supply module are respectively connected with the powered device through an interface module, the first power supply module supports a first power supply protocol, the second power supply module supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported electric power grades are not completely compatible.
A fourth aspect of the present invention provides a compatible power supply method, where the method is applied to a switch device, and the method includes:
controlling the first power supply module and the second power supply module to apply detection voltages to the powered device through an interface module respectively;
if the indication of the feedback current meeting the power supply standard sent by the first power supply module and the second power supply module is received, the powered device is determined to support a first power supply protocol, the first power supply module and the second power supply module jointly supply power to the powered device, if the indication of the feedback current meeting the power supply standard sent by the first power supply module or the second power supply module is only received, the powered device is determined to support a second power supply protocol, the first power supply module or the second power supply module is controlled to supply power to the powered device, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported power levels are not completely compatible.
A fifth aspect of the present invention provides a computer storage medium storing computer instructions which, when executed by a processor, implement a compatible power supply method as in any one of the third aspects of the present invention, or which, when executed by a processor, implement a compatible power supply method as in any one of the fourth aspects of the present invention.
The switch equipment provided by the invention can be compatible with most of equipment on the market, including future high-power equipment (more than 60W), the released equipment containing a private protocol is prevented from going off the market, and the module switching is realized by software, so that the inconvenience caused by manual operation is avoided, the realization method is simple, and the module switching can be easily realized.
Drawings
FIG. 1 is a schematic diagram of a power supply system;
FIG. 2 is a block diagram of a switch device;
FIG. 3 is a flow chart of the steps of a compatible power supply method;
FIG. 4 is a flowchart of the complete steps of a compatible power supply method;
FIG. 5 is a block schematic diagram of another switch device;
FIG. 6 is a flow chart of steps of another compatible power supply method;
fig. 7 is a flowchart of the complete steps of another compatible power supply method.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, and to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a switch Device, where the switch Device is applied to a power supply system and is located in fig. 1, where the switch Device is mainly located in an access layer, and is capable of outputting full-range power of a power receiving Device, and is compatible with most PD (Powered Device) power receiving devices in the market, and the PD obtains electric energy from a power supply module through a twisted pair, converts the electric energy into a common voltage for the Device itself to use, and can interact with the power supply module according to a power supply standard to support the PD detection, classification, power supply, and other processes.
The power supply module is a power supply equipment PSE, and the power supply module is used for transmitting electric energy to PD equipment needing power transmission through an Ethernet and carrying out power management and statistics. According to the 802.3at and 802.3af standards, the voltage delivered by the voltage source is-48V. The output power may be: 4W, 7W, 15W, 30W, the power supply equipment PSE will make power supply settings and power allocation according to the classification result of the PD.
The adaptation process is completely realized by the switch device without manual intervention, and the power supply system comprises a core layer 101, a convergence layer 102 and an access layer 103.
The core layer 101 mainly functions to realize optimized transmission between networks, and the core layer 101 has a task of improving reliability and performing high-speed transmission, and the control function of the control network is not implemented on the core layer 101. Core layer 101 is the final recipient and the aggregator of all flows, and core layer 101's design and network equipment's hardware requirement is very strict, and core layer 101 need consider redundant design, and it is stronger that there is core layer 101 can make power supply system's expansibility.
The convergence layer 102 is an information convergence point, and is a network device connecting the access layer 103 and the core layer 101, and provides convergence \ transmission \ management \ distribution processing of data for the access layer 103. The convergence layer provides policy-based connectivity for the access layer, such as address merging, protocol filtering, routing service authentication management, and the like. Isolation from the network by network segment division (such as VLAN) can prevent problems of certain network segments from spreading and affecting the core layer. The convergence layer 102 may also provide interconnection between access layer virtual networks, control and limit access of the access layer 103 to the core layer 101, and ensure security and stability of the core layer, and the convergence layer 102 devices generally adopt a manageable three-layer switch or a stackable switch to meet requirements of bandwidth and transmission performance.
The access layer 103 is the most common switch device, and is most widely used by users, especially in general offices, small machine rooms, and business departments with centralized business acceptance, multimedia manufacturing centers, website management centers, and the like. At transmission speed, most modern access switches provide a plurality of ports with 10M/100M/1000M self-adaptive capability, and the access layer 103 is advocated in design to use devices with high performance price ratio. The access layer 103 is the interface of the end user (computer, server, etc.) to the network, providing plug and play features while being easy to use and maintain, the access layer 103 generally referring to the part of the network that is directly connected or accessed to the user. The access layer 103 is connected to a user by using transmission media such as optical fiber, twisted pair, coaxial cable, and wireless access technology, and performs service and bandwidth allocation. The purpose of the access stratum 103 is to allow end users to connect to the network, so the access stratum 103 switch has low cost and high port density characteristics.
The switch device in the access layer 103 is used for connecting the powered device, the powered device may be a video monitoring device, an HD camera, a NET industrial camera, or the like, and the data signal received by the powered device is a video data signal and supplies power to the powered device through the switch device.
In 2003, the IEEE802.3af standard was the power detection and control specification in the power supply system that was first approved by the IEEE. The direct current voltage output by the port is regulated to be between 44 and 57V, and the power supply device provides electric power requests of four Class grades (Class 0 to Class 3) of 3.84 to 12.95W for the power receiving device.
In 2009, IEEE introduced a new specification IEEE802.3at, which stipulates that the dc voltage output from the port is between 50 and 57V, and defines a device higher than 12.95W as Class 4, and the power level of the powered device can be extended to 25.5W. On the basis, some chip manufacturers make higher designs for this, for example, MAX5980 supports proprietary Class5, and can output to 60W.
In 2018, in order to meet the increasing power supply demand, the IEEE802.3bt standard is published by the IEEE. Four new high power PD classification (Class) were introduced to bring the total number of single feature classes to 9. Classes 5-8 are new to the PoE standard and translate to PD power levels of 40.0W to 71W. The IEEE802.3af/IEEE802.3at/IEEE802.3bt is an international extension protocol standard of Ethernet Power supply technology, POE (Power On Ethernet) is a technology for transmitting electric energy by utilizing Ethernet twisted-pair wires, the twisted-pair wires are main transmission media of a local area network and are used as extensions of local area network equipment, and the POE equipment can liberate equipment Power supply of a Power receiving end On the basis of original main hardware. The POE power management system is mainly applied to IP phones, wireless access points, PDA charging stations and the like, the devices do not need extra AC wiring and external power adapters, and can normally work by utilizing 13W (IEEE802.3af) or 30W (IEEE802.3at) power provided by POE.
Example one
An embodiment of the present invention provides a switch device, which is applied to a power supply system, and as shown in fig. 2, the switch device includes a first power supply module 201, a second power supply module 202, an interface module 203, and a control module 204.
The first power supply module 201 and the second power supply module 202 are respectively connected with a powered device through an interface module 203, wherein the first power supply module 201 supports a first power supply protocol, the second power supply module 202 supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported power levels are not completely compatible;
the IEEE802.3bt standard in the first power supply protocol is compatible with the IEEE802.3at and IEEE802.3af standards in the second power supply protocol, and the IEEE802.3bt standard power supply protocol version is higher than the IEEE802.3at and IEEE802.3af standards, but is not compatible with the standard of the private power supply protocol in the first power supply protocol.
When the first power supply module 201 detects that the power receiving apparatus is connected through the interface module 203, it feeds back the power level of the power receiving apparatus to the control module 204;
specifically, the power level of the power receiving device may be fed back to the control module 204 only when the first power supply module 201 detects that the power receiving device is connected through the interface module 203, or the power level of the power receiving device may be fed back to the control module 204 only when the second power supply module 202 detects that the power receiving device is connected through the interface module 203, both power supply modules support the access detection current, but the following embodiment selects the first power supply module 201 capable of detecting a larger range of power levels to detect the power level corresponding to the power receiving device.
The control module 204 controls the first power supply module 201 or the second power supply module 202 supporting the access to the power receiving apparatus according to the power class of the power receiving apparatus, and supplies power to the power receiving apparatus.
Wherein interface module 203 is standard interface RJ45 in this embodiment, and RJ45 is one kind of information socket connector in the power supply system, and the connector comprises plug (joint, quartzy head) and socket (module), and the plug has 8 recesses and 8 contacts, and the interface module that provides in this application is not limited to foretell type, and other can connect the connector that receives the electricity, all can regard as interface module to use, and it is no longer repeated here.
The first Power supply module 201 or the second Power supply module 202 may specifically be a PSE (Power Sourcing Equipment), or a PSE switch, or an NVR (Network Video Recorder) with a PSE function, where the first Power supply module 201 or the second Power supply module 202 is configured to provide Power to a powered device, control the first Power supply module to supply Power to the powered device when the control module 204 determines that an electric Power level of the powered device is greater than a highest Power level supported by a second Power supply protocol, and control the second Power supply module to supply Power to the powered device when the electric Power level is not greater than the highest Power level supported by the second Power supply protocol.
The power class of the powered device may be determined by driving the first power supply module 201 to apply a detection voltage to the powered device by the control module 204, obtaining a characteristic resistance value of the powered device by the first power supply module 201 according to the detection voltage and a feedback current of the powered device, determining whether the powered device is a powered device meeting a power supply standard according to the characteristic resistance value, and detecting whether the powered device meets the power supply standard according to the characteristic resistance value obtained from the detection voltage and the feedback current because there is a resistor inside the powered device.
The manner in which it is determined whether the powered device meets the power supply standard is not limited to the above, and other methods used by those skilled in the art may be implemented as well.
The control module 204 is specifically configured to send a first control signal to a first power supply module, and control the first power supply module to supply power to the powered device, or send a second control signal to a second power supply module, and control the second power supply module to supply power to the powered device.
Specifically, the control module 204 drives the first power supply module 201 to apply the detection voltage to the powered device, the first power supply module 201 obtains a resistance value of the powered device according to the detection voltage and a feedback current of the powered device, and determines whether the powered device is a powered device meeting a power supply standard according to the resistance value, including:
driving a first power supply module to apply a detection voltage of 2.8-10V to the powered device to detect a characteristic resistance value of the powered device so as to determine whether the powered device meets a power supply standard;
determining that the powered device meets a power supply criterion, applying a detected power level voltage to the powered device, determining a power level of the powered device, and feeding back the power level of the powered device to a control module, comprising:
if the powered device is judged to be the powered device meeting the power supply standard, the first power supply module is driven to apply a 15-20V detected electric power level voltage to the powered device to obtain a current value passing through a high-precision resistor in the switch to determine the electric power level of the powered device, and the electric power level of the powered device is fed back to the control module.
When the control module 204 determines that the powered device is a powered device that does not meet the power supply standard, the first power supply module and the second power supply module are not controlled to supply power to the powered device.
As an optional implementation manner, the first power supply protocol supported by the first power supply module is an ieee802.3bt standard, and the second power supply protocol supported by the second power supply module is a standard compatible with the ieee802.3at, the ieee802.3af standard, and a private power supply protocol.
The ieee802.3at standard provides that the output dc voltage of the port is between 50V and 57V, and provides the power request of four Class classes (Class 0-Class 3) of 3.84-12.95W for the powered device, and defines the device higher than 12.95W as Class 4 with a power level of 25.5W, while the private power supply protocol can provide the powered device with the power request of Class5 Class output 60W.
The ieee802.3bt standard introduces four new high power PD classes (classes) providing power requests of 3.84-71W nine Class classes (Class 0-Class 8) for the powered device, wherein classes 5-8 are 40.0W to 71W powered devices receiving power, wherein the ieee802.3bt standard in the first powering protocol is compatible with the ieee802.3at and ieee802.3af standards in the first powering protocol, and the version of the ieee802.3bt standard powering protocol is higher than the ieee802.3at and ieee802.3af standards in the first powering protocol but is not compatible with the proprietary powering protocol standard in the first powering protocol.
Identifying and determining the electric power level of the powered device according to the first power supply module, and feeding back the electric power level to the control module, wherein the control module instructs the first power supply module or the second power supply module to normally supply power to the powered device according to the electric power level;
specifically, a first control signal is sent to the first power supply module to instruct the first power supply module to supply power to the powered device according to the first power supply protocol, or a second control signal is sent to the second power supply module to instruct the second power supply module to supply power to the powered device according to the private power supply protocol.
As an alternative embodiment, the switch device may include multiple power supply modules supporting different power supply protocols, and the control module 204 selects a power supply module in the switch device to supply power to the powered device according to the power level of the powered device fed back by the power supply module.
As an optional implementation manner, the switch device further includes:
the switch module is configured to, under the control of the control module 204, control the first power supply module 201 to supply power to the powered device by switching on the control module 204 and the first power supply module 201, or control the second power supply module 202 to supply power to the powered device by switching on the control module 204 and the second power supply module 202.
Specifically, the control module sends a first control signal or a second control signal to the switch module, and the switch module is controlled by the control module to switch on the control module 204 and the first power supply module 201 according to the first control signal to control the first power supply module 201 to supply power to the powered device, or switch on the control module 204 and the second power supply module 201 according to the second control signal to control the second power supply module 201 to supply power to the powered device.
The switch equipment provided by the embodiment of the invention can be compatible with most of equipment on the market, including future high-power equipment (more than 60W), the released equipment containing the private protocol is prevented from coming off the market, the module switching is realized by software, the inconvenience caused by manual operation is avoided, the realization method is simple, and the module switching can be easily realized.
An embodiment of the present invention provides a compatible power supply method, where the method is applied to a switch device, and as shown in fig. 3:
step S301, receiving the electric power level of the connected powered device detected by the first power supply device power supply module through the interface module;
step S302, according to the electric power level of the powered device, controlling a first power supply module or a second power supply module supporting access to the powered device to supply power to the powered device;
the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, the first power supply module supports a first power supply protocol, the second power supply module supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported power levels are not completely compatible.
Wherein when determining that the electric power level of the powered device is greater than the highest power level supported by the second power supply protocol, controlling the first power supply module to supply power to the powered device;
controlling a second power supply module to supply power to the powered device when the electric power level is not greater than a highest power level supported by a second power supply protocol.
The first power supply protocol supported by the first power supply module is an IEEE802.3bt standard, the second power supply protocol supported by the second power supply module is a standard compatible with an IEEE802.3at standard, an IEEE802.3af standard and a private power supply protocol, the IEEE802.3bt standard in the first power supply protocol is compatible with the IEEE802.3at standard and the IEEE802.3af standard in the second power supply protocol, and the version of the IEEE802.3bt standard power supply protocol is higher than the IEEE802.3at standard and the IEEE802.3af standard.
As an optional implementation manner, the controlling a first power supply module or a second power supply module supporting access to the powered device further includes, when supplying power to the powered device:
specifically, the power level of the powered device may be determined by driving the first power supply module 201 by the control module 204 to apply a detection voltage to the powered device, and receiving a detection current fed back by the powered device by the first power supply module 201 to determine the power level of the powered device and feed back to the control module 204.
The power level is obtained according to the detection voltage and the feedback current, wherein a resistance value can be obtained according to the detection voltage and the feedback current, and whether the powered device is the powered device meeting the power supply standard is determined according to the resistance value.
The manner in which whether the power receiving apparatus is a power receiving apparatus that meets the power supply standard and the power level of the power receiving apparatus are determined is not limited to the above, and other methods used by those skilled in the art may be implemented as well.
Specifically, controlling the first power supply module 201 to apply the detection voltage to the power receiving apparatus and receiving the electric power level of the power receiving apparatus by the control module 204 includes:
determining whether the powered device meets the power supply standard or not in a manner that the first power supply module is driven to apply a detection voltage of 2.8-10V to the powered device to detect a characteristic resistance value of the powered device so as to determine whether the powered device meets the power supply standard or not;
determining an electric power level of the power receiving apparatus based on a resistance value obtained by detecting the voltage and the feedback current, including: if the powered device is judged to be the powered device meeting the power supply standard, the first power supply module is driven to apply 15-20V of detected electric power level voltage to the powered device, a current value passing through a high-precision resistor in the switch is obtained, the electric power level of the powered device is determined, and the electric power level of the powered device is fed back to the control module.
Specifically, a first control signal is sent to the first power supply module to instruct the first power supply module to supply power to the powered device according to the first power supply protocol, or a second control signal is sent to the second power supply module to instruct the second power supply module to supply power to the powered device according to the private power supply protocol.
As an alternative embodiment, the switch device may include a plurality of power supply modules supporting different power supply protocols, and the power supply module in the switch device is selected to supply power to the powered device according to the power level of the powered device fed back by the power supply module.
As an optional implementation manner, the switch device further includes: the switch module is used for controlling the switch module to switch on the control module and the first power supply module and controlling the first power supply module to supply power to the powered device, or switching on the control module and the second power supply module and controlling the second power supply module to supply power to the powered device; or alternatively
The first power supply module is controlled to supply power to the powered device by sending a first control signal to the first power supply module, or a second control signal is sent to the second power supply module to control the second power supply module to supply power to the powered device.
As shown in fig. 4, a complete flow chart of a compatible power supply method is shown:
step S401, the powered device is accessed to the switch device through the interface module;
step S402, the first power supply module applies detection voltage to the powered device to determine whether the powered device meets the power supply standard, if so, step S403 is executed, otherwise, step S404 is executed;
step S403, the first power supply module applies a detection voltage for detecting the power level to the powered device, determines whether the power level of the powered device is greater than a highest power level supported by the second power supply protocol, if so, performs step S405, otherwise, performs step S406;
step S404, not controlling the first power supply module and the second power supply module to supply power to a powered device;
step S405, controlling a first power supply module to supply power to the powered device;
step S406, controlling a second power supply module to supply power to the powered device.
The method provided by the embodiment of the invention can be compatible with most of devices on the market, including future high-power devices (more than 60W), avoids the released Hi-PoE devices from coming off the market, realizes the switching by software, avoids the inconvenience caused by manual operation, has simple realization method and can easily realize module switching.
Example two
An embodiment of the present invention provides another switch device, which is applied to a power supply system, and as shown in fig. 5, the device includes a first power supply module 501, a second power supply module 502, an interface module 503, and a control module 504.
The first power supply module 501 and the second power supply module 502 are respectively connected to a powered device through an interface module 503, and both the first power supply module 501 and the second power supply module 502 support a second power supply protocol;
the first power supply module 501 and the second power supply module 502 apply detection voltages to the powered device through an interface module 503, respectively;
if the first power module 501 and the second power module 502 both send an indication of receiving a feedback current meeting a power supply standard to the control module, the control module determines that the powered device supports a first power supply protocol to control the first power module 501 and the second power module 502 to supply power to the powered device together, if only the first power module 501 or the second power module 502 sends an indication of receiving a feedback current meeting a power supply standard to the control module, the control module determines that the powered device supports a second power supply protocol to control the first power module 501 or the second power module 502 to supply power to the powered device, the first power supply protocol version is higher than the second power supply protocol, and the supported power levels are not completely compatible.
The interface module 503 is a standard interface RJ45 in this embodiment, where the RJ45 is one of information socket connectors in a power supply system, the connector is composed of a plug (a connector, a crystal head) and a socket (a module), and the plug has 8 grooves and 8 contacts.
Wherein first power module 501 and second power module 502 specifically can be the PSE switch, or NVR who takes the PSE function etc. again, and first power module 501 or second power module 502 are used for providing electric power to the powered device, and first power module 501 and second power module 502 all support the second power supply agreement, and its driver chip can be compatible private power supply agreement's IEEE802.3at chips such as MAX 5980.
As an alternative embodiment, when the first power supply module and the second power supply module respectively apply the detection voltage to the powered device through the interface module, and the first power supply module and the second power supply module both receive the feedback current meeting the power supply standard, the powered device is determined to support the first power supply protocol (ieee 802.3 bt), since the powered device has the electric power request of 3.84-71W nine Class (Class 0-Class 8), but the supported private power in the independent first power supply module is not enough to provide more than 60W of power, the electric power Class of the powered device is determined, the first power supply module and the second power supply module are driven to supply power to the powered device together, and the detection voltage of the detection electric power Class is applied to the powered device by the first power supply module or the second power supply module, so as to determine the electric power Class of the powered device, the control module indicates the determined electric power Class output by the first power supply module and the second power supply module to the first power supply module and the second power supply module according to the electric power Class of the powered device, the control module may allocate the determined electric power Class output to the first power Class and the second power output by the power supply module according to the detection voltage of the first power Class, and the second power supply module may allocate the electric power request to the first power supply module, for example, and the second power supply module may allocate the electric power request to the first power supply module according to the second power allocation, and the second power allocation.
As an optional implementation manner, when the first power supply module and the second power supply module apply the detection voltage to the powered device through the interface module respectively, and only the first power supply module or the second power supply module receives the feedback current meeting the power supply standard, it is determined that the powered device supports the second power supply protocol, the first power supply module or the second power supply module applies the detection voltage of the detected power level to the powered device, determines the power level of the powered device, and controls the first power supply module or the second power supply module to supply power to the powered device;
as an optional implementation manner, when the first power supply module and the second power supply module respectively apply the detection voltage to the powered device through the interface module and do not receive the feedback current meeting the power supply standard, it is determined that the powered device does not meet the power supply standard, and power is not supplied to the powered device.
The above-described manner of determining whether the power supply standard is met and determining the power level of the power receiving device according to the applied detection voltage is based on the same concept as the manner described in the first embodiment, and is not described again here.
The switch equipment provided by the embodiment of the invention can be compatible with most of equipment on the market, including future high-power equipment (more than 60W), the released equipment containing a private protocol is prevented from going off the market, the switching among modules is realized by software, the inconvenience caused by manual operation is avoided, the realization method is simple, and the module switching can be easily realized.
An embodiment of the present invention provides another compatible power supply method, where the method is applied to a switch device, and as shown in fig. 6:
step S601, controlling the first power supply module and the second power supply module to apply detection voltages to the powered device through the interface module, respectively;
the powered device is connected to the switch device through the interface module, and whether the powered device meets the power supply standard or not is determined according to the feedback current received by the first power supply module and the second power supply module;
when the first power supply module and the second power supply module both receive feedback currents meeting the power supply standard, determining that the powered device supports a first power supply protocol;
determining that the powered device supports a second power supply protocol when only the first power supply module receives the feedback current meeting the power supply standard;
when the first power supply module and the second power supply module do not receive the feedback current meeting the power supply standard, determining that the powered device does not meet the power supply standard, and not supplying power to the powered device.
Step S602, if an indication of a feedback current meeting a power supply standard sent by the first power supply module and the second power supply module is received, determining that the powered device supports a first power supply protocol, and controlling the first power supply module and the second power supply module to supply power to the powered device together, and if only an indication of a feedback current meeting a power supply standard sent by the first power supply module or the second power supply module to the control module is received, determining that the powered device supports a second power supply protocol, and controlling the first power supply module or the second power supply module to supply power to the powered device, where the first power supply protocol is higher in version than the second power supply protocol, and the supported power levels are not completely compatible;
when the powered device is determined to support the first power supply protocol, the first power supply module or the second power supply module is controlled to apply detection voltage for detecting the electric power level to the powered device so as to determine the electric power level of the powered device, the control module indicates the determined electric power level output by the first power supply module and the second power supply module to the first power supply module and the second power supply module according to the electric power level of the powered device, and the first power supply module and the second power supply module are controlled to supply power to the powered device together.
When the powered device is determined to support the second power supply protocol, applying a detection voltage for detecting the electric power level to the powered device by the first power supply module or the second power supply module, determining the electric power level of the powered device, and when only the first power supply module receives an indication of a feedback current meeting a power supply standard, judging that the powered device supports the second power supply protocol, and supplying power to the powered device by the first power supply module in a data line power supply mode; and when only the second power supply module receives the indication of the feedback current meeting the power supply standard, the second power supply module supplies power to the powered device in an idle line power supply mode, and the second power supply module supplies power to the powered device.
FIG. 7 is a complete flow chart of another compatible power supply method;
step S701, the powered device is accessed to the switch device through the interface module;
step S702, the first power supply module and the second power supply module respectively apply detection voltages to the powered device through the interface module, determine whether an indication of feedback currents meeting the power supply standard fed back by the first power supply module and the second power supply module is received, if neither the first power supply module nor the second power supply module receives the indication of feedback currents meeting the power supply standard, execute step S703, if both the first power supply module and the second power supply module receive the indication of feedback currents meeting the power supply standard, execute step S704, if only the first power supply module receives the indication of feedback currents meeting the power supply standard, execute step S705, and if only the second power supply module receives the indication of feedback currents meeting the power supply standard, execute step S706;
step S703, judging that the powered device does not meet the power supply standard, and not supplying power to the powered device;
step S704, judging that the powered device supports a first power supply protocol, detecting the power level of the powered device by the first power supply module and the second power supply module, and supplying power to the powered device according to the power level;
step S705, judging that the powered device supports a second power supply protocol, supplying power to the powered device in a data line power supply mode, detecting the power level of the powered device by the first power supply module, and supplying power to the powered device by the first power supply module according to the power level;
in the data line power supply mode, four or eight twisted pairs are used in the actual lan. Two of these pairs are used in a hundred mega ethernet and the other two pairs are idle and unused. Due to the requirement of 802.3, an isolation resistor of more than 2M ohms is required between the ethernet interface and the internal PHY, so that most ethernet devices use an isolation transformer at the ethernet interface to isolate the primary from the secondary. Two pairs of inquiry signals used for transmitting signals in a hundred-mega Ethernet have two center taps in an isolation transformer, the two center taps are terminated by using a Bob Smith circuit in a common Ethernet, and in a POE system, PSE equipment can enable common-mode voltages on differential lines of the two pairs of transmission signals to be 0V and-48V respectively by adding 0V and-48V voltages to the two center taps. At the PD device side, the powered device also takes 0V and-48V voltages via the center tap of the ethernet transformer, and then performs the corresponding power conversion for its use. This is the power mode of the signal line in the POE system.
Step S706, determining that the powered device supports the second power supply protocol, supplying power to the powered device in an idle line power supply manner, performing power level detection on the powered device by the second power supply module, and supplying power to the powered device by the second power supply module according to the power level.
In the idle line power supply system, the other two differential lines, which do not transmit the ethernet signal, are used to transmit power of 0V and-48V.
EXAMPLE III
The embodiment of the present invention provides a computer storage medium, where a computer instruction is stored, and when the computer instruction is executed by a processor, the compatible power supply method provided in the first embodiment is implemented, or when the computer instruction is executed by the processor, the compatible power supply method provided in the second embodiment is implemented.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (11)

1. A switch device, the device comprising a first power module, a second power module, an interface module, and a control module, wherein:
the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, wherein the first power supply module supports a first power supply protocol, the second power supply module supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported electric power grades are not completely compatible;
the control module controls the first power supply module to apply a detection voltage to the powered device;
the control module controls the first power supply module to apply a detected electric power class voltage to the powered device upon receiving an indication of a feedback current meeting a power supply standard, the first power supply module feeding back an electric power class of the powered device to the control module;
the control module controls a first power supply module or a second power supply module supporting access to the power receiving apparatus to supply power to the power receiving apparatus according to the power class of the power receiving apparatus.
2. The device of claim 1, wherein the control module controls the first power module to provide power to the powered device when the control module determines that the power level of the powered device is greater than a highest power level supported by a second power protocol, and controls the second power module to provide power to the powered device when the power level is not greater than the highest power level supported by the second power protocol.
3. The apparatus of claim 1, further comprising:
and the switch module is used for controlling the first power supply module to supply power to the powered device through switching on the control module and the first power supply module or controlling the second power supply module to supply power to the powered device through switching on the control module and the second power supply module.
4. The apparatus of claim 1,
the control module is further configured to send a first control signal to the first power supply module, control the first power supply module to supply power to the powered device, or send a second control signal to the second power supply module, control the second power supply module to supply power to the powered device.
5. The device of claim 4, wherein determining that the powered device is not compliant with the power supply criteria does not control the first and second power modules to supply power to the powered device.
6. A switch device, the device comprising a first power module, a second power module, an interface module, and a control module, wherein:
the first power supply module and the second power supply module are respectively connected with a powered device through an interface module, wherein the first power supply module and the second power supply module both support a second power supply protocol;
the control module controls the first power supply module and the second power supply module to apply detection voltage to the powered device through the interface module respectively;
if first power module, second power module all to when control module sends the instruction of receiving the feedback current that accords with the power supply standard, control module confirms that the powered device supports first power supply protocol, control first power module with the power supply module of second is in the same direction the powered device supplies power, if only when first power module or second power module send the instruction of receiving the feedback current that accords with the power supply standard to control module, control module confirms that the powered device supports the second power supply protocol, control first power module or second power module to the powered device supplies power, first power supply protocol version is higher than the second power supply protocol, and the electric power grade that supports is incompletely compatible.
7. The device of claim 6, wherein when neither the first power module nor the second power module sends the control module an indication that the feedback current meeting the power supply standard is received, the powered device is determined not to meet the power supply standard, and the first power module and the second power module are not controlled to supply power to the powered device.
8. The device of claim 1 or 6, wherein the first powering protocol is an ieee802.3bt standard, and wherein the second powering protocol is a standard compatible with the ieee802.3at standard, the ieee802.3af standard, and a proprietary powering protocol.
9. A compatible power supply method is applied to a switch device, and comprises the following steps:
controlling a first power supply module to apply a detection voltage to a powered device;
controlling the first power supply module to apply a detected power level voltage to the powered device upon receiving an indication of a feedback current meeting a power supply criterion, and feeding back a power level of the powered device to a control module by the first power supply module;
according to the electric power level of the powered device, a first power supply module or a second power supply module which supports access to the powered device is controlled to supply power to the powered device, wherein the first power supply module and the second power supply module are respectively connected with the powered device through an interface module, the first power supply module supports a first power supply protocol, the second power supply module supports a second power supply protocol, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported electric power levels are not completely compatible.
10. A compatible power supply method applied to a switch device, the method comprising:
controlling a first power supply module and a second power supply module to apply detection voltage to a powered device through an interface module respectively, wherein the first power supply module and the second power supply module both support a second power supply protocol;
if the indication of the feedback current meeting the power supply standard sent by the first power supply module and the second power supply module is received, the powered device is determined to support a first power supply protocol, the first power supply module and the second power supply module jointly supply power to the powered device, if the indication of the feedback current meeting the power supply standard sent by the first power supply module or the second power supply module is only received, the powered device is determined to support a second power supply protocol, the first power supply module or the second power supply module is controlled to supply power to the powered device, the version of the first power supply protocol is higher than that of the second power supply protocol, and the supported power levels are not completely compatible.
11. A computer storage medium storing computer instructions which, when executed by a processor, implement a compatible power supply method as claimed in claim 9, or implement a compatible power supply method as claimed in claim 10.
CN202010921530.5A 2020-09-04 2020-09-04 Switch equipment and compatible power supply method Active CN112202570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010921530.5A CN112202570B (en) 2020-09-04 2020-09-04 Switch equipment and compatible power supply method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010921530.5A CN112202570B (en) 2020-09-04 2020-09-04 Switch equipment and compatible power supply method

Publications (2)

Publication Number Publication Date
CN112202570A CN112202570A (en) 2021-01-08
CN112202570B true CN112202570B (en) 2023-04-07

Family

ID=74005334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010921530.5A Active CN112202570B (en) 2020-09-04 2020-09-04 Switch equipment and compatible power supply method

Country Status (1)

Country Link
CN (1) CN112202570B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007054930A1 (en) * 2005-11-10 2007-05-18 Powerdsine, Ltd. Enhanced classification for power over ethernet
CN103546300B (en) * 2012-07-16 2018-08-03 南京中兴新软件有限责任公司 A kind of Power over Ethernet method and apparatus
CN106330468B (en) * 2016-08-23 2019-08-20 锐捷网络股份有限公司 A kind of Power over Ethernet device and Power over Ethernet method
CN106330467A (en) * 2016-08-23 2017-01-11 锐捷网络股份有限公司 Ethernet power supply method, power supply device and power supply equipment
CN110113174B (en) * 2019-03-28 2021-06-25 普联技术有限公司 Ethernet power supply equipment
CN110752935B (en) * 2019-10-30 2021-10-15 南方电网科学研究院有限责任公司 POE self-adaptive power supply system, method and device
CN210351199U (en) * 2019-10-30 2020-04-17 南方电网科学研究院有限责任公司 POE self-adaptive power supply device
CN111147266A (en) * 2020-01-13 2020-05-12 广东优力普物联科技有限公司 POE switch

Also Published As

Publication number Publication date
CN112202570A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
US7603570B2 (en) Power delivery over ethernet cables
EP1813056B1 (en) Common-mode data transmission for power over ethernet system
KR101196024B1 (en) Supplying power over four pairs of conductors in communication cable
US7974305B2 (en) Inband management for power over ethernet midspans using an embedded switch
US7706392B2 (en) Dynamic power management in a power over ethernet system
US7966502B2 (en) System and method for enabling power over ethernet for legacy devices
US8279883B2 (en) High speed isolation interface for PoE
US9184922B2 (en) Power-over-ethernet relay system, power injector and access bridge device
US20110026525A1 (en) Ethernet Switch and System
EP1981208B1 (en) Poe communication bus, interface, and protocol between poe subsystem and phy or switch subsystems
US20070278857A1 (en) Mid-Link Powered Device for Power over Ethernet
US20140129853A1 (en) Advertising power over ethernet (POE) capabilities among nodes in a POE system using type-length-value (TLV) structures
US20210247832A1 (en) Intermediary device for extracting power supplied over a data connection
US8185764B2 (en) Techniques for ensuring power delivery over only data-active pairs of data communications cabling
CN106330468A (en) Ethernet power supply device and Ethernet power supply method
CN107360005B (en) Power receiving end equipment and power receiving method
CN112202570B (en) Switch equipment and compatible power supply method
Eisen Introduction to PoE and the IEEE802. 3af and 802.3 at Standards
CN212380971U (en) PoE power supply system
CN115801478A (en) POE controller, switch and power supply method

Legal Events

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