# Patent

## Title
Power over ethernet (PoE) power supplying method and apparatus

## Abstract

A power over Ethernet (PoE) power supplying method where power sourcing equipment (PSE) and a powered device exchange link layer discovery protocol data units (LLDPDUs). Each of the LLDPDUs includes two power values. Each of the power values indicates requested or allocated power for one of two sets of cable pairs of the Ethernet twisted pair connecting the PSE and the powered device. Accordingly, the supplied powers to the powered device at sets of cable pairs are independent from each other.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 15/066,630, filed on Mar. 10, 2016. The U.S. Patent Application claims priority to Chinese Patent Application No. 201510105380.X, filed on Mar. 10, 2015. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.


TECHNICAL FIELD
The present disclosure relates to the field of power over Ethernet technologies, and in particular, to a power over Ethernet method and an apparatus.
BACKGROUND
Power over Ethernet (PoE) is a technology that transmits both Ethernet data and power using a twisted pair, where the power refers to supplied electricity.
According to rules of the Telecommunications Industry Association (TIA)/Electronic Industries Alliance (EIA) 568 (TIA/EIA-568), a cable pair 3 includes a cable (cable 1) connected to a pin 1 and a cable (cable 2) connected to a pin 2 that are in an 8 position 8 contact (8P8C) modular connector of an Ethernet twisted pair, and a cable pair 2 includes a cable (cable 3) connected to a pin 3 and a cable (cable 6) connected to a pin 6 that are in the 8P8C modular connector. A cable pair 1 includes a cable (cable 4) connected to a pin 4 and a cable (cable 5) connected to a pin 5 that are in the 8P8C modular connector, and a cable pair 4 includes a cable (cable 7) connected to a pin 7 and a cable (cable 8) connected to a pin 8 that are in the 8P8C modular connector.
A PoE device includes two categories: power sourcing equipment (PSE) and a powered device (PD), and the PoE device may also be both the PSE and the PD. The PSE is equipment supplying power to the PD. The PD is a device, for example, an Internet Protocol (IP) telephone, a web camera, a wireless access point (AP), a personal digital assistant (PDA), an IP camera, a light emitting diode (LED) lamp, or a notebook computer, that receives power.
Conventional PSE supports supplying power using only two cable pairs. For example, the PSE supports supplying power using only a cable 1, a cable 2, a cable 3, and a cable 6 that are in an Ethernet twisted pair, or using only a cable 4, a cable 5, a cable 7, and a cable 8 that are in an Ethernet twisted pair. For example, if the PSE supplies power using the cable 1, the cable 2, the cable 3, and the cable 6 that are in the Ethernet twisted pair, the PSE sends a detection signal to a peer end, and when detecting that a resistance and a capacitance of the peer end fall within a given range, for example, the resistance falls within a range of 19 kilohm (kΩ) to 26.5 kΩ, and the capacitance is 0.150 microfarad (μF), the PSE determines that the peer end is connected to a valid PD.
A negotiation level between the PSE and the PD is level 0 to level 4. When the negotiation level is level 4, the PSE supplies maximum power, and output power is approximately 30 watt (W). With development of PoE application, categories of the PD become increasingly rich, and there are more PDs having a power requirement of being greater than 30 W, and are generally referred to as high power powered devices. When a power required by a PD is greater than 30 W, the PSE needs to supply power using four cable pairs, that is, supply power to the PD using both a first set of cable pairs and a second set of cable pairs. The first set of cable pairs, also referred to as an Alternative A (ALT A), includes a cable pair 2 and a cable pair 3, that is, includes a cable 1, a cable 2, a cable 3, and a cable 6. The second set of cable pairs, also referred to as an Alternative B (ALT B), includes a cable pair 1 and a cable pair 4, that is, includes a cable 4, a cable 5, a cable 7, and a cable 8.
However, currently, when supplying power using four cable pairs, the PSE still cannot distinguish PDs of different design types. Therefore, the PSE cannot supply power to a PD correctly and effectively according to a design type of the PD at a peer end, resulting in cases in which supplied power is insufficient, causing a power outage of the PD, or distributed power is excessively high, causing a waste of system power.
SUMMARY
Embodiments of the present disclosure provide a power over Ethernet method and an apparatus, which can determine a design type of a PD at a peer end in order to correctly and effectively supply power to the PD connected at the peer end.
According to a first aspect, a power over Ethernet method is provided, including detecting and determining, by PSE, that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, receiving, by the PSE, a first Link Layer Discovery Protocol data unit (LLDPDU) from a PD, where the first LLDPDU includes a load quantity type-length-value (TLV), and the load quantity TLV is used to notify a quantity of PD loads included in the PD, and the PD is connected to the PSE using the Ethernet twisted pair, and in a case in which the PSE determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, if the PSE determines, according to the load quantity TLV, that the PD includes two PD loads, supplying, by the PSE, power to the PD at a first power using the first set of cable pairs, and supplying power to the PD at a second power using the second set of cable pairs, where the first power and the second power are independent of each other.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs, and correspondingly, the method further includes sending, by the PSE, a second LLDPDU to the PD, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power that is allocated by the PSE to the first set of cable pairs and the second power that is allocated to the second set of cable pairs.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the method further includes, if the PSE determines, according to the load quantity TLV, that the PD includes only one PD load, supplying, by the PSE, power to the PD according to power requirement information of the PD.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs, and correspondingly, the supplying, by the PSE, power to the PD according to power requirement information of the PD includes allocating, by the PSE, a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV, sending, by the PSE, a third LLDPDU to the PD, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated by the PSE to the first set of cable pairs and the second set of cable pairs, and supplying, by the PSE, power to the PD at the third power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, if the first required power and the second required power that are requested in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD, an error of a required power requested in the power request TLV, and the third power is a smaller required power of the first required power and the second required power that are in the power request TLV.
With reference to the second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a total required power of the Ethernet twisted pair, and correspondingly, the supplying, by the PSE, power to the PD according to power requirement information of the PD includes allocating, by the PSE, a total power to the Ethernet twisted pair according to the total required power in the power request TLV, sending, by the PSE, a fourth LLDPDU to the PD, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated by the PSE to the Ethernet twisted pair, and if the total required power in the power request TLV is not greater than a given power value, supplying, by the PSE, power to the PD at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, supplying, by the PSE, power to the PD at half the total power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
With reference to the second possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, and correspondingly, the supplying, by the PSE, power to the PD according to power requirement information of the PD includes allocating, by the PSE, a fourth power to the first set of cable pairs or the second set of cable pairs according to the required power of the first set of cable pairs or the second set of cable pairs in the power request TLV, sending, by the PSE, a fifth LLDPDU to the PD, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated by the PSE to the first set of cable pairs or the second set of cable pairs, and supplying, by the PSE, power to the PD at the fourth power using the first set of cable pairs or the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs.
With reference to any one of the first aspect and the first to sixth possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, the first LLDPDU further includes a power receiving configuration TLV, and the power receiving configuration TLV is used to notify the PSE of a status of a configuration of receiving power by the PD from the Ethernet twisted pair, and correspondingly, the method further includes determining, by the PSE according to the power receiving configuration TLV, that the PD receives power from both the first set of cable pairs and the second set of cable pairs.
With reference to the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the first LLDPDU further includes an interface quantity TLV, and the interface quantity TLV is used to notify the PSE of a quantity of PD interfaces included in the PD, and correspondingly, the method further includes, when the PSE determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, determining, by the PSE according to the interface quantity TLV, whether the PD includes two PD interfaces.
With reference to any one of the first aspect and the first to eighth possible implementation manners of the first aspect, in a ninth possible implementation manner of the first aspect, the detecting and determining, by PSE, that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device includes sending, by the PSE, a first detection voltage or a first detection current to a peer end along the first set of cable pairs, and obtaining a first impedance, sending, by the PSE, a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtaining a second impedance, and if both the first impedance and the second impedance fall within the preset range, determining that both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device.
According to a second aspect, PSE is provided, including a first detection module configured to detect and determine whether both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, a receiving module configured to receive a first LLDPDU from a PD, where the first LLDPDU includes a load quantity TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD, and the PD is connected to the PSE using the Ethernet twisted pair, a first determining module configured to, in a case in which the PSE determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, determine, according to the load quantity TLV, whether the PD includes two PD loads or one PD load, and a first power supply module configured to, when the first determining module determines that the PD includes two PD loads, supply power to the PD at a first power using the first set of cable pairs, and supply power to the PD at a second power using the second set of cable pairs, where the first power and the second power are independent of each other.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs, and correspondingly, the first power supply module is further configured to send a second LLDPDU to the PD, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power that is allocated by the PSE to the first set of cable pairs and the second power that is allocated to the second set of cable pairs.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the PSE further includes a second power supply module configured to supply power to the PD according to power requirement information of the PD when the first determining module determines that the PD includes only one PD load.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs, and the second power supply module is further configured to allocate a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV, send a third LLDPDU to the PD, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated by the PSE to the first set of cable pairs and the second set of cable pairs, and supply power to the PD at the third power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, if the first required power and the second required power that are requested in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD, an error of a required power requested in the power request TLV, and the third power is a smaller required power of the first required power and the second required power that are in the power request TLV.
With reference to the second possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a total required power of the Ethernet twisted pair, and correspondingly, the second power supply module is further configured to allocate a total power to the Ethernet twisted pair according to the total required power in the power request TLV, send a fourth LLDPDU to the PD, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated by the PSE to the Ethernet twisted pair, and if the total required power in the power request TLV is not greater than a given power value, supply power to the PD at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, supply power to the PD at half the total power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
With reference to the second possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the first LLDPDU further includes a power request TLV, and the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, and correspondingly, the second power supply module is further configured to allocate a fourth power to the first set of cable pairs or the second set of cable pairs according to the required power of the first set of cable pairs or the second set of cable pairs in the power request TLV, send a fifth LLDPDU to the PD, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated by the PSE to the first set of cable pairs or the second set of cable pairs, and supply power to the PD at the fourth power using the first set of cable pairs or the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs.
With reference to any one of the second aspect and the first to sixth possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the first LLDPDU further includes a power receiving configuration TLV, and the power receiving configuration TLV is used to notify the PSE of a status of a configuration of receiving power by the PD from the Ethernet twisted pair, and the PSE further includes a second determining module configured to determine, according to the power receiving configuration TLV, whether the PD receives power from both the first set of cable pairs and the second set of cable pairs.
With reference to the seventh possible implementation manner of the second aspect, in an eighth possible implementation manner of the second aspect, the first LLDPDU further includes an interface quantity TLV, and the interface quantity TLV is used to notify the PSE of a quantity of PD interfaces included in the PD. The PSE further includes a third determining module configured to, when the second determining module determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, determine, according to the interface quantity TLV, whether the PD includes two PD interfaces.
With reference to any one of the second aspect and the first to eighth possible implementation manners of the second aspect, in a ninth possible implementation manner of the second aspect, the first detection module is further configured to send a first detection voltage or a first detection current to a peer end along the first set of cable pairs, and obtain a first impedance, send a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtain a second impedance, and if both the first impedance and the second impedance fall within the preset range, determine that both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device.
According to a third aspect, a power over Ethernet system is provided, including a PD and the PSE according to any one of the second aspect and the first to ninth possible implementation manners of the second aspect, where the PSE supports supplying power using four pairs of cables, and the PD is connected to the PSE using an Ethernet twisted pair, and the PD is configured to send a first LLDPDU to the PSE, where the first LLDPDU includes a load quantity TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD.
According to the PoE method, the device, and the system that are provided in the embodiments of the present disclosure, the PSE detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, receives a first LLDPDU sent by a PD, where the PD is connected to the PSE using the Ethernet twisted pair, in a case in which the PSE determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, determines, according to a load quantity TLV in the first LLDPDU, whether the PD includes one PD load or two PD loads such that a design type of the PD is determined. When it is determined that the PD includes two PD loads, separately supplies, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other. Therefore, it is ensured that power can be supplied to a PD correctly and effectively.



BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is a schematic diagram 1 of a power over Ethernet scenario according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram 2 of a PoE scenario according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram 3 of a PoE scenario according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram 4 of a PoE scenario according to an embodiment of the present disclosure;
FIG. 5 is a schematic flowchart of a PoE method according to an embodiment of the present disclosure;
FIG. 6 is a schematic flowchart of another PoE method according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of PSE according to an embodiment of the present disclosure;
FIG. 8 is another schematic structural diagram of PSE according to an embodiment of the present disclosure; and
FIG. 9 is a schematic structural diagram of a PoE system according to an embodiment of the present disclosure.



DESCRIPTION OF EMBODIMENTS
The Link Layer Discovery Protocol (LLDP) provides a standard link layer discovery manner in which information such as a main capability, a management address, a device identifier, and an interface identifier of a local device may be organized as different TLV, and the different TLV are encapsulated into a LLDPDU, and are notified to a neighbor.
Embodiments of the present disclosure are described below with reference to the accompanying drawings of the specification.
In a case in which PSE supports supplying power using four cable pairs, a PD may be connected to the PSE in different manners, a PD connected to the PSE may also have different design types, and different PoE scenarios shown in FIG. 1 to FIG. 4 may be included.
In the embodiments of the present disclosure, a PD interface refers to a circuit or a logical unit that is in a PD and that provides power supply characteristic information and control, for example, detection, classification, and disconnection.
FIG. 1 is a schematic diagram 1 of a PoE scenario according to an embodiment of the present disclosure. A PD 1 is connected to PSE using a standard Ethernet twisted pair. The PD 1 includes only one PD interface, and both a first set of cable pairs and a second set of cable pairs of the standard Ethernet twisted pair are connected to the PD interface of the PD 1.
FIG. 2 is a schematic diagram 2 of a PoE scenario according to an embodiment of the present disclosure. A PD 2 is connected to PSE using a standard Ethernet twisted pair. The PD 2 includes two PD interfaces, a first PD interface and a second PD interface. A first set of cable pairs of the standard Ethernet twisted pair is connected to the first PD interface, and a second set of cable pairs of the standard Ethernet twisted pair is connected to the second PD interface. The PD 2 includes only one PD load, and the PD load is connected to both the first PD interface and the second PD interface.
FIG. 3 is a schematic diagram 3 of a PoE scenario according to an embodiment of the present disclosure. A PD 3 is connected to PSE using a standard Ethernet twisted pair. The PD 3 includes two PD interfaces, a first PD interface and a second PD interface. A first set of cable pairs of the standard Ethernet twisted pair is connected to the first PD interface, and a second set of cable pairs of the standard Ethernet twisted pair is connected to the second PD interface. The PD 3 includes two PD loads, a first PD load and a second PD load, where the first PD load is connected to the first PD interface and obtains power from the first PD interface, and the second PD load is connected to the second PD interface and obtains power from the second PD interface.
FIG. 4 is a schematic diagram 4 of a PoE scenario according to an embodiment of the present disclosure. A PD 4 and a PD 5 are connected to PSE using a Y-type Ethernet twisted pair. The PD 4 is connected to the PSE using a first set of cable pairs of the Y-type Ethernet twisted pair, and the PD 5 is connected to the PSE using a second set of cable pairs of the Y-type Ethernet twisted pair.
Referring to FIG. 5, an embodiment of the present disclosure provides a PoE method, including the following steps.
Step 501: PSE detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device.
The PSE supports supplying power using four cable pairs.
The PSE sends a first detection voltage or a first detection current to a peer end along the first set of cable pairs, and obtains a first impedance, sends a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains a second impedance, and if both the first impedance and the second impedance fall within a preset range, determines that both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device.
Step 502: The PSE receives a first LLDPDU from a PD, where the first LLDPDU includes a load quantity TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD.
The PD is connected to the PSE using the Ethernet twisted pair.
Step 503: In a case in which the PSE determines that the PD includes two PD interfaces and the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs, if the PSE determines, according to the load quantity TLV, that the PD includes two PD loads, the PSE supplies power to the PD at a first power using the first set of cable pairs, and supplies power to the PD at a second power using the second set of cable pairs.
The first power and the second power are independent of each other.
Supplying power at the first power means that an allocated power is the first power.
In a case in which the PSE determines that the PD includes two PD interfaces, for example, a first PD interface and a second PD interface, and the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs, for example, the first PD interface is connected to the first set of cable pairs, and the second PD interface is connected to the second set of cable pairs, if the PSE determines, according to the load quantity TLV, that the PD includes two PD loads, for example, a first PD load and a second PD load, the PSE supplies power to the first PD load at the first power using the first set of cable pairs, and supplies power to the second PD load at the second power using the second set of cable pairs, where the first PD load is connected to the first PD interface and obtains power from the first PD interface, and the second PD load is connected to the second PD interface and obtains power from the second PD interface. if the PSE determines, according to the load quantity TLV, that the PD includes only one PD load, the PSE supplies power to the PD according to power requirement information of the PD, where the PD load is connected to both the first PD interface and the second PD interface.
In a case in which the PD includes two PD interfaces, the PD may include one PD load or two PD loads.
However, the PSE cannot determine, through detection at a physical layer, whether the PD includes one PD load (the scenario shown in FIG. 2) or two PD loads (the scenario shown in FIG. 3). In this embodiment, the PSE determines, according to the load quantity TLV included in the first LLDPDU from the PD, whether the PD includes one PD load or two PD loads.
For a scenario in which the PSE supports supplying power using four cable pairs, according to the PoE method provided in this embodiment of the present disclosure, one load quantity TLV is added by extending the LLDP, and is added to the LLDPDU that is sent by the PD to the PSE, to notify the PSE of a quantity of PD loads included in the PD.
According to the PoE method provided in this embodiment of the present disclosure, PSE detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, determines that a PD receives power from both the first set of cable pairs and the second set of cable pairs, and in a case in which the PD includes two PD interfaces, determines, according to a load quantity TLV, whether the PD includes one PD load or two PD loads such that a design type of the PD is determined. When it is determined that the PD includes two PD loads, the PSE separately supplies, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other. Therefore, it is ensured that power can be supplied to a PD correctly and effectively.
With reference to the method shown in FIG. 5, in a case in which the PSE detects and determines that both the first set of cable pairs and the second set of cable pairs of the Ethernet twisted pair are connected to the valid powered device, as shown in FIG. 6, an embodiment of the present disclosure provides another PoE method, including the following steps.
Step 601: PSE detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device.
The PSE supports supplying power using four cable pairs.
In an implementation manner, the PSE sends a first detection voltage to a peer end along the first set of cable pairs in the Ethernet twisted pair, and obtains the first impedance according to the first detection voltage and a current that is detected from the first set of cable pairs, sends a second detection voltage to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains a second impedance according to the second detection voltage and a current that is detected from the second set of cable pairs.
In another implementation manner, the PSE sends a first detection current to a peer end along the first set of cable pairs in the Ethernet twisted pair, and obtains a first impedance according to the first detection current and a voltage that is detected from the first set of cable pairs, sends a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains a second impedance according to the second detection voltage and a voltage that is detected from the second set of cable pairs.
The PSE determines, according to the first impedance and the second impedance, whether both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device, and if the first impedance falls within a preset range and the second impedance falls beyond the preset range, the PSE determines that the first set of cable pairs is connected to a valid powered device, and powers on only the first set of cable pairs at a default power. In this case, power negotiation and power supply can be subsequently performed according to a conventional manner. This process ends, or if the second impedance falls within a preset range and the first impedance falls beyond the preset range, the PSE determines that the second set of cable pairs is connected to the valid powered device, and powers on the second set of cable pairs only at a default power. In this case, power negotiation and power supply can be subsequently performed according to a conventional manner. This process ends, or if both the first impedance and the second impedance fall within a preset range, the PSE determines that both the first set of cable pairs and second set of cable pairs are connected to a valid powered device, and may separately power on the first set of cable pairs and the second set of cable pairs at a default power.
The default power is usually at level 0, and when the default power is at level 0, the PSE provides a minimum power. Certainly, the default power may be defined as another value as required.
In an application, if a status of PD connection at a peer end needs to be determined according to a resistance value in the first impedance, a capacitance value in the first impedance, a resistance value in the second impedance, and a capacitance value in the second impedance, the preset range includes a resistance value range and a capacitance value range.
In an application, the status of PD connection at the peer end may be determined only according to the resistance value in the first impedance and the resistance value in the second impedance, and in this case, the preset range includes only the resistance value range.
Step 602: The PSE receives a first LLDPDU from a PD, where the first LLDPDU includes a load quantity TLV and a power request TLV, and further includes a power receiving configuration TLV and an interface quantity TLV.
The PD is connected to the PSE using the Ethernet twisted pair.
The load quantity TLV is used to notify a quantity of PD loads included in the PD, and the quantity may be one or two.
The power request TLV is used to notify the PSE of power requirement information of the PD.
The interface quantity TLV is used to notify the PSE of a quantity of PD interfaces included in the PD, and the quantity may be one or two.
The power receiving configuration TLV is used to notify the PSE of a status of a configuration of receiving power by the PD from the Ethernet twisted pair, and the status includes any one of the following, receiving power from only the first set of cable pairs, receiving power from only the second set of cable pairs, and receiving power from both the first set of cable pairs and the second set of cable pairs.
Step 603: The PSE determines, according to the power receiving configuration TLV, that the PD receives power from both the first set of cable pairs and the second set of cable pairs.
The PSE determines, according to the power receiving configuration TLV, that a status of a configuration of receiving power by the PD, and if it is determined that the PD receives power from only the first set of cable pairs, the PSE determines that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the first set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 4 shown in FIG. 4. The process ends, or if it is determined that the PD receives power from only the second set of cable pairs, the PSE determines that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the second set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 5 shown in FIG. 4. The process ends, or if it is determined that the PD receives power from both the first set of cable pairs and the second set of cable pairs, the PSE determines that the Ethernet twisted pair is a standard-type Ethernet twisted pair, and the PD is connected to the PSE using both the first set of cable pairs and the second set of cable pairs that are in the standard-type Ethernet twisted pair, as shown in any one of FIG. 1 to FIG. 3. Proceed to step 604.
Step 604: The PSE determines, according to the interface quantity TLV, that the PD includes two PD interfaces.
Furthermore, in a case in which it is determined that the PD receives power from both the first set of cable pairs and the second set of cable pairs, the PSE determines, according to the interface quantity TLV, whether the PD includes one PD interface or two PD interfaces, and if it is determined, according to the interface quantity TLV, that the PD includes only one PD interface, it indicates that the PD interface is connected to both the first set of cable pairs and the second set of cable pairs, as shown in FIG. 1. The PSE may perform power negotiation with the PD and supply power to the PD in a conventional manner. The process ends, or if it is determined, according to the interface quantity TLV, that the PD includes two PD interfaces, it indicates that the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs. For example, the two PD interfaces is a first PD interface and a second PD interface, the first PD interface is connected to the first set of cable pairs, and the second PD interface is connected to the second set of cable pairs, as shown in FIG. 2 or FIG. 3. Proceed to step 605.
Step 605: The PSE determines, according to the load quantity TLV, whether the PD includes two PD loads or includes only one PD load.
If the PSE determines, according to the load quantity TLV, that the PD includes two PD loads, for example, a first PD load and a second PD load, where the first PD load is connected to the first PD interface and obtains power from the first PD interface, and the second PD load is connected to the second PD interface and obtains power from the second PD interface, proceed to step 606 to step 608, or if the PSE determines, according to the load quantity TLV, that the PD includes only one PD load, and the PD load is connected to both the first PD interface and the second PD interface, proceed to step 609.
Step 606: The PSE allocates a first power to the first set of cable pairs and allocates a second power to the second set of cable pairs according to the power request TLV.
The power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs that are requested from the PSE.
The first power and the second power are independent of each other, and the first power and the second power may be the same, or may be different.
The first power is usually less than or equal to the first required power in the power request TLV. The second power is usually less than or equal to the second required power in the power request TLV.
Step 607: The PSE sends a second LLDPDU to the PD, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power that is allocated by the PSE to the first set of cable pairs and the second power that is allocated to the second set of cable pairs.
Step 608: The PSE supplies power to the PD at the first power using the first set of cable pairs, and supplies power to the PD at the second power using the second set of cable pairs.
Further, the PSE supplies power to the first PD load at the first power using the first set of cable pairs, and supplies power to the second PD load at the second power using the second set of cable pairs.
Step 609: The PSE supplies power to the PD according to power requirement information of the PD.
Furthermore, that the PSE acquires the power requirement information of the PD according to the power request TLV, negotiates a supply power with the PD according to the power requirement information of the PD, and supplies power to the PD includes, if the power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs, step 610 to step 612 are performed, or if the power request TLV includes a total required power of the Ethernet twisted pair, step 613 to step 615 are performed, or if the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, step 616 to step 618 are performed.
Step 610: The PSE allocates a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV.
Furthermore, the PSE determines whether the first required power and the second required power that are requested in the power request TLV are the same, and if the first required power and the second required power that are in the power request TLV are the same, the PSE allocates the third power to the first set of cable pairs and also allocates the third power to the second set of cable pairs according to the first required power or the second required power in the power request TLV, or if the first required power and the second required power that are in the power request TLV are different, the PSE allocates the third power to the first set of cable pairs and the second set of cable pairs according to a smaller required power of the first required power and the second required power.
The third power is usually less than or equal to the first required power and the second required power, that is, the third power must be less than or equal to both the first required power and the second required power.
Step 611: The PSE sends a third LLDPDU to the PD, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated by the PSE to the first set of cable pairs and the third power that is allocated to the second set of cable pairs.
Optionally, if the first required power and the second required power that are in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD, an error of a required power requested in the power request TLV.
Step 612: The PSE supplies power to the PD at the third power using both the first set of cable pairs and the second set of cable pairs.
Furthermore, the PSE supplies power to the PD load at the third power using the first set of cable pairs, and supplies power to the PD load at the third power using the second set of cable pairs. In this way, the PD load may obtain power using both the first set of cable pairs and the second set of cable pairs.
Step 613: The PSE allocates a total power to the Ethernet twisted pair according to the total required power in the power request TLV.
The total power is usually less than or equal to the total required power in the power request TLV.
Step 614: The PSE sends a fourth LLDPDU to the PD, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated by the PSE to the Ethernet twisted pair.
Step 615: The PSE supplies power to the PD according to the total power.
Furthermore, if the total required power in the power request TLV is not greater than a given power value, the PSE supplies power to the PD at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, the PSE supplies power to the PD at the total power using both the first set of cable pairs and the second set of cable pairs.
When power is supplied to the PD at the total power using both the first set of cable pairs and the second set of cable pairs, each of a supply power of the first set of cable pairs and a supply power of the second set of cable pairs is half the total power.
The given power value is a maximum power at level 4, that is, a maximum power, 30 W, that can be provided by the PSE. Certainly, the given power value may be another value according to an actual case.
Step 616: The PSE allocates a fourth power to the first set of cable pairs or the second set of cable pairs according to a required power, requested in the power request TLV, of the first set of cable pairs or the second set of cable pairs.
In this scenario, it indicates that a power required by the PD is less than the maximum power at level 4, as long as power is obtained using the first set of cable pairs or the second set of cable pairs.
Step 617: The PSE sends a fifth LLDPDU to the PD, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated by the PSE to the first set of cable pairs or the second set of cable pairs.
Step 618: The PSE supplies power to the PD at the fourth power using the first set of cable pairs or the second set of cable pairs.
For a scenario in which the PSE supports supplying power using four cable pairs, according to the PoE method provided in this embodiment of the present disclosure, the LLDP is further extended, a status of a configuration of receiving power by the PD and a quantity of PD interfaces are notified to the PSE using the power receiving configuration TLV and the interface quantity TLV that are carried in an LLDPDU, and the supply powers of the first set of cable pairs and the second set of cable pairs are negotiated with the PSE using the power request TLV that are carried in an LLDPDU.
According to the PoE method provided in this method of the present disclosure, in a case in which PSE determines, through physical detection, that both a first set of cable pairs and a second set of cable pairs are connected to a valid powered device, the PSE determines, according to a power receiving configuration TLV in a first LLDPDU, whether a PD receives power from both the first set of cable pairs and the second set of cable pairs. In a case in which it is determined that the PD receives power from both the first set of cable pairs and the second set of cable pairs, the PSE determines, according to an interface quantity TLV, whether the PD includes two PD interfaces. In a case in which it is determined that the PD includes two PD interfaces, the PSE determines, according to a load quantity TLV, whether the PD includes one PD load or two PD loads, and when it is determined that the PD includes two PD loads, the PSE separately supplies, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other, and when the PD includes only one PD load, the PSE supplies power to the PD load using the first set of cable pairs and/or the second set of cable pairs according to power requirement information of the PD. Therefore, it is ensured that power can be supplied to a PD correctly and effectively.
An embodiment of the present disclosure provides PSE. As shown in FIG. 7, the PSE includes a first detection module 701, a receiving module 702, a first determining module 703, and a first power supply module 704. The PSE supports supplying power using four cable pairs.
The first detection module 701 is configured to detect and determine whether both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device.
Furthermore, the first detection module 701 is configured to send a first detection voltage or a first detection current to a peer end along the first set of cable pairs, and obtain a first impedance, send a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtain a second impedance, and determine, according to the first impedance and the second impedance, whether both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device. Furthermore, the first detection module 701 is configured to send the first detection voltage to the peer end along the first set of cable pairs in the Ethernet twisted pair, and obtain the first impedance according to the first detection voltage and a current that is detected from the first set of cable pairs, and send the second detection voltage to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtain the second impedance according to the second detection voltage and a current that is detected from the second set of cable pairs. Alternatively, the first detection module 701 is configured to send the first detection current to the peer end along the first set of cable pairs in the Ethernet twisted pair, and obtain the first impedance according to the first detection current and a voltage that is detected from the first set of cable pairs, and send the second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtain the second impedance according to the second detection voltage and a voltage that is detected from the second set of cable pairs.
If the first impedance falls within a preset range and the second impedance falls beyond the preset range, it is determined that the first set of cable pairs is connected to a valid powered device. The PSE may power on the first set of cable pairs only at a default power.
If the second impedance falls within the preset range and the first impedance falls beyond the preset range, it is determined that the second set of cable pairs is connected to a valid powered device. The PSE may power on the second set of cable pairs only at a default power.
If both the first impedance and the second impedance fall within the preset range, it is determined that both the first set of cable pairs and the second set of cable pairs are connected to the valid powered device. The PSE may separately power on both the first set of cable pairs and the second set of cable pairs at a default power.
The default power is usually at level 0, and when the default power is at level 0, the PSE provides a minimum power.
In an actual application, if a status of a connection by a PD of a peer end needs to be determined according to a resistance value in the first impedance, a capacitance value in the first impedance, a resistance value in the second impedance, and a capacitance value in the second impedance, the preset range includes a resistance value range and a capacitance value range.
In an actual application, the status of a connection by the PD of the peer end may alternatively be determined according to only the resistance value in the first impedance and the resistance value in the second impedance, and in this case, the preset range includes only the resistance value range.
The receiving module 702 is configured to receive a first LLDPDU from a PD, where the first LLDPDU includes a load quantity TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD; and the PD is connected to the PSE using the Ethernet twisted pair.
The first determining module 703 is configured to, in a case in which the PSE determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, determine, according to the load quantity TLV, whether the PD includes two PD loads or one PD load.
The first power supply module 704 is configured to, when the first determining module 703 determines that the PD includes two PD loads, supply power to the PD at a first power using the first set of cable pairs, and supply power to the PD at a second power using the second set of cable pairs, where the first power and the second power are independent of each other.
Optionally, the first LLDPDU further includes a power request TLV, and the power request TLV is used to notify the PSE of power requirement information of the PD, where the power requirement information includes any one of the following: a required power of the first set of cable pairs, a required power of the second set of cable pairs, a required power of the first set of cable pairs and a required power of the second set of cable pairs, and a total required power of the Ethernet twisted pair.
The first power supply module 704 is further configured to allocate the first power to the first set of cable pairs and allocate the second power to the second set of cable pairs according to a first required power of the first set of cable pairs and a second required power of the second set of cable pairs that are in the power request TLV, and send a second LLDPDU to the PD, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power and the second power. The power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs.
Further, the PSE may further include a second power supply module 705 configured to, when the first determining module 703 determines that the PD includes only one PD load, supply power to the PD according to power requirement information of the PD.
In a first possible case, the power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs, and correspondingly, the second power supply module 705 is further configured to allocate a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV, send a third LLDPDU to the PD, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated by the PSE to the first set of cable pairs and the second set of cable pairs, and supply power to the PD at the third power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
The second power supply module is further configured to determine whether the first required power and the second required power that are in the power request TLV are the same, and if the first required power and the second required power that are in the power request TLV are the same, allocate the third power to the first set of cable pairs and also allocate the third power to the second set of cable pairs according to the first required power or the second required power in the power request TLV, or if the first required power and the second required power that are in the power request TLV are different, allocate the third power to the first set of cable pairs and the second set of cable pairs according to a smaller required power of the first required power and the second required power.
The third power is usually less than or equal to the first required power and the second required power.
Optionally, if the first required power and the second required power that are in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD, an error of a required power requested in the power request TLV.
In a second possible case, the power request TLV includes a total required power of the Ethernet twisted pair, and correspondingly, the second power supply module 705 is further configured to allocate a total power to the Ethernet twisted pair according to the total required power in the power request TLV, send a fourth LLDPDU to the PD, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated by the PSE to the Ethernet twisted pair, and if the total required power in the power request TLV is not greater than a given power value, supply power to the PD at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, supply power to the PD at the total power using both the first set of cable pairs and the second set of cable pairs, where when power is supplied to the PD at the total power using both the first set of cable pairs and the second set of cable pairs, each of a supply power of the first set of cable pairs and a supply power of the second set of cable pairs is half the total power.
The total power is usually less than or equal to the total required power in the power request TLV.
The given power value is a maximum power at level 4, that is, a maximum power, 30 W, that can be provided by the PSE. Certainly, the given power value may be another value according to an actual case.
In a third possible case, the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, and correspondingly, the second power supply module 705 is further configured to allocate a fourth power to the first set of cable pairs or the second set of cable pairs according to the required power of the first set of cable pairs or the second set of cable pairs in the power request TLV, send a fifth LLDPDU to the PD, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated by the PSE to the first set of cable pairs or the second set of cable pairs, and supply power to the PD at the fourth power using the first set of cable pairs or the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs.
In this case, it indicates that a power required by the PD is less than a maximum power at level 4, as long as power is obtained using the first set of cable pairs or the second set of cable pairs.
Further, the first LLDPDU may further include a power receiving configuration TLV. The power receiving configuration TLV is used to notify the PSE of a status of a configuration of receiving power by the PD from the Ethernet twisted pair, and the status includes any one of the following: receiving power from only the first set of cable pairs, receiving power from only the second set of cable pairs, and receiving power from both the first set of cable pairs and the second set of cable pairs.
The PSE may further include a second determining module configured to determine, according to the power receiving configuration TLV, whether the PD receives power from both the first set of cable pairs and the second set of cable pairs, that is, determine a status of a configuration of receiving power by the PD. If it is determined, according to the power receiving configuration TLV, that the PD receives power from only the first set of cable pairs, it may be determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the first set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 4 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD receives power from only the second set of cable pairs, it may be determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the second set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 5 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD receives power from both the first set of cable pairs and the second set of cable pairs, it may be determined that the Ethernet twisted pair is a standard-type Ethernet twisted pair, and the PD is connected to the PSE using both the first set of cable pairs and the second set of cable pairs that are in the standard-type Ethernet twisted pair, as shown in any one of FIG. 1 to FIG. 3.
Optionally, the first LLDPDU further includes an interface quantity TLV, the interface quantity TLV is used to notify the PSE of a quantity of PD interfaces included in the PD, and the quantity may be one or two. The PSE may further include a third determining module configured to, when the second determining module determines that the PD receives power from both the first set of cable pairs and the second set of cable pairs, determine, according to the interface quantity TLV, whether the PD includes two PD interfaces, that is, determine whether the PD includes one PD interface or two PD interfaces. If it is determined, according to the interface quantity TLV, that the PD includes only one PD interface, it indicates that the PD interface is connected to both the first set of cable pairs and the second set of cable pairs, as shown in FIG. 1. If it is determined, according to the interface quantity TLV, that the PD includes two PD interfaces, it indicates that the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs. For example, the two PD interfaces are a first PD interface and a second PD interface, the first PD interface is connected to the first set of cable pairs, and the second PD interface is connected to the second set of cable pairs, as shown in FIG. 2 or FIG. 3.
According to the PSE provided in this embodiment of the present disclosure, the first detection module 701 detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device. In a case in which the first determining module 703 determines that a PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, the first determining module 703 determines, according to a load quantity TLV in a first LLDPDU received by the receiving module 702, whether the PD includes one PD load or two PD loads such that a design type of the PD is determined. When the first determining module 703 determines that the PD includes two PD loads, the first power supply module 704 separately supplies, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other. Therefore, it is ensured that power can be supplied to a PD correctly and effectively.
An embodiment of the present disclosure provides another PSE. As shown in FIG. 8, the PSE includes a PSE chip 801, a processor 802, and a power input terminal 803.
The PSE supports supplying power using four pairs of cables.
The power input terminal 803 is an 8P8C modular connector, which is also referred to as an RJ-45 connector.
The PSE chip 801 is configured to detect whether both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device.
Further, the PSE chip 801 sends a first detection voltage or a first detection current to a peer end along the first set of cable pairs in the Ethernet twisted pair, and obtains a first impedance, sends a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains a second impedance, and if both the first impedance and the second impedance fall within a preset range, determines that both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device.
In a possible implementation manner, the PSE chip 801 sends the first detection voltage to the peer end along the first set of cable pairs in the Ethernet twisted pair, and obtains the first impedance according to the first detection voltage and a current that is detected from the first set of cable pairs, sends the second detection voltage to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains the second impedance according to the second detection voltage and a current that is detected from the second set of cable pairs.
In another possible implementation manner, the PSE chip 801 sends the first detection current to the peer end along the first set of cable pairs in the Ethernet twisted pair, and obtains the first impedance according to the first detection current and a voltage that is detected from the first set of cable pairs, sends the second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains the second impedance according to the second detection current and a voltage that is detected from the second set of cable pairs.
The processor 802 is configured to receive a first LLDPDU from a PD, where the first LLDPDU includes a load quantity type-length-value TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD. In a case in which the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, determine, according to the load quantity TLV, whether the PD includes two PD loads, and in a case in which the PD includes two PD loads, control the PSE chip 801 to supply power to the PD at a first power using the first set of cable pairs, and supply power to the PD at a second power using the second set of cable pairs, where the first power and the second power are independent of each other.
Furthermore, as shown in FIG. 8, two ends of one inductor of a transformer are connected to two contacts in an 8P8C modular connector of an Ethernet twisted pair, and two ends of another inductor of the transformer are connected to a data processing chip in order to receive a data signal. The processor 802 receives the first LLDPDU from the power input terminal 803 using the data processing chip. The PD is connected to the power input terminal 803 using the Ethernet twisted pair in order to be connected to the PSE.
Optionally, the first LLDPDU further includes a power request TLV, and the power request TLV is used to notify the Ethernet power sourcing equipment of power requirement information of the PD, and the power requirement information includes any one of the following, a required power of the first set of cable pairs, a required power of the second set of cable pairs, a required power of the first set of cable pairs and a required power of the second set of cable pairs, and a total required power of the Ethernet twisted pair.
The processor 802 is further configured to, when it is determined that the PD includes two PD loads, allocate the first power to the first set of cable pairs and allocate the second power to the second set of cable pairs according to the power request TLV, where the power request TLV includes a first required power of the first set of cable pairs and a second required power of the second set of cable pairs, send a second LLDPDU to the PD, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power that is allocated to the first set of cable pairs and the second power that is allocated to the second set of cable pairs, and control the PSE chip 801 to supply power to the PD at the first power using the first set of cable pairs, and supply power to the PD at the second power using the second set of cable pairs.
Further, the processor 802 is configured to, in a case in which it is determined that the PD includes only one PD load, supply power to the PD according to power requirement information of the PD, which further includes the following several possible cases.
In a first possible case, the power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs, and the processor 802 is further configured to allocate a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV, send a third LLDPDU to the PD, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated to the first set of cable pairs and the second set of cable pairs, and control the PSE chip 801 to supply power to the PD at the third power using both the first set of cable pairs and the second set of cable pairs.
Optionally, the processor 802 is further configured to determine whether the first required power and the second required power that are in the power request TLV are the same, and if the first required power and the second required power that are in the power request TLV are the same, allocate the third power to the first set of cable pairs and also allocate the third power to the second set of cable pairs according to the first required power or the second required power in the power request TLV, or if the first required power and the second required power that are in the power request TLV are different, allocate the third power to the first set of cable pairs and the second set of cable pairs according to a smaller required power of the first required power and the second required power.
The third power is usually less than or equal to the first required power and the second required power.
Optionally, if the first required power and the second required power that are in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD, an error of a required power requested in the power request TLV.
In a second possible case, the power request TLV includes a total required power of the Ethernet twisted pair, and the processor 802 is further configured to allocate a total power to the Ethernet twisted pair according to the total required power in the power request TLV, send a fourth LLDPDU to the PD, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated to the Ethernet twisted pair, and if the total required power in the power request TLV is not greater than a given power value, control the PSE chip 801 to supply power to the PD at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, control the PSE chip 801 to supply power to the PD at the total power using both the first set of cable pairs and the second set of cable pairs, where when power is supplied to the PD at the total power using both the first set of cable pairs and the second set of cable pairs, each of a supply power of the first set of cable pairs and a supply power of the second set of cable pairs is half the total power.
The total power is usually less than or equal to the total required power in the power request TLV.
The given power value is a maximum power at level 4, that is, a maximum power, 30 W, that can be provided by the PSE. Certainly, the given power value may be another value according to an actual case.
In a third possible case, the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, and the processor 802 is further configured to allocate a fourth power to the first set of cable pairs or the second set of cable pairs according to the required power of the first set of cable pairs or the second set of cable pairs in the power request TLV, send a fifth LLDPDU to the PD, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated to the first set of cable pairs or the second set of cable pairs, and control the PSE chip 801 to supply power to the PD at the fourth power using the first set of cable pairs or the second set of cable pairs.
The first LLDPDU may further include a power receiving configuration TLV, the power receiving configuration TLV is used to notify the PSE of a status of a configuration of receiving power by the PD from the Ethernet twisted pair, and the status includes any one of the following, receiving power from only the first set of cable pairs, receiving power from only the second set of cable pairs, and receiving power from both the first set of cable pairs and the second set of cable pairs.
The processor 802 is further configured to determine, according to the power receiving configuration TLV, whether the PD receives power from both the first set of cable pairs and the second set of cable pairs, that is, determine a status of a configuration of receiving power by the PD. If it is determined, according to the power receiving configuration TLV, that the PD receives power from only the first set of cable pairs, it is determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the first set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 4 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD receives power from only the second set of cable pairs, it is determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD is connected to the PSE using only the second set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 5 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD receives power from both the first set of cable pairs and the second set of cable pairs, it is determined that the Ethernet twisted pair is a standard-type Ethernet twisted pair, and the PD is connected to the PSE using both the first set of cable pairs and the second set of cable pairs that are in the standard-type Ethernet twisted pair, as shown in any one of FIG. 1 to FIG. 3.
Further, the first LLDPDU may further include an interface quantity TLV, the interface quantity TLV is used to notify the PSE of a quantity of PD interfaces included in the PD, and the quantity may be one or two.
The processor 802 may be further configured to, when it is determined that the PD receives power from both the first set of cable pairs and the second set of cable pairs, determine, according to the interface quantity TLV, whether the PD includes two PD interfaces, that is, determine whether the PD includes one PD interface or two PD interfaces. If it is determined, according to the interface quantity TLV, that the PD includes only one PD interface, it indicates that the PD interface is connected to both the first set of cable pairs and the second set of cable pairs, as shown in FIG. 1. If it is determined, according to the interface quantity TLV, that the PD includes two PD interfaces, it indicates that the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs. For example, the two PD interfaces are a first PD interface and a second PD interface, the first PD interface is connected to the first set of cable pairs, and the second PD interface is connected to the second set of cable pairs, as shown in FIG. 2 or FIG. 3.
The processor 802 may be a general purpose processor, including a central processing unit (CPU), a network processor (NP), and the like, or may be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or another programmable logical device.
According to the PSE provided in this embodiment of the present disclosure, in a case in which the PSE chip 801 detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, if the processor 802 determines that a PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD includes two PD interfaces, the processor 802 determines, according to a load quantity TLV in a received first LLDPDU, whether the PD includes one PD load or two PD loads such that a design type of the PD is determined. When it is determined that the PD includes two PD loads, the processor 802 controls the PSE chip 801 to separately supply, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other. Therefore, it is ensured that power can be supplied to a PD correctly and effectively.
An embodiment of the present disclosure provides a PoE system. As shown in FIG. 9, the system includes a PD 901 and PSE 902.
The PSE 902 supports supplying power using four pairs of cables, and the PD 901 is connected to the PSE 902 using an Ethernet twisted pair.
The PSE may be a network device, for example, a switch.
The PSE 902 is configured to detect and determine whether both a first set of cable pairs and a second set of cable pairs of the Ethernet twisted pair are connected to a valid powered device.
Further, the PSE 902 sends a first detection voltage or a first detection current to a peer end along the first set of cable pairs, and obtains a first impedance, sends a second detection voltage or a second detection current to the peer end along the second set of cable pairs in the Ethernet twisted pair, and obtains a second impedance, and if both the first impedance and the second impedance fall within a preset range, determines that both the first set of cable pairs and the second set of cable pairs are connected to a valid powered device.
The PSE 902 is further configured to receive a first LLDPDU from the PD 901, where the first LLDPDU includes a load quantity TLV, and the load quantity TLV is used to notify a quantity of PD loads included in the PD 901. In a case in which the PD 901 receives power from both the first set of cable pairs and the second set of cable pairs, and the PD 901 includes two PD interfaces, determine, according to the load quantity TLV, whether the PD 901 includes two PD loads, and if it is determined that the PD 901 includes two PD loads, supply power to the PD 901 at a first power using the first set of cable pairs, and supply power to the PD 901 at a second power using the second set of cable pairs, where the first power and the second power are independent of each other, or if it is determined that the PD 901 includes only one PD load, supply power to the PD 901 according to power requirement information of the PD 901.
The PD 901 is configured to send the first LLDPDU to the PSE 902.
Optionally, the first LLDPDU further includes a power request TLV, and the power request TLV is used to notify the PSE 902 of power requirement information of the PD 901, where the power requirement information includes any one of the following, a required power of the first set of cable pairs, a required power of the second set of cable pairs, a required power of the first set of cable pairs and a required power of the second set of cable pairs, and a total required power of the Ethernet twisted pair.
The PSE 902 is further configured to, when it is determined that the PD 901 includes two PD loads, allocate the first power to the first set of cable pairs and allocate the second power to the second set of cable pairs according to the power request TLV, where the power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs, send a second LLDPDU to the PD 901, where the second LLDPDU includes a power allocation TLV, and the power allocation TLV includes the first power and the second power, and supply power to the PD 901 at the first power using the first set of cable pairs, and supply power to the PD 901 at the second power using the second set of cable pairs.
The PD 901 is further used to receive the second LLDPDU sent by the PSE 902.
When it is determined that the PD 901 includes only one PD load, the PSE 902 supplies power to the PD according to power requirement information of the PD, which further includes the following several possible cases:
In a first possible case, the power request TLV includes the first required power of the first set of cable pairs and the second required power of the second set of cable pairs, and the PSE 902 is further configured to allocate a third power to the first set of cable pairs and the second set of cable pairs according to the first required power and the second required power that are in the power request TLV, send a third LLDPDU to the PD 901, where the third LLDPDU includes a power allocation TLV, and the power allocation TLV includes the third power that is allocated by the PSE to the first set of cable pairs and the second set of cable pairs, and supply power to the PD 901 at the third power using both the first set of cable pairs and the second set of cable pairs such that the PD load obtains power using both the first set of cable pairs and the second set of cable pairs.
The PSE 902 is further configured to determine whether the first required power and the second required power that are in the power request TLV are the same, and if the first required power and the second required power that are in the power request TLV are the same, allocate the third power to the first set of cable pairs and also allocate the third power to the second set of cable pairs according to the first required power or the second required power in the power request TLV, or if the first required power and the second required power that are in the power request TLV are different, allocate the third power to the first set of cable pairs and the second set of cable pairs according to a smaller required power of the first required power and the second required power.
The third power is usually less than or equal to the first required power and the second required power.
Optionally, if the first required power and the second required power that are in the power request TLV are different, the third LLDPDU further includes a power request error indication, which is used to indicate, to the PD 901, an error of a required power requested in the power request TLV.
The PD 901 is further used to receive the third LLDPDU sent by the PSE 902.
In a second possible case, the power request TLV includes a total required power of the Ethernet twisted pair, and the PSE 902 is further configured to allocate a total power to the Ethernet twisted pair according to the total required power in the power request TLV, send a fourth LLDPDU to the PD 901, where the fourth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the total power that is allocated by the PSE to the Ethernet twisted pair, and if the total required power in the power request TLV is not greater than a given power value, supply power to the PD 901 at the total power using only the first set of cable pairs, or using only the second set of cable pairs, or using both the first set of cable pairs and the second set of cable pairs, or if the total required power in the power request TLV is greater than a given power value, supply power to the PD 901 at the total power using both the first set of cable pairs and the second set of cable pairs.
When power is supplied to the PD 901 at the total power using both the first set of cable pairs and the second set of cable pairs, each of a supply power of the first set of cable pairs and a supply power of the second set of cable pairs is half the total power.
The total power is usually less than or equal to the total required power in the power request TLV.
The given power value is a maximum power at level 4, that is, a maximum power, 30 W, that can be provided by the PSE. Certainly, the given power value may be another value according to an actual case.
The PD 901 is further used to receive the fourth LLDPDU sent by the PSE 902.
In a third possible case, the power request TLV includes a required power of the first set of cable pairs or the second set of cable pairs, and the PSE 902 is further configured to allocate a fourth power to the first set of cable pairs or the second set of cable pairs according to the required power of the first set of cable pairs or the second set of cable pairs in the power request TLV, send a fifth LLDPDU to the PD 901, where the fifth LLDPDU includes a power allocation TLV, and the power allocation TLV includes the fourth power that is allocated by the PSE to the first set of cable pairs or the second set of cable pairs, and supply power to the PD 901 at the fourth power using the first set of cable pairs or the second set of cable pairs such that the PD load obtains power using the first set of cable pairs or the second set of cable pairs.
In this case, it indicates that a power required by the PD 901 is less than a maximum power at level 4, as long as power is obtained using the first set of cable pairs or the second set of cable pairs.
The first LLDPDU may further include a power receiving configuration TLV The power receiving configuration TLV is used to notify the PSE 902 of a status of a configuration of receiving power by the PD 901 from the Ethernet twisted pair, and the status includes any one of the following, receiving power from only the first set of cable pairs, receiving power from only the second set of cable pairs, and receiving power from both the first set of cable pairs and the second set of cable pairs.
The PSE 902 is further configured to determine, according to the power receiving configuration TLV, whether the PD 901 receives power from both the first set of cable pairs and the second set of cable pairs, that is, determine a status of a configuration of receiving power by the PD 901. If it is determined, according to the power receiving configuration TLV, that the PD 901 receives power from only the first set of cable pairs, it may be determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD 901 is connected to the PSE 902 using only the first set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 4 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD 901 receives power from only the second set of cable pairs, it may be determined that the Ethernet twisted pair is a Y-type Ethernet twisted pair, and the PD 901 is connected to the PSE 902 using only the second set of cable pairs in the Y-type Ethernet twisted pair, for example, the PD is the PD 5 in FIG. 4, or if it is determined, according to the power receiving configuration TLV, that the PD 901 receives power from both the first set of cable pairs and the second set of cable pairs, it may be determined that the Ethernet twisted pair is a standard-type Ethernet twisted pair, and the PD 901 is connected to the PSE 902 using both the first set of cable pairs and the second set of cable pairs that are in the standard-type Ethernet twisted pair, as shown in any one of FIG. 1 to FIG. 3.
The first LLDPDU may further include an interface quantity TLV, the interface quantity TLV is used to notify the PSE 902 of a quantity of PD interfaces included in the PD 901, and the quantity may be one or two.
The PSE 902 may be further configured to, when it is determined that the PD 901 receives power from both the first set of cable pairs and the second set of cable pairs, determine, according to the interface quantity TLV, whether the PD 901 includes two PD interfaces, that is, determine whether the PD 901 includes one PD interface or two PD interfaces. If it is determined, according to the interface quantity TLV, that the PD 901 includes only one PD interface, it indicates that the PD interface is connected to both the first set of cable pairs and the second set of cable pairs, as shown in FIG. 1. If it is determined, according to the interface quantity TLV, that the PD 901 includes two PD interfaces, it indicates that the two PD interfaces are separately connected to the first set of cable pairs and the second set of cable pairs. For example, the two PD interfaces are a first PD interface and a second PD interface, the first PD interface is connected to the first set of cable pairs, and the second PD interface is connected to the second set of cable pairs, as shown in FIG. 2 or FIG. 3.
For details that are not described in this embodiment, reference may be made to descriptions in FIG. 5 to FIG. 8 in the present disclosure, and details are not described herein again.
According to the PoE system provided in this embodiment of the present disclosure, the PSE 902 detects and determines that both a first set of cable pairs and a second set of cable pairs of an Ethernet twisted pair are connected to a valid powered device, and receives a first LLDPDU sent by the PD 901. In a case in which it is determined that the PD receives power from both the first set of cable pairs and the second set of cable pairs, and the PD 901 includes two PD interfaces, the PSE 902 determines, according to a load quantity TLV, whether the PD includes one PD load or two PD loads such that a design type of the PD 901 is determined. When it is determined that the PD includes two PD loads, the PSE 902 separately supplies, using the first set of cable pairs and the second set of cable pairs, power to the two PD loads at powers that are independent of each other. Therefore, it is ensured that power can be supplied to the PD 901 correctly and effectively.
The foregoing descriptions are merely exemplary specific implementation manners of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present disclosure shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

## Claims

1. A power over Ethernet method, comprising:
receiving, by power sourcing equipment (PSE) via an Ethernet connector of the PSE, a first Link Layer Discovery Protocol data unit (LLDPDU) from a powered device (PD), wherein the PD is connected to the Ethernet connector of the PSE using an Ethernet twisted pair cable, and the Ethernet twisted pair cable comprises a first set of cable pairs connected to the PD and a second set of cable pairs connected to the PD, the first set of cable pairs are connected to a first set of contacts of the Ethernet connector, and the second set of cable pairs are connected to a second set of contacts of the Ethernet connector, wherein the first LLDPDU carries a first requested power value for the first set of cable pairs and a second requested power value for the second set of cable pairs, and wherein the first requested power value and the second requested power value are independent of each other; and
sending, by the PSE via the Ethernet connector, a second LLDPDU to the PD, wherein the second LLDPDU carries a first allocated power value allocated by the PSE for the first set of cable pairs and a second allocated power value allocated by the PSE for the second set of cable pairs.

2. The method according to claim 1, further comprising:
supplying, by the PSE via the first set of contacts of the Ethernet connector, a first power to the PD according to the first allocated power value using the first set of cable pairs; and
supplying, by the PSE via the second set of contacts of the Ethernet connector, a second power to the PD according to the second allocated power value using the second set of cable pairs.

3. The method according to claim 1, further comprising:
determining, by the PSE, the first allocated power value and the second allocated power value according to the first requested power value and the second requested power value carried in the first LLDPDU.

4. The method according to claim 1, wherein the first allocated power value and the second allocated power value are independent of each other.

5. The method according to claim 1, wherein the first LLDPDU further carries a PD interface indication, and the PD interface indication indicates to the PSE that the PD comprises two PD interfaces.

6. The method according to claim 3, wherein the first allocated power value is less than or equal to the first requested power value, and the second allocated power value is less than or equal to the second requested power value.

7. Power sourcing equipment (PSE), comprising:
an Ethernet connector for connecting to a powered device (PD) using an Ethernet twisted pair cable, wherein the Ethernet twisted pair cable comprises a first set of cable pairs and a second set of cable pairs, wherein the Ethernet connector comprises a first set of contacts for connecting the first set of cable pairs, and a second set of contacts for connecting the second set of cable pairs;
a PSE chip for controlling power supply to the PD via the Ethernet connector;
a memory storing program instructions; and
a processor coupled to the memory and the PSE chip, and configured to execute the program instructions;

wherein, when executing the program instructions by the processor, the PSE is configured to:
receive a first link layer discovery protocol data unit (LLDPDU) from the PD via the Ethernet connector, wherein the first LLDPDU carries a first requested power value for the first set of cable pairs and a second requested power value for the second set of cable pairs, and wherein the first requested power value and the second requested power value are independent of each other; and
send a second LLDPDU to the PD via the Ethernet connector, wherein the second LLDPDU carries a first allocated power value allocated by the PSE for the first set of cable pairs and a second allocated power value allocated by the PSE for the second set of cable pairs.

8. The PSE according to claim 7, wherein when executing the program instructions by the processor, the PSE is further configured to:
supply a first power to the PD via the first set of contacts of the Ethernet connector according to the first allocated power value using the first set of cable pairs; and
supply a second power to the PD via the second set of contacts of the Ethernet connector according to the second allocated power value using the second set of cable pairs.

9. The PSE according to claim 7, wherein when executing the program instructions by the processor, the PSE is further configured to:
determine the first allocated power value and the second allocated power value according to the first requested power value and the second requested power value.

10. The PSE according to claim 7, wherein the first allocated power value and the second allocated power value are independent of each other.

11. The PSE according to claim 7, wherein the first LLDPDU further carries a PD interface indication, and the PD interface indication indicates that the PD comprises two PD interfaces.

12. The PSE according to claim 9, wherein the first allocated power value is less than or equal to the first requested power value, and the second allocated power value is less than or equal to the second requested power value.

13. A power over Ethernet (PoE) system, comprising:
a powered device (PD); and
power sourcing equipment (PSE) capable of supplying power to the PD;

wherein the PD is connected to the PSE using an Ethernet twisted pair cable via an Ethernet connector of the PSE, and the Ethernet twisted pair cable comprises a first set of cable pairs connected to a first PD interface of the PD and a second set of cable pairs connected to a second PD interface of the PD, and the first set of cable pairs are connected to a first set of contacts of the Ethernet connector, and the second set of cable pairs are connected to a second set of contacts of the Ethernet connector;
wherein the PD is configured to:
send a first link layer discovery protocol data (LLDPDU) to the PSE via the Ethernet connector, the first LLDPDU carries a first requested power value for the first set of cable pairs and a second requested power for the second set of cable pairs, and wherein the first requested power value and the second requested power value are independent of each other;

wherein the PSE is configured to:
receive the first LLDPDU from the PD via the Ethernet connector;
send a second LLDPDU to the PD via the Ethernet connector, wherein the second LLDPDU comprises a first allocated power value allocated by the PSE for the first set of cable pairs and a second allocated power value allocated by the PSE for the second set of cable pairs.

14. The PoE system according to claim 13, wherein the PSE is further configured to:
supply a first power to the PD via the first set of contacts of the Ethernet connector according to the first allocated power value using the first set of cable pairs; and
supply a second power to the PD via the second set of contacts of the Ethernet connector according to the second allocated power value using the second set of cable pairs.

15. The PoE system according to claim 13, wherein the PSE is further configured to:
determine the first allocated power value and the second allocated power value according to the first requested power value and the second requested power value carried in the first LLDPDU.

16. The PoE system according to claim 13, wherein the first allocated power value and the second allocated power value are independent of each other.

17. A power over Ethernet method, comprising:
sending, by a powered device (PD) via an Ethernet connector of the PD, a first Link Layer Discovery Protocol data unit (LLDPDU) to power sourcing equipment (PSE), wherein the PSE is connected to the Ethernet connector of the PD using an Ethernet twisted pair cable, and the Ethernet twisted pair cable comprises a first set of cable pairs connected to a first PD interface of the PD and a second set of cable pairs connected to a second PD interface of the PD, wherein the first LLDPDU carries a first requested power value for the first set of cable pairs and a second requested power value for the second set of cable pairs, the first set of cable pairs are connected to a first set of contacts of the Ethernet connector, and the second set of cable pairs are connected to a second set of contacts of the Ethernet connector, and wherein the first requested power value and the second requested power value are independent of each other; and
receiving, by the PD via the Ethernet connector, a second LLDPDU from the PSE, wherein the second LLDPDU carries a first allocated power value allocated by the PSE for the first set of cable pairs and a second allocated power value allocated by the PSE for the second set of cable pairs.

