WO2016202081A1 - Method and apparatus for controlling operating state of dpu device - Google Patents

Method and apparatus for controlling operating state of dpu device Download PDF

Info

Publication number
WO2016202081A1
WO2016202081A1 PCT/CN2016/079593 CN2016079593W WO2016202081A1 WO 2016202081 A1 WO2016202081 A1 WO 2016202081A1 CN 2016079593 W CN2016079593 W CN 2016079593W WO 2016202081 A1 WO2016202081 A1 WO 2016202081A1
Authority
WO
WIPO (PCT)
Prior art keywords
power consumption
dpu
power
maximum
service
Prior art date
Application number
PCT/CN2016/079593
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 WO2016202081A1 publication Critical patent/WO2016202081A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Definitions

  • This application relates to, but is not limited to, the field of access communication technologies.
  • Fiber to the Distribute Point (FTTDP) Multi-port Distribute Point Unit (DPU) device is a combination of Passive Optical Network (PON)/Very High Speed Digital Subscriber Line Technology (Very High Speed) Digital Subscriber Line, VDSL2) Miniaturized network communication equipment, which implements the fiber/copper hybrid access transmission conversion, accesses the PON fiber line terminal between the distribution point and the home connected to the user, and in the last segment of the existing
  • the home copper network provides broadband access of up to several hundred megabits based on VDSL2 technology to meet operators' development of broadband services. In its actual deployment, reverse power supply is a must-have feature.
  • Power over Ethernet (POE) technology is used to power DPU devices by using Power Sourcing Equipment (PSE) equipment. To meet the application scenarios of external power supply difficulties.
  • PSE Power Sourcing Equipment
  • the powered device may be partially powered down, causing the device to lose power and service interruption. In some scenarios, the user does not want the device to be powered off, but rather hopes that the DPU device can continue to work through power consumption adjustment.
  • This paper provides a method and device for controlling the working state of a DPU device to achieve normal operation of the DPU device under different power consumption scenarios.
  • a method for controlling the working state of a DPU device includes:
  • the step of generating an instruction for controlling an operating state of the DPU device includes:
  • the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to the service power budget, generating An instruction to turn off part of the user service channel and/or reduce the power of the user interface to meet the service power budget.
  • the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or reducing the user interface transmission power, an instruction to limit the very useful software is generated.
  • the user service configuration power consumption cannot meet the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, generating, to indicate that the DPU device is running in a minimum working power state. instruction.
  • the step of generating an instruction for controlling an operating state of the DPU device includes:
  • a control device for working state of a DPU device comprising:
  • the calculation module is configured to: determine a maximum working power consumption, a minimum working power consumption, and a maximum power consumption of the PSE according to a hardware type and an electrical parameter of the DPU device;
  • a comparison module configured to: compare a maximum power supply of the PSE with a maximum working power consumption and a minimum working power consumption of the DPU device;
  • the processing module is configured to: according to the comparison result, generate an instruction for controlling an operating state of the DPU device, thereby adjusting power consumption of the DPU device.
  • the processing module is configured to: when the maximum power consumption of the PSE is less than a maximum working power consumption of the DPU device and greater than a minimum working power consumption of the DPU, calculate a user service of the DPU device. Configuring power consumption, and calculating a service power budget that the DPU device can provide by using the maximum power of the PSE and the minimum working power of the DPU, and comparing the user service configuration power consumption with the service power budget.
  • the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to the service power budget, generating An instruction to turn off part of the user service channel and/or reduce the power of the user interface to meet the service power budget.
  • the processing module is configured to: if the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, then generating Limit the instructions that are very useful in software.
  • the processing module is configured to: if the user service configuration power consumption cannot meet the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, generating, to indicate the DPU device An instruction that runs in the minimum operating power state.
  • the processing module is configured to: when the maximum power consumption of the PSE is greater than a maximum operating state power consumption of the DPU, generate, to indicate that the DPU device is capable of operating in a state including a maximum operating power consumption state.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment of the invention solves the scenario that the power consumption of the DPU device is simply turned off when the power consumption of the DPU device is insufficient, and the working state of the DPU device is dynamically controlled according to a preset strategy in different power consumption scenarios. Ensure that the DPU device runs normally and improves the user experience.
  • FIG. 1 is a schematic block diagram of a method for controlling an operating state of a DPU device according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a control apparatus for an operating state of a DPU device according to an embodiment of the present invention
  • FIG. 3 is a basic diagram of a DPU device according to an embodiment of the present invention.
  • FIG. 4 is a related to a policy implementation module and a relationship diagram provided by an embodiment of the present invention.
  • FIG. 5 is a flowchart of an application example provided by an embodiment of the present invention.
  • FIG. 1 is a schematic block diagram of a method for controlling an operating state of a DPU device according to an embodiment of the present invention. As shown in FIG. 1 , the steps include:
  • S101 Determine, according to a hardware type and an electrical parameter of the DPU device, a maximum working power consumption and a minimum working power consumption of the DPU device, and a maximum power supply power of the power device PSE.
  • Determining the hardware type of the DPU device determining the hardware type of the system, the type and quantity of the uplink port, the type and number of the user interface, the type and quantity of the powered device, and electrical parameters; determining according to the hardware type of the system The maximum power consumption and the minimum power consumption of the system part; determining the maximum power consumption and the minimum power consumption of the uplink port according to the type and number of the uplink ports; determining the maximum power consumption of the user interface according to the type and number of the user interfaces; Utilizing the maximum power of the system part of the DPU device Calculating the maximum power consumption of the uplink port, the maximum power consumption of the user interface, and calculating the maximum working power consumption of the DPU device; calculating the DPU device by using the minimum power consumption of the system portion of the DPU device and the minimum power consumption of the uplink port The minimum working power consumption is calculated by using the type, quantity, and electrical parameters of the powered device of the DPU device.
  • Step S102 Compare the maximum power supply of the PSE with the maximum working power consumption and the minimum working power consumption of the DPU device.
  • Step S103 Generate an instruction for controlling an operating state of the DPU device according to the comparison result, thereby adjusting power consumption of the DPU device.
  • an instruction is generated to cause the DPU device to operate at minimum working power consumption.
  • the preset critical range is It can be expressed as [-A*B%, A*B%], where 0 ⁇ B ⁇ 5, for example, B can be any one of 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, and 5. That is to say, after the policy is adopted, the user service configuration power consumption is in the range of [-A*B%, A*B%], which limits the use of software.
  • the working state of the DPU device is controlled according to different state power consumption requirements in the reverse power supply mode based on the power over Ethernet technology.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing a control method for the working state of the DPU device.
  • FIG. 2 is a block diagram of a control device for an operating state of a DPU device according to an embodiment of the present invention. As shown in FIG. 2, the computing module 10, the comparison module 20, and the processing module 30 are included. among them:
  • the calculation module 10 is configured to determine a maximum working power consumption and a minimum working power consumption of the DPU device and a maximum power supply power of the power supply device PSE according to a hardware type and an electrical parameter of the DPU device of the distribution point unit.
  • the calculation module 10 is configured to: determine the hardware type of the system, the type and quantity of the uplink port, the type and quantity of the user interface, the type and quantity of the power receiving device, and electrical parameters by detecting the hardware type of the DPU device; Determining a maximum power consumption and a minimum power consumption of the system according to the hardware type of the system; determining a maximum power consumption and a minimum power consumption of the uplink port according to the type and number of the uplink ports; according to the type of the user interface and The maximum power consumption of the user interface is determined by the quantity; the maximum power consumption of the system part of the DPU device, the maximum power consumption of the uplink port, and the maximum power consumption of the user interface are used to calculate the maximum working power consumption of the DPU device; and the DPU
  • the comparison module 20 is configured to compare the maximum power supply of the PSE with the maximum operating power consumption and the minimum operating power consumption of the DPU device.
  • the processing module 30 is configured to: according to the comparison result, generate an instruction for controlling an operating state of the DPU device, thereby adjusting power consumption of the DPU device.
  • the processing module 30 is configured to perform the following processing according to the three comparison results of the comparison module 20: when the maximum power supply power of the PSE is less than the minimum operating state power consumption of the DPU, the generating is used to close the DPU.
  • the instruction of the power receiving part of the device When the maximum power supply of the PSE is greater than the maximum operating state power consumption of the DPU, an instruction is generated to indicate that the DPU device is capable of operating in a plurality of operating states including a maximum operating power consumption state.
  • the processing module 30 When the maximum power supply of the PSE is less than the maximum of the DPU device Calculating user service configuration power consumption of the DPU device when the power consumption is greater than the minimum operating power of the DPU; and calculating the DPU device by using the maximum power of the PSE and the minimum operating power of the DPU
  • the service power consumption budget is provided; the user service configuration power consumption is compared with the service power budget; if the user service configuration power consumption is less than the service power budget, the user service configuration is used to generate the configured An instruction of the user service; if the user service configuration power consumption is greater than or equal to the service power budget, generating an instruction to close part of the user service channel and/or reduce the power of the user interface to meet the service power budget, Further, when the user service configuration power consumption cannot satisfy the service power consumption budget by turning off part of the user service channel and/or reducing the user interface transmission power, the processing module 30 generates an instruction to cause the DPU device to operate at minimum operating power consumption.
  • the user service configuration power consumption is within a predetermined
  • the embodiment of the present invention can pre-configure or file mode the device power consumption estimation in the DPU device, and set the working state policy under different service power consumption budget results; when the device starts to power on, the device hardware is detected. Connection, user interface type/number, PD part voltage/current and other electrical parameters; based on the detection result, the device combines the power consumption estimation in the policy configuration, calculates the device power consumption and PSE power supply capability, and obtains the current service power consumption of the DPU device. The device calculates the service status of the device according to the service power budget result and the policy configuration module, and determines the service opening mode. The device converts the service control command according to the policy control command generated by the above process to complete the device service control operation to meet the requirements. Equipment operating power requirements.
  • the power consumption of the DPU device can be abstracted into three parts, one part is the power consumption of the system part, mainly for the CPU chip, the single board, the driver chip, etc.; the part is the power consumption of the uplink port (the power consumption of the PON interface or the GE interface is different); Power consumption for the user port. In order to ensure the safe operation of the equipment, some power reserve should be reserved.
  • the above data are estimated by the theoretical value and the empirical value weighted, and are preset in the strategy.
  • the device state power consumption estimation used in the embodiment of the present invention mainly records the following data: full power consumption of different types of main control boards and power consumption estimation under minimum working conditions; different types of uplink power consumption and minimum work Power estimation in the state; power consumption estimation under different power consumption and minimum working state of different types of user ports; maximum power supply estimation of different types of PSD; equipment power consumption reserve estimation.
  • the device hardware type detection is performed to determine the model of the main control board, the type/number of uplink interfaces, the type/number of user interfaces, and the type of PSE model/quantity.
  • DPU maximum operating state power consumption ie maximum working power consumption
  • DPU equipment works at full power consumption per part.
  • the maximum power consumption P dpu-max of the DPU device is calculated as the sum of P sys-max , P uplink-max , P port-max and the device power consumption reserve weight; wherein, P dpu-max is The maximum operating power consumption of the DPU device; P sys-max is the maximum power consumption of the DPU device system. It mainly considers the CPU occupancy, the working state of the driver chip, and the power consumption of each device in the device. It can be based on theoretical values and empirical values.
  • P uplink-max is the maximum power consumption of the uplink port, which can be estimated according to the type and quantity of the uplink port and the traffic model
  • P port-max is the maximum power consumption of the user interface, which can be estimated according to the user port type and quantity and traffic model.
  • the DPU minimum working state power consumption (ie, the minimum working power consumption) only ensures that the DPU device CPU works normally, the uplink management channel is normal, and the user interface service is closed.
  • the DPU device minimum operating state power consumption P dpu-min is estimated as the sum of P sys-min and P uplink-min and the device power consumption reserve weight; where P dpu-min is the power consumption of the DPU device in the minimum working state; P sys -min is the minimum power consumption of the DPU equipment system, which can be weighted according to the theoretical value and the empirical value; P uplink-min is the minimum power consumption of the uplink port, which can be estimated according to the type and quantity of the uplink port and the traffic model.
  • the DPU device When the DPU device starts up, it detects the PD type, the number, and the electrical parameters such as the input and output voltage and current of the power receiving part, removes the conversion efficiency and other factors, and calculates the PSE maximum power supply P pse .
  • the analysis of the strategy used mainly includes:
  • Scenario 1 When P pse >P dpu-max , it indicates that the PSE is fully powered, and the service power budget can satisfy the DPU device working in each state.
  • the policy analysis generates policy control instructions and passes them to the service control module through the policy control module.
  • DPU equipment may have power consumption overload, can analyze the working state of DPU equipment, and generate corresponding policy control commands, which are transmitted to the service control through the policy control module. Module to ensure that the device is working properly.
  • the control strategy for the working state of the DPU device in the embodiment of the present invention is: based on the DPU minimum working power consumption P dpu-min and the PSE power supply power P pse as a reference,
  • the service power budget of the DPU device can be compared with the current user interface service configuration power consumption of the DPU device to determine whether the DPU device can work under the current user service configuration power consumption condition. as follows:
  • the user service configuration power consumption does not meet the service power budget, and the service power budget can be satisfied by shutting down part of the user service channel, reducing the port transmission power (reducing the port activation rate), or dynamically combining the two according to the policy. Report the police, the module generates the corresponding policy control instructions.
  • the DPU device runs in the minimum working state (ie, the minimum working power state or the minimum state), does not provide user services, and reports alarms, and the module generates corresponding policy control commands.
  • DPU devices can work normally and provide user services, but the power consumption is in a critical state. For example, the power consumption of the device may be changed due to the running state of the chip such as the CPU. Frequently, the power consumption is out of bounds, causing the device to be in an unsafe working state. DPU devices can reduce the impact of this aspect through software restrictions, such as restricting software functions that are not commonly used but affect CPU occupancy, such as limiting software version upgrades, restricting file upload and download, limiting the number of management logins, and limiting SELT/DELT and other High CPU occupancy to ensure DPU devices work properly.
  • software restrictions such as restricting software functions that are not commonly used but affect CPU occupancy, such as limiting software version upgrades, restricting file upload and download, limiting the number of management logins, and limiting SELT/DELT and other High CPU occupancy to ensure DPU devices work properly.
  • Scenario 3 When P pse ⁇ P dpu-min , the DPU device cannot work in the minimum state, and the PD part needs to be closed. The corresponding command is transmitted to the service control module through the policy control module, and the device stops starting.
  • the embodiment of the present invention can be pre-placed in a DPU device by means of a configuration or a policy file, etc., and the DPU device reads and performs analysis at startup. After the device hardware upgrade or software optimization needs to modify the power consumption estimation and modify the working status definition, the policy file can be updated by local modification or centralized delivery.
  • FIG. 3 is a basic diagram of a DPU device according to an embodiment of the present invention.
  • the DPU device power consumption can be abstracted into the user interface portion 21 The upper port portion 31 and the system portion 41.
  • the power consumption of these parts can be estimated by the theoretical value and the empirical value weighting, and is preset in the DPU device through configuration or policy files as a reference for strategy analysis.
  • FIG. 4 is a schematic diagram of a policy implementation related module and a relationship diagram provided by an embodiment of the present invention. As shown in FIG. 4, a plurality of modules jointly implement the functions of the computing module 10, the comparison module 20, and the processing module 30 shown in FIG. 2.
  • the device power-on detection module 12 detects the system hardware model, the type and number of the uplink port, the type and number of the user port, the PD power-receiving part model, and the electrical parameters such as voltage/current during the power-on process of the DPU device.
  • the policy configuration module 22 includes two parts.
  • the first part is the device power consumption reference value part, and provides the DPU device system, the uplink, and the estimated power consumption of each part of the user.
  • the different models and different interface types have different estimated values; the second part is work.
  • the status policy configuration part provides reference for the device working status policy under different service power budget results.
  • the application scenario is as follows:
  • Scenario 1 The business power budget is sufficient, and the strategy is that the device can work in multiple states;
  • Scenario 2 The service power budget does not meet the maximum working status of the device.
  • the strategy is to reduce the part of the user service channel, reduce the port transmission power (reduce the port activation rate), or dynamically combine the two to meet the service power budget. It can work only in the minimum working state to satisfy the normal management channel. After the adjustment, if the power consumption is in a critical state, it can be fine-tuned by software restrictions, such as limiting some software functions that are not commonly used but will affect the CPU share, such as limiting software version upgrade, limiting file upload and download, limiting the number of management logins, and limiting SELT. Other high CPU share functions such as /DELT to ensure that the DPU device works properly.
  • Scenario 3 The service power budget does not meet the minimum working state of the device, and the strategy is to turn off the PD power receiving part.
  • the power consumption calculation module 32 calculates the maximum operating state power consumption and the minimum working state of the device according to each part of the power consumption estimation value preset by the policy configuration module 22 according to each component of the device detected by the device power-on detection module 12. It consumes PSE power supply capability and derives the current service power budget of the DPU device.
  • the policy analysis module 42 performs the work state policy analysis and outputs the result according to the service power budget result obtained by the power consumption calculation module according to the policy formulated by the policy configuration module.
  • the policy control module 52 generates a policy control command according to the result obtained by the policy analysis module, and converts the service control command to the service control module 62.
  • the service control module 62 executes a service control command sent by the policy control module to perform service control on the DPU device. ;
  • FIG. 5 is a flowchart of an application example provided by an embodiment of the present invention. As shown in FIG. 5, the steps include:
  • Step S100 The first part of the policy configuration module 22 provides a power consumption reference value for each part of the DPU device.
  • Step S200 The second part of the policy configuration module 22 provides the working state policy configuration of the DPU device.
  • Step S201 The device is powered on.
  • Step S202 Read the hardware model of the device, the type and quantity of the uplink port, the type and quantity of the user port, the number, type, and voltage/current electrical parameters of the PD power receiving part.
  • Step S203 The device reads the power consumption reference value of each part of the device provided by the first part of the policy configuration module, calculates the maximum working state power consumption, the minimum working state power consumption, and the PSE power supply capability of the device, and obtains the current service power consumption of the DPU device. budget;
  • Step S204 Perform analysis according to the working state policy configuration provided by the second part of the policy configuration module 22;
  • Step S205 Deriving the result of the strategy analysis, and dividing into three scenarios:
  • Step S226 to step S227 P pse >P dpu-max , indicating that the PSE is fully powered, and the DPU device can work in each state, and the output strategy is analyzed and transferred to the policy control module.
  • Step S206 P dpu-min ⁇ P pse ⁇ P dpu-max , the DPU device service power budget does not meet the maximum working state of the device, and the service power budget that the DPU device can provide is calculated.
  • Step S207 determining whether the service power budget meets the current user service configuration. If the service power budget meets the current user service configuration, the user service is activated according to the current configuration requirement, and the notification is reported, the output policy is analyzed, and the policy control module is transferred to the policy control module. Step S213: If the service power budget does not meet the current user service configuration, step S208 is performed.
  • Step S208 The service power consumption budget does not meet the power consumption of the user service configuration, and according to the policy, the part of the user service channel is closed, the port transmission power is reduced (the port activation rate is lowered), and the alarm is reported.
  • Step S209 It is determined whether the user service configuration power consumption is in a preset critical range of the service power consumption budget after the adopting the policy of step S208, that is, whether the power consumption is in a critical state, for example, in a power consumption critical state, step S210 is performed. If it is not in the critical state, step S213 is performed.
  • Step S210 The software function of the device limitation part is very useful but affects the CPU occupation rate, and is analyzed according to the output policy and transferred to the policy control module.
  • Step S211 Continue to check whether the service power budget meets the user service configuration. If yes, the output policy is analyzed and transferred to the policy control module, and step S213 is performed; if not, step S212 is performed.
  • Step S212 If the policy as described in step S208 is still unable to meet the service power budget requirement, the DPU device runs in a minimum working state, does not provide user service, and reports an alarm, according to the output policy analysis and transferred to the policy control. Module.
  • Step S213 The policy control module generates a policy control instruction according to the result of the policy analysis, and converts it into a service control command.
  • Step S214 The service control module issues a corresponding service control instruction to perform service control on the device.
  • Step S215 End the process.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the working state of the DPU device is controlled in the reverse power supply mode, and the power consumption of the device is adjusted by flexibly formulating the device service opening policy, so that the DPU device satisfies the PSE power supply capability requirement to the maximum extent, and the related technology is simple PD. Partially stop receiving power, equipment power failure and other issues.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a method and apparatus for controlling the operating state of a DPU device. The method comprises: determining, according to a hardware type and an electrical parameter of a distribute point unit (DPU) device, maximum operating power consumption and minimum operating power consumption of the DPU device and a maximum supply power of power sourcing equipment (PSE); comparing the maximum supply power of the PSE with the maximum operating power consumption and the minimum operating power consumption of the DPU device; and generating, according to a result of the comparison, an instruction for controlling the operating state of the DPU device, so that the DPU device keeps operating.

Description

一种DPU设备工作状态的控制方法及装置Method and device for controlling working state of DPU equipment 技术领域Technical field
本申请涉及但不限于接入通信技术领域。This application relates to, but is not limited to, the field of access communication technologies.
背景技术Background technique
光纤到分配点(Fiber to the Distribute Point,FTTDP)多端口分配点单元(Distribute Point Unit,DPU)设备是结合无源光网络(Passive Optical Network,PON)/甚高速数字用户线技术(Very High Speed Digital Subscriber Line,VDSL2)的小型化网络通信设备,实现的功能是光纤/铜线混合接入传输转换,在分发点和连接到用户的住所间接入PON光纤线路终端,并在既有的最后一段入户铜线上基于VDSL2技术提供高达数百兆速率的宽带接入,以满足运营商对宽带业务的发展。在其实际部署中,反向供电是一个必须具备的功能,即通过以太网供电(Power Over Ethernet,POE)技术,利用用户住所的供电设备(Power Sourcing Equipment,PSE)设备,为DPU设备供电,以满足外接电源困难的应用场景。Fiber to the Distribute Point (FTTDP) Multi-port Distribute Point Unit (DPU) device is a combination of Passive Optical Network (PON)/Very High Speed Digital Subscriber Line Technology (Very High Speed) Digital Subscriber Line, VDSL2) Miniaturized network communication equipment, which implements the fiber/copper hybrid access transmission conversion, accesses the PON fiber line terminal between the distribution point and the home connected to the user, and in the last segment of the existing The home copper network provides broadband access of up to several hundred megabits based on VDSL2 technology to meet operators' development of broadband services. In its actual deployment, reverse power supply is a must-have feature. Power over Ethernet (POE) technology is used to power DPU devices by using Power Sourcing Equipment (PSE) equipment. To meet the application scenarios of external power supply difficulties.
由于PSE供电功率限制,且DPU设备在不同工作状态下所需功耗均有差别。当DPU功耗超过PSE供电能力时,可能会引起受电设备(Powered Device,PD)部分停止受电,导致设备掉电,业务中断。有些情景下,用户不希望设备简单断电处理,而是希望能够通过功耗调整使DPU设备继续工作。Due to the PSE power supply limitation, and the power consumption of the DPU device under different operating conditions are different. When the power consumption of the DPU exceeds the PSE power supply capability, the powered device (PD) may be partially powered down, causing the device to lose power and service interruption. In some scenarios, the user does not want the device to be powered off, but rather hopes that the DPU device can continue to work through power consumption adjustment.
发明内容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.
本文提供一种DPU设备工作状态的控制方法及装置,以实现DPU设备在不同的功耗情景下保持正常运行。This paper provides a method and device for controlling the working state of a DPU device to achieve normal operation of the DPU device under different power consumption scenarios.
一种DPU设备工作状态的控制方法,包括: A method for controlling the working state of a DPU device includes:
根据DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、PSE的最大供电功率;Determining a maximum working power consumption and a minimum working power consumption of the DPU device and a maximum power consumption of the PSE according to a hardware type and an electrical parameter of the DPU device;
将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较;Comparing a maximum power supply of the PSE with a maximum operating power consumption and a minimum operating power consumption of the DPU device;
根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。According to the comparison result, an instruction for controlling the working state of the DPU device is generated, thereby adjusting power consumption of the DPU device.
可选地,所述生成用来控制所述DPU设备工作状态的指令的步骤包括:Optionally, the step of generating an instruction for controlling an operating state of the DPU device includes:
当所述PSE的最大供电功率小于所述DPU设备的最大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗;Calculating user service configuration power consumption of the DPU device when a maximum power consumption of the PSE is less than a maximum working power consumption of the DPU device and greater than a minimum working power consumption of the DPU;
利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算;Calculating a service power budget that the DPU device can provide by using a maximum power of the PSE and a minimum operating power of the DPU;
将所述用户业务配置功耗与业务功耗预算进行比较;Comparing the user service configuration power consumption with the service power budget;
若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算。If the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to the service power budget, generating An instruction to turn off part of the user service channel and/or reduce the power of the user interface to meet the service power budget.
可选地,若通过关闭部分用户业务通道和/或降低用户接口发送功率使用户业务配置功耗处于业务功耗预算的预设临界范围内,则生成用来限制非常用软件的指令。Optionally, if the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or reducing the user interface transmission power, an instruction to limit the very useful software is generated.
可选地,若通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功耗满足业务功耗预算,则生成用来指示所述DPU设备运行于最小工作功耗状态的指令。Optionally, if the user service configuration power consumption cannot meet the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, generating, to indicate that the DPU device is running in a minimum working power state. instruction.
可选地,所述生成用来控制所述DPU设备工作状态的指令的步骤包括:Optionally, the step of generating an instruction for controlling an operating state of the DPU device includes:
当所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的多种工作状态的指令; Generating an instruction to indicate that the DPU device is capable of operating in a plurality of operating states including a maximum working power consumption state when a maximum power consumption of the PSE is greater than a maximum operating state power consumption of the DPU;
当所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电部分的指令。When the maximum power supply of the PSE is less than the minimum operating state power consumption of the DPU, an instruction to close the power receiving portion of the DPU device is generated.
一种DPU设备工作状态的控制装置,包括:A control device for working state of a DPU device, comprising:
计算模块,设置为:根据DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、PSE的最大供电功率;The calculation module is configured to: determine a maximum working power consumption, a minimum working power consumption, and a maximum power consumption of the PSE according to a hardware type and an electrical parameter of the DPU device;
比较模块,设置为:将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较;a comparison module, configured to: compare a maximum power supply of the PSE with a maximum working power consumption and a minimum working power consumption of the DPU device;
处理模块,设置为:根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。The processing module is configured to: according to the comparison result, generate an instruction for controlling an operating state of the DPU device, thereby adjusting power consumption of the DPU device.
可选地,所述处理模块是设置为:在所述PSE的最大供电功率小于所述DPU设备的最大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗,并利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算,将所述用户业务配置功耗与业务功耗预算进行比较,若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算。Optionally, the processing module is configured to: when the maximum power consumption of the PSE is less than a maximum working power consumption of the DPU device and greater than a minimum working power consumption of the DPU, calculate a user service of the DPU device. Configuring power consumption, and calculating a service power budget that the DPU device can provide by using the maximum power of the PSE and the minimum working power of the DPU, and comparing the user service configuration power consumption with the service power budget. If the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to the service power budget, generating An instruction to turn off part of the user service channel and/or reduce the power of the user interface to meet the service power budget.
可选地,所述处理模块是设置为:若通过关闭部分用户业务通道和/或降低用户接口发送功率使用户业务配置功耗处于业务功耗预算的预设临界范围内,则在生成用来限制非常用软件的指令。Optionally, the processing module is configured to: if the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, then generating Limit the instructions that are very useful in software.
可选地,所述处理模块是设置为:若通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功耗满足业务功耗预算,则生成用来指示所述DPU设备运行于最小工作功耗状态的指令。Optionally, the processing module is configured to: if the user service configuration power consumption cannot meet the service power budget by turning off part of the user service channel and/or reducing the user interface sending power, generating, to indicate the DPU device An instruction that runs in the minimum operating power state.
可选地,所述处理模块是设置为:在所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的每种工作状态的指令,在所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电 部分的指令。Optionally, the processing module is configured to: when the maximum power consumption of the PSE is greater than a maximum operating state power consumption of the DPU, generate, to indicate that the DPU device is capable of operating in a state including a maximum operating power consumption state. The instruction of each working state within the generated power generation for turning off the DPU device when the maximum power supply of the PSE is less than the minimum operating state power consumption of the DPU Part of the instructions.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例解决了DPU设备功耗不足时简单的关闭受电,设备断电的情景,而是根据预置的策略,在不同的功耗情景下,对DPU设备的工作状态进行动态控制,保证DPU设备正常运行,改善用户体验效果。The embodiment of the invention solves the scenario that the power consumption of the DPU device is simply turned off when the power consumption of the DPU device is insufficient, and the working state of the DPU device is dynamically controlled according to a preset strategy in different power consumption scenarios. Ensure that the DPU device runs normally and improves the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例提供的DPU设备工作状态的控制方法原理框图;1 is a schematic block diagram of a method for controlling an operating state of a DPU device according to an embodiment of the present invention;
图2是本发明实施例提供的DPU设备工作状态的控制装置框图;2 is a block diagram of a control apparatus for an operating state of a DPU device according to an embodiment of the present invention;
图3是本发明实施例提供的DPU设备基本组成部分图;3 is a basic diagram of a DPU device according to an embodiment of the present invention;
图4是本发明实施例提供的策略实施相关模块与关系图;FIG. 4 is a related to a policy implementation module and a relationship diagram provided by an embodiment of the present invention; FIG.
图5是本发明实施例提供的应用实例流程图。FIG. 5 is a flowchart of an application example provided by an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图对本发明的实施例进行详细说明。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的DPU设备工作状态的控制方法原理框图,如图1所示,步骤包括:FIG. 1 is a schematic block diagram of a method for controlling an operating state of a DPU device according to an embodiment of the present invention. As shown in FIG. 1 , the steps include:
S101:根据DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、供电设备PSE的最大供电功率。S101: Determine, according to a hardware type and an electrical parameter of the DPU device, a maximum working power consumption and a minimum working power consumption of the DPU device, and a maximum power supply power of the power device PSE.
通过检测所述DPU设备的硬件类型,确定系统部分硬件类型、上联口的类型和数量、用户接口的类型和数量、受电设备类型和数量及电气参数;根据所述系统部分硬件类型,确定系统部分最大功耗和最小功耗;根据所述上联口的类型和数量,确定上联口最大功耗和最小功耗;根据所述用户接口的类型和数量,确定用户接口最大功耗;利用所述DPU设备的系统部分最大功 耗、上联口最大功耗、用户接口最大功耗,计算所述DPU设备的最大工作功耗;利用所述DPU设备的系统部分最小功耗、上联口最小功耗,计算所述DPU设备的最小工作功耗,利用所述DPU设备的受电设备类型、数量、电气参数,计算所述PSE的最大供电功率。Determining the hardware type of the DPU device, determining the hardware type of the system, the type and quantity of the uplink port, the type and number of the user interface, the type and quantity of the powered device, and electrical parameters; determining according to the hardware type of the system The maximum power consumption and the minimum power consumption of the system part; determining the maximum power consumption and the minimum power consumption of the uplink port according to the type and number of the uplink ports; determining the maximum power consumption of the user interface according to the type and number of the user interfaces; Utilizing the maximum power of the system part of the DPU device Calculating the maximum power consumption of the uplink port, the maximum power consumption of the user interface, and calculating the maximum working power consumption of the DPU device; calculating the DPU device by using the minimum power consumption of the system portion of the DPU device and the minimum power consumption of the uplink port The minimum working power consumption is calculated by using the type, quantity, and electrical parameters of the powered device of the DPU device.
步骤S102:将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较。Step S102: Compare the maximum power supply of the PSE with the maximum working power consumption and the minimum working power consumption of the DPU device.
步骤S103:根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。Step S103: Generate an instruction for controlling an operating state of the DPU device according to the comparison result, thereby adjusting power consumption of the DPU device.
分为以下三种情况:Divided into the following three cases:
当所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电部分的指令。When the maximum power supply of the PSE is less than the minimum operating state power consumption of the DPU, an instruction to close the power receiving portion of the DPU device is generated.
当所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的多种工作状态的指令。When the maximum power supply of the PSE is greater than the maximum operating state power consumption of the DPU, an instruction is generated to indicate that the DPU device is capable of operating in a plurality of operating states including a maximum operating power consumption state.
当所述PSE的最大供电功率小于所述DPU设备的最大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗;利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算;将所述用户业务配置功耗与业务功耗预算进行比较;若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算。Calculating user service configuration power consumption of the DPU device when the maximum power consumption of the PSE is less than a maximum operating power consumption of the DPU device and greater than a minimum operating power consumption of the DPU; and utilizing a maximum power supply of the PSE Calculating a service power budget that the DPU device can provide, and calculating a service power consumption of the user service compared with a service power budget; if the user service configuration power consumption is less than a service power budget And generating, according to the user service configuration, an instruction for opening the configured user service; if the user service configuration power consumption is greater than or equal to the service power budget, generating a part of the user service channel and/or reducing the user interface An instruction to transmit power to meet the service power budget.
进一步地,当通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功率满足业务功耗预算时,生成使DPU设备运行于最小工作功耗的指令。Further, when the user service configuration power cannot satisfy the service power consumption budget by turning off part of the user service channel and/or reducing the user interface transmission power, an instruction is generated to cause the DPU device to operate at minimum working power consumption.
进一步地,当通过关闭部分用户业务通道和/或降低用户接口发送功率能够使用户业务配置功耗处于业务功耗预算的预设临界范围内时,生成用来限制非常用软件的指令。进一步地,假设业务功耗预算为A,则预设临界范围 可以表示为[-A*B%,A*B%],其中,0<B≤5,例如B可以是1、1.5、2、2.5、3、3.5、4、4.5、5中的任意一个。也就是说,采取策略后,用户业务配置功耗处于[-A*B%,A*B%]范围内,则限制非常用软件。Further, when the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or lowering the user interface transmission power, an instruction to limit the very useful software is generated. Further, if the service power budget is A, the preset critical range is It can be expressed as [-A*B%, A*B%], where 0<B≤5, for example, B can be any one of 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, and 5. That is to say, after the policy is adopted, the user service configuration power consumption is in the range of [-A*B%, A*B%], which limits the use of software.
本发明实施例在基于以太网供电技术反向供电模式下根据不同状态功耗要求对DPU设备工作状态进行控制。In the embodiment of the present invention, the working state of the DPU device is controlled according to different state power consumption requirements in the reverse power supply mode based on the power over Ethernet technology.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述DPU设备工作状态的控制方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing a control method for the working state of the DPU device.
图2是本发明实施例提供的DPU设备工作状态的控制装置框图,如图2所示,包括计算模块10、比较模块20和处理模块30。其中:2 is a block diagram of a control device for an operating state of a DPU device according to an embodiment of the present invention. As shown in FIG. 2, the computing module 10, the comparison module 20, and the processing module 30 are included. among them:
计算模块10设置为:根据分配点单元DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、供电设备PSE的最大供电功率。其中,计算模块10是设置为:通过检测所述DPU设备的硬件类型,确定系统部分硬件类型、上联口的类型和数量、用户接口的类型和数量、受电设备类型和数量及电气参数;根据所述系统部分硬件类型,确定系统部分最大功耗和最小功耗;根据所述上联口的类型和数量,确定上联口最大功耗和最小功耗;根据所述用户接口的类型和数量,确定用户接口最大功耗;利用所述DPU设备的系统部分最大功耗、上联口最大功耗、用户接口最大功耗,计算所述DPU设备的最大工作功耗;利用所述DPU设备的系统部分最小功耗、上联口最小功耗,计算所述DPU设备的最小工作功耗,利用所述DPU设备的受电设备类型、数量、电气参数,计算所述PSE的最大供电功率。The calculation module 10 is configured to determine a maximum working power consumption and a minimum working power consumption of the DPU device and a maximum power supply power of the power supply device PSE according to a hardware type and an electrical parameter of the DPU device of the distribution point unit. The calculation module 10 is configured to: determine the hardware type of the system, the type and quantity of the uplink port, the type and quantity of the user interface, the type and quantity of the power receiving device, and electrical parameters by detecting the hardware type of the DPU device; Determining a maximum power consumption and a minimum power consumption of the system according to the hardware type of the system; determining a maximum power consumption and a minimum power consumption of the uplink port according to the type and number of the uplink ports; according to the type of the user interface and The maximum power consumption of the user interface is determined by the quantity; the maximum power consumption of the system part of the DPU device, the maximum power consumption of the uplink port, and the maximum power consumption of the user interface are used to calculate the maximum working power consumption of the DPU device; and the DPU device is utilized. The minimum power consumption of the system part, the minimum power consumption of the uplink port, the minimum working power consumption of the DPU device, and the maximum power supply of the PSE are calculated by using the type, quantity, and electrical parameters of the power receiving device of the DPU device.
比较模块20设置为:将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较。The comparison module 20 is configured to compare the maximum power supply of the PSE with the maximum operating power consumption and the minimum operating power consumption of the DPU device.
处理模块30设置为:根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。其中,处理模块30是设置为:根据比较模块20的三种比较结果分别进行以下处理:当所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电部分的指令。当所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的多种工作状态的指令。当所述PSE的最大供电功率小于所述DPU设备的最 大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗;利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算;将所述用户业务配置功耗与业务功耗预算进行比较;若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算,进一步地,当通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功耗满足业务功耗预算时,处理模块30生成使DPU设备运行于最小工作功耗的指令。当通过关闭部分用户业务通道和/或降低用户接口发送功率使用户业务配置功耗处于业务功耗预算的预设临界范围内时,处理模块30生成用来限制非常用软件的指令。The processing module 30 is configured to: according to the comparison result, generate an instruction for controlling an operating state of the DPU device, thereby adjusting power consumption of the DPU device. The processing module 30 is configured to perform the following processing according to the three comparison results of the comparison module 20: when the maximum power supply power of the PSE is less than the minimum operating state power consumption of the DPU, the generating is used to close the DPU. The instruction of the power receiving part of the device. When the maximum power supply of the PSE is greater than the maximum operating state power consumption of the DPU, an instruction is generated to indicate that the DPU device is capable of operating in a plurality of operating states including a maximum operating power consumption state. When the maximum power supply of the PSE is less than the maximum of the DPU device Calculating user service configuration power consumption of the DPU device when the power consumption is greater than the minimum operating power of the DPU; and calculating the DPU device by using the maximum power of the PSE and the minimum operating power of the DPU The service power consumption budget is provided; the user service configuration power consumption is compared with the service power budget; if the user service configuration power consumption is less than the service power budget, the user service configuration is used to generate the configured An instruction of the user service; if the user service configuration power consumption is greater than or equal to the service power budget, generating an instruction to close part of the user service channel and/or reduce the power of the user interface to meet the service power budget, Further, when the user service configuration power consumption cannot satisfy the service power consumption budget by turning off part of the user service channel and/or reducing the user interface transmission power, the processing module 30 generates an instruction to cause the DPU device to operate at minimum operating power consumption. When the user service configuration power consumption is within a predetermined critical range of the service power budget by turning off portions of the user traffic channel and/or reducing the user interface transmit power, the processing module 30 generates instructions to limit the very useful software.
综上所述,本发明实施例可以在DPU设备中预先配置或文件方式记录设备功耗估算,并设定不同业务功耗预算结果下的工作状态策略;设备启动上电时检测设备硬件、上联、用户接口类型/数量,PD部分电压/电流等电气参数;设备根据检测结果,结合策略配置中的功耗估算,计算设备工作功耗及PSE供电能力,并得出DPU设备当前业务功耗预算;设备根据业务功耗预算结果,结合策略配置模块进行设备的工作状态分析,决定业务开通方式;设备根据以上过程生成的策略控制指令,转化为业务控制指令,完成设备业务控制操作,以满足设备工作功耗要求。In summary, the embodiment of the present invention can pre-configure or file mode the device power consumption estimation in the DPU device, and set the working state policy under different service power consumption budget results; when the device starts to power on, the device hardware is detected. Connection, user interface type/number, PD part voltage/current and other electrical parameters; based on the detection result, the device combines the power consumption estimation in the policy configuration, calculates the device power consumption and PSE power supply capability, and obtains the current service power consumption of the DPU device. The device calculates the service status of the device according to the service power budget result and the policy configuration module, and determines the service opening mode. The device converts the service control command according to the policy control command generated by the above process to complete the device service control operation to meet the requirements. Equipment operating power requirements.
在反向供电模式下,DPU设备工作状态的控制方法的技术实现如下:In the reverse power supply mode, the technical implementation of the DPU device operating state control method is as follows:
1.策略配置中对DPU设备功耗值及供电功率进行估算。1. In the policy configuration, estimate the power consumption value and power supply of the DPU device.
DPU设备功耗的使用可抽象为三部分,一部分为系统部分功耗,主要为CPU芯片、单板、驱动芯片等;一部分为上联口功耗(PON接口或GE接口功耗不同);一部分为用户口功耗。为确保设备安全工作,还应留有部分功耗预留。以上几部分数据均以理论值及经验值加权的方式进行估算,预置于策略中。The power consumption of the DPU device can be abstracted into three parts, one part is the power consumption of the system part, mainly for the CPU chip, the single board, the driver chip, etc.; the part is the power consumption of the uplink port (the power consumption of the PON interface or the GE interface is different); Power consumption for the user port. In order to ensure the safe operation of the equipment, some power reserve should be reserved. The above data are estimated by the theoretical value and the empirical value weighted, and are preset in the strategy.
本发明实施例所使用的设备状态功耗估算主要记录以下数据:不同类型主控板满功耗及最小工作状态下功耗估算;不同类型上联口满功耗及最小工 作状态下功耗估算;不同类型用户口满功耗及最小工作状态下功耗估算;不同类型PSD最大供电功率估算;设备安全工作功耗预留估算。The device state power consumption estimation used in the embodiment of the present invention mainly records the following data: full power consumption of different types of main control boards and power consumption estimation under minimum working conditions; different types of uplink power consumption and minimum work Power estimation in the state; power consumption estimation under different power consumption and minimum working state of different types of user ports; maximum power supply estimation of different types of PSD; equipment power consumption reserve estimation.
2.DPU设备启动过程中不同工作状态功耗估算。2. Estimation of power consumption of different working states during DPU device startup.
设备上电启动过程中,先进行设备硬件类型检测,确定主控板型号、上联接口类型/数量、用户接口类型/数量,PSE型号/数量等设备形态,进行设备不同工作状态功耗估算。During the startup of the device, the device hardware type detection is performed to determine the model of the main control board, the type/number of uplink interfaces, the type/number of user interfaces, and the type of PSE model/quantity.
本发明实施例所使用的不同工作状态功耗估算主要包括以下内容:The power consumption estimation of different working states used in the embodiments of the present invention mainly includes the following contents:
1)DPU最大工作状态功耗(即最大工作功耗),DPU设备每部分全功耗工作。1) DPU maximum operating state power consumption (ie maximum working power consumption), DPU equipment works at full power consumption per part.
通过参考策略中的估算值,计算DPU设备最大功耗Pdpu-max为Psys-max、Puplink-max、Pport-max以及设备功耗预留加权之和;其中,Pdpu-max为DPU设备最大工作状态功耗;Psys-max为DPU设备系统部分工作时最大功耗,主要考虑CPU占有率、驱动芯片工作状态,设备每个单板功耗等,可根据理论值及经验值加权估算;Puplink-max为上联口最大功耗,可根据上联口类型和数量及流量模型估算;Pport-max为用户接口最大功耗,可根据用户口类型和数量及流量模型估算。By calculating the estimated value in the strategy, the maximum power consumption P dpu-max of the DPU device is calculated as the sum of P sys-max , P uplink-max , P port-max and the device power consumption reserve weight; wherein, P dpu-max is The maximum operating power consumption of the DPU device; P sys-max is the maximum power consumption of the DPU device system. It mainly considers the CPU occupancy, the working state of the driver chip, and the power consumption of each device in the device. It can be based on theoretical values and empirical values. Weighted estimation; P uplink-max is the maximum power consumption of the uplink port, which can be estimated according to the type and quantity of the uplink port and the traffic model; P port-max is the maximum power consumption of the user interface, which can be estimated according to the user port type and quantity and traffic model. .
2)DPU最小工作状态功耗(即最小工作功耗),仅保证DPU设备CPU工作正常,上联管理通道正常,用户接口业务关闭。2) The DPU minimum working state power consumption (ie, the minimum working power consumption) only ensures that the DPU device CPU works normally, the uplink management channel is normal, and the user interface service is closed.
DPU设备最小工作状态功耗Pdpu-min估算为Psys-min和Puplink-min以及设备功耗预留加权之和;其中,Pdpu-min为DPU设备最小工作状态时功耗;Psys-min为DPU设备系统部分最小功耗,可根据理论值及经验值加权估算;Puplink-min为上联口最小功耗,可根据上联口类型和数量及流量模型估算。The DPU device minimum operating state power consumption P dpu-min is estimated as the sum of P sys-min and P uplink-min and the device power consumption reserve weight; where P dpu-min is the power consumption of the DPU device in the minimum working state; P sys -min is the minimum power consumption of the DPU equipment system, which can be weighted according to the theoretical value and the empirical value; P uplink-min is the minimum power consumption of the uplink port, which can be estimated according to the type and quantity of the uplink port and the traffic model.
3)PSE供电能力计算。3) PSE power supply capacity calculation.
DPU设备启动时检测PD类型、数量及受电部分输入输出电压、电流等电气参数,去除转换效率等因素,计算PSE最大供电功率PpseWhen the DPU device starts up, it detects the PD type, the number, and the electrical parameters such as the input and output voltage and current of the power receiving part, removes the conversion efficiency and other factors, and calculates the PSE maximum power supply P pse .
3.根据Ppse以及DPU设备当前Pdpu-max及Pdpu-min估算的对比,计算出DPU设备可提供的业务功耗预算,进行工作状态策略分析,并根据结果生成策略控制指令,并传递给业务控制模块。 3. According to the comparison between P pse and the current P dpu-max and P dpu-min estimation of the DPU device, calculate the service power budget that the DPU device can provide, analyze the working state strategy, and generate policy control commands according to the result, and transmit Give the business control module.
所使用的策略分析内容主要包括:The analysis of the strategy used mainly includes:
情景1:当Ppse>Pdpu-max时,说明PSE供电充足,业务功耗预算可满足DPU设备工作在每种状态。策略分析生成策略控制指令,并通过策略控制模块传递给业务控制模块。Scenario 1: When P pse >P dpu-max , it indicates that the PSE is fully powered, and the service power budget can satisfy the DPU device working in each state. The policy analysis generates policy control instructions and passes them to the service control module through the policy control module.
情景2:Pdpu-min<Ppse<Pdpu-max,DPU设备可能出现功耗过载,可通过对DPU设备工作状态进行策略分析,并生成相应策略控制指令,通过策略控制模块传递至业务控制模块,以确保设备工作正常。Scenario 2: P dpu-min <P pse <P dpu-max , DPU equipment may have power consumption overload, can analyze the working state of DPU equipment, and generate corresponding policy control commands, which are transmitted to the service control through the policy control module. Module to ensure that the device is working properly.
针对Pdpu-min<Ppse<Pdpu-max情景,本发明实施例对DPU设备工作状态的控制策略为:以DPU最小工作功耗Pdpu-min和PSE供电功率Ppse为基准,计算出DPU设备可提供的业务功耗预算,并同DPU设备当前用户接口业务配置功耗对比,用以判断DPU设备能否在当前用户业务配置功耗条件下工作。如下:For the P dpu-min <P pse <P dpu-max scenario, the control strategy for the working state of the DPU device in the embodiment of the present invention is: based on the DPU minimum working power consumption P dpu-min and the PSE power supply power P pse as a reference, The service power budget of the DPU device can be compared with the current user interface service configuration power consumption of the DPU device to determine whether the DPU device can work under the current user service configuration power consumption condition. as follows:
1)用户业务配置功耗满足业务功耗预算,说明设备功耗充分,可按配置要求开通用户业务,并上报通知,模块生成相应策略控制指令。1) The user service configuration power consumption meets the service power budget, indicating that the device has sufficient power consumption, and the user service can be opened according to the configuration requirements, and the notification is reported, and the module generates corresponding policy control commands.
2)用户业务配置功耗不满足业务功耗预算,可根据策略采取关闭部分用户业务通道、降低端口发送功率(降低端口激活速率)或两者动态结合使用等方式满足业务功耗预算,并上报告警,模块生成相应策略控制指令。2) The user service configuration power consumption does not meet the service power budget, and the service power budget can be satisfied by shutting down part of the user service channel, reducing the port transmission power (reducing the port activation rate), or dynamically combining the two according to the policy. Report the police, the module generates the corresponding policy control instructions.
3)采取策略仍然无法满足业务功耗预算要求,则DPU设备运行在最小工作状态(即最小工作功耗状态或最小状态),不提供用户业务,并上报告警,模块生成相应策略控制指令。3) If the strategy still fails to meet the service power budget requirements, the DPU device runs in the minimum working state (ie, the minimum working power state or the minimum state), does not provide user services, and reports alarms, and the module generates corresponding policy control commands.
4)极端情景下,如单PSE供电时,完成上述工作状态策略控制后,DPU设备可正常工作并提供用户业务,但功耗处于临界状态,如设备功耗可能因CPU等芯片运行状态变化而频繁引发功耗越界,导致设备处于非安全工作状态。DPU设备可通过软件限制等方式降低该方面影响,如限制部分不常用但会影响CPU占有率的软件功能,如限制软件版本升级,限制文件上传下载,限制管理登录数量,限制SELT/DELT等其他高CPU占有率功能,以保证DPU设备正常工作。4) In an extreme scenario, if the single PSE is powered, after the above working state policy control is completed, the DPU device can work normally and provide user services, but the power consumption is in a critical state. For example, the power consumption of the device may be changed due to the running state of the chip such as the CPU. Frequently, the power consumption is out of bounds, causing the device to be in an unsafe working state. DPU devices can reduce the impact of this aspect through software restrictions, such as restricting software functions that are not commonly used but affect CPU occupancy, such as limiting software version upgrades, restricting file upload and download, limiting the number of management logins, and limiting SELT/DELT and other High CPU occupancy to ensure DPU devices work properly.
情景3:Ppse<Pdpu-min时,DPU设备无法工作在最小状态,需关闭PD部分,相应指令通过策略控制模块传递至业务控制模块,设备停止启动。 Scenario 3: When P pse <P dpu-min , the DPU device cannot work in the minimum state, and the PD part needs to be closed. The corresponding command is transmitted to the service control module through the policy control module, and the device stops starting.
4.本发明实施例可通过配置或策略文件等方式预先置于DPU设备中,DPU设备在启动时进行读取并实施分析。后续由于设备硬件升级或软件优化需要修改功耗估算以及修改工作状态定义时,可通过本地修改或集中下发的方式更新策略文件。4. The embodiment of the present invention can be pre-placed in a DPU device by means of a configuration or a policy file, etc., and the DPU device reads and performs analysis at startup. After the device hardware upgrade or software optimization needs to modify the power consumption estimation and modify the working status definition, the policy file can be updated by local modification or centralized delivery.
下面结合图3至图5所示的实施例进行进一步说明。Further explanation will be given below with reference to the embodiments shown in FIGS. 3 to 5.
图3是本发明实施例提供的DPU设备基本组成部分图,如图3所示,除外部PSE供电设备100及DPU受电模块PD部分11外,DPU设备功耗使用可抽象为用户接口部分21、上联口部分31、系统部分41。这些部分的功耗可通过理论值及经验值加权的方式进行估算,通过配置或策略文件预置于DPU设备中,作为策略分析的参考依据。3 is a basic diagram of a DPU device according to an embodiment of the present invention. As shown in FIG. 3, in addition to the external PSE power supply device 100 and the DPU power receiving module PD portion 11, the DPU device power consumption can be abstracted into the user interface portion 21 The upper port portion 31 and the system portion 41. The power consumption of these parts can be estimated by the theoretical value and the empirical value weighting, and is preset in the DPU device through configuration or policy files as a reference for strategy analysis.
图4是本发明实施例提供的策略实施相关模块与关系图,如图4所示,多个模块共同实现图2所示的计算模块10、比较模块20和处理模块30的功能。FIG. 4 is a schematic diagram of a policy implementation related module and a relationship diagram provided by an embodiment of the present invention. As shown in FIG. 4, a plurality of modules jointly implement the functions of the computing module 10, the comparison module 20, and the processing module 30 shown in FIG. 2.
设备上电检测模块12在DPU设备上电过程中检测系统硬件型号,上联口类型及数量,用户口类型及数量,PD受电部分型号及电压/电流等电气参数。The device power-on detection module 12 detects the system hardware model, the type and number of the uplink port, the type and number of the user port, the PD power-receiving part model, and the electrical parameters such as voltage/current during the power-on process of the DPU device.
策略配置模块22包括两部分,第一部分是设备功耗参考值部分,提供DPU设备系统、上联、用户每个部分功耗估算值,不同型号,不同接口类型估算值不同;第二部分是工作状态策略配置部分,提供不同业务功耗预算结果下的设备工作状态策略制定参考。应用情景如下:The policy configuration module 22 includes two parts. The first part is the device power consumption reference value part, and provides the DPU device system, the uplink, and the estimated power consumption of each part of the user. The different models and different interface types have different estimated values; the second part is work. The status policy configuration part provides reference for the device working status policy under different service power budget results. The application scenario is as follows:
情景1:业务功耗预算充足,策略为设备可工作在多种状态;Scenario 1: The business power budget is sufficient, and the strategy is that the device can work in multiple states;
情景2:业务功耗预算不满足设备最大工作状态,策略为设备需采取关闭部分用户业务通道、降低端口发送功率(降低端口激活速率)或两者动态结合使用等方式满足业务功耗预算;也可仅工作在最小工作状态满足管理通道正常。调整后如功耗处于临界状态,可通过软件限制等方式微调,如限制不常用但会影响CPU占有率的部分软件功能,如限制软件版本升级,限制文件上传下载,限制管理登录数量,限制SELT/DELT等其他高CPU占有率功能,以保证DPU设备正常工作。 Scenario 2: The service power budget does not meet the maximum working status of the device. The strategy is to reduce the part of the user service channel, reduce the port transmission power (reduce the port activation rate), or dynamically combine the two to meet the service power budget. It can work only in the minimum working state to satisfy the normal management channel. After the adjustment, if the power consumption is in a critical state, it can be fine-tuned by software restrictions, such as limiting some software functions that are not commonly used but will affect the CPU share, such as limiting software version upgrade, limiting file upload and download, limiting the number of management logins, and limiting SELT. Other high CPU share functions such as /DELT to ensure that the DPU device works properly.
情景3:业务功耗预算不满足设备最小工作状态,策略为关闭PD受电部分。Scenario 3: The service power budget does not meet the minimum working state of the device, and the strategy is to turn off the PD power receiving part.
功耗计算模块32,根据设备上电检测模块12检测到的设备每个部分组成,参考策略配置模块22预置的每个部分功耗估算值,计算设备最大工作状态功耗、最小工作状态功耗及PSE供电能力,并得出DPU设备当前业务功耗预算。The power consumption calculation module 32 calculates the maximum operating state power consumption and the minimum working state of the device according to each part of the power consumption estimation value preset by the policy configuration module 22 according to each component of the device detected by the device power-on detection module 12. It consumes PSE power supply capability and derives the current service power budget of the DPU device.
策略分析模块42,根据功耗计算模块得出的业务功耗预算结果,按照策略配置模块制定的策略,进行工作状态策略分析并输出结果。The policy analysis module 42 performs the work state policy analysis and outputs the result according to the service power budget result obtained by the power consumption calculation module according to the policy formulated by the policy configuration module.
策略控制模块52,根据策略分析模块得出的结果,生成策略控制指令,并转化为业务控制命令输出给业务控制模块62。The policy control module 52 generates a policy control command according to the result obtained by the policy analysis module, and converts the service control command to the service control module 62.
业务控制模块62,执行策略控制模块发出的业务控制命令,对DPU设备进行业务控制。;The service control module 62 executes a service control command sent by the policy control module to perform service control on the DPU device. ;
图5是本发明实施例提供的应用实例流程图,如图5所示,步骤包括:FIG. 5 is a flowchart of an application example provided by an embodiment of the present invention. As shown in FIG. 5, the steps include:
步骤S100:策略配置模块22的第一部分提供DPU设备每个部分功耗参考值。Step S100: The first part of the policy configuration module 22 provides a power consumption reference value for each part of the DPU device.
步骤S200:策略配置模块22的第二部分提供DPU设备的工作状态策略配置。Step S200: The second part of the policy configuration module 22 provides the working state policy configuration of the DPU device.
步骤S201:设备上电检测。Step S201: The device is powered on.
步骤S202:读取设备硬件型号、上联口类型及数量,用户口类型及数量,PD受电部分数量、类型及电压/电流等电气参数。Step S202: Read the hardware model of the device, the type and quantity of the uplink port, the type and quantity of the user port, the number, type, and voltage/current electrical parameters of the PD power receiving part.
步骤S203:设备读取策略配置模块的第一部分提供的设备每个部分功耗参考值,计算设备最大工作状态功耗、最小工作状态功耗及PSE供电能力,并得出DPU设备当前业务功耗预算;Step S203: The device reads the power consumption reference value of each part of the device provided by the first part of the policy configuration module, calculates the maximum working state power consumption, the minimum working state power consumption, and the PSE power supply capability of the device, and obtains the current service power consumption of the DPU device. budget;
步骤S204:根据策略配置模块22的第二部分提供的工作状态策略配置进行分析;Step S204: Perform analysis according to the working state policy configuration provided by the second part of the policy configuration module 22;
步骤S205:得出策略分析结果,分为三种情景:Step S205: Deriving the result of the strategy analysis, and dividing into three scenarios:
情景1:Ppse>Pdpu-max,执行步骤S226至步骤S227; Scenario 1: P pse >P dpu-max , step S226 to step S227;
情景2:Pdpu-min<Ppse<Pdpu-max,执行步骤S206;Scenario 2: P dpu-min <P pse <P dpu-max , step S206 is performed;
情景3:Ppse<Pdpu-min,执行步骤S236至步骤S237;Scenario 3: P pse <P dpu-min , step S236 to step S237;
步骤S226至步骤S227:Ppse>Pdpu-max,说明PSE供电充足,可满足DPU设备工作在每种状态,输出策略分析并转入策略控制模块。Step S226 to step S227: P pse >P dpu-max , indicating that the PSE is fully powered, and the DPU device can work in each state, and the output strategy is analyzed and transferred to the policy control module.
步骤S206:Pdpu-min<Ppse<Pdpu-max,DPU设备业务功耗预算不满足设备最大工作状态,计算出DPU设备可提供的业务功耗预算。Step S206: P dpu-min <P pse <P dpu-max , the DPU device service power budget does not meet the maximum working state of the device, and the service power budget that the DPU device can provide is calculated.
步骤S207:判断业务功耗预算是否满足当前用户业务配置,若业务功耗预算满足当前用户业务配置,则按当前配置要求开通用户业务,并上报通知,输出策略分析并转入策略控制模块,执行步骤S213;若业务功耗预算不满足当前用户业务配置,执行步骤S208。Step S207: determining whether the service power budget meets the current user service configuration. If the service power budget meets the current user service configuration, the user service is activated according to the current configuration requirement, and the notification is reported, the output policy is analyzed, and the policy control module is transferred to the policy control module. Step S213: If the service power budget does not meet the current user service configuration, step S208 is performed.
步骤S208:业务功耗预算不满足用户业务配置功耗,根据策略采取关闭部分用户业务通道、降低端口发送功率(降低端口激活速率),并上报告警。Step S208: The service power consumption budget does not meet the power consumption of the user service configuration, and according to the policy, the part of the user service channel is closed, the port transmission power is reduced (the port activation rate is lowered), and the alarm is reported.
步骤S209:判断在采用步骤S208的策略后是否能够使用户业务配置功耗处于业务功耗预算的预设临界范围,即检查功耗是否处于临界状态,如处于功耗临界状态,则执行步骤S210;若不处于临界状态,则执行步骤S213。Step S209: It is determined whether the user service configuration power consumption is in a preset critical range of the service power consumption budget after the adopting the policy of step S208, that is, whether the power consumption is in a critical state, for example, in a power consumption critical state, step S210 is performed. If it is not in the critical state, step S213 is performed.
步骤S210:设备限制部分非常用但会影响CPU占有率的软件功能,并按此输出策略分析并转入策略控制模块。Step S210: The software function of the device limitation part is very useful but affects the CPU occupation rate, and is analyzed according to the output policy and transferred to the policy control module.
步骤S211:继续检查业务功耗预算是否满足用户业务配置,如满足,按此输出策略分析并转入策略控制模块,执行步骤S213;若不满足,则执行步骤S212。Step S211: Continue to check whether the service power budget meets the user service configuration. If yes, the output policy is analyzed and transferred to the policy control module, and step S213 is performed; if not, step S212 is performed.
步骤S212:如采取如步骤S208所述的策略仍然无法满足业务功耗预算要求,则DPU设备运行在最小工作状态,不提供用户业务,并上报告警,按此输出策略分析并转入策略控制模块。Step S212: If the policy as described in step S208 is still unable to meet the service power budget requirement, the DPU device runs in a minimum working state, does not provide user service, and reports an alarm, according to the output policy analysis and transferred to the policy control. Module.
步骤S236至步骤S237:Ppse<Pdpu-min,DPU设备无法工作在最小状态,采取策略为关闭PD部分,输出策略分析并转入策略控制模块。Step S236 to step S237: P pse <P dpu-min , the DPU device cannot work in the minimum state, adopt a policy to turn off the PD part, output the policy analysis and transfer to the policy control module.
步骤S213:策略控制模块根据策略分析结果,生成策略控制指令,并转化为业务控制命令。Step S213: The policy control module generates a policy control instruction according to the result of the policy analysis, and converts it into a service control command.
步骤S214:业务控制模块发出相应业务控制指令,对设备进行业务控制。 Step S214: The service control module issues a corresponding service control instruction to perform service control on the device.
步骤S215:结束流程。Step S215: End the process.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
尽管上文对本申请进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the present application has been described in detail above, the present invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention are to be understood as falling within the scope of the invention.
工业实用性Industrial applicability
本发明实施例在反向供电模式下对DPU设备工作状态进行控制,通过灵活制定设备业务开通策略的方式调整设备功耗,使得DPU设备最大限度满足PSE供电能力要求,解决了相关技术简单的PD部分停止受电,设备掉电等问题。 In the embodiment of the present invention, the working state of the DPU device is controlled in the reverse power supply mode, and the power consumption of the device is adjusted by flexibly formulating the device service opening policy, so that the DPU device satisfies the PSE power supply capability requirement to the maximum extent, and the related technology is simple PD. Partially stop receiving power, equipment power failure and other issues.

Claims (10)

  1. 一种DPU设备工作状态的控制方法,包括:A method for controlling the working state of a DPU device includes:
    根据分配点单元DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、供电设备PSE的最大供电功率;Determining a maximum working power consumption and a minimum working power consumption of the DPU device and a maximum power supply power of the power supply device PSE according to a hardware type and an electrical parameter of the DPU device of the distribution point unit;
    将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较;Comparing a maximum power supply of the PSE with a maximum operating power consumption and a minimum operating power consumption of the DPU device;
    根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。According to the comparison result, an instruction for controlling the working state of the DPU device is generated, thereby adjusting power consumption of the DPU device.
  2. 根据权利要求1所述的方法,其中,所述生成用来控制所述DPU设备工作状态的指令的步骤包括:The method of claim 1 wherein said step of generating an instruction to control an operational state of said DPU device comprises:
    当所述PSE的最大供电功率小于所述DPU设备的最大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗;Calculating user service configuration power consumption of the DPU device when a maximum power consumption of the PSE is less than a maximum working power consumption of the DPU device and greater than a minimum working power consumption of the DPU;
    利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算;Calculating a service power budget that the DPU device can provide by using a maximum power of the PSE and a minimum operating power of the DPU;
    将所述用户业务配置功耗与业务功耗预算进行比较;Comparing the user service configuration power consumption with the service power budget;
    若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算。If the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to the service power budget, generating An instruction to turn off part of the user service channel and/or reduce the power of the user interface to meet the service power budget.
  3. 根据权利要求2所述的方法,其中,若通过关闭部分用户业务通道和/或降低用户接口发送功率使用户业务配置功耗处于业务功耗预算的预设临界范围内,则生成用来限制非常用软件的指令。The method according to claim 2, wherein if the user service configuration power consumption is within a preset critical range of the service power budget by turning off part of the user service channel and/or reducing the user interface transmission power, the generation is used to limit the Use software instructions.
  4. 根据权利要求2所述的方法,其中,若通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功耗满足业务功耗预算,则生成用来指示所述DPU设备运行于最小工作功耗状态的指令。The method according to claim 2, wherein if the user service configuration power consumption cannot satisfy the service power consumption budget by turning off part of the user service channel and/or reducing the user interface transmission power, generating, to indicate that the DPU device is running The instruction for the minimum operating power state.
  5. 根据权利要求2-4任意一项所述的方法,其中,所述生成用来控制所述DPU设备工作状态的指令的步骤还包括: The method of any of claims 2-4, wherein the step of generating an instruction to control an operating state of the DPU device further comprises:
    当所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的多种工作状态的指令;Generating an instruction to indicate that the DPU device is capable of operating in a plurality of operating states including a maximum working power consumption state when a maximum power consumption of the PSE is greater than a maximum operating state power consumption of the DPU;
    当所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电部分的指令。When the maximum power supply of the PSE is less than the minimum operating state power consumption of the DPU, an instruction to close the power receiving portion of the DPU device is generated.
  6. 一种DPU设备工作状态的控制装置,包括:A control device for working state of a DPU device, comprising:
    计算模块,设置为:根据分配点单元DPU设备的硬件类型和电气参数,确定所述DPU设备的最大工作功耗和最小工作功耗、供电设备PSE的最大供电功率;The calculation module is configured to: determine a maximum working power consumption and a minimum working power consumption of the DPU device, and a maximum power supply power of the power supply device PSE according to a hardware type and an electrical parameter of the DPU device of the distribution point unit;
    比较模块,设置为:将所述PSE的最大供电功率与所述DPU设备的最大工作功耗和最小工作功耗进行比较;a comparison module, configured to: compare a maximum power supply of the PSE with a maximum working power consumption and a minimum working power consumption of the DPU device;
    处理模块,设置为:根据比较结果,生成用来控制所述DPU设备工作状态的指令,从而调整所述DPU设备的功耗。The processing module is configured to: according to the comparison result, generate an instruction for controlling an operating state of the DPU device, thereby adjusting power consumption of the DPU device.
  7. 根据权利要求6所述的装置,其中,所述处理模块是设置为:在所述PSE的最大供电功率小于所述DPU设备的最大工作功耗且大于所述DPU的最小工作功耗时,计算所述DPU设备的用户业务配置功耗,并利用所述PSE的最大供电功率和DPU的最小工作功耗,计算所述DPU设备能够提供的业务功耗预算,将所述用户业务配置功耗与业务功耗预算进行比较,若所述用户业务配置功耗小于业务功耗预算,则按照用户业务配置,生成用来开通所配置的用户业务的指令;若所述用户业务配置功耗大于或等于业务功耗预算,则生成用来关闭部分用户业务通道和/或降低用户接口发送功率的指令,以便满足所述业务功耗预算。The apparatus according to claim 6, wherein the processing module is configured to: calculate when a maximum power supply of the PSE is less than a maximum operating power consumption of the DPU device and greater than a minimum operating power consumption of the DPU Calculating power consumption of the user service of the DPU, and calculating a service power budget that the DPU device can provide by using the maximum power of the PSE and the minimum working power of the DPU, and configuring the user service configuration power consumption Comparing the service power budget, if the user service configuration power consumption is less than the service power budget, generating an instruction for opening the configured user service according to the user service configuration; if the user service configuration power consumption is greater than or equal to The service power budget generates instructions for shutting down some of the user service channels and/or reducing the power of the user interface to meet the service power budget.
  8. 根据权利要求7所述的装置,其中,所述处理模块是设置为:若通过关闭部分用户业务通道和/或降低用户接口发送功率使用户业务配置功耗处于业务功耗预算的预设临界范围内,则生成用来限制非常用软件的指令。The apparatus according to claim 7, wherein the processing module is configured to: when the partial user service channel is closed and/or the user interface transmission power is reduced, the user service configuration power consumption is in a preset critical range of the service power budget. Internally, instructions are generated to limit the use of very useful software.
  9. 根据权利要求7所述的装置,其中,所述处理模块是设置为:若通过关闭部分用户业务通道和/或降低用户接口发送功率仍不能使用户业务配置功耗满足业务功耗预算,则生成用来指示所述DPU设备运行于最小工作功耗 状态的指令。The apparatus according to claim 7, wherein the processing module is configured to: if the user service configuration power consumption cannot satisfy the service power consumption budget by turning off part of the user service channel and/or reducing the user interface transmission power, generating Used to indicate that the DPU device is operating at minimum operating power consumption State instructions.
  10. 根据权利要求7-9任意一项所述的装置,其中,所述处理模块是设置为:在所述PSE的最大供电功率大于所述DPU的最大工作状态功耗时,生成用来指示所述DPU设备能够工作于包括最大工作功耗状态在内的每种工作状态的指令,在所述PSE的最大供电功率小于所述DPU的最小工作状态功耗时,生成用来关闭所述DPU设备的受电部分的指令。 The apparatus according to any one of claims 7-9, wherein the processing module is configured to: when the maximum power supply of the PSE is greater than a maximum operating state power consumption of the DPU, generated to indicate the The DPU device is capable of operating an instruction for each operating state including a maximum operating power consumption state, and generating a signal for shutting down the DPU device when a maximum power consumption of the PSE is less than a minimum operating state power consumption of the DPU The instruction of the power receiving part.
PCT/CN2016/079593 2015-06-16 2016-04-18 Method and apparatus for controlling operating state of dpu device WO2016202081A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510334901.9 2015-06-16
CN201510334901.9A CN106257864A (en) 2015-06-16 2015-06-16 The control method of a kind of DPU equipment working state and device

Publications (1)

Publication Number Publication Date
WO2016202081A1 true WO2016202081A1 (en) 2016-12-22

Family

ID=57545003

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079593 WO2016202081A1 (en) 2015-06-16 2016-04-18 Method and apparatus for controlling operating state of dpu device

Country Status (2)

Country Link
CN (1) CN106257864A (en)
WO (1) WO2016202081A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779354B (en) * 2020-09-03 2022-10-01 瑞昱半導體股份有限公司 Ethernet power sourcing equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117075708B (en) * 2023-10-17 2024-01-12 北京华鲲振宇智能科技有限责任公司 Method for setting server DPU network card to enter FS-5 state

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968168A (en) * 2012-10-24 2013-03-13 福建星网锐捷网络有限公司 Method for enabling wire clip, management board and wire clip
US20130145183A1 (en) * 2011-12-05 2013-06-06 Canon Kabushiki Kaisha Management system, management apparatus, management method, and computer-readable medium
CN104205724A (en) * 2013-09-05 2014-12-10 华为技术有限公司 Reverse power supply method, reverse power supply equipment and reverse power supply system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL3044910T3 (en) * 2013-09-09 2020-03-31 British Telecommunications Public Limited Company Fibre network proxy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130145183A1 (en) * 2011-12-05 2013-06-06 Canon Kabushiki Kaisha Management system, management apparatus, management method, and computer-readable medium
CN102968168A (en) * 2012-10-24 2013-03-13 福建星网锐捷网络有限公司 Method for enabling wire clip, management board and wire clip
CN104205724A (en) * 2013-09-05 2014-12-10 华为技术有限公司 Reverse power supply method, reverse power supply equipment and reverse power supply system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779354B (en) * 2020-09-03 2022-10-01 瑞昱半導體股份有限公司 Ethernet power sourcing equipment
US12107641B2 (en) 2020-09-03 2024-10-01 Realtek Semiconductor Corp. Ethernet power sourcing equipment and power management method thereof

Also Published As

Publication number Publication date
CN106257864A (en) 2016-12-28

Similar Documents

Publication Publication Date Title
JP4801154B2 (en) Sharing background network bandwidth behind gateway devices
US20080155284A1 (en) Power consumption adjusting apparatus and processing method
US10681615B2 (en) Predictive rate limiting for reliable bluetooth low energy connections
US20150127957A1 (en) Adaptive inline power managment system
EP2060059B1 (en) Programmable constant power foldback
KR102103483B1 (en) Techniques for adaptive demand/response energy management of electronic systems
US9069541B2 (en) Digital rack interface pod (DRIP) with intelligent power control system and method
EP2625586B1 (en) Remote access appliance with backup power system
KR20140055920A (en) Methods and structure for serial attached scsi expanders that self-configure routing attributes of their ports
EP2852113B1 (en) Load sharing method and device, and single board
WO2016202081A1 (en) Method and apparatus for controlling operating state of dpu device
CN116225200A (en) Chip, power consumption management method thereof and electronic device
US20240187266A1 (en) Power Management Method and Apparatus for Power Sourcing Equipment
US11119551B2 (en) Power consumption sensing for power over ethernet (PoE) power sourcing equipment (PSE) system
KR101932025B1 (en) PoE switching hub device and operation method thereof
US9477282B2 (en) Power source equipment and power supply method thereof
US8046602B2 (en) Controlling connection status of network adapters
US11775039B2 (en) Power providing device and method
CN110048859B (en) POE power supply method, equipment and storage medium
WO2014089984A1 (en) Terminal and method for implementing power adaptation of same
CN115004640A (en) Equipment power consumption management system, method, equipment and storage medium
CN112084089B (en) Method, device and equipment for determining upper limit of power consumption of data center node and storage medium
US9392106B2 (en) System and method for reducing power consumption in telecommunication systems
CN212649103U (en) Multi-power supply device
KR101874347B1 (en) Method for saving electric power comsumption in the network device and the network device using the same

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: 16810822

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: 16810822

Country of ref document: EP

Kind code of ref document: A1