Movatterモバイル変換


[0]ホーム

URL:


CN113810202B - Method and apparatus for managing power supply, power supply device, and computer-readable medium - Google Patents

Method and apparatus for managing power supply, power supply device, and computer-readable medium
Download PDF

Info

Publication number
CN113810202B
CN113810202BCN202010556475.4ACN202010556475ACN113810202BCN 113810202 BCN113810202 BCN 113810202BCN 202010556475 ACN202010556475 ACN 202010556475ACN 113810202 BCN113810202 BCN 113810202B
Authority
CN
China
Prior art keywords
power supply
port
power
powered device
powered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010556475.4A
Other languages
Chinese (zh)
Other versions
CN113810202A (en
Inventor
卢清
要长鑫
付世勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN202010556475.4ApriorityCriticalpatent/CN113810202B/en
Priority to PCT/CN2021/100194prioritypatent/WO2021254351A1/en
Publication of CN113810202ApublicationCriticalpatent/CN113810202A/en
Application grantedgrantedCritical
Publication of CN113810202BpublicationCriticalpatent/CN113810202B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种用于管理供电的方法、装置、供电设备和计算机可读介质。在用于管理供电的方法中,供电设备经由数据端口从受电设备接收受电设备的供电信息,数据端口与供电端口配对并且是彼此分离的物理端口。然后,供电设备经由供电端口并基于受电设备的供电信息向受电设备供电。这样可以改进具有物理分离的数据端口和供电端口的供电设备的供电性能。

Figure 202010556475

The present invention provides a method, an apparatus, a power supply device and a computer-readable medium for managing power supply. In the method for managing power supply, the power supply device receives power supply information of the power receiving device from the power receiving device via a data port, which is paired with the power supply port and is a physical port separated from each other. Then, the power supply device supplies power to the power receiving device through the power supply port and based on the power supply information of the power receiving device. This can improve the power supply performance of a power supply device having physically separated data ports and power supply ports.

Figure 202010556475

Description

Translated fromChinese
用于管理供电的方法和装置、供电设备以及计算机可读介质Method and apparatus for managing power supply, power supply device, and computer-readable medium

技术领域technical field

本公开总体上涉及供电技术,并且具体地涉及一种用于管理供电的方法和装置、供电设备以及计算机可读介质。The present disclosure generally relates to power supply technologies, and in particular, to a method and apparatus for managing power supply, a power supply device, and a computer-readable medium.

背景技术Background technique

以太网供电(Power over Ethernet,PoE)技术是一种通过以太网的双绞线为受电设备供电的技术。以太网供电技术能够在确保以太网的结构化布线安全的同时,保证现有通信网络的正常操作。以太网供电技术的其他优点还包括:简单和节省空间,受电设备可随意移动,并且最大限度地降低成本。完整的以太网供电系统可以包括供电设备(PowerSourcing Equipment,PSE)和受电设备(Powered Device,PD)两部分。供电设备是为以太网客户端提供供电的设备,同时也是整个以太网供电过程的管理者。供电设备的一种示例是支持以太网供电能力的交换机,简称以太网供电交换机。受电设备是从供电设备接受供电的负载,也即以太网供电系统的客户端设备,诸如互联网(IP)电话、互联网视频监控设备、门禁设备、建筑物管理设备、云终端设备、无线局域网设备,各种娱乐设备,等等。支持以太网供电的供电设备允许供电电力与数据信号耦合,以通过双绞线缆传输给对端的受电设备。A Power over Ethernet (PoE) technology is a technology for supplying power to a powered device through a twisted pair of Ethernet. The Power over Ethernet technology can guarantee the normal operation of the existing communication network while ensuring the security of the structured wiring of the Ethernet. Other advantages of Power over Ethernet technology include: simplicity and space saving, the power receiving equipment can be moved freely, and the cost is minimized. A complete Ethernet power supply system may include two parts: a power supply equipment (PowerSourcing Equipment, PSE) and a powered device (Powered Device, PD). The power supply device is a device that provides power to Ethernet clients, and is also the manager of the entire Power over Ethernet process. An example of a power supply device is a switch supporting power over Ethernet capability, referred to as a power over Ethernet switch. The powered device is the load that receives power from the power supply device, that is, the client device of the Ethernet power supply system, such as Internet (IP) phone, Internet video surveillance device, access control device, building management device, cloud terminal device, wireless LAN device , various entertainment equipment, and so on. The power supply device supporting Power over Ethernet allows power supply to be coupled with data signals, so as to be transmitted to the peer powered device through a twisted pair cable.

然而,在一些场景中,传统的以太网供电设备可能无法良好地向受电设备供电,从而影响以太网供电系统的性能和用户体验。However, in some scenarios, a traditional PoE device may not be able to supply power to a powered device well, thereby affecting the performance and user experience of the Power over Ethernet system.

发明内容Contents of the invention

本公开涉及一种用于管理供电的技术方案,并且具体提供了一种用于管理供电的方法和装置、供电设备以及计算机可读介质。The present disclosure relates to a technical solution for managing power supply, and specifically provides a method and device for managing power supply, a power supply device, and a computer-readable medium.

在本公开的第一方面,提供了一种用于管理供电的方法。该方法包括:供电设备经由数据端口从受电设备接收受电设备的供电信息,数据端口与供电端口配对并且是彼此分离的物理端口。该方法还包括:供电设备经由供电端口并基于供电信息向受电设备供电。通过该方法,在数据端口与供电端口分离的情况下,供电设备向受电设备供电的性能可以被改进。In a first aspect of the present disclosure, a method for managing power supply is provided. The method includes: the power supply device receives power supply information of the power receiving device from the power receiving device via a data port, and the data port is paired with the power supply port and is a physical port separated from each other. The method further includes: the power supply device supplies power to the powered device via the power supply port and based on the power supply information. By this method, the performance of the power supply device to supply power to the powered device can be improved in case the data port is separated from the power supply port.

在一些实现方式中,供电设备的数据端口通过光电复合线缆中的光纤连接到受电设备,并且供电设备的供电端口通过光电复合线缆中的供电线连接到受电设备。以此方式,供电设备与受电设备之间可以实现高速率的数据传输,同时实现远距离的电力传输。In some implementation manners, the data port of the power supply device is connected to the powered device through an optical fiber in the photoelectric composite cable, and the power supply port of the power supply device is connected to the powered device through a power supply line in the photoelectric composite cable. In this way, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device.

在一些实现方式中,该方法还包括:供电设备存储配置信息,配置信息指示供电端口与数据端口之间的配对关系。如此,供电设备可以便利地且高效地管理供电端口与数据端口之间的配对关系。In some implementation manners, the method further includes: the power supply device stores configuration information, and the configuration information indicates a pairing relationship between the power supply port and the data port. In this way, the power supply device can conveniently and efficiently manage the pairing relationship between the power supply port and the data port.

在一些实现方式中,该方法还包括:响应于受电设备连接到供电端口,供电设备在配置信息中查找与供电端口配对的数据端口。以此方式,供电设备可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。In some implementations, the method further includes: in response to the powered device being connected to the power supply port, the power supply device searches configuration information for a data port paired with the power supply port. In this way, the power supply device can timely determine the data port corresponding to the power supply port connected to the power receiving device, so as to obtain the power supply information of the power receiving device from the data port.

在一些实现方式中,配置信息是用户可编辑的。如此,供电设备的供电端口与数据端口之间的配对关系可以由用户根据具体的应用环境和场景来决定,从而可以提高供电设备的使用灵活性。In some implementations, configuration information is user editable. In this way, the pairing relationship between the power supply port and the data port of the power supply device can be determined by the user according to specific application environments and scenarios, thereby improving the flexibility of use of the power supply device.

在一些实现方式中,供电信息包括以下至少一项:用于调整供电端口的供电功率的指示,以及受电设备的供电优先级。因此,供电设备可以根据受电设备的请求来调整供电端口的供电功率,还可以根据受电设备的供电优先级来向受电设备提供相应的供电保障,从而更好地满足受电设备的用电需求。In some implementation manners, the power supply information includes at least one of the following: an indication for adjusting the power supply power of the power supply port, and a power supply priority of the powered device. Therefore, the power supply device can adjust the power supply power of the power supply port according to the request of the power receiving device, and can also provide corresponding power supply protection to the power receiving device according to the power supply priority of the power receiving device, so as to better meet the needs of the power receiving device. electricity demand.

在一些实现方式中,该方法还包括:供电设备经由数据端口向受电设备发送供电端口的能力信息。如此,受电设备可以根据供电端口的供电能力来向供电设备请求适当的供电功率,从而有利于供电设备和受电设备高效地协商出合理的供电功率。In some implementation manners, the method further includes: the power supply device sends capability information of the power supply port to the powered device via the data port. In this way, the powered device can request appropriate power supply power from the power supply device according to the power supply capability of the power supply port, which is beneficial for the power supply device and the powered device to efficiently negotiate a reasonable power supply power.

在一些实现方式中,该方法还包括:供电设备检测受电设备连接到供电端口。因此,供电设备可以及时地发现受电设备已连接到供电端口,进而相应地向受电设备提供供电并且经由配对的数据端口对受电设备进行供电管理。In some implementations, the method further includes: the power supply device detecting that the powered device is connected to the power supply port. Therefore, the power supply device can find that the power receiving device has been connected to the power supply port in time, and then provide power to the power receiving device accordingly and manage power supply to the power receiving device through the paired data port.

在本公开的第二方面,提供了一种供电设备。该供电设备包括:供电端口、数据端口、处理器和存储器。数据端口与供电端口配对并且是彼此分离的物理端口。存储器存储有计算机程序指令。存储器和计算机程序指令被配置为,与处理器一起,使供电设备经由数据端口从受电设备接收受电设备的供电信息。存储器和计算机程序指令还被配置为,与处理器一起,使供电设备经由供电端口并基于供电信息向受电设备供电。相比于传统的供电设备,本公开的供电设备在数据端口与供电端口分离的情况下向受电设备供电的性能可以被改进。In a second aspect of the present disclosure, a power supply device is provided. The power supply device includes: a power supply port, a data port, a processor and a memory. The data port is paired with the power port and is a separate physical port from each other. The memory stores computer program instructions. The memory and computer program instructions are configured, with the processor, to cause the power sourcing device to receive powering information for the powered device from the powered device via the data port. The memory and computer program instructions are further configured, with the processor, to cause the power supply device to provide power to the powered device via the power supply port and based on the power supply information. Compared with the traditional power supply device, the performance of the power supply device of the present disclosure to supply power to the powered device under the condition that the data port is separated from the power supply port can be improved.

在一些实现方式中,供电设备的数据端口通过光电复合线缆中的光纤连接到受电设备,并且供电设备的供电端口通过光电复合线缆中的供电线连接到受电设备。以此方式,供电设备与受电设备之间可以实现高速率的数据传输,同时实现远距离的电力传输。In some implementation manners, the data port of the power supply device is connected to the powered device through an optical fiber in the photoelectric composite cable, and the power supply port of the power supply device is connected to the powered device through a power supply line in the photoelectric composite cable. In this way, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device.

在一些实现方式中,存储器还用于存储配置信息,该配置信息指示供电端口与数据端口之间的配对关系。如此,供电设备可以便利地且高效地管理供电端口与数据端口之间的配对关系。In some implementations, the memory is also used to store configuration information indicating the pairing relationship between the power supply port and the data port. In this way, the power supply device can conveniently and efficiently manage the pairing relationship between the power supply port and the data port.

在一些实现方式中,存储器和计算机程序指令还被配置为,与处理器一起,使供电设备响应于受电设备连接到供电端口,在配置信息中查找与供电端口配对的数据端口。以此方式,供电设备可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。In some implementations, the memory and computer program instructions are further configured, with the processor, to cause the power sourcing device to look up a data port paired with the power port in the configuration information in response to the powered device being connected to the power port. In this way, the power supply device can timely determine the data port corresponding to the power supply port connected to the power receiving device, so as to obtain the power supply information of the power receiving device from the data port.

在一些实现方式中,配置信息是用户可编辑的。如此,供电设备的供电端口与数据端口之间的配对关系可以由用户根据具体的应用环境和场景来决定,从而可以提高供电设备的使用灵活性。In some implementations, configuration information is user editable. In this way, the pairing relationship between the power supply port and the data port of the power supply device can be determined by the user according to specific application environments and scenarios, thereby improving the flexibility of use of the power supply device.

在一些实现方式中,供电信息包括以下至少一项:用于调整供电端口的供电功率的指示,以及受电设备的供电优先级。因此,供电设备可以根据受电设备的请求来调整供电端口的供电功率,还可以根据受电设备的供电优先级来向受电设备提供相应的供电保障,从而更好地满足受电设备的用电需求。In some implementation manners, the power supply information includes at least one of the following: an indication for adjusting the power supply power of the power supply port, and a power supply priority of the powered device. Therefore, the power supply device can adjust the power supply power of the power supply port according to the request of the power receiving device, and can also provide corresponding power supply protection to the power receiving device according to the power supply priority of the power receiving device, so as to better meet the needs of the power receiving device. electricity demand.

在一些实现方式中,存储器和计算机程序指令还被配置为,与处理器一起,使供电设备经由数据端口向受电设备发送供电端口的能力信息。如此,受电设备可以根据供电端口的供电能力来向供电设备请求适当的供电功率,从而有利于供电设备和受电设备高效地协商出合理的供电功率。In some implementations, the memory and the computer program instructions are further configured, together with the processor, to cause the power supply device to send the capability information of the power supply port to the powered device via the data port. In this way, the powered device can request appropriate power supply power from the power supply device according to the power supply capability of the power supply port, which is beneficial for the power supply device and the powered device to efficiently negotiate a reasonable power supply power.

在一些实现方式中,该供电设备还包括:检测电路,用于检测受电设备连接到供电端口。因此,供电设备可以及时地发现受电设备已连接到供电端口,进而相应地向受电设备提供供电并且经由配对的数据端口对受电设备进行供电管理。In some implementation manners, the power supply device further includes: a detection circuit, configured to detect that the power receiving device is connected to the power supply port. Therefore, the power supply device can find that the power receiving device has been connected to the power supply port in time, and then provide power to the power receiving device accordingly and manage power supply to the power receiving device through the paired data port.

在本公开的第三方面,提供了一种用于管理供电的装置。该装置包括:用于经由数据端口从受电设备接收受电设备的供电信息的部件,数据端口与供电端口配对并且是彼此分离的物理端口。该装置还包括用于经由供电端口并基于供电信息向受电设备供电的部件。通过该装置,在数据端口与供电端口分离的情况下,供电设备向受电设备供电的性能可以被改进。In a third aspect of the present disclosure, an apparatus for managing power supply is provided. The apparatus includes: means for receiving power supply information of the power receiving device from the power receiving device via a data port, the data port being paired with the power supply port and being physical ports separated from each other. The apparatus also includes means for providing power to the powered device via the power supply port and based on the power supply information. With this arrangement, the performance of the power supply device supplying power to the powered device can be improved when the data port is separated from the power supply port.

在一些实现方式中,供电设备的数据端口通过光电复合线缆中的光纤连接到受电设备,并且供电设备的供电端口通过光电复合线缆中的供电线连接到受电设备。以此方式,供电设备与受电设备之间可以实现高速率的数据传输,同时实现远距离的电力传输。In some implementation manners, the data port of the power supply device is connected to the powered device through an optical fiber in the photoelectric composite cable, and the power supply port of the power supply device is connected to the powered device through a power supply line in the photoelectric composite cable. In this way, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device.

在一些实现方式中,该装置还包括:用于存储配置信息的部件,配置信息指示供电端口与数据端口之间的配对关系。如此,供电设备可以便利地且高效地管理供电端口与数据端口之间的配对关系。In some implementation manners, the device further includes: a component for storing configuration information, where the configuration information indicates the pairing relationship between the power supply port and the data port. In this way, the power supply device can conveniently and efficiently manage the pairing relationship between the power supply port and the data port.

在一些实现方式中,该装置还包括:用于响应于受电设备连接到供电端口,在配置信息中查找与供电端口配对的数据端口的部件。以此方式,供电设备可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。In some implementations, the apparatus further includes means for, in response to the powered device being connected to the power supply port, looking up the data port paired with the power supply port in the configuration information. In this way, the power supply device can timely determine the data port corresponding to the power supply port connected to the power receiving device, so as to obtain the power supply information of the power receiving device from the data port.

在一些实现方式中,配置信息是用户可编辑的。如此,供电设备的供电端口与数据端口之间的配对关系可以由用户根据具体的应用环境和场景来决定,从而可以提高供电设备的使用灵活性。In some implementations, configuration information is user editable. In this way, the pairing relationship between the power supply port and the data port of the power supply device can be determined by the user according to specific application environments and scenarios, thereby improving the flexibility of use of the power supply device.

在一些实现方式中,供电信息包括以下至少一项:用于调整供电端口的供电功率的指示,以及受电设备的供电优先级。因此,供电设备可以根据受电设备的请求来调整供电端口的供电功率,还可以根据受电设备的供电优先级来向受电设备提供相应的供电保障,从而更好地满足受电设备的用电需求。In some implementation manners, the power supply information includes at least one of the following: an indication for adjusting the power supply power of the power supply port, and a power supply priority of the powered device. Therefore, the power supply device can adjust the power supply power of the power supply port according to the request of the power receiving device, and can also provide corresponding power supply protection to the power receiving device according to the power supply priority of the power receiving device, so as to better meet the needs of the power receiving device. electricity demand.

在一些实现方式中,该装置还包括:用于经由数据端口向受电设备发送供电端口的能力信息的部件。如此,受电设备可以根据供电端口的供电能力来向供电设备请求适当的供电功率,从而有利于供电设备和受电设备高效地协商出合理的供电功率。In some implementations, the apparatus further includes: means for sending capability information of the power supply port to the powered device via the data port. In this way, the powered device can request appropriate power supply power from the power supply device according to the power supply capability of the power supply port, which is beneficial for the power supply device and the powered device to efficiently negotiate a reasonable power supply power.

在一些实现方式中,该装置还包括:用于检测受电设备连接到供电端口的部件。因此,供电设备可以及时地发现受电设备已连接到供电端口,进而相应地向受电设备提供供电并且经由配对的数据端口对受电设备进行供电管理。In some implementations, the apparatus further includes: means for detecting that a powered device is connected to the power supply port. Therefore, the power supply device can find that the power receiving device has been connected to the power supply port in time, and then provide power to the power receiving device accordingly and manage power supply to the power receiving device through the paired data port.

在本公开的第四方面,提供了一种计算机可读介质。该计算机可读介质存储有指令,指令在被执行时使机器执行根据第一方面的方法。通过该计算机可读介质,在数据端口与供电端口分离的情况下,供电设备向受电设备供电的性能可以被改进。In a fourth aspect of the present disclosure, a computer readable medium is provided. The computer readable medium stores instructions which, when executed, cause a machine to perform the method according to the first aspect. With the computer-readable medium, the performance of a power sourcing device to power a powered device can be improved in a situation where the data port is separated from the power supply port.

应当理解,发明内容部分中所描述的内容并非旨在限定本公开的关键或重要特征,亦非用于限制本公开的范围。本公开的其他特征通过以下的描述将变得容易理解。It should be understood that what is described in the Summary of the Invention is not intended to identify key or important features of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become easily understood through the following description.

附图说明Description of drawings

通过参考附图阅读下文的详细描述,本公开的实施例的上述以及其他目的、特征和优点将变得容易理解。在附图中,以示例性而非限制性的方式示出了本公开的若干实施例。The above and other objects, features and advantages of embodiments of the present disclosure will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the present disclosure are shown by way of illustration and not limitation.

图1示出了根据本公开的实施例的包括供电设备和受电设备的示例系统环境的示意图。FIG. 1 shows a schematic diagram of an example system environment including a power sourcing device and a powered device according to an embodiment of the present disclosure.

图2示出了根据本公开的实施例的示例光电复合线缆的示意图。FIG. 2 shows a schematic diagram of an example optoelectronic composite cable according to an embodiment of the disclosure.

图3示出了根据本公开的实施例的另一示例光电复合线缆的示意图。Fig. 3 shows a schematic diagram of another example optoelectronic composite cable according to an embodiment of the present disclosure.

图4示出了根据本公开的实施例的指示供电端口与数据端口之间的配对关系的示例配置信息。FIG. 4 shows example configuration information indicating a pairing relationship between a power supply port and a data port according to an embodiment of the present disclosure.

图5示出了根据本公开的实施例的用于管理供电的示例方法的流程图。FIG. 5 shows a flowchart of an example method for managing power supply according to an embodiment of the disclosure.

图6A示出了根据本公开的实施例的供电设备与受电设备协商供电功率的示例通信过程的示意图。Fig. 6A shows a schematic diagram of an example communication process for a power supply device and a powered device to negotiate power supply according to an embodiment of the present disclosure.

图6B示出了根据本公开的实施例的供电设备与受电设备协商供电功率的另一示例通信过程的示意图。Fig. 6B shows a schematic diagram of another exemplary communication process in which a power supply device negotiates power supply with a powered device according to an embodiment of the present disclosure.

图7示出了根据本公开的实施例的供电设备与受电设备协商供电优先级的示例通信过程的示意图。Fig. 7 shows a schematic diagram of an example communication process of a power supply device negotiating power supply priority with a powered device according to an embodiment of the present disclosure.

图8示出了根据本公开的实施例的在供电端口与数据端口之间的配对关系为可配置时供电设备的示例操作过程的流程图。Fig. 8 shows a flowchart of an example operation process of a power supply device when the pairing relationship between a power supply port and a data port is configurable according to an embodiment of the present disclosure.

图9示出了根据本公开的实施例的具有示例端口布置的供电设备的框图。FIG. 9 shows a block diagram of a power supply device with an example port arrangement according to an embodiment of the disclosure.

图10示出了根据本公开的实施例的具有另一示例端口布置的供电设备的框图。FIG. 10 shows a block diagram of a power supply device with another example port arrangement according to an embodiment of the disclosure.

图11示出了根据本公开的实施例的用于管理供电的示例装置的框图。FIG. 11 shows a block diagram of an example apparatus for managing power supply according to an embodiment of the present disclosure.

图12示出了根据本公开的实施例的示例计算机可读介质的示意图。Figure 12 shows a schematic diagram of an example computer readable medium according to an embodiment of the disclosure.

贯穿所有附图,相同或者相似的参考标号被用来表示相同或者相似的组件。Throughout the drawings, the same or similar reference numerals are used to designate the same or similar components.

具体实施方式detailed description

如本文所使用的,术语“包括”及其类似用语应当理解为开放性包含,即“包括但不限于”。术语“基于”应当理解为“至少部分地基于”。术语“一个实施例”或“该实施例”应当理解为“至少一个实施例”。术语“第一”、“第二”等等可以指代不同的或相同的对象,并且仅用于区分所指代的对象,而不暗示所指代的对象的特定空间顺序、时间顺序、重要性顺序,等等。下文还可能包括其他明确的和隐含的定义。As used herein, the term "comprising" and its analogs should be interpreted as an open inclusion, ie "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be read as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects, and are used only to distinguish the referred objects without implying a specific spatial order, temporal order, important sexual order, and so on. Other definitions, both express and implied, may also be included below.

如本文所使用的,术语“确定”涵盖各种各样的动作。例如,“确定”可以包括运算、计算、处理、导出、调查、查找(例如,在表格、数据库或另一数据结构中查找)、查明等。此外,“确定”可以包括接收(例如,接收信息)、访问(例如,访问存储器中的数据)等。此外,“确定”可以包括解析、选择、选取、建立等。As used herein, the term "determining" encompasses a wide variety of actions. For example, "determining" may include computing, calculating, processing, deriving, investigating, looking up (eg, in a table, database, or another data structure), ascertaining, and the like. Also, "determining" may include receiving (eg, receiving information), accessing (eg, accessing data in a memory), and the like. Additionally, "determining" may include resolving, selecting, choosing, establishing, and the like.

本文使用的术语“电路”是指以下的一项或多项:(a)仅硬件电路实现方式(诸如仅模拟和/或数字电路的实现方式);以及(b)硬件电路和软件的组合,诸如(如果适用):(i)模拟和/或数字硬件电路与软件/固件的组合,以及(ii)硬件处理器的任意部分与软件(包括一起工作以使诸如供电设备或其他电子设备等装置执行各种功能的数字信号处理器、软件和存储器);以及(c)硬件电路和/或处理器,诸如微处理器或者微处理器的一部分,其要求软件(例如固件)用于操作,但是在不需要软件用于操作时可以没有软件。As used herein, the term "circuitry" refers to one or more of: (a) hardware circuit implementations only (such as analog and/or digital circuit implementations only); and (b) a combination of hardware circuits and software, Such as (if applicable): (i) combinations of analog and/or digital hardware circuits and software/firmware, and (ii) any portion of a hardware processor and software (including digital signal processors, software, and memory to perform various functions); and (c) hardware circuits and/or processors, such as microprocessors or parts of microprocessors, which require software (e.g., firmware) for operation, but There can be no software when it is not required for operation.

电路的定义适用于此术语在本申请中(包括任意权利要求中)的所有使用场景。作为另一示例,在此使用的术语“电路”也覆盖仅硬件电路或处理器(或多个处理器)、或者硬件电路或处理器的一部分、或者其随附软件或固件的实现方式。例如,如果适用于特定权利要求元素,术语“电路”还覆盖基带集成电路或处理器集成电路、供电设备、受电设备或其他设备中的类似集成电路。The definition of electrical circuit applies to all uses of this term in this application, including in any claims. As a further example, the term 'circuitry' as used herein also covers an implementation of merely a hardware circuit or processor (or multiple processors), or a portion thereof, or its accompanying software or firmware. For example, the term "circuitry" also covers baseband integrated circuits or processor integrated circuits, similar integrated circuits in power sourcing equipment, powered devices, or other devices, if applicable to a particular claim element.

如上文提到的,在一些场景中,传统的以太网供电设备可能无法良好地向受电设备供电,从而影响以太网供电系统的性能和用户体验。具体而言,传统的以太网供电设备经由同一物理端口向受电设备供电并且与受电设备通信。换言之,该物理端口既充当供电设备的供电端口,又作为供电设备的数据端口。依据以太网供电技术的标准,供电设备从识别受电设备到给受电设备供电,依次可以经过探测、电压分级、上电启动等过程。在受电设备的上电完成之后,供电设备将进入对受电设备的供电功率管理状态。为了实现动态的供电功率调整与管理,供电设备与受电设备之间还可以支持链路层发现协议(Link LayerDiscovery Protocol,LLDP),并且可以通过媒体独立接口(Media Dependent Interface,MDI)进行供电功率协商。As mentioned above, in some scenarios, a traditional PoE device may not be able to supply power to a powered device well, thus affecting the performance and user experience of the Power over Ethernet system. Specifically, conventional Power over Ethernet devices supply power to and communicate with powered devices via the same physical port. In other words, the physical port serves both as a power supply port of the power supply device and as a data port of the power supply device. According to the standard of Power over Ethernet technology, the power supply equipment can go through the processes of detection, voltage classification, power-on and start-up, from identifying the powered equipment to supplying power to the powered equipment. After the power-on of the powered device is completed, the power supply device will enter a power supply management state for the powered device. In order to realize dynamic power supply adjustment and management, the link layer discovery protocol (Link Layer Discovery Protocol, LLDP) can also be supported between the power supply device and the powered device, and the power supply can be performed through the media independent interface (Media Dependent Interface, MDI). negotiate.

然而,在一些以太网供电设备中,数据端口与供电端口可能是分离的物理端口。例如,一些以太网供电交换机在物理上将数据端口和供电端口分离成两个端口,以分别通过光纤和铜缆连接到受电设备,这样的以太网供电交换机也可以称为光电复合交换机。这种以太网供电交换机与受电设备对接时,将经由数据端口与受电设备进行数据传输,并且经由供电端口向受电设备进行供电传输。在这种情况下,传统的供电设备仅能通过供电线路上的电流解析来完成对受电设备的探测、分级和上电。在受电设备上电之后,供电设备将会分配固定的供电功率(例如,分级后的额定功率)给受电设备使用而无法调整,这可能会导致后续连接到供电设备的其他受电设备因供电设备无剩余功率而不能上电。此外,在数据端口与供电端口分离的情况下,按照传统的以太网供电协议,供电设备将无法从受电设备获得受电设备的供电信息,更无法通过链路层发现协议与受电设备之间进行供电功率协商,以及供电优先级的登记,等等。因此,供电设备也就不能对受电设备进行有效的供电管理。类似的问题和缺陷也存在于除以太网供电设备之外的其他供电设备中。However, in some PoE devices, the data port and the power port may be separate physical ports. For example, some Power over Ethernet switches physically separate the data port and the power supply port into two ports to connect to powered devices through optical fiber and copper cable respectively. Such Power over Ethernet switches may also be called photoelectric composite switches. When the power-over-Ethernet switch is connected to the powered device, it will transmit data with the powered device through the data port, and transmit power to the powered device through the power supply port. In this case, the traditional power supply equipment can only complete the detection, classification and power-on of the powered equipment through the current analysis on the power supply line. After the powered device is powered on, the power supply device will allocate a fixed power supply (for example, the rated power after classification) to the powered device and cannot be adjusted, which may cause other powered devices connected to the power supply device to fail due to The power supply device has no remaining power and cannot be powered on. In addition, when the data port is separated from the power supply port, according to the traditional Power over Ethernet protocol, the power supply device will not be able to obtain the power supply information of the powered device from the powered device, let alone discover the connection between the protocol and the powered device through the link layer. Carry out power supply power negotiation, and registration of power supply priority, and so on. Therefore, the power supply equipment cannot perform effective power supply management on the powered equipment. Similar problems and drawbacks also exist in other power supply equipment than power over Ethernet equipment.

鉴于传统方案中存在的上述问题以及其他潜在的问题,本公开的实施例提供了一种用于管理供电的技术方案。在本公开的实施例中,供电设备的物理上分离的供电端口与数据端口可以被配对,从而连接到供电端口的受电设备可以经由与供电端口配对的数据端口,来向供电设备提供受电设备的供电信息。基于在数据端口上接收的受电设备的供电信息,供电设备可以相应地经由供电端口向受电设备供电。以此方式,供电设备可以针对受电设备而实现合理且高效的供电,从而供电设备的供电性能得以提高。下文将参考附图来详细描述本公开的若干实施例。In view of the above-mentioned problems and other potential problems existing in the conventional solutions, embodiments of the present disclosure provide a technical solution for managing power supply. In an embodiment of the present disclosure, the physically separated power supply port and data port of the power supply device can be paired, so that the powered device connected to the power supply port can provide power to the power supply device through the data port paired with the power supply port. Power supply information of the device. Based on the power supply information of the powered device received on the data port, the power supply device may accordingly supply power to the powered device via the power supply port. In this way, the power supply device can implement reasonable and efficient power supply for the power receiving device, so that the power supply performance of the power supply device can be improved. Hereinafter, several embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.

图1示出了根据本公开的实施例的包括供电设备110以及受电设备120和130的示例系统环境100的示意图。如本文中使用的,供电设备110可以是能够向受电设备提供电力的任何设备。在一些实施例中,供电设备110可以是遵循以太网供电协议的供电设备,其可以向以太网客户端设备(也即,以太网受电设备)供电,同时也可以是整个以太网供电过程的管理者。例如,供电设备110可以是遵循以太网供电协议的交换机,诸如光电复合交换机等。在其他实施例中,供电设备110也可以是遵循目前已知或将来开发的其他供电协议的供电设备,或者还可以是非标准的供电设备。如图1所示,供电设备110可以具有多个数据端口112-1至112-N(本文中可以统称为数据端口112)和多个供电端口114-1至114-N(本文中可以统称为供电端口114),其中N为自然数。FIG. 1 shows a schematic diagram of anexample system environment 100 including apower sourcing device 110 andpowered devices 120 and 130 according to an embodiment of the present disclosure. As used herein, apower supply device 110 may be any device capable of providing power to a powered device. In some embodiments, thepower supply device 110 can be a power supply device following the Power over Ethernet protocol, which can supply power to the Ethernet client device (that is, the Ethernet powered device), and can also be the controller of the entire Power over Ethernet process. manager. For example, thepower supply device 110 may be a switch conforming to the power over Ethernet protocol, such as a photoelectric composite switch. In other embodiments, thepower supply device 110 may also be a power supply device that complies with other power supply protocols currently known or developed in the future, or may also be a non-standard power supply device. As shown in FIG. 1 , thepower supply device 110 may have multiple data ports 112-1 to 112-N (collectively referred to asdata ports 112 herein) and multiple power supply ports 114-1 to 114-N (collectively referred to herein as power supply port 114), where N is a natural number.

如本文中使用的,术语“端口”一般性地指代装置或设备上设置的用于与外界连通或通信的出入口,其通常可以经由线缆或连接器连接至其他装置或设备。在这个意义上,本文中的“端口”可以与“接口”具有相同的技术含义并且可以互换地使用。例如,供电设备110的数据端口112可以是用于传输数据的任何形式的端口,并且供电端口114可以是用于提供供电的任何形式的端口。在一些实施例中,数据端口112可以包括基于光信号的光纤端口,例如,FC型光纤端口、SC型光纤端口、ST型光纤端口、LC型光纤端口,等等。在其他实施例中,数据端口112也可以是基于电信号或其他形式信号的数据端口。在一些实施例中,供电端口114可以包括标准8位模块化接口,诸如用于接纳RJ45连接器的接口,等等。在其他实施例中,供电端口114也可以是符合于目前已知或将来开发的其他电源标准的端口,或者还可以是非标准的端口。As used herein, the term "port" generally refers to an entrance and exit provided on a device or device for communicating or communicating with the outside world, which can usually be connected to other devices or devices via cables or connectors. In this sense, "port" herein may have the same technical meaning as "interface" and may be used interchangeably. For example, thedata port 112 of thepower supply device 110 may be any form of port for transmitting data, and thepower supply port 114 may be any form of port for providing power. In some embodiments,data ports 112 may include optical signal-based fiber ports, such as FC-type fiber ports, SC-type fiber ports, ST-type fiber ports, LC-type fiber ports, and the like. In other embodiments, thedata port 112 may also be a data port based on electrical signals or other forms of signals. In some embodiments, thepower port 114 may include a standard 8-position modular interface, such as an interface for receiving an RJ45 connector, or the like. In other embodiments, thepower supply port 114 may also be a port conforming to other power supply standards currently known or developed in the future, or may also be a non-standard port.

如所示出的,供电设备110的数据端口112和供电端口114可以是彼此分离的物理端口。例如,不失一般性,数据端口112中的数据端口112-1与供电端口114中的供电端口114-1可以是彼此分离的物理端口。也即,数据端口112-1和供电端口114-1可以分别由两个物理端口来提供,而不是由同一物理端口来提供。在一些实施例中,除了物理上分离的数据端口112和供电端口114之外,供电设备110也可能包括兼有数据端口功能和供电端口功能的一个或多个物理端口(未示出)。换言之,这样的一个或多个物理端口中的每个物理端口既可以作为数据端口又可以作为供电端口。因此,这样的数据端口和供电端口是共用物理端口的,也即由同一物理端口来提供。As shown, thedata port 112 and thepower port 114 of thepower supply device 110 may be separate physical ports from each other. For example, without loss of generality, the data port 112 - 1 of thedata ports 112 and the power supply port 114 - 1 of thepower supply ports 114 may be physical ports separated from each other. That is, the data port 112-1 and the power supply port 114-1 may be respectively provided by two physical ports instead of being provided by the same physical port. In some embodiments, in addition to the physically separateddata port 112 andpower supply port 114 , thepower supply device 110 may also include one or more physical ports (not shown) that both function as a data port and a power supply port. In other words, each of such one or more physical ports can function as both a data port and a power supply port. Therefore, such a data port and a power supply port share a physical port, that is, are provided by the same physical port.

在图1的示例中,供电设备110的数据端口112-1可以通过线缆140连接到受电设备120的数据端口122,并且供电端口114-1可以通过线缆145连接到受电设备120的受电端口124,从而供电设备110与受电设备120之间可以同时进行数据传输和电力传输。类似地,供电设备110的数据端口112-2可以通过线缆150连接到受电设备130的数据端口132,并且供电端口114-2可以通过线缆155连接到受电设备130的受电端口134。如本文中使用的,受电设备120和130可以是能够从供电设备接收电力的任何设备。在一些实施例中,受电设备120和130可以是遵循以太网供电协议的受电设备,也即在以太网供电系统中用来受电的设备,其是接受供电的负载,也称为以太网供电系统的客户端设备。以太网受电设备的示例包括但不限于:网络摄像机、无线接入点设备、互联网电话设备、互联网视频监控设备、门禁设备、建筑物管理设备、云终端设备、无线局域网设备、小型家庭(SOHO)交换机、智能照明设备、移动电话充电器、娱乐设备,等等。在其他实施例中,受电设备120和130也可以是遵循目前已知或者将来开发的其他供电协议的受电设备,或者还可以是非标准的受电设备。此外,与供电设备110类似,受电设备120的数据端口122和受电端口124可以是彼此分离的物理端口,并且受电设备130的数据端口132和受电端口134也可以是彼此分离的物理端口。In the example of FIG. 1 , the data port 112-1 of thepower supply device 110 can be connected to thedata port 122 of thepowered device 120 through thecable 140, and the power supply port 114-1 can be connected to thedata port 122 of thepowered device 120 through thecable 145. Thepower receiving port 124 , so that data transmission and power transmission can be performed between thepower supply device 110 and thepower receiving device 120 at the same time. Similarly, the data port 112-2 of thepower supply device 110 can be connected to thedata port 132 of thepowered device 130 through thecable 150, and the power supply port 114-2 can be connected to thepowered port 134 of thepowered device 130 through thecable 155 . As used herein,powered devices 120 and 130 may be any device capable of receiving power from a power sourcing device. In some embodiments, thepowered devices 120 and 130 may be powered devices that follow the Power over Ethernet protocol, that is, devices used to receive power in the Power over Ethernet system, which are loads that receive power, also known as Ethernet Client devices for grid-powered systems. Examples of Ethernet powered devices include, but are not limited to: IP cameras, wireless access point devices, Internet telephony devices, Internet video surveillance devices, access control devices, building management devices, cloud terminal devices, wireless LAN devices, small home (SOHO ) switches, smart lighting, mobile phone chargers, entertainment devices, and more. In other embodiments, thepowered devices 120 and 130 may also be powered devices that comply with other power supply protocols currently known or developed in the future, or may also be non-standard powered devices. In addition, similar to thepower supply device 110, thedata port 122 and thepowered port 124 of thepowered device 120 may be physically separated from each other, and thedata port 132 and thepowered port 134 of thepowered device 130 may also be physically separated from each other. port.

一般地,线缆140和150可以是适合于数据传输的任何线缆,并且线缆145和155可以是适合于电力传输的任何线缆。在一些实施例中,线缆140和150可以是用于传输光信号的光纤线缆,而线缆145和155可以是用于传输电力的金属线缆。在其他实施例中,受电设备120可以通过光电复合线缆(optoelectronic composite cable,OCC)中的光纤连接到数据端口112-1,并且通过光电复合线缆中的供电线连接到供电端口114-1。如本文中使用的,光电复合线缆是一种复合型的线缆,其使用光纤进行数据传输,可以支持高数据速率(例如,高达100千兆位每秒(Gbps)),并且使用电力电缆(例如,铜缆)进行供电传输,可以支持远距离(例如,200米以上)的电力传输。因此,通过使用光电复合线缆来连接供电设备与受电设备,供电设备与受电设备之间可以同时实现高速率的数据传输和远距离的电力传输。在一些实施例中,光电复合线缆中的供电线可以采用双绞线的形式、或者其他可用于传输电力的电缆形式。In general,cables 140 and 150 may be any cables suitable for data transmission, andcables 145 and 155 may be any cables suitable for power transmission. In some embodiments,cables 140 and 150 may be fiber optic cables for transmitting optical signals, whilecables 145 and 155 may be metal cables for transmitting electrical power. In other embodiments, thepowered device 120 may be connected to the data port 112-1 through an optical fiber in an optoelectronic composite cable (OCC), and connected to the power supply port 114-1 through a power supply line in the optoelectronic composite cable. 1. As used herein, an optical composite cable is a composite type of cable that uses optical fiber for data transmission, can support high data rates (for example, up to 100 gigabits per second (Gbps)), and uses (for example, a copper cable) for power transmission, which can support long-distance (for example, more than 200 meters) power transmission. Therefore, by using a photoelectric composite cable to connect the power supply device and the power receiving device, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device at the same time. In some embodiments, the power supply line in the photoelectric composite cable may be in the form of a twisted pair, or other cable forms that can be used to transmit power.

在以太网供电标准中,支持以太网供电的供电设备最长可以支持100米与90瓦的供电能力,同时支持10Gbps的数据传输。然而,随着作为受电设备的无线局域网设备支持新一代的通信技术,其对接入速率需求已经由10Gbps增加至25Gbps,由此导致支持以太网供电技术的局域网交换机与接入点设备之间的布线距离严重受限。在这种情况下,光电复合线缆的使用可以很好地解决双绞线数据传输距离与传输速率之间的固有矛盾。需要注意的是,本公开的实施例中的光电复合线缆应当广义地理解。例如,光电复合线缆可以是光纤和电缆的分离体,也即包括单独的电缆和单独的光纤。又例如,光电复合线缆也可以是将光纤和电缆组合在一起形成的线缆整体。下文参考图2和图3来分别描述本公开的实施例中的光电复合线缆的这两种示例。In the Power over Ethernet standard, a power supply device that supports Power over Ethernet can support a power supply capacity of up to 100 meters and 90 watts, and at the same time support data transmission of 10 Gbps. However, as the wireless LAN device as a powered device supports a new generation of communication technology, its demand for access rate has increased from 10Gbps to 25Gbps, resulting in a The wiring distance is severely limited. In this case, the use of photoelectric composite cables can well solve the inherent contradiction between twisted pair data transmission distance and transmission rate. It should be noted that the photoelectric composite cable in the embodiments of the present disclosure should be understood in a broad sense. For example, the photoelectric composite cable may be a separate body of optical fiber and cable, that is, include a separate cable and a separate optical fiber. For another example, the photoelectric composite cable may also be a whole cable formed by combining optical fibers and cables. These two examples of the photoelectric composite cable in the embodiment of the present disclosure are described below with reference to FIG. 2 and FIG. 3 , respectively.

图2示出了根据本公开的实施例的示例光电复合线缆200的示意图。如图2所示,光电复合线缆200包括分离的光纤215和供电线245。在光电复合线缆200中,光纤215可以包括光纤线路210和220,它们可以分别用于两个不同方向上的光信号的传播。在其他实施例中,光纤215也可以包括仅一条光纤线路用于两个不同方向上的光信号传播,例如,通过频分复用的方式。如所示出的,供电线245可以是两芯供电线,其可以包括负供电线240和正供电线250,并且可以由护套270来包围保护。在其他实施例中,供电线245也可以具有任何其他适合的供电线结构。将明白,光纤215也可以通过护套来保护,但是图2中为了简洁未示出。在一些实施例中,参考图1和图2,受电设备120可以经由光纤215和光纤连接器230连接到供电设备110的数据端口112-1,并且经由供电线245和供电连接器(也称为电源连接器)260连接到供电设备110的供电端口114-1。仅作为示例,光纤连接器230可以是光纤LC型连接器,而供电连接器260可以是RJ45型连接器。当然,在其他实施例中,光纤连接器230也可以是任何其他类型的光纤连接器,并且供电连接器260也可以是任何其他类型的供电连接器。FIG. 2 shows a schematic diagram of an example optoelectroniccomposite cable 200 according to an embodiment of the disclosure. As shown in FIG. 2 , the optical-electricalcomposite cable 200 includes a separateoptical fiber 215 and apower supply line 245 . In the optical-electricalcomposite cable 200, theoptical fiber 215 may includeoptical fiber lines 210 and 220, which are respectively used for the propagation of optical signals in two different directions. In other embodiments, theoptical fiber 215 may also include only one optical fiber line for optical signal propagation in two different directions, for example, by means of frequency division multiplexing. As shown, thepower supply wire 245 may be a two-core power supply wire, which may include a negativepower supply wire 240 and a positivepower supply wire 250 , and may be surrounded and protected by asheath 270 . In other embodiments, thepower supply line 245 may also have any other suitable power supply line structure. It will be appreciated that theoptical fiber 215 may also be protected by a jacket, but is not shown in Figure 2 for the sake of brevity. In some embodiments, referring to FIG. 1 and FIG. 2 , thepowered device 120 can be connected to the data port 112-1 of thepower supply device 110 via theoptical fiber 215 and thefiber optic connector 230, and can be connected to the data port 112-1 of thepower supply device 110 via thepower supply cable 245 and the power supply connector (also called A power connector) 260 is connected to the power supply port 114-1 of thepower supply device 110. By way of example only,fiber optic connector 230 may be a fiber optic LC type connector, andpower supply connector 260 may be an RJ45 type connector. Certainly, in other embodiments, theoptical fiber connector 230 may also be any other type of optical fiber connector, and thepower supply connector 260 may also be any other type of power supply connector.

图3示出了根据本公开的实施例的另一示例光电复合线缆300的示意图。如图3所示,光电复合线缆300包括由护套370包裹在一起的光纤315和供电线345。与光电复合线缆200相类似,光电复合线缆300的光纤315也可以包括两条光纤线路310和320,它们可以分别用于两个不同方向上的光信号传播。在其他实施例中,光纤315可以包括仅一条光纤线路用于两个不同方向上的光信号传播,例如,通过频分复用的方式。此外,与光电复合线缆200相类似,光电复合线缆300的供电线345也可以是两芯供电线,其可以包括负极线340和正极线350。在其他实施例中,供电线345也可以具有任何其他适合的供电线结构。在一些实施例中,参考图1和图3,受电设备120可以经由光纤315和光纤连接器330连接到供电设备110的数据端口112-1,并且经由供电线345和电源连接器360连接到供电设备110的供电端口114-1。仅作为示例,光纤连接器330可以是光纤LC型连接器,而供电连接器360可以是RJ45型连接器。当然,在其他实施例中,光纤连接器330也可以是任何其他类型的光纤连接器,并且供电连接器360也可以是任何其他类型的供电连接器。FIG. 3 shows a schematic diagram of another example optoelectroniccomposite cable 300 according to an embodiment of the present disclosure. As shown in FIG. 3 , the optical-electricalcomposite cable 300 includes anoptical fiber 315 and apower supply wire 345 wrapped together by asheath 370 . Similar to the optical-electricalcomposite cable 200 , theoptical fiber 315 of the optical-electricalcomposite cable 300 may also include twooptical fiber lines 310 and 320 , which are respectively used for optical signal propagation in two different directions. In other embodiments, theoptical fiber 315 may include only one optical fiber line for optical signal propagation in two different directions, for example, by means of frequency division multiplexing. In addition, similar to the optoelectroniccomposite cable 200 , thepower supply line 345 of the optoelectroniccomposite cable 300 may also be a two-core power supply line, which may include anegative pole line 340 and apositive pole line 350 . In other embodiments, thepower supply line 345 may also have any other suitable power supply line structure. In some embodiments, referring to FIG. 1 and FIG. 3 , thepowered device 120 can be connected to the data port 112-1 of thepower supply device 110 via theoptical fiber 315 and theoptical fiber connector 330, and connected to the The power supply port 114 - 1 of thepower supply device 110 . By way of example only,fiber optic connector 330 may be a fiber optic LC type connector, andpower supply connector 360 may be an RJ45 type connector. Certainly, in other embodiments, theoptical fiber connector 330 may also be any other type of optical fiber connector, and thepower supply connector 360 may also be any other type of power supply connector.

返回参考图1,在一些实施例中,由于供电设备110具有多个数据端口112和多个供电端口114,所以为了向一个或多个受电设备供电并且与之通信,各个数据端口112与各个供电端口114之间可以具有配对关系,以便配合连接到一个或多个受电设备。如本文中使用的,供电端口与数据端口之间的“配对”是指供电端口和数据端口可以配合操作以便连接到同一受电设备。例如,与某个供电端口相关的信息或数据(例如,供电参数)可以通过与该供电端口配对的数据端口来传输。在图1的示例中,假设数据端口112-1和供电端口114-1是配对的,那么与供电端口114-1相关的信息或数据(例如,供电参数)可以通过数据端口112-1来传输。因此,如果某个受电设备连接到供电设备110的已配对的供电端口和数据端口,则该受电设备可以经由数据端口向供电设备110发送关于受电设备的供电信息,或从供电设备110接收关于供电端口的数据或信息。例如,在图1的示例中,假设数据端口112-1和供电端口114-1是配对的,则受电设备120可以经由数据端口112-1与供电设备110交换关于供电端口114-1(或受电设备120)的供电信息。Referring back to FIG. 1 , in some embodiments, since thepower sourcing device 110 has a plurality ofdata ports 112 and a plurality ofpower supply ports 114, eachdata port 112 communicates with each other in order to supply power to and communicate with one or more powered devices. Thepower supply ports 114 may have a pairing relationship for mating connection to one or more powered devices. As used herein, a "pair" between a power port and a data port means that the power port and the data port can cooperate to connect to the same powered device. For example, information or data (eg, power parameters) related to a certain power port can be transmitted through the data port paired with the power port. In the example of FIG. 1 , assuming that the data port 112-1 and the power supply port 114-1 are paired, information or data related to the power supply port 114-1 (for example, power supply parameters) can be transmitted through the data port 112-1 . Therefore, if a certain powered device is connected to the paired power supply port and data port of thepower supply device 110, the powered device can send power supply information about the powered device to thepower supply device 110 via the data port, or receive information from thepower supply device 110. Data or information about the powered port is received. For example, in the example of FIG. 1 , assuming that data port 112-1 and power supply port 114-1 are paired,powered device 120 may exchange information about power supply port 114-1 (or The power supply information of the power receiving device 120).

相反地,在一些实施例中,如果某个受电设备连接到供电设备110的未配对的供电端口和数据端口,则该受电设备可以经由数据端口与供电设备110进行通信,也可以经由供电端口从供电设备110接受初步供电。但是,该受电设备无法经由数据端口来与供电设备110交换关于供电端口(或受电设备)的供电信息。因为即使供电设备110接收到这样的供电信息,由于数据端口与供电端口未配对,供电设备110也无法确定该供电信息是关于哪个供电端口的。例如,在图1的示例中,假设数据端口112-1和供电端口114-1未配对,则受电设备120可以经由数据端口112-1与供电设备110通信,但是无法经由数据端口112-1与供电设备110交换关于供电端口114-1(或受电设备120)的供电信息。具体地,供电设备110无法确定将经由数据端口112-1接收的受电设备120的供电信息用于哪个供电端口,也不能确定将哪个供电端口的供电信息经由数据端口112-1提供给受电设备120。在一些实施例中,供电设备110可以使用配置信息来管理供电端口114与数据端口112之间的配对关系。下文参考图4来描述这样的实施例。Conversely, in some embodiments, if a powered device is connected to an unpaired power port and data port of thepower supply device 110, the powered device can communicate with thepower supply device 110 via the data port, or can communicate with thepower supply device 110 via the power supply port. The port receives preliminary power from thepower supply device 110 . However, the powered device cannot exchange power supply information about the power supply port (or powered device) with thepower supply device 110 via the data port. Because even if thepower supply device 110 receives such power supply information, since the data port is not paired with the power supply port, thepower supply device 110 cannot determine which power supply port the power supply information is about. For example, in the example of FIG. 1 , assuming that data port 112-1 and power supply port 114-1 are not paired,powered device 120 can communicate withpower supply device 110 via data port 112-1, but cannot communicate withpower supply device 110 via data port 112-1. The power supply information on the power supply port 114 - 1 (or the power receiving device 120 ) is exchanged with thepower supply device 110 . Specifically, thepower supply device 110 cannot determine for which power supply port the power supply information of thepower receiving device 120 received through the data port 112-1 is used, nor can it determine which power supply port's power supply information is provided to the power receiving device through the data port 112-1.device 120. In some embodiments, thepower supply device 110 can use the configuration information to manage the pairing relationship between thepower supply port 114 and thedata port 112 . Such an embodiment is described below with reference to FIG. 4 .

图4示出了根据本公开的实施例的指示供电端口114与数据端口112之间的配对关系的示例配置信息400。如图4所示,配置信息(也称为配置文件)400可以采用表格的形式,并且可以包括供电端口列410和数据端口列420。在配置信息400中,编号位于同一行中的供电端口和数据端口即为配对的供电端口和数据端口。例如,在图4的示例中,供电端口114-1与数据端口112-1配对,供电端口114-2与数据端口112-2配对,供电端口114-3与数据端口112-N配对,供电端口114-4没有与数据端口配对,……,供电端口114-N-1与数据端口112-8配对,并且供电端口114-N与数据端口112-5配对,等等。借助于配置信息400,供电设备110可以方便地通过查询配置信息400中的条目,来确定供电端口114和数据端口112的配对关系,查找与某个供电端口配对的数据端口,或者查找与某个数据端口配对的供电端口,等等。因此,通过使用配置信息400,供电设备110可以便利地且高效地管理供电端口114与数据端口112之间的配对关系。FIG. 4 illustratesexample configuration information 400 indicating a pairing relationship between apower supply port 114 and adata port 112 according to an embodiment of the disclosure. As shown in FIG. 4 , configuration information (also referred to as a configuration file) 400 may be in the form of a table, and may include a powersupply port column 410 and adata port column 420 . In theconfiguration information 400, the power supply port and the data port whose numbers are in the same row are the paired power supply port and data port. For example, in the example of FIG. 4, the power supply port 114-1 is paired with the data port 112-1, the power supply port 114-2 is paired with the data port 112-2, the power supply port 114-3 is paired with the data port 112-N, and the power supply port 114-2 is paired with the data port 112-N. 114-4 is not paired with a data port, . . . , power port 114-N-1 is paired with data port 112-8, and power port 114-N is paired with data port 112-5, and so on. With the help of theconfiguration information 400, thepower supply device 110 can conveniently determine the pairing relationship between thepower supply port 114 and thedata port 112 by querying the entries in theconfiguration information 400, find out the data port that is paired with a certain power supply port, or find out the pairing relationship with a certain power supply port. The data port is paired with the power port, and so on. Therefore, by using theconfiguration information 400 , thepower supply device 110 can conveniently and efficiently manage the pairing relationship between thepower supply port 114 and thedata port 112 .

应当理解,配置信息400具有图4中描绘的表格形式仅是示例性的,无意以任何方式限制本公开的范围。在其他实施例中,配置信息400可以具有任何适当的其他形式,只要可以用于记录供电端口114与数据端口112之间的配对关系即可。另外,配置信息400中按照供电端口的编号从小到大的顺序来组织也仅是示例性的。在其他实施例中,配置信息400也可以按照数据端口的编号来组织,或者按照供电端口编号或数据端口编号的其他顺序来组织,等等。在一些实施例中,配置信息400可以存储在供电设备110内部,例如存储在供电设备110的存储器中,这样供电设备110对配置信息400的访问速度可以加快。备选地,配置信息400也可以存储在供电设备110可访问的外部存储设备中,如此可以减小供电设备110的存储负担,降低供电设备110的成本。It should be understood thatconfiguration information 400 having the tabular form depicted in FIG. 4 is exemplary only and is not intended to limit the scope of the present disclosure in any way. In other embodiments, theconfiguration information 400 may be in any other appropriate form, as long as it can be used to record the pairing relationship between thepower supply port 114 and thedata port 112 . In addition, the organization in theconfiguration information 400 according to the order of the numbers of the power supply ports from small to large is only exemplary. In other embodiments, theconfiguration information 400 may also be organized according to numbers of data ports, or organized according to other sequences of power supply port numbers or data port numbers, and so on. In some embodiments, theconfiguration information 400 can be stored inside thepower supply device 110 , for example, in a memory of thepower supply device 110 , so that thepower supply device 110 can speed up access to theconfiguration information 400 . Alternatively, theconfiguration information 400 may also be stored in an external storage device accessible to thepower supply device 110 , which can reduce the storage burden of thepower supply device 110 and reduce the cost of thepower supply device 110 .

在一些实施例中,配置信息400是用户可编辑的。换言之,供电设备110的用户可以按照供电设备110的具体应用环境和场景,通过编辑配置信息400的内容,来将供电设备110的某个供电端口与某个数据端口配对。以图1中的受电设备120为例,在受电设备120连接到数据端口112-1和供电端口114-1之前或之后,供电设备110的用户可以在供电设备110的用户界面中编辑配置信息400的内容,从而手动地设置数据端口112-1与供电端口114-1之间的配对关系。这样,供电设备110的用户可以将数据端口112和供电端口114任意配对,极大提升了供电设备110的使用灵活性。In some embodiments,configuration information 400 is user editable. In other words, the user of thepower supply device 110 can pair a certain power supply port of thepower supply device 110 with a certain data port by editing the content of theconfiguration information 400 according to the specific application environment and scenario of thepower supply device 110 . Taking thepowered device 120 in FIG. 1 as an example, before or after thepowered device 120 is connected to the data port 112-1 and the power supply port 114-1, the user of thepower supply device 110 can edit the configuration in the user interface of thepower supply device 110 Contents of theinformation 400, so as to manually set the pairing relationship between the data port 112-1 and the power supply port 114-1. In this way, the user of thepower supply device 110 can arbitrarily pair thedata port 112 and thepower supply port 114 , which greatly improves the flexibility of use of thepower supply device 110 .

在其他实施例中,配置信息400也可以被设置成用户不可编辑的。也就是说,供电设备110的数据端口112和供电端口114之间存在默认的固定的配置关系。在这种情况下,在备选的实施例中,供电设备110也可以不通过配置信息400来管理数据端口112和供电端口114之间的配对关系,因为它们的配对关系是固定的。在一些实施例中,固定配对的数据端口和供电端口可以是容易辨认的,例如,在图1的示例中,与供电端口固定配对的数据端口可以是位于供电端口上方的数据端口。具体地,在图1的示例中,数据端口112-1可以与供电端口114-1具有固定的配对关系,数据端口112-2可以与供电端口114-2具有固定的配对关系,……,数据端口112-N-1可以与供电端口114-N-1具有固定的配对关系,并且数据端口112-N可以与供电端口114-N具有固定的配对关系。在固定配对的情况下,用户在使用线缆将受电设备连接到供电设备110的供电端口和数据端口时,可能需要按照供电端口114和数据端口112之间的固定配对关系来连接。例如,假设图1中的数据端口112-1与供电端口114-1具有固定的配对关系,则它们可能需要被连接至同一受电设备,例如,受电设备120。In other embodiments, theconfiguration information 400 may also be set to be uneditable by the user. That is to say, there is a default fixed configuration relationship between thedata port 112 and thepower supply port 114 of thepower supply device 110 . In this case, in an alternative embodiment, thepower supply device 110 may not manage the pairing relationship between thedata port 112 and thepower supply port 114 through theconfiguration information 400, because their pairing relationship is fixed. In some embodiments, the data port and the power supply port fixedly paired may be easily identifiable, for example, in the example of FIG. 1 , the data port fixedly paired with the power supply port may be the data port located above the power supply port. Specifically, in the example of FIG. 1, the data port 112-1 may have a fixed pairing relationship with the power supply port 114-1, the data port 112-2 may have a fixed pairing relationship with the power supply port 114-2, ..., data Port 112-N-1 may have a fixed pairing relationship with power port 114-N-1, and data port 112-N may have a fixed pairing relationship with power port 114-N. In the case of fixed pairing, when the user uses a cable to connect the powered device to the power supply port and the data port of thepower supply device 110 , it may be necessary to connect according to the fixed pairing relationship between thepower supply port 114 and thedata port 112 . For example, assuming that data port 112 - 1 and power supply port 114 - 1 in FIG. 1 have a fixed pairing relationship, they may need to be connected to the same powered device, eg,powered device 120 .

应当理解,图1至图4仅示意性地示出了示例系统环境100中的与本公开的实施例相关的设备、单元、模块、组件或信息。在实践中,示例系统环境100还可以包括用于其他功能的其他设备、单元、模块、组件或信息。此外,图1至图4中示出的设备、单元、模块、组件或信息的特定数目仅是示意性的,无意以任何方式限制本公开的范围。在其他实施例中,示例系统环境100可以包括任何适当数目的供电设备、受电设备、供电设备的供电端口、供电设备的数据端口、或线缆,等等。因此,本公开的实施例不限于图1至图4所描绘的具体设备、单元、模块、组件或信息,而是一般性地适用于供电设备向受电设备提供供电的任何技术环境。下文参考图5来描述本公开的实施例的用于管理供电的方法。It should be understood that FIGS. 1 to 4 only schematically show devices, units, modules, components or information related to the embodiments of the present disclosure in theexample system environment 100 . In practice, theexample system environment 100 may also include other devices, units, modules, components or information for other functions. In addition, the specific numbers of devices, units, modules, components or information shown in FIGS. 1 to 4 are merely illustrative and are not intended to limit the scope of the present disclosure in any way. In other embodiments, theexample system environment 100 may include any suitable number of power sourcing devices, powered devices, power supply ports of power sourcing devices, data ports of power sourcing devices, or cables, among others. Therefore, embodiments of the present disclosure are not limited to specific devices, units, modules, components or information depicted in FIGS. 1 to 4 , but are generally applicable to any technical environment in which a power supply device provides power to a powered device. A method for managing power supply of an embodiment of the present disclosure is described below with reference to FIG. 5 .

图5示出了根据本公开的实施例的用于管理供电的示例方法500的流程图。在一些实施例中,示例方法500可以由示例系统环境100中的供电设备110来实现,例如可以由供电设备110的处理器或处理单元来实现。在其他实施例中,示例方法500也可以由独立于示例系统环境100的供电设备来实现。为了便于说明且不失一般性,下文将参考图1以供电设备110执行示例方法500以管理向受电设备120的供电作为示例来论述示例方法500。FIG. 5 shows a flowchart of anexample method 500 for managing power supply, according to an embodiment of the disclosure. In some embodiments, theexample method 500 may be implemented by thepower supply device 110 in theexample system environment 100 , for example, may be implemented by a processor or a processing unit of thepower supply device 110 . In other embodiments, theexample method 500 may also be implemented by a power supply device independent of theexample system environment 100 . For ease of illustration and without loss of generality, theexample method 500 will be discussed below with reference to FIG. 1 in which theexample method 500 is performed by thepower supply device 110 to manage power supply to thepowered device 120 .

在框510处,供电设备110可以经由数据端口112-1从受电设备120接收受电设备120的供电信息160。如上文中描述的,受电设备120所连接到的数据端口112-1和供电端口114-1之间是配对的。也就是说,供电设备110可以确定数据端口112-1和供电端口114-1是配合使用的并且连接至同一受电设备。因此,供电设备110可以使用数据端口112-1与受电设备120交换信息,来管理供电端口114-1的供电。例如,供电设备110可以经由数据端口112-1来接收受电设备120的供电信息160,以便于管理对受电设备120的供电,也即管理在供电端口114-1上的供电。At block 510, thepower sourcing device 110 may receive poweringinformation 160 of thepowered device 120 from thepowered device 120 via the data port 112-1. As described above, the data port 112-1 and the power port 114-1 to which thepowered device 120 is connected are paired. That is, thepower supply device 110 may determine that the data port 112-1 and the power supply port 114-1 are used in conjunction and are connected to the same powered device. Therefore, thepower supply device 110 can use the data port 112-1 to exchange information with thepowered device 120 to manage the power supply of the power supply port 114-1. For example, thepower supply device 110 can receive thepower supply information 160 of thepower receiving device 120 via the data port 112-1, so as to manage the power supply to thepower receiving device 120, that is, manage the power supply on the power supply port 114-1.

需要说明的是,如果数据端口112-1与供电端口114-1之间存在固定的配对关系,则在受电设备120连接到数据端口112-1和供电端口114-1之后,供电设备110就可以从受电设备120接收供电信息160,并根据供电信息160来管理供电端口114-1的供电,而无需查询数据端口112-1与供电端口114-1之间是否存在配对关系。然而,如果供电设备110的数据端口112与供电端口114之间的配对关系是可配置的,则在受电设备120连接到数据端口112-1和供电端口114-1之后,供电设备110可能需要在配置信息400中查找数据端口112-1与供电端口114-1之间是否存在配对关系。如果存在这样的配对关系,则供电设备110可以使用供电信息160来管理供电端口114-1的供电。后文将参考图8来详细描述这样的示例。It should be noted that, if there is a fixed pairing relationship between the data port 112-1 and the power supply port 114-1, after thepower receiving device 120 is connected to the data port 112-1 and the power supply port 114-1, thepower supply device 110 will Thepower supply information 160 can be received from thepowered device 120, and the power supply of the power supply port 114-1 can be managed according to thepower supply information 160, without querying whether there is a pairing relationship between the data port 112-1 and the power supply port 114-1. However, if the pairing relationship between thedata port 112 and thepower supply port 114 of thepower supply device 110 is configurable, after thepowered device 120 is connected to the data port 112-1 and the power supply port 114-1, thepower supply device 110 may need In theconfiguration information 400, it is searched whether there is a pairing relationship between the data port 112-1 and the power supply port 114-1. If there is such a pairing relationship, thepower supply device 110 can use thepower supply information 160 to manage the power supply of the power supply port 114-1. Such an example will be described in detail later with reference to FIG. 8 .

在一些实施例中,供电信息160可以包括用于调整供电端口114-1的供电功率的指示。也就是说,受电设备120可以在供电信息160中请求供电设备110调整供电端口114-1的供电功率。一般而言,供电端口114-1的供电功率是指供电设备110分配给供电端口114-1的可用功率,也即分配给受电设备120的可用最大功率。尽管受电受电设备120可能并未汲取该可用的最大功率,但是供电设备110仍然需要将该可用最大功率“预留”给供电端口114-1,而不能分配给其他的供电端口。In some embodiments, poweringinformation 160 may include an indication for adjusting the powering power of powering port 114-1. That is to say, thepowered device 120 may request thepower supply device 110 to adjust the power supply power of the power supply port 114 - 1 in thepower supply information 160 . Generally speaking, the power supply power of the power supply port 114 - 1 refers to the available power allocated to the power supply port 114 - 1 by thepower supply device 110 , that is, the available maximum power allocated to thepowered device 120 . Although thepowered receiving device 120 may not draw the maximum available power, thepower supply device 110 still needs to "reserve" the maximum available power for the power supply port 114-1, and cannot be allocated to other power supply ports.

例如,假设供电设备110向供电端口114-1分配(或预留)30瓦的供电功率,则受电设备120可以在30瓦功率内按需消耗功率。如果受电设备120使用的功率超出了30瓦,则供电设备110可以停止对受电设备120的供电。然而,在一些情况下,受电设备120可能确实需要消耗比供电端口114-1的当前供电功率更高的功率。因此,受电设备120可以在供电信息160中包括提高供电端口114-1的供电功率的请求。在供电设备110处,如果供电设备110具有尚未分配的可用供电功率,则供电设备110可以提高供电端口114-1的供电功率,以便满足受电设备120更高的用电需求。相反地,如果供电设备110没有剩余的供电功率可以分配给供电端口114-1,则供电设备110也可以不调整供电端口114-1的供电功率。For example, assuming that thepower supply device 110 allocates (or reserves) 30 watts of power supply to the power supply port 114 - 1 , thepowered device 120 can consume power within 30 watts of power as required. If the power used by thepowered device 120 exceeds 30 watts, thepower supply device 110 may stop supplying power to thepowered device 120 . However, in some cases, thepowered device 120 may indeed need to consume more power than the current power supply of the power supply port 114-1. Therefore, thepowered device 120 may include a request to increase the power supply of the power supply port 114 - 1 in thepower supply information 160 . At thepower supply device 110 , if thepower supply device 110 has unallocated available power supply, thepower supply device 110 may increase the power supply power of the power supply port 114 - 1 to meet the higher power demand of thepowered device 120 . Conversely, if thepower supply device 110 has no remaining power supply that can be allocated to the power supply port 114-1, thepower supply device 110 may not adjust the power supply power of the power supply port 114-1.

在另一些情况下,受电设备120可能发现需要消耗的功率将持续低于供电端口114-1的当前供电功率。例如,受电设备120可能预期将在一段时间内处于低功耗状态(例如,休眠模式)中,而无需供电设备110向供电端口114-1分配较大的供电功率。在这样的情况下,受电设备120可以在供电信息160中包括降低供电端口114-1的供电功率的请求。在接收到受电设备120发出的降低供电端口114-1的供电功率的请求之后,供电设备110可以降低供电端口114-1的供电功率,从而提高供电设备110的剩余可用供电功率并降低供电设备110的总功耗。备选地或另外地,供电设备110可以将回收的供电功率分配给其他的供电端口以用于向其他受电设备供电。这有利于供电设备110的供电功率的灵活合理的调配。In other cases, thepowered device 120 may find that the power it needs to consume will continue to be lower than the current power supplied by the power supply port 114 - 1 . For example, thepowered device 120 may be expected to be in a low power consumption state (eg, sleep mode) for a period of time without thepower sourcing device 110 allocating larger power supply power to the power supply port 114 - 1 . In such a case, thepowered device 120 may include in the power supply information 160 a request to reduce the power supply of the power supply port 114 - 1 . After receiving the request from thepowered device 120 to reduce the power supply power of the power supply port 114-1, thepower supply device 110 may reduce the power supply power of the power supply port 114-1, thereby increasing the remaining available power supply power of thepower supply device 110 and reducing the power supply power of the power supply device. 110 total power consumption. Alternatively or additionally, thepower supply device 110 may distribute the recovered power supply power to other power supply ports for supplying power to other powered devices. This facilitates flexible and reasonable allocation of the power supply of thepower supply device 110 .

在一些实施例中,供电信息160可以包括受电设备120的供电优先级,从而供电设备110可以根据受电设备120的供电优先级来向受电设备120供电。例如,供电设备110可以依据受电设备120的供电优先级向受电设备120提供相应的供电保障。具体地,在图1的示例中,如果受电设备120相对于受电设备130具有更高的供电优先级,则在可用供电功率不足的情况下,供电设备110可以优先保证受电设备120的供电,而在必要时停止对受电设备130的供电。需要说明的是,供电设备110对受电设备120相对于受电设备130的优先供电是通过设置供电端口114-1和114-2的供电优先级来实现的。也就是说,供电设备110可以参考受电设备120在供电信息160中提供的设备供电优先级,来设置供电端口114-1在所有供电端口114中的端口供电优先级。例如,为了将受电设备120的供电优先级设置为高于受电设备130,供电设备110可以将供电端口114-1的供电优先级设置为高于供电端口114-2的供电优先级。In some embodiments, thepower supply information 160 may include the power supply priority of thepowered device 120 , so that thepower supply device 110 may supply power to thepowered device 120 according to the power supply priority of thepowered device 120 . For example, thepower supply device 110 may provide corresponding power supply guarantee to thepower receiving device 120 according to the power supply priority of thepower receiving device 120 . Specifically, in the example of FIG. 1 , if thepower receiving device 120 has a higher power supply priority than thepower receiving device 130 , in the case of insufficient power supply, thepower supply device 110 can give priority to ensuring the power supply of thepower receiving device 120 power supply, and stop the power supply to thepower receiving device 130 when necessary. It should be noted that the preferential power supply of thepower supply device 110 to thepower receiving device 120 relative to thepower receiving device 130 is realized by setting the power supply priorities of the power supply ports 114 - 1 and 114 - 2 . That is to say, thepower supply device 110 may refer to the device power supply priority provided by thepowered device 120 in thepower supply information 160 to set the port power supply priority of the power supply port 114 - 1 among all thepower supply ports 114 . For example, in order to set the power supply priority of thepowered device 120 higher than that of thepowered device 130, thepower supply device 110 may set the power supply priority of the power supply port 114-1 higher than that of the power supply port 114-2.

在其他实施例中,供电信息160还可以包括与受电设备120的供电有关的其他信息。例如,供电信息160可以包括受电设备120期望的任何其他的供电参数,诸如,供电电压等。又例如,供电信息160可以包括受电设备120期望的供电方式,诸如,在特定时间段内提供低功率供电,在另一特定时间段内提供高功率供电,等等。总之,受电设备120可以经由数据端口112-1向供电设备110提供与受电设备120的供电有关的任何信息。在一些实施例中,为了更好地向受电设备120供电,供电设备110可以经由数据端口112-1就受电设备120的供电与受电设备120进行通信协商并且达成一致。例如,供电设备110在框510处接收受电设备120的供电信息160可以是该通信协商过程的一部分。后文将参考图6A、图6B和图7来具体描述这样的实施例。In other embodiments, thepower supply information 160 may also include other information related to the power supply of thepowered device 120 . For example, thepower supply information 160 may include any other power supply parameters expected by thepowered device 120, such as a power supply voltage and the like. For another example, thepower supply information 160 may include the expected power supply mode of thepowered device 120, such as providing low-power power supply within a specific time period, providing high-power power supply within another specific time period, and so on. In summary, thepowered device 120 may provide any information related to the power supply of thepowered device 120 to thepower supply device 110 via the data port 112 - 1 . In some embodiments, in order to better supply power to thepowered device 120 , thepower supply device 110 may negotiate and reach an agreement with thepowered device 120 on the power supply of thepowered device 120 via the data port 112 - 1 . For example, receivingpower information 160 forpowered device 120 at block 510 bypower sourcing device 110 may be part of the communication negotiation process. Such an embodiment will be specifically described later with reference to FIGS. 6A , 6B and 7 .

在框520处,基于受电设备120的供电信息160,供电设备110可以经由供电端口114-1向受电设备120供电。例如,如果供电信息160表明受电设备120请求降低供电端口114-1的供电功率,则供电设备110可以相应地减小供电端口114-1的供电功率,从而回收可用的供电功率并提高剩余的可用供电功率。又例如,如果供电信息160表明受电设备120请求提高供电端口114-1的供电功率,则供电设备110可以视情况来决定是否提高供电端口114-1的供电功率。具体地,如果供电设备110不具有剩余的可用供电功率,或者即使供电设备110有剩余的可用供电功率,但是存在比受电设备120的供电优先级更高的受电设备也请求提高供电功率,则供电设备110可以不提高供电端口114-1的供电功率。如果有可用的额外供电功率,则供电设备110可以提高供电端口114-1的供电功率。再例如,如果供电信息160中包括受电设备120的供电优先级,则供电设备110可以根据受电设备120的供电优先级的高低来向受电设备120提供相应的供电保障。在其他实施例中,供电信息160还可能指示与受电设备120的供电有关的任何其他信息。在这些的实施例中,供电设备110可以利用供电信息160中的这些信息来更好地经由供电端口114-1向受电设备120供电,从而改进供电设备110向受电设备120提供的供电。Atblock 520, based on thepower information 160 of thepowered device 120, thepower supply device 110 may provide power to thepowered device 120 via the power supply port 114-1. For example, if thepower supply information 160 indicates that thepowered device 120 requests to reduce the power supply power of the power supply port 114-1, thepower supply device 110 may correspondingly reduce the power supply power of the power supply port 114-1, so as to recover the available power supply and increase the remaining power supply. available power supply. For another example, if thepower supply information 160 indicates that thepowered device 120 requests to increase the power supply of the power supply port 114-1, thepower supply device 110 may decide whether to increase the power supply of the power supply port 114-1 according to the situation. Specifically, if thepower supply device 110 does not have the remaining available power supply power, or even if thepower supply device 110 has the remaining available power supply power, but there is a power receiving device with a higher power supply priority than thepower receiving device 120 and requests to increase the power supply power, Then thepower supply device 110 may not increase the power supply power of the power supply port 114-1. Thepower supply 110 may increase the power supply to the power supply port 114-1 if additional power supply is available. For another example, if thepower supply information 160 includes the power supply priority of thepower receiving device 120 , thepower supply device 110 may provide corresponding power supply guarantee to thepower receiving device 120 according to the power supply priority of thepower receiving device 120 . In other embodiments, thepower supply information 160 may also indicate any other information related to the power supply of thepowered device 120 . In these embodiments, thepower supply device 110 can use the information in thepower supply information 160 to better supply power to thepower receiving device 120 via the power supply port 114 - 1 , so as to improve the power supply provided by thepower supply device 110 to thepower receiving device 120 .

借助于示例方法500,在数据端口112-1与供电端口114-1分离的情况下,通过将数据端口112-1与供电端口114-1配对,供电设备110可以经由数据端口112-1从受电设备120接收受电设备120的供电信息160,并且在配对的供电端口114-1上根据供电信息160向受电设备120提供特定于受电设备120的供电,以满足受电设备120的个性化的用电需求。以此方式,通过使用示例方法500,本公开的实施例的供电设备110可以解决传统供电设备在数据端口与供电端口分离的场景中存在的问题,从而具有分离的数据端口112-1和供电端口114-1的供电设备110可以向受电设备120提供高性能的供电。By way ofexample method 500, with data port 112-1 separated from power supply port 114-1, by pairing data port 112-1 with power supply port 114-1,power sourcing device 110 can receive power from a receiving device via data port 112-1. Theelectric device 120 receives thepower supply information 160 of thepower receiving device 120, and provides power supply specific to thepower receiving device 120 to thepower receiving device 120 on the paired power supply port 114-1 according to thepower supply information 160, so as to meet the individuality of thepower receiving device 120 customized electricity demand. In this way, by using theexample method 500, thepower supply device 110 of the embodiment of the present disclosure can solve the problem of the traditional power supply device in the scenario where the data port is separated from the power supply port, thereby having separate data port 112-1 and power supply port Thepower supply device 110 of 114 - 1 can provide high-performance power supply to thepower receiving device 120 .

如上文在描述示例方法500的框510时提到的,为了更好地向受电设备120供电,供电设备110可以经由数据端口112-1就受电设备120的供电与受电设备120进行通信协商,并且最终达成一致,从而可以解决传统供电设备因为数据端口和供电端口分离造成的无法与受电设备进行供电协商的问题。例如,供电设备110在框510处接收受电设备120的供电信息160可以是该通信协商过程的一部分。在一些实施例中,这样的通信协商可以基于链路层发现协议(LLDP)来实现。例如,供电设备110与受电设备120之间发送的各种信息可以包括在LLDP报文内自定义的“类型/长度/值”(Type/Length/Value,TLV)字段中,以实现供电设备110与受电设备120之间的供电功率协商、供电功率的动态分配、供电优先级协商,等等。应当明白,这里提到的链路层发现协议和TLV字段仅是示例性的,无意以任何方式限制本公开的范围。本公开的实施例可以等同地适用于任何其他的当前已有的或未来开发的通信协议或字段。下文将参考图6A、图6B和图7来具体描述供电设备110与受电设备120之间的通信协商过程的示例。As mentioned above when describing block 510 ofexample method 500, in order to better provide power topowered device 120,power supply device 110 may communicate withpowered device 120 regarding powering ofpowered device 120 via data port 112-1. Negotiate and finally reach an agreement, which can solve the problem that the traditional power supply equipment cannot negotiate power supply with the powered equipment due to the separation of the data port and the power supply port. For example, receivingpower information 160 forpowered device 120 at block 510 bypower sourcing device 110 may be part of the communication negotiation process. In some embodiments, such communication negotiation may be implemented based on the Link Layer Discovery Protocol (LLDP). For example, various information sent between thepower supply device 110 and thepower receiving device 120 can be included in the custom "Type/Length/Value" (TLV) field in the LLDP message, so as to realize the Negotiation of power supply between 110 andpowered device 120, dynamic allocation of power supply, negotiation of power supply priority, and so on. It should be understood that the link layer discovery protocol and TLV fields mentioned here are only exemplary and are not intended to limit the scope of the present disclosure in any way. Embodiments of the present disclosure may be equally applicable to any other currently existing or future developed communication protocols or fields. An example of the communication negotiation process between thepower supply device 110 and thepower receiving device 120 will be specifically described below with reference to FIGS. 6A , 6B and 7 .

图6A示出了根据本公开的实施例的供电设备110与受电设备120协商供电功率的示例通信过程600的示意图。需要说明的是,为了论述的目的,下文将参考图1的供电设备110与受电设备120来描述示例通信过程600。然而,应当明白,示例通信过程600也可以等同地在根据本公开的实施例的供电设备与任何其他适合的受电设备之间执行。FIG. 6A shows a schematic diagram of anexample communication process 600 in which thepower supply device 110 negotiates power supply with thepowered device 120 according to an embodiment of the present disclosure. It should be noted that for purposes of discussion, theexample communication process 600 will be described below with reference to thepower sourcing device 110 andpowered device 120 of FIG. 1 . However, it should be understood that theexample communication process 600 may also be equally performed between a power supply device according to an embodiment of the present disclosure and any other suitable powered device.

如图6A所示,在受电设备120连接到供电设备110的已配对的供电端口114-1和数据端口112-1之后,受电设备120可以经由数据端口112-1向供电设备110发送610用于调整供电端口114-1的供电功率的指示605。相对应地,供电设备110可以经由数据端口112-1从受电设备120接收620用于调整供电端口114-1的供电功率的指示605。例如,受电设备120可能将在较长时间内处于低功耗状态,则受电设备120可以基于链路层发现协议LLDP与供电设备110协商供电端口114-1的供电功率。例如,受电设备120经由数据端口112-1向供电设备110发送降低供电端口114-1的供电功率的请求。相反地,如果受电设备120需要消耗比供电端口114-1的供电功率更高的功率,则受电设备120可以在指示605中请求供电设备110向供电端口114-1分配更多的供电功率。在一些实施例中,受电设备120可以周期性地向供电设备110发送受电设备120当前所需要的供电功率。在这样的实施例中,如果受电设备120所需要的供电功率发生变化,则可以认为受电设备120发送了用于调整供电端口114-1的供电功率的指示605。在其他实施例中,替代周期性地发送指示605,受电设备120也可以在所需要的供电功率发生变化时向供电设备110发送指示605。As shown in FIG. 6A, after thepowered device 120 is connected to the paired power port 114-1 and data port 112-1 of thepower supply device 110, thepowered device 120 may send 610 to thepower supply device 110 via the data port 112-1. Anindication 605 for adjusting the power supply of the power supply port 114-1. Correspondingly, thepower supply device 110 may receive 620 anindication 605 for adjusting the power supply of the power supply port 114-1 from thepowered device 120 via the data port 112-1. For example, thepowered device 120 may be in a low power consumption state for a long time, and thepowered device 120 may negotiate with thepower supply device 110 on the power supply power of the power supply port 114 - 1 based on the link layer discovery protocol LLDP. For example, thepowered device 120 sends a request to reduce the power supply of the power supply port 114-1 to thepower supply device 110 via the data port 112-1. Conversely, if thepowered device 120 needs to consume more power than the power supply of the power supply port 114-1, thepowered device 120 may request thepower supply device 110 to allocate more power supply power to the power supply port 114-1 in theindication 605 . In some embodiments, thepowered device 120 may periodically send the power supply power currently required by thepowered device 120 to thepower supply device 110 . In such an embodiment, if the power supply required by thepowered device 120 changes, it may be considered that thepowered device 120 sends aninstruction 605 for adjusting the power supply of the power supply port 114-1. In other embodiments, instead of sending theindication 605 periodically, thepowered device 120 may also send theindication 605 to thepower supply device 110 when the required power supply power changes.

在从受电设备120接收620到指示605之后,取决于不同的场景,供电设备110可以经由数据端口112-1向受电设备120发送630供电端口114-1的供电功率615,也即,供电设备110分配或预留给数据端口112-1的供电功率615。相应地,受电设备120可以经由数据端口112-1从供电设备110接收640供电端口114-1的供电功率615。例如,如果指示605是请求降低供电端口114-1的供电功率,则供电设备110可以向受电设备120发送630供电端口114-1的降低后的供电功率615。以此方式,供电设备110的剩余的可用供电功率可以被提高,这有利于供电设备110的供电功率的灵活合理的调配。又例如,如果指示605是请求提高供电端口114-1的供电功率,并且供电设备110确定供电端口114-1的供电功率可以被提高,诸如供电设备110还具有未分配的供电功率,或者受电设备120具有高供电优先级,则供电设备110可以向受电设备120发送630供电端口114-1的提高后的供电功率615。以此方式,供电设备110可以满足受电设备120的用电需求,从而提高向受电设备120的供电性能。After receiving 620 theinstruction 605 from thepowered device 120, depending on different scenarios, thepower supply device 110 may send 630 thepower supply power 615 of the power supply port 114-1 to thepowered device 120 via the data port 112-1, that is,supply power Device 110 allocates or reserves supplypower 615 to data port 112-1. Accordingly, thepowered device 120 may receive 640 thepower supply 615 of the power supply port 114-1 from thepower supply device 110 via the data port 112-1. For example, if theindication 605 is a request to reduce the power supply of the power supply port 114 - 1 , thepower supply device 110 may send 630 the reducedpower supply power 615 of the power supply port 114 - 1 to thepowered device 120 . In this way, the remaining available power supply power of thepower supply device 110 can be increased, which facilitates flexible and reasonable allocation of the power supply power of thepower supply device 110 . For another example, if theindication 605 is a request to increase the power supply power of the power supply port 114-1, and thepower supply device 110 determines that the power supply power of the power supply port 114-1 can be increased, such as thepower supply device 110 also has unallocated power supply power, or is powered Thedevice 120 has a high power supply priority, and thepower supply device 110 may send 630 the increasedpower supply power 615 of the power supply port 114 - 1 to thepowered device 120 . In this way, thepower supply device 110 can meet the power demand of thepower receiving device 120 , thereby improving the performance of power supply to thepower receiving device 120 .

再例如,如果指示605是请求提高供电端口114-1的供电功率,并且供电设备110确定供电端口114-1的供电功率无法被提高,诸如供电设备110不具有未分配的供电功率,或者受电设备120具有低供电优先级而另一高供电优先级的受电设备正在请求分配更高的供电功率,则供电设备110可以向受电设备120发送630供电端口114-1的未改变的供电功率615,从而以隐式的方式通知受电设备120提高供电功率的请求被拒绝。在其他实施例中,供电设备110也可以经由数据端口112-1向受电设备120发送显式通知,以指示提高供电端口114-1的供电功率的请求被拒绝。For another example, if theindication 605 is a request to increase the power supply power of the power supply port 114-1, and thepower supply device 110 determines that the power supply power of the power supply port 114-1 cannot be increased, such as thepower supply device 110 does not have unallocated power supply power, or is powered Thedevice 120 has a low power supply priority and another powered device with a high power supply priority is requesting to allocate higher power supply, then thepower supply device 110 may send 630 the unchanged power supply power of the power supply port 114-1 to thepowered device 120 615, thereby notifying thepowered device 120 that the request for increasing the power supply power is rejected in an implicit manner. In other embodiments, thepower supply device 110 may also send an explicit notification to thepowered device 120 via the data port 112-1 to indicate that the request to increase the power supply of the power supply port 114-1 is rejected.

通过通信过程600,受电设备120可以经由数据端口112-1将期望的供电端口114-1的供电功率告知供电设备110,而供电设备110也可以经由数据端口112-1向受电设备120通知调整后的(或未经调整的)供电端口114-1的供电功率,从而及时且高效地完成供电设备110与受电设备120之间关于供电端口114-1的供电功率的协商。由此,供电设备110可以在可能的范围内根据受电设备120的用电需求来及时调整供电端口114-1的供电功率,以满足受电设备120的个性化需求,提高针对受电设备120的供电性能。此外,由于供电设备110向受电设备120提供的供电功率可以实现动态化调整,所以可以避免传统的供电设备由于供电功率不足引起的受电设备掉电。Through thecommunication process 600, thepowered device 120 can inform thepower supply device 110 of the expected power supply power of the power supply port 114-1 via the data port 112-1, and thepower supply device 110 can also notify thepowered device 120 via the data port 112-1 The adjusted (or unadjusted) power supply power of the power supply port 114-1, so as to complete the negotiation on the power supply power of the power supply port 114-1 between thepower supply device 110 and thepowered device 120 in a timely and efficient manner. Therefore, thepower supply device 110 can timely adjust the power supply power of the power supply port 114-1 according to the power demand of thepower receiving device 120 within the possible range, so as to meet the individual needs of thepower receiving device 120 and improve the efficiency of thepower receiving device 120. power supply performance. In addition, since the power supply provided by thepower supply device 110 to thepower receiving device 120 can be dynamically adjusted, it is possible to avoid power-off of the power receiving device due to insufficient power supply of the traditional power supply device.

图6B示出了根据本公开的实施例的供电设备110与受电设备120协商供电功率的另一示例通信过程650的示意图。需要说明的是,为了论述的目的,下文将参考图1的供电设备110与受电设备120来描述示例通信过程650。然而,应当明白,示例通信过程650也可以等同地在根据本公开的实施例的供电设备与任何其他适合的受电设备之间执行。FIG. 6B shows a schematic diagram of anotherexample communication process 650 in which thepower supply device 110 negotiates power supply with thepowered device 120 according to an embodiment of the present disclosure. It should be noted that for purposes of discussion, theexample communication process 650 will be described below with reference to thepower sourcing device 110 andpowered device 120 of FIG. 1 . However, it should be understood that theexample communication process 650 may equally be performed between a power supply device according to an embodiment of the present disclosure and any other suitable powered device.

如图6B所示,在受电设备120连接到供电设备110的已配对的供电端口114-1和数据端口112-1之后,供电设备110可以经由数据端口112-1向受电设备120发送660供电端口114-1的供电能力信息(本文中也简称为能力信息)的指示625。相对应地,受电设备120可以经由数据端口112-1从供电设备110接收670供电端口114-1的供电能力信息的指示625。在一些实施例中,供电端口的供电能力可以是指供电端口的最大供电功率,而供电设备110与受电设备120协商的供电功率将等于或低于该最大供电功率。仅作为示例而非限制,供电端口114-1的供电能力可能是40瓦,而供电设备110向供电端口114-1分配的供电功率可能是30瓦,低于最大供电功率40瓦。在一些情况下,例如由于其他更高优先级的受电设备连接到供电设备110,供电设备110可能需要降低供电端口114-1的最大供电功率。相反地,如果供电设备110发现还具有剩余未分配的供电功率,供电设备110也可以提高供电端口114-1的最大供电功率。因此,如果供电设备110确定供电端口114-1的最大供电功率将被调整,则供电设备110可以向受电设备120发送660指示625。在一些实施例中,供电设备110可以周期性地向受电设备120发送供电端口114-1的供电能力信息的指示625,而不论供电端口114-1的最大供电功率是否发生变化。在其他实施例中,替代周期性地发送指示625,供电设备110也可以在供电端口114-1的最大供电功率发生变化时向受电设备120发送指示625。As shown in FIG. 6B, afterpowered device 120 is connected to paired power port 114-1 and data port 112-1 ofpower supply device 110,power supply device 110 may send 660 topowered device 120 via data port 112-1. Anindication 625 of power supply capability information (also simply referred to as capability information herein) of the power supply port 114-1. Correspondingly, thepowered device 120 may receive 670 anindication 625 of the power supply capability information of the power supply port 114-1 from thepower supply device 110 via the data port 112-1. In some embodiments, the power supply capability of the power supply port may refer to the maximum power supply power of the power supply port, and the power supply power negotiated between thepower supply device 110 and thepowered device 120 will be equal to or lower than the maximum power supply power. As an example only and not a limitation, the power supply capability of the power supply port 114-1 may be 40 watts, and the power supply power allocated by thepower supply device 110 to the power supply port 114-1 may be 30 watts, which is lower than the maximum power supply power of 40 watts. In some cases, for example, because other powered devices with higher priority are connected to thepower supply device 110, thepower supply device 110 may need to reduce the maximum power supply power of the power supply port 114-1. Conversely, if thepower supply device 110 finds that there is remaining unallocated power supply, thepower supply device 110 may also increase the maximum power supply power of the power supply port 114-1. Accordingly, ifsourcing device 110 determines that the maximum power supply of power supply port 114 - 1 is to be adjusted,sourcing device 110 may send 660indication 625 topowered device 120 . In some embodiments, thepower supply device 110 may periodically send theindication 625 of the power supply capability information of the power supply port 114-1 to thepowered device 120, regardless of whether the maximum power supply power of the power supply port 114-1 changes. In other embodiments, instead of periodically sending theindication 625, thepower supply device 110 may also send theindication 625 to thepowered device 120 when the maximum power supply power of the power supply port 114-1 changes.

在从供电设备110接收到指示625之后,取决于不同的场景,受电设备120可以经由数据端口112-1向供电设备110发送680用于调整供电端口114-1的供电功率的指示605。相应地,供电设备110可以经由数据端口112-1从受电设备120接收690指示605。例如,不论指示625是降低、提高还是保持供电端口114-1的最大供电功率,受电设备120可以视情况而经由数据端口112-1向供电设备110发送用于调整供电端口114-1的供电功率的指示605,以向供电设备110申请等于或低于供电端口114-1的最大供电功率的供电功率。以此方式,受电设备120可以根据供电端口114-1的供电能力来向供电设备110请求适当的供电功率,从而有利于供电设备110和受电设备120高效地协商出合理的供电功率。需要说明的是,如果受电设备120确定供电端口114-1的供电功率无需调整,则受电设备120可以向供电设备110发送680指示605以指示与此前使用的相同的供电功率,从而以隐式的方式通知供电设备110无需调整供电端口114-1的供电功率。在其他实施例中,受电设备120也可以经由数据端口112-1向供电设备110发送显式通知以指示供电端口114-1的供电功率无需调整。After receiving theinstruction 625 from thepower supply device 110, depending on different scenarios, thepowered device 120 may send 680 aninstruction 605 for adjusting the power supply of the power supply port 114-1 to thepower supply device 110 via the data port 112-1. Accordingly,power sourcing device 110 may receive 690indication 605 frompowered device 120 via data port 112-1. For example, regardless of whether theindication 625 is to reduce, increase or maintain the maximum power supply of the power supply port 114-1, thepowered device 120 may send the power supply for adjusting the power supply port 114-1 to thepower supply device 110 via the data port 112-1 as appropriate.Power instruction 605, to apply to thepower supply device 110 for a power supply equal to or lower than the maximum power supply power of the power supply port 114-1. In this manner, thepowered device 120 can request appropriate power supply power from thepower supply device 110 according to the power supply capability of the power supply port 114 - 1 , which is beneficial for thepower supply device 110 and thepowered device 120 to efficiently negotiate a reasonable power supply power. It should be noted that, if thepowered device 120 determines that the power supply power of the power supply port 114-1 does not need to be adjusted, thepowered device 120 may send 680 anindication 605 to thepower supply device 110 to indicate the same power supply power used before, so as to implicitly Thepower supply device 110 is notified in a formal manner that there is no need to adjust the power supply power of the power supply port 114-1. In other embodiments, thepowered device 120 may also send an explicit notification to thepower supply device 110 via the data port 112-1 to indicate that the power supply power of the power supply port 114-1 does not need to be adjusted.

通过通信过程650,供电设备110可以经由数据端口112-1向受电设备120通知供电端口114-1的供电能力,也即最大供电功率。如此,受电设备120可以根据供电端口114-1的供电能力来向供电设备110请求适当的供电功率,从而有利于供电设备110和受电设备120高效地协商出合理的供电功率,进而提高供电设备110针对受电设备120的供电性能。Through thecommunication process 650, thepower supply device 110 may notify thepower receiving device 120 of the power supply capability of the power supply port 114-1, that is, the maximum power supply power, via the data port 112-1. In this way, thepowered device 120 can request an appropriate power supply power from thepower supply device 110 according to the power supply capability of the power supply port 114-1, which is beneficial for thepower supply device 110 and thepowered device 120 to efficiently negotiate a reasonable power supply, thereby improving power supply Thedevice 110 is directed to the power supply performance of thepowered device 120 .

图7示出了根据本公开的实施例的供电设备110与受电设备120协商供电优先级的示例通信过程700的示意图。需要说明的是,为了论述的目的,下文将参考图1的供电设备110与受电设备120来描述示例通信过程700。然而,应当明白,示例通信过程700也可以等同地在根据本公开的实施例的供电设备与任何其他适合的受电设备之间执行。FIG. 7 shows a schematic diagram of anexample communication process 700 in which thepower supply device 110 negotiates power supply priority with thepowered device 120 according to an embodiment of the present disclosure. It should be noted that for purposes of discussion, theexample communication process 700 will be described below with reference to thepower sourcing device 110 andpowered device 120 of FIG. 1 . However, it should be understood that theexample communication process 700 may also be equally performed between a power supply device according to an embodiment of the present disclosure and any other suitable powered device.

如图7所示,在受电设备120连接到供电设备110的已配对的供电端口114-1和数据端口112-1之后,受电设备120可以经由数据端口112-1向供电设备110发送710受电设备120的供电优先级705。相对应地,供电设备110可以经由数据端口112-1从受电设备120接收720受电设备120的供电优先级705。在一些实施例中,供电优先级705可以是受电设备120自带的设备优先级,并且可以根据不同受电设备的重要性高低来设置。例如,如果受电设备120是互联网电话设备,则受电设备120可以被设置有较高的供电优先级705。又例如,如果受电设备120是娱乐设备,则受电设备120可以被设置有较低的供电优先级705。将理解,这里描述的不同类型的受电设备120具有或高或低的供电优先级仅是示例性的,无意以任何方式限制本公开的范围。在其他实施例中,取决于具体的系统环境和应用场景,娱乐设备也可能带有高于互联网电话设备的供电优先级。在一些实施例中,受电设备120可以周期性地向供电设备110发送710受电设备120的供电优先级705,以便供电设备110可以实时地评估受电设备120在连接到供电设备110的所有受电设备中的重要性,从而可以灵活地调整受电设备120的实际供电优先级,也即供电端口114-1的端口供电优先级。As shown in FIG. 7, afterpowered device 120 is connected to paired power port 114-1 and data port 112-1 ofpower supply device 110,powered device 120 may send 710 topower supply device 110 via data port 112-1. Thepower supply priority 705 of thepowered device 120 . Correspondingly, thepower supply device 110 may receive 720 thepower supply priority 705 of thepowered device 120 from thepowered device 120 via the data port 112 - 1 . In some embodiments, thepower supply priority 705 may be a device priority of thepowered device 120, and may be set according to the importance of different powered devices. For example, ifpowered device 120 is an Internet telephony device,powered device 120 may be set with a higherpower supply priority 705 . For another example, if thepowered device 120 is an entertainment device, thepowered device 120 may be set with a lowerpower supply priority 705 . It will be appreciated that the description herein of different types ofpowered devices 120 having higher or lower power supply priorities is exemplary only and is not intended to limit the scope of the present disclosure in any way. In other embodiments, depending on the specific system environment and application scenarios, the entertainment device may also have a higher power supply priority than the Internet phone device. In some embodiments, thepowered device 120 may periodically send 710 thepower supply priority 705 of thepowered device 120 to thepower supply device 110, so that thepower supply device 110 may evaluate thepower receiving device 120 in real time among all power supply devices connected to thepower supply device 110. Therefore, the actual power supply priority of thepowered device 120, that is, the port power supply priority of the power supply port 114-1 can be flexibly adjusted.

在接收到受电设备120的供电优先级705之后,供电设备110可以基于各个供电端口114上所连接的受电设备的供电优先级,来设置各个供电端口114的端口供电优先级,也即各个受电设备在供电设备110处的实际供电优先级。例如,参考图1,假设连接到供电设备110的供电端口114-1的受电设备120是互联网电话设备,其供电优先级可以为“极高(Critical)”。另外,假设连接到供电设备110的供电端口114-2的受电设备130是网络摄像机,其供电优先级可以为“高(High)”。此外,假设连接到供电设备110的供电端口114-3的受电设备(未示出)是娱乐设备,其供电优先级可以为“低(Low)”。在这种情况下,供电设备110可以相应地将供电端口114-1的供电优先级设置为“极高”,将供电端口114-2的供电优先级设置为“高”,而将供电端口114-3的供电优先级设置为“低”。After receiving thepower supply priority 705 of thepowered device 120, thepower supply device 110 can set the port power supply priority of eachpower supply port 114 based on the power supply priority of the powered device connected to eachpower supply port 114, that is, eachpower supply port 114 The actual power supply priority of the powered device at thepower supply device 110 . For example, referring to FIG. 1 , assuming that thepowered device 120 connected to the power supply port 114 - 1 of thepower supply device 110 is an Internet telephony device, its power supply priority may be "critical". In addition, assuming that thepowered device 130 connected to the power supply port 114 - 2 of thepower supply device 110 is a network camera, its power supply priority may be "High". Furthermore, assuming that a power receiving device (not shown) connected to the power supply port 114-3 of thepower supply device 110 is an entertainment device, its power supply priority may be "Low". In this case, thepower supply device 110 can correspondingly set the power supply priority of the power supply port 114-1 to "very high", set the power supply priority of the power supply port 114-2 to "high", and set the power supply priority of the power supply port 114 -3 power supply priority is set to "low".

需要说明的是,供电设备110在设置供电端口114的端口供电优先级时,并非需要与受电设备本身的设备供电优先级完全一致。在一些实施例中,在设置各个供电端口114的供电优先级时,供电设备110还可以考虑到特定的系统环境和应用场景等其他因素。例如,如果连接至供电端口114-3的上述娱乐设备正在参与竞技,则供电设备110可以将供电端口114-1和114-3的供电优先级设置为“极高”,而将供电端口114-2的供电优先级设置为“高”。备选地,供电设备110可以将供电端口114-3的供电优先级设置为“极高”,将供电端口114-1的供电优先级设置为“高”,而将供电端口114-2的供电优先级设置为“低”,等等。将明白,在这种特定场景下,各个供电端口114的供电优先级的其他设置方式也是可能的,只要使得供电端口114-3的具有相对高的供电优先级即可。It should be noted that when thepower supply device 110 sets the port power supply priority of thepower supply port 114, it does not need to be completely consistent with the device power supply priority of the powered device itself. In some embodiments, when setting the power supply priority of eachpower supply port 114, thepower supply device 110 may also consider other factors such as a specific system environment and an application scenario. For example, if the above-mentioned entertainment equipment connected to the power supply port 114-3 is participating in a competition, thepower supply device 110 can set the power supply priorities of the power supply ports 114-1 and 114-3 to "very high", while the power supply port 114- 2's power supply priority is set to "High". Alternatively, thepower supply device 110 can set the power supply priority of the power supply port 114-3 to "very high", set the power supply priority of the power supply port 114-1 to "high", and set the power supply priority of the power supply port 114-2 to "high". Priority is set to "low", etc. It will be understood that in this particular scenario, other ways of setting the power supply priority of eachpower supply port 114 are also possible, as long as the power supply port 114-3 has a relatively high power supply priority.

应当注意,这里列出的各个受电设备120和130等以及各个供电端口114的设备供电优先级体系和端口供电优先级体系仅是示意性的,无意以任何方式限制本公开的范围。在其他实施例中,供电设备110的各个供电端口114可以具有“极高”、“高”和“低”三种供电优先级,而受电设备可以带有更为精细的供电优先级划分体系,诸如,由数字1、2、3、4和5表示的五级供电优先级。又例如,受电设备可以具有“极高”、“高”和“低”三种供电优先级,而供电设备110的各个供电端口114可以被设置有更为精细的供电优先级划分体系,诸如,由数字1、2、3、4和5表示的五级供电优先级。再例如,受电设备和各个供电端114两者均可以具有任何数目的优先级级别的供电优先级。It should be noted that the device power supply priority system and port power supply priority system of eachpowered device 120 and 130 and eachpower supply port 114 listed here are only illustrative, and are not intended to limit the scope of the present disclosure in any way. In other embodiments, eachpower supply port 114 of thepower supply device 110 may have three power supply priorities of "very high", "high" and "low", and the powered device may have a more refined power supply priority division system , such as five levels of power supply priority represented bynumbers 1, 2, 3, 4 and 5. For another example, the powered device may have three power supply priorities of "very high", "high" and "low", and eachpower supply port 114 of thepower supply device 110 may be set with a more refined power supply priority classification system, such as , five levels of power supply priority represented bynumbers 1, 2, 3, 4 and 5. As another example, both the powered device and eachpower supply 114 may have power supply priorities of any number of priority levels.

在设置受电设备120的实际供电优先级,也即,供电端口114-1的供电优先级之后,供电设备110可以经由数据端口112-1向受电设备120发送730供电端口114-1的供电优先级715。相对应地,受电设备120可以经由数据端口112-1从供电设备110接收740供电端口114-1的供电优先级715。如此,受电设备120可以获知供电端口114-1的供电优先级715,也即,受电设备120在供电设备110处的实际供电优先级。因此,受电设备120可以根据该实际供电优先级来规划受电设备120的操作。例如,如果受电设备120被通知其在供电设备110处具有较高的实际供电优先级,则受电设备120可以认为其供电具有高保障,从而可以执行重要性更高的操作。相反地,如果受电设备120被通知其在供电设备110处具有较低的实际供电优先级,则受电设备120可以认为其供电不具有保障,从而可以放弃重要性高的操作。After setting the actual power supply priority of thepowered device 120, that is, the power supply priority of the power supply port 114-1, thepower supply device 110 may send 730 the power supply of the power supply port 114-1 to thepowered device 120 via the data port 112-1.Priority 715. Correspondingly, thepowered device 120 may receive 740 the poweringpriority 715 of the powering port 114-1 from the poweringdevice 110 via the data port 112-1. In this way, thepowered device 120 can know thepower supply priority 715 of the power supply port 114 - 1 , that is, the actual power supply priority of thepowered device 120 at thepower supply device 110 . Therefore, thepowered device 120 can plan the operation of thepowered device 120 according to the actual power supply priority. For example, if thepowered device 120 is notified that it has a higher actual power supply priority at thepower supply device 110, thepowered device 120 may consider that its power supply has a high guarantee, and thus may perform operations with higher importance. Conversely, if thepowered device 120 is notified that it has a lower actual power supply priority at thepower supply device 110, thepowered device 120 may consider that its power supply is not guaranteed, and thus may give up operations with high importance.

通过通信过程700,供电设备110可以经由数据端口112-1来获得受电设备120的设备供电优先级,从而为受电设备120的供电端口114-1确定端口供电优先级。因此,供电设备110可以根据受电设备120的供电优先级来向受电设备120提供相应的供电保障,从而更好地管理受电设备120的供电并且满足受电设备120的用电需求。例如,如果受电设备120具有高供电优先级,当供电设备110遇到输入功率突降时,供电设备110可以保证受电设备120的正常供电。Through thecommunication process 700, thepower supply device 110 can obtain the device power supply priority of thepowered device 120 through the data port 112-1, so as to determine the port power supply priority for the power supply port 114-1 of thepowered device 120. Therefore, thepower supply device 110 can provide corresponding power supply protection to thepower receiving device 120 according to the power supply priority of thepower receiving device 120 , so as to better manage the power supply of thepower receiving device 120 and meet the power demand of thepower receiving device 120 . For example, if thepowered device 120 has a high power supply priority, when thepower supply device 110 encounters a sudden drop in input power, thepower supply device 110 can ensure normal power supply of thepowered device 120 .

如上文在描述示例方法500的框510时提到的,如果供电设备110的数据端口112与供电端口114之间的配对关系是可配置的,则在受电设备120连接到数据端口112-1和供电端口114-1之后,供电设备110可能需要在配置信息400中查找数据端口112-1与供电端口114-1之间是否存在配对关系。如果存在这样的配对关系,则供电设备110可以使用受电设备120的供电信息160来管理供电端口114-1的供电。下文将参考图8来描述这样的实施例。As mentioned above when describing block 510 ofexample method 500, if the pairing relationship betweendata port 112 andpower supply port 114 ofpower sourcing device 110 is configurable, then whenpowered device 120 is connected to data port 112-1 After connecting with the power supply port 114-1, thepower supply device 110 may need to check in theconfiguration information 400 whether there is a pairing relationship between the data port 112-1 and the power supply port 114-1. If there is such a pairing relationship, thepower supply device 110 can use thepower supply information 160 of thepower receiving device 120 to manage the power supply of the power supply port 114-1. Such an embodiment will be described below with reference to FIG. 8 .

图8示出了根据本公开的实施例的在供电端口114-1与数据端口112-1之间的配对关系为可配置时供电设备110的示例操作过程800的流程图。需要指出的是,示例操作过程800可以认为是上文描述的示例方法500在一些情况下的具体示例。在一些实施例中,示例操作过程800可以由示例系统环境100中的供电设备110来实现,例如可以由供电设备110的处理器或处理单元来实现。在其他实施例中,示例操作过程800也可以由独立于示例系统环境100的供电设备来实现。为了便于说明且不失一般性,将参考图1以供电设备110执行示例操作过程800向受电设备120供电作为示例来论述示例操作过程800。然而,应当理解,示例操作过程800也可以等同地由本公开的供电设备110执行以向连接到其供电端口的任何其他受电设备供电。8 illustrates a flowchart of an exampleoperational process 800 of thepower supply device 110 when the pairing relationship between the power supply port 114-1 and the data port 112-1 is configurable, according to an embodiment of the present disclosure. It should be noted that theexample operation process 800 may be considered as a specific example of theexample method 500 described above in some cases. In some embodiments, the exampleoperational process 800 may be implemented by thepower supply device 110 in theexample system environment 100 , such as by a processor or processing unit of thepower supply device 110 . In other embodiments, theexample operation process 800 may also be implemented by a power supply device independent of theexample system environment 100 . For ease of illustration and without loss of generality, an exampleoperational process 800 will be discussed with reference to FIG. 1 in which the exampleoperational process 800 is performed by thepower sourcing device 110 to provide power to thepowered device 120 . However, it should be understood that theexample operation process 800 may also be equally performed by thepower supply device 110 of the present disclosure to supply power to any other powered device connected to its power supply port.

在框810处,供电设备110可以在各个供电端口114上检测是否有受电设备连接到供电端口。例如,当受电设备120连接到供电端口114-1时,供电设备110可以检测到受电设备120已连接至供电端口114-1。因此,供电设备110可以及时地发现受电设备120已连接到供电端口114-1,进而相应地向受电设备120提供供电并且可能随后经由配对的数据端口112-1对受电设备120进行供电管理。在一些实施例中,该检测过程可以类似于以太网供电协议中规定的供电设备对受电设备的检测过程(也称为物理探测过程),诸如,IEEE 802.3协议中的基本探测流程。例如,供电设备110可以通过检测电源输出线对之间的阻容值来判断受电设备是否存在。在一些实施例中,检测阶段输出电压可以为2.8V-10V,电压极性可以与52V输出一致。只有检测到受电设备,供电设备110才会进行下一步的操作。在一些实施例中,受电设备存在的特征为直流阻抗在19K-26.5KΩ之间,且容值不超过150nF。如果供电设备110检测到的特征阻容不符合以上标准定义的值,即可以认为对端设备为非标准的受电设备,则供电设备110可以不进行供电。如果供电设备110检测到的特征阻容符合以上标准定义的值,则供电设备110可以进入第二阶段分级阶段。Atblock 810 , thepower supply device 110 may detect on eachpower supply port 114 whether a powered device is connected to the power supply port. For example, when thepowered device 120 is connected to the power supply port 114-1, thepower supply device 110 may detect that thepowered device 120 has been connected to the power supply port 114-1. Therefore, thepower supply device 110 can find that thepower receiving device 120 has been connected to the power supply port 114-1 in time, and then provide power to thepower receiving device 120 accordingly and may then supply power to thepower receiving device 120 via the paired data port 112-1. manage. In some embodiments, the detection process may be similar to the detection process (also referred to as the physical detection process) of the power supply device to the powered device specified in the Power over Ethernet protocol, such as the basic detection process in the IEEE 802.3 protocol. For example, thepower supply device 110 may determine whether the power receiving device exists by detecting the resistance-capacitance value between the power output line pair. In some embodiments, the output voltage of the detection stage can be 2.8V-10V, and the voltage polarity can be consistent with the 52V output. Only when the power receiving device is detected, thepower supply device 110 will perform the next operation. In some embodiments, the DC resistance of the powered device is between 19K-26.5KΩ, and the capacitance is not more than 150nF. If the characteristic resistance and capacitance detected by thepower supply device 110 does not meet the value defined in the above standard, that is, it can be considered that the peer device is a non-standard power receiving device, and thepower supply device 110 may not supply power. If the characteristic resistance and capacitance detected by thepower supply device 110 conforms to the value defined in the above standard, thepower supply device 110 may enter the second stage of classification.

另外,在框810处,在检测到连接到供电端口114-1的受电设备120之后,供电设备110还可以对受电设备120进行分级,以确定受电设备120属于哪个功率级别,并且以分级得到的功率级别(例如,受电设备120的额定功率)向受电设备120初步供电。例如,在对受电设备120的分级过程中,供电设备110可以确定受电设备120的功耗。具体地,供电设备110可以通过检测电源输出电流来确定受电设备120的功率等级。在一些实施例中,分级阶段的端口输出电压可以为15.5V-20.5V,电压极性可以与52V电压输出一致。在一些实施例中,受电设备120可以从线上吸收一个恒定电流(分级特征信号),向供电设备110表明自己所需的最大功率。供电设备110可以测量这个电流,以确定受电设备120属于哪个功率级别。在一些实施例中,分级期间使用的供电设备110的电流可以限制到100mA,以避免损坏受电设备120,而且连接时间可以不超过75ms,以对受电设备120功耗加以控制。在初步供电阶段中,当供电设备110检测到供电端口114-1上的受电设备120属于合法的受电设备时,并且供电设备110已完成对此受电设备120的分类,则供电设备110可以开始对受电设备120进行供电,输出例如48V的电压。In addition, atblock 810, after detecting thepowered device 120 connected to the power supply port 114-1, thepower supply device 110 may also classify thepowered device 120 to determine which power class thepowered device 120 belongs to, and use The graded power level (for example, the rated power of the powered device 120 ) initially supplies power to thepowered device 120 . For example, during the grading process of thepowered device 120 , thepower supply device 110 may determine the power consumption of thepowered device 120 . Specifically, thepower supply device 110 may determine the power level of thepowered device 120 by detecting the output current of the power supply. In some embodiments, the port output voltage of the grading stage can be 15.5V-20.5V, and the voltage polarity can be consistent with the 52V voltage output. In some embodiments, thepower receiving device 120 may draw a constant current (gradation characteristic signal) from the line, and indicate to thepower supply device 110 the maximum power required by itself.Power supply device 110 may measure this current to determine which power class powereddevice 120 belongs to. In some embodiments, the current of thepower supply device 110 used during the classification can be limited to 100 mA to avoid damage to thepowered device 120 , and the connection time can be no more than 75 ms to control the power consumption of thepowered device 120 . In the preliminary power supply stage, when thepower supply device 110 detects that thepower receiving device 120 on the power supply port 114-1 belongs to a legal power receiving device, and thepower supply device 110 has completed the classification of thepower receiving device 120, then thepower supply device 110 Thepower receiving device 120 can be started to output a voltage of, for example, 48V.

应当理解,这里所列举的各种参数的具体数值仅为示例性的,无意以任何方式限制本公开的范围。在其他实施例中,上文描述的所有相关参数均可以具有任何其他适当的取值。此外,在其他实施例中,对受电设备的检测过程(或者分级过程、初步供电过程等)也可以遵循目前已有的或将来开发的其他类似的协议,或者直接利用机械或电学等物理检测手段来实现。此外,还应当明白,供电设备110对受电设备120的分级和初步供电对于框810并不是必需的而是可选的,供电设备110可以在检测到受电设备120之后,直接进入到框820。It should be understood that the specific numerical values of various parameters listed here are only exemplary, and are not intended to limit the scope of the present disclosure in any way. In other embodiments, all relevant parameters described above may have any other appropriate values. Furthermore, in other embodiments, the detection process (or classification process, preliminary power supply process, etc.) means to achieve. In addition, it should also be understood that the classification and preliminary power supply to thepowered device 120 by thepower supply device 110 is not necessary but optional forblock 810, and thepower supply device 110 may directly enterblock 820 after detecting thepowered device 120 .

在框820处,供电设备110可以查询连接有受电设备的供电端口的配对的数据端口。例如,在受电设备120连接到供电端口114-1之后,供电设备110可以在上文描述的配置信息400中查找与受电设备120所连接到的供电端口114-1配对的数据端口。以此方式,供电设备110可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。在一些实施例中,由于供电端口114与数据端口112之间的配对关系的配置信息400是用户可编辑的,因此在虚线框825处,用户可以配置供电端口114与数据端口112之间的配对关系。需要说明的是,这里使用虚线框825来表示由用户执行的操作,而不属于供电设备110执行的操作。例如,用户可以访问供电设备110的管理界面,通过修改配置信息400的内容来设置供电端口114与数据端口112之间的配对关系。通常,用户可能在任何时间设置该配对关系。例如,在受电设备120连接到供电端口114-1之前,用户可能已经设置好与供电端口114-1配对是数据端口112-1。又例如,在受电设备120已经连接到供电端口114-1一段时间之后,用户可能才设置与供电端口114-1配对的是数据端口112-1。因此,为了及时地查找到与供电端口114-1配对的数据端口,供电设备110可以周期性地查询上述配置信息400,以确定与供电端口114-1配对的数据端口。备选地,供电设备110也可以针对各个数据端口112进行定期轮询,以确定数据端口是否存在配对的供电端口。如果数据端口存在配对的供电端口,则供电设备110可以在后续的操作中在数据端口上发送与配对的供电端口有关的信息。Atblock 820 , thepower sourcing device 110 may query for a paired data port to which the power supply port of the powered device is connected. For example, after thepowered device 120 is connected to the power supply port 114-1, thepower supply device 110 may search theconfiguration information 400 described above for a data port paired with the power supply port 114-1 to which thepowered device 120 is connected. In this way, thepower supply device 110 can timely determine the data port corresponding to the power supply port connected with the power receiving device, so as to obtain the power supply information of the power receiving device from the data port. In some embodiments, since theconfiguration information 400 of the pairing relationship between thepower supply port 114 and thedata port 112 is editable by the user, at the dottedbox 825, the user can configure the pairing between thepower supply port 114 and thedata port 112 relation. It should be noted that the dottedbox 825 is used here to represent the operations performed by the user, but not the operations performed by thepower supply device 110 . For example, the user can access the management interface of thepower supply device 110 and set the pairing relationship between thepower supply port 114 and thedata port 112 by modifying the content of theconfiguration information 400 . Generally, the user may set up this pairing relationship at any time. For example, before thepowered device 120 is connected to the power supply port 114-1, the user may have set the data port 112-1 to be paired with the power supply port 114-1. For another example, after thepowered device 120 has been connected to the power supply port 114-1 for a period of time, the user may set the data port 112-1 to be paired with the power supply port 114-1. Therefore, in order to find the data port paired with the power supply port 114-1 in time, thepower supply device 110 may periodically query theconfiguration information 400 to determine the data port paired with the power supply port 114-1. Alternatively, thepower supply device 110 may also periodically poll eachdata port 112 to determine whether there is a paired power supply port for the data port. If there is a paired power supply port for the data port, thepower supply device 110 may send information related to the paired power supply port on the data port in subsequent operations.

在框830处,供电设备110可以判断连接有受电设备的供电端口是否存在配对的数据端口。例如,对于连接有受电设备120的供电端口114-1而言,供电设备110可以确定供电端口114-1是否存在配对的数据端口。例如,在用户将数据端口112-1设置为与供电端口114-1配对之后,供电设备110即可以在配置信息400中查询到供电端口114-1存在配对的数据端口112-1。否则,如果用户尚未设置供电端口114-1的配对数据端口,则供电设备110可以通过查询配置信息400而确定供电端口114-1不存在配对的数据端口。Atblock 830, thepower supply device 110 may determine whether there is a paired data port on the power supply port connected to the powered device. For example, for the power supply port 114-1 connected with thepower receiving device 120, thepower supply device 110 may determine whether there is a paired data port for the power supply port 114-1. For example, after the user sets the data port 112-1 to be paired with the power supply port 114-1, thepower supply device 110 can query theconfiguration information 400 to find that the power supply port 114-1 has a paired data port 112-1. Otherwise, if the user has not set the paired data port of the power supply port 114 - 1 , thepower supply device 110 may determine that there is no paired data port for the power supply port 114 - 1 by querying theconfiguration information 400 .

在框840处,如果供电设备110确定连接有受电设备的供电端口存在配对的数据端口,则供电设备110可以经由该配对的数据端口来与该受电设备进行供电协商。例如,如果供电设备110确定供电端口114-1存在配对的数据端口112-1,则供电设备110可以经由数据端口112-1来与受电设备120进行供电协商。具体的供电协商过程可以类似于上文参考图6A、图6B和图7描述的供电功率和供电优先级的通信协商过程。更一般地,供电设备110和受电设备120也可以经由数据端口112-1来协商关于供电端口114-1的任何其他方面的供电参数。例如,供电设备110可以将供电端口114-1的各种供电参数包含在链路层发现协议报文中的TLV字段中,并且经由数据端口112-1发送给受电设备120。同样地,受电设备120也可以将其期望的供电参数包含在链路层发现协议报文中的TLV字段中,并且经由数据端口112-1发送给供电设备110。在一些实施例中,供电设备110和受电设备120可以经由数据端口112-1周期性地互相发送链路层发现协议报文。Atblock 840, if thepower supply device 110 determines that there is a paired data port to the power supply port connected to the powered device, thepower supply device 110 may perform power supply negotiation with the powered device via the paired data port. For example, if thepower supply device 110 determines that there is a data port 112-1 paired with the power supply port 114-1, thepower supply device 110 may perform power supply negotiation with thepowered device 120 via the data port 112-1. The specific power supply negotiation process may be similar to the communication negotiation process of power supply power and power supply priority described above with reference to FIG. 6A , FIG. 6B and FIG. 7 . More generally, thepower supply device 110 and thepowered device 120 can also negotiate power supply parameters about any other aspect of the power supply port 114-1 via the data port 112-1. For example, thepower supply device 110 may include various power supply parameters of the power supply port 114-1 in the TLV field in the link layer discovery protocol message, and send the power supply parameters to thepowered device 120 via the data port 112-1. Similarly, thepowered device 120 may also include its expected power supply parameters in the TLV field in the link layer discovery protocol message, and send it to thepower supply device 110 through the data port 112-1. In some embodiments, thepower supply device 110 and thepowered device 120 can periodically send link layer discovery protocol messages to each other via the data port 112-1.

在框850处,在完成经由数据端口112-1的供电协商之后,供电设备110可以按照协商后的供电参数经由供电端口114-1向受电设备120供电。例如,如果供电设备110和受电设备120就供电功率完成协商,则供电设备110可以按照经协商的供电端口114-1的供电功率向受电设备120供电。又例如,如果供电设备110和受电设备120就供电优先级完成协商,则供电设备110可以按照经协商的供电端口114-1的供电优先级向受电设备120供电。更一般地,如果供电设备110和受电设备120就其他供电参数完成协商,则供电设备110可以按照供电端口114-1的任何其他经协商的供电参数向受电设备120供电。Atblock 850, after completing the power supply negotiation via the data port 112-1, thepower supply device 110 may supply power to thepowered device 120 via the power supply port 114-1 according to the negotiated power supply parameters. For example, if thepower supply device 110 and thepowered device 120 complete the negotiation on power supply, thepower supply device 110 may supply power to thepowered device 120 according to the negotiated power supply power of the power supply port 114 - 1 . For another example, if thepower supply device 110 and thepowered device 120 complete the negotiation on the power supply priority, thepower supply device 110 may supply power to thepowered device 120 according to the negotiated power supply priority of the power supply port 114 - 1 . More generally, if thepower supply device 110 and thepowered device 120 complete the negotiation on other power supply parameters, thepower supply device 110 may supply power to thepowered device 120 according to any other negotiated power supply parameters of the power supply port 114-1.

另一方面,如果供电设备110在框830处确定供电端口114-1不存在配对的数据端口,则在框860处,供电设备110可以按照受电设备120的默认供电参数经由供电端口114-1向受电设备120供电。例如,供电设备110可以按照供电端口114-1(或受电设备120)的默认供电功率向受电设备120供电。又例如,供电设备110可以按照供电端口114-1的默认供电优先级向受电设备120供电。更一般地,供电设备110可以按照供电端口114-1的任何其他默认供电参数向受电设备120供电。需要说明的是,如果供电设备110在框820处已经对受电设备120按照默认的供电功率(例如,受电设备120的额定功率)进行初步供电,则在框860处,供电设备110可以保持以该默认的供电功率向受电设备120供电。On the other hand, if thepower supply device 110 determines atblock 830 that there is no paired data port for the power supply port 114-1, then atblock 860, thepower supply device 110 may follow the default power supply parameters of thepowered device 120 via the power supply port 114-1 Power is supplied to thepower receiving device 120 . For example, thepower supply device 110 may supply power to thepowered device 120 according to the default power supply power of the power supply port 114-1 (or the powered device 120). For another example, thepower supply device 110 may supply power to thepowered device 120 according to the default power supply priority of the power supply port 114-1. More generally, thepower supply device 110 may supply power to thepowered device 120 according to any other default power supply parameters of the power supply port 114-1. It should be noted that if thepower supply device 110 has initially supplied power to thepower receiving device 120 according to the default power supply power (for example, the rated power of the power receiving device 120) atblock 820, then atblock 860, thepower supply device 110 may keep The default power supply power is used to supply power to thepowered device 120 .

通过示例操作过程800,在供电端口114与数据端口112之间的配对关系为配置的情况下,通过例如查询配置信息400的方式,供电设备110可以及时地确定连接有受电设备的供电端口是否被配对至数据端口。如果存在配对的数据端口,则供电设备110可以在该数据端口上与受电设备进行供电协商,从而向受电设备提供具有针对性的供电,以提高受电设备的供电性能和操作性能。如果不存在配对的数据端口,则供电设备110也可以向受电设备提供初步供电,使得受电设备可以正常运转。因此,使用示例操作过程800,供电设备110的供电性能可以被改进。Through theexample operation process 800, when the pairing relationship between thepower supply port 114 and thedata port 112 is configuration, by querying theconfiguration information 400, for example, thepower supply device 110 can timely determine whether the power supply port connected to the power receiving device is paired to the data port. If there is a paired data port, thepower supply device 110 can perform power supply negotiation with the powered device on the data port, so as to provide targeted power supply to the powered device, so as to improve the power supply performance and operation performance of the powered device. If there is no paired data port, thepower supply device 110 may also provide preliminary power to the powered device, so that the powered device can operate normally. Thus, using the exampleoperational process 800, the power supply performance of thepower supply device 110 may be improved.

图9示出了根据本公开的实施例的具有示例端口布置900的供电设备110的框图。如图9所示,除了数据端口112和供电端口114以外,供电设备110还可以包括处理器115和存储器117。在一些实施例中,存储器117可以存储有指令118,例如计算机程序指令118,并且存储器117和计算机程序指令118可以被配置为,与处理器115一起,使供电设备110执行根据本公开的实施例的各种示例方法或示例过程。例如,各种示例方法或示例过程可以包括图5中描绘的用于管理供电的示例方法500,图6A、图6B和图7中描绘的示例通信过程600、650和700,以及图8中描绘的示例操作过程800,等等。FIG. 9 shows a block diagram of apower supply device 110 with anexample port arrangement 900 according to an embodiment of the disclosure. As shown in FIG. 9 , in addition to thedata port 112 and thepower supply port 114 , thepower supply device 110 may further include aprocessor 115 and amemory 117 . In some embodiments, thememory 117 may storeinstructions 118, such ascomputer program instructions 118, and thememory 117 and thecomputer program instructions 118 may be configured to, together with theprocessor 115, cause thepower supply device 110 to execute the Various example methods or example procedures for . For example, various example methods or example processes may include theexample method 500 depicted in FIG. 5 for managing power supply, the example communication processes 600, 650, and 700 depicted in FIGS. Example operations ofprocess 800, etc.

在图9的示例端口布置900中,数据端口112成行地被布置,而供电端口114在数据端口112行的下方成行地被布置。通过这样的排布方式,数据端口适合于与较近的供电端口配对,以方便使用例如图3中描绘的一体式光电复合线缆300。将理解,图9中将数据端口112行描绘为位于供电端口114行的上方仅为示例性的,无意以任何方式限制本公开的范围。在其他实施例中,数据端口112行也可以位于供电端口114行的下方。In theexample port arrangement 900 of FIG. 9 , thedata ports 112 are arranged in a row, and thepower ports 114 are arranged in a row below the row ofdata ports 112 . With such an arrangement, the data port is suitable for pairing with a nearby power port for convenient use such as the integrated optoelectroniccomposite cable 300 depicted in FIG. 3 . It will be understood that the depiction of the row ofdata ports 112 in FIG. 9 as being above the row ofpower ports 114 is exemplary only and is not intended to limit the scope of the present disclosure in any way. In other embodiments, the row ofdata ports 112 may also be located below the row ofpower supply ports 114 .

在一些实施例中,处理器115可以具有适合于本地技术环境的任何类型,并且作为非限制性示例可以包括以下一个或多个:通用计算机、专用计算机、微处理器、数字信号处理器(DSP)和基于多核处理器架构的处理器。此外,供电设备110可以具有多个处理器,诸如在时间上跟随与主处理器同步的时钟进行从动的专用集成电路芯片。In some embodiments,processor 115 may be of any type suitable for the local technical environment, and may include, by way of non-limiting example, one or more of the following: general purpose computer, special purpose computer, microprocessor, digital signal processor (DSP ) and processors based on multi-core processor architectures. In addition, thepower supply device 110 may have multiple processors, such as ASIC chips that are slaved in time following a clock synchronized with the master processor.

在一些实施例中,存储器117可以包括一个或多个非易失性存储器和一个或多个易失性存储器。非易失性存储器的示例包括但不限于只读存储器(ROM)、电可擦除可编程只读存储器(EPROM)、闪存、硬盘、压缩盘(CD)、数字多功能盘(DVD)、以及其他磁存储设备和/或光学存储设备。易失性存储器的示例包括但不限于随机存储存取器(RAM)或者在掉电期间无法持续的其他易失性存储器。In some embodiments,memory 117 may include one or more non-volatile memories and one or more volatile memories. Examples of non-volatile memory include, but are not limited to, read-only memory (ROM), electrically erasable programmable read-only memory (EPROM), flash memory, hard disks, compact disks (CDs), digital versatile disks (DVDs), and Other magnetic and/or optical storage devices. Examples of volatile memory include, but are not limited to, random storage access memory (RAM) or other volatile memory that does not persist during a power loss.

在一些实施例中,计算机程序指令118可以包括计算机可执行指令,这些指令可以由相关联的处理器115可执行。计算机程序指令118可以被存储在存储器117的ROM中。处理器115可以通过将计算机程序指令118加载到存储器117的RAM中,来执行各种适当的动作和处理。In some embodiments,computer program instructions 118 may include computer-executable instructions that may be executable by an associatedprocessor 115 .Computer program instructions 118 may be stored in ROM ofmemory 117 .Processor 115 may perform various appropriate actions and processes by loadingcomputer program instructions 118 into the RAM ofmemory 117 .

在一些实施例中,存储器117和计算机程序指令118可以被配置为,与处理器115一起,使供电设备110经由数据端口112-1从受电设备120接收受电设备120的供电信息。此外,存储器117和计算机程序指令118还可以被配置为,与处理器115一起,使供电设备110经由供电端口114-1并基于供电信息向受电设备120供电。因此,相比于传统的供电设备,本公开的实施例的供电设备在数据端口与供电端口分离的情况下向受电设备供电的性能可以被改进。In some embodiments,memory 117 andcomputer program instructions 118 may be configured, together withprocessor 115, to enablepower supply device 110 to receive power supply information ofpower receiving device 120 frompower receiving device 120 via data port 112-1. In addition, thememory 117 and thecomputer program instructions 118 may also be configured to, together with theprocessor 115, cause thepower supply device 110 to supply power to thepower receiving device 120 via the power supply port 114-1 based on the power supply information. Therefore, compared with the conventional power supply device, the performance of the power supply device of the embodiments of the present disclosure to supply power to the powered device under the condition that the data port is separated from the power supply port can be improved.

在一些实施例中,供电设备110的数据端口112-1可以通过光电复合线缆200或300中的光纤210和220或者310和320连接到受电设备120,并且供电设备110的供电端口114-1通过光电复合线缆200或300中的供电线240和250或者340和350连接到受电设备120。以此方式,供电设备与受电设备之间可以实现高速率的数据传输,同时实现远距离的电力传输。In some embodiments, the data port 112-1 of thepower supply device 110 can be connected to thepower receiving device 120 through theoptical fibers 210 and 220 or 310 and 320 in the opticalcomposite cable 200 or 300, and the power supply port 114-1 of the power supply device 110- 1 is connected to thepower receiving device 120 through thepower supply lines 240 and 250 or 340 and 350 in the photoelectriccomposite cable 200 or 300. In this way, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device.

在一些实施例中,存储器117还用于存储配置信息。该配置信息可以指示供电端口114-1与数据端口112-1之间的配对关系。例如,供电设备110可以将该配置信息存储在存储器117中。如此,供电设备可以便利地且高效地管理供电端口与数据端口之间的配对关系。In some embodiments,memory 117 is also used to store configuration information. The configuration information may indicate a pairing relationship between the power supply port 114-1 and the data port 112-1. For example,power supply device 110 may store the configuration information inmemory 117 . In this way, the power supply device can conveniently and efficiently manage the pairing relationship between the power supply port and the data port.

在一些实施例中,存储器117和计算机程序指令118还可以被配置为,与处理器115一起,使供电设备110响应于受电设备120连接到供电端口114-1,在配置信息800中查找与供电端口114-1配对的数据端口112-1。以此方式,供电设备可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。In some embodiments,memory 117 andcomputer program instructions 118 may also be configured, together withprocessor 115, to causepower supply device 110 to searchconfiguration information 800 in response topowered device 120 being connected to power supply port 114-1. The power port 114-1 is paired with the data port 112-1. In this way, the power supply device can timely determine the data port corresponding to the power supply port connected to the power receiving device, so as to obtain the power supply information of the power receiving device from the data port.

在一些实施例中,配置信息800是用户可编辑的。如此,供电设备的供电端口与数据端口之间的配对关系可以由用户根据具体的应用环境和场景来决定,从而可以提高供电设备的使用灵活性。In some embodiments,configuration information 800 is user editable. In this way, the pairing relationship between the power supply port and the data port of the power supply device can be determined by the user according to specific application environments and scenarios, thereby improving the flexibility of use of the power supply device.

在一些实施例中,供电信息160可以包括以下至少一项:用于调整供电端口的供电功率的指示,以及受电设备的供电优先级。因此,供电设备可以根据受电设备的请求来调整供电端口的供电功率,还可以根据受电设备的供电优先级来向受电设备提供相应的供电保障,从而更好地满足受电设备的用电需求。In some embodiments, thepower supply information 160 may include at least one of the following: an indication for adjusting the power supply power of the power supply port, and a power supply priority of the powered device. Therefore, the power supply device can adjust the power supply power of the power supply port according to the request of the power receiving device, and can also provide corresponding power supply protection to the power receiving device according to the power supply priority of the power receiving device, so as to better meet the needs of the power receiving device. electricity demand.

在一些实施例中,存储器117和计算机程序指令118还可以被配置为,与处理器115一起,使供电设备110经由数据端口112-1向受电设备120发送供电端口114-1的能力信息。如此,受电设备可以根据供电端口的供电能力来向供电设备请求适当的供电功率,从而有利于供电设备和受电设备高效地协商出合理的供电功率。In some embodiments, thememory 117 and thecomputer program instructions 118 may also be configured to, together with theprocessor 115, cause thepower supply device 110 to send the capability information of the power supply port 114-1 to thepowered device 120 via the data port 112-1. In this way, the powered device can request appropriate power supply power from the power supply device according to the power supply capability of the power supply port, which is beneficial for the power supply device and the powered device to efficiently negotiate a reasonable power supply power.

在一些实施例中,供电设备110还包括检测电路119。检测电路119可以用于检测受电设备是否连接到供电端口。例如,检测电路119可以包括基于机械检测或电学检测等物理检测手段的检测电路,诸如符合于以太网供电协议中的供电设备中的检测芯片,等等。因此,供电设备可以及时地发现受电设备已连接到供电端口,进而相应地向受电设备提供供电并且可能经由配对的数据端口对受电设备进行供电管理。应当理解,尽管图9将检测电路119示出为设置在处理器115的外部,但是在其他实施例中,检测电路119也可以是处理器115的一部分。此外,在一些实施例中,检测受电设备是否连接到供电端口的功能也可以由检测电路119和处理器115一起配合实现。In some embodiments, thepower supply device 110 further includes adetection circuit 119 . Thedetection circuit 119 can be used to detect whether the powered device is connected to the power supply port. For example, thedetection circuit 119 may include a detection circuit based on physical detection means such as mechanical detection or electrical detection, such as a detection chip in a power supply device conforming to the power over Ethernet protocol, and the like. Therefore, the power supply device can find that the power receiving device has been connected to the power supply port in time, and then provide power to the power receiving device accordingly and possibly manage the power supply to the power receiving device through the paired data port. It should be understood that although FIG. 9 shows that thedetection circuit 119 is disposed outside theprocessor 115 , in other embodiments, thedetection circuit 119 may also be a part of theprocessor 115 . In addition, in some embodiments, the function of detecting whether the powered device is connected to the power supply port can also be implemented by thedetection circuit 119 and theprocessor 115 in cooperation.

图10示出了根据本公开的实施例的具有另一示例端口布置1000的供电设备110的框图。如所示出的,图10中描绘的供电设备110与图9是类似的,不同之处在于数据端口112和供电端口114的排布方式。在图10的示例端口布置1000中,数据端口112集中地布置在供电设备110的一侧,而供电端口114集中地布置在供电设备110的另一侧。通过这样的排布方式,数据端口适合与任何供电端口配对而无需考虑两者之间的物理距离,因此更适合于使用例如图2中描绘的光纤215和供电线245分离的光电复合线缆200。将理解,在图10中,数据端口112位于供电设备110的左侧而供电端口114位于供电设备110的右侧仅为示例性的,无意以任何方式限制本公开的范围。在其他实施例中,供电端口114可以位于供电设备110的左侧而数据端口112可以位于供电设备110的右侧,或者供电端口114和数据端口112可以位于供电设备110上的任何其他适当部分。FIG. 10 shows a block diagram of apower supply device 110 with anotherexample port arrangement 1000 according to an embodiment of the disclosure. As shown, thepower supply 110 depicted in FIG. 10 is similar to FIG. 9 except for the arrangement of thedata port 112 and thepower port 114 . In theexample port arrangement 1000 of FIG. 10 , thedata ports 112 are collectively arranged on one side of thepower supply device 110 , and thepower supply ports 114 are collectively arranged on the other side of thepower supply device 110 . With such an arrangement, the data port is suitable for pairing with any power supply port regardless of the physical distance between the two, so it is more suitable to use the opticalcomposite cable 200 such as theoptical fiber 215 and thepower supply line 245 depicted in FIG. 2 . . It will be appreciated that in FIG. 10 , the location ofdata port 112 on the left side ofpower supply 110 andpower port 114 on the right side ofpower supply 110 is merely exemplary and not intended to limit the scope of the present disclosure in any way. In other embodiments,power port 114 may be located on the left side ofpower device 110 anddata port 112 may be located on the right side ofpower device 110 , orpower port 114 anddata port 112 may be located on any other suitable portion onpower device 110 .

此外,还需要说明的是,根据本公开的实施例的供电设备110的数据端口112和供电端口114可以具有任何合适的排布方式,而不限于图9中描绘的成行排布方式和图10中描绘的成区域排布方式。例如,数据端口112和供电端口114的排布方式可以充分利用供电设备110上的空间,并且同时可以有利于连接到不同的受电设备。In addition, it should be noted that thedata port 112 and thepower supply port 114 of thepower supply device 110 according to the embodiment of the present disclosure may have any suitable arrangement, and is not limited to the row arrangement depicted in FIG. 9 and FIG. 10 The regional arrangement described in . For example, the arrangement of thedata port 112 and thepower supply port 114 can make full use of the space on thepower supply device 110 , and at the same time can facilitate connection to different powered devices.

图11示出了根据本公开的实施例的用于管理供电的示例装置1100的框图。在一些实施例中,示例装置1100可以在示例系统环境100中的供电设备110处实现,例如可以由供电设备110的处理器或处理单元来实现。在一些实施例中,示例装置1100可以实现为供电设备110。在其他实施例中,示例装置1100也可以由独立于示例系统环境100的供电设备来实现。FIG. 11 shows a block diagram of anexample apparatus 1100 for managing power supply according to an embodiment of the present disclosure. In some embodiments, theexample apparatus 1100 may be implemented at thepower supply device 110 in theexample system environment 100 , for example, may be implemented by a processor or a processing unit of thepower supply device 110 . In some embodiments,example apparatus 1100 may be implemented aspower supply 110 . In other embodiments, theexample apparatus 1100 may also be implemented by a power supply device independent of theexample system environment 100 .

在一些实施例中,示例装置1100可以执行示例方法500,并且可以包括用于执行示例方法500的相应步骤的部件。如本文中使用的,部件可以按任何适合的形式来实施。例如,部件可以被实施在电路中或软件模块中。又例如,部件可以包括至少一个处理器和至少一个存储器。至少一个存储器可以存储有计算机程序代码。至少一个存储器和计算机程序代码被配置为,与至少一个处理器一起,使示例装置1100执行示例方法500或本公开中的其他示例过程的相应步骤。In some embodiments, theexample apparatus 1100 may perform theexample method 500 and may include components for performing corresponding steps of theexample method 500 . As used herein, a component may be implemented in any suitable form. For example, components may be implemented in circuits or in software modules. As another example, a component may include at least one processor and at least one memory. At least one memory may store computer program code. At least one memory and computer program code are configured, together with at least one processor, to causeexample apparatus 1100 to perform corresponding steps ofexample method 500 or other example processes in this disclosure.

在一些实施例中,示例装置1100可以包括用于接收的部件1110和用于供电的部件1120。具体地,部件1110可以用于经由数据端口从受电设备接收受电设备的供电信息,数据端口与供电端口配对并且是彼此分离的物理端口。部件1120可以用于经由供电端口并基于供电信息向受电设备供电。通过示例装置1100,供电设备在数据端口与供电端口分离的情况下向受电设备供电的性能可以被改进。In some embodiments, theexample apparatus 1100 may include means for receiving 1110 and means for providingpower 1120 . Specifically,component 1110 may be configured to receive power supply information of the power receiving device from the power receiving device via a data port, the data port is paired with the power supply port and is a physical port separated from each other. Thecomponent 1120 may be used to supply power to the powered device via the power supply port and based on the power supply information. Through theexample apparatus 1100, the performance of a power sourcing device to provide power to a powered device when a data port is separated from a power supply port may be improved.

在一些实施例中,供电设备的数据端口可以通过光电复合线缆中的光纤连接到受电设备,并且供电设备的供电端口通过光电复合线缆中的供电线连接到受电设备。以此方式,供电设备与受电设备之间可以实现高速率的数据传输,同时实现远距离的电力传输。In some embodiments, the data port of the power supply device can be connected to the powered device through the optical fiber in the photoelectric composite cable, and the power supply port of the power supply device is connected to the powered device through the power supply line in the photoelectric composite cable. In this way, high-speed data transmission and long-distance power transmission can be realized between the power supply device and the power receiving device.

在一些实施例中,示例装置1100还可以包括:用于存储配置信息的部件,配置信息指示供电端口与数据端口之间的配对关系。如此,供电设备可以便利地且高效地管理供电端口与数据端口之间的配对关系。In some embodiments, theexample device 1100 may further include: a component for storing configuration information, the configuration information indicating the pairing relationship between the power supply port and the data port. In this way, the power supply device can conveniently and efficiently manage the pairing relationship between the power supply port and the data port.

在一些实施例中,示例装置1100还可以包括:用于响应于受电设备连接到供电端口,在配置信息中查找与供电端口配对的数据端口的部件。以此方式,供电设备可以及时地确定与连接有受电设备的供电端口相对应的数据端口,以便从该数据端口获得受电设备的供电信息。In some embodiments, theexample apparatus 1100 may further include: means for searching the configuration information for a data port paired with the power supply port in response to the powered device being connected to the power supply port. In this way, the power supply device can timely determine the data port corresponding to the power supply port connected to the power receiving device, so as to obtain the power supply information of the power receiving device from the data port.

在一些实施例中,配置信息可以是用户可编辑的。如此,供电设备的供电端口与数据端口之间的配对关系可以由用户根据具体的应用环境和场景来决定,从而可以提高供电设备的使用灵活性。In some embodiments, configuration information may be user editable. In this way, the pairing relationship between the power supply port and the data port of the power supply device can be determined by the user according to specific application environments and scenarios, thereby improving the flexibility of use of the power supply device.

在一些实施例中,供电信息可以包括以下至少一项:用于调整供电端口的供电功率的指示,以及受电设备的供电优先级。因此,供电设备可以根据受电设备的请求来调整供电端口的供电功率,还可以根据受电设备的供电优先级来向受电设备提供相应的供电保障,从而更好地满足受电设备的用电需求。In some embodiments, the power supply information may include at least one of the following: an indication for adjusting the power supply power of the power supply port, and a power supply priority of the powered device. Therefore, the power supply device can adjust the power supply power of the power supply port according to the request of the power receiving device, and can also provide corresponding power supply protection to the power receiving device according to the power supply priority of the power receiving device, so as to better meet the needs of the power receiving device. electricity demand.

在一些实施例中,示例装置1100还可以包括:用于经由数据端口向受电设备发送供电端口的能力信息的部件。如此,受电设备可以根据供电端口的供电能力来向供电设备请求适当的供电功率,从而有利于供电设备和受电设备高效地协商出合理的供电功率。In some embodiments, theexample apparatus 1100 may further include: a component for sending the capability information of the power supply port to the powered device via the data port. In this way, the powered device can request appropriate power supply power from the power supply device according to the power supply capability of the power supply port, which is beneficial for the power supply device and the powered device to efficiently negotiate a reasonable power supply power.

在一些实施例中,示例装置1100还可以包括:用于检测受电设备连接到供电端口的部件。因此,供电设备可以及时地发现受电设备已连接到供电端口,进而相应地向受电设备提供供电并且经由配对的数据端口对受电设备进行供电管理。In some embodiments, theexample apparatus 1100 may further include: a component for detecting that a powered device is connected to a power supply port. Therefore, the power supply device can find that the power receiving device has been connected to the power supply port in time, and then provide power to the power receiving device accordingly and manage power supply to the power receiving device through the paired data port.

图12示出了根据本公开的实施例的示例计算机可读介质1200的示意图。如图12所示,计算机可读介质1200可以采用CD或DVD形式或任何其他适当的形式,具有存储于其上的指令118。如上文在描述图9和10时提到的,本公开的实施例可通过指令118来实现,以使供电设备110执行如前文参考图5至图8所论述的本公开的任何示例方法或示例过程。当然,本公开的实施例也可以由硬件或软件与硬件的组合来实现。在一些实施例中,有形地包含指令118的计算机可读介质1200可以被包括在供电设备110(例如,存储器117)中,或者被包括在供电设备110可访问的其他存储设备中。供电设备110可以将指令118从计算机可读介质1200读取到存储器117的RAM中以用于执行。计算机可读介质1200可以包括各种有形非易失性存储设备,诸如ROM、EPROM、闪存、硬盘、CD、DVD等。FIG. 12 shows a schematic diagram of an example computer-readable medium 1200 according to an embodiment of the disclosure. As shown in FIG. 12, computer readable medium 1200 may take the form of a CD or DVD, or any other suitable form, havinginstructions 118 stored thereon. As mentioned above in describing FIGS. 9 and 10 , embodiments of the present disclosure may be implemented byinstructions 118 to causepower supply 110 to perform any of the example methods or examples of the present disclosure as previously discussed with reference to FIGS. 5-8 . process. Of course, the embodiments of the present disclosure may also be implemented by hardware or a combination of software and hardware. In some embodiments, computer-readable medium 1200 tangibly embodyinginstructions 118 may be included in power supply 110 (eg, memory 117 ), or in other storage devices accessible topower supply 110 . Thepower supply 110 may read theinstructions 118 from the computer-readable medium 1200 into the RAM of thememory 117 for execution. The computer readable medium 1200 may include various tangible non-volatile storage devices such as ROM, EPROM, flash memory, hard disk, CD, DVD, and the like.

一般而言,本公开的各种示例实施例可以在硬件或专用电路、软件、逻辑,或其任何组合中实施。某些方面可以在硬件中实施,而其他方面可以在可以由控制器、微处理器或其他计算设备执行的固件或软件中实施。例如,在一些实施例中,本公开的各种示例(例如方法、装置或设备)可以部分或者全部被实现在计算机可读介质上。当本公开的实施例的各方面被图示或描述为框图、流程图或使用某些其他图形表示时,将理解此处描述的方框、装置、系统、技术或方法可以作为非限制性的示例在硬件、软件、固件、专用电路或逻辑、通用硬件或控制器或其他计算设备,或其某些组合中实施。In general, the various example embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor or other computing device. For example, in some embodiments, various examples (eg, methods, apparatuses, or devices) of the present disclosure may be partially or fully implemented on a computer-readable medium. When aspects of the embodiments of the present disclosure are illustrated or described as block diagrams, flowcharts, or using some other graphical representation, it is to be understood that the blocks, devices, systems, techniques, or methods described herein may serve as non-limiting Examples are implemented in hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof.

本公开还提供了存储在非瞬态计算机可读存储介质上的至少一种计算机程序产品。计算机程序产品包括计算机可执行指令,计算机可执行指令诸如包括在目标的物理或者虚拟处理器上的器件中执行的程序模块中,用以执行上文关于图5至图8描述的示例方法或示例过程500、600、650、700和800。一般而言,程序模块可以包括例程、程序、库、对象、类、组件、数据结构等,其执行特定的任务或者实现特定的抽象数据结构。在各实施例中,程序模块的功能可以在所描述的程序模块之间合并或者分割。用于程序模块的计算机可执行指令可以在本地或者分布式设备内执行。在分布式设备中,程序模块可以位于本地和远程存储介质二者中。The present disclosure also provides at least one computer program product stored on a non-transitory computer-readable storage medium. The computer program product comprises computer-executable instructions, such as included in a program module executed in a device on a physical or virtual processor of a target, for performing the example methods or example methods described above with respect to FIGS. 5-8Processes 500, 600, 650, 700 and 800. Generally, program modules may include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data structures. In various embodiments, the functionality of the program modules may be combined or divided between the described program modules. Computer-executable instructions for program modules may be executed within local or distributed devices. In a distributed device, program modules may be located in both local and remote storage media.

用于实现本公开的方法的程序代码可以用一种或多种编程语言编写。这些计算机程序代码可以提供给通用计算机、专用计算机或其他可编程的数据处理装置的处理器,使得程序代码在被计算机或其他可编程的数据处理装置执行的时候,引起在流程图和/或框图中规定的功能/操作被实施。程序代码可以完全在计算机上、部分在计算机上、作为独立的软件包、部分在计算机上且部分在远程计算机上或完全在远程计算机或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in one or more programming languages. These computer program codes can be provided to processors of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the computer or other programmable data processing devices, The functions/operations specified in are implemented. The program code may execute entirely on the computer, partly on the computer, as a stand-alone software package, partly on the computer and partly on a remote computer or entirely on the remote computer or server.

在本公开的上下文中,计算机程序代码或相关数据可以由任何适当的载体来承载,以使设备、装置或处理器能够执行上文描述的各种过程和操作。载体的示例包括信号、计算机可读介质,等等。In the context of the present disclosure, computer program code or related data may be carried by any suitable carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, and the like.

计算机可读介质可以是计算机可读信号介质或计算机可读存储介质。计算机可读介质可以包括但不限于电子的、磁的、光学的、电磁的、红外的或半导体系统、装置或设备,或其任意合适的组合。机器可读存储介质的更详细示例包括带有一根或多根导线的电气连接、便携式计算机磁盘、硬盘、随机存储存取器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或闪存)、光纤、便携式压缩盘只读存储器(CD-ROM)、光存储设备、磁存储设备,或其任意合适的组合。The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of machine-readable storage media include electrical connections with one or more wires, portable computer diskettes, hard disks, random storage access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, compact disc read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

另外,尽管操作以特定顺序被描绘,但这并不应该理解为要求此类操作以示出的特定顺序或以相继顺序完成,或者执行所有图示的操作以获取期望结果。在某些情况下,多任务或并行处理会是有益的。同样地,尽管上述论述包含了某些特定的实施细节,但这并不应解释为限制任何发明或权利要求的范围,而应解释为对可以针对特定发明的特定实施例的描述。本说明书中在分离的实施例的上下文中描述的某些特征也可以整合实施在单个实施例中。反之,在单个实施例的上下文中描述的各种特征也可以分离地在多个实施例或在任意合适的子组合中实施。In addition, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown, or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking or parallel processing can be beneficial. Likewise, while the above discussion contains certain specific implementation details, these should not be construed as limitations on the scope of any invention or claims, but rather as a description of particular embodiments that may be directed to particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经以特定于结构特征和/或方法动作的语言描述了主题,但是应当理解,所附权利要求中限定的主题并不限于上文描述的特定特征或动作。相反,上文描述的特定特征和动作是作为实现权利要求的示例形式而被公开的。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

Translated fromChinese
1.一种用于管理供电的方法,包括:1. A method for managing power supply comprising:供电设备经由数据端口从受电设备接收所述受电设备的供电信息,所述数据端口与供电端口配对并且是彼此分离的物理端口;以及The power supply device receives power supply information of the powered device from the powered device via a data port that is paired with the power supply port and is a physical port separated from each other; and所述供电设备经由所述供电端口并基于所述供电信息向所述受电设备供电,the power supply device supplies power to the powered device through the power supply port and based on the power supply information,所述方法还包括:所述供电设备存储配置信息,所述配置信息指示所述供电端口与所述数据端口之间的配对关系。The method further includes: the power supply device storing configuration information indicating a pairing relationship between the power supply port and the data port.2.根据权利要求1所述的方法,其中所述供电设备的所述数据端口通过光电复合线缆中的光纤连接到所述受电设备,并且所述供电设备的所述供电端口通过所述光电复合线缆中的供电线连接到所述受电设备。2. The method according to claim 1, wherein the data port of the power supply device is connected to the powered device through an optical fiber in a photoelectric composite cable, and the power supply port of the power supply device is connected to the power receiving device through the The power supply line in the photoelectric composite cable is connected to the powered device.3.根据权利要求1所述的方法,还包括:3. The method of claim 1, further comprising:响应于所述受电设备连接到所述供电端口,所述供电设备在所述配置信息中查找与所述供电端口配对的所述数据端口。In response to the powered device being connected to the power supply port, the power supply device looks up the data port paired with the power supply port in the configuration information.4.根据权利要求1或3所述的方法,其中所述配置信息是用户可编辑的。4. The method of claim 1 or 3, wherein the configuration information is user editable.5.根据权利要求1至3中任一项所述的方法,其中所述供电信息包括以下至少一项:5. The method according to any one of claims 1 to 3, wherein the power supply information includes at least one of the following:用于调整所述供电端口的供电功率的指示,以及an indication for adjusting the power supply of the power supply port, and所述受电设备的供电优先级。The power supply priority of the powered device.6.根据权利要求1至3中任一项所述的方法,还包括:6. The method according to any one of claims 1 to 3, further comprising:所述供电设备经由所述数据端口向所述受电设备发送所述供电端口的能力信息。The power supply device sends capability information of the power supply port to the powered device via the data port.7.一种供电设备,包括:7. A power supply device, comprising:供电端口;power port;数据端口,所述数据端口与所述供电端口配对并且是彼此分离的物理端口;a data port paired with the power supply port and being separate physical ports from each other;处理器;以及processor; and存储器,存储有计算机程序指令,其中所述存储器还用于存储配置信息,所述配置信息指示所述供电端口与所述数据端口之间的配对关系,并且其中所述存储器和所述计算机程序指令被配置为,与所述处理器一起,使所述供电设备:a memory storing computer program instructions, wherein the memory is further configured to store configuration information indicating a pairing relationship between the power supply port and the data port, and wherein the memory and the computer program instructions configured, with the processor, to cause the power supply to:经由所述数据端口从受电设备接收所述受电设备的供电信息;以及receiving power supply information of the powered device from the powered device via the data port; and经由所述供电端口并基于所述供电信息向所述受电设备供电。Power is supplied to the powered device via the power supply port based on the power supply information.8.根据权利要求7所述的供电设备,还包括:8. The power supply device according to claim 7, further comprising:检测电路,用于检测所述受电设备连接到所述供电端口。A detection circuit, configured to detect that the powered device is connected to the power supply port.9.一种用于管理供电的装置,包括:9. An apparatus for managing power supply, comprising:用于经由数据端口从受电设备接收所述受电设备的供电信息的部件,所述数据端口与供电端口配对并且是彼此分离的物理端口;means for receiving power supply information of the powered device from the powered device via a data port that is paired with the power supply port and is a physical port separate from each other;用于经由所述供电端口并基于所述供电信息向所述受电设备供电的部件;以及means for supplying power to the powered device via the power supply port based on the power supply information; and用于存储配置信息的部件,所述配置信息指示所述供电端口与所述数据端口之间的配对关系。means for storing configuration information indicating a pairing relationship between the power supply port and the data port.10.一种计算机可读介质,存储有指令,所述指令在被执行时使机器执行根据权利要求1-6中任一项所述的方法。10. A computer readable medium storing instructions which, when executed, cause a machine to perform the method of any one of claims 1-6.
CN202010556475.4A2020-06-172020-06-17 Method and apparatus for managing power supply, power supply device, and computer-readable mediumActiveCN113810202B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202010556475.4ACN113810202B (en)2020-06-172020-06-17 Method and apparatus for managing power supply, power supply device, and computer-readable medium
PCT/CN2021/100194WO2021254351A1 (en)2020-06-172021-06-15Method and apparatus for power sourcing management, power sourcing equipment, and computer readable medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010556475.4ACN113810202B (en)2020-06-172020-06-17 Method and apparatus for managing power supply, power supply device, and computer-readable medium