18. The PoE system according to claim 15, wherein the first allocated power value is less than or equal to the first requested power value, and the second allocated power value is less than or equal to the second requested power value.

19. The method according to claim 17, wherein the method further comprises:
receiving, by the PD via the first set of contacts of the Ethernet connector, a first power supplied by the PSE according to the first allocated power value using the first set of cable pairs; and receiving, by the PD via the first set of contacts of the Ethernet connector, a second power supplied by the PSE according to the second allocated power value using the second set of cable pairs.

20. The method according to claim 17, wherein the first allocated power value and the second allocated power value are independent of each other.

21. A powered device (PD), comprising:
an Ethernet connector configured to connect to power sourcing equipment (PSE) using an Ethernet twisted pair cable, wherein the Ethernet twisted pair cable comprises a first set of cable pairs and a second set of cable pairs, wherein the Ethernet connector comprises a first set of contacts for connecting the first set of cable pairs, and a second set of contacts for connecting the second set of cable pairs;
a first PD interface configured to connect to the first set of cable pairs via the first set of contacts of the Ethernet connector;
a second PD interface configured to connect to the second set of cable pairs via the second set of contacts of the Ethernet connector;
a memory storing program instructions; and
a processor coupled to the memory and configured to execute the program instructions;

wherein, when executing the program instructions by the processor, the PD is configured to:
send a first link layer discovery protocol data unit (LLDPDU) to the PSE via the Ethernet connector, wherein the first LLDPDU carries a first requested power value for the first set of cable pairs and a second requested power value for the second set of cable pairs, and wherein the first requested power value and the second requested power value are independent of each other; and
receive a second LLDPDU from the PSE via the Ethernet connector, wherein the second LLDPDU carries a first allocated power value allocated by the PSE for the first set of cable pairs and a second allocated power value allocated by the PSE for the second set of cable pairs.

22. The PD according to claim 21, wherein when executing the program instructions by the processor, the PD is further configured to:
receive a first power supplied by the PSE via the first set of contacts of the Ethernet connector according to the first allocated power value using the first set of cable pairs; and
receive a second power supplied by the PSE via the second set of contacts of the Ethernet connector according to the second allocated power value using the second set of cable pairs.

23. The PD according to claim 21, wherein the first allocated power value and the second allocated power value are independent of each other.