Method and equipment for diagnosing Ethernet power supply port

Through self-test of power supply equipment, detection of standard power receiving equipment, graded current measurement and power outage diagnosis, the complexity of PoE port power supply failure is solved, and rapid fault location and simplified diagnosis process is achieved.

CN120254430APending Publication Date: 2025-07-04NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510349472.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, the reasons for the failure of PoE port power supply are complex, resulting in the inability to quickly locate the fault and wasted a lot of manual inspection time.

Method used

It provides a method for diagnosing the Ethernet power supply port, including self-testing of power supply equipment, detection of standard power receiving equipment, hierarchical current measurement of power receiving equipment, impact current adjustment of Ethernet power supply ports and power outage diagnosis processing. Through step-by-step inspection, the fault diagnosis process is simplified.

Benefits of technology

It quickly locates the reasons for the failure of PoE port power supply, reduces the troubleshooting time, and simplifies the fault diagnosis process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120254430A_ABST
    Figure CN120254430A_ABST
Patent Text Reader

Abstract

The invention provides a method and equipment for diagnosing a power over Ethernet port. The method comprises the following steps: executing self-inspection diagnosis processing of the power supply equipment; executing standard power receiving equipment detection processing; performing graded current measurement processing of the power receiving equipment; performing Ethernet power supply port impact current adjustment processing; and executing the power failure diagnosis processing of the Ethernet power supply port. The Ethernet power supply equipment firstly executes power supply equipment self-inspection, and after the power supply equipment self-inspection processing is completed, that is, the power supply equipment has the capability of outputting power outwards, other links are inspected one by one, so that the diagnosis process of the power supply fault of the power supply port of the Ethernet power supply equipment is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to Power over Ethernet technology, and specifically to a method and device for diagnosing Power over Ethernet ports. Background Art

[0002] Power over Ethernet (PoE) technology is a technology that simultaneously transmits data and power through an Ethernet cable, which has the advantages of simplifying wiring, reducing installation costs, and improving operation and maintenance efficiency, and can be widely used in various service scenarios.

[0003] The PoE port of a Power Sourcing Equipment (PSE) is connected to a Power Device (PD) through an Ethernet cable, and a DC low voltage is output through the PoE port to power the PD device. PD devices are diverse, including IP cameras, wireless access points, IP phones, network switches, intelligent lighting devices, sensors, digital signage, access control systems, industrial devices, and medical devices, etc. PoE power supply is used more and more in network solutions, with an increasing deployment scale, and at the same time, more and more market problems are generated.

[0004] The PD devices connected to the PSE device do not conform to the standard power supply protocols of IEEE802.3af, IEEE802.3at, and IEEE802.3bt, resulting in the PSE device being unable to supply power to the PD through the PoE port. When the PSE device itself has a fault, it will also be unable to supply power to the PD through the PoE port. Therefore, the reasons for the inability to supply power through the PoE port are complex, wasting a large amount of labor to check and eliminate item by item. Summary of the Invention

[0005] The purpose of this application is to provide a method and device for diagnosing Power over Ethernet ports, which can systematically diagnose the PoE disconnection state, quickly locate the reasons for the failure of the PoE port to supply power, and reduce the troubleshooting time.

[0006] To achieve the above purpose, this application provides a method for diagnosing Power over Ethernet ports, which includes: performing self-check diagnosis processing on the power supply device; performing standard power device detection processing; performing hierarchical current measurement processing on the power device; performing inrush current adjustment processing on the Power over Ethernet port; performing power-off diagnosis processing on the Power over Ethernet port.

[0007] This application also provides a Power over Ethernet device, which includes a memory and a memory as a Power over Ethernet device. The processor executes the above Power over Ethernet method by running the processor-executable instructions in the memory.

[0008] The beneficial effect of the embodiment of the present application is that the power supply device self-check is first performed. After the power supply device self-check processing is completed, that is, after the power supply device has the ability to output power externally, other links are checked one by one, simplifying the diagnostic process of the power supply failure of the power supply port of the Ethernet power supply device. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a flowchart of an embodiment of a method for diagnosing an Ethernet power supply port provided by the present application;

[0010] Figure 2 It is a schematic flowchart of the power supply device self-check diagnosis processing provided by the present application;

[0011] Figure 3 It is a schematic flowchart of performing standard powered device detection processing provided by the present application;

[0012] Figure 4 It is a schematic flowchart of performing powered device grading current measurement processing provided by the present application;

[0013] Figure 5 It is a schematic flowchart of performing Ethernet power supply port inrush current adjustment processing provided by the present application;

[0014] Figure 6 It is a schematic flowchart of performing Ethernet power supply port power-off diagnosis processing provided by the present application;

[0015] Figure 7 It is a schematic diagram of an embodiment of a device for diagnosing an Ethernet power supply port provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] Multiple examples shown in multiple drawings will be described in detail. In the following detailed description, multiple specific details are used to provide a comprehensive understanding of the present application. Known methods, steps, components, and circuits are not described in detail in the examples to avoid making these examples difficult to understand.

[0017] Among the terms used, the term "including" means including but not limited to; the term "containing" means including but not limited to; the terms "above", "within", and "below" include the number itself; the terms "greater than" and "less than" do not include the number itself. The term "based on" means at least based on a part of it.

[0018] Figure 1 Shown is an embodiment of a method for diagnosing an Ethernet power supply port provided by the present application. The method embodiment includes the following steps:

[0019] Step 101, perform power supply device self-check diagnosis processing;

[0020] Step 102, perform standard powered device detection processing;

[0021] Step 103, perform the hierarchical current measurement process for the power receiving device;

[0022] Step 104, perform the inrush current adjustment process for the Power over Ethernet (PoE) port;

[0023] Step 105, perform the power-off diagnosis process for the PoE port.

[0024] The beneficial effect of this application is that for the faults of the PoE ports of the PoE devices, based on the power supply device information, PoE port information, power receiving device information, and PoE port power-off information recorded by the PSE device, systematic troubleshooting is carried out for each link one by one.

[0025] Figure 1 The embodiment first performs the self-check of the power supply device. After the self-check process of the power supply device is completed, that is, after the power supply device has the ability to output power externally, other links are checked one by one, which simplifies the diagnostic process of the power supply faults of the PoE ports of the PoE devices.

[0026] Figure 2 The figure shows the flow of the embodiment of the self-check diagnosis process of the power supply device provided by this application. This embodiment includes steps;

[0027] Step 201, perform the self-check process of the power supply device version; read the hardware version information and firmware version information of the power supply device;

[0028] The PSE device accesses the 0x20 register, which is used to continue the PSE device system information, and reads the hardware version and firmware version.

[0029] If the return value of the PSE device accessing the 0x20 register is the fault ERROR, it is determined that the reading of the hardware version of the power supply device fails and the reading of the firmware version of the power supply device fails. Perform the upgrade of the hardware version of the power supply device or the upgrade of the firmware version of the power supply device. The PSE device downloads the PSE hardware version or the PSE firmware version to complete the upgrade of the PSE hardware version or the upgrade of the PSE firmware version. If the PSE device fails to download the PSE hardware version or the PSE firmware version, or the upgrade of the PSE hardware version is not completed or the upgrade of the PSE firmware version is not completed, then output a hardware version upgrade processing prompt or a firmware version upgrade processing prompt, indicating the cause of the fault and reminding for device maintenance.

[0030] If the return value of the PSE device accessing the 0x20 register is success, the hardware version information and firmware version information of the power supply device are read, and the hardware version and firmware version of the PSE device are in a normal state.

[0031] All register addresses in this application are only for examples, to more clearly distinguish different registers in each embodiment, so as to clearly describe the technical solution, and are not used to limit the protection scope of this application.

[0032] Step 202, perform a self-check process for the maximum output power.

[0033] The PSE device accesses the 0x27 register, which records the maximum output power of the PSE device. If the return value indicated by the PSE device accessing the 0x27 register records that the maximum output power of the PSE device is abnormal, then read the model of the external power supply inserted into the PSE device, and write the maximum allowable output power of the external power supply in the PSE device in the power management unit (i.e., BANK) of the PSE device according to the model of the external power supply. For example, if the inserted external power supply is 300W, but a part of the power of this power supply needs to be provided to some components of the PSE device, so the maximum allowable output power of this external power supply in the PSE device is less than the actual power of this external power supply, which is 300W.

[0034] When the maximum output power of the PSE device is abnormal, the PSE device also cannot supply power through the PoE port.

[0035] Step 203, perform a self-check process for the Ethernet power supply port configuration.

[0036] The PSE device accesses the 0x26 register, which records the port parameters of the PoE port.

[0037] The PSE device accesses the 0x27 register, and what is returned is the current configuration parameters of the PoE port. Compare with the default parameters of the PoE port, and if it is determined that the default configuration parameters of the PoE port are inconsistent with the current configuration parameters, configure the default configuration parameters of the Ethernet power supply port based on the default configuration parameters.

[0038] The PSE device self-check first diagnoses whether there are abnormalities in the PSE device at the power supply end and its PoE port; repairs the detected power supply abnormalities of the PSE device. After the PSE device self-check is completed and the PSE device is repaired, check each other link one by one, which simplifies the diagnostic process of the power supply failure of the power supply port of the Ethernet power supply device; for the fault types that cannot be repaired by the PSE device self-check, output information to locate the cause of the PoE port power supply abnormality and perform repairs.

[0039] Figure 3 The following shows a schematic flow diagram of the process of performing standard powered device detection processing provided by this application;

[0040] Step 301, read the powered device fault information of the powered device connected to the Ethernet power supply port recorded.

[0041] The PSE device accesses the 0x21 register, which records the PD device fault information. Based on the return information of the 0x21 register, the PSE device checks what kind of fault of the PD device causes abnormal power supply on the PoE port.

[0042] The return value of the PSE device accessing the 0x21 register contains the fault type and the cause of the fault.

[0043] For example, a certain specified byte of the return value of the PSE device accessing the 0x21 register, such as byte3, indicates the fault type as looking for PD, that is, the PD connected to the PoE port fails the detection and no power is supplied to the PD device; another specified byte of the return value of the PSE device accessing the 0x21 register, such as byte4, indicates that the cause of the fault includes at least: the PD device is a short-circuit device, the detection capacitor is higher than the detection capacitor range (high-capacitance PD), the detection resistor is lower than the detection resistor range (low-resistance PD), the detection resistor is higher than the detection resistor range (high-resistance PD), the PoE port is open, and the PoE port fails.

[0044] All bytes of the register return values in this application are only for illustration, to more clearly distinguish different bytes of the same register return value, so as to clearly describe the technical solution, and are not used to limit the protection scope of this application.

[0045] The detection resistor and the detection capacitor are two key parameters used to identify and verify whether the PD device meets the PoE standard.

[0046] The byte3 fault type byte of the return value of the PSE device accessing the 0x21 register indicates a PoE port fault, and the byte4 port status byte of the return value of accessing this 0x21 register indicates that the cause of the fault includes at least: abnormal Maintain Power Signature (MPS), PoE port short circuit, PoE port overload, PoE port refuses to supply power, PoE port startup failure, PoE port undervoltage, PoE port overvoltage.

[0047] Step 302, perform the diagnosis and processing for the Ethernet power supply port not starting to supply power;

[0048] The byte3 of the return value of the PSE device accessing the 0x21 register indicates the fault type as looking for PD, and step 302 is executed, that is, the diagnosis and processing for the PoE port not starting to supply power is performed.

[0049] The PSE device determines that the byte4 port status byte of the return value indicates that the PD device is a short-circuit device, and the PSE device outputs a short-circuit prompt message through the port indicator light of the PoE port, such as changing the color of the port indicator light of the PoE port to prompt that the PD device is a short-circuit device.

[0050] When the port status byte of byte4 of the return value determined by the PSE device indicates a high-capacitance PD, the detection capacitance range of the PoE port is modified to the relaxed detection capacitance range of the PoE port. A high-capacitance PD means that the PD device does not meet the capacitance design requirements of the PoE protocol. When the PSE device detects a high-capacitance PD, it increases the upper limit of the detection capacitance range so that it is recognized as a PD device compliant with the PoE standard.

[0051] When the port status byte of byte4 of the return value determined by the PSE device indicates a low-impedance PD or a high-impedance PD, the detection resistance range of the PoE port is modified to the relaxed detection resistance range of the PoE port. The PSE device can relax the standard detection resistance range defined by the protocol, such as 19KΩ - 26.5KΩ, to a custom relaxed detection resistance range, such as 5KΩ to 50KΩ, so that the PD device is recognized as a PD device compliant with the PoE standard and outputs voltage to non-standard PD devices connected to the PoE port.

[0052] When the port status byte of byte4 of the return value determined by the PSE device indicates that the PoE port is open (no PD device is connected), it outputs a prompt message for checking the connection of the PD device; when the PSE device receives the confirmation message that the PD device has been connected, it outputs the detection information of the powered device, which is used to prompt to check whether the PD device is a device supporting PoE power supply and confirm the powered voltage of the PD device.

[0053] When the port status byte of byte4 of the return value determined by the PSE device indicates a PoE port fault, it outputs a PoE port fault prompt message.

[0054] Step 303: Perform the fault diagnosis process for the Ethernet power supply port.

[0055] When the byte3 of the return value of the PSE device accessing the 0x21 register indicates that the fault type is a PoE port fault, perform Step 303, that is, perform the PoE port fault diagnosis process.

[0056] When the port status byte of byte4 of the return value determined by the PSE device indicates that the MPS is abnormal and lower than the current MPS threshold, the current MPS threshold is modified to a lower new MPS threshold.

[0057] When the port status byte of byte4 of the return value determined by the PSE device indicates one of the following: PoE port short circuit, PoE port refuses to supply power, PoE port startup fails, PoE port undervoltage, PoE port overvoltage, it outputs the corresponding fault information of the powered device to troubleshoot the corresponding fault.

[0058] When the port status byte of byte4 of the return value determined by the PSE device indicates that the PoE port is overloaded, the PO port mode is modified to the custom mode and the output power of the PoE port is set to be greater than the corresponding power of the maximum classification current range.

[0059] When the port status byte of byte4 of the return value determined by the PSE device indicates that the power of the power supply device is insufficient, an output power replacement prompt message is sent, and an external power supply with a larger output power is replaced for the PSE device.

[0060] Figure 4 This application provides a process for implementing the classification current measurement processing of the powered device. This embodiment includes steps;

[0061] Step 401, send a classification voltage through the Ethernet power supply port;

[0062] The PSE device and the PD device perform power negotiation through the classification current. The PSE device sends a low-voltage signal to the PD device. The PD device returns a specific classification current to the PSE device through its internal circuit according to its own power requirements.

[0063] Step 402, receive the classification current through the Ethernet power supply port;

[0064] The PD device returns a specific classification current to the PSE device through its internal circuit according to its own power requirements. The PSE device receives the classification current through the PoE port.

[0065] Step 403, determine that the current value of the classification current is within the effective range, and determine the power level of the powered device connected to the Ethernet power supply port based on the current value of the classification current.

[0066] The PSE device measures whether the measured classification current is within the effective range according to the range of the classification current and the maximum power of the corresponding PD device defined by the protocol standard, such as the IEEE802.3af / at / bt standard, and considers the classification to be successful. The power level of the PD connected to the PoE port is determined according to the corresponding level (Class) of the current value, and the power is allocated according to the level.

[0067] Step 404, determine that the current value of the classification current is not within the effective range, and set the output power of the Ethernet power supply port to be equal to the corresponding power of the maximum classification current range.

[0068] Step 405, determine the power level of the powered device connected to the Ethernet power supply port based on the current value of the classification current.

[0069] If the hierarchical current measured by the PSE device exceeds the effective range, grading will no longer be performed, and the output power of the PoE port will be set according to the maximum grading current range corresponding to the highest level specified in the protocol, so as to supply power to the PD device connected to the PoE port.

[0070] Figure 5 This application provides a process for implementing an impact current adjustment process for an Ethernet power supply port. This embodiment includes steps;

[0071] Step 501, detecting that the powered device connected to the Ethernet power supply port repeatedly switches between power-on and power-off;

[0072] During the startup process of the PD device, due to unstable power supply, the PD device repeatedly switches between power-on (startup) and power-off (power-off). When the PSE device detects that the PD device connected to the PoE port repeatedly switches between power-on and power-off, it continuously accesses the register at 0x21 that records the PD device fault information.

[0073] The byte3 of the return value of the PSE device accessing the 0x21 register indicates the PoE port fault, and the PoE port status indicated by byte4 switches before looking for the PD and power supply.

[0074] Step 502, setting the Ethernet power supply port to the high impact current mode.

[0075] The PSE device modifies the port register 0x1C of the PoE port to the high inrush current mode, allowing the inrush current to reach a relatively high current value, such as 800 mA, at the moment when the port is powered on.

[0076] Figure 6 This application provides a process for implementing a power-off diagnosis process for an Ethernet power supply port. This embodiment includes steps;

[0077] Step 601, detecting that the Ethernet power supply port changes from the normal power supply state to the stop power supply state;

[0078] After Figures 2 - 5 In the embodiment, the PSE device restores the voltage output from the PoE port to the PD device after its own recovery process. Or, after outputting a prompt message and the maintenance personnel handle and eliminate the relevant faults of the PoE port power supply, the PSE device outputs voltage to the PD device through the PoE port.

[0079] When the PSE device detects that the PoE port changes from the normal power supply state to the stop power supply state, it accesses the 0x22 register, which is used to record the power-off reasons of the PoE port statistically.

[0080] Step 602, read the power-down cause information of the recorded Ethernet power supply port;

[0081] The PSE device identifies the power-down cause of the PoE port according to the return value of accessing the 0x22 register; byte3 of the return value is used to indicate that the power-down cause is MPS exception; byte4 of the return value is used to indicate that the power-down cause is overcurrent of the PoE port; byte5 of the return value is used to indicate that the power-down cause is the PD device short-circuit count value.

[0082] Step 603, perform MPS exception handling;

[0083] The PSE device determines that the PoE port has an MPS exception according to byte3 of the return value of accessing the 0x22 register, and modifies the current MPS threshold of the PoE port to a lower new MPS threshold to avoid power-down caused by the MPS current value of the PoE port being too low and misidentifying that the PD device connected to the PoE port has been disconnected, resulting in the PoE port stopping power supply.

[0084] Step 604, perform overcurrent handling of the Ethernet power supply port;

[0085] The PSE device determines that the number of times the actual output current of the PoE port exceeds the output current threshold is greater than the specified overcurrent count threshold according to byte5 of the return value of accessing the 0x22 register, that is, the PoE port has had overcurrent multiple times. The PSE device modifies the PoE port mode to a custom mode and sets the output power of the PoE port to be greater than the corresponding power within the maximum classification current range.

[0086] Step 605, perform short-circuit handling of the Ethernet power supply port to determine that the recorded power-down original information is that the short-circuit statistical value of the Ethernet power supply port continues to increase, and output a prompt message for troubleshooting the abnormal power supply device of the powered device.

[0087] The PSE device determines that the number of short circuits of the PD device connected to the PoE port has increased according to byte5 of the return value of accessing the 0x22 register, and outputs a prompt message for troubleshooting the abnormal power supply device of the powered device, prompting the maintenance personnel to troubleshoot the cause of the short circuit of the PD device.

[0088] Figure 7 This is a schematic diagram of an embodiment of a device for diagnosing an Ethernet power supply end provided by the present application. The device 70 includes a processor 71, a memory 72, a PSE chip 73, and a PoE port 74; among them, the processor 71 realizes Figures 2 - 6 the Ethernet power supply port diagnosis solution implemented by the embodiment.

[0089] In the present application, the machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device for storing or containing information (such as executable instructions, data, etc.). For example, any machine-readable storage medium herein can be any type of random access memory (RAM), volatile memory, non-volatile memory, flash memory, storage drive (such as a hard disk drive), solid-state drive, any type of storage optical disc (such as a CD, DVD, etc.), and similar devices, or a combination thereof. In addition, any machine-readable storage medium described herein can be a non-transitory machine-readable storage medium.

[0090] The above are only the preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for diagnosing an Ethernet power supply port, characterized in that, The method includes: Performing self - inspection and diagnostic processing on the power supply device; Performing standard power - receiving device detection processing; Performing hierarchical current measurement processing on the power - receiving device; Performing inrush current adjustment processing on the Ethernet power - supply port; Performing power - off diagnosis processing on the Ethernet power - supply port.

2. The method according to claim 1, wherein The performing of the power - off diagnosis processing on the Ethernet power - supply port includes: Detecting that the Ethernet power - supply port changes from the normal power - supply state to the power - off state; Reading the recorded power - off reason information of the Ethernet power - supply port; Determining that the recorded power - off reason information is that the maintaining power - supply signature current (MPS) is abnormal, and modifying the current MPS threshold of the Ethernet power - supply port to a lower new MPS threshold; or, Determining that the recorded power - off reason information is that the number of times the actual output current of the Ethernet power - supply port exceeds the output current threshold is greater than the specified over - current number threshold, modifying the port mode of the Ethernet power - supply port to the custom mode and setting the output power of the Ethernet power - supply port to the corresponding power greater than the maximum hierarchical current range; or, Determining that the recorded power - off reason information is that the short - circuit statistical value of the Ethernet power - supply port continuously increases, and outputting a prompt message for troubleshooting the abnormal power - receiving device.

3. The method according to claim 1, wherein Performing inrush current adjustment processing on the Ethernet power - supply port; Detecting that the power - receiving device connected to the Ethernet power - supply port repeatedly switches between power - on and power - off; Setting the Ethernet power - supply port to the high - inrush - current mode.

