CN113014402A - Power management method, main controller and device - Google Patents

Power management method, main controller and device Download PDF

Info

Publication number
CN113014402A
CN113014402A CN202110198527.XA CN202110198527A CN113014402A CN 113014402 A CN113014402 A CN 113014402A CN 202110198527 A CN202110198527 A CN 202110198527A CN 113014402 A CN113014402 A CN 113014402A
Authority
CN
China
Prior art keywords
power
interface module
data storage
power management
operating power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110198527.XA
Other languages
Chinese (zh)
Other versions
CN113014402B (en
Inventor
吴志豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110198527.XA priority Critical patent/CN113014402B/en
Publication of CN113014402A publication Critical patent/CN113014402A/en
Application granted granted Critical
Publication of CN113014402B publication Critical patent/CN113014402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

A power management method, a main controller and a device can manage the total power supply power of a network interface in equipment, thereby improving the utilization rate of power. The method can be applied to a power management device, the power management device comprises a main controller, a first interface module and a second interface module are arranged on the main controller, the first interface module is used for connecting one or more data storage terminals, the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces, and the method specifically comprises the following steps: the main controller determines the number of data storage ends connected with the first interface; and the main controller adjusts the operating power of the second interface module according to the number of the data storage ends, wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces.

Description

Power management method, main controller and device
Technical Field
The invention relates to the technical field of Power Over Ethernet (POE) power supply, in particular to a power management method, a main controller and a device.
Background
Power On Ethernet (POE) refers to a technology that can transmit data signals to some network terminal devices and provide dc Power for such devices, based on the existing Ethernet 5-class twisted pair wiring infrastructure. In the prior art, some Network Video Recorder (NVR) devices supporting POE power supply are generally provided with a plurality of Network interfaces (generally, POE ethernet ports) for supplying power to a plurality of Network terminal devices in a docked manner, and simultaneously transmit data signals with the plurality of Network terminal devices. Typically, NVR devices only support power management for a single network interface and do not limit the total power supply for multiple network interfaces in the device. Therefore, how to better manage the total power supply of multiple network interfaces in a device is a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a power management method, a main controller and a device, which can realize the management of the total power supply power of a network interface in equipment.
In a first aspect, an embodiment of the present invention provides a power management method applied to a power management device, where the power management device includes a main controller, where the main controller is provided with a first interface module and a second interface module, the first interface module is used to connect to one or more data storage ports, and the second interface module is used to connect to one or more data providing ports through multiple network interfaces, where the method includes:
the main controller determines the number of data storage ends connected with the first interface module;
and the main controller adjusts the operating power of the second interface module according to the number of the data storage ends, wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces.
Optionally, the adjusting the operating power of the second interface module according to the number of the data storage terminals includes:
and adjusting the operating power of the second interface module to be A-N B according to the number N of the data storage ends, wherein A is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, and N is an integer greater than or equal to 1.
Optionally, the adjusting the operating power of the second interface module according to the number of the data storage terminals includes:
adjusting the operating power of the second interface module to be a-N × B-C according to the number N of the data storage ends, where a is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, N is an integer greater than or equal to 1, C is the operating power of other modules in the power management device, and the other modules are modules in the power management device except the first interface module and the second interface module.
Optionally, the power management apparatus further includes a POE controller; the POE controller is connected to the master controller and the plurality of network interfaces, and the method further includes:
the main controller sends a control command to the POE controller, the control command comprises the numerical value of the operating power, and the control command is used for indicating the POE controller to adjust the operating power of the network interfaces according to the operating power.
Optionally, the number of the network interfaces is P, the P network interfaces are connected to P data providing terminals, each network interface corresponds to one data providing terminal, and P is an integer greater than 1; the method further comprises the following steps:
the POE controller averagely distributes the running power to the P network interfaces; or, the POE controller sequentially allocates operating power to the P network interfaces according to a preset sequence.
In a second aspect, an embodiment of the present invention provides a host controller, where the host controller includes a first interface module and a second interface module; the first interface module is used for connecting one or more data storage terminals, and the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces; the main controller is used for determining the number of data storage ends connected with the first interface module;
the main controller is further configured to adjust an operating power of the second interface module according to the number of the data storage terminals, where the operating power of the second interface module is related to a total operating power of the plurality of network interfaces.
Optionally, when the main controller is configured to adjust the operating power of the second interface module according to the number of the data storage ends, the main controller is specifically configured to:
and adjusting the operating power of the second interface module to be A-N B according to the number N of the data storage ends, wherein A is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, and N is an integer greater than or equal to 1.
Optionally, when the main controller is configured to adjust the operating power of the second interface module according to the number of the data storage ends, the main controller is specifically configured to:
adjusting the operating power of the second interface module to be a-N × B-C according to the number N of the data storage ends, where a is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, N is an integer greater than or equal to 1, C is the operating power of other modules in the power management device, and the other modules are modules in the power management device except the first interface module and the second interface module.
In a third aspect, an embodiment of the present invention provides a power management apparatus, including the main controller as described in the second aspect; the power management apparatus further includes: memory interface, network interface and POE controller, main control unit through first interface module with memory interface connection, through second interface module with network interface connection, POE controller with main control unit with network interface connection.
In a fourth aspect, an embodiment of the present invention provides a power management apparatus, including:
a memory for storing computer instructions;
a processor, coupled to the memory, for executing the computer instructions in the memory to perform the method as provided by the first aspect above when executing the computer instructions.
In a fifth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the method as provided in the first aspect.
In a sixth aspect, embodiments of the present invention provide a computer program product, which when run on a computer causes the computer to perform the method as provided in the first aspect above.
The embodiment of the invention provides a power management method, which is applied to a power management device, wherein the power management device can be connected with one or more data storage terminals through one or more memory interfaces, and can be connected with one or more data providing terminals through one or more network interfaces. The method first determines the number of connected data storage ports, and then manages the total operating power of the one or more network interfaces according to the number of data storage ports. Therefore, the power management device can avoid the damage of other hardware and the waste of power caused by the over-large total power distributed to the network interface and the over-small power distributed to other hardware; or the limited upper limit power of each network interface is prevented from being too small, so that the user experience is not good.
Drawings
Fig. 1 is a schematic view of a scenario corresponding to a power management method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of power consumption division of the NVR device according to the embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating a power management method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a power management apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another power management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a main controller according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another power management apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are some, not all embodiments of the solution of the invention. All other embodiments obtained by a person skilled in the art without any creative effort based on the embodiments described in the present document belong to the protection scope of the technical solution of the present invention.
In the prior art, an NVR device supporting POE power supply generally supports power management of a single network interface, only limits an upper limit of power supply power of each network interface according to a protocol specification of POE, and does not limit total power supply power of all network interfaces. However, the total power of the NVR device is usually a fixed value, so that when the network terminal device connected to the NVR device through the network interface is excessive, that is, the POE power load of the NVR device is excessive, it is very easy to cause the power supply shortage of other functional modules of the NVR device to cause an abnormality, thereby causing the device life of the other functional modules to be reduced or damaged. In another possible case, the partial NVR device sets the total power supply of the network interface to a fixed value, which may result in a low utilization rate of the power allocated to the network interface when the fixed value is large and the network terminal device connected to the NVR device through the network interface is small; when the fixed value is small, the power allocated to each network terminal device may be too small, resulting in poor user experience.
In view of this, embodiments of the present invention provide a power management method, which is applicable to a power management device, and dynamically adjust a total power supply allocated to a network interface according to the number of data storage terminals connected to the power management device, so as to well avoid that the power supply allocated to the network interface is too large or too small, and improve the power utilization.
The technical scheme provided by the embodiment of the invention is described in the following with the accompanying drawings of the specification.
Fig. 1 is a scene diagram corresponding to a power management method according to an embodiment of the present invention. The NVR device is further provided with a plurality of Serial ATA (SATA) interfaces and a plurality of POE ethernet ports. Each POE Ethernet port on the NVR equipment is connected with an IPC, each POE Ethernet port supplies power to each IPC when performing data transmission with the IPC, and each SATA interface is connected with a hard disk, so that the NVR equipment can store data into the corresponding hard disk through the SATA interface. The SATA interface on the NVR equipment can also be other interface equipment which can be used for data transmission between the mainboard and the storage equipment; the hard disk may also be other available storage media, including but not limited to a magnetic disk memory, a flash memory, an optical memory, and the like, and the embodiments of the present invention do not limit this.
In the operation process of the NVR device shown in fig. 1, each POE ethernet port receives IPC video records through ethernet, and then the NVR device stores the received video records in a corresponding hard disk through a SATA interface. In this operating state, the overall power consumption (hereinafter referred to as power consumption) of the NVR device is divided as shown in fig. 2, and specifically may be divided into hard disk power consumption, board power consumption, and POE power supply power consumption. Wherein the hard disk consumption is the power loss when NVR equipment is external hard disk power supply, and POE power supply consumption is the power loss when NVR equipment passes through POE ethernet port and supplies power for the IPC of butt joint, and the veneer consumption is the produced consumption of main control unit and other components and parts normal operating in the NVR equipment.
When the NVR device is powered by the external adapter, the overall power consumption of the NVR device is provided by the adapter. When the NVR device operates normally, the power consumption of the board generally needs to be maintained within a certain range, otherwise, the NVR device may have a function abnormality. In addition, the power required by the NVR device to power a hard disk is usually a nominal value, and the power consumption of the hard disk can be usually determined by the number of hard disks connected to the NVR device. Therefore, the NVR device can dynamically adjust the total power provided to the POE ethernet ports according to the number of the connected hard disks, thereby preventing the occurrence of an abnormality that the POE power load of the NVR device is too large, which causes a situation that the power supply of the single board or the hard disk is insufficient, and also avoiding the problem of low power utilization rate of the NVR device.
It should be noted that the above-mentioned scenarios are merely presented to facilitate an understanding of the spirit and principles of the present invention, and the present examples are not intended to be limiting in any way. Rather, embodiments of the present invention may be applied in any scenario where applicable.
Referring to fig. 3, a flowchart corresponding to a power management method according to an embodiment of the present invention is shown, where the method is applicable to the power management apparatus shown in fig. 4, the power management apparatus includes a main controller, and the main controller is provided with a first interface module and a second interface module. The first interface module is used for connecting one or more data storage ends, wherein the first interface module can be directly connected with the one or more data storage ends or can be connected with the one or more data storage ends through one or more memory interfaces; the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces. Optionally, the power management apparatus may also include a POE controller, where the POE controller is connected to the main controller and each network interface. The power management method in the embodiment of the invention specifically comprises the following steps:
step 301: the main controller determines the number of data storage ends connected with the first interface.
As shown in fig. 4, the first interface module in the figure is used to connect with a plurality of data storage terminals (e.g. hard disk, flash memory, magnetic disk, etc.), and optionally, the first interface module may be directly connected with n data storage terminals, or may be connected with a plurality of data storage terminals through n memory interfaces, where each memory interface is used to connect with one data storage terminal. When N data storage ends are connected with the first interface module, the main controller can identify the number of the connected data storage ends through the first interface module, wherein N and N are positive integers.
Step 302: and the main controller adjusts the running power of the second interface module according to the number of the data storage ends. Wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces.
After the main controller identifies the number of the data storage terminals, the operating power of the second interface module may be adjusted according to the number of the data storage terminals, wherein the operating power of the second interface module is also the total operating power allocated to all network interfaces by the main controller.
One possible source of power consumption in the power management apparatus shown in fig. 4 includes power consumed by the second interface module connecting to the data storage terminal and power consumed by the network interface connecting to the data providing terminal, wherein the power consumed by the first interface module connecting to each data storage terminal is a fixed value. When the total power in the power management device is a fixed value, the main controller can determine the numerical value of the operating power distributed to the first interface module through the number of the connected data storage ends, and then adjust the total operating power of the plurality of network interfaces according to the numerical value of the operating power.
For example, when the number of the data storage terminals is N, the main controller may adjust the operating power of the network interface to a-N × B, where a is the total power of the power management device and B is the power required by each data storage terminal of the N data storage terminals.
Another possible source of power consumption in the power management apparatus includes power consumed by the first interface module connecting to the data storage terminal, power consumed by the network interface connecting to the data providing terminal, and power consumed by other modules in the power management apparatus except the first interface module and the second interface module. In this case, when the number of the data storage terminals is N, the main controller may adjust the operating power of the second interface module to a-N × B-C, where a is a total power of the power management device, B is a power required by each data storage terminal of the N data storage terminals, and C is an operating power of other modules of the power management device, where the other modules are modules of the power management device except the second interface module and the second interface module.
The above step 302 illustrates the case where the POE controller is not included in the power management device. When the POE controller is included in the power management apparatus shown in fig. 4, the method further includes: the main controller sends a control command to the POE controller, wherein the control command comprises the numerical value of the operating power and can be used for indicating the POE controller to adjust the operating power of the plurality of network interfaces according to the operating power.
In the step 302, the main controller has adjusted the total operating power of the plurality of network interfaces according to the number of the data storage ends, and after that, after receiving the control command sent by the main controller, the POE controller may adjust the operating power of each network interface according to the value of the operating power. For example, the second interface module includes P network interfaces, where the P network interfaces are connected to P data providing terminals, and each network interface corresponds to one data providing terminal. After the POE controller receives the control command sent by the main controller, a possible situation is that the POE controller distributes the operating power to P data providing terminals on average, and the power received by each data providing terminal is equal. It is also possible that the P network interfaces have a priority order, wherein the priority order may be an order set by a user, a default order arranged according to the numbers of the network interfaces, or an order arranged according to the importance levels of the data providers connected to the network interfaces. For example, assume that network interface 1 has the highest priority, followed by network interface 2, then network interface 3, and other network interfaces. When the POE controller allocates the operating power to the P data providing terminals, according to the preset sequence of the priority, first allocating sufficient operating power to the network interface 1, then allocating the operating power to the network interface 2, and sequentially allocating the operating power to the P data providing terminals by the POE controller in the same manner. And when the total operating power distributed to the network interface by the main controller cannot meet the power required by all the data providing ends, the data providing ends with higher priority are preferentially met.
A power management method in an embodiment of the invention is further described with reference to the apparatus shown in fig. 5. As shown in fig. 5, when the power management method in the embodiment of the present invention is applied to the scenario shown in fig. 1, the corresponding first interface module in the power management apparatus may be an SATA interface module, and the SATA interface module expands a plurality of SATA interfaces (corresponding to a plurality of memory interfaces in the power management apparatus) through the SATA extension module, where the SATA extension module is composed of various SATA extension chips. In addition, each SATA interface of the plurality of SATA interfaces may be connected to a hard disk (data storage side) for storing data received from the host controller. The second interface module in the power management device may be an ethernet interface module, the ethernet interface module is connected to the uplink interface of the network switch, and a plurality of network interfaces are extended through the downlink interface of the network switch, and the plurality of network interfaces may be connected to a plurality of IPC devices (data receiving terminals) and receive data collected by the plurality of IPC devices. In addition, the main controller is connected with and controls the POE controller through an Inter-Integrated Circuit (IIC) bus. The POE controller is connected with each network interface respectively to control the operating power of each network interface, specifically include: the POE controller can control whether to supply power to the IPC devices connected to each network interface, or control the power supply of each IPC device. For example, the POE controller can control to allocate operating power only to the network interface 1 and the network interface 2 (equivalent to supplying power only to the IPC devices connected to the network interface 1 and the network interface 2), and not allocate operating power to other network interfaces (equivalent to not supplying power to the IPC devices connected to other network devices); alternatively, the POE controller may control the operation power allocated to the network interface 1 to be a, the operation power allocated to the network interface 2 to be b (which is equivalent to the power supply power of the IPC device connected to the network interface 1 to be a, and the power supply power of the IPC device connected to the network interface 2 to be b), and so on.
When the external power source supplies power to the power management device shown in fig. 5, the total power of the power management device is a constant value, which is denoted as a. The main controller in the power management device needs to distribute the total power to each module in the power management device so that the power management device can stably and safely operate. One possible way is that the host controller recognizes, through the SATA extension module, that the number of hard disks actually accessed to the SATA interface is N, and since the power consumed by each hard disk is generally a fixed value (denoted as B), the host controller may calculate, according to the number of hard disks, the operating power allocated to the SATA interface to be N × B. If the power consumed by the other modules in the power management apparatus except the SATA interface and the network interface during operation is a fixed value (denoted as C), the total operating power that the main controller needs to allocate to the network interface is a-N × B-C, which is equivalent to the total power supply power of the main controller to all the IPC devices being a-N × B-C. For example, when the SATA interface in the power management apparatus accesses a hard disk and the network interface accesses 3 IPC devices, the total power supply provided by the main controller for the 3 IPC devices is a-B-C. In addition, the POE controller may control the power provided to each IPC device to be (A-B-C)/3, or the POE controller may control the power provided to the first IPC device to be (A-B-C)/2, the power provided to the second IPC device to be (A-B-C)/2, and no power provided to the third IPC device. By using the power management method provided by the embodiment of the invention, the power provided for the IPC equipment is adjusted by identifying the number of the accessed hard disks, the total power in the power management device is fully utilized on the premise of ensuring the normal operation of the hard disks and other modules, and the utilization rate of the power is improved.
Based on the same inventive concept, the embodiment of the present invention provides a main controller, which can implement the corresponding function of the foregoing power management method. The main controller can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices.
Referring to fig. 6, the main controller includes a first interface module and a second interface module; the first interface module is used for connecting one or more data storage terminals, and the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces; wherein the content of the first and second substances,
the main controller is used for determining the number of data storage ends connected with the first interface module;
the main controller is further configured to adjust an operating power of the second interface module according to the number of the data storage terminals, where the operating power of the second interface module is related to a total operating power of the plurality of network interfaces.
Optionally, when the main controller is configured to adjust the operating power of the second interface module according to the number of the data storage ends, the main controller is specifically configured to:
and adjusting the operating power of the second interface module to be A-N B according to the number N of the data storage ends, wherein A is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, and N is an integer greater than or equal to 1.
Optionally, when the main controller is configured to adjust the operating power of the second interface module according to the number of the data storage ends, the main controller is specifically configured to:
adjusting the operating power of the second interface module to be a-N × B-C according to the number N of the data storage ends, where a is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, N is an integer greater than or equal to 1, C is the operating power of other modules in the power management device, and the other modules are modules in the power management device except the first interface module and the second interface module.
All relevant contents of each step related to the embodiment of the power management method may be referred to the functional description of the functional module corresponding to the main controller in the embodiment of the present invention, and are not described herein again.
Based on the same inventive concept, an embodiment of the present invention provides a power management apparatus, as shown in fig. 4, the apparatus includes a main controller as shown in fig. 6, and further includes: memory interface, network interface and POE controller, main control unit through first interface module with memory interface connection, through second interface module with network interface connection, POE controller with main control unit with network interface connection. All relevant contents of each step related to the embodiment of the power management method may be referred to the functional description of the functional module corresponding to the power management apparatus in the embodiment of the present invention, and are not described herein again.
Referring to fig. 7, based on the same inventive concept, an embodiment of the present invention provides another power management apparatus, which includes at least one processor 701, where the processor 701 is configured to execute a computer program stored in a memory, and implement the steps of the power management method shown in fig. 3 provided by the embodiment of the present invention.
Alternatively, the processor 701 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, that may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the power management method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Optionally, the power management apparatus may further include a memory 702 connected to the at least one processor 701, where the memory 702 stores instructions executable by the at least one processor 701, and the at least one processor 701 may execute the steps included in the foregoing power management method by executing the instructions stored in the memory 702.
In this embodiment of the present invention, a specific connection medium between the processor 701 and the Memory 702 is not limited, and the Memory 702 may include at least one type of storage medium, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read-Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and the like. The memory 702 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 702 of embodiments of the present invention may also be circuitry or any other device capable of performing a storage function to store program instructions and/or data.
By programming the processor 701, the code corresponding to the power management method described in the foregoing embodiment may be solidified into a chip, so that the chip can execute the steps of the power management method when running.
Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the steps of the power management method as described above.
In some possible embodiments, the aspects of the power management method provided by the present invention may also be implemented in the form of a program product comprising program code for causing a detection device to perform the steps of the video processing method according to various exemplary embodiments of the present invention described above in this specification, when the program product is run on an electronic device. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A power management method is applied to a power management device, the power management device comprises a main controller, the main controller is provided with a first interface module and a second interface module, the first interface module is used for connecting one or more data storage terminals, the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces, and the method comprises the following steps:
the main controller determines the number of data storage ends connected with the first interface module;
and the main controller adjusts the operating power of the second interface module according to the number of the data storage ends, wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces.
2. The method of claim 1, wherein said adjusting the operating power of the second interface module based on the number of data storage ports comprises:
and adjusting the operating power of the second interface module to be A-N B according to the number N of the data storage ends, wherein A is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, and N is an integer greater than or equal to 1.
3. The method of claim 1, wherein said adjusting the operating power of the second interface module based on the number of data storage ports comprises:
adjusting the operating power of the second interface module to be a-N × B-C according to the number N of the data storage ends, where a is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, N is an integer greater than or equal to 1, C is the operating power of other modules in the power management device, and the other modules are modules in the power management device except the first interface module and the second interface module.
4. The method of claim 1, further comprising a POE controller in the power management device; the POE controller is connected to the master controller and the plurality of network interfaces, and the method further includes:
the main controller sends a control command to the POE controller, the control command comprises the numerical value of the operating power, and the control command is used for indicating the POE controller to adjust the operating power of the network interfaces according to the operating power.
5. The method according to claim 4, wherein the number of the network interfaces is P, the P network interfaces are connected to P data providing terminals, each network interface corresponds to one data providing terminal, and P is an integer greater than 1; the method further comprises the following steps:
the POE controller averagely distributes the running power to the P network interfaces; alternatively, the first and second electrodes may be,
and the POE controller distributes the operating power to the P network interfaces in sequence according to a preset sequence.
6. A main controller is characterized in that the main controller comprises a first interface module and a second interface module; the first interface module is used for connecting one or more data storage terminals, and the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces; wherein the content of the first and second substances,
the main controller is used for determining the number of data storage ends connected with the first interface module;
the main controller is further configured to adjust an operating power of the second interface module according to the number of the data storage terminals, where the operating power of the second interface module is related to a total operating power of the plurality of network interfaces.
7. The host controller according to claim 6, wherein the host controller, when being configured to adjust the operating power of the second interface module according to the number of the data storage terminals, is specifically configured to:
and adjusting the operating power of the second interface module to be A-N B according to the number N of the data storage ends, wherein A is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, and N is an integer greater than or equal to 1.
8. The host controller according to claim 6, wherein the host controller, when being configured to adjust the operating power of the second interface module according to the number of the data storage terminals, is specifically configured to:
adjusting the operating power of the second interface module to be a-N × B-C according to the number N of the data storage ends, where a is the total power of the power management device, B is the power required by each data storage end in the N data storage ends, N is an integer greater than or equal to 1, C is the operating power of other modules in the power management device, and the other modules are modules in the power management device except the first interface module and the second interface module.
9. A power management apparatus comprising a master controller according to any one of claims 6 to 8; the power management apparatus further includes: memory interface, network interface and POE controller, main control unit through first interface module with memory interface connection, through second interface module with network interface connection, POE controller with main control unit with network interface connection.
10. A power management apparatus, comprising:
a memory for storing computer instructions;
a processor coupled to the memory for executing the computer instructions in the memory and when executing the computer instructions performing the method of any of claims 1 to 5.
11. A computer-readable storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 5.
CN202110198527.XA 2021-02-22 2021-02-22 Power management method, main controller and device Active CN113014402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110198527.XA CN113014402B (en) 2021-02-22 2021-02-22 Power management method, main controller and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110198527.XA CN113014402B (en) 2021-02-22 2021-02-22 Power management method, main controller and device

Publications (2)

Publication Number Publication Date
CN113014402A true CN113014402A (en) 2021-06-22
CN113014402B CN113014402B (en) 2023-03-24

Family

ID=76406432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110198527.XA Active CN113014402B (en) 2021-02-22 2021-02-22 Power management method, main controller and device

Country Status (1)

Country Link
CN (1) CN113014402B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030392A1 (en) * 2008-07-31 2010-02-04 Microsemi Corp. - Analog Mixed Signal Group Ltd. Time Integrated Guard Band
CN102883423A (en) * 2012-09-25 2013-01-16 福建星网锐捷网络有限公司 Method and device for allocating power of power over Ethernet (POE) modules
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN106789109A (en) * 2016-12-16 2017-05-31 迈普通信技术股份有限公司 Power management method and device
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system
CN109981298A (en) * 2019-04-07 2019-07-05 恒启电子(苏州)有限公司 Industrial switch POE power management method and management system
CN110401240A (en) * 2019-06-28 2019-11-01 联想(北京)有限公司 Method of supplying power to and electronic equipment
CN111817863A (en) * 2020-06-19 2020-10-23 新华三信息安全技术有限公司 Power management method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030392A1 (en) * 2008-07-31 2010-02-04 Microsemi Corp. - Analog Mixed Signal Group Ltd. Time Integrated Guard Band
CN102883423A (en) * 2012-09-25 2013-01-16 福建星网锐捷网络有限公司 Method and device for allocating power of power over Ethernet (POE) modules
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN108075900A (en) * 2016-11-16 2018-05-25 杭州海康威视数字技术股份有限公司 Poewr control method, device and electronic equipment in a kind of Power over Ethernet system
CN106789109A (en) * 2016-12-16 2017-05-31 迈普通信技术股份有限公司 Power management method and device
CN109981298A (en) * 2019-04-07 2019-07-05 恒启电子(苏州)有限公司 Industrial switch POE power management method and management system
CN110401240A (en) * 2019-06-28 2019-11-01 联想(北京)有限公司 Method of supplying power to and electronic equipment
CN111817863A (en) * 2020-06-19 2020-10-23 新华三信息安全技术有限公司 Power management method and equipment

Also Published As

Publication number Publication date
CN113014402B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
EP3242185B1 (en) Server rack power management
US11921555B2 (en) Systems, methods, and devices for providing power to devices through connectors
US8893146B2 (en) Method and system of an I/O stack for controlling flows of workload specific I/O requests
DE112013004026T5 (en) Apparatus, system and method for switched power transmission to an I / O interface
US9298662B2 (en) Providing expansion card settings
US8037223B2 (en) Reconfigurable I/O card pins
US11144085B2 (en) Dynamic maximum frequency limit for processing core groups
WO2016127291A1 (en) Memory management device and method
CN111008162A (en) Method and system for realizing single PCIE slot supporting multiple PCIE ports
CN114003528A (en) OCP switching card, switching system and switching method
CN110399168A (en) Majority according to disk storage server system start method, device and equipment
CN113014402B (en) Power management method, main controller and device
CN112134752B (en) Method, system, equipment and medium for monitoring switch based on BMC
US8086876B2 (en) Static and dynamic power management for a memory subsystem
CN112069108A (en) Flexible server configuration system and method based on PCIE Switch
CN111078407B (en) Memory management method and device, storage medium and electronic equipment
CN106708239A (en) Method and device for adjusting power consumption
CN114676085B (en) CCIX bus control method, device and medium
CN110581869A (en) resource allocation method, TLP packet processing method, equipment and storage medium
US20200081741A1 (en) Information processing apparatus and memory management method
CN113190184B (en) Hardware cluster device and storage equipment management method
US11960899B2 (en) Dual in-line memory module map-out in an information handling system
CN113867515B (en) Method, device, terminal and storage medium for automatically adjusting current sharing of server power supply
CN117421257A (en) Memory bank initialization method, device, equipment and storage medium
CN116775063A (en) EMMC self-adaptive upgrading method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant