A method, apparatus and system for power over Ethernet
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG DAHUA TECH CO LTD
- Filing Date
- 2023-03-28
- Publication Date
- 2026-07-21
Smart Images

Figure CN116418604B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, and in particular to a method, apparatus and system for Power over Ethernet. Background Technology
[0002] Power over Ethernet (PoE) technology refers to the technology of providing DC power to network terminal devices through network cables on top of existing Ethernet cabling infrastructure. In PoE, the network cable serves both to transmit data signals and provide DC power. This technology eliminates the need for external power adapters for terminal devices, thus saving on power adapters, power cables, and plugs, and reducing cabling and hardware costs. PoE systems include Power Sourcing Equipment (PSE) and Powered Devices (PD).
[0003] Existing Power over Ethernet (PoE) methods only consider whether the powered device's status is valid before supplying power. However, in practice, it is often found that although the power supply device performs a series of checks and tiered actions to supply power to the powered device, power outages may still occur. This is because after power is supplied to the powered device, the downstream load does not increase in time, resulting in the power supply device being in a light-load state (standard is 5-10mA current), which means it is considered that there is no downstream load and will no longer supply power to the powered device. Summary of the Invention
[0004] This embodiment provides a method, apparatus, and system for Power over Ethernet (PoE) to solve the problem of power loss caused by light load during startup of powered equipment in the prior art.
[0005] Firstly, this embodiment provides a Power over Ethernet (PoE) method, the method comprising:
[0006] When it is detected that the power supply port of the power supply equipment is connected to the power receiving equipment, the power supply level of the power supply port is obtained, and the light load detection function is activated after a preset delay; the light load detection function is used to detect whether the power supply port is in a light load state.
[0007] The power supply port is controlled to supply power to the powered device according to the power supply level.
[0008] In some embodiments, the method further includes, before detecting that a power supply port of the power supply device is connected to a powered device:
[0009] When the power supply port is not supplying power to the outside, the port detection function of the power supply port is activated to detect whether the power supply port is connected to a powered device.
[0010] In some embodiments, detecting whether the power supply port is supplying power to the outside includes:
[0011] Configure the power supply control unit of the power supply equipment in manual mode;
[0012] When the power supply control unit enters manual mode, it detects whether the power supply port is supplying power to the outside.
[0013] In some embodiments, configuring the power supply control unit of the power supply equipment in manual mode includes:
[0014] Read the value of the in-situ register of the power supply control unit;
[0015] Based on the value of the in-place register, determine whether the power supply control unit is working properly;
[0016] When the power supply control unit is working normally, the power supply control unit of the power supply equipment is configured in manual mode.
[0017] In some embodiments, the preset time is determined based on the startup time and reset time of the powered device.
[0018] In some embodiments, the method further includes updating the output power value of the power supply port when the power supply port supplies power to the outside.
[0019] In some embodiments, enabling the port detection function of the power supply port includes: writing a first preset value to the port detection enable register of the power supply control unit to enable the port detection function of the power supply port.
[0020] In some embodiments, detecting whether the power supply port is connected to a powered device includes:
[0021] Read the value of the port detection register of the power supply control unit;
[0022] When the value of the port detection register is the second preset value, it is determined that the power supply port is connected to a powered device.
[0023] Secondly, this embodiment provides an Ethernet power supply device, the device comprising:
[0024] The processing module is used to obtain the power supply level of the power supply port when it is detected that the power supply port of the power supply equipment is connected to the power receiving equipment, and to start the light load detection function after a preset delay; the light load detection function is used to detect whether the power supply port is in a light load state.
[0025] The power supply module is used to control the power supply port to supply power to the powered device according to the power supply level.
[0026] Thirdly, this embodiment provides a Power over Ethernet (PoE) system, the system comprising:
[0027] A controller for performing the Power over Ethernet method described in the first aspect;
[0028] The power supply device connected to the controller includes a power supply control unit;
[0029] And a power receiving device connected to the power supply equipment, the power supply equipment being used to supply power to the power receiving device.
[0030] Compared with the prior art, the Ethernet power supply method, apparatus and system provided in this embodiment detects whether the power supply port is connected to the powered device when the controller detects that the power supply port is not supplying power to the outside. After detecting that the power supply port is connected to the powered device, the light load state detection is activated after a certain delay. This prevents the problem of misjudgment of light load caused by the powered device not yet starting up, and solves the problem of power failure caused by light load when the powered device starts up.
[0031] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0032] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0033] Figure 1 This is a hardware structure block diagram of a terminal implementing a Power over Ethernet method according to an embodiment of this application;
[0034] Figure 2 This is a flowchart of a Power over Ethernet method according to an embodiment of this application;
[0035] Figure 3 This is a schematic diagram of the structure of a power supply device end according to an embodiment of this application;
[0036] Figure 4 This is a schematic diagram of the structure of a power receiving device according to an embodiment of this application;
[0037] Figure 5 This is a flowchart of another Power over Ethernet method according to an embodiment of this application;
[0038] Figure 6 A schematic diagram of another power receiving device according to an embodiment of this application;
[0039] Figure 7 This is a structural block diagram of an Ethernet power supply device according to an embodiment of this application. Detailed Implementation
[0040] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0041] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.
[0042] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of a terminal implementing a Power over Ethernet method according to an embodiment of this application. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.
[0043] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to a Power over Ethernet method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the aforementioned method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0044] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0045] This application provides a Power over Ethernet (PoE) method applied to a PoE system, which includes a controller, a power supply device, and a power receiving device. Figure 2 This is a flowchart of a Power over Ethernet method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:
[0046] Step S210: When it is detected that the power supply port of the power supply equipment is connected to the power receiving equipment, the power supply level of the power supply port is obtained, and the light load detection function is activated after a preset delay. The light load detection function is used to detect whether the power supply port is in a light load state.
[0047] Specifically, when the controller detects that the power supply port is not supplying power, it activates the port detection function for that port to check if a powered device is connected. This port detection function is used to determine if a powered device is connected to the power supply port. When the controller detects that a powered device is connected to the power supply port, it obtains the power supply level of the port and, after a preset delay, activates the light-load detection function for the powered device. The power supply level of the power supply port can be determined based on the power required by the powered device connected to that port.
[0048] More specifically, the preset time is determined based on the startup time and reset time of the powered equipment.
[0049] Step S220: Control the power supply port to supply power to the powered equipment according to the power supply level.
[0050] Specifically, the controller controls the power supply port to supply power to the powered device according to the power supply level determined in step S210. It should be noted that once the power supply level of the power supply port is obtained, the controller can control the power supply port to supply power to the powered device according to the power supply level.
[0051] In this embodiment, when the controller detects that the power supply port is not supplying power to the outside, it checks whether the power supply port is connected to the powered device. After detecting that the power supply port is connected to the powered device, it delays for a certain period of time before starting the light load state detection. This prevents the problem of misjudging the light load before the powered device is started, and solves the problem of power failure caused by the powered device starting up under light load.
[0052] In some embodiments, detecting whether the power supply port is supplying power to the outside includes: reading the value of the in-situ register of the power supply control unit of the power supply device; determining whether the power supply control unit is working normally based on the value of the in-situ register; configuring the power supply control unit of the power supply device in manual mode when the power supply control unit is working normally; and detecting whether the power supply port is supplying power to the outside when the power supply control unit enters manual mode.
[0053] Specifically, the power supply control unit here is a PSE chip. Before detecting whether the power supply port is supplying power to the outside, the PSE chip is first checked to see if it is working properly, thus eliminating abnormal PSE chips. The controller reads the value of the PSE chip's in-bit register and determines whether the PSE chip is working properly or qualified based on the value of the in-bit register. The in-bit signal register stores the PSE chip's identification information. If the PSE chip's identification information stored in the in-bit signal register meets the preset standard, the PSE chip is considered qualified and is configured to manual mode. The entire working process of the PSE chip can be implemented in three modes: automatic mode, semi-automatic mode, and manual mode. After determining that the PSE chip is working properly, the PSE chip is configured to manual mode. In manual mode, the power supply port is checked to see if it is supplying power to the outside.
[0054] In some of these embodiments, the output power value of the power supply port is updated when the power supply port supplies power to the outside.
[0055] In some embodiments, enabling the port detection function of the power supply port includes: writing a first preset value to the port detection enable register of the power supply control unit to enable the port detection function of the power supply port.
[0056] In some embodiments, detecting whether a power supply port is connected to a powered device includes: reading the value of a port detection register of a power supply control unit; and determining that the power supply port is connected to a powered device when the value of the port detection register is a second preset value.
[0057] Specifically, the power supply equipment outputs a detection voltage and receives a feedback current. The resistance value is obtained based on the detection voltage and feedback current, and this resistance value is used to determine whether a powered device is connected to the network interface of the power supply equipment. If the resistance value received by the PSE chip meets a preset condition, it is considered that a powered device is connected to the network interface. Since the powered device has an internal resistor, the feedback current received by the PSE chip when the network interface is connected to a powered device will be smaller than the feedback current when no powered device is connected. Therefore, the resistance value obtained from the detection voltage and feedback current can be used to detect whether a powered device is connected to the network interface. When the resistance value received by the PSE chip meets the preset condition, a second preset value is written into the port detection register of the PSE chip. The controller reads the value in the port detection register; when the value in the port detection register is the second preset value, it is determined that the corresponding power supply port is connected to a powered device.
[0058] This application also provides a Power over Ethernet (PoE) system, which includes a power supply device and a power receiving device. A schematic diagram of the power supply device is shown below. Figure 3 As shown in the diagram, a schematic diagram of a power receiving device is as follows: Figure 4 As shown.
[0059] Specifically, the power supply device 300 includes a power supply device 350 and a controller 310. The power supply device 350 includes a PSE control circuit 320, a first network interface 330, and a second network interface 340. The PSE control circuit 320 includes a PSE chip 321, capacitors C1 and C2, resistors R1, R2, R3, R4, R5, and R6, and a field-effect transistor. The power supply device 350 is connected to the powered device 400 through the first network interface 330 or the second network interface 340. The controller 310 executes the Ethernet power supply method described in the foregoing embodiments. The controller 310 is connected to the PSE control circuit 320 and is used to control the power supply status of the PSE control circuit 320. The controller 310 reads the values of the registers of the PSE chip 321 and writes corresponding values into the registers of the PSE chip 321 through the I2C interface to control the state of the PSE chip 321. Here, the PSE chip 321 is the power supply control unit described in the foregoing embodiments. The PSE control circuit 320 includes a first output port and a second output port, used to output a first voltage and a second voltage, respectively. The first network interface 330 includes a first port and a second port, both connected to the first output port, used to receive the first voltage. The second network interface 340 includes a third port and a fourth port, both connected to the first output port, used to receive the second voltage. It should be noted that the first port, second port, third port, and fourth port here are all equivalent to the power supply ports described in the preceding embodiments.
[0060] Specifically, the power receiving device 400 includes a first rectifier bridge 420, a second rectifier bridge 430, a power receiving module 410, a main control module 440, a first reset module 450, and a third network interface 460. The power receiving module 410 is connected to the main control module 440, the first rectifier bridge 420, and the second rectifier bridge 430; the main control module 440 is also connected to the first reset module 450. The third network interface 460 includes a fifth port and a sixth port. The fifth port is connected to the power receiving module 410 via the first rectifier bridge 420, and the sixth port is connected to the power receiving module 410 via the second rectifier bridge 430, to synchronously output a first voltage or a second voltage to the power receiving module 410. The power receiving device 400 is connected to the first network interface 330 or the second network interface 340 of the power supply device 350 via the third network interface 460, thereby realizing the connection between the power receiving module 410 and the power supply device 350. For example, as shown... Figure 4 As shown, the power receiving device 400 receives a first voltage through the first network interface 330 of the power supply device 350 via the third network interface 460.
[0061] For example, the first network interface 330, the second network interface 340, and the third network interface 460 can be RJ45 interfaces, and the network interfaces are connected via network cables. The controller 310 can be an MCU (Micro Control Unit), a DSP (Digital Signal Processing) chip, or an FPGA (Field Programmable Gate Array) chip, etc. The main control module 440 can be a main control CPU (Central Processing Unit).
[0062] It should be noted that, as Figure 3 As shown, the first port refers to pins 1, 2, 3, and 6 of the first network interface 330; the second port refers to pins 4, 5, 7, and 8 of the first network interface 330. The third port refers to pins 1, 2, 3, and 6 of the second network interface 340; and the fourth port refers to pins 4, 5, 7, and 8 of the second network interface 340. Pins 1 and 2 of the first network interface 330 are positive and are connected to the power interface of the PSE control circuit 320, as shown. Figure 3 The +48V signal is shown; pins 3 and 6 are negative (PSE_N1), connected to the negative terminal (PSE_N1) of the PSE control circuit 320. Pins 4 and 5 of the first network interface 330 are positive, connected to the power interface of the PSE control circuit 320. Figure 3 The +48V signal shown has pins 7 and 8 as the negative terminal (PSE_N1), connected to the negative terminal (PSE_N1) of the PSE control circuit 320. It is understood that the pin sequence of the first network interface 330 corresponding to the positive and negative terminals can also be other combinations; this application is merely illustrative. Typically, pins 4 and 5 of the first network interface 330 are set as positive, and pins 7 and 8 as negative. Pins 1 and 2 of the second network interface 340 are positive and connected to the power interface of the PSE control circuit 320, such as... Figure 3 The +48V signal is shown; pins 3 and 6 are negative (PSE_N2), connected to the negative terminal (PSE_N2) of the PSE control circuit 320. Pins 4 and 5 of the second network interface 340 are positive, connected to the power interface of the PSE control circuit 320. Figure 3The +48V pin shown has pins 7 and 8 as the negative terminals (PSE_N2), connected to the negative terminal (PSE_N2) of the PSE control circuit 320. It is understood that the pinout of the second network interface 340 corresponding to the positive and negative terminals can also be other combinations; this application is merely illustrative. Typically, pins 4 and 5 of the second network interface 340 are set as positive, and pins 7 and 8 as negative. For example... Figure 4 As shown, the fifth port refers to the 1, 2, 3, 6 pin sequence of the third network interface 460; the sixth port refers to the 4, 5, 7, 8 pin sequence of the third network interface 460.
[0063] In this embodiment, the Ethernet power supply system detects whether the power supply port is connected to a powered device when the controller detects that the power supply port is not supplying power to the outside. After detecting that the power supply port is connected to a powered device, it delays for a certain period of time before starting the light load status detection. This prevents the problem of misjudging the light load before the powered device is started and solves the problem of power failure caused by the powered device starting up under light load.
[0064] This embodiment also provides a Power over Ethernet (PoE) method applied to a PoE system, which includes a controller, a power supply device, and a power receiving device. Figure 5 This is a flowchart of another Power over Ethernet method according to an embodiment of this application, such as... Figure 5 As shown, the process includes the following steps:
[0065] Step S510: After the system is powered on, the controller reads the presence signal register A of the PSE chip; when the value of the presence signal register is equal to the agreed value, the PSE chip is configured in manual mode.
[0066] Specifically, the controller reads the presence signal register A of the PSE chip via the I2C interface. The PSE chip has three modes: fully automatic mode, semi-automatic mode, and manual mode.
[0067] In step S520, after entering manual mode, the controller reads register B of the PSE chip via the I2C interface to determine whether channel 1 is supplying power externally. If yes, proceed to step S530; otherwise, proceed to step S540.
[0068] Specifically, channel 1 here can be as follows: Figure 3 The power supply channel or port corresponding to the first network interface 330 shown can also be the power supply channel or port corresponding to the second network interface 340. If channel 1 supplies power to the outside, the port output power value is updated. If channel 1 does not supply power to the outside, port detection configuration is performed.
[0069] Step S530: Update the port output power value.
[0070] Step S540, Port Detection: Set register C of channel 1 to enable port detection function.
[0071] Step S550: Determine if the value of the port detection register F is 1. If yes, proceed to step S560; otherwise, proceed to step S540.
[0072] Specifically, if the value of the port detection register F is 1, it indicates success; if the value of register F is 0, it indicates failure and the detection continues.
[0073] Step S560: Set register D of channel 1 to enable port power detection function, obtain port power level, do not open register E, and do not enable light load detection function.
[0074] Specifically, the port power level is obtained by enabling the CLASS class of channel 1 through register D, and power is supplied according to the calculated CLASS class. Register E is not opened, and the light load detection function is not enabled. The standard PSE chip conforms to the IEEE 802.3at / af protocol and achieves different CLASS classes of output power through open register configuration. When the power supply device supplies power to the powered device, the PSE needs to first identify the PD to determine the PD's class information, i.e., the power level, and supply power according to the PD's power level.
[0075] Step S570, delay time T delay Then, open register E to enable the light load detection function.
[0076] Specifically, the Power over Ethernet light load standard is 400ms, where the time T... delay Greater than 400ms.
[0077] In this embodiment, when the controller detects that the power supply port is not supplying power to the outside, it checks whether the power supply port is connected to the powered device. After detecting that the power supply port is connected to the powered device, it delays for a certain period of time before starting the light load state detection. This prevents the problem of misjudging the light load before the powered device is started, and solves the problem of power failure caused by the powered device starting up under light load.
[0078] The following provides a specific implementation method to illustrate the above-described Power over Ethernet method.
[0079] a. After the circuit is powered on, the MCU (GD32F330G8U6) reads the presence signal register A (0x1B) of the PSE chip (XS2180) via the I2C interface. When the value of this register is equal to the predetermined value (0xe0), the PSE chip is configured to manual mode (configuration register 0x12). (The PSE chip has three modes: fully automatic mode, semi-automatic mode, and manual mode).
[0080] b. After entering manual mode, the MCU reads register B (0x19) of the PSE chip via the I2C interface to determine whether channel 1 is supplying power externally (whether register 0x19 is 1 / 0). If it is 1, the port output power value is updated; otherwise, port detection configuration is performed.
[0081] c. Port detection: Set register C (0x14) of channel 1 to enable the port detection function;
[0082] d. Based on the value of the port detection register F (0x0C), determine the port detection result. If successful, set the register D (0x15) of channel 1 to enable the port power detection function; obtain the port power level (register G (0x0D)), do not open register E (0x50), and do not enable the light load detection function.
[0083] e. After a 1-second delay, open register E to enable the light load detection function.
[0084] The following is about time T delay The method for determining this will be explained.
[0085] Figure 4 and Figure 6 Two structural diagrams of the power receiving equipment are provided, such as Figure 4 As shown, after the power receiving module 410 supplies power to the main control module 440, an external reset module, namely the first reset module 450, is added to reset the main control module 440. The total actual load startup time of the powered device 400 is T1, where T1 = t1 + t2 + t3. The power supply time to the powered device 400 is t1, the startup time of the power receiving module 410 is t2, and the startup time of the first reset module 450 is t3. The main control module 440 is the CPU. Figure 6 As shown, after the power receiving module 410 supplies power to the main control module 440, an external first reset module 450 is designed to reset the main control CPU. However, some main control CPUs often have a built-in second reset module 441. Therefore, the actual load startup time of the powered device 400 is T2, where T2 = t1 + t2 + t3 + t4. Here, t1 is the time for the power supply to the powered device 400, t2 is the startup time of the power receiving module 410, t3 is the startup time of the first reset module 450, and t4 is the startup time of the second reset module 441. In this case, it is highly likely that T2 will exceed the Ethernet power supply light load standard of 400ms, causing the power supply device to lose power. Therefore, time T... delay It must be greater than 400ms and greater than time T2.
[0086] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0087] This embodiment also provides a Power over Ethernet (PoE) device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. The terms "module," "unit," "subunit," etc., used below refer to combinations of software and / or hardware that perform a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0088] Figure 7 This is a structural block diagram of a Power over Ethernet (PoE) device according to an embodiment of this application, such as... Figure 7 As shown, the device includes:
[0089] The processing module 710 is used to obtain the power supply level of the power supply port when it is detected that the power supply port of the power supply equipment is connected to the power receiving equipment, and to start the light load detection function after a preset delay; the light load detection function is used to detect whether the power supply port is in a light load state.
[0090] The power supply module 720 is used to control the power supply port to supply power to the powered equipment according to the power supply level.
[0091] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0092] This embodiment also provides an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0093] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0094] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0095] S1, when it is detected that the power supply port of the power supply equipment is connected to the power receiving equipment, the power supply level of the power supply port is obtained, and the light load detection function is activated after a preset delay; the light load detection function is used to detect whether the power supply port is in a light load state.
[0096] S2 controls the power supply port to supply power to the powered equipment according to the power supply level.
[0097] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated in this embodiment.
[0098] Furthermore, in conjunction with the Power over Ethernet (PoE) method provided in the above embodiments, this embodiment can also provide a storage medium for implementation. The storage medium stores a computer program; when executed by a processor, the computer program implements the steps of any of the PoE methods described in the above embodiments.
[0099] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0100] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.
[0101] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0102] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims
1. A method for Power over Ethernet, characterized in that, The method includes: When it is detected that the power supply port of the power supply equipment is connected to the power receiving device, the power supply level of the power supply port is obtained, and the light load detection function is activated after a preset delay. The light load detection function is used to detect whether the power supply port is in a light load state. The preset time is determined according to the startup time and reset time of the power receiving device. The power supply port is controlled to supply power to the powered device according to the power supply level.
2. The Ethernet power supply method according to claim 1, characterized in that, Before detecting that the power supply port of the power supply device is connected to the power receiving device, the method further includes: When the power supply port is not supplying power to the outside, the port detection function of the power supply port is activated to detect whether the power supply port is connected to a powered device.
3. The Ethernet power supply method according to claim 2, characterized in that, The detection of whether the power supply port is supplying power to the outside includes: Configure the power supply control unit of the power supply equipment in manual mode; When the power supply control unit enters manual mode, it detects whether the power supply port is supplying power to the outside.
4. The Ethernet power supply method according to claim 3, characterized in that, The manual mode configuration of the power supply control unit of the power supply equipment includes: Read the value of the in-situ register of the power supply control unit; Based on the value of the in-place register, determine whether the power supply control unit is working properly; When the power supply control unit is working normally, the power supply control unit of the power supply equipment is configured in manual mode.
5. The Ethernet power supply method according to claim 1, characterized in that, The method further includes updating the output power value of the power supply port when the power supply port supplies power to the outside.
6. The Power over Ethernet method according to claim 3, characterized in that, The process of enabling the port detection function of the power supply port includes: writing a first preset value to the port detection enable register of the power supply control unit to enable the port detection function of the power supply port.
7. The Ethernet power supply method according to claim 2, characterized in that, The detection of whether the power supply port is connected to a powered device includes: Read the value of the port detection register of the power supply control unit; When the value of the port detection register is the second preset value, it is determined that the power supply port is connected to a powered device.
8. A Power over Ethernet (PoE) device, characterized in that, The device includes: The processing module is used to obtain the power supply level of the power supply port when it is detected that the power supply port of the power supply device is connected to the power receiving device, and to start the light load detection function after a preset delay; the light load detection function is used to detect whether the power supply port is in a light load state; the preset time is determined according to the startup time and reset time of the power receiving device. The power supply module is used to control the power supply port to supply power to the powered device according to the power supply level.
9. A Power over Ethernet (PoE) system, characterized in that, The system includes: A controller for performing the Power over Ethernet method according to any one of claims 1 to 7; The power supply device connected to the controller includes a power supply control unit; And a power receiving device connected to the power supply equipment, the power supply equipment being used to supply power to the power receiving device.