WO2016197685A1 - Method and device for controlling power supply to chip, and communication device - Google Patents

Method and device for controlling power supply to chip, and communication device Download PDF

Info

Publication number
WO2016197685A1
WO2016197685A1 PCT/CN2016/078817 CN2016078817W WO2016197685A1 WO 2016197685 A1 WO2016197685 A1 WO 2016197685A1 CN 2016078817 W CN2016078817 W CN 2016078817W WO 2016197685 A1 WO2016197685 A1 WO 2016197685A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
state
switch
power
power supply
Prior art date
Application number
PCT/CN2016/078817
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 WO2016197685A1 publication Critical patent/WO2016197685A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present application relates to the field of device power consumption control, for example, to a chip power supply control method, apparatus, and communication device.
  • the chips in the internal boards are in the power-on state, and some of the boards are in the working state.
  • the power consumption is the effective power consumption, and the chips in the other boards correspond to the chips.
  • the Ethernet ports are not all working, because they do not need to exchange data and are idle.
  • the static power consumption of such chips can reach more than 70% of full load without data forwarding. It is unnecessary power consumption and wastes resources.
  • the embodiment of the invention provides a chip power supply control method, device and communication device to solve the problem that unnecessary power consumption wastes resources in the related art.
  • the embodiment of the present invention provides a chip power supply control method.
  • the chip power supply control method includes: setting a power supply switch for the chip; acquiring an operation state of the chip, and the running state includes an idle state and a working state; Control the power switch.
  • the chip may include a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
  • All Ethernet ports generated by the switch chip may include: an Ethernet end directly generated by the switch chip Port and Ethernet port generated indirectly through the PHY chip.
  • Controlling the power switch operation according to the operating state may include turning off the power switch when detecting that the chip is in an idle state.
  • the method may further include: displaying an operating state of the chip, determining whether the chip is in a working state when receiving an instruction of the user to turn off the chip, and not executing if the working state is in the working state, and executing if not in the working state.
  • the embodiment of the invention provides a single-chip chip power supply control device, which includes: a setting module configured to set a power supply switch for the chip; and an acquisition module configured to acquire an operating state of the chip, the running state including an idle state and working State; a control module configured to control the power switch based on the operating state.
  • the chip may include a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
  • All Ethernet ports generated by the switch chip may include an Ethernet port directly generated by the switch chip and an Ethernet port indirectly generated by the PHY chip.
  • the control module can be configured to turn off the power switch when it is detected that the chip is in an idle state.
  • the control module can also be configured to display the running state of the chip.
  • the control module When receiving the instruction of the user to turn off the chip, it is determined whether the chip is in the working state, and if it is in the working state, it is not executed, and if it is not in the working state, it is executed.
  • the control module can also be configured to detect when the Ethernet port of the chip in the power down state is detected When enabled, or when an instruction to the user to enable the chip in the power-down state is received, the power switch is turned on.
  • the embodiment of the invention provides a communication device, which comprises a single board, and a chip power supply control device provided by the embodiment of the invention.
  • An embodiment of the present invention provides a new chip power supply control method, which provides power control for each chip by setting a power supply switch for the chips in the single board, and controls corresponding switches according to the running states of the chips, thereby making According to the operation condition of each chip, it is controlled whether it is powered on, avoiding unnecessary power consumption, and solving the problem that the unnecessary power consumption of the related technology wastes resources.
  • FIG. 1 is a schematic diagram of a chip power supply control device according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a chip power supply control method according to a second embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an Ethernet switching device according to a third embodiment of the present invention.
  • FIG. 4 is a flowchart of a chip power supply control method according to a third embodiment of the present invention.
  • the chip power supply control apparatus 1 includes:
  • the setting module 11 is configured to set a power switch for the chip
  • the obtaining module 12 is configured to acquire an operating state of the chip, and the running state includes an idle state and an State of affairs
  • the control module 13 is configured to control the power switch according to the operating state.
  • the chip in the above embodiment includes a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
  • all Ethernet ports generated by the switch chip in the above embodiment include: an Ethernet port directly generated by the switch chip and an Ethernet port generated indirectly through the PHY chip.
  • control module 13 in the above embodiment is configured to turn off the power switch when it is detected that the chip is in an idle state.
  • control module 13 in the above embodiment is further configured to display an operating state of the chip.
  • the control module 13 in the above embodiment is further configured to display an operating state of the chip.
  • control module 13 in the above embodiment is further configured to: when the acquisition module 12 detects that the Ethernet port of the chip in the power-down state needs to be enabled, or when receiving the user activation in the power-down state When the chip is commanded, turn on the power switch.
  • the embodiment of the present invention provides a communication device, which includes a single board, and the chip power supply control device 1 provided by the embodiment of the present invention.
  • the chip power supply control device 1 can be disposed in the device as a separate component, or can be directly disposed on the single board.
  • FIG. 2 is a flowchart of a chip power supply control method according to a second embodiment of the present invention. As shown in FIG. 2, in the embodiment, the chip power supply control method provided by the present invention includes the following steps:
  • S202 Acquire an operating state of the chip, where the running state includes an idle state and a working state;
  • the chip in the above embodiment includes a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
  • all Ethernet ports generated by the switch chip in the above embodiment include: an Ethernet port directly generated by the switch chip and an Ethernet port generated indirectly through the PHY chip.
  • controlling the power switch operation according to the operating state in the above embodiment includes: turning off the power switch when detecting that the chip is in an idle state.
  • the method in the above embodiment further includes: displaying an operating state of the chip, determining whether the chip is in a working state when receiving an instruction of the user to turn off the chip, and if not in the working state, not executing, if not The working status is executed.
  • the method in the above embodiment further includes: when it is detected that the Ethernet port of the chip in the power-down state needs to be enabled, or when receiving an instruction of the user to enable the chip in the power-down state, Power switch.
  • the communication device is an Ethernet switch as an example, and its structure is shown in FIG. 3:
  • the Ethernet switching device includes a CPU module 301 (implementing the functions of the chip power supply control device in the embodiment of the present invention), a switch chip 302, a PHY chip 303, and a power-on sequence control module 304.
  • CPU module The 301 can access the switch chip 302, the PHY chip 303, and the power-on sequence control module 304 through the relevant ports.
  • the switch chip 302 can exchange service data with the PHY chip 303, or can directly connect to the port connector.
  • the power-on sequence control module 304 can control the power of the single board, and power-on and control the power of each chip according to the power-on timing requirement of the chip.
  • each switch chip directly or indirectly (ports through the PHY chip) generates m Ethernet ports (electric ports, optical ports).
  • FIG. 4 is a flowchart of a chip power supply control method according to a third embodiment of the present invention. As shown in FIG. 4, in the embodiment, the chip power supply control method provided by the present invention includes the following steps:
  • S401 The device starts up and runs normally after the board is powered on.
  • S402 Determine whether to enable the power supply of the intelligent control board; if the power supply of the intelligent control board is started, the power supply of the chip corresponding to the idle port is automatically selected, and steps S403-S405 are performed; if the power supply of the intelligent control board is not started, manual control is performed. The power supply of the chip corresponding to the idle port is performed, and steps S406-S409 are performed.
  • S403 Monitor the running status of the board port. If all ports corresponding to a switch chip are idle, the switch chip can be powered off.
  • Step S404 When the optical module, the network cable, and the like are inserted on the closed port, the system scans the in-position signal of the optical module and the LINK state of the PHY chip to determine whether the power-down port needs to be enabled, and if it needs to be restarted, execute Step S405; if it is not required to be enabled, return to step S404.
  • S405 If the port needs to be enabled, the power of the corresponding chip needs to be powered on, and the power-on sequence needs to meet the requirements of the chip.
  • the CPU module initializes the chip and configures the chip to enable the port.
  • the system interface can display the running status of the current board port and its corresponding relationship with the switch chip, so that the user can perform the operation of closing the port.
  • S408 The system executes the shutdown command as required, and the power of the corresponding chip is turned off for the corresponding PHY and the switch chip, and the board is in a non-full-match operation state.
  • S409 When the chip is not fully equipped, the user can enable the idle port according to the actual usage. If the user wants to enable the port, the power of the corresponding chip needs to be powered on, and the power-on sequence must meet the requirements of the chip.
  • the CPU module initializes the chip and configures it to enable the port.
  • the power supply of each chip is controllable, and the corresponding switches are controlled according to the operating states of the chips, thereby controlling whether the power is turned on according to the operation condition of each chip, thereby avoiding The necessary power consumption solves the problem of unnecessary power consumption wasted resources in related technologies.
  • the application provides a chip power supply control method, device and communication device.
  • the chip power supply control method includes: setting a power supply switch for the chip; acquiring an operating state of the chip, the running state includes an idle state and a working state; and controlling the power supply switch according to the operating state .
  • This application provides power supply for the chip in the board. Off, so that the power supply of each chip is controllable, and the corresponding switches are controlled according to the operating state of each chip, thereby controlling whether or not the power is turned on according to the operation condition of each chip, thereby avoiding unnecessary power consumption and solving the related The unnecessary power consumption of technology wastes resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Power Sources (AREA)

Abstract

Provided are a method and a device for controlling power supply to a chip, and a communication device. The method for controlling power supply to a chip comprises: setting a power supply switch for a chip; obtaining an operation state of the chip, the operation state comprising an idle state and a working state; and controlling the power supply switch according to the operation state. Power supply switches are provided for chips on a board, so that power supply of each chip is controllable, and a switch corresponding to a chip is controlled according to an operation state of the chip, so that whether to power on the chip is controlled according to the operation state of the chip, thereby avoiding unnecessary power consumption and resolving a problem of unnecessary power consumption that exists in the related art.

Description

一种芯片供电控制方法、装置及通信设备Chip power supply control method, device and communication device 技术领域Technical field
本申请涉及设备功耗控制领域,例如涉及一种芯片供电控制方法、装置及通信设备。The present application relates to the field of device power consumption control, for example, to a chip power supply control method, apparatus, and communication device.
背景技术Background technique
现有太网交换机等通信设备在上电后,其内部单板内的芯片都处于上电状态,部分单板处于工作状态,其功耗为有效功耗,而另外部分单板内的芯片对应的以太网端口并非都处于工作状态,因其不需要交换数据而处于闲置状态,这类芯片在没有进行数据转发的情况下,其初始化后的静态功耗可以达到满负荷运行的70%以上,属于不必要功耗,浪费资源。After the power communication device of the existing Ethernet switch is powered on, the chips in the internal boards are in the power-on state, and some of the boards are in the working state. The power consumption is the effective power consumption, and the chips in the other boards correspond to the chips. The Ethernet ports are not all working, because they do not need to exchange data and are idle. The static power consumption of such chips can reach more than 70% of full load without data forwarding. It is unnecessary power consumption and wastes resources.
因此,如何提供一种可解决上述问题的芯片供电控制方法,是本领域技术人员亟待解决的技术问题。Therefore, how to provide a chip power supply control method that can solve the above problems is a technical problem to be solved by those skilled in the art.
发明内容Summary of the invention
本发明实施例提供了一种芯片供电控制方法、装置及通信设备,以解决相关技术中不必要功耗浪费资源的问题。The embodiment of the invention provides a chip power supply control method, device and communication device to solve the problem that unnecessary power consumption wastes resources in the related art.
本发明实施例提供了一种芯片供电控制方法,在一个实施例中,该芯片供电控制方法包括:为芯片设置供电开关;获取芯片的运行状态,运行状态包括空闲状态及工作状态;根据运行状态控制供电开关。The embodiment of the present invention provides a chip power supply control method. In an embodiment, the chip power supply control method includes: setting a power supply switch for the chip; acquiring an operation state of the chip, and the running state includes an idle state and a working state; Control the power switch.
芯片可以包括交换芯片,空闲状态包括交换芯片生成的所有以太网端口均闲置。The chip may include a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
交换芯片生成的所有以太网端口可以包括:交换芯片直接生成的以太网端 口以及通过PHY芯片间接生成的以太网端口。All Ethernet ports generated by the switch chip may include: an Ethernet end directly generated by the switch chip Port and Ethernet port generated indirectly through the PHY chip.
根据运行状态控制供电开关工作可以包括:当检测到芯片处于空闲状态时,关闭供电开关。Controlling the power switch operation according to the operating state may include turning off the power switch when detecting that the chip is in an idle state.
还可以包括:显示芯片的运行状态,在接收到用户关闭芯片的指令时,判断芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。The method may further include: displaying an operating state of the chip, determining whether the chip is in a working state when receiving an instruction of the user to turn off the chip, and not executing if the working state is in the working state, and executing if not in the working state.
还可以包括:当检测到处于掉电状态的芯片的以太网端口需要启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启供电开关。It may also include turning on the power switch when it is detected that the Ethernet port of the chip in the power down state needs to be enabled, or when receiving an instruction from the user to enable the chip in the power down state.
本发明实施例提供了一种单板内芯片供电控制装置,其包括:设置模块,被配置为为芯片设置供电开关;获取模块,被配置为获取芯片的运行状态,运行状态包括空闲状态及工作状态;控制模块,被配置为根据运行状态控制供电开关。The embodiment of the invention provides a single-chip chip power supply control device, which includes: a setting module configured to set a power supply switch for the chip; and an acquisition module configured to acquire an operating state of the chip, the running state including an idle state and working State; a control module configured to control the power switch based on the operating state.
芯片可以包括交换芯片,空闲状态包括交换芯片生成的所有以太网端口均闲置。The chip may include a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
交换芯片生成的所有以太网端口可以包括:交换芯片直接生成的以太网端口以及通过PHY芯片间接生成的以太网端口。All Ethernet ports generated by the switch chip may include an Ethernet port directly generated by the switch chip and an Ethernet port indirectly generated by the PHY chip.
控制模块可以被配置为当检测到芯片处于空闲状态时,关闭供电开关。The control module can be configured to turn off the power switch when it is detected that the chip is in an idle state.
控制模块还可以被配置为显示芯片的运行状态,在接收到用户关闭芯片的指令时,判断芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。The control module can also be configured to display the running state of the chip. When receiving the instruction of the user to turn off the chip, it is determined whether the chip is in the working state, and if it is in the working state, it is not executed, and if it is not in the working state, it is executed.
控制模块还可以被配置为当检测到处于掉电状态的芯片的以太网端口需要 启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启供电开关。The control module can also be configured to detect when the Ethernet port of the chip in the power down state is detected When enabled, or when an instruction to the user to enable the chip in the power-down state is received, the power switch is turned on.
本发明实施例提供了一种通信设备,其包括单板,以及本发明实施例提供的芯片供电控制装置。The embodiment of the invention provides a communication device, which comprises a single board, and a chip power supply control device provided by the embodiment of the invention.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供了一种新的芯片供电控制方法,通过为单板内芯片设置供电开关,使得每个芯片的供电可控,并且,根据各芯片的运行状态控制其对应的开关,进而使得根据各芯片的运行情况控制其是否上电,避免了不必要的功耗,解决了相关技术存在的不必要功耗浪费资源的问题。An embodiment of the present invention provides a new chip power supply control method, which provides power control for each chip by setting a power supply switch for the chips in the single board, and controls corresponding switches according to the running states of the chips, thereby making According to the operation condition of each chip, it is controlled whether it is powered on, avoiding unnecessary power consumption, and solving the problem that the unnecessary power consumption of the related technology wastes resources.
附图概述BRIEF abstract
图1为本发明第一实施例提供的芯片供电控制装置的示意图;1 is a schematic diagram of a chip power supply control device according to a first embodiment of the present invention;
图2为本发明第二实施例提供的芯片供电控制方法的流程图;2 is a flowchart of a chip power supply control method according to a second embodiment of the present invention;
图3为本发明第三实施例提供的以太网交换设备的示意图;3 is a schematic diagram of an Ethernet switching device according to a third embodiment of the present invention;
图4为本发明第三实施例提供的芯片供电控制方法的流程图。FIG. 4 is a flowchart of a chip power supply control method according to a third embodiment of the present invention.
本发明的实施方式Embodiments of the invention
现通过实施方式结合附图的方式对本发明进行诠释说明。The invention will now be described by way of example with reference to the drawings.
第一实施例:First embodiment:
图1为本发明第一实施例提供的芯片供电控制装置的结构示意图,由图1可知,在本实施例中,本发明提供的芯片供电控制装置1包括:1 is a schematic structural diagram of a chip power supply control apparatus according to a first embodiment of the present invention. As shown in FIG. 1, in the embodiment, the chip power supply control apparatus 1 provided by the present invention includes:
设置模块11,被配置为为芯片设置供电开关;The setting module 11 is configured to set a power switch for the chip;
获取模块12,被配置为获取芯片的运行状态,运行状态包括空闲状态及工 作状态;The obtaining module 12 is configured to acquire an operating state of the chip, and the running state includes an idle state and an State of affairs
控制模块13,被配置为根据运行状态控制供电开关。The control module 13 is configured to control the power switch according to the operating state.
在一些实施例中,上述实施例中的芯片包括交换芯片,空闲状态包括交换芯片生成的所有以太网端口均闲置。In some embodiments, the chip in the above embodiment includes a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
在一些实施例中,上述实施例中的交换芯片生成的所有以太网端口包括:交换芯片直接生成的以太网端口以及通过PHY芯片间接生成的以太网端口。In some embodiments, all Ethernet ports generated by the switch chip in the above embodiment include: an Ethernet port directly generated by the switch chip and an Ethernet port generated indirectly through the PHY chip.
在一些实施例中,上述实施例中的控制模块13被配置为当检测到芯片处于空闲状态时,关闭供电开关。In some embodiments, the control module 13 in the above embodiment is configured to turn off the power switch when it is detected that the chip is in an idle state.
在一些实施例中,上述实施例中的控制模块13还被配置为显示芯片的运行状态,在接收到用户关闭芯片的指令时,判断芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。In some embodiments, the control module 13 in the above embodiment is further configured to display an operating state of the chip. When receiving an instruction of the user to turn off the chip, it is determined whether the chip is in a working state, and if it is in a working state, it is not executed. Execute if it is not in working condition.
在一些实施例中,上述实施例中的控制模块13还被配置为当获取模块12检测到处于掉电状态的芯片的以太网端口需要启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启供电开关。In some embodiments, the control module 13 in the above embodiment is further configured to: when the acquisition module 12 detects that the Ethernet port of the chip in the power-down state needs to be enabled, or when receiving the user activation in the power-down state When the chip is commanded, turn on the power switch.
对应的,本发明实施例提供了一种通信设备,其包括单板,以及本发明实施例提供的芯片供电控制装置1。Correspondingly, the embodiment of the present invention provides a communication device, which includes a single board, and the chip power supply control device 1 provided by the embodiment of the present invention.
在实际运用中,芯片供电控制装置1可以作为一个单独的构件设置于设备内,也可以直接设置在单板上。In practical use, the chip power supply control device 1 can be disposed in the device as a separate component, or can be directly disposed on the single board.
第二实施例:Second embodiment:
图2为本发明第二实施例提供的芯片供电控制方法的流程图,由图2可知,在本实施例中,本发明提供的芯片供电控制方法包括以下步骤: FIG. 2 is a flowchart of a chip power supply control method according to a second embodiment of the present invention. As shown in FIG. 2, in the embodiment, the chip power supply control method provided by the present invention includes the following steps:
S201:为芯片设置供电开关;S201: setting a power switch for the chip;
S202:获取芯片的运行状态,运行状态包括空闲状态及工作状态;S202: Acquire an operating state of the chip, where the running state includes an idle state and a working state;
S203:根据运行状态控制供电开关。S203: Control the power switch according to the running state.
在一些实施例中,上述实施例中的芯片包括交换芯片,空闲状态包括交换芯片生成的所有以太网端口均闲置。In some embodiments, the chip in the above embodiment includes a switch chip, and the idle state includes all Ethernet ports generated by the switch chip being idle.
在一些实施例中,上述实施例中的交换芯片生成的所有以太网端口包括:交换芯片直接生成的以太网端口以及通过PHY芯片间接生成的以太网端口。In some embodiments, all Ethernet ports generated by the switch chip in the above embodiment include: an Ethernet port directly generated by the switch chip and an Ethernet port generated indirectly through the PHY chip.
在一些实施例中,上述实施例中的根据运行状态控制供电开关工作包括:当检测到芯片处于空闲状态时,关闭供电开关。In some embodiments, controlling the power switch operation according to the operating state in the above embodiment includes: turning off the power switch when detecting that the chip is in an idle state.
在一些实施例中,上述实施例中的方法还包括:显示芯片的运行状态,在接收到用户关闭芯片的指令时,判断芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。In some embodiments, the method in the above embodiment further includes: displaying an operating state of the chip, determining whether the chip is in a working state when receiving an instruction of the user to turn off the chip, and if not in the working state, not executing, if not The working status is executed.
在一些实施例中,上述实施例中的方法还包括:当检测到处于掉电状态的芯片的以太网端口需要启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启供电开关。In some embodiments, the method in the above embodiment further includes: when it is detected that the Ethernet port of the chip in the power-down state needs to be enabled, or when receiving an instruction of the user to enable the chip in the power-down state, Power switch.
现结合应用场景对本发明进行诠释说明。The present invention will now be described in conjunction with application scenarios.
第三实施例:Third embodiment:
在本实施例中,以通信设备为以太网交换机为例,其结构示意图如图3所示:In this embodiment, the communication device is an Ethernet switch as an example, and its structure is shown in FIG. 3:
以太网交换设备包括CPU模块301(实现本发明实施例中芯片供电控制装置的功能),交换芯片302,PHY芯片303,电源上电时序控制模块304。CPU模块 301可以通过相关端口访问交换芯片302、PHY芯片303、电源上电时序控制模块304。交换芯片302可以与PHY芯片303进行业务数据交换,也可以直接连接端口连接器。电源上电时序控制模块304可以控制单板电源,按芯片上电时序要求对各个芯片的电源进行上电控制。The Ethernet switching device includes a CPU module 301 (implementing the functions of the chip power supply control device in the embodiment of the present invention), a switch chip 302, a PHY chip 303, and a power-on sequence control module 304. CPU module The 301 can access the switch chip 302, the PHY chip 303, and the power-on sequence control module 304 through the relevant ports. The switch chip 302 can exchange service data with the PHY chip 303, or can directly connect to the port connector. The power-on sequence control module 304 can control the power of the single board, and power-on and control the power of each chip according to the power-on timing requirement of the chip.
在实际应用中,业务单板中一般有n片交换芯片,每片交换芯片直接或间接(通过PHY芯片进行端口转换)生成m个以太网端口(电口、光口)。当n≥2时,单板的以太网端口将分成n个端口Bank。如果单板端口没有满配运行,即可以将空闲端口所对应的交换芯片做掉电处理。当n=1时,如果单板上存在PHY芯片,也可以将空闲端口所对应的PHY芯片做掉电处理。In practical applications, there are generally n switch chips in the service board. Each switch chip directly or indirectly (ports through the PHY chip) generates m Ethernet ports (electric ports, optical ports). When n≥2, the Ethernet port of the board will be divided into n port banks. If the board port is not fully configured, the switch chip corresponding to the idle port can be powered off. When n=1, if there is a PHY chip on the board, the PHY chip corresponding to the idle port can also be powered down.
图4为本发明第三实施例提供的芯片供电控制方法的流程图,由图4可知,在本实施例中,本发明提供的芯片供电控制方法包括以下步骤:FIG. 4 is a flowchart of a chip power supply control method according to a third embodiment of the present invention. As shown in FIG. 4, in the embodiment, the chip power supply control method provided by the present invention includes the following steps:
S401:设备启动,单板上电后,正常运行。S401: The device starts up and runs normally after the board is powered on.
S402:判断是否启动智能控制单板供电;若启动智能控制单板供电,则说明选择自动去控制闲置端口所对应芯片的供电,执行步骤S403-S405;若不启动智能控制单板供电,手工控制闲置端口所对应芯片的供电,执行步骤S406-S409。S402: Determine whether to enable the power supply of the intelligent control board; if the power supply of the intelligent control board is started, the power supply of the chip corresponding to the idle port is automatically selected, and steps S403-S405 are performed; if the power supply of the intelligent control board is not started, manual control is performed. The power supply of the chip corresponding to the idle port is performed, and steps S406-S409 are performed.
S403:监控单板端口的运行状态,如果某一个交换芯片所对应的所有端口都处于闲置状态,则可以将此交换芯片断电。S403: Monitor the running status of the board port. If all ports corresponding to a switch chip are idle, the switch chip can be powered off.
S404:在关闭掉的端口上,插入光模块、网线等时,系统扫描光模块的在位信号、PHY芯片的端口LINK状态等,用以判断掉电端口是否需要启用,若需要重启,则执行步骤S405;若不需要启用,返回执行本步骤S404。S404: When the optical module, the network cable, and the like are inserted on the closed port, the system scans the in-position signal of the optical module and the LINK state of the PHY chip to determine whether the power-down port needs to be enabled, and if it needs to be restarted, execute Step S405; if it is not required to be enabled, return to step S404.
S405:如果需要启用端口,需要将相对应的芯片的电源上电,上电时序要满足芯片的要求,CPU模块对芯片进行初始化操作及相关配置,以启用端口。 S405: If the port needs to be enabled, the power of the corresponding chip needs to be powered on, and the power-on sequence needs to meet the requirements of the chip. The CPU module initializes the chip and configures the chip to enable the port.
S406:单板正常运行中,系统界面可以显示出当前单板端口的运行状态,及其与交换芯片的对应关系,以便用户做关闭端口的操作。S406: During normal operation of the board, the system interface can display the running status of the current board port and its corresponding relationship with the switch chip, so that the user can perform the operation of closing the port.
S407:系统接收到用户关闭某些端口的操作后,对这些端口及对应的交换芯片是否处于工作状态进行判断,以保证用户不是误操作。如果是误操作,则拒绝执行关闭命令,并返回执行本步骤S407。S407: After receiving the operation of the user to close certain ports, the system determines whether the ports and the corresponding switch chip are in a working state to ensure that the user is not operating by mistake. If it is a malfunction, the execution of the close command is refused, and the process returns to step S407.
S408:系统按要求执行关闭命令,对相应的PHY、交换芯片,将相应芯片的电源关闭掉,单板进行非满配运行状态。S408: The system executes the shutdown command as required, and the power of the corresponding chip is turned off for the corresponding PHY and the switch chip, and the board is in a non-full-match operation state.
S409:芯片在非满配运行时,用户可以根据实际使用情况,再启用闲置端口,如果用户要启用端口,需要将相对应的芯片的电源上电,上电时序要满足芯片的要求。CPU模块对芯片进行初始化操作及相关配置,从而启用端口。S409: When the chip is not fully equipped, the user can enable the idle port according to the actual usage. If the user wants to enable the port, the power of the corresponding chip needs to be powered on, and the power-on sequence must meet the requirements of the chip. The CPU module initializes the chip and configures it to enable the port.
综上可知,通过本发明实施例的实施,至少存在以下有益效果:In summary, through the implementation of the embodiments of the present invention, at least the following beneficial effects exist:
通过为单板内芯片设置供电开关,使得每个芯片的供电可控,并且,根据各芯片的运行状态控制其对应的开关,进而使得根据各芯片的运行情况控制其是否上电,避免了不必要的功耗,解决了相关技术存在的不必要功耗浪费资源的问题。By setting a power supply switch for the chips in the single board, the power supply of each chip is controllable, and the corresponding switches are controlled according to the operating states of the chips, thereby controlling whether the power is turned on according to the operation condition of each chip, thereby avoiding The necessary power consumption solves the problem of unnecessary power consumption wasted resources in related technologies.
以上仅是本发明的实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明实施例的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。The above is only the embodiment of the present invention, and is not intended to limit the present invention in any way. Any simple modification, equivalent change, combination or modification of the above embodiment in accordance with the technical essence of the embodiment of the present invention still belongs to the present invention. The scope of protection of the technical solution of the present invention.
工业实用性Industrial applicability
本申请提供了一种芯片供电控制方法、装置及通信设备,该芯片供电控制方法包括:为芯片设置供电开关;获取芯片的运行状态,运行状态包括空闲状态及工作状态;根据运行状态控制供电开关。本申请为单板内芯片设置供电开 关,使得每个芯片的供电可控,并且,根据各芯片的运行状态控制其对应的开关,进而使得根据各芯片的运行情况控制其是否上电,避免了不必要的功耗,解决了相关技术存在的不必要功耗浪费资源的问题。 The application provides a chip power supply control method, device and communication device. The chip power supply control method includes: setting a power supply switch for the chip; acquiring an operating state of the chip, the running state includes an idle state and a working state; and controlling the power supply switch according to the operating state . This application provides power supply for the chip in the board. Off, so that the power supply of each chip is controllable, and the corresponding switches are controlled according to the operating state of each chip, thereby controlling whether or not the power is turned on according to the operation condition of each chip, thereby avoiding unnecessary power consumption and solving the related The unnecessary power consumption of technology wastes resources.

Claims (10)

  1. 一种单板内芯片供电控制方法,包括:A chip power supply control method in a single board, comprising:
    为芯片设置供电开关;Setting a power switch for the chip;
    获取芯片的运行状态,所述运行状态包括空闲状态及工作状态;Obtaining an operating state of the chip, where the operating state includes an idle state and an operating state;
    根据所述运行状态控制所述供电开关。The power switch is controlled according to the operating state.
  2. 如权利要求1所述的方法,其中,所述芯片包括交换芯片,所述空闲状态包括所述交换芯片生成的所有以太网端口均闲置;所述交换芯片生成的所有以太网端口包括:所述交换芯片直接生成的以太网端口以及通过PHY芯片间接生成的以太网端口。The method of claim 1 wherein said chip comprises a switch chip, said idle state comprising all Ethernet ports generated by said switch chip being idle; all Ethernet ports generated by said switch chip comprising: said The Ethernet port directly generated by the switch chip and the Ethernet port generated indirectly through the PHY chip.
  3. 如权利要求1或2所述的方法,其中,所述根据所述运行状态控制所述供电开关工作包括:当检测到所述芯片处于空闲状态时,关闭所述供电开关。The method of claim 1 or 2, wherein said controlling said power switch operation in accordance with said operating state comprises: turning off said power supply switch when said chip is detected to be in an idle state.
  4. 如权利要求3所述的方法,还包括:显示所述芯片的运行状态,在接收到用户关闭芯片的指令时,判断所述芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。The method of claim 3, further comprising: displaying an operating state of the chip, determining whether the chip is in a working state when receiving an instruction of the user to turn off the chip, and not executing if the working state is in a working state, if not If it is working, it will be executed.
  5. 如权利要求3所述的方法,还包括:当检测到处于掉电状态的芯片的以太网端口需要启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启所述供电开关。The method of claim 3, further comprising: turning on the power supply when it is detected that the Ethernet port of the chip in the power-down state needs to be enabled, or when receiving an instruction from the user to enable the chip in the power-down state switch.
  6. 一种单板内芯片供电控制装置,包括:A chip power supply control device in a single board, comprising:
    设置模块,被配置为为芯片设置供电开关;a setting module configured to set a power switch for the chip;
    获取模块,被配置为获取芯片的运行状态,所述运行状态包括空闲状态及工作状态;An acquiring module configured to acquire an operating state of the chip, where the operating state includes an idle state and an operating state;
    控制模块,被配置为根据所述运行状态控制所述供电开关。And a control module configured to control the power switch according to the operating state.
  7. 如权利要求6所述的装置,其中,所述控制模块被配置为当检测到所述 芯片处于空闲状态时,关闭所述供电开关。The apparatus of claim 6 wherein said control module is configured to detect said When the chip is in an idle state, the power switch is turned off.
  8. 如权利要求7所述的装置,其中,所述控制模块还被配置为显示所述芯片的运行状态,在接收到用户关闭芯片的指令时,判断所述芯片是否处于工作状态,若处于工作状态,则不执行,若不处于工作状态,则执行。The apparatus of claim 7, wherein the control module is further configured to display an operating state of the chip, and when receiving an instruction of the user to turn off the chip, determine whether the chip is in a working state, if it is in a working state , it is not executed, if it is not working, it is executed.
  9. 如权利要求7所述的装置,其中,所述控制模块还被配置为当检测到处于掉电状态的芯片的以太网端口需要启用时,或者,在接收到用户启用处于掉电状态的芯片的指令时,开启所述供电开关。The apparatus of claim 7, wherein the control module is further configured to, when it is detected that an Ethernet port of a chip in a power-down state needs to be enabled, or, upon receiving a user-enabled chip in a power-down state When the command is issued, the power switch is turned on.
  10. 一种通信设备,包括单板,以及如权利要求6至9任一项所述的芯片供电控制装置。 A communication device comprising a single board, and the chip power supply control device according to any one of claims 6 to 9.
PCT/CN2016/078817 2015-06-12 2016-04-08 Method and device for controlling power supply to chip, and communication device WO2016197685A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510323505.6A CN106301803A (en) 2015-06-12 2015-06-12 A kind of chip power supply control method, device and communication equipment
CN201510323505.6 2015-06-12

Publications (1)

Publication Number Publication Date
WO2016197685A1 true WO2016197685A1 (en) 2016-12-15

Family

ID=57503175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078817 WO2016197685A1 (en) 2015-06-12 2016-04-08 Method and device for controlling power supply to chip, and communication device

Country Status (2)

Country Link
CN (1) CN106301803A (en)
WO (1) WO2016197685A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055139B (en) * 2017-12-05 2020-10-09 安徽皖通邮电股份有限公司 Method for reducing power consumption of communication equipment port in idle state
CN108415357A (en) * 2018-02-09 2018-08-17 上海欣诺通信技术股份有限公司 A kind of optical transmission device effectively reducing power consumption
CN111158765B (en) * 2019-12-17 2023-07-28 深圳市显控科技股份有限公司 Device and method for controlling running state of main control chip
CN111092739B (en) * 2019-12-26 2022-02-15 网络通信与安全紫金山实验室 Dynamic adjusting method for power consumption of switch
CN112532543A (en) * 2020-11-26 2021-03-19 浪潮电子信息产业股份有限公司 Switch control method, device, equipment and computer readable storage medium
CN114995621B (en) * 2022-06-30 2023-07-14 苏州浪潮智能科技有限公司 Method, system, equipment and medium for improving energy efficiency of server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234076A1 (en) * 2006-03-31 2007-10-04 Hon Hai Precision Industry Co., Ltd. Power management system and method for network device
CN101101502A (en) * 2006-07-07 2008-01-09 华硕电脑股份有限公司 Network control device and network chip starting method
CN101414916A (en) * 2008-11-25 2009-04-22 中兴通讯股份有限公司 Veneer power supply control system and veneer
CN103914120A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Power management method and power management system for external module of hand-held device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234076A1 (en) * 2006-03-31 2007-10-04 Hon Hai Precision Industry Co., Ltd. Power management system and method for network device
CN101101502A (en) * 2006-07-07 2008-01-09 华硕电脑股份有限公司 Network control device and network chip starting method
CN101414916A (en) * 2008-11-25 2009-04-22 中兴通讯股份有限公司 Veneer power supply control system and veneer
CN103914120A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Power management method and power management system for external module of hand-held device

Also Published As

Publication number Publication date
CN106301803A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016197685A1 (en) Method and device for controlling power supply to chip, and communication device
RU2684577C1 (en) Scheme, method and device for sharing usb interface
JP2010529548A5 (en)
KR20100090513A (en) Low power system-on-chip
US20080120520A1 (en) Security features in interconnect centric architectures
CN108427885B (en) Basic input output system updating method and device
US20140201513A1 (en) Power management circuit, server, and power management method thereof
CN109391320A (en) network switch system
US20150169484A1 (en) Active USB device and switching method for operating mode thereof
US20130166896A1 (en) Management system for network card
CN108628792B (en) Communication interface current leakage prevention system and method
CN104111390A (en) Device for realizing automatic powering-on/off test
CN104270430A (en) Server remote dispatching method suitable for cloud computing
CN106371876B (en) Method and system for upgrading external program of product
US8412919B2 (en) Method for controlling multi-port network interface card
JP5859562B2 (en) Computer system, remote maintenance configuration and remote maintenance method
CN106445046B (en) A kind of computer equipment and computer equipment method for start-up and shutdown
JP2011003021A (en) Controller
CN102819474B (en) Test method and device for system operation
WO2017215672A1 (en) Power supply method and power supply device in poe system
KR20190054708A (en) Method for reducing standby-power and electronic device thereof
CN104572402B (en) A kind of server and the method for realizing server energy consumption management
CN203520299U (en) Timer-power-on control circuit
CN103217911B (en) Distributed on-off control system, control method, control device, and video monitoring system
CN102681872A (en) Automatic cold boot method of notebook computer

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

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

Country of ref document: EP

Kind code of ref document: A1