CN110798324A - Ethernet power supply method, system, power supply end equipment and readable storage medium - Google Patents

Ethernet power supply method, system, power supply end equipment and readable storage medium Download PDF

Info

Publication number
CN110798324A
CN110798324A CN201910886890.3A CN201910886890A CN110798324A CN 110798324 A CN110798324 A CN 110798324A CN 201910886890 A CN201910886890 A CN 201910886890A CN 110798324 A CN110798324 A CN 110798324A
Authority
CN
China
Prior art keywords
port
power
powered device
power supply
network interface
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.)
Granted
Application number
CN201910886890.3A
Other languages
Chinese (zh)
Other versions
CN110798324B (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 CN201910886890.3A priority Critical patent/CN110798324B/en
Publication of CN110798324A publication Critical patent/CN110798324A/en
Application granted granted Critical
Publication of CN110798324B publication Critical patent/CN110798324B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a power over Ethernet method, a system, a power supply end device and a readable storage medium, wherein the power over Ethernet method comprises the following steps: at the first time, controlling the second port of the network interface to be in a turn-off state, and controlling the first port of the network interface to detect the powered device; at a second time, controlling the first port of the network interface to be in a turn-off state, and controlling the second port of the network interface to detect the powered device; and if the first port and the second port both detect that the powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device. According to the Ethernet power supply method, the network interface is designed into the two power supply port detection mechanisms, so that the two power supply ports can supply power to one powered device, and higher output power is achieved.

Description

Ethernet power supply method, system, power supply end equipment and readable storage medium
Technical Field
The present invention relates to the field of power supply technologies, and in particular, to a method and a system for power over ethernet, a power supply device, and a readable storage medium.
Background
The Power Over Ethernet (POE) technology is a technology for providing dc Power to some network terminal devices through a network cable based on the existing ethernet wiring infrastructure. In the power over ethernet technology, the network cable has both functions of transmitting data signals and supplying power with dc. The technology ensures that the terminal equipment does not need to depend on an external power adapter for power supply, thereby saving a power adapter, a power supply cable and a plug and saving wiring and hardware cost. Power over ethernet has been widely used in the fields of VoIP telephony, wireless AP, video surveillance, etc.
A conventional PSE (Power Sourcing Equipment) is connected to obtain Power by connecting a single port to a single PD (Powered Device/terminal), and the maximum Power supported by each port is 30W. The protocol limited to ieee802.3af/at provides that the power supply of the PSE at the power supply end of the device cannot exceed 30W, so that the maximum power actually used by the PD can only be used up to about 25W. For some high-power devices, such as personal computers, high-power high-definition video monitoring systems and other devices, the power of the devices cannot guarantee the normal operation of the devices.
Conventionally, the power receiving side is redundantly designed by a powered device controller having a shared connection interface configured to synchronize a first powered device controller and a second powered device controller to deliver power to a load at least substantially simultaneously and two horizontal inrush current limits. Because of the IEEE802.3af/at standard description: the IEEE802.af defines two power supply modes of Alternative A (1,2,3,6 signal lines) and Alternative B (4,5,7,8 idle lines), and only one power supply end needs to be satisfied. The prior art solution cannot be implemented when the power supply device supports only one power supply mode.
Disclosure of Invention
The application provides an Ethernet power supply method, a power supply circuit, computer equipment and a readable storage medium, which can realize high-power supply and have stronger compatibility.
A power over Ethernet method is applied to a power over Ethernet system, the power over Ethernet system comprises a power supply device and a network interface, a first output port of the power supply device is connected with a first port of the network interface to form a first power supply path, and a second output port of the power supply device is connected with a second port of the network interface to form a second power supply path; the method comprises the following steps:
at the first time, controlling a second port of a network interface to be in a turn-off state, and controlling a first port of the network interface to detect a powered device;
at a second time, controlling a first port of a network interface to be in a turn-off state, and controlling a second port of the network interface to detect a powered device;
and if the first port and the second port both detect that a powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device.
In an embodiment, the controlling the first port of the network interface to perform powered device detection to detect whether a powered device is accessed to the first port includes:
performing preset times of detection of the powered device on the first port;
and if the powered device is not detected to be accessed within the preset times, determining that the first port is not accessed by the powered device.
In an embodiment, the method further comprises:
if the first port is not accessed by the powered device, and the second port detects that the powered device is accessed, controlling a second output port of the power supply device to supply power to the powered device;
and if the second port is not accessed by the powered device, the first port detects that the powered device is accessed, and then the first output port of the power supply device is controlled to supply power to the powered device.
In an embodiment, the performing powered device detection comprises:
outputting a detection voltage and receiving a feedback current;
obtaining a resistance value according to the detection voltage and the feedback current;
and determining whether the network interface has power equipment access according to the resistance value.
In an embodiment, the method further comprises:
when the power supply equipment supplies power to the powered equipment, the output power values of the first output port and the second output port are determined according to the power value required by the accessed powered equipment.
In an embodiment, the determining the output power values of the first output port and the second output port according to the power value required by the powered device includes:
acquiring grade information of the powered device;
and determining a power value required by the power receiving equipment according to the grade information, and controlling the first output port and the second output port of the power supply equipment to simultaneously output matched power to the power receiving equipment.
In an embodiment, before controlling the first port of the network interface to perform powered device detection to detect whether a powered device is accessed to the first port, the method further includes:
reading a value of a bit signal register of a PSE chip in the power supply equipment, and determining whether the power supply equipment is qualified or not according to the value of the bit signal register;
if the PSE chip is qualified, configuring the PSE chip into a manual mode;
and if the PSE chip is unqualified, replacing the PSE chip.
A power over Ethernet system comprises a power supply device and a power receiving terminal, wherein the power supply device is connected with the power receiving terminal device through a network interface, and the power supply device comprises a controller and a PSE control circuit;
the controller is connected with the PSE control circuit and used for controlling the power supply state of the PSE control circuit;
the PSE control circuit comprises a first output port and a second output port, wherein the first output port and the second output port are respectively used for outputting a first voltage and a second voltage;
the network interface comprises a first port and a second port, wherein the first port is connected with the first output port and is used for receiving the first voltage; the second port is connected with the second output port and used for receiving the second voltage;
the powered device end comprises a first rectifier bridge, a second rectifier bridge and a powered device; the first port is connected with the powered device through the first rectifier bridge, and the second port is connected with the powered device through the second rectifier bridge, so that the first voltage and the second voltage are synchronously output to the powered device.
A power supply end device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the power over ethernet method and system, the power supply end device and the readable storage medium provided by the embodiment of the application, the power over ethernet system comprises the power supply device and the network interface, the first output port of the power supply device is connected with the first port of the network interface to form a first power supply path, and the second output port of the power supply device is connected with the second port of the network interface to form a second power supply path. The Ethernet power supply method comprises the steps that at the first time, the second port of a network interface is controlled to be in a turn-off state, and the first port of the network interface is controlled to carry out powered device detection; at a second time, controlling a first port of a network interface to be in a turn-off state, and controlling a second port of the network interface to detect a powered device; and if the first port and the second port both detect that a powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device. According to the Ethernet power supply method, the network interface is designed into the two power supply port detection mechanisms, so that the two power supply ports can supply power to one powered device, and higher output power is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram of a method for providing power over Ethernet according to an embodiment;
fig. 2 is a flowchart of a power over ethernet method according to another embodiment;
fig. 3 is a schematic structural diagram of a power supply device in a power over ethernet system according to an embodiment;
fig. 4 is a schematic structural diagram of a power receiving end in a power over ethernet system according to an embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and in the accompanying drawings, preferred embodiments of the present application are set forth. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. This application is capable of embodiments in many different forms than those described herein and those skilled in the art will be able to make similar modifications without departing from the spirit of the application and it is therefore not intended to be limited to the specific embodiments disclosed below.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. In the description of the present application, "a number" means at least one, such as one, two, etc., unless specifically limited otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Fig. 1 is a flowchart of a power over ethernet method according to an embodiment, where the power over ethernet method is applied to a power over ethernet system, where the power over ethernet system includes a power sourcing equipment and a network interface, a first output port of the power sourcing equipment is connected to a first port of the network interface to form a first power supply path, a second output port of the power sourcing equipment is connected to a second port of the network interface to form a second power supply path, as shown in fig. 1, and the power over ethernet method includes steps 110 and 120, where:
step 110, at a first time, controlling a second port of a network interface to be in a shutdown state, and controlling a first port of the network interface to perform powered device detection.
The first port of the network interface is controlled to detect the powered device, so that before the powered device is detected to be accessed to the first port, the value of the bit signal register of the PSE chip in the power supply device can be read, and whether the power supply device is qualified or not is determined according to the value of the bit signal register, so that the abnormal PSE chip is eliminated. The identity information of the PSE chip is stored in the bit signal register, if the identity information of the PSE chip stored in the bit signal register meets a preset standard, the PSE chip is considered to be qualified, and the PSE chip is configured into a manual mode. At present, almost all manufacturers of PSE chips have the following three modes for realizing the whole working process of the PSE chip: automatic mode, semi-automatic mode and manual mode.
Specifically, the automatic mode is: the PSE chip automatically completes the detection, classification and power-on processes without the need of a control system such as a Central Processing Unit (CPU) or a Micro Control Unit (MCU) of the system for control. That is, after the detection and classification steps are completed, the PSE chip automatically supplies power to the legitimate PD, which is defined as follows: features defined by the IEEE802.3 standard: a. the DC impedance is between 19K and 26.5 Kohm; b. the capacity value does not exceed 150 nF.
The semi-automatic mode is: the PSE chip automatically completes the detection and classification steps, and the power-on step is controlled by a control system such as a CPU or an MCU through an instruction; that is, after the detection and classification steps are completed, the PSE chip is controlled to supply power to the legitimate PD by instructions under the control system.
The manual mode is: the whole process of the PSE chip is controlled by a control system such as a CPU or an MCU through instructions, and each step needs the intervention of the control system; that is to say, the control system firstly controls the PSE chip to start the detection function through an instruction; after the detection is finished, the control system starts the classification function of the PSE chip; after the classification function is finished, the control system sends an instruction to control the PSE chip to supply power to the legal PD.
If the identity information of the PSE chip stored in the bit signal register does not accord with the preset standard, the PSE chip is considered to be unqualified, and the PSE chip is replaced to meet the subsequent power supply requirement.
And controlling a first port of the network interface to perform PD detection on the power receiving end equipment so as to detect whether the PD is accessed to the first port. Specifically, the power supply apparatus outputs a detection voltage and receives a feedback current. And obtaining a resistance value according to the detection voltage and the feedback current, and determining whether the powered device is accessed to the network interface according to the resistance value. If the resistance value received by the PSE chip meets the preset condition, the network interface is considered to be accessed into the PD at the moment. Because there is a resistor inside the PD, if the network interface accesses the PD, the feedback current received by the PSE chip is smaller than the feedback current when the PD is not accessed, and therefore, whether the network interface accesses the PD can be detected according to the resistance value obtained by detecting the voltage and the feedback current.
And step 120, at the second time, controlling the first port of the network interface to be in a shutdown state, and controlling the second port of the network interface to perform powered device detection.
The first port and the second port are both ports of a network interface, and the specific process of controlling the second port to perform detection on the powered device may refer to the description of controlling the first port to perform detection on the powered device, which is not described herein again.
It should be noted that, the first port and the second port perform powered device detection in a time-sharing manner, that is, when the first port is controlled to perform powered device detection, the second port does not perform detection; and when the second port is controlled to detect the powered device, the first port does not detect.
Step 130, if the first port and the second port both detect that a powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device.
In the power over ethernet method, the system, the power supply end device, and the readable storage medium provided in this embodiment, the power over ethernet system includes a power supply device and a network interface, a first output port of the power supply device is connected to a first port of the network interface to form a first power supply path, and a second output port of the power supply device is connected to a second port of the network interface to form a second power supply path. The Ethernet power supply method comprises the steps of controlling a first port of a network interface to detect powered equipment so as to detect whether the powered equipment is accessed to the first port; and if the first port detects that the powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device. According to the Ethernet power supply method, the network interface is designed into the two paths of power supply port detection mechanisms, so that the two paths of power supply ports can supply power to one path of PD equipment, and higher output power is achieved.
In an embodiment, after the PSE configuration is completed, whether the power supply device supplies power to the outside may be detected again. Specifically, whether the power supply equipment supplies power to the outside can be detected by reading the value of a register in the PSE chip through the interface of the controller I2C. And if the power supply equipment is detected to supply power to the power receiving equipment, determining the output power values of the first port and the second port according to the power value required by the accessed power receiving equipment.
For the power over ethernet system, when the power supply device supplies power to the powered device, the PSE needs to first identify the PD to determine the class information, i.e., the power class, of the PD and supply power according to the power class of the PD. The method for identifying the PD class information may be to apply a certain voltage signal to the PD, and have an identification resistor inside the PD (different power PDs, different identification resistors are used), where the identification resistor absorbs current when a certain identification voltage is applied, and the PSE identifies the PDs with different power classes by measuring the output current after the identification voltage is applied, and outputs the matched power according to the power classes of the PDs.
In an embodiment, if the first port is not accessed by a powered device, and the second port detects that a powered device is accessed, the second output port of the power supply device is controlled to supply power to the powered device; and if the second port is not accessed by the powered device, the first port detects that the powered device is accessed, and then the first output port of the power supply device is controlled to supply power to the powered device.
When the first port does not detect the access of the powered device, and the second port detects the access of the powered device, it indicates that the circuit device in the first power supply path is abnormal or the network cable is loose, so that the first port cannot work normally. At this time, the power receiving device is detected by controlling the second port, and when the second port detects that the power receiving device is accessed, the second output port of the power supply device is controlled to supply power to the power receiving device.
When the second port does not detect the access of the powered device, and the first port detects the access of the powered device, it indicates that the circuit device in the second power supply path is abnormal or the network cable is loose, so that the second port cannot work normally. At this time, the power receiving device is detected by controlling the first port, and when the first port detects that the power receiving device is accessed, the first output port of the power supply device is controlled to supply power to the power receiving device.
In this embodiment, the network interface is designed to be a two-path power supply port detection mechanism, so that when one port of the network interface cannot work normally, the powered device can be detected through the other port, and when the powered device is detected to be accessed, normal power supply to the powered device can be realized.
In an embodiment, the first port is subjected to powered device detection for a preset number of times; and if the powered device is not detected to be accessed within the preset times, determining that the first port is not accessed by the powered device.
As shown in fig. 2, the first port of the network interface is controlled to perform powered device detection to detect whether a powered device is connected to the first port. Specifically, the first port is set to the manual mode to detect the powered device, the second port is controlled to enter the off state, that is, the second port does not detect the powered device, the number of times of detection N is recorded, and the initial state N is set to 0. In this embodiment, the powered device detection may be performed on the first port for a preset number of times. And if the powered device is not detected to be accessed within the preset times, determining that the first port is not accessed by the powered device. The preset number may be 3, 4,5, etc., and in this embodiment, the preset number is set to 3. If the first port detects that the powered device is accessed, whether the PD accessed by the network port is legal or not is further detected, if the legal PD is accessed, grade information accessed to the powered device is obtained, a power value required by the powered device is determined according to the grade information, and the first output port of the power supply device is controlled to supply power to the powered device. If the PD accessed by the network port is detected to be illegal, judging whether the detection frequency is more than 3, if not, continuing to detect the powered device by the first port; and if the detection times are more than 3, controlling the second port of the network interface to detect the powered device so as to detect whether the powered device is accessed into the second port.
And controlling the second port of the network interface to perform powered device detection so as to detect whether the powered device is accessed into the second port. Specifically, the second port is set to the manual mode to detect the powered device, the first port is controlled to enter the off state, that is, the first port does not detect the powered device, the detection number M is recorded, and the initial state M is set to 0. And if the powered device is not detected to be accessed within the preset times, determining that the second port is not accessed by the powered device. In this embodiment, the powered device detection may be performed on the first port for a preset number of times. And if the powered device is not detected to be accessed within the preset times, determining that the second port is not accessed by the powered device. The preset number may be 3, 4,5, etc., and in this embodiment, the preset number is set to 3. If the second port detects that the powered device is accessed, whether the PD accessed by the network port is legal or not is further detected, if the legal PD is accessed, grade information accessed to the powered device is obtained, a power value required by the powered device is determined according to the grade information, and the first output port of the power supply device is controlled to supply power to the powered device. If the PD accessed by the network port is detected to be illegal, judging whether the detection frequency is more than 3, if not, controlling the second port to continue to carry out the detection of the powered device; and if the current is larger than 3, controlling the first port to continue to detect the powered device, namely setting the first port to be in a manual mode to detect the powered device, and controlling the second port to enter a turn-off state.
And if the first port and the second port both detect that a legal PD is accessed, acquiring grade information of the accessed powered device. The power value required by the power receiving apparatus is determined according to the class information, and the first output port and the second output port of the power supply apparatus are controlled to simultaneously output the matched power to the power receiving apparatus.
The powered device detection of the preset times is carried out by controlling the first port, and when the powered device access is not detected in the preset times, the first port is determined to have no powered device access, so that the accuracy of the powered device detection can be improved.
It should be understood that although the steps in the flowcharts of fig. 1 and 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
The present application further provides a power over ethernet system, where the power over ethernet system includes a power supply device and a power receiving end, a schematic diagram of the power supply device is shown in fig. 3, and a schematic diagram of the power receiving end is shown in fig. 4. The power supply device is connected to the power receiving device through a network interface, which is RJ45 in this embodiment. Wherein the power supply device comprises a controller 310 and a PSE control circuit 320, wherein:
the controller 310 is connected to the PSE control circuit 320 for controlling the power state of the PSE control circuit 320. The PSE control circuit 320 includes a first output port and a second output port for outputting a first voltage and a second voltage, respectively. The network interface 330 includes a first port and a second port, the first port is connected to the first output port for receiving a first voltage; the second port is connected to the second output port for receiving a second voltage.
The powered device end 410 includes a first rectifier bridge 411, a second rectifier bridge 412 and a powered device; the first port is connected to the powered device through the first rectifier bridge 411, and the second port is connected to the powered device through the second rectifier bridge 412, so as to synchronously output the first voltage and the second voltage to the powered device.
The first port and the second port enable the Ethernet power supply system to detect the powered device in a time-sharing manner, and when one port detects that a legal PD is accessed, the two ports (the first port and the second port) are powered and output together. The network port can externally output the large power required by the PD terminal of the subsequent stage.
It should be noted that, the first port refers to the 1,2,3,6 line sequence of the network interface 330; the second port refers to the 4,5,7,8 line order of the network interface 330. As shown in fig. 3, the first line sequence and the second line sequence of the network interface 330 are positive electrodes, and are connected to the power interface of the PSE control circuit 320, such as +48V shown in fig. 3; the third and fourth wire sequences are negative poles, i.e. PSE _1, and are connected to the negative pole terminal (PSE _1) corresponding to the PSE control circuit 320. The fourth line sequence and the fifth line sequence of the network interface 330 are positive electrodes, and are connected with the power interface of the PSE control circuit 320, such as +48V shown in fig. 3; the seventh and eighth wire sequences are negative terminals, i.e., PSE _2, and are connected to the negative terminal (PSE _2) corresponding to the PSE control circuit 320. It is understood that the line order of the network interfaces 330 corresponding to the positive and negative poles can be other combinations, and the present application is only an example. The fourth and fifth lines of the network interface 330 are generally set to positive, and the seventh and eighth lines are set to negative.
The standard PSE chip conforms to the IEEE802.3at/af protocol, and the output power of different class grades is realized through open register configuration. For example, the accessed PD is class 4 class, one of the output ports of the PSE can only output 0.6A current, and when the sense pin of the PSE chip detects that the voltage U (I × R) (0.25R) is greater than a certain value of 0.15V, that is, the PSE chip is overcurrent, the gate pin is pulled low, the MOS transistor is turned on, and the PSE _ N pair does not output. According to the Ethernet power supply system provided by the embodiment of the application, each output port of the PSE still can only output 0.6A current, but the sense pin detection voltage U of the PSE chip is 1/2I R, namely, is 1/2 smaller than the standard, so that the external output power is increased to 2 times of the original output power, and the output power of the Ethernet power supply system is increased.
In addition, according to the power over ethernet system provided by the present application, when one of the ports of the PSE control circuit 320 is abnormal or the network cable is loose and cannot work, the other port can still be detected normally and output power to the outside normally. When the accessed PD meets the requirements of the standard protocol, the requirement of high-power output can be realized. The method starts from the IEEE802.af/at standard, optimizes the power supply end, realizes a 2-path power supply port detection mechanism, and ensures stronger technical compatibility.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
at the first time, controlling a second port of a network interface to be in a turn-off state, and controlling a first port of the network interface to detect a powered device;
at a second time, controlling a first port of a network interface to be in a turn-off state, and controlling a second port of the network interface to detect a powered device;
and if the first port and the second port both detect that a powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A power over Ethernet method is applied to a power over Ethernet system, the power over Ethernet system comprises a power supply device and a network interface, a first output port of the power supply device is connected with a first port of the network interface to form a first power supply path, and a second output port of the power supply device is connected with a second port of the network interface to form a second power supply path; the method comprises the following steps:
at the first time, controlling a second port of a network interface to be in a turn-off state, and controlling a first port of the network interface to detect a powered device;
at a second time, controlling a first port of a network interface to be in a turn-off state, and controlling a second port of the network interface to detect a powered device;
and if the first port and the second port both detect that a powered device is connected, controlling the first output port and the second output port of the power supply device to simultaneously supply power to the powered device.
2. The method of claim 1, wherein the controlling the first port of the network interface to perform powered device detection to detect whether a powered device is connected to the first port comprises:
performing preset times of detection of the powered device on the first port;
and if the powered device is not detected to be accessed within the preset times, determining that the first port is not accessed by the powered device.
3. The method according to any one of claims 1 or 2, further comprising:
if the first port is not accessed by the powered device, and the second port detects that the powered device is accessed, controlling a second output port of the power supply device to supply power to the powered device;
and if the second port is not accessed by the powered device, the first port detects that the powered device is accessed, and then the first output port of the power supply device is controlled to supply power to the powered device.
4. The method of claim 1, wherein the performing powered device detection comprises:
outputting a detection voltage and receiving a feedback current;
obtaining a resistance value according to the detection voltage and the feedback current;
and determining whether the network interface has power equipment access according to the resistance value.
5. The method of claim 1, further comprising:
when the power supply equipment supplies power to the powered equipment, the output power values of the first output port and the second output port are determined according to the power value required by the accessed powered equipment.
6. The method of claim 5, wherein the determining the output power values for the first output port and the second output port from the power value required by the powered device comprises:
acquiring grade information of the powered device;
and determining a power value required by the power receiving equipment according to the grade information, and controlling the first output port and the second output port of the power supply equipment to simultaneously output matched power to the power receiving equipment.
7. The method of claim 1, wherein before controlling the first port of the network interface to perform powered device detection to detect whether a powered device is connected to the first port, the method further comprises:
reading a value of a bit signal register of a PSE chip in the power supply equipment, and determining whether the power supply equipment is qualified or not according to the value of the bit signal register;
if the PSE chip is qualified, configuring the PSE chip into a manual mode;
and if the PSE chip is unqualified, replacing the PSE chip.
8. A power over Ethernet system is characterized by comprising a power supply device and a power receiving end, wherein the power supply device is connected with the power receiving end device through a network interface, and the power supply device comprises a controller and a PSE control circuit;
the controller is connected with the PSE control circuit and used for controlling the power supply state of the PSE control circuit;
the PSE control circuit comprises a first output port and a second output port, wherein the first output port and the second output port are respectively used for outputting a first voltage and a second voltage;
the network interface comprises a first port and a second port, wherein the first port is connected with the first output port and is used for receiving the first voltage; the second port is connected with the second output port and used for receiving the second voltage;
the powered device end comprises a first rectifier bridge, a second rectifier bridge and a powered device; the first port is connected with the powered device through the first rectifier bridge, and the second port is connected with the powered device through the second rectifier bridge, so that the first voltage and the second voltage are synchronously output to the powered device.
9. A power supply end device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910886890.3A 2019-09-19 2019-09-19 Ethernet power supply method, system, power supply end equipment and readable storage medium Active CN110798324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910886890.3A CN110798324B (en) 2019-09-19 2019-09-19 Ethernet power supply method, system, power supply end equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910886890.3A CN110798324B (en) 2019-09-19 2019-09-19 Ethernet power supply method, system, power supply end equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110798324A true CN110798324A (en) 2020-02-14
CN110798324B CN110798324B (en) 2022-11-15

Family

ID=69438562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910886890.3A Active CN110798324B (en) 2019-09-19 2019-09-19 Ethernet power supply method, system, power supply end equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110798324B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111884820A (en) * 2020-07-23 2020-11-03 威创集团股份有限公司 Ethernet dual-network-port and direct-current redundant power supply system
CN112684384A (en) * 2020-11-18 2021-04-20 杭州士兰微电子股份有限公司 Power receiving connection detection method and power supply device in Ethernet power supply system
CN113194586A (en) * 2021-04-23 2021-07-30 勤上光电股份有限公司 Illumination control method and illumination system based on edge computing gateway
CN113640582A (en) * 2021-08-24 2021-11-12 上海超丰科技有限公司 Method for detecting legality of Ethernet power supply system and power supply equipment
CN113660101A (en) * 2020-05-12 2021-11-16 华为技术有限公司 Port matching method, power-on method, equipment, system and cable
CN114301176A (en) * 2021-12-29 2022-04-08 苏州浪潮智能科技有限公司 Power supply method, system, equipment and storage medium based on Ethernet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147356A (en) * 2005-01-25 2008-03-19 凌特公司 Supplying power over four pairs of conductors in communication cable
CN104243176A (en) * 2013-06-18 2014-12-24 凌力尔特公司 Ethernet power supply system, power supply source equipment and execution method thereof
CN104821886A (en) * 2014-01-30 2015-08-05 凌力尔特公司 Method and system for supplying power via four wire pairs in Ethernet cable
US20150326403A1 (en) * 2014-05-06 2015-11-12 Linear Technology Corporation PSE CONTROLLER IN PoE SYSTEM DETECTS DIFFERENT PDs ON DATA PAIRS AND SPARE PAIRS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147356A (en) * 2005-01-25 2008-03-19 凌特公司 Supplying power over four pairs of conductors in communication cable
CN104243176A (en) * 2013-06-18 2014-12-24 凌力尔特公司 Ethernet power supply system, power supply source equipment and execution method thereof
CN104821886A (en) * 2014-01-30 2015-08-05 凌力尔特公司 Method and system for supplying power via four wire pairs in Ethernet cable
US20150326403A1 (en) * 2014-05-06 2015-11-12 Linear Technology Corporation PSE CONTROLLER IN PoE SYSTEM DETECTS DIFFERENT PDs ON DATA PAIRS AND SPARE PAIRS

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660101A (en) * 2020-05-12 2021-11-16 华为技术有限公司 Port matching method, power-on method, equipment, system and cable
CN113660101B (en) * 2020-05-12 2022-10-18 华为技术有限公司 Port matching method, power-on method, equipment and system
CN111884820A (en) * 2020-07-23 2020-11-03 威创集团股份有限公司 Ethernet dual-network-port and direct-current redundant power supply system
CN111884820B (en) * 2020-07-23 2021-12-07 威创集团股份有限公司 Ethernet dual-network-port and direct-current redundant power supply system
WO2022016818A1 (en) * 2020-07-23 2022-01-27 威创集团股份有限公司 Ethernet double-interface and direct-current redundant power supply system
CN112684384A (en) * 2020-11-18 2021-04-20 杭州士兰微电子股份有限公司 Power receiving connection detection method and power supply device in Ethernet power supply system
CN112684384B (en) * 2020-11-18 2024-05-03 杭州士兰微电子股份有限公司 Method for detecting power receiving connection in Ethernet power supply system and power supply device
CN113194586A (en) * 2021-04-23 2021-07-30 勤上光电股份有限公司 Illumination control method and illumination system based on edge computing gateway
CN113640582A (en) * 2021-08-24 2021-11-12 上海超丰科技有限公司 Method for detecting legality of Ethernet power supply system and power supply equipment
CN114301176A (en) * 2021-12-29 2022-04-08 苏州浪潮智能科技有限公司 Power supply method, system, equipment and storage medium based on Ethernet
CN114301176B (en) * 2021-12-29 2023-06-20 苏州浪潮智能科技有限公司 Power supply method, system, equipment and storage medium based on Ethernet

Also Published As

Publication number Publication date
CN110798324B (en) 2022-11-15

Similar Documents

Publication Publication Date Title
CN110798324B (en) Ethernet power supply method, system, power supply end equipment and readable storage medium
KR101559885B1 (en) Power over ethernet on data pairs and spare pairs
US9800319B2 (en) Relay apparatus
EP1842323B1 (en) Dual-mode detection of powered device in power over ethernet system
US20100095136A1 (en) Powered communications interface with pre-operating mode using low voltages and currents for information signaling
US9874913B2 (en) Apparatus and methods for power conflict resolution in power delivery systems
US20170214533A1 (en) Power Source Equipment and Power Supplying Method for Power over Ethernet system
US11368321B2 (en) Power sourcing equipment and energy saving method for power over ethernet
CN103701723A (en) Structure and method for being self-adapted to Ethernet gigabit optical module and electrical module for COMBO interface
CN103490906A (en) Power supply processing method and device and power supply system
KR20140126491A (en) power supply circuit and method for controlling thereof
US9442544B2 (en) Fast restart sleep signature in power over ethernet
US9250673B2 (en) Power over Ethernet parameter storage
TW201729563A (en) Inspection device and method for multiple powered devices in a power over Ethernet system
CN113220617B (en) Detection circuit, detection method and terminal of plug-and-play device
US10795848B2 (en) Dual way communication method, system, and master device thereof
CN113572622A (en) POE power supply system and POE power supply method
US10447488B2 (en) Device and method for detecting powered devices connected to a power source equipment in a power over ethernet system
CN116418604A (en) Power over Ethernet method, device and system
CN113572621B (en) POE power supply system and POE power supply method
US20160315780A1 (en) Method and system for configuring pse polarity
CN114465330B (en) On-site detection method for slave equipment with wired charging master-slave structure
JP2018133976A (en) Electronic device and control method
CN101547103A (en) Network device and method thereof for detecting adapter card type
CN117074770A (en) Power monitoring circuit and driving method thereof

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