4. The method according to claim 1, wherein The performing of the hierarchical current measurement processing on the power - receiving device includes: Sending hierarchical voltage through the Ethernet power - supply port; Receiving hierarchical current through the Ethernet power - supply port; Determining that the current value of the hierarchical current is within the effective range, and determining the power level of the power - receiving device connected to the Ethernet power - supply port based on the current value of the hierarchical current; or, Determining that the current value of the hierarchical current is not within the effective range, and setting the output power of the Ethernet power - supply port to the corresponding power of the maximum hierarchical current range.

5. The method according to claim 1, characterized in that, The performing of the standard power - receiving device detection processing includes: Reading the power - receiving device fault information of the power - receiving device connected to the recorded Ethernet power - supply port; Determining that the power - receiving device fault information is that the detection resistance of the power - receiving device is lower than or higher than the detection resistance range; setting the detection resistance range to the custom - relaxed detection resistance range; or, Determining that the power - receiving device fault information is that the detection capacitor of the power - receiving device is higher than the detection capacitor range; setting the detection capacitor range to the custom PoE - port - relaxed detection capacitor range; or, Determining that the power - receiving device fault information is that the power - receiving device is a short - circuit device, and outputting a short - circuit prompt message through the port indicator light of the Ethernet power - supply port; or, Determining that the power - receiving device fault information is that no power - receiving device is connected; outputting a prompt message for checking the connection of the power - receiving device, receiving the confirmation information that the power - receiving device is connected, and outputting the power - receiving device detection information for prompting to check the device supporting PoE power supply of the power - receiving device and confirm the power - receiving voltage of the device; or Determining that the read power - receiving device fault information is an Ethernet power - supply port fault, and outputting an Ethernet power - supply port fault prompt message.

6. The method according to claim 1, wherein The performing of the standard power - receiving device detection processing includes: Read the power - receiving device fault information of the power - receiving device connected to the Power over Ethernet (PoE) port for recording; Determine that the power - receiving device fault information is that the maintained power - supply signature current (MPS) is abnormally lower than the current MPS threshold, and modify the current MPS threshold to a lower new MPS threshold; or, Determine that the power - receiving device fault information is that the PoE port is short - circuited, the PoE port refuses to supply power, the PoE port is overheated, the PoE port fails to start, the PoE port has undervoltage, or the PoE port has overvoltage, and output the power - receiving device fault information; or, Determine that the power - receiving device fault information is that the PoE port is overloaded, modify the port mode of the PoE port to the custom mode and set the output power of the PoE port to the corresponding power greater than the maximum classification current range; Determine that the power - receiving device fault information is insufficient power of the power - supply device, and output a power - supply replacement prompt message.

7. The method according to claim 1, characterized in that, The execution of the power - supply device self - inspection and diagnosis process includes: Power - supply device version self - inspection process; Execute the maximum output power self - inspection process; Execute the PoE port configuration self - inspection process.

8. The method according to claim 7, wherein The power - supply device version self - inspection process includes: Read the hardware version information and firmware version information of the power - supply device; Determine that the reading of the power - supply device hardware version fails or the reading of the power - supply device firmware version fails, execute the upgrade of the power - supply device hardware version or the upgrade of the power - supply device firmware version, and complete the upgrade of the power - supply device hardware version or the upgrade of the power - supply device firmware version; or, if the upgrade of the power - supply device hardware version is not completed or the upgrade of the power - supply device firmware version is not completed, then output a hardware version upgrade processing prompt or a firmware version upgrade processing prompt; or, Read the hardware version information and firmware version information of the power - supply device, and determine that the hardware version and firmware version of the power - supply device are in a normal state.

9. The method according to claim 7, characterized in that The execution of the maximum output power self - inspection process includes; Check the maximum output power of the power - supply device; When the maximum output power of the power - supply device is abnormal; Read the external power supply model; Set the local maximum allowable output power of the external power supply recorded by the power management unit according to the output power corresponding to the external power supply signal.

10. The method according to claim 7, wherein The execution of the PoE port configuration self - inspection process includes: Read the current configuration parameters of the PoE port; Determine that the default configuration parameters of the PoE port are inconsistent with the current configuration parameters, and configure the default configuration parameters of the PoE port based on the default configuration parameters.

11. A device for diagnosing a Power over Ethernet port, comprising a processor, a machine-readable storage medium, a memory, a switching chip, and a Power over Ethernet port; characterized in that, The processor executes the method according to any one of claims 1 - 9 by running the machine - executable instructions recorded in the machine - readable storage medium.