Movatterモバイル変換


[0]ホーム

URL:


CN113568939B - Energy consumption monitoring method, device, server and computer readable storage medium - Google Patents

Energy consumption monitoring method, device, server and computer readable storage medium
Download PDF

Info

Publication number
CN113568939B
CN113568939BCN202110895326.5ACN202110895326ACN113568939BCN 113568939 BCN113568939 BCN 113568939BCN 202110895326 ACN202110895326 ACN 202110895326ACN 113568939 BCN113568939 BCN 113568939B
Authority
CN
China
Prior art keywords
power consumption
consumption data
database
target
data
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
Application number
CN202110895326.5A
Other languages
Chinese (zh)
Other versions
CN113568939A (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.)
Nettrix Information Industry Beijing Co Ltd
Original Assignee
Nettrix Information Industry Beijing 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 Nettrix Information Industry Beijing Co LtdfiledCriticalNettrix Information Industry Beijing Co Ltd
Priority to CN202110895326.5ApriorityCriticalpatent/CN113568939B/en
Publication of CN113568939ApublicationCriticalpatent/CN113568939A/en
Application grantedgrantedCritical
Publication of CN113568939BpublicationCriticalpatent/CN113568939B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides an energy consumption monitoring method, an energy consumption monitoring device, a server and a computer readable storage medium. The method comprises the following steps: receiving an acquisition request sent by a user terminal; acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to an acquisition request in an internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the internet data center; and sending the target power consumption data of the target equipment to the user terminal. In the scheme, after the server receives the acquisition request of the user terminal, the server does not need to acquire the power consumption data from the Internet data center based on the acquisition request of the user terminal, but directly acquires the corresponding power consumption data from the preset database, so that the efficiency of acquiring the power consumption data is improved, the asynchronous acquisition of the power consumption is realized, and the automatic monitoring of the power consumption of each device of the Internet data center is realized.

Description

Energy consumption monitoring method, device, server and computer readable storage medium
Technical Field
The present application relates to the field of power monitoring, and in particular, to an energy consumption monitoring method, an energy consumption monitoring device, a server, and a computer readable storage medium.
Background
In a machine room of an internet data center (INTERNET DATA CENTER, IDC), there is a need to monitor the power consumption of each device in the machine room. At present, the power consumption data of equipment in an internet data center machine room is generally known by manually checking the machine power consumption log of the single equipment. Because the equipment quantity in the computer lab is many, consequently, the manual work of looking over the equipment consumption is big and inefficiency, in addition, the mode of manual work of looking over can't let the administrator in time master the energy consumption condition of each equipment in the computer lab.
Disclosure of Invention
The embodiment of the application aims to provide an energy consumption monitoring method, an energy consumption monitoring device, a server and a computer readable storage medium, which can improve the efficiency of monitoring the power consumption of equipment in an internet data center machine room and facilitate an administrator to timely control the energy consumption of corresponding equipment in the machine room.
In order to achieve the above object, an embodiment of the present application is achieved by:
in a first aspect, an embodiment of the present application provides an energy consumption monitoring method, where the method includes: receiving an acquisition request sent by a user terminal; acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to the acquisition request in an internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the internet data center; and sending the target power consumption data of the target equipment to the user terminal.
In the above embodiment, all the power consumption data of each electronic device in the internet data center are stored by using the preset database, and when the corresponding power consumption data needs to be acquired through the user terminal, the server already stores all the power consumption data, so that after receiving the acquisition request of the user terminal, the server does not need to acquire the power consumption data from the internet data center based on the acquisition request of the user terminal, but directly acquires the corresponding power consumption data from the preset database, thereby being beneficial to improving the efficiency of acquiring the power consumption data, realizing asynchronous acquisition of the power consumption and being beneficial to realizing automatic monitoring of the power consumption of each device in the internet data center.
With reference to the first aspect, in some optional embodiments, the preset database includes a first database and a second database;
obtaining target power consumption data of target equipment from a preset database, wherein the target power consumption data comprises:
The target power consumption data of the target device is obtained from the first database and/or the second database, the first database is used for storing all power consumption data of each electronic device in the internet data center, the second database is used for storing current power consumption data of each electronic device in the internet data center, and the target power consumption data comprises at least one of power consumption data of the target device in the first database and current power consumption data in the second database.
In the above-described embodiment, all the power consumption data is stored with the first database, and the current power consumption data is stored separately with the second database, so that the amount of data in the second database is much smaller than that of the first database. When the user needs to acquire the current power consumption data of the target device, the current power consumption data can be directly acquired from the second database, so that the quick acquisition of the current power consumption data is facilitated, and the efficiency of acquiring the current power consumption data is improved.
With reference to the first aspect, in some optional embodiments, before receiving the acquisition request sent by the user terminal, the method further includes:
Acquiring current power consumption data of each electronic device in the internet data center according to a preset period;
And storing the current power consumption data of each electronic device in the second database.
In the above embodiment, the current power consumption data of each device in the internet data center is periodically acquired and stored in the second database, so that the timeliness of the power consumption data stored in the second database is improved.
With reference to the first aspect, in some optional implementations, after the acquiring the current power consumption data of each electronic device in the internet data center according to the preset period and before the storing the current power consumption data of each electronic device in the second database, the method further includes:
And deleting the power consumption data stored in the second database.
In the above embodiment, by deleting the power consumption data stored in the second database last time, it is possible to ensure that the power consumption data stored in the second database are all the current latest power consumption data.
With reference to the first aspect, in some optional embodiments, obtaining target power consumption data of a target device from the first database and/or the second database includes:
obtaining all power consumption data of the target equipment in a preset duration from the first database through Redis, and/or
Obtaining current power consumption data of the target device from the second database through Redis, wherein the target power consumption data comprises at least one of all power consumption data of the target device within a preset duration and the current power consumption data of the target device.
In the above embodiment, the Redis is a memory-based database, and the target power consumption data is obtained through the Redis, which is beneficial to improving the speed of reading the target power consumption data.
With reference to the first aspect, in some optional implementations, sending the target power consumption data of the target device to the user terminal includes:
And sending the maximum rated power consumption data and the current power consumption data of the target equipment included in the target power consumption data to the user terminal so that the user terminal displays the maximum rated power consumption data and the current power consumption data through Web.
In the embodiment, the user terminal displays the target power consumption data, so that an administrator can conveniently and intuitively check the power consumption conditions of various devices, and the remote monitoring of the power consumption of the devices is facilitated.
With reference to the first aspect, in some optional embodiments, the method further includes:
And when the target equipment does not execute tasks or the current power consumption data of the target equipment is larger than the maximum rated power consumption, controlling the target equipment to stop running.
In the embodiment, when the target device does not execute the task or the current power consumption data is larger than the maximum rated power consumption, the target device is controlled to stop running, so that the power consumption of the internet data center can be reduced, and the overload condition of the target device is avoided.
In a second aspect, the present application also provides an energy consumption monitoring device, the device comprising:
the receiving unit is used for receiving the acquisition request sent by the user terminal;
The power consumption acquisition unit is used for acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to the acquisition request in an internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the internet data center;
and the sending unit is used for sending the target power consumption data of the target equipment to the user terminal.
In a third aspect, the present application also provides a server, including a processor and a memory coupled to each other, where the memory stores a computer program, which when executed by the processor, causes the server to perform the method described above.
In a fourth aspect, the present application also provides a computer readable storage medium having a computer program stored therein, which when run on a computer causes the computer to perform the above-described method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of communication connection between a server and an internet data center, and between the server and a user terminal according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a server according to an embodiment of the present application.
Fig. 3 is a flow chart of an energy consumption monitoring method according to an embodiment of the present application.
Fig. 4 is a block diagram of an energy consumption monitoring device according to an embodiment of the present application.
Icon: 10-a server; 11-a processing module; 12-a memory module; 13-a communication module; 20-an internet data center; 21-an electronic device; 30-user terminals; 200-an energy consumption monitoring device; 210-a receiving unit; 220-a power consumption acquisition unit; 230-transmitting unit.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. It should be noted that the terms "first," "second," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, the present application provides a server 10, where the server 10 may establish a communication connection with each electronic device 21 in the internet data center 20 (INTERNET DATA CENTER, IDC) through a network for data interaction, for example, the server 10 may monitor the energy consumption of each electronic device 21 in the internet data center 20 (INTERNET DATA CENTER, IDC). For example, the electronic device 21 may store and record its own power consumption data in its own specified file, and when the server 10 needs to acquire the power consumption data of the electronic device 21, the electronic device 21 may send the stored and recorded power consumption data from the specified file to the server 10. The specified file may be flexibly set according to actual situations, for example, the specified file may be a log file for storing power consumption data.
The server 10 may also establish a communication connection with the user terminal 30 over a network for data interaction. For example, an administrator may obtain the power consumption of each electronic device 21 in the internet data center 20 from the server 10 through the user terminal 30.
The internet data center 20 may provide the clients with internet basic platform services, various value added services (such as database services and data backup services), and the number and types of the electronic devices 21 included in the internet data center 20 may be flexibly determined according to actual situations. For example, the electronic device 21 may be, but is not limited to, a host device, a rack-mounted server, or the like.
Referring to fig. 2, the server 10 may include a processing module 11 and a storage module 12. The storage module 12 stores a computer program which, when executed by said processing module 11, enables the server 10 to perform the steps of the energy consumption monitoring method described below. The computer program corresponding to the energy consumption monitoring method can be realized by an MVC (Model View Controller, model interface controller) architecture based on an Egg framework. The Egg framework is a Web application framework of open source codes, and is convenient for the expansion of function plug-ins.
It should be noted that the server 10 may further include other modules, for example, the server 10 may further include a communication module 13. The processing module 11, the storage module 12 and the communication module 13 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Referring to fig. 3, the embodiment of the present application further provides an energy consumption monitoring method, which can be applied to the above-mentioned server 10, and the steps of the method are executed or implemented by the server 10. The method may comprise the steps of:
Step S110, receiving an acquisition request sent by a user terminal;
Step S120, acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to the acquisition request in an Internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the Internet data center;
And step S130, the target power consumption data of the target equipment is sent to the user terminal.
In the above embodiment, all the power consumption data of each electronic device in the internet data center are stored by using the preset database, and when the corresponding power consumption data needs to be acquired through the user terminal, the server 10 already stores all the power consumption data, so that after receiving the acquisition request of the user terminal, the server 10 does not need to acquire the power consumption data from the internet data center based on the acquisition request of the user terminal, but directly acquires the corresponding power consumption data from the preset database, thereby being beneficial to improving the efficiency of acquiring the power consumption data, realizing asynchronous acquisition of the power consumption and being beneficial to realizing automatic monitoring of the power consumption of each device in the internet data center.
The steps of the method will be described in detail below, as follows:
in step S110, the user terminal may transmit an acquisition request to the server 10, so that the server 10 responds to the acquisition request when receiving the acquisition request. Wherein the acquisition request is for acquiring target power consumption data of the target device from the server 10. The user terminal may be, but is not limited to, a personal computer, a smart phone, etc.
The target equipment can be one or more electronic equipment in an internet data center room, and can be flexibly determined according to actual conditions. For example, the target device may be all electronic devices in the machine room. The target power consumption data may include, but is not limited to, current power consumption data of the target device, maximum rated power consumption data, all power consumption data of the target device within a preset time period, and the like. The preset duration can be flexibly determined according to actual conditions. Wherein the power consumption data may be the power of the electronic device. For example, the maximum rated power consumption data is the maximum rated power of the electronic device.
Understandably, when the administrator needs to view the power consumption situation of the corresponding device in the internet data center, an acquisition request may be sent to the server 10 through the browser of the user terminal, where the acquisition request carries information such as the number of the target device to be acquired, the period of the power consumption data to be acquired, and the like. In the machine room of the internet data center, different electronic devices have different numbers so as to be convenient for distinguishing.
In step S120, after receiving the acquisition request, the server 10 may parse the acquisition request to extract the number of the electronic device to be acquired, the period of the power consumption data to be acquired, and the like from the acquisition request.
After extracting the request content in the acquisition request, the server 10 may acquire the power consumption data of the corresponding electronic device from the preset database according to the request content.
The preset database may be one database or two databases. When the preset database is two databases, the two databases may be the first database and the second database respectively.
The first database may be used to store all power consumption data for each electronic device in the internet data center. Or the first database may store all historical power consumption data except the current power consumption data of each device.
The second database is for storing current power consumption data for each electronic device in the internet data center. Thus, when the user needs to acquire the current power consumption data, the server 10 can directly realize the rapid reading and response of the current power consumption data from the second database, which is beneficial to improving the response rate of acquiring the current power consumption data.
In this embodiment, the first database may be, but is not limited to, an InfluxDB database and the second database may be, but is not limited to, a MySQL database. Wherein, in the InfluxDB database, each piece of data has a time stamp, so the database is suitable for storing the data which changes along with time, and is beneficial to later analysis of the trend of the data along with time. In the MySQL database, the database has small volume, high speed, low total possession cost, open source code and easy maintenance. The InfluxDB database refers to a time sequence database, and the MySQL database refers to a relational database, which are all databases well known to those skilled in the art.
It should be noted that the first database and the second database may be other databases different from the InfluxDB database and the MySQL database, and the types of the databases are not specifically limited herein.
When the preset database is a database, the preset database may be the first database, that is, the preset database may be the InfluxDB database, and all power consumption data of each device in the machine room may be stored.
In step S130, after acquiring the target power consumption data of the target device, the server 10 may transmit the target power consumption data of the target device to the user terminal, thereby completing the response to the acquisition request.
When receiving the target power consumption data of the target equipment, the user terminal can display the target power consumption data of the target equipment through a browser so that an administrator can intuitively check the data, and thus, the automatic monitoring of each equipment in the IDC machine room can be realized.
As an optional implementation manner, if the preset database includes the first database and the second database, step S120 may include:
The target power consumption data of the target device is obtained from the first database and/or the second database, the first database is used for storing all power consumption data of each electronic device in the internet data center, the second database is used for storing current power consumption data of each electronic device in the internet data center, and the target power consumption data comprises at least one of power consumption data of the target device in the first database and current power consumption data in the second database.
Understandably, the server 10 may flexibly acquire corresponding power consumption data from the first database and the second database according to the request content of the acquisition request.
For example, if the request content of the acquisition request indicates that it is desired to acquire the power consumption data of the target device in all periods (including the current time and all periods before the current time), the server 10 may acquire all the power consumption data of the target device from the first database.
If the request content of the acquisition request indicates that the acquisition of the current power consumption data of the target device is desired, the server 10 may acquire the current power consumption data of the target device from the second database. Because only the current power consumption data of each electronic device is stored in the second database, that is, the data amount stored in the second database is far smaller than the data amount stored in the first database, the server 10 can quickly search and acquire the current power consumption data of the target device in the second database, so that the quick acquisition of the current power consumption data is facilitated, and the response rate of the request is improved.
If the request content of the acquisition request indicates that all the historical power consumption data of the target device is expected to be acquired (the current power consumption data of the target device may not be included in the historical power consumption data), and the current power consumption data of the target device is expected to be acquired. At this time, the server 10 may acquire all the historical power consumption data of the target device from the first database, and acquire the current power consumption data of the target device from the second database.
In this embodiment, the server 10 may transfer part of the power consumption data in the preset database to a Redis (Remote Dictionary Server, remote dictionary service) database in the memory of the server 10 in advance, and the step of obtaining the target power consumption data of the target device from the first database and/or the second database may include:
Obtaining all power consumption data of the target device in a preset time period from the first database through Redis, and/or obtaining current power consumption data of the target device from the second database through Redis, wherein the target power consumption data comprises at least one of all power consumption data of the target device in the preset time period and current power consumption data of the target device.
Understandably, redis is a memory-based database that can also be persisted. The data recorded in the database of the Redis is stored in the memory of the server 10. The data stored in the first database (e.g. the InfluxDB database), the second database (e.g. the MySQL database) is typically stored in a hard disk of the server 10. The rate at which the server 10 reads the same data (same byte size) from its own memory is typically faster than the rate at which the data is read from the hard disk. The server 10 obtains the target power consumption data of the target device through the dis, which is beneficial to improving the rate of obtaining the target data.
In this embodiment, the preset duration may be flexibly determined according to an actual situation, and may be any preset duration before the current time. For ease of distinction, this preset time period may be referred to as a first preset time period. The server 10 may preprocess the corresponding power consumption data in the preset database. The pretreatment process can be as follows: and storing the power consumption data in the first database within a second preset time period and the current power consumption data in the second database in the Redis. The second preset time length comprises the first preset time length, and can be flexibly determined according to actual conditions.
Based on the preprocessing, when receiving the acquisition request, the server 10 may acquire the target power consumption of the target device from the dis, and if there is no power consumption data to be acquired in the dis, acquire the target power consumption data of the target device from the first database and the second database.
As an alternative embodiment, if the preset database includes the first database and the second database, before step S110, the method may include step S101 and step S103, as follows:
Step S101, current power consumption data of each electronic device in the Internet data center are obtained according to a preset period;
Step S103, storing the current power consumption data of each electronic device in the second database.
In this embodiment, the preset period may be flexibly determined according to the actual situation. Understandably, the server 10 may create a periodic task in advance, which may acquire current power consumption data of each electronic device in the internet data center at a preset period, and store the acquired data in the second database.
The current power consumption data of each device that the server 10 acquires from the internet data center at a single time may be: the power consumption data of each electronic device at the current moment, or a data set formed by the power consumption data of each electronic device at a plurality of different moments during the period from the last time of acquiring the power consumption data to the current acquisition of the power consumption data.
It should be noted that the periodically acquired power consumption data may also be stored in the first database, so that the first database may store and record the power consumption data of each device in all periods.
As an alternative embodiment, after step S101 and before step S103, the method may further include step S102, as follows:
step S102, deleting the power consumption data stored in the previous time in the second database.
It is to be understood that, during executing steps S101 to S102, if the power consumption data to be deleted in the second database is already stored in the first database, the power consumption data stored in the second database is deleted before the current power consumption data is stored in the second database, and then the current power consumption data obtained in step S101 is stored in the second database, so that it can be ensured that the power consumption data stored in the second database is the latest power consumption data of each electronic device, so as to improve the timeliness of the current power consumption data.
If the power consumption data to be deleted in the second database is not stored in the first database during the execution of steps S101 to S102, the power consumption data to be deleted in the second database is stored in the first database before the power consumption data stored in the second database last time is deleted, then the power consumption data stored in the second database last time is deleted, and finally the current power consumption data acquired in step S101 is stored in the second database. In this way, omission of power consumption data can be avoided.
As an alternative embodiment, step S130 may include: and sending the maximum rated power consumption data and the current power consumption data of the target equipment included in the target power consumption data to the user terminal so that the user terminal displays the maximum rated power consumption data and the current power consumption data through Web.
In this embodiment, the target power consumption data may include, but is not limited to, maximum rated power consumption data of the target device, current power consumption data, historical power consumption data, and the like. When receiving the target power consumption data, the user terminal can display various power consumption data in the target equipment through the Web browser, so that an administrator can visually check the power consumption condition of the target equipment in the machine room. The administrator can select the number and the type of the target devices according to actual conditions, so that the administrator can flexibly adjust the monitoring objects according to requirements.
As an alternative embodiment, the method may further comprise: and when the target equipment does not execute tasks or the current power consumption data of the target equipment is larger than the maximum rated power consumption, controlling the target equipment to stop running.
It will be appreciated that the server 10 may also monitor the performance of tasks by various devices in the internet data center. The tasks can be flexibly determined according to actual situations, including but not limited to reading data, backing up data and the like. If the target equipment does not execute the task, the target equipment is not required to run, and at the moment, the target equipment can be controlled to be stopped or in a standby state so as to reduce the power consumption of the whole internet data center.
In addition, if the current power consumption data of the target equipment is larger than the maximum rated power consumption, the target equipment is in overload operation, and the target equipment can be controlled to stop operation at the moment so as to avoid burning out of the target equipment due to overload.
Referring to fig. 4, an embodiment of the present application further provides an energy consumption monitoring device 200, which can be applied to the server 10 described above, for executing each step in the method. The energy consumption monitoring device 200 comprises at least one software functional module which may be stored in the memory module 12 in the form of software or Firmware (Firmware) or cured in the Operating System (OS) of the server 10. The processing module 11 is configured to execute executable modules stored in the storage module 12, such as software functional modules and computer programs included in the energy consumption monitoring device 200.
The energy consumption monitoring apparatus 200 may include a receiving unit 210, a power consumption obtaining unit 220, and a transmitting unit 230, and may perform the following operation steps:
a receiving unit 210, configured to receive an acquisition request sent by a user terminal;
A power consumption obtaining unit 220, configured to obtain target power consumption data of a target device from a preset database, where the target device is at least one electronic device in an internet data center corresponding to the obtaining request, and the preset database is used to store all power consumption data of each electronic device in the internet data center;
and a sending unit 230, configured to send the target power consumption data of the target device to the user terminal.
Optionally, the preset database includes a first database and a second database, and the power consumption obtaining unit 220 may be further configured to: the target power consumption data of the target device is obtained from the first database and/or the second database, the first database is used for storing all power consumption data of each electronic device in the internet data center, the second database is used for storing current power consumption data of each electronic device in the internet data center, and the target power consumption data comprises at least one of power consumption data of the target device in the first database and current power consumption data in the second database.
Optionally, before the receiving unit 210 performs step S110, the power consumption obtaining unit 220 is further configured to:
Acquiring current power consumption data of each electronic device in the internet data center according to a preset period;
And storing the current power consumption data of each electronic device in the second database.
Optionally, the energy consumption monitoring device 200 may further comprise a data deletion unit. After the power consumption obtaining unit 220 obtains the current power consumption data of each electronic device in the internet data center according to a preset period, and before the current power consumption data of each electronic device is stored in the second database, the data deleting unit is configured to delete the stored power consumption data in the second database.
Alternatively, the power consumption obtaining unit 220 may be further configured to: obtaining all power consumption data of the target device in a preset time period from the first database through Redis, and/or obtaining current power consumption data of the target device from the second database through Redis, wherein the target power consumption data comprises at least one of all power consumption data of the target device in the preset time period and current power consumption data of the target device.
Optionally, the sending unit 230 may be further configured to: and sending the maximum rated power consumption data and the current power consumption data of the target equipment included in the target power consumption data to the user terminal so that the user terminal displays the maximum rated power consumption data and the current power consumption data through Web.
Optionally, the energy consumption monitoring apparatus 200 may further include a control unit, configured to control the target device to stop operating when the target device does not perform a task or the current power consumption data of the target device is greater than the maximum rated power.
In this embodiment, the processing module 11 may be an integrated circuit chip with signal processing capability. The processing module 11 may be a general purpose processor. For example, the processor may be a central Processing unit (Central Processing Unit, CPU), digital signal processor (DIGITAL SIGNAL Processing, DSP), application Specific Integrated Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components, which may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application.
The memory module 12 may be, but is not limited to, random access memory, read only memory, programmable read only memory, erasable programmable read only memory, electrically erasable programmable read only memory, and the like. In this embodiment, the storage module 12 may be used to store power consumption data for each device in the IDC room. Of course, the storage module 12 may also be used to store a program, which is executed by the processing module 11 upon receiving an execution instruction.
The communication module 13 is used for establishing communication connection between the server 10 and other devices through a network, and transmitting and receiving data through the network.
It will be appreciated that the architecture shown in fig. 2 is merely a schematic illustration of one architecture of the server 10, and that the server 10 may include many more components than those shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
It should be noted that, for convenience and brevity of description, the specific working process of the server 10 described above may refer to the corresponding process of each step in the foregoing method, and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the energy consumption monitoring method as described in the above embodiments.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or by means of software plus a necessary general hardware platform, and based on this understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective implementation scenario of the present application.
In summary, the present application provides an energy consumption monitoring method, an energy consumption monitoring device, a server and a computer readable storage medium. The method comprises the following steps: receiving an acquisition request sent by a user terminal; acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to an acquisition request in an internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the internet data center; and sending the target power consumption data of the target equipment to the user terminal. In the scheme, after the server receives the acquisition request of the user terminal, the server does not need to acquire the power consumption data from the Internet data center based on the acquisition request of the user terminal, but directly acquires the corresponding power consumption data from the preset database, so that the efficiency of acquiring the power consumption data is improved, the asynchronous acquisition of the power consumption is realized, and the automatic monitoring of the power consumption of each device of the Internet data center is realized.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, system and method may be implemented in other manners as well. The above-described apparatus, system, and method embodiments are merely illustrative, for example, flow charts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

The power consumption acquisition unit is used for acquiring target power consumption data of target equipment from a preset database, wherein the target equipment is at least one electronic equipment corresponding to the acquisition request in an internet data center, and the preset database is used for storing all power consumption data of each electronic equipment in the internet data center; the preset database comprises a first database and a second database, wherein the first database is used for storing all power consumption data of each electronic device in the internet data center; if the request content of the acquisition request indicates that the acquisition of the current power consumption data of the target equipment is expected, acquiring the current power consumption data of the target equipment from the second database; if the request content of the acquisition request indicates that the acquisition of the power consumption data of the target equipment in all time periods is expected, acquiring all the power consumption data of the target equipment from the first database; if the request content of the acquisition request indicates that all the historical power consumption data and the current power consumption data of the target equipment are expected to be acquired, acquiring all the historical power consumption data of the target equipment from the first database, and acquiring the current power consumption data of the target equipment from the second database; acquiring all power consumption data of the target equipment in a first preset duration from the first database through a remote dictionary service database, and/or acquiring current power consumption data of the target equipment from the second database through the remote dictionary service database, wherein the target power consumption data comprises at least one of all power consumption data of the target equipment in the preset duration and current power consumption data of the target equipment; storing the power consumption data in the first database within a second preset time period and the current power consumption data in the second database in a remote dictionary service database; the second preset time period comprises the first preset time period;
CN202110895326.5A2021-08-052021-08-05Energy consumption monitoring method, device, server and computer readable storage mediumActiveCN113568939B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110895326.5ACN113568939B (en)2021-08-052021-08-05Energy consumption monitoring method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110895326.5ACN113568939B (en)2021-08-052021-08-05Energy consumption monitoring method, device, server and computer readable storage medium

Publications (2)

Publication NumberPublication Date
CN113568939A CN113568939A (en)2021-10-29
CN113568939Btrue CN113568939B (en)2024-05-24

Family

ID=78170451

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110895326.5AActiveCN113568939B (en)2021-08-052021-08-05Energy consumption monitoring method, device, server and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN113568939B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114265890A (en)*2021-11-302022-04-01深圳兴智数联科技有限公司 Energy consumption data monitoring method, device, equipment and medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102474951A (en)*2009-07-242012-05-23皇家飞利浦电子股份有限公司Lighting system and method for determining energy consumption of lighting scene of lighting system
CN102789219A (en)*2012-07-272012-11-21中国海洋大学Energy management system
CN103095483A (en)*2011-11-082013-05-08中国移动通信集团公司Method and device and system of monitoring energy consumption of data network equipment
CN103309292A (en)*2012-03-162013-09-18江苏华斯软件科技有限公司Energy consumption monitoring device
CN103310294A (en)*2012-03-162013-09-18江苏华斯软件科技有限公司Energy performance contracting system
CN206162182U (en)*2016-09-272017-05-10北京泰利新能源科技发展有限公司Long -range energy monitoring platform of ground source heat pump system
CN107085718A (en)*2017-05-252017-08-22广东欧珀移动通信有限公司 Face detection method and device, computer equipment, and computer-readable storage medium
CN109828994A (en)*2018-12-052019-05-31深圳市双合电气股份有限公司A kind of data managing method and system of government's energy management platform
CN110188102A (en)*2019-05-242019-08-30重庆邮电大学 A system and method for parallel processing of multi-source energy consumption data in a factory
CN111611256A (en)*2020-04-302020-09-01广东良实机电工程有限公司Equipment energy consumption monitoring method and device, terminal equipment and storage medium
CN112084217A (en)*2020-09-172020-12-15腾讯科技(深圳)有限公司Data processing method and related device
CN112286911A (en)*2020-12-152021-01-29中移(苏州)软件技术有限公司 Database management method and device, device and storage medium
CN112527577A (en)*2020-11-272021-03-19苏州浪潮智能科技有限公司Server energy consumption automatic testing and collecting method, system and medium
CN112770354A (en)*2020-12-312021-05-07厦门骐俊物联科技股份有限公司Cellular communication Internet of things terminal data uploading method based on redis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8954478B2 (en)*2010-09-282015-02-10Yiftach ShoolmanSystems, methods, and media for managing RAM resources for in-memory NoSQL databases
US20200126151A1 (en)*2018-10-182020-04-23Capital One Services, LlcSystems and methods for providing budget management that incorporates budget regulated transaction alerts

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102474951A (en)*2009-07-242012-05-23皇家飞利浦电子股份有限公司Lighting system and method for determining energy consumption of lighting scene of lighting system
CN103095483A (en)*2011-11-082013-05-08中国移动通信集团公司Method and device and system of monitoring energy consumption of data network equipment
CN103309292A (en)*2012-03-162013-09-18江苏华斯软件科技有限公司Energy consumption monitoring device
CN103310294A (en)*2012-03-162013-09-18江苏华斯软件科技有限公司Energy performance contracting system
CN102789219A (en)*2012-07-272012-11-21中国海洋大学Energy management system
CN206162182U (en)*2016-09-272017-05-10北京泰利新能源科技发展有限公司Long -range energy monitoring platform of ground source heat pump system
CN107085718A (en)*2017-05-252017-08-22广东欧珀移动通信有限公司 Face detection method and device, computer equipment, and computer-readable storage medium
CN109828994A (en)*2018-12-052019-05-31深圳市双合电气股份有限公司A kind of data managing method and system of government's energy management platform
CN110188102A (en)*2019-05-242019-08-30重庆邮电大学 A system and method for parallel processing of multi-source energy consumption data in a factory
CN111611256A (en)*2020-04-302020-09-01广东良实机电工程有限公司Equipment energy consumption monitoring method and device, terminal equipment and storage medium
CN112084217A (en)*2020-09-172020-12-15腾讯科技(深圳)有限公司Data processing method and related device
CN112527577A (en)*2020-11-272021-03-19苏州浪潮智能科技有限公司Server energy consumption automatic testing and collecting method, system and medium
CN112286911A (en)*2020-12-152021-01-29中移(苏州)软件技术有限公司 Database management method and device, device and storage medium
CN112770354A (en)*2020-12-312021-05-07厦门骐俊物联科技股份有限公司Cellular communication Internet of things terminal data uploading method based on redis

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Research on Energy Management System Integration and Energy Saving Optimization;Zhao, Q等;《THE 2017 GLOBAL CONFERENCE ON MECHANICS AND CIVIL ENGINEERING》;20170125;第132卷;111-114*
基于HBase的电动葫芦能测数据管理系统设计;梅俊等;《计算机科学与应用》;20190122;第9卷(第1期);132-142*
露天煤矿安全生产大数据存储与流式计算技术;荣宝等;《工矿自动化》;20210315;第47卷(第S1期);101-102+109*

Also Published As

Publication numberPublication date
CN113568939A (en)2021-10-29

Similar Documents

PublicationPublication DateTitle
CN113656357B (en)File management method, device, system and storage medium
CN110908879A (en)Method, device, terminal and storage medium for reporting buried point data
CN110222020B (en)Log file management method, device, computer equipment and storage medium
CN111813573B (en)Communication method of management platform and robot software and related equipment thereof
CN112433920B (en) A method, device, equipment and medium for reporting buried data
CN111111214B (en)Game archiving processing method, device and system
CN111752916B (en)Data acquisition method and device, computer readable storage medium and electronic equipment
CN112395187A (en)Test method, test system, computer device and storage medium
CN108255735B (en)Associated environment testing method, electronic device and computer readable storage medium
CN111930695B (en)Method and device for storing running logs of microprocessor of vehicle-mounted terminal
CN111736938A (en)Information display method and device, storage medium and electronic device
CN113568939B (en)Energy consumption monitoring method, device, server and computer readable storage medium
CN116094908B (en)Log file storage method, device, equipment and storage medium
CN113626882A (en)Method, device and medium for generating equipment identifier
CN115883647B (en)Service log recording method, system, device, terminal, server and medium
CN112969198A (en)Data transmission method, terminal and storage medium
US10938773B2 (en)Method and apparatus for synchronizing contact information and medium
CN113407356B (en)Data processing method, device, electronic equipment and storage medium
CN111475468B (en)Log access method, device, equipment and storage medium of newly-added system
CN118535442A (en)Log acquisition method of vehicle-mounted system and related products
CN115378991B (en)Message processing method, device, equipment and computer storage medium
CN104394023A (en)Failure collecting method and system for network access terminal
CN112684985B (en)Data writing method and device
CN114064724A (en)Report data processing system, method, server, electronic device and storage medium
CN107832195B (en)Host environment management method, device and system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp