CN109542726B - Power consumption detection method and device - Google Patents

Power consumption detection method and device Download PDF

Info

Publication number
CN109542726B
CN109542726B CN201811361915.XA CN201811361915A CN109542726B CN 109542726 B CN109542726 B CN 109542726B CN 201811361915 A CN201811361915 A CN 201811361915A CN 109542726 B CN109542726 B CN 109542726B
Authority
CN
China
Prior art keywords
power consumption
raspberry
target
raspberry group
value
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
CN201811361915.XA
Other languages
Chinese (zh)
Other versions
CN109542726A (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.)
Canaan Creative Co Ltd
Original Assignee
Canaan Creative 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 Canaan Creative Co Ltd filed Critical Canaan Creative Co Ltd
Priority to CN201811361915.XA priority Critical patent/CN109542726B/en
Publication of CN109542726A publication Critical patent/CN109542726A/en
Application granted granted Critical
Publication of CN109542726B publication Critical patent/CN109542726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method and a device for detecting power consumption, which are used for saving the detection time of power consumption of computing equipment. The method comprises the following steps: detecting a power consumption parameter of each raspberry-sending device; judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters; when target raspberry sending equipment with abnormal power consumption parameters exists, acquiring power consumption parameters corresponding to all computing equipment in the target raspberry sending equipment; determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment; and storing the identification of the target computing device with the abnormal power consumption parameter in a local database. By adopting the scheme provided by the invention, batch detection of the power consumption parameters of the computing equipment is realized, the determination process of the computing equipment with abnormal power consumption parameters is simplified, and the detection time of the power consumption of the computing equipment is saved.

Description

Power consumption detection method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for detecting power consumption.
Background
With the development of technology, computing tasks have higher and higher demands on computing power of computing devices, so that in order to adapt to the higher and higher demands on computing power, a plurality of computing devices are generally deployed into one raspberry group device, so that the computing speed is improved, and the aging of the computing devices can increase the power consumption of the computing devices, consume more power resources additionally, and increase the use cost.
Secondly, computing power and power consumption are important evaluation indicators of whether the computing device is qualified. The computing device comprises a control board and a plurality of computing boards, and the more the computing boards are, the stronger the computing power of the computing device is, the greater the power consumption is. The computing device needs to have strict and standard calculation power to power consumption ratio when leaving the factory, and is used for screening whether the machine meets the factory standard.
In the prior art, when detecting whether a computing device is aged or meets factory standards, power consumption of each computing device is usually detected manually, and when the number of computing devices is large, the detection speed is low, and a large amount of time is required to be consumed. Therefore, a method for batch detecting power consumption of a computing device is needed to save the detecting time of the power consumption of the computing device.
Disclosure of Invention
The invention provides a method and a device for detecting power consumption, which are used for saving the detection time of power consumption of computing equipment.
The invention provides a power consumption detection method, which comprises the following steps:
detecting a power consumption parameter of each raspberry-sending device;
judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters;
when target raspberry sending equipment with abnormal power consumption parameters exists, acquiring power consumption parameters corresponding to all computing equipment in the target raspberry sending equipment;
Determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment;
and storing the identification of the target computing device with the abnormal power consumption parameter in a local database.
The invention has the beneficial effects that: because the raspberry pie equipment comprises a plurality of computing equipment, batch detection of the power consumption parameters of the computing equipment is realized by detecting the power consumption parameters of the raspberry pie equipment, when the raspberry pie equipment with abnormal power consumption parameters exists, the computing equipment with abnormal power consumption parameters in the raspberry pie equipment is described, and only the computing equipment with abnormal power consumption parameters is required to be searched from the raspberry pie equipment, and the computing equipment with abnormal power consumption parameters is not required to be searched from all the computing equipment, so that the determination process of the computing equipment with abnormal power consumption parameters is simplified, and the detection time of the power consumption of the computing equipment is saved.
In one embodiment, the method further comprises:
acquiring an identifier of each raspberry group device;
the identity of each raspberry-pie device is added to the target profile.
The beneficial effects of this embodiment lie in: the raspberry-sending device identifier can be added into the target configuration file, so that the raspberry-sending device identifier is stored, and data interaction with the raspberry-sending device based on the raspberry-sending device identifier can be realized.
In one embodiment, the detecting the power consumption parameter of each raspberry-sending device includes:
reading the raspberry group device identifier stored in the target configuration file according to a preset time interval;
establishing connection with the raspberry group device corresponding to the raspberry group device identifier;
and after the raspberry group equipment corresponding to the raspberry group equipment identifier is successfully connected, reading the power consumption parameter corresponding to the raspberry group equipment identifier.
The beneficial effects of this embodiment lie in: the raspberry group device identifier stored in the target configuration file can be read, then connection is established with the raspberry group device corresponding to the raspberry group device identifier, and further the power consumption parameter corresponding to the raspberry group device identifier is read after connection is successful, so that the power consumption parameter of the raspberry group device can be read based on the raspberry group device identifier.
In one embodiment, the method further comprises:
when a power consumption parameter checking request sent by a target client is received, judging whether a target computing device identifier with abnormal power consumption parameters is stored in a local database, wherein the target client is a client pre-bound with the local;
when the identification of the target computing device with the abnormal power consumption parameter is stored in the local database, the power consumption parameter corresponding to the identification of each raspberry group device, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identification of the target computing device with the abnormal power consumption parameter are sent to the target client;
And when the identification of the target computing device with abnormal power consumption parameters is not stored in the local database, the power consumption parameters of each raspberry group device and the power consumption parameters corresponding to each computing device in each raspberry group device are sent to the target client.
The beneficial effects of this embodiment lie in: the power consumption parameters corresponding to the raspberry-sending device identifiers, the power consumption parameters corresponding to each computing device in the target raspberry-sending device and the identifiers of the target computing devices with abnormal power consumption parameters can be sent to the target client, so that a user can conveniently check the power consumption parameters of each computing device in the raspberry-sending device and the target computing devices with abnormal power consumption parameters at the client.
In one embodiment, when the type of each computing device in each raspberry-sending device is the same, the determining whether the target raspberry-sending device with abnormal power consumption parameters exists according to the power consumption parameters includes:
calculating an average power consumption value of each raspberry group device according to the power consumption parameter of each raspberry group device and the number of the calculating devices;
comparing the average power consumption value of the computing device in each raspberry group device with a preset power consumption value, wherein the preset power consumption value is a standard power consumption value of one computing device in the raspberry group device;
When the difference value between the average power consumption value of the computing device and the preset power consumption value of each raspberry group device is smaller than the first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist;
and when the difference value between the average power consumption value of the computing device and the preset power consumption value in the target raspberry group device is larger than the first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists.
The beneficial effects of this embodiment lie in: when the types of computing devices in each raspberry group device are the same, the ideal power consumption value of each computing device is the same, so that only one power consumption value is required to be preset, and then whether the target raspberry group device with abnormal power consumption parameters exists is determined by comparing the average power consumption value of the computing devices in the raspberry group device with the preset power consumption value, thereby simplifying the determination process of whether the power consumption parameters of the raspberry group device are abnormal.
In one embodiment, when the type of each computing device in each raspberry-sending device is different, the method further includes:
calculating a standard power consumption value of each raspberry-sending device according to the standard power consumption value of each computing device in each raspberry-sending device;
And establishing a corresponding relation between the raspberry group device and a standard power consumption value thereof.
The beneficial effects of this embodiment lie in: when the type of computing device in each raspberry-sending device is different, a standard power consumption value for each raspberry-sending device needs to be calculated so that the standard power consumption value for each raspberry-sending device matches the type of computing device in the raspberry-sending device.
In one embodiment, the determining whether the target raspberry group device with abnormal power consumption parameters exists according to the power consumption parameters includes:
extracting an actual power consumption value of each raspberry-sending device from the power consumption parameter of each raspberry-sending device;
comparing the actual power consumption value of each raspberry group device with the standard power consumption value corresponding to each raspberry group device;
when the difference value between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist;
and when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists.
The beneficial effects of this embodiment lie in: by comparing the actual power consumption value of each raspberry-sending device with the standard power consumption value of each raspberry-sending device, when the calculated device types in the raspberry-sending devices are different, whether the target raspberry-sending device with abnormal power consumption parameters exists can still be judged.
The invention also provides a device for detecting the power consumption, which comprises:
the detection module is used for detecting the power consumption parameter of each raspberry group device;
the first judging module is used for judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters;
the first acquisition module is used for acquiring the power consumption parameters corresponding to all computing devices in target raspberry group equipment when the target raspberry group equipment with abnormal power consumption parameters exists;
the determining module is used for determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment;
and the storage module is used for storing the identification of the target computing device with the abnormal power consumption parameter in a local database.
In one embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the identification of each raspberry group device;
and the adding module is used for adding the identification of each raspberry group device to the target configuration file.
In one embodiment, the detection module comprises:
the first reading submodule is used for reading the raspberry group device identifier stored in the target configuration file according to a preset time interval;
A connection sub-module, configured to establish a connection with a raspberry group device corresponding to the raspberry group device identifier;
and the second reading submodule is used for reading the power consumption parameter corresponding to the raspberry group equipment identifier after the raspberry group equipment corresponding to the raspberry group equipment identifier is successfully connected.
In one embodiment, the apparatus further comprises:
the second judging module is used for judging whether the identification of the target computing equipment with abnormal power consumption parameters is stored in the local database or not when a power consumption parameter checking request sent by a target client is received, wherein the target client is a client which is bound with the local in advance;
the first sending module is used for sending the power consumption parameter corresponding to each raspberry group device identifier, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identifier of the target computing device with abnormal power consumption parameter to the target client when the identifier of the target computing device with abnormal power consumption parameter is stored in the local database;
and the second sending module is used for sending the power consumption parameters of each raspberry group device and the power consumption parameters corresponding to each computing device in each raspberry group device to the target client when the identification of the target computing device with abnormal power consumption parameters is not stored in the local database.
In one embodiment, the first determining module includes:
the calculating sub-module is used for calculating the average power consumption value of each raspberry group device according to the power consumption parameter and the number of the computing devices when the types of each computing device in each raspberry group device are the same;
a first comparing sub-module, configured to compare an average power consumption value of a computing device in each raspberry group device with a preset power consumption value, where the preset power consumption value is a standard power consumption value of a computing device in the raspberry group device;
a first determining submodule, configured to determine that a target raspberry group device with no abnormal power consumption parameter exists when the difference between the average power consumption value of the computing device and the preset power consumption value in each raspberry group device is smaller than a first preset difference;
and the second determining submodule is used for determining the target raspberry sending device with abnormal power consumption parameters when the difference between the average power consumption value of the computing device and the preset power consumption value in the target raspberry sending device is larger than the first preset difference.
In one embodiment, when the type of each computing device in each raspberry-sending device is different, the apparatus further includes:
the calculating module is used for calculating the standard power consumption value of each raspberry group device according to the standard power consumption value of each calculating device in each raspberry group device;
The establishing module is used for establishing the corresponding relation between the raspberry group device and the standard power consumption value of the raspberry group device.
In one embodiment, the first determining module includes:
an extracting sub-module, configured to extract an actual power consumption value of each raspberry-sending device from a power consumption parameter of each raspberry-sending device;
the second comparing sub-module is used for comparing the actual power consumption value of each raspberry group device with the standard power consumption value corresponding to each raspberry group device;
a third determining submodule, configured to determine that the target raspberry group device has no abnormal power consumption parameter when the difference between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than the second preset difference;
and the fourth determining submodule is used for determining the target raspberry group device with abnormal power consumption parameters when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a method for detecting power consumption according to an embodiment of the invention;
FIG. 2 is a flow chart of a method for detecting power consumption according to an embodiment of the invention;
FIG. 3 is a flow chart of a method for detecting power consumption according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a method for detecting power consumption in a second embodiment of the present invention;
FIG. 5 is a flow chart of a method for detecting power consumption in a third embodiment of the present invention;
FIG. 6 is a block diagram of a power consumption detection apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a power consumption detection apparatus according to an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Fig. 1 is a flowchart of a method for detecting power consumption in a raspberry-sending device according to an embodiment of the invention, where the method can be used for detecting a background server for calculating power consumption of the device, as shown in fig. 1, and the method can be implemented as steps S101-S105:
In step S101, detecting a power consumption parameter of each raspberry-sending device;
in step S102, determining whether there is a target raspberry group device with abnormal power consumption parameters according to the power consumption parameters;
in step S103, when there is a target raspberry-sending device with an abnormal power consumption parameter, obtaining power consumption parameters corresponding to all computing devices in the target raspberry-sending device;
in step S104, determining a target computing device with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing device in the target raspberry group device;
in step S105, the identification of the target computing device for which the power consumption parameter is abnormal is stored in the local database.
In the invention, the power consumption parameter of each raspberry group device is detected; judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters; when target raspberry sending equipment with abnormal power consumption parameters exists, acquiring the power consumption parameters corresponding to all computing equipment in the target raspberry sending equipment; determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment; the identification of the target computing device with the abnormal power consumption parameter is stored in a local database.
The method and the device can be used for detecting whether the computing equipment to be shipped meets the shipment standard or not, and also can be used for detecting whether the computing equipment in the computing equipment cluster is aged or not.
For example, the identifier of each raspberry-sending device is fixed, so that the identifier of each raspberry-sending device may be added to a local configuration file, the configuration file is read locally according to a preset time interval, for example, the configuration file is read every fifteen minutes, then the raspberry-sending devices are connected according to the identifier in the configuration file, after the connection is successful, the power consumption parameter of the raspberry-sending device corresponding to the identifier of each raspberry-sending device is read, and whether the target raspberry-sending device with abnormal power consumption exists is determined according to the read power consumption parameter. For example, 3 raspberry-sending devices A, B and C are locally connected, the types of the computing devices in each raspberry-sending device are the same, the standard power consumption of the computing devices is 1700W (watts), then 1700W is preset as a power consumption threshold, the power consumption parameters of the raspberry-sending device include the average power consumption value of the computing devices of the raspberry-sending device, the average power consumption value of the computing devices of the raspberry-sending device a is 1862W, the average power consumption value of the raspberry-sending device B is 1789W, the average power consumption value of the computing devices of the raspberry-sending device C is 1743W, when the difference between the average power consumption value of the computing devices of the raspberry-sending device and the preset power consumption threshold is greater than 100W, the power consumption parameters of the raspberry-sending device are considered to be abnormal, and it can be seen that the power consumption parameters of the raspberry-sending device a are abnormal, at this time, the power consumption value of each computing device can be obtained according to the identity of the computing devices in the raspberry-sending device a, the computing device with the power consumption value greater than 1800W is the target computing device of the power consumption parameter abnormality, which indicates that the computing device is the computing device has been aged or does not conform to the factory standard, and the power consumption parameter is stored in the local database.
The invention has the beneficial effects that: because the raspberry pie equipment comprises a plurality of computing equipment, batch detection of the power consumption parameters of the computing equipment is realized by detecting the power consumption parameters of the raspberry pie equipment, when the raspberry pie equipment with abnormal power consumption parameters exists, the computing equipment with abnormal power consumption parameters in the raspberry pie equipment is described, and only the computing equipment with abnormal power consumption parameters is required to be searched from the raspberry pie equipment, and the computing equipment with abnormal power consumption parameters is not required to be searched from all the computing equipment, so that the determination process of the computing equipment with abnormal power consumption parameters is simplified, and the detection time of the power consumption of the computing equipment is saved.
In one embodiment, the method may also be implemented as steps A1-A2 as follows:
in step A1, obtaining an identifier of each raspberry group device;
in step A2, the identity of each raspberry-sending device is added to the target profile.
The identity of each raspberry-sending device is fixed, so in this embodiment, the identity of each raspberry-sending device is obtained; the identity of each raspberry-sending device is then added to the service local profile.
The beneficial effects of this embodiment lie in: the raspberry-sending device identifier can be added into the target configuration file, so that the raspberry-sending device identifier is stored, and data interaction with the raspberry-sending device based on the raspberry-sending device identifier can be realized.
In one embodiment, the above step S101 may be implemented as steps B1-B3 as follows:
in step B1, reading the raspberry group device identifier stored in the target configuration file according to a preset time interval;
in step B2, establishing connection with the raspberry group device corresponding to the raspberry group device identifier;
in step B3, after the raspberry group device corresponding to the raspberry group device identifier is successfully connected, the power consumption parameter corresponding to the raspberry group device identifier is read.
In this embodiment, a configuration file is read according to a preset time interval, for example, the configuration file is read every fifteen minutes, then raspberry group devices are connected according to the identifier in the configuration file, and after connection is successful, the power consumption parameter of the raspberry group device corresponding to each raspberry group device identifier is read.
The beneficial effects of this embodiment lie in: the raspberry group device identifier stored in the target configuration file can be read, then connection is established with the raspberry group device corresponding to the raspberry group device identifier, and further the power consumption parameter corresponding to the raspberry group device identifier is read after connection is successful, so that the power consumption parameter of the raspberry group device can be read based on the raspberry group device identifier.
In one embodiment, the method may also be implemented as steps C1-C3 as follows:
In step C1, when a power consumption parameter checking request sent by a target client is received, determining whether an identifier of a target computing device with abnormal power consumption parameters is stored in a local database, where the target client is a client pre-bound with the local;
in step C2, when the identifier of the target computing device with the abnormal power consumption parameter is stored in the local database, transmitting the power consumption parameter corresponding to each raspberry group device identifier, the power consumption parameter corresponding to each computing device in the target raspberry group device, and the identifier of the target computing device with the abnormal power consumption parameter to the target client;
in step C3, when the local database does not store the identifier of the target computing device with the abnormal power consumption parameter, the power consumption parameter of each raspberry group device and the power consumption parameter corresponding to each computing device in each raspberry group device are sent to the target client.
In this embodiment, in order to facilitate user's viewing, a user may bind with a local location through a client, for example, install the client on a computing device such as a computer or a mobile terminal, and then bind the client with the local location, for example, bind through a client account, and when a power consumption parameter viewing request sent by the client is received, determine whether an identifier of a target computing device with an abnormal power consumption parameter is stored in a local database; if the local database stores the identification of the target computing device with the abnormal power consumption parameter, the power consumption parameter corresponding to the identification of each raspberry group device, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identification of the target computing device with the abnormal power consumption parameter are sent to the target client; and if the local database does not store the identification of the target computing device with abnormal power consumption parameters, sending the power consumption parameters of each raspberry group device and the power consumption parameters corresponding to each computing device in each raspberry group device to the target client.
It should be noted that, the power consumption parameters corresponding to the raspberry group device identifier and the power consumption parameters corresponding to each computing device in the target client with abnormal power consumption parameters can be respectively displayed on two different pages, so that the displayed information is better and easier to distinguish.
The beneficial effects of this embodiment lie in: the power consumption parameters corresponding to the raspberry-sending device identifiers, the power consumption parameters corresponding to each computing device in the target raspberry-sending device and the identifiers of the target computing devices with abnormal power consumption parameters can be sent to the target client, so that a user can conveniently check the power consumption parameters of the raspberry-sending device and each computing device in the raspberry-sending device and the target computing devices with abnormal power consumption parameters at the client.
In one embodiment, when the type of each computing device in each raspberry-sending device is the same, as shown in fig. 2, step S102 described above may be implemented as steps S201-S204 as follows:
in step S201, calculating an average power consumption value of each raspberry-sending device according to the power consumption parameter and the number of computing devices of each raspberry-sending device;
in step S202, comparing the average power consumption value of the computing device in each raspberry group device with a preset power consumption value, wherein the preset power consumption value is a standard power consumption value of a computing device in the raspberry group device;
In step S203, when the difference between the average power consumption value of the computing device and the preset power consumption value of each raspberry group device is smaller than the first preset difference, determining that the target raspberry group device with abnormal power consumption parameters does not exist;
in step S204, when the difference between the calculated device average power consumption value and the preset power consumption value in the target raspberry group device is greater than the first preset difference, the target raspberry group device having the abnormal power consumption parameter is determined to be present.
In this embodiment, when the types of the computing devices in each raspberry group device are the same, it is explained that the ideal power consumption values of the computing devices are the same, so that an ideal power consumption value is preset, and then an average power consumption value of each computing device in each raspberry group device is calculated according to the power consumption parameter of each raspberry group device and the number of the computing devices; comparing the average power consumption value of the computing device in each raspberry group device with a preset power consumption value, wherein the preset power consumption value is a standard power consumption value of one computing device in the raspberry group device; when the difference value between the average power consumption value of the computing device and the preset power consumption value of each raspberry group device is smaller than the first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist; and when the difference value between the average power consumption value of the computing device and the preset power consumption value in the target raspberry group device is larger than the first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists.
For example, 3 raspberry-sending devices A, B and C are locally connected, the computing devices in each raspberry-sending device are the same in type, the standard power consumption is 1700W (watts), the 1700W is preset to be an ideal power consumption threshold, the power consumption parameters of the raspberry-sending device include an average power consumption value of the computing devices of the raspberry-sending device, an average power consumption value of the computing devices of the raspberry-sending device a is 1862W, an average power consumption value of the raspberry-sending device B is 1789W, an average power consumption value of the raspberry-sending device C is 1743W, when the difference between the average power consumption value of the computing devices of the raspberry-sending device and the preset power consumption threshold is greater than 100W, the power consumption parameters are considered to be abnormal, and according to the comparison, the power consumption parameters of the computing devices of the raspberry-sending device a are found to be abnormal, and the power consumption parameters of the raspberry-sending device B and the raspberry-sending device C are normal. Thus, there is a target raspberry-pie device a with abnormal power consumption parameters.
The beneficial effects of this embodiment lie in: when the types of computing devices in each raspberry group device are the same, the ideal power consumption value of each computing device is the same, so that only one power consumption value is required to be preset, and then whether the target raspberry group device with abnormal power consumption parameters exists is determined by comparing the average power consumption value of the computing devices in the raspberry group device with the preset power consumption value, thereby simplifying the determination process of whether the power consumption parameters of the raspberry group device are abnormal.
In one embodiment, when the type of each computing device in each raspberry-sending device is not the same, the method may also be implemented as steps D1-D2 as follows:
in step D1, calculating a standard power consumption value of each raspberry-sending device according to the standard power consumption value of each computing device in each raspberry-sending device;
in step D2, a correspondence between the raspberry group device and its standard power consumption value is established.
In this embodiment, the standard power consumption value of each raspberry group device is calculated according to the computing device in the raspberry group device, and the specific calculation process is as follows:
in this embodiment, the standard power consumption value of each raspberry group device is calculated according to the standard power consumption value of each computing device in each raspberry group device, specifically, the ideal power consumption values of all computing devices in the raspberry group device may be obtained, and then the ideal power consumption values of all computing devices in the raspberry group device are added, where the obtained sum value is the standard power consumption value of the raspberry group device.
After the standard power consumption value of each raspberry group device is calculated, the corresponding relation between the raspberry group device and the standard power consumption value is established. Specifically, the correspondence between the raspberry-sending device and the standard power consumption value may be established according to the identifier of the raspberry-sending device, where the identifier of the raspberry-sending device may be an internet protocol address of the raspberry-sending device.
The beneficial effects of this embodiment lie in: when the type of computing device in each raspberry-sending device is different, a standard power consumption value for each raspberry-sending device needs to be calculated so that the standard power consumption value for each raspberry-sending device matches the type of computing device in the raspberry-sending device.
In one embodiment, the above step S102 may also be implemented as steps E1-E4 as follows:
in step E1, extracting an actual power consumption value of each raspberry-sending device from the power consumption parameter of each raspberry-sending device;
in step E2, comparing the actual power consumption value of each raspberry-sending device with the standard power consumption value corresponding to each raspberry-sending device;
in step E3, when the difference between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than the second preset difference, determining that the target raspberry group device with abnormal power consumption parameters does not exist;
in step E4, when the difference between the actual power consumption value of the target raspberry sending device and the standard power consumption value corresponding to the target raspberry sending device is greater than the second preset difference, determining that the target raspberry sending device with abnormal power consumption parameters exists.
The embodiment is suitable for the situation that different types of computing devices exist in the raspberry group device, and when the different types of computing devices exist in the raspberry group device, the ideal power consumption value of the whole raspberry group device needs to be calculated because the ideal power consumption values of the different types of computing devices are different.
For the above reasons, in this embodiment, the actual power consumption value of each raspberry-sending device is extracted from the power consumption parameter of each raspberry-sending device, where the actual power consumption value of each raspberry-sending device refers to the sum of the actual power consumption values of all computing devices in the raspberry-sending device. The actual power consumption value of each raspberry-sending device is compared with the standard power consumption value corresponding to each raspberry-sending device. When the difference value between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist; and when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists.
It will be appreciated that the present embodiment may also be applied to cases where the computing device types in the raspberry-sending device are the same.
The beneficial effects of this embodiment lie in: by comparing the actual power consumption value of each raspberry-sending device with the standard power consumption value of each raspberry-sending device, when the calculated device types in the raspberry-sending devices are different, whether the target raspberry-sending device with abnormal power consumption parameters exists can still be judged.
Example 1
Fig. 3 is a flowchart of a method for detecting power consumption according to a first embodiment of the present invention. As shown in fig. 3, the steps S301 to S311 are included as follows:
in step S301, an identifier of each raspberry group device is obtained;
in step S302, adding an identification of each raspberry-sending device to the target profile;
in step S303, the raspberry group device identifier stored in the target configuration file is read according to a preset time interval;
in step S304, a connection is established with a raspberry group device corresponding to the raspberry group device identifier;
in step S305, after the raspberry group device corresponding to the raspberry group device identifier is successfully connected, the power consumption parameter corresponding to the raspberry group device identifier is read;
in step S306, calculating an average power consumption value of each raspberry-sending device according to the power consumption parameter and the number of the calculating devices of each raspberry-sending device;
in step S307, comparing the calculated device average power consumption value of each raspberry-sending device with a preset power consumption value;
in step S308, when the difference between the average power consumption value of the computing device and the preset power consumption value in the target raspberry group device is greater than the first preset difference, determining that the target raspberry group device with abnormal power consumption parameters exists;
In step S309, power consumption parameters corresponding to all computing devices in the target raspberry group device are obtained;
in step S310, determining a target computing device with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing device in the target raspberry group device;
in step S311, the identification of the target computing device whose power consumption parameter is abnormal is stored in the local database.
Example two
Fig. 4 is a flowchart of a method for detecting power consumption in the second embodiment of the present invention. As shown in fig. 4, the steps S401 to S409 are included as follows:
in step S401, detecting a power consumption parameter of each raspberry-sending device;
in step S402, calculating a standard power consumption value of each raspberry-sending device from the standard power consumption value of each computing device in each raspberry-sending device;
in step S403, a correspondence between each raspberry group device and its standard power consumption value is established;
in step S404, extracting an actual power consumption value of each raspberry-sending device from the power consumption parameter of each raspberry-sending device;
in step S405, comparing the actual power consumption value of each raspberry-sending device with the standard power consumption value corresponding to each raspberry-sending device;
in step S406, when the difference between the actual power consumption value of the target raspberry sending device and the standard power consumption value corresponding to the target raspberry sending device is greater than the second preset difference, determining that the target raspberry sending device has abnormal power consumption parameters;
In step S407, obtaining power consumption parameters corresponding to all computing devices in the target raspberry group device;
in step S408, determining a target computing device with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing device in the target raspberry group device;
in step S409, the identification of the target computing device whose power consumption parameter is abnormal is stored in the local database.
Example III
Fig. 5 is a flowchart of a method for detecting power consumption in the third embodiment of the present invention. As shown in fig. 5, the steps S501 to S508 are included as follows:
in step S501, detecting a power consumption parameter of each raspberry-sending device;
in step S502, whether there is a target raspberry group device with abnormal power consumption parameters is determined according to the power consumption parameters;
in step S503, when there is a target raspberry-sending device with an abnormal power consumption parameter, power consumption parameters corresponding to all computing devices in the target raspberry-sending device are obtained;
in step S504, determining a target computing device with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing device in the target raspberry group device;
in step S505, the identification of the target computing device with abnormal power consumption parameters is stored in a local database;
In step S506, when a power consumption parameter checking request sent by a target client is received, whether the local database stores an identifier of a target computing device with abnormal power consumption parameters is determined, where the target client is a client pre-bound with the local;
in step S507, when the identifier of the target computing device with the abnormal power consumption parameter is stored in the local database, the power consumption parameter corresponding to each identifier of the raspberry group device, the power consumption parameter corresponding to each computing device in the target raspberry group device, and the identifier of the target computing device with the abnormal power consumption parameter are sent to the target client;
in step S508, when the local database does not store the identification of the target computing device with the abnormal power consumption parameter, the power consumption parameter of each raspberry group device and the power consumption parameter corresponding to each computing device in each raspberry group device are sent to the target client.
Fig. 6 is a block diagram of a power consumption detection apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes the following modules:
a detection module 61, configured to detect a power consumption parameter of each raspberry-sending device;
a first judging module 62, configured to judge whether a target raspberry group device with abnormal power consumption parameters exists according to the power consumption parameters;
A first obtaining module 63, configured to obtain, when there is a target raspberry-sending device with an abnormal power consumption parameter, power consumption parameters corresponding to all computing devices in the target raspberry-sending device;
a determining module 64, configured to determine a target computing device with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing device in the target raspberry group device;
a storage module 65, configured to store an identification of the target computing device with abnormal power consumption parameters in a local database.
In one embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the identification of each raspberry group device;
and the adding module is used for adding the identification of each raspberry group device to the target configuration file.
In one embodiment, as shown in fig. 7, the detection module 61 includes:
a first reading submodule 71, configured to read the raspberry-derived device identifier stored in the target configuration file according to a preset time interval;
a connection sub-module 72, configured to establish a connection with a raspberry-set device corresponding to the raspberry-set device identifier;
and a second reading submodule 73, configured to read a power consumption parameter corresponding to the raspberry-sending device identifier after the raspberry-sending device corresponding to the raspberry-sending device identifier is successfully connected.
In one embodiment, the apparatus further comprises:
the second judging module is used for judging whether the identification of the target computing equipment with abnormal power consumption parameters is stored in the local database or not when a power consumption parameter checking request sent by the target client is received, and the target client is a client which is bound with the local in advance;
the first sending module is used for sending the power consumption parameter corresponding to each raspberry group device identifier, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identifier of the target computing device with abnormal power consumption parameter to the target client when the identifier of the target computing device with abnormal power consumption parameter is stored in the local database;
and the second sending module is used for sending the power consumption parameter of each raspberry group device and the power consumption parameter corresponding to each computing device in each raspberry group device to the target client when the identification of the target computing device with abnormal power consumption parameter is not stored in the local database.
In one embodiment, the first judging module includes:
the calculating sub-module is used for calculating the average power consumption value of each raspberry group device according to the power consumption parameter and the number of the computing devices when the types of each computing device in each raspberry group device are the same;
The first comparison submodule is used for comparing the average power consumption value of the computing equipment in each raspberry group device with a preset power consumption value, wherein the preset power consumption value is a standard power consumption value of one computing equipment in the raspberry group device;
a first determining submodule, configured to determine that a target raspberry group device with no abnormal power consumption parameter exists when the difference between the average power consumption value of the computing device and the preset power consumption value in each raspberry group device is smaller than a first preset difference;
and the second determining submodule is used for determining the target raspberry sending device with abnormal power consumption parameters when the difference between the average power consumption value of the computing device and the preset power consumption value in the target raspberry sending device is larger than the first preset difference.
In one embodiment, when the type of each computing device in each raspberry-sending device is different, the apparatus further includes:
the calculating module is used for calculating the standard power consumption value of each raspberry group device according to the standard power consumption value of each calculating device in each raspberry group device;
the establishing module is used for establishing the corresponding relation between the raspberry group device and the standard power consumption value of the raspberry group device.
In one embodiment, the first judging module includes:
an extracting sub-module, configured to extract an actual power consumption value of each raspberry-sending device from a power consumption parameter of each raspberry-sending device;
The second comparing sub-module is used for comparing the actual power consumption value of each raspberry group device with the standard power consumption value corresponding to each raspberry group device;
a third determining submodule, configured to determine that the target raspberry group device has no abnormal power consumption parameter when the difference between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than the second preset difference;
and the fourth determining submodule is used for determining the target raspberry group device with abnormal power consumption parameters when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value.
It will be appreciated by those skilled in the art that 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, magnetic disk storage, 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, computing devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 computing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing computing device, 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 computing device to cause a series of operational steps to be performed on the computer or other programmable computing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable computing device 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 modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (14)

1. A method for detecting power consumption, comprising:
reading the power consumption parameter of each raspberry group device according to the identifier of each raspberry group device;
judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters;
when target raspberry sending equipment with abnormal power consumption parameters exists, acquiring power consumption parameters corresponding to all computing equipment in the target raspberry sending equipment;
Determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment;
storing an identification of the target computing device with the abnormal power consumption parameter in a local database;
when ideal power consumption values of computing devices in all raspberry group devices are identical, the target raspberry group device for judging whether power consumption parameters are abnormal according to the power consumption parameters comprises:
calculating an average power consumption value of each raspberry group device according to the power consumption parameter of each raspberry group device and the number of the calculating devices;
comparing the average power consumption value of the computing device in each raspberry group device with a preset power consumption value, wherein the preset power consumption value is a standard power consumption value of one computing device in the raspberry group device;
when the difference value between the average power consumption value of the computing device and the preset power consumption value in the raspberry group device is larger than a first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists;
the computing device is a computing device to be shipped or a computing device in a device cluster.
2. The method of claim 1, wherein the method further comprises:
Acquiring an identifier of each raspberry group device;
the identity of each raspberry-pie device is added to the target profile.
3. The method of claim 2, wherein the detecting the power consumption parameter of each raspberry-sending device comprises:
reading the raspberry group device identifier stored in the target configuration file according to a preset time interval;
establishing connection with the raspberry group device corresponding to the raspberry group device identifier;
and after the raspberry group equipment corresponding to the raspberry group equipment identifier is successfully connected, reading the power consumption parameter corresponding to the raspberry group equipment identifier.
4. The method of claim 1, wherein the method further comprises:
when a power consumption parameter checking request sent by a target client is received, judging whether a target computing device identifier with abnormal power consumption parameters is stored in a local database, wherein the target client is a client pre-bound with the local;
when the identification of the target computing device with the abnormal power consumption parameter is stored in the local database, the power consumption parameter corresponding to the identification of each raspberry group device, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identification of the target computing device with the abnormal power consumption parameter are sent to the target client;
And when the identification of the target computing device with abnormal power consumption parameters is not stored in the local database, the power consumption parameters of each raspberry group device and the power consumption parameters corresponding to each computing device in each raspberry group device are sent to the target client.
5. The method as recited in claim 1, further comprising:
and when the difference value between the average power consumption value of the computing device and the preset power consumption value of each raspberry group device is smaller than the first preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist.
6. The method of claim 1, wherein when the type of each computing device in each raspberry-sending device is different, the method further comprises:
calculating a standard power consumption value of each raspberry-sending device according to the standard power consumption value of each computing device in each raspberry-sending device;
and establishing a corresponding relation between the raspberry group device and a standard power consumption value thereof.
7. The method of claim 6, wherein determining whether there is a target raspberry pi device with an abnormal power consumption parameter based on the power consumption parameter, comprises:
extracting an actual power consumption value of each raspberry-sending device from the power consumption parameter of each raspberry-sending device;
Comparing the actual power consumption value of each raspberry group device with the standard power consumption value corresponding to each raspberry group device;
when the difference value between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters does not exist;
and when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value, determining that the target raspberry group device with abnormal power consumption parameters exists.
8. A power consumption detection apparatus, comprising:
the detection module is used for reading the power consumption parameter of each raspberry group device according to the identifier of each raspberry group device;
the first judging module is used for judging whether target raspberry group equipment with abnormal power consumption parameters exists according to the power consumption parameters;
the first acquisition module is used for acquiring the power consumption parameters corresponding to all computing devices in target raspberry group equipment when the target raspberry group equipment with abnormal power consumption parameters exists;
the determining module is used for determining target computing equipment with abnormal power consumption parameters according to the power consumption parameters corresponding to each computing equipment in the target raspberry group equipment;
The storage module is used for storing the identification of the target computing device with the abnormal power consumption parameter in a local database;
wherein, the first judging module includes:
the calculating sub-module is used for calculating the average power consumption value of the calculating equipment in each raspberry group equipment according to the power consumption parameter of each raspberry group equipment and the number of the calculating equipment when the ideal power consumption values of the calculating equipment in all raspberry group equipment are the same;
a first comparing sub-module, configured to compare an average power consumption value of a computing device in each raspberry group device with a preset power consumption value, where the preset power consumption value is a standard power consumption value of a computing device in the raspberry group device;
a second sub-determining module, configured to determine, when a difference between the average power consumption value of the computing device and the preset power consumption value in the raspberry-sending device is greater than a first preset difference, a target raspberry-sending device having an abnormal power consumption parameter;
the computing device is a computing device to be shipped or a computing device in a device cluster.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the second acquisition module is used for acquiring the identification of each raspberry group device;
and the adding module is used for adding the identification of each raspberry group device to the target configuration file.
10. The apparatus of claim 9, wherein the detection module comprises:
the first reading submodule is used for reading the raspberry group device identifier stored in the target configuration file according to a preset time interval;
a connection sub-module, configured to establish a connection with a raspberry group device corresponding to the raspberry group device identifier;
and the second reading submodule is used for reading the power consumption parameter corresponding to the raspberry group equipment identifier after the raspberry group equipment corresponding to the raspberry group equipment identifier is successfully connected.
11. The apparatus of claim 8, wherein the apparatus further comprises:
the second judging module is used for judging whether the identification of the target computing equipment with abnormal power consumption parameters is stored in the local database or not when a power consumption parameter checking request sent by a target client is received, wherein the target client is a client which is bound with the local in advance;
the first sending module is used for sending the power consumption parameter corresponding to each raspberry group device identifier, the power consumption parameter corresponding to each computing device in the target raspberry group device and the identifier of the target computing device with abnormal power consumption parameter to the target client when the identifier of the target computing device with abnormal power consumption parameter is stored in the local database;
And the second sending module is used for sending the power consumption parameters of each raspberry group device and the power consumption parameters corresponding to each computing device in each raspberry group device to the target client when the identification of the target computing device with abnormal power consumption parameters is not stored in the local database.
12. The apparatus as recited in claim 8, further comprising:
and the first determining submodule is used for determining that the target raspberry group device with abnormal power consumption parameters does not exist when the difference between the average power consumption value of the computing device and the preset power consumption value of each raspberry group device is smaller than the first preset difference.
13. The apparatus of claim 8, wherein when the type of each computing device in each raspberry-sending device is different, the apparatus further comprises:
the calculating module is used for calculating the standard power consumption value of each raspberry group device according to the standard power consumption value of each calculating device in each raspberry group device;
the establishing module is used for establishing the corresponding relation between the raspberry group device and the standard power consumption value of the raspberry group device.
14. The apparatus of claim 13, wherein the first determination module comprises:
an extracting sub-module, configured to extract an actual power consumption value of each raspberry-sending device from a power consumption parameter of each raspberry-sending device;
The second comparing sub-module is used for comparing the actual power consumption value of each raspberry group device with the standard power consumption value corresponding to each raspberry group device;
a third determining submodule, configured to determine that the target raspberry group device has no abnormal power consumption parameter when the difference between the actual power consumption value of each raspberry group device and the corresponding standard power consumption value is smaller than the second preset difference;
and the fourth determining submodule is used for determining the target raspberry group device with abnormal power consumption parameters when the difference value between the actual power consumption value of the target raspberry group device and the standard power consumption value corresponding to the target raspberry group device is larger than a second preset difference value.
CN201811361915.XA 2018-11-15 2018-11-15 Power consumption detection method and device Active CN109542726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811361915.XA CN109542726B (en) 2018-11-15 2018-11-15 Power consumption detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811361915.XA CN109542726B (en) 2018-11-15 2018-11-15 Power consumption detection method and device

Publications (2)

Publication Number Publication Date
CN109542726A CN109542726A (en) 2019-03-29
CN109542726B true CN109542726B (en) 2023-05-16

Family

ID=65847847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811361915.XA Active CN109542726B (en) 2018-11-15 2018-11-15 Power consumption detection method and device

Country Status (1)

Country Link
CN (1) CN109542726B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111308180A (en) * 2020-03-17 2020-06-19 浙江正泰仪器仪表有限责任公司 Metering instrument power consumption abnormity detection method and metering instrument

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI489725B (en) * 2013-11-07 2015-06-21 Inst Information Industry Apparatus and method for creating a power consumption model and computer program product thereof
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN106502858A (en) * 2016-10-09 2017-03-15 深圳市金立通信设备有限公司 A kind of multiple subsystem power consumption determines method and terminal
CN107291211A (en) * 2017-06-05 2017-10-24 北京奇虎科技有限公司 The electric quantity consumption of application program determines method and device
CN107271764B (en) * 2017-06-19 2020-05-12 宁波三星医疗电气股份有限公司 Method and device for detecting abnormal power consumption of electrical appliance

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality

Also Published As

Publication number Publication date
CN109542726A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN107872528B (en) Message pushing method and device
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN108491301B (en) Electronic device, abnormality early warning method based on redis and storage medium
CN108121559A (en) Configuration file method for pushing, server and storage medium
CN110222535B (en) Processing device, method and storage medium for block chain configuration file
CN110267215B (en) Data detection method, equipment and storage medium
CN115858311A (en) Operation and maintenance monitoring method and device, electronic equipment and readable storage medium
CN109542726B (en) Power consumption detection method and device
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
CN109002348B (en) Load balancing method and device in virtualization system
CN105357267A (en) Method, device and system for obtaining server information
CN110955390A (en) Data processing method and device and electronic equipment
CN111722857A (en) Updating method and device of software development kit, electronic equipment and storage medium
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN112565348A (en) Intelligent equipment testing method and system, computer equipment and storage medium
CN110032341B (en) Module data processing method and device, electronic equipment and medium
CN109871294B (en) Method and device for checking data and processing request
CN111353558A (en) Error detection method and device for identification code and terminal
CN110765392A (en) Data loading method and device, storage medium and terminal
CN112747946B (en) Equipment structure damage detection method and device
CN107766232B (en) Plug-in management method and device
CN107548088B (en) Mobile equipment identity identification method and service server
CN112070456B (en) Method for issuing task, terminal equipment, robot and storage medium
CN110188006B (en) Data maintenance method, device and equipment
CN113239396A (en) Data access system, method, device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220602

Address after: Room 2001, 20 / F, building 1, yard 1, No. 81, Beiqing Road, Haidian District, Beijing 100094

Applicant after: Canaan Creative Co.,Ltd.

Address before: Room 1203, 12 / F, building 4, No. 9, Jiuhuan Road, Jianggan District, Hangzhou City, Zhejiang Province, 310019

Applicant before: Hangzhou Canaan Creative Information Technology Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant