WO2017128608A1 - Reverse power supply method and system and control equipment - Google Patents

Reverse power supply method and system and control equipment Download PDF

Info

Publication number
WO2017128608A1
WO2017128608A1 PCT/CN2016/086901 CN2016086901W WO2017128608A1 WO 2017128608 A1 WO2017128608 A1 WO 2017128608A1 CN 2016086901 W CN2016086901 W CN 2016086901W WO 2017128608 A1 WO2017128608 A1 WO 2017128608A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
needs
opened
access device
determining
Prior art date
Application number
PCT/CN2016/086901
Other languages
French (fr)
Chinese (zh)
Inventor
高文娟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017128608A1 publication Critical patent/WO2017128608A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Definitions

  • This document relates to, but is not limited to, power supply technology, and more particularly to a method and system for implementing reverse power supply and a control device.
  • the traditional DPU (Distributed Processing Unit) device uses an independent power supply interface, DC or AC power supply. This requires the DPU device to have a higher environmental power requirement near the power supply.
  • a related method for implementing a reverse power supply is provided.
  • a power receiving device PD, Powered Device
  • a user side or a terminal is added to each port of a DPU (such as an optical network unit (ONU)).
  • PSE Powered Supply Equipment
  • the PD can be set as a module in the DPU.
  • the PSE can be an independent device or can be set as a module on the user side or the terminal.
  • Each PD is connected to a PSE.
  • the PSE is powered by the PSE, so that the PSE can supply power to the port corresponding to the DPU through the PD.
  • This new power supply method provides a new choice, solves the DPU's difficult problem in a special environment, and does not need to lay a power line to the DPU, flexible and easy to use, simple and environmentally friendly.
  • the biggest problem with the reverse power supply of the DPU is that the user side or the terminal may turn off the PSE during actual use, so that the port corresponding to the DPU cannot be powered, and the DPU also shuts down the service of the corresponding port.
  • the DPU is turned off, the corresponding The service of the port, the port itself still has power consumption, resulting in waste of resources.
  • the embodiment of the invention provides a method and system for implementing reverse power supply and a control device, which can reduce waste of resources.
  • the embodiment of the invention provides a method for implementing reverse power supply, including:
  • the control device detects that one or more power supply devices PSE are powered off, and determines a port of the access device that needs to be turned off;
  • the control device shuts down the determined service of the port that needs to be shut down and shuts down the determined management state of the port that needs to be shut down.
  • the method further includes:
  • the control device determines the port of the access device that needs to be opened, opens the determined service of the port that needs to be opened, and opens the determined management state of the port that needs to be opened.
  • the determining, by the port of the access device that needs to be powered off includes:
  • the determining, by the port of the access device that needs to be opened includes:
  • the determining, by the port of the access device that needs to be powered off includes:
  • n1 is the determined number of ports that need to be turned off.
  • the determining, by the number of ports of the access device that needs to be powered off includes:
  • N1 is the number of PSEs that have been opened before the PSE is powered off
  • N2 is the number of PSEs that are powered off
  • f(N1) is N1 PSEs that are turned on before the PSE is powered off.
  • the number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
  • the determining, by the port of the access device that needs to be opened includes:
  • the determining, by the port of the access device that needs to be opened includes:
  • n2 is the determined number of ports that need to be opened.
  • the determining, by the number of ports of the access device that needs to be opened includes:
  • N3 is the number of PSEs that have been opened before the PSE is powered on
  • N4 is the number of PSEs that are detected to be powered on
  • f(N3) is N3 PSEs that have been opened before the PSE is powered on.
  • the number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
  • the service that the control device turns off the determined port that needs to be shut down includes:
  • the control device bypasses the determined service bypass port to the central office CO side of the service of the determined port that needs to be shut down by the external device;
  • control device opens the determined service of the port that needs to be opened, including:
  • the control device bypasses the determined service of the port that needs to be opened to the digital subscriber line DSL side of the service of the determined port to be opened by the access device.
  • control device is an independent device or is disposed in the access device.
  • the invention also proposes a control device, comprising:
  • the power-on and power-off signal triggering module is configured to detect that one or more power supply devices PSE are powered off, and the first power-off control module sends a first notification message;
  • the power-on and power-off control module is configured to receive the first notification message and determine the access device that needs to be turned off. a port that is configured to shut down the service of the port that needs to be closed;
  • the port service management module is configured to turn off the determined management state of the port that needs to be shut down.
  • the power-on and power-off trigger module is further configured to:
  • the power-on and power-off control module is further configured to:
  • the port service management module is further configured to:
  • the management state of the determined port that needs to be opened is opened.
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be shut down in the following manner:
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be shut down in the following manner:
  • n1 is the determined number of ports that need to be turned off.
  • the power-on and power-off control module is configured to determine the number of ports of the access device that need to be shut down in the following manner:
  • N1 is the number of PSEs that have been opened before the PSE is powered off
  • N2 is the number of PSEs that are powered off
  • f(N1) is N1 PSEs that are turned on before the PSE is powered off.
  • the number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • n2 is the determined number of ports that need to be opened.
  • the power-on and power-off control module is configured to determine the number of ports of the access device that need to be opened in the following manner:
  • N3 is the number of PSEs that have been opened before the PSE is powered on
  • N4 is the number of PSEs that are detected to be powered on
  • f(N3) is N3 PSEs that have been opened before the PSE is powered on.
  • the number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
  • the power-on and power-off control module is configured to implement the following operations to turn off the determined port that needs to be shut down:
  • the power-on and power-off control module is configured to implement the service of opening the determined port that needs to be opened in the following manner:
  • the service bypass of the determined port to be opened is bypassed to the digital subscriber line DSL side of the service of the determined port to be opened by the control device.
  • the power-on and power-off control module includes a control unit and a bypass unit connected to the PSE;
  • the control unit is configured to receive the first notification message, determine the port of the access device that needs to be turned off, and control the bypass unit to bypass the service bypass of the determined port that needs to be shut down to be performed by the external device. Determining the CO side of the service of the port that needs to be shut down; or receiving the second notification message, determining the port of the access device that needs to be opened, and controlling the bypass unit to bypass the service of the determined port that needs to be opened Bypassing to the DSL side of the determined service of the port to be opened by the access device;
  • the bypass unit is configured to bypass the service bypass of the determined port that needs to be shut down under the control of the control unit to the CO side of the service of the determined port that needs to be shut down by an external device Or, under the control of the control unit, bypass the service bypass of the determined port to be opened to the DSL side of the service of the determined port to be opened by the access device.
  • the bypass unit includes: a power separation circuit and a bypass relay connected to a service output end of the power separation circuit.
  • the embodiment of the invention further provides a system for implementing reverse power supply, comprising:
  • the control device is configured to detect that one or more power supply devices PSE are powered off, determine a port of the access device that needs to be turned off, and turn off the determined service of the port that needs to be turned off;
  • the access device is set to turn off the determined management state of the port that needs to be turned off.
  • control device is further configured to:
  • the access device is further configured to:
  • the management state of the determined port that needs to be opened is opened.
  • the technical solution of the embodiment of the present invention includes: the control device detects that one or more power supply devices PSE are powered off, determines a port of the access device that needs to be turned off, and determines that the control device needs to be turned off.
  • the port's business is shut down to determine the administrative state of the port that needs to be shut down.
  • FIG. 1 is a flowchart of a method for implementing reverse power supply according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a control device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a bypass unit in a control device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a system for implementing reverse power supply according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for implementing reverse power supply, including:
  • Step 100 The control device detects that one or more PSEs are powered off, and determines a port of the access device that needs to be turned off.
  • control device may be an independent device or may be set in the access device.
  • the access device may be a DPU.
  • the ports of the access device that need to be shut down include:
  • the current reverse power supply mode is determined to be a fair mode, and the port of the access device that needs to be closed is determined to be a port connected to the powered PSE of the access device.
  • the current reverse power supply mode is determined to be a friendly mode, and the number of currently opened PSEs is greater than or equal to a preset value, and any port that does not need to be turned off is determined.
  • the number of open PSEs is greater than a preset value, it is considered that the opened PSE can supply power to the ports of all access devices, so there is no need to turn off any ports of the access device.
  • the current reverse power supply mode can be preset in the control device.
  • a fair mode is indicated by 1 and a friendly mode or the like is indicated by 0.
  • Fair mode means that a PSE only powers one port
  • friendly mode means that a PSE can power one or more ports.
  • the number of ports that determine the access device that needs to be shut down includes:
  • n1 f(N1)-f(N1-N2);
  • N1 is the number of PSEs that have been opened before the PSE is powered off
  • N2 is the number of PSEs that are powered off
  • f(N1) is N1 PSEs that are turned on before the PSE is powered off.
  • the number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
  • f(N1) and f(N1-N2) can be obtained empirically.
  • the power-off process can be introduced.
  • Step 101 The control device turns off the determined service of the port that needs to be shut down, and turns off the determined management state of the port that needs to be shut down.
  • control device when the control device turns off the determined service of the port that needs to be shut down, it can directly shut down the determined service of the port that needs to be shut down, or bypass the service of the determined port that needs to be shut down. Bypass to the central office (CO, Central Office) side of the service that is determined by the external device and needs to be shut down.
  • CO Central Office
  • the method further includes:
  • the method further includes:
  • the control device determines the port of the access device that needs to be opened, opens the determined service of the port that needs to be opened, and opens the determined management state of the port that needs to be opened.
  • control device specifically detects whether the PSE is powered on can be implemented by using the well-known technology of the present invention, and is not intended to limit the scope of protection of the present invention, and details are not described herein again.
  • the port of the access device that needs to be opened includes:
  • the current reverse power supply mode is determined to be a fair mode, and the port of the access device that needs to be opened includes a port connected to the powered PSE of the access device.
  • determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that needs to be opened, and determining the determined needs.
  • the number of open ports is greater than zero.
  • the port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority.
  • the n2 is the determined requirement.
  • the number of open ports is the number of open ports.
  • the number of ports that determine the access device that needs to be opened includes:
  • N3 is the number of PSEs that have been opened before the PSE is powered on
  • N4 is the number of PSEs that are detected to be powered on
  • f(N3) is the N3 PSEs that have been opened before the PSE is powered on.
  • the number of ports that are normally used by the device, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can provide normal access to the access device.
  • f(N3+N4) and f(N3) can be obtained empirically.
  • the control device opens the service of the determined port to be opened
  • the service of the determined port to be shut down may be directly opened, or the determined service of the port to be opened may be bypassed to be determined by the control device.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • an embodiment of the present invention further provides a control device, including:
  • the power-on and power-off signal triggering module is configured to detect that one or more power supply devices PSE are powered off, Sending a first notification message to the power-off control module;
  • the power-on and power-off control module is configured to receive the first notification message, determine the port of the access device that needs to be shut down, and shut down the determined service of the port that needs to be closed;
  • the port service management module is configured to turn off the determined management state of the port that needs to be shut down.
  • the power-on and power-off signal triggering module is further configured to:
  • the power-on and control module is also set to:
  • the port service management module is also set to:
  • the power-on and power-off control module is configured to implement the port of the access device that needs to be shut down in the following manner:
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • the power-on and power-off control module is configured to implement the port of the access device that needs to be shut down in the following manner:
  • n1 is the determined number of ports that need to be turned off.
  • the power-on and power-off control module is configured to adopt the following manner Now determine the number of ports that need to be shut down for access devices:
  • n1 f(N1)-f(N1-N2);
  • N1 is the number of PSEs that have been opened before the PSE is powered off
  • N2 is the number of PSEs that are detected to be powered off
  • f(N1) is the N1 PSEs that have been opened before the PSE is powered off.
  • the number of ports that are normally used by the device, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can supply power to the access device.
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • the current reverse power supply mode is determined to be a friendly mode, and the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, and the port of the access device that needs to be opened is determined to include all ports that are currently closed.
  • the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
  • Determining that the current reverse power supply mode is the friendly mode, and the number of ports connected to the PSE that has been opened after detecting that the PSE is powered on is smaller than the number of the second friendly ports that are preset, and determining the number of ports of the access device that need to be opened. And determining that the determined number of ports to be opened is greater than zero, and determining that the port of the access device that needs to be opened is the port number with the largest or smallest port number or the highest port priority among the currently shut down ports;
  • n2 is the determined number of ports that need to be opened.
  • the power-on and power-off control module is configured to determine the number of ports of the access device that need to be opened in the following manner:
  • N3 is the number of PSEs that have been opened before the PSE is powered on
  • N4 is the number of PSEs that are detected to be powered on
  • f(N3) is the N3 PSEs that have been opened before the PSE is powered on.
  • the number of ports that are normally used by the device, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can provide normal access to the access device.
  • the power-on and power-off control module is configured to implement the following services to turn off the determined port that needs to be shut down:
  • the power-on and power-off control module is configured to implement the service of opening the determined port that needs to be opened in the following manner:
  • the service bypass of the determined port to be opened is bypassed to the digital subscriber line DSL side of the service of the determined port to be opened by the control device.
  • the power-on and power-off control module includes a control unit and a bypass unit connected to the PSE;
  • the control unit is configured to receive the first notification message, determine the port of the access device that needs to be shut down, and control the bypass unit to bypass the service bypass of the determined port to be determined to be determined by the external device.
  • the bypass unit is configured to bypass the determined service bypass of the port to be shut down to the CO side of the service of the port to be shut down determined by the external device under the control of the control unit; or, in the control unit
  • the service bypass of the determined port to be opened is bypassed to the DSL side of the service of the determined port to be opened by the access device.
  • FIG. 3 is a schematic diagram showing the structure of the bypass unit.
  • the bypass unit includes: a power separation circuit and a bypass relay connected to the service output of the power separation circuit.
  • the power separation circuit divides the output of the PSE into a power output and a service output, and the power output is connected to the PD.
  • the service output is bypassed to the CO side or the DSL side through a bypass relay, the CO side is connected to the external device, and the DSL side is connected to the access device. If the control device is set in the access device, the DSL side is connected to the main control board of the access device.
  • the PD is generally built in the anti-provider board of the access device.
  • an embodiment of the present invention further provides a system for implementing reverse power supply, including:
  • the control device is configured to detect that one or more power supply devices are powered off, and determine the need Shut down the port of the access device, shutting down the determined service of the port that needs to be turned off;
  • the access device is set to turn off the determined management state of the port that needs to be turned off.
  • control device is further configured to:
  • the access device is also set to:
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.

Abstract

A reverse power supply method and system and control equipment. The method comprises the following steps: control equipment detects the power down of one or more than one power supply equipment (PSE) and determines a port of access device that needs to be disabled; the control equipment disables the service of the determined port that needs to be disabled, and disables the management state of the determined port that needs to be disabled.

Description

一种实现反向供电的方法和系统以及控制设备Method and system for implementing reverse power supply and control device 技术领域Technical field
本文涉及但不限于供电技术,尤指一种实现反向供电的方法和系统以及控制设备。This document relates to, but is not limited to, power supply technology, and more particularly to a method and system for implementing reverse power supply and a control device.
背景技术Background technique
传统的分散处理单元(DPU,Distributed Processing Unit)设备采用的是独立的供电接口,直流或者交流供电,这样要求DPU设备必须在靠近电源的地方,对环境电源要求较高。相关技术中提供了一种实现反向供电的方法,在DPU(如光网络单元(ONU,Optical Network Unit))侧的每一个端口增加一个受电设备(PD,Powered Device),用户侧或终端增加供电设备(PSE,Powered Supply Equipment);其中,PD可以作为模块设置在DPU中,PSE可以是独立的设备,也可以作为模块设置在用户侧或终端中,每一个PD与一个PSE相连,用户侧为PSE供电,从而PSE通过PD就能够给DPU对应的端口供电,电流由用户侧或终端流向PSE,由PSE流向PD,由PD流向DPU对应的端口。这种新的供电方式提供了一种全新的选择,解决了DPU在特殊环境下取点难的问题,并且不需要专门铺设电源线给DPU,灵活易用,简单环保。The traditional DPU (Distributed Processing Unit) device uses an independent power supply interface, DC or AC power supply. This requires the DPU device to have a higher environmental power requirement near the power supply. A related method for implementing a reverse power supply is provided. A power receiving device (PD, Powered Device), a user side or a terminal is added to each port of a DPU (such as an optical network unit (ONU)). PSE (Powered Supply Equipment); the PD can be set as a module in the DPU. The PSE can be an independent device or can be set as a module on the user side or the terminal. Each PD is connected to a PSE. The PSE is powered by the PSE, so that the PSE can supply power to the port corresponding to the DPU through the PD. The current flows from the user side or the terminal to the PSE, and the PSE flows to the PD, and the PD flows to the port corresponding to the DPU. This new power supply method provides a new choice, solves the DPU's difficult problem in a special environment, and does not need to lay a power line to the DPU, flexible and easy to use, simple and environmentally friendly.
DPU采用反向供电最大的问题在于实际使用时用户侧或终端可能会关闭PSE,从而无法为DPU对应的端口供电,DPU也会关断对应端口的业务,而事实上,DPU虽然关断了对应端口的业务,该端口本身还是存在功耗的,造成资源的浪费。The biggest problem with the reverse power supply of the DPU is that the user side or the terminal may turn off the PSE during actual use, so that the port corresponding to the DPU cannot be powered, and the DPU also shuts down the service of the corresponding port. In fact, although the DPU is turned off, the corresponding The service of the port, the port itself still has power consumption, resulting in waste of resources.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提出了一种实现反向供电的方法和系统以及控制设备,能够减小资源的浪费。The embodiment of the invention provides a method and system for implementing reverse power supply and a control device, which can reduce waste of resources.
本发明实施例提出了一种实现反向供电的方法,包括: The embodiment of the invention provides a method for implementing reverse power supply, including:
控制设备检测到一个或一个以上供电设备PSE下电,确定需要关断的接入设备的端口;The control device detects that one or more power supply devices PSE are powered off, and determines a port of the access device that needs to be turned off;
控制设备关断确定出的需要关断的端口的业务,并关断确定出的需要关断的端口的管理状态。The control device shuts down the determined service of the port that needs to be shut down and shuts down the determined management state of the port that needs to be shut down.
可选的,当所述控制设备检测到一个或一个以上所述PSE上电时,该方法还包括:Optionally, when the control device detects that one or more of the PSEs are powered on, the method further includes:
所述控制设备确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务,并打开所述确定出的需要打开的端口的管理状态。The control device determines the port of the access device that needs to be opened, opens the determined service of the port that needs to be opened, and opens the determined management state of the port that needs to be opened.
可选的,所述确定需要关断的接入设备的端口包括:Optionally, the determining, by the port of the access device that needs to be powered off, includes:
判断出当前的反向供电模式为公平模式,确定出所述需要关断的接入设备的端口包括所述接入设备的与下电的PSE相连的端口;Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be powered off includes a port that is connected to the powered PSE of the access device;
或者,所述确定需要打开的接入设备的端口包括:Alternatively, the determining, by the port of the access device that needs to be opened, includes:
判断出当前的反向供电模式为公平模式,确定出所述需要打开的接入设备的端口包括所述接入设备的与上电的PSE相连的端口。Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be opened includes a port of the access device that is connected to the powered PSE.
可选的,所述确定需要关断的接入设备的端口包括:Optionally, the determining, by the port of the access device that needs to be powered off, includes:
判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出所述需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先级最小的n1个端口;Determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining that the determined number of ports that need to be turned off is greater than Zero, determining that the port of the access device that needs to be turned off is the port number of the currently opened port with the smallest or largest port number, or the port with the lowest port priority;
其中,所述n1为确定出的需要关断的端口的数目。Where n1 is the determined number of ports that need to be turned off.
可选的,所述确定需要关断的接入设备的端口的数目包括:Optionally, the determining, by the number of ports of the access device that needs to be powered off, includes:
按照公式n1=f(N1)-f(N1-N2)计算所述需要关断的接入设备的端口;Calculating the port of the access device that needs to be turned off according to the formula n1=f(N1)-f(N1-N2);
其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供所述接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供所述接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are powered off, and f(N1) is N1 PSEs that are turned on before the PSE is powered off. The number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
可选的,所述确定需要打开的接入设备的端口包括: Optionally, the determining, by the port of the access device that needs to be opened, includes:
判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出所述需要打开的接入设备的端口包括当前已关闭的所有端口。Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, determining that the port of the access device that needs to be opened includes all currently closed port.
可选的,所述确定需要打开的接入设备的端口包括:Optionally, the determining, by the port of the access device that needs to be opened, includes:
判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目小于预设值,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出所述需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口;Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that need to be opened, and determining the determined need to open The number of the ports is greater than zero, and the port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority.
其中,n2为所述确定出的需要打开的端口的数目。Where n2 is the determined number of ports that need to be opened.
可选的,所述确定需要打开的接入设备的端口的数目包括:Optionally, the determining, by the number of ports of the access device that needs to be opened, includes:
按照公式n2=f(N3+N4)-f(N3)计算所述需要打开的接入设备的端口;Calculating, according to the formula n2=f(N3+N4)-f(N3), the port of the access device that needs to be opened;
其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供所述接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供所述接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is N3 PSEs that have been opened before the PSE is powered on. The number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
可选的,所述控制设备关断确定出的需要关断的端口的业务包括:Optionally, the service that the control device turns off the determined port that needs to be shut down includes:
所述控制设备将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的中央办公室CO侧;The control device bypasses the determined service bypass port to the central office CO side of the service of the determined port that needs to be shut down by the external device;
或者,所述控制设备打开确定出的需要打开的端口的业务包括:Alternatively, the control device opens the determined service of the port that needs to be opened, including:
所述控制设备将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的数字用户线DSL侧。The control device bypasses the determined service of the port that needs to be opened to the digital subscriber line DSL side of the service of the determined port to be opened by the access device.
可选的,所述控制设备为独立的设备,或设置在所述接入设备中。Optionally, the control device is an independent device or is disposed in the access device.
本发明还提出了一种控制设备,包括:The invention also proposes a control device, comprising:
上下电信号触发模块,设置为检测到一个或一个以上供电设备PSE下电,向上下电控制模块发送第一通知消息;The power-on and power-off signal triggering module is configured to detect that one or more power supply devices PSE are powered off, and the first power-off control module sends a first notification message;
上下电控制模块,设置为接收到第一通知消息,确定需要关断的接入设 备的端口,关断确定出的需要关闭的端口的业务;The power-on and power-off control module is configured to receive the first notification message and determine the access device that needs to be turned off. a port that is configured to shut down the service of the port that needs to be closed;
端口业务管理模块,设置为关断确定出的需要关断的端口的管理状态。The port service management module is configured to turn off the determined management state of the port that needs to be shut down.
可选的,所述上下电信号触发模块还设置为:Optionally, the power-on and power-off trigger module is further configured to:
检测到一个或一个以上所述PSE上电,向所述上下电控制模块发送第二通知消息;Detecting that one or more of the PSEs are powered on, and sending a second notification message to the power-on and power-off control module;
所述上下电控制模块还设置为:The power-on and power-off control module is further configured to:
接收到所述第二通知消息,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Receiving the second notification message, determining the port of the access device that needs to be opened, and opening the determined service of the port that needs to be opened;
所述端口业务管理模块还设置为:The port service management module is further configured to:
打开所述确定出的需要打开的端口的管理状态。The management state of the determined port that needs to be opened is opened.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:Optionally, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be shut down in the following manner:
判断出当前的反向供电模式为公平模式,确定出所述需要关断的接入设备的端口包括所述接入设备的与下电的PSE相连的端口;Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be powered off includes a port that is connected to the powered PSE of the access device;
或者,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:Alternatively, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为公平模式,确定出所述需要打开的接入设备的端口包括所述接入设备的与上电的PSE相连的端口。Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be opened includes a port of the access device that is connected to the powered PSE.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:Optionally, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be shut down in the following manner:
判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出所述需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先级最小的n1个端口;Determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining that the determined number of ports that need to be turned off is greater than Zero, determining that the port of the access device that needs to be turned off is the port number of the currently opened port with the smallest or largest port number, or the port with the lowest port priority;
其中,所述n1为确定出的需要关断的端口的数目。Where n1 is the determined number of ports that need to be turned off.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口的数目: Optionally, the power-on and power-off control module is configured to determine the number of ports of the access device that need to be shut down in the following manner:
按照公式n1=f(N1)-f(N1-N2)计算所述需要关断的接入设备的端口;Calculating the port of the access device that needs to be turned off according to the formula n1=f(N1)-f(N1-N2);
其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供所述接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供所述接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are powered off, and f(N1) is N1 PSEs that are turned on before the PSE is powered off. The number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:Optionally, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出所述需要打开的接入设备的端口为包括当前已关闭的所有端口。Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, and determining that the port of the access device that needs to be opened is included in the current closed state. All ports.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:Optionally, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目小于预设值,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出所述需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口;Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that need to be opened, and determining the determined need to open The number of the ports is greater than zero, and the port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority.
其中,n2为所述确定出的需要打开的端口的数目。Where n2 is the determined number of ports that need to be opened.
可选的,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口的数目:Optionally, the power-on and power-off control module is configured to determine the number of ports of the access device that need to be opened in the following manner:
按照公式n2=f(N3+N4)-f(N3)计算所述需要打开的接入设备的端口;Calculating, according to the formula n2=f(N3+N4)-f(N3), the port of the access device that needs to be opened;
其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供所述接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供所述接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is N3 PSEs that have been opened before the PSE is powered on. The number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
可选的,所述上下电控制模块是设置为采用以下方式实现关断确定出的需要关断的端口的业务:Optionally, the power-on and power-off control module is configured to implement the following operations to turn off the determined port that needs to be shut down:
将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所 述确定出的需要关断的端口的业务的中央办公室CO侧;Bypassing the determined service bypass port to be bypassed by an external device Determining the central office CO side of the service that needs to shut down the port;
或者,所述上下电控制模块是设置为采用以下方式实现打开确定出的需要打开的端口的业务:Alternatively, the power-on and power-off control module is configured to implement the service of opening the determined port that needs to be opened in the following manner:
将所述确定出的需要打开的端口的业务旁路bypass到由所述控制设备进行所述确定出的需要打开的端口的业务的数字用户线DSL侧。The service bypass of the determined port to be opened is bypassed to the digital subscriber line DSL side of the service of the determined port to be opened by the control device.
可选的,所述上下电控制模块包括控制单元和与所述PSE相连的bypass单元;Optionally, the power-on and power-off control module includes a control unit and a bypass unit connected to the PSE;
其中,控制单元设置为接收到第一通知消息,确定需要关断的接入设备的端口,控制bypass单元将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的CO侧;或者,接收到第二通知消息,确定需要打开的接入设备的端口,控制bypass单元将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的DSL侧;The control unit is configured to receive the first notification message, determine the port of the access device that needs to be turned off, and control the bypass unit to bypass the service bypass of the determined port that needs to be shut down to be performed by the external device. Determining the CO side of the service of the port that needs to be shut down; or receiving the second notification message, determining the port of the access device that needs to be opened, and controlling the bypass unit to bypass the service of the determined port that needs to be opened Bypassing to the DSL side of the determined service of the port to be opened by the access device;
所述bypass单元设置为在所述控制单元的控制下将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的CO侧;或者,在所述控制单元的控制下将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的DSL侧。The bypass unit is configured to bypass the service bypass of the determined port that needs to be shut down under the control of the control unit to the CO side of the service of the determined port that needs to be shut down by an external device Or, under the control of the control unit, bypass the service bypass of the determined port to be opened to the DSL side of the service of the determined port to be opened by the access device.
可选的,所述bypass单元包括:电源分离电路和与所述电源分离电路的业务输出端相连bypass继电器。Optionally, the bypass unit includes: a power separation circuit and a bypass relay connected to a service output end of the power separation circuit.
本发明实施例还提出了一种实现反向供电的系统,包括:The embodiment of the invention further provides a system for implementing reverse power supply, comprising:
控制设备,设置为检测到一个或一个以上供电设备PSE下电,确定需要关断的接入设备的端口,关断确定出的需要关断的端口的业务;The control device is configured to detect that one or more power supply devices PSE are powered off, determine a port of the access device that needs to be turned off, and turn off the determined service of the port that needs to be turned off;
接入设备,设置为关断确定出的需要关断的端口的管理状态。The access device is set to turn off the determined management state of the port that needs to be turned off.
可选的,所述控制设备还设置为:Optionally, the control device is further configured to:
检测到一个或一个以上所述PSE上电,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Detecting that one or more of the PSEs are powered on, determining a port of the access device that needs to be opened, and opening a determined service of the port that needs to be opened;
所述接入设备还设置为: The access device is further configured to:
打开所述确定出的需要打开的端口的管理状态。The management state of the determined port that needs to be opened is opened.
与相关技术相比,本发明的实施例技术方案包括:控制设备检测到一个或一个以上供电设备PSE下电,确定需要关断的接入设备的端口;控制设备关断确定出的需要关断的端口的业务,并关断确定出的需要关断的端口的管理状态。通过本发明实施例的方案,在检测到PSE下电时,关断确定出的端口的业务,并关断确定出的端口的管理状态,从而减小了关断业务的端口的功耗,因此,减小了资源的浪费。Compared with the related art, the technical solution of the embodiment of the present invention includes: the control device detects that one or more power supply devices PSE are powered off, determines a port of the access device that needs to be turned off, and determines that the control device needs to be turned off. The port's business is shut down to determine the administrative state of the port that needs to be shut down. With the solution of the embodiment of the present invention, when the PSE is powered off, the service of the determined port is turned off, and the management state of the determined port is turned off, thereby reducing the power consumption of the port that shuts down the service, so , reducing the waste of resources.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例实现反向供电的方法的流程图;1 is a flowchart of a method for implementing reverse power supply according to an embodiment of the present invention;
图2为本发明实施例控制设备的结构组成示意图;2 is a schematic structural diagram of a control device according to an embodiment of the present invention;
图3为本发明实施例控制设备中bypass单元的结构组成示意图;3 is a schematic structural diagram of a bypass unit in a control device according to an embodiment of the present invention;
图4为本发明实施例实现反向供电的系统的结构组成示意图。FIG. 4 is a schematic structural diagram of a system for implementing reverse power supply according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings, and is not intended to limit the scope of the present invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
参见图1,本发明实施例提出了一种实现反向供电的方法,包括:Referring to FIG. 1, an embodiment of the present invention provides a method for implementing reverse power supply, including:
步骤100、控制设备检测到一个或一个以上PSE下电,确定需要关断的接入设备的端口。Step 100: The control device detects that one or more PSEs are powered off, and determines a port of the access device that needs to be turned off.
本步骤中,控制设备可以是独立的设备,也可以设置在接入设备中。In this step, the control device may be an independent device or may be set in the access device.
本步骤中,接入设备可以是DPU。In this step, the access device may be a DPU.
本步骤中,控制设备具体如何检测PSE是否上电或下电可以采用本领域技术人员熟知技术手段实现,并不用于限定本发明的保护范围,这里不再赘述。In this step, how the control device specifically detects whether the PSE is powered on or off can be implemented by using the technical means well known to those skilled in the art, and is not intended to limit the scope of the present invention, and details are not described herein again.
本步骤中,确定需要关断的接入设备的端口包括: In this step, the ports of the access device that need to be shut down include:
判断出当前的反向供电模式为公平模式,确定出需要关闭的接入设备的端口包括接入设备的与下电的PSE相连的端口。The current reverse power supply mode is determined to be a fair mode, and the port of the access device that needs to be closed is determined to be a port connected to the powered PSE of the access device.
或者,判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先等级最小的n1个端口;其中,n1为确定出的需要关断的端口的数目。Or determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining the determined port that needs to be turned off. If the number is greater than zero, determine that the port of the access device that needs to be powered off is the port number with the smallest or largest port number or the port priority level of the currently opened port; where n1 is the determined port that needs to be shut down. Number of.
其中,当判断出确定出的需要关断的端口的数目等于零时,确定出不需要关断接入设备的任何端口。Wherein, when it is determined that the determined number of ports to be turned off is equal to zero, it is determined that any port of the access device does not need to be turned off.
其中,判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目大于或等于预设值,确定出不需要关断接入设备的任何端口。当打开的PSE的数目大于预设值时,认为打开的PSE能够为所有接入设备的端口供电,因此不需要关断接入设备的任何端口。The current reverse power supply mode is determined to be a friendly mode, and the number of currently opened PSEs is greater than or equal to a preset value, and any port that does not need to be turned off is determined. When the number of open PSEs is greater than a preset value, it is considered that the opened PSE can supply power to the ports of all access devices, so there is no need to turn off any ports of the access device.
其中,当前的反向供电模式可以预先设置在控制设备中。例如,用1表示公平模式,用0表示友好模式等。公平模式表示一个PSE只为一个端口供电,友好模式表示一个PSE可以为一个或多个端口供电。Wherein, the current reverse power supply mode can be preset in the control device. For example, a fair mode is indicated by 1 and a friendly mode or the like is indicated by 0. Fair mode means that a PSE only powers one port, and friendly mode means that a PSE can power one or more ports.
其中,确定需要关断的接入设备的端口的数目包括:The number of ports that determine the access device that needs to be shut down includes:
按照公式n1=f(N1)-f(N1-N2)计算需要关断的接入设备的端口;Calculate the port of the access device that needs to be shut down according to the formula n1=f(N1)-f(N1-N2);
其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供所述接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供所述接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are powered off, and f(N1) is N1 PSEs that are turned on before the PSE is powered off. The number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
其中,f(N1)和f(N1-N2)可以根据经验获得。Among them, f(N1) and f(N1-N2) can be obtained empirically.
例如,当1<=n并且n<6时,f(n)=n;For example, when 1<=n and n<6, f(n)=n;
当6<=n并且n<=16时,f(n)=16;When 6<=n and n<=16, f(n)=16;
也就是说,当打开的PSE的数目小于6时,可供接入设备正常用电的端口数为f(n)=n,即一个PSE只可以负责本身对应的端口的业务;此时若n=1,有其他PSE上电,则根据计算得出f(2)-f(1)=1,即打开与上电的PSE 相连的端口;That is to say, when the number of open PSEs is less than 6, the number of ports available for access to the device is f(n)=n, that is, one PSE can only be responsible for the services of the corresponding port; =1, if other PSEs are powered on, according to the calculation, f(2)-f(1)=1, that is, the PSE that is turned on and powered on Connected port;
从f(n)取值可以看到当n=6时,可以供接入设备的16个端口正常用电了。由此可以推断出,当n=5时,第六个PSE上电,则根据计算f(6)-f(5)=11,这时可以将其余11个端口的业务都打开了,这样就实现了其他7-16个PSE不用打开也可以为接入设备的16个端口供电。From the value of f(n), it can be seen that when n=6, the 16 ports of the access device can be used normally. It can be inferred that when n=5, the sixth PSE is powered on, then according to the calculation f(6)-f(5)=11, then the services of the remaining 11 ports can be opened, so that It can realize that other 7-16 PSEs can supply power to 16 ports of the access device without opening.
根据上述f(n)可以推出下电过程,当n=6时,这时有一个PSE下电,根据计算f(6)-f(5)=11,需要关闭11个端口的业务,将其他没有PSE供电的11个端口全部关断业务;当n=5,一个PSE下电,根据f(5)-f(4)=1,关闭与下电的PSE相连的端口的业务。According to the above f(n), the power-off process can be introduced. When n=6, there is a PSE power-off. According to the calculation f(6)-f(5)=11, it is necessary to shut down the services of 11 ports, and other All the ports that are not powered by the PSE are powered off. When n=5, one PSE is powered off, and according to f(5)-f(4)=1, the services of the port connected to the powered-off PSE are closed.
步骤101、控制设备关断确定出的需要关断的端口的业务,并关断确定出的需要关断的端口的管理状态。Step 101: The control device turns off the determined service of the port that needs to be shut down, and turns off the determined management state of the port that needs to be shut down.
本步骤中,控制设备关断确定出的需要关断的端口的业务时,可以直接关断确定出的需要关断的端口的业务,也可以将确定出的需要关断的端口的业务旁路(bypass)到由外部设备进行确定出的需要关断的端口的业务的中央办公室(CO,Central Office)侧。In this step, when the control device turns off the determined service of the port that needs to be shut down, it can directly shut down the determined service of the port that needs to be shut down, or bypass the service of the determined port that needs to be shut down. Bypass to the central office (CO, Central Office) side of the service that is determined by the external device and needs to be shut down.
本步骤中,具体如何关断确定出的需要关断的端口的管理状态可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。In this step, how to specifically determine the management state of the port that needs to be shut down can be implemented by using the well-known technology of the present invention, and is not intended to limit the scope of the present invention, and details are not described herein again.
通过本发明实施例的方案,在检测到PSE下电时,关断确定出的端口的业务,并关断确定出的端口的管理状态,从而减小了关断业务的端口的功耗,因此,减小了资源的浪费。With the solution of the embodiment of the present invention, when the PSE is powered off, the service of the determined port is turned off, and the management state of the determined port is turned off, thereby reducing the power consumption of the port that shuts down the service, so , reducing the waste of resources.
可选的,该方法还包括:Optionally, the method further includes:
当控制设备检测到一个或一个以上PSE上电时,该方法还包括:When the control device detects that one or more PSEs are powered on, the method further includes:
控制设备确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务,并打开确定出的需要打开的端口的管理状态。The control device determines the port of the access device that needs to be opened, opens the determined service of the port that needs to be opened, and opens the determined management state of the port that needs to be opened.
其中,控制设备具体如何检测PSE是否上电可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。For example, how the control device specifically detects whether the PSE is powered on can be implemented by using the well-known technology of the present invention, and is not intended to limit the scope of protection of the present invention, and details are not described herein again.
其中,确定需要打开的接入设备的端口包括: The port of the access device that needs to be opened includes:
判断出当前的反向供电模式为公平模式,确定出需要打开的接入设备的端口包括接入设备的与上电的PSE相连的端口。The current reverse power supply mode is determined to be a fair mode, and the port of the access device that needs to be opened includes a port connected to the powered PSE of the access device.
或者,判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出需要打开的接入设备的端口包括与上电的PSE相连且当前已关闭的所有端口。Or determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, determining that the port of the access device that needs to be opened includes the PSE that is powered on All ports that are connected and are currently down.
或者,判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目小于预设值,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口;其中,n2为确定出的需要打开的端口的数目。Or determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that needs to be opened, and determining the determined needs. The number of open ports is greater than zero. The port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority. The n2 is the determined requirement. The number of open ports.
其中,确定需要打开的接入设备的端口的数目包括:The number of ports that determine the access device that needs to be opened includes:
按照公式n2=f(N3+N4)-f(N3)计算需要打开的接入设备的端口;Calculate the port of the access device that needs to be opened according to the formula n2=f(N3+N4)-f(N3);
其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is the N3 PSEs that have been opened before the PSE is powered on. The number of ports that are normally used by the device, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can provide normal access to the access device.
其中,f(N3+N4)和f(N3)可以根据经验获得。Among them, f(N3+N4) and f(N3) can be obtained empirically.
其中,控制设备打开确定出的需要打开的端口的业务时,可以直接打开确定出的需要关断的端口的业务,也可以将确定出的需要打开的端口的业务bypass到由控制设备进行确定出的需要打开的端口的业务的数字用户线(DSL,Digital Subscriber Line)侧。When the control device opens the service of the determined port to be opened, the service of the determined port to be shut down may be directly opened, or the determined service of the port to be opened may be bypassed to be determined by the control device. The digital subscriber line (DSL, Digital Subscriber Line) side of the service that needs to open the port.
其中,具体如何打开确定出的需要打开的端口的管理状态可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。For example, how to open the determined management state of the port that needs to be opened can be implemented by using the well-known technology of the present invention, and is not intended to limit the scope of protection of the present invention, and details are not described herein again.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
参见图2,本发明实施例还提出了一种控制设备,包括:Referring to FIG. 2, an embodiment of the present invention further provides a control device, including:
上下电信号触发模块,设置为检测到一个或一个以上供电设备PSE下电, 向上下电控制模块发送第一通知消息;The power-on and power-off signal triggering module is configured to detect that one or more power supply devices PSE are powered off, Sending a first notification message to the power-off control module;
上下电控制模块,设置为接收到第一通知消息,确定需要关断的接入设备的端口,关断确定出的需要关闭的端口的业务;The power-on and power-off control module is configured to receive the first notification message, determine the port of the access device that needs to be shut down, and shut down the determined service of the port that needs to be closed;
端口业务管理模块,设置为关断确定出的需要关断的端口的管理状态。The port service management module is configured to turn off the determined management state of the port that needs to be shut down.
本发明实施例的控制设备中,上下电信号触发模块还设置为:In the control device of the embodiment of the present invention, the power-on and power-off signal triggering module is further configured to:
检测到一个或一个以上PSE上电,向上下电控制模块发送第二通知消息;Detecting that one or more PSEs are powered on, and sending a second notification message to the power-off control module;
上下电控制模块还设置为:The power-on and control module is also set to:
接收到第二通知消息,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Receiving the second notification message, determining the port of the access device that needs to be opened, and opening the determined service of the port that needs to be opened;
端口业务管理模块还设置为:The port service management module is also set to:
打开确定出的需要打开的端口的管理状态。Open the determined management status of the port that needs to be opened.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to implement the port of the access device that needs to be shut down in the following manner:
判断出当前的反向供电模式为公平模式,确定出需要关断的接入设备的端口为接入设备的与下电的PSE相连的端口;Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be powered off is a port that is connected to the powered-down PSE of the access device;
或者,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:Alternatively, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为公平模式,确定出所述需要打开的接入设备的端口包括所述接入设备的与上电的PSE相连的端口。Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be opened includes a port of the access device that is connected to the powered PSE.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to implement the port of the access device that needs to be shut down in the following manner:
判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先级最小的n1个端口;Determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining that the determined number of ports that need to be turned off is greater than Zero, determine that the port of the access device that needs to be shut down is the port number with the smallest or largest port number or the smallest port priority among the currently opened ports;
其中,n1为确定出的需要关断的端口的数目。Where n1 is the determined number of ports that need to be turned off.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实 现确定需要关断的接入设备的端口的数目:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to adopt the following manner Now determine the number of ports that need to be shut down for access devices:
按照公式n1=f(N1)-f(N1-N2)计算需要关断的接入设备的端口;Calculate the port of the access device that needs to be shut down according to the formula n1=f(N1)-f(N1-N2);
其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are detected to be powered off, and f(N1) is the N1 PSEs that have been opened before the PSE is powered off. The number of ports that are normally used by the device, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can supply power to the access device.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出需要打开的接入设备的端口包括当前已关闭的所有端口。The current reverse power supply mode is determined to be a friendly mode, and the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, and the port of the access device that needs to be opened is determined to include all ports that are currently closed.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
判断出当前的反向供电模式为友好模式,且与检测到PSE上电之后已打开的PSE相连的端口的数目小于预先设置的第二友好端口数,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口;Determining that the current reverse power supply mode is the friendly mode, and the number of ports connected to the PSE that has been opened after detecting that the PSE is powered on is smaller than the number of the second friendly ports that are preset, and determining the number of ports of the access device that need to be opened. And determining that the determined number of ports to be opened is greater than zero, and determining that the port of the access device that needs to be opened is the port number with the largest or smallest port number or the highest port priority among the currently shut down ports;
其中,n2为确定出的需要打开的端口的数目。Where n2 is the determined number of ports that need to be opened.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口的数目:In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to determine the number of ports of the access device that need to be opened in the following manner:
按照公式n2=f(N3+N4)-f(N3)计算需要打开的接入设备的端口;Calculate the port of the access device that needs to be opened according to the formula n2=f(N3+N4)-f(N3);
其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is the N3 PSEs that have been opened before the PSE is powered on. The number of ports that are normally used by the device, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can provide normal access to the access device.
本发明实施例的控制设备中,上下电控制模块是设置为采用以下方式实现关断确定出的需要关断的端口的业务: In the control device of the embodiment of the present invention, the power-on and power-off control module is configured to implement the following services to turn off the determined port that needs to be shut down:
将确定出的需要关断的端口的业务旁路bypass到由外部设备进行确定出的需要关断的端口的业务的CO侧;Bypassing the determined service bypass of the port that needs to be shut down to the CO side of the service of the port that needs to be shut down determined by the external device;
或者,所述上下电控制模块是设置为采用以下方式实现打开确定出的需要打开的端口的业务:Alternatively, the power-on and power-off control module is configured to implement the service of opening the determined port that needs to be opened in the following manner:
将所述确定出的需要打开的端口的业务旁路bypass到由所述控制设备进行所述确定出的需要打开的端口的业务的数字用户线DSL侧。The service bypass of the determined port to be opened is bypassed to the digital subscriber line DSL side of the service of the determined port to be opened by the control device.
本发明实施例的控制设备中,上下电控制模块包括控制单元和与PSE相连的bypass单元;In the control device of the embodiment of the present invention, the power-on and power-off control module includes a control unit and a bypass unit connected to the PSE;
其中,控制单元设置为接收到第一通知消息,确定需要关断的接入设备的端口,控制bypass单元将确定出的需要关断的端口的业务旁路bypass到由外部设备进行确定出的需要关断的端口的业务的CO侧;或者,接收到第二通知消息,确定需要打开的接入设备的端口,控制bypass单元将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的DSL侧;The control unit is configured to receive the first notification message, determine the port of the access device that needs to be shut down, and control the bypass unit to bypass the service bypass of the determined port to be determined to be determined by the external device. The CO side of the service of the port that is shut down; or, receiving the second notification message, determining the port of the access device that needs to be opened, and controlling the bypass unit to bypass the service of the determined port that needs to be opened to the server Determining, by the access device, the DSL side of the determined service of the port that needs to be opened;
bypass单元设置为在控制单元的控制下将确定出的需要关断的端口的业务旁路bypass到由外部设备进行确定出的需要关断的端口的业务的CO侧;或者,在所述控制单元的控制下将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的DSL侧。The bypass unit is configured to bypass the determined service bypass of the port to be shut down to the CO side of the service of the port to be shut down determined by the external device under the control of the control unit; or, in the control unit The service bypass of the determined port to be opened is bypassed to the DSL side of the service of the determined port to be opened by the access device.
图3为bypass单元的结构组成示意图。如图3所示,bypass单元包括:电源分离电路和与电源分离电路的业务输出端相连bypass继电器。Figure 3 is a schematic diagram showing the structure of the bypass unit. As shown in FIG. 3, the bypass unit includes: a power separation circuit and a bypass relay connected to the service output of the power separation circuit.
其中,电源分离电路将PSE的输出分成电源输出和业务输出,电源输出与PD相连,业务输出通过bypass继电器bypass到CO侧或DSL侧,CO侧与外部设备相连,DSL侧与接入设备相连。如果控制设备设置在接入设备中,则DSL侧与接入设备的主控板相连。The power separation circuit divides the output of the PSE into a power output and a service output, and the power output is connected to the PD. The service output is bypassed to the CO side or the DSL side through a bypass relay, the CO side is connected to the external device, and the DSL side is connected to the access device. If the control device is set in the access device, the DSL side is connected to the main control board of the access device.
其中,PD一般内置在接入设备的反供板上。Among them, the PD is generally built in the anti-provider board of the access device.
参见图4,本发明实施例还提出了一种实现反向供电的系统,包括:Referring to FIG. 4, an embodiment of the present invention further provides a system for implementing reverse power supply, including:
控制设备,设置为检测到一个或一个以上供电设备PSE下电,确定需要 关断的接入设备的端口,关断确定出的需要关断的端口的业务;The control device is configured to detect that one or more power supply devices are powered off, and determine the need Shut down the port of the access device, shutting down the determined service of the port that needs to be turned off;
接入设备,设置为关断确定出的需要关断的端口的管理状态。The access device is set to turn off the determined management state of the port that needs to be turned off.
本发明实施例的系统中,控制设备还设置为:In the system of the embodiment of the present invention, the control device is further configured to:
检测到一个或一个以上PSE上电,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Detecting that one or more PSEs are powered on, determining the port of the access device that needs to be opened, and opening the determined service of the port that needs to be opened;
接入设备还设置为:The access device is also set to:
打开确定出的需要打开的端口的管理状态。Open the determined management status of the port that needs to be opened.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本发明的保护范围之内。It should be noted that the above-mentioned embodiments are only for the purpose of facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and those skilled in the art will Any obvious substitutions and improvements made by the invention are within the scope of the invention.
工业实用性Industrial applicability
上述技术方案减小了资源的浪费。 The above technical solution reduces waste of resources.

Claims (23)

  1. 一种实现反向供电的方法,包括:A method of implementing reverse power supply, comprising:
    控制设备检测到一个或一个以上供电设备PSE下电,确定需要关断的接入设备的端口;The control device detects that one or more power supply devices PSE are powered off, and determines a port of the access device that needs to be turned off;
    控制设备关断确定出的需要关断的端口的业务,并关断确定出的需要关断的端口的管理状态。The control device shuts down the determined service of the port that needs to be shut down and shuts down the determined management state of the port that needs to be shut down.
  2. 根据权利要求1所述的方法,该方法还包括:The method of claim 1 further comprising:
    当所述控制设备检测到一个或一个以上所述PSE上电时,When the control device detects that one or more of the PSEs are powered on,
    所述控制设备确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务,并打开所述确定出的需要打开的端口的管理状态。The control device determines the port of the access device that needs to be opened, opens the determined service of the port that needs to be opened, and opens the determined management state of the port that needs to be opened.
  3. 根据权利要求1或2所述的方法,其中,所述确定需要关断的接入设备的端口包括:The method according to claim 1 or 2, wherein the determining the port of the access device that needs to be turned off comprises:
    判断出当前的反向供电模式为公平模式,确定出所述需要关断的接入设备的端口包括所述接入设备的与下电的PSE相连的端口;Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be powered off includes a port that is connected to the powered PSE of the access device;
    或者,所述确定需要打开的接入设备的端口包括:Alternatively, the determining, by the port of the access device that needs to be opened, includes:
    判断出当前的反向供电模式为公平模式,确定出所述需要打开的接入设备的端口包括所述接入设备的与上电的PSE相连的端口。Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be opened includes a port of the access device that is connected to the powered PSE.
  4. 根据权利要求1或2所述的方法,其中,所述确定需要关断的接入设备的端口包括:The method according to claim 1 or 2, wherein the determining the port of the access device that needs to be turned off comprises:
    判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出所述需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先级最小的n1个端口;Determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining that the determined number of ports that need to be turned off is greater than Zero, determining that the port of the access device that needs to be turned off is the port number of the currently opened port with the smallest or largest port number, or the port with the lowest port priority;
    其中,所述n1为确定出的需要关断的端口的数目。Where n1 is the determined number of ports that need to be turned off.
  5. 根据权利要求4所述的方法,其中,所述确定需要关断的接入设备的端口的数目包括: The method of claim 4 wherein said determining the number of ports of the access device that need to be turned off comprises:
    按照公式n1=f(N1)-f(N1-N2)计算所述需要关断的接入设备的端口;Calculating the port of the access device that needs to be turned off according to the formula n1=f(N1)-f(N1-N2);
    其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供所述接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供所述接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are powered off, and f(N1) is N1 PSEs that are turned on before the PSE is powered off. The number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
  6. 根据权利要求2所述的方法,其中,所述确定需要打开的接入设备的端口包括:The method of claim 2, wherein the determining the port of the access device that needs to be opened comprises:
    判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出所述需要打开的接入设备的端口包括当前已关闭的所有端口。Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, determining that the port of the access device that needs to be opened includes all currently closed port.
  7. 根据权利要求2所述的方法,其中,所述确定需要打开的接入设备的端口包括:The method of claim 2, wherein the determining the port of the access device that needs to be opened comprises:
    判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目小于预设值,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出所述需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口;Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that need to be opened, and determining the determined need to open The number of the ports is greater than zero, and the port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority.
    其中,n2为所述确定出的需要打开的端口的数目。Where n2 is the determined number of ports that need to be opened.
  8. 根据权利要求7所述的方法,其中,所述确定需要打开的接入设备的端口的数目包括:The method of claim 7, wherein the determining the number of ports of the access device that need to be opened comprises:
    按照公式n2=f(N3+N4)-f(N3)计算所述需要打开的接入设备的端口;Calculating, according to the formula n2=f(N3+N4)-f(N3), the port of the access device that needs to be opened;
    其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供所述接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供所述接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is N3 PSEs that have been opened before the PSE is powered on. The number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
  9. 根据权利要求1或2所述的方法,其中,所述控制设备关断确定出的需要关断的端口的业务包括:The method according to claim 1 or 2, wherein the control device turns off the determined services of the ports that need to be turned off, including:
    所述控制设备将所述确定出的需要关断的端口的业务旁路bypass到由外 部设备进行所述确定出的需要关断的端口的业务的中央办公室CO侧;The control device bypasses the determined service bypass port to bypass The central device performs the determined central office CO side of the service of the port that needs to be turned off;
    或者,所述控制设备打开确定出的需要打开的端口的业务包括:Alternatively, the control device opens the determined service of the port that needs to be opened, including:
    所述控制设备将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的数字用户线DSL侧。The control device bypasses the determined service of the port that needs to be opened to the digital subscriber line DSL side of the service of the determined port to be opened by the access device.
  10. 根据权利要求1或2所述的方法,其中,所述控制设备为独立的设备,或设置在所述接入设备中。The method according to claim 1 or 2, wherein the control device is a standalone device or is disposed in the access device.
  11. 一种控制设备,包括:A control device comprising:
    上下电信号触发模块,设置为检测到一个或一个以上供电设备PSE下电,向上下电控制模块发送第一通知消息;The power-on and power-off signal triggering module is configured to detect that one or more power supply devices PSE are powered off, and the first power-off control module sends a first notification message;
    上下电控制模块,设置为接收到第一通知消息,确定需要关断的接入设备的端口,关断确定出的需要关闭的端口的业务;The power-on and power-off control module is configured to receive the first notification message, determine the port of the access device that needs to be shut down, and shut down the determined service of the port that needs to be closed;
    端口业务管理模块,设置为关断确定出的需要关断的端口的管理状态。The port service management module is configured to turn off the determined management state of the port that needs to be shut down.
  12. 根据权利要求11所述的控制设备,所述上下电信号触发模块还设置为:The control device according to claim 11, wherein the up and down electrical signal triggering module is further configured to:
    检测到一个或一个以上所述PSE上电,向所述上下电控制模块发送第二通知消息;Detecting that one or more of the PSEs are powered on, and sending a second notification message to the power-on and power-off control module;
    所述上下电控制模块还设置为:The power-on and power-off control module is further configured to:
    接收到所述第二通知消息,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Receiving the second notification message, determining the port of the access device that needs to be opened, and opening the determined service of the port that needs to be opened;
    所述端口业务管理模块还设置为:The port service management module is further configured to:
    打开所述确定出的需要打开的端口的管理状态。The management state of the determined port that needs to be opened is opened.
  13. 根据权利要求11或12所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:The control device according to claim 11 or 12, wherein the power-on and power-off control module is configured to implement a port for determining an access device that needs to be turned off in the following manner:
    判断出当前的反向供电模式为公平模式,确定出所述需要关断的接入设备的端口包括所述接入设备的与下电的PSE相连的端口;Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be powered off includes a port that is connected to the powered PSE of the access device;
    或者,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口: Alternatively, the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
    判断出当前的反向供电模式为公平模式,确定出所述需要打开的接入设备的端口包括所述接入设备的与上电的PSE相连的端口。Determining that the current reverse power supply mode is a fair mode, and determining that the port of the access device that needs to be opened includes a port of the access device that is connected to the powered PSE.
  14. 根据权利要求11或12所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口:The control device according to claim 11 or 12, wherein the power-on and power-off control module is configured to implement a port for determining an access device that needs to be turned off in the following manner:
    判断出当前的反向供电模式为友好模式,且当前打开的PSE的数目小于预设值,确定需要关断的接入设备的端口的数目,判断出确定出的需要关断的端口的数目大于零,确定出所述需要关断的接入设备的端口为当前已打开的端口中端口编号最小或最大,或端口优先级最小的n1个端口;Determining that the current reverse power supply mode is a friendly mode, and the number of currently opened PSEs is less than a preset value, determining the number of ports of the access device that need to be turned off, and determining that the determined number of ports that need to be turned off is greater than Zero, determining that the port of the access device that needs to be turned off is the port number of the currently opened port with the smallest or largest port number, or the port with the lowest port priority;
    其中,所述n1为确定出的需要关断的端口的数目。Where n1 is the determined number of ports that need to be turned off.
  15. 根据权利要求14所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要关断的接入设备的端口的数目:The control device according to claim 14, wherein the power-on and power-off control module is configured to implement the number of ports determining the access device that needs to be turned off in the following manner:
    按照公式n1=f(N1)-f(N1-N2)计算所述需要关断的接入设备的端口;Calculating the port of the access device that needs to be turned off according to the formula n1=f(N1)-f(N1-N2);
    其中,N1为检测到PSE下电之前已打开的PSE的数目,N2为检测到下电的PSE的数目,f(N1)为检测到PSE下电之前已打开的N1个PSE可以供所述接入设备正常用电的端口数,f(N1-N2)为检测到PSE下电之后已打开的(N1-N2)个PSE可以供所述接入设备正常用电的端口数。N1 is the number of PSEs that have been opened before the PSE is powered off, N2 is the number of PSEs that are powered off, and f(N1) is N1 PSEs that are turned on before the PSE is powered off. The number of ports that the device is normally powered on, f(N1-N2) is the number of ports that the (N1-N2) PSEs that have been turned on after the PSE is powered off can be used for the access device.
  16. 根据权利要求12所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:The control device according to claim 12, wherein the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
    判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目大于或等于预设值,确定出所述需要打开的接入设备的端口包括当前已关闭的所有端口。Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is greater than or equal to a preset value, determining that the port of the access device that needs to be opened includes all currently closed port.
  17. 根据权利要求12所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口:The control device according to claim 12, wherein the power-on and power-off control module is configured to implement a port for determining an access device that needs to be opened in the following manner:
    判断出当前的反向供电模式为友好模式,且检测到PSE上电之后已打开的PSE的数目小于预设值,确定需要打开的接入设备的端口的数目,判断出确定出的需要打开的端口的数目大于零,确定出所述需要打开的接入设备的端口为当前已关断的端口中端口编号最大或最小,或端口优先级最高的n2个端口; Determining that the current reverse power supply mode is the friendly mode, and detecting that the number of PSEs that have been opened after the PSE is powered on is less than a preset value, determining the number of ports of the access device that need to be opened, and determining the determined need to open The number of the ports is greater than zero, and the port of the access device that needs to be opened is the port with the largest or smallest port number or the highest port priority.
    其中,n2为所述确定出的需要打开的端口的数目。Where n2 is the determined number of ports that need to be opened.
  18. 根据权利要求17所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现确定需要打开的接入设备的端口的数目:The control device according to claim 17, wherein the power-on and power-off control module is configured to implement the number of ports determining the access device that needs to be opened in the following manner:
    按照公式n2=f(N3+N4)-f(N3)计算所述需要打开的接入设备的端口;Calculating, according to the formula n2=f(N3+N4)-f(N3), the port of the access device that needs to be opened;
    其中,N3为检测到PSE上电之前已打开的PSE的数目,N4为检测到上电的PSE的数目,f(N3)为检测到PSE上电之前已打开的N3个PSE可以供所述接入设备正常用电的端口数,f(N3+N4)为检测到PSE上电之后已打开的(N3+N4)个PSE可以供所述接入设备正常用电的端口数。N3 is the number of PSEs that have been opened before the PSE is powered on, N4 is the number of PSEs that are detected to be powered on, and f(N3) is N3 PSEs that have been opened before the PSE is powered on. The number of ports that the device is normally powered on, f(N3+N4) is the number of ports that the NN+N4 PSEs that have been turned on after the PSE is powered on can be used for the access device.
  19. 根据权利要求11或12所述的控制设备,其中,所述上下电控制模块是设置为采用以下方式实现关断确定出的需要关断的端口的业务:The control device according to claim 11 or 12, wherein the power-on and power-off control module is configured to implement a service for shutting down the determined port that needs to be turned off in the following manner:
    将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的中央办公室CO侧;Bypassing the determined service of the port that needs to be shut down to the central office CO side of the service of the determined port that needs to be shut down by the external device;
    或者,所述上下电控制模块是设置为采用以下方式实现打开确定出的需要打开的端口的业务:Alternatively, the power-on and power-off control module is configured to implement the service of opening the determined port that needs to be opened in the following manner:
    将所述确定出的需要打开的端口的业务旁路bypass到由所述控制设备进行所述确定出的需要打开的端口的业务的数字用户线DSL侧。The service bypass of the determined port to be opened is bypassed to the digital subscriber line DSL side of the service of the determined port to be opened by the control device.
  20. 根据权利要求19所述的控制设备,其中,所述上下电控制模块包括控制单元和与所述PSE相连的bypass单元;The control device according to claim 19, wherein said power-on and power-off control module comprises a control unit and a bypass unit connected to said PSE;
    其中,控制单元设置为接收到第一通知消息,确定需要关断的接入设备的端口,控制bypass单元将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的CO侧;或者,接收到第二通知消息,确定需要打开的接入设备的端口,控制bypass单元将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端口的业务的DSL侧;The control unit is configured to receive the first notification message, determine the port of the access device that needs to be turned off, and control the bypass unit to bypass the service bypass of the determined port that needs to be shut down to be performed by the external device. Determining the CO side of the service of the port that needs to be shut down; or receiving the second notification message, determining the port of the access device that needs to be opened, and controlling the bypass unit to bypass the service of the determined port that needs to be opened Bypassing to the DSL side of the determined service of the port to be opened by the access device;
    所述bypass单元设置为在所述控制单元的控制下将所述确定出的需要关断的端口的业务旁路bypass到由外部设备进行所述确定出的需要关断的端口的业务的CO侧;或者,在所述控制单元的控制下将所述确定出的需要打开的端口的业务旁路bypass到由所述接入设备进行所述确定出的需要打开的端 口的业务的DSL侧。The bypass unit is configured to bypass the service bypass of the determined port that needs to be shut down under the control of the control unit to the CO side of the service of the determined port that needs to be shut down by an external device Or bypassing the determined service of the port to be opened under the control of the control unit to the determined end to be opened by the access device The DSL side of the mouth of the service.
  21. 根据权利要求20所述的控制设备,其中,所述bypass单元包括:电源分离电路和与所述电源分离电路的业务输出端相连bypass继电器。The control device according to claim 20, wherein said bypass unit comprises: a power supply separation circuit and a bypass relay connected to a service output of said power supply separation circuit.
  22. 一种实现反向供电的系统,包括:A system for implementing reverse power supply, including:
    控制设备,设置为检测到一个或一个以上供电设备PSE下电,确定需要关断的接入设备的端口,关断确定出的需要关断的端口的业务;The control device is configured to detect that one or more power supply devices PSE are powered off, determine a port of the access device that needs to be turned off, and turn off the determined service of the port that needs to be turned off;
    接入设备,设置为关断确定出的需要关断的端口的管理状态。The access device is set to turn off the determined management state of the port that needs to be turned off.
  23. 根据权利要求22所述的系统,所述控制设备还设置为:The system of claim 22, the control device further configured to:
    检测到一个或一个以上所述PSE上电,确定需要打开的接入设备的端口,打开确定出的需要打开的端口的业务;Detecting that one or more of the PSEs are powered on, determining a port of the access device that needs to be opened, and opening a determined service of the port that needs to be opened;
    所述接入设备还设置为:The access device is further configured to:
    打开所述确定出的需要打开的端口的管理状态。 The management state of the determined port that needs to be opened is opened.
PCT/CN2016/086901 2016-01-25 2016-06-23 Reverse power supply method and system and control equipment WO2017128608A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610049965.9A CN106997178A (en) 2016-01-25 2016-01-25 A kind of method and system and control device for realizing reverse power supply
CN201610049965.9 2016-01-25

Publications (1)

Publication Number Publication Date
WO2017128608A1 true WO2017128608A1 (en) 2017-08-03

Family

ID=59397254

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086901 WO2017128608A1 (en) 2016-01-25 2016-06-23 Reverse power supply method and system and control equipment

Country Status (2)

Country Link
CN (1) CN106997178A (en)
WO (1) WO2017128608A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327430B (en) * 2018-12-17 2022-09-23 中兴通讯股份有限公司 Reverse power supply method, device, equipment and storage medium
CN114143121A (en) * 2020-09-04 2022-03-04 华为技术有限公司 POE intermediate equipment and electricity taking method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110128851A1 (en) * 2004-04-28 2011-06-02 Sepehr Mehrabanzad Reverse Link Power Control
CN102655559A (en) * 2011-03-02 2012-09-05 中国电信股份有限公司 MODEM, DSLAM (Digital Subscriber Line Access Multiplexer), ADSL (Asymmetrical Digital Subscriber Loop) equipment and communication method thereof
CN102983982A (en) * 2011-09-05 2013-03-20 中国电信股份有限公司 A method, a system, and a multi-port powered device for equal voltage distribution
CN103051462A (en) * 2013-01-07 2013-04-17 中兴通讯股份有限公司 Power supply method and device of access equipment
CN104467951A (en) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 Optical network unit management method and optical network unit
CN104639338A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Initializing method and device of photoelectric hybrid access equipment
CN105227212A (en) * 2014-06-10 2016-01-06 中兴通讯股份有限公司 Reverse power supply management method, Apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110128851A1 (en) * 2004-04-28 2011-06-02 Sepehr Mehrabanzad Reverse Link Power Control
CN102655559A (en) * 2011-03-02 2012-09-05 中国电信股份有限公司 MODEM, DSLAM (Digital Subscriber Line Access Multiplexer), ADSL (Asymmetrical Digital Subscriber Loop) equipment and communication method thereof
CN102983982A (en) * 2011-09-05 2013-03-20 中国电信股份有限公司 A method, a system, and a multi-port powered device for equal voltage distribution
CN103051462A (en) * 2013-01-07 2013-04-17 中兴通讯股份有限公司 Power supply method and device of access equipment
CN104467951A (en) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 Optical network unit management method and optical network unit
CN104639338A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Initializing method and device of photoelectric hybrid access equipment
CN105227212A (en) * 2014-06-10 2016-01-06 中兴通讯股份有限公司 Reverse power supply management method, Apparatus and system

Also Published As

Publication number Publication date
CN106997178A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
US9152186B2 (en) Notebook computer and cell phone assembly
US8533506B2 (en) System wakeup on wireless network messages
US7571332B2 (en) Reducing power consumed by a computer system during a hibernation or an off state by remotely waking up the computer system
EP3041167B1 (en) Wake-on-link
KR101426774B1 (en) Method and apparatus for monitoring interrupts during a power down event at a processor
GB2512694A (en) Wake on Cloud
US9128891B2 (en) Method, mobile terminal and computer program product for sharing storage device
BR122017025025A2 (en) methods for interaction between a terminal and a network device, terminals, and program
US10057476B2 (en) Image capture apparatus comprising image transmission function
EP3709668A1 (en) Standby mode switching method and device, electronic apparatus, and storage medium
US8484499B2 (en) Applying low power enablement of computing devices to process VoIP phone calls
WO2017128608A1 (en) Reverse power supply method and system and control equipment
CN114123114A (en) Control method and device of bleeder circuit, bleeder device and electronic equipment
CN103973508A (en) Node equipment and method for same entering and exiting energy-saving mode
US7552245B2 (en) Communication card with three operational states
WO2016180241A1 (en) Energy-conservation management method and apparatus for terminal and terminal
WO2016201983A1 (en) Method and device for managing enablement state of optical module
CN102437917A (en) Network wake-up method, network wake-up device and computer
JP2019185771A (en) Method, device for processing data of bluetooth speaker, and bluetooth speaker
US20120300817A1 (en) Systems and methods for powering a network access device using customer premises equipment
CN103888556B (en) A kind of control method of domestic terminal apparatus and domestic terminal apparatus
US20110185199A1 (en) Embedded system and power saving method thereof
CN102594575A (en) System and method of controlling sleep and awakening of server
WO2016141554A1 (en) Self-loop detection method and apparatus for charging device
WO2017023262A1 (en) Controlling power to ports

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16887490

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16887490

Country of ref document: EP

Kind code of ref document: A1