Publications (2)

Publication NumberPublication Date
CN113810202A CN113810202A (en)2021-12-17
CN113810202Btrue CN113810202B (en)2022-12-13

Family

ID=78892780

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010556475.4AActiveCN113810202B (en)2020-06-172020-06-17 Method and apparatus for managing power supply, power supply device, and computer-readable medium

Country Status (2)

CountryLink
CN (1)CN113810202B (en)
WO (1)WO2021254351A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113872773A (en)*2020-06-302021-12-31华为技术有限公司Power negotiation method for power over Ethernet, power supply equipment, power supply system and storage medium
CN115378048A (en)*2022-08-242022-11-22珠海录看数字技术有限公司Distributed POE power supply self-adaptive scheduling system
US12124305B2 (en)*2022-10-072024-10-22Hewlett Packard Enterprise Development LpPower priority adjustment in power over ethernet system based on availability of alternative power source
DE102022126893A1 (en)*2022-10-142024-04-25Turck Holding Gmbh Methods and interconnection for operating a network or network section
CN116566754B (en)*2023-05-092025-07-25易识科技(广东)有限责任公司POE power supply control method, system and readable storage medium
CN119835552B (en)*2024-12-302025-09-19武汉市鼎迅科技有限公司 Optical fiber powered wireless access controller and communication method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1794636A (en)*2004-12-212006-06-28阿尔卡特公司Power prioritization in power source equipment
CN101223487A (en)*2005-07-192008-07-16罗斯蒙德公司 Field-installed process equipment
CN108111316A (en)*2016-11-252018-06-01新华三技术有限公司A kind of PSE
CN108933671A (en)*2017-05-262018-12-04华为技术有限公司Power supply management method, equipment and system
CN110266546A (en)*2019-06-292019-09-20苏州浪潮智能科技有限公司 A method, device and readable medium for configuring switch ports

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101099397B (en)*2004-05-032012-02-08泛达公司Powered patch panel
EP1958375B1 (en)*2005-11-152014-06-25Linear Technology CorporationDynamic power allocation in system for providing power over communication link
US8099616B2 (en)*2006-06-122012-01-17Cisco Technology Inc.Power over ethernet port enabling and disabling responsive to access control system
US7870401B2 (en)*2007-08-152011-01-11Broadcom CorporationSystem and method for power over Ethernet provisioning for a computing device using a network user profile
CN104618123B (en)*2015-01-212018-10-26新华三技术有限公司A kind of method of supplying power to and device
US10779380B2 (en)*2018-03-212020-09-15Abl Ip Holding LlcPower over ethernet exit signage
CN111262339B (en)*2018-11-302022-05-17华为技术有限公司 Power supply method, power supply device and storage medium
CN109660365A (en)*2019-02-262019-04-19新华三技术有限公司A kind of method for controlling power supply and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1794636A (en)*2004-12-212006-06-28阿尔卡特公司Power prioritization in power source equipment
CN101223487A (en)*2005-07-192008-07-16罗斯蒙德公司 Field-installed process equipment
CN108111316A (en)*2016-11-252018-06-01新华三技术有限公司A kind of PSE
CN108933671A (en)*2017-05-262018-12-04华为技术有限公司Power supply management method, equipment and system
CN110266546A (en)*2019-06-292019-09-20苏州浪潮智能科技有限公司 A method, device and readable medium for configuring switch ports

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Communication between industrial computer and micro-energy pulse power supply with nanosecond pulse width;Zhang Yong-bin, Ji Fang, Liu Guang-min and Zhang Lian-xin;《International Conference on Advanced Technology of Design and Manufacture (ATDM 2010)》;20120209;全文*
供电服务督检现场检查仪优化设计研究;韦雅等;《自动化与仪器仪表》;20200325(第03期);全文*

Also Published As

Publication numberPublication date
CN113810202A (en)2021-12-17
WO2021254351A1 (en)2021-12-23

Similar Documents

PublicationPublication DateTitle
CN113810202B (en) Method and apparatus for managing power supply, power supply device, and computer-readable medium
US10732704B2 (en)Selection of power in power over Ethernet systems
US10474460B2 (en)Technologies for optical communication in rack clusters
US9742704B2 (en)Physical layer management at a wall plate device
US10887116B2 (en)Ethernet power distribution
US20130102237A1 (en)Server, server component and method for controlling fan speed
US8788865B2 (en)Method and system for redeploying powered devices from a power sourcing equipment with insufficient power capacity to another power sourcing equipment with excess power capacity
CN106165346A (en) Manage multiple Ethernet links
US12093120B2 (en)Lighting method and apparatus based on AMD platform, device and readable medium
US9201202B2 (en)QSFP to SFP+ adapter cable
CN111147365A (en)Modularization thing networking gateway equipment
EP2981004A1 (en)Interconnection system and apparatus, and data transmission method
US9690343B2 (en)Power distribution system
US11237583B2 (en)Method, device, and computer program product
US7673078B2 (en)Communicating configuration information over standard interconnect link
US10203737B2 (en)Power distribution between multiple powering devices and powered device(s)
CN113872773A (en)Power negotiation method for power over Ethernet, power supply equipment, power supply system and storage medium
US11516936B2 (en)Hybrid management switch/cabling system
CN112202570B (en)Switch equipment and compatible power supply method
CN208924274U (en)Managed switches
CN206117687U (en)Power supply communication system based on G. x agreement
JP5906293B2 (en) Optical line terminator
US11822406B2 (en)Powering patch panel system
CN120812105A (en)Method and device for accurately identifying and independently controlling multiple sets of similar audio equipment, electronic equipment and storage medium
WO2024256217A1 (en)Dc-powered lighting device and method for controlling operation thereof

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp