CN113014402B - Power management method, main controller and device - Google Patents
Power management method, main controller and device Download PDFInfo
- Publication number
- CN113014402B CN113014402B CN202110198527.XA CN202110198527A CN113014402B CN 113014402 B CN113014402 B CN 113014402B CN 202110198527 A CN202110198527 A CN 202110198527A CN 113014402 B CN113014402 B CN 113014402B
- Authority
- CN
- China
- Prior art keywords
- power
- interface module
- data storage
- main controller
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 89
- 238000013500 data storage Methods 0.000 claims abstract description 81
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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
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 on the basis of the existing Ethernet 5-type 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 a total power of the power management apparatus, B is a power required by each data storage end of the N data storage ends, N is an integer greater than or equal to 1, C is an operating power of another module in the power management apparatus, and the another module is a module in the power management apparatus 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 too small to cause poor user experience.
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 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 abnormal condition of insufficient power supply of other functional modules of the NVR device, 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 an average basis, 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 can control the power provided to each IPC device to be (A-B-C)/3, or the POE controller can 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 the third IPC device not to be powered. 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 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, 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 in the 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 (6)
1. A power management method is characterized in that the method is applied to a hard disk video recorder, the hard disk video recorder comprises a main controller, a POE controller and a plurality of network interfaces, a first interface module and a second interface module are arranged on the main controller, the first interface module is used for being connected with one or a plurality of data storage ends, the second interface module is used for being connected with one or a plurality of data providing ends through the plurality of network interfaces, and the POE controller is connected with the main controller and the plurality of network interfaces; the method comprises the following steps:
the main controller determines the number of data storage ends connected with the first interface module;
the main controller determines the power required by the data storage ends according to the number of the data storage ends, and subtracts the power required by the data storage ends from the total power of the hard disk video recorder to obtain the operating power of the second interface module, or,
the main controller determines the power required by the data storage ends according to the number of the data storage ends, and subtracts the power required by the data storage ends and the operating power of other modules in the hard disk video recorder from the total power of the hard disk video recorder to obtain the operating power of the second interface module, wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces, and the other modules are modules in the hard disk video recorder except the first interface module and the second interface module;
the main controller passes through whether POE controller control is for a plurality of network interface supplies power, or main controller to POE controller sends control command, include in the control command the numerical value size of operating power, control command is used for instructing POE controller basis operating power adjustment a plurality of network interface's operating power.
2. The method according to claim 1, 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; or,
and the POE controller distributes the operating power to the P network interfaces in sequence according to a preset sequence.
3. A main controller is characterized in that the main controller, a POE controller and a plurality of network interfaces are arranged in a hard disk video recorder, and 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, the second interface module is used for connecting one or more data providing terminals through a plurality of network interfaces, and the POE controller is connected with the main controller and the plurality of network interfaces; wherein,
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 determine power required by the data storage ends according to the number of the data storage ends, and obtain operating power of the second interface module by subtracting the power required by the data storage ends from the total power of the hard disk video recorder, or,
the main controller determines the power required by the data storage ends according to the number of the data storage ends, and subtracts the power required by the data storage ends and the operating power of other modules in the hard disk video recorder from the total power of the hard disk video recorder to obtain the operating power of the second interface module, wherein the operating power of the second interface module is related to the total operating power of the plurality of network interfaces, and the other modules are modules in the hard disk video recorder except the first interface module and the second interface module;
the main controller passes through whether POE controller control is for a plurality of network interface supplies power, or main controller to POE controller sends control command, include in the control command the numerical value size of operating power, control command is used for instructing POE controller basis operating power adjustment a plurality of network interface's operating power.
4. A power management apparatus, provided in a hard disk video recorder, comprising the main controller according to claim 3; 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.
5. 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-2.
6. 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 2.
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 CN113014402A (en) | 2021-06-22 |
CN113014402B true 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 (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8160753B2 (en) * | 2008-07-31 | 2012-04-17 | Microsemi Corp.—Analog Mixed Signal Group Ltd. | Time integrated guard band |
-
2021
- 2021-02-22 CN CN202110198527.XA patent/CN113014402B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|---|
CN113014402A (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921555B2 (en) | Systems, methods, and devices for providing power to devices through connectors | |
EP3242185B1 (en) | Server rack power management | |
US8893146B2 (en) | Method and system of an I/O stack for controlling flows of workload specific I/O requests | |
US9298662B2 (en) | Providing expansion card settings | |
US8037223B2 (en) | Reconfigurable I/O card pins | |
CN110637272A (en) | Dynamic maximum frequency limit for processing core group | |
US20060069832A1 (en) | Information processing apparatus and method and program | |
CN111008162A (en) | Method and system for realizing single PCIE slot supporting multiple PCIE ports | |
CN110716892A (en) | Board management method and device and communication board | |
CN112732616A (en) | BMC starting method, device and equipment based on SPI controller | |
CN113849431A (en) | System topology structure switching method, device and medium | |
CN113688001A (en) | Dynamic balancing method and device for server hard disk power consumption, terminal and storage medium | |
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 | |
CN103984390A (en) | Blade and blade server | |
CN108196617B (en) | BMC time setting method, device and system and readable storage medium | |
CN116827797A (en) | PCIe bandwidth allocation method and server | |
US11599182B2 (en) | Method and apparatus to distribute current indicator to multiple end-points | |
CN112069108A (en) | Flexible server configuration system and method based on PCIE Switch | |
CN109298944B (en) | Server pressure adjusting method and device, computer device and storage medium | |
CN113867515B (en) | Method, device, terminal and storage medium for automatically adjusting current sharing of server power supply | |
US20210397234A1 (en) | Sharing power among electronic devices connected by serial bus connections | |
CN114676085B (en) | CCIX bus control method, device and medium | |
US11960899B2 (en) | Dual in-line memory module map-out in an information handling system |
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 |