CN111475323B - Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault - Google Patents

Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault Download PDF

Info

Publication number
CN111475323B
CN111475323B CN202010237069.1A CN202010237069A CN111475323B CN 111475323 B CN111475323 B CN 111475323B CN 202010237069 A CN202010237069 A CN 202010237069A CN 111475323 B CN111475323 B CN 111475323B
Authority
CN
China
Prior art keywords
power consumption
target
module
equipment
fault
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
CN202010237069.1A
Other languages
Chinese (zh)
Other versions
CN111475323A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010237069.1A priority Critical patent/CN111475323B/en
Publication of CN111475323A publication Critical patent/CN111475323A/en
Application granted granted Critical
Publication of CN111475323B publication Critical patent/CN111475323B/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/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • 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 application relates to a method, a device, equipment and a computer readable medium for identifying faults through electric quantity consumption. The method comprises the following steps: acquiring first power consumption of the target equipment, wherein the first power consumption is used for indicating the total power consumption condition of the target equipment in the statistical time; in the case where the failure of the target apparatus is diagnosed using the first power consumption amount, a failure module of the target apparatus is identified using a second power consumption amount, where the second power consumption amount is an extra power amount of the first power consumption amount that is abnormally consumed by the failure module of the target apparatus. According to the application, the early hardware fault can be detected and identified by applying the power consumption abnormity, the hardware abnormity can be found earlier, the fault can be prevented and solved as soon as possible, and meanwhile, the hardware fault and the fault module can be visually displayed for a user by combining the augmented reality technology.

Description

Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault
Technical Field
The present application relates to the field of hardware detection technologies, and in particular, to a method, an apparatus, a device, and a computer readable medium for diagnosing an electric quantity consumption fault.
Background
Along with the rapid development of intelligent and integrated technologies, the intelligent degree and the integrated degree of devices such as a mobile phone, a computer, a Bluetooth gateway and the like reach unprecedented peaks, the complexity and the difficulty of hardware detection are greatly improved, particularly, in the early stage of hardware failure, the devices do not have visual performance, the user can hardly find the early stage failure in use, so that the time for repairing the optimal hardware is missed, and the small problem finally becomes a big problem. The inventor finds that in the early stage of hardware failure, the power consumption of the equipment exceeds the loss under normal conditions, and the power consumption is high.
Augmented Reality (AR) is a new technology for seamlessly integrating real world information and virtual world information, and is characterized in that entity information (visual information, sound, taste, touch and the like) which is difficult to experience in a certain time space range of the real world originally is overlapped after simulation through scientific technologies such as computers and the like, virtual information is applied to the real world and is perceived by human senses, and therefore sensory experience beyond Reality is achieved. The real environment and the virtual object are superimposed on the same picture or space in real time and exist simultaneously.
At present, in the related technology, the reason for causing fast power consumption is roughly summarized as that too many application processes are opened, the CPU and the memory resources occupy large and the hardware is seriously damaged, when too many application processes are opened and the CPU and the memory resources occupy large to cause fast power consumption, a user can intuitively feel that the equipment generates heat seriously, and when the hardware is seriously damaged, the equipment basically loses the working capacity.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a method, a device, equipment and a computer readable medium for diagnosing electric quantity consumption faults, so as to solve the technical problem that early hardware faults are difficult to find.
In a first aspect, the present application provides a method for diagnosing a power consumption fault, including: acquiring first power consumption of the target equipment, wherein the first power consumption is used for indicating the total power consumption condition of the target equipment in the statistical time; and under the condition that the target equipment is diagnosed to be out of order by utilizing the first power consumption, identifying a fault module of the target equipment by utilizing a second power consumption, wherein the second power consumption is the power consumption caused by the abnormal operation of the fault module of the target equipment in the first power consumption.
Optionally, after identifying the faulty module of the target device using the second power consumption amount, the method further includes: and displaying a fault module of the target equipment to the target object through a preset model to prompt the target object to process faults existing in the fault module, wherein the preset model is an AR model matched with the target equipment.
Optionally, the module for displaying the fault of the target device to the target object through the preset model includes: acquiring model information of target equipment; acquiring a target AR model matched with the model information from an AR model library; and displaying the fault module at the position matched with the fault module in the target AR model.
Optionally, the obtaining the first power consumption of the target device includes: calling a query interface, wherein the query interface is an interface for querying the power utilization condition of the target equipment; and acquiring first power consumption of the target device through the query interface.
Optionally, before identifying the fault module of the target device by using the second power consumption amount when the target device is diagnosed to be faulty by using the first power consumption amount, performing fault diagnosis on the target device by using the first power consumption amount as follows: comparing the first power consumption with a power consumption threshold value, wherein the power consumption threshold value represents the maximum power consumption consumed by the target equipment in normal operation within the statistical time; determining that the target device is malfunctioning if the first power consumption exceeds a power consumption threshold.
Optionally, before identifying the faulty module of the target device using the second power consumption amount, the method further includes obtaining the second power consumption amount as follows: and calculating the difference value between the first power consumption and the power consumption threshold value to obtain second power consumption.
Optionally, in the case where the target device is diagnosed as malfunctioning using the first power consumption amount, the module for identifying the malfunction of the target device using the second power consumption amount includes: and determining the fault module of the target equipment according to the generation position of the second power consumption.
In a second aspect, the present application provides an apparatus for diagnosing power consumption failure, including: the power consumption obtaining module is used for obtaining first power consumption of the target equipment, wherein the first power consumption indicates the total power consumption condition of the target equipment in the statistical time; and the fault diagnosis and positioning module is used for identifying a fault module of the target equipment by using a second power consumption when the target equipment is diagnosed to be in fault by using the first power consumption, wherein the second power consumption is the power consumption caused by abnormal operation of the fault module of the target equipment in the first power consumption.
In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and the processor implements the steps of any one of the above methods when executing the computer program.
In a fourth aspect, the present application also provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods of the first aspect.
Compared with the related art, the technical scheme provided by the embodiment of the application has the following advantages:
the method comprises the steps of obtaining first power consumption of target equipment, wherein the first power consumption is used for indicating the total power consumption condition of the target equipment in statistical time; under the condition that the target equipment is diagnosed to be out of order by utilizing the first power consumption, the fault module of the target equipment is identified by utilizing the second power consumption, wherein the second power consumption is the extra power consumed by the fault module of the target equipment in the first power consumption in an abnormal mode, the early hardware fault detection and identification are realized by applying the power consumption abnormity, the hardware abnormity can be found earlier, the fault can be prevented and solved as soon as possible, and meanwhile, the hardware fault and the fault module can be visually shown to a user by combining an augmented reality technology.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any creative effort.
Fig. 1 is a schematic diagram of a hardware environment of an alternative power consumption fault diagnosis method according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of power consumption fault diagnosis provided in accordance with an embodiment of the present application;
fig. 3 is a block diagram of an alternative power consumption fault diagnosis apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
In the related technology, the reason for causing the fast power consumption of the hardware equipment is that the application process is opened too much, the CPU and the memory resource are occupied greatly and the hardware is damaged seriously, when the power consumption is fast due to the too much opening of the application process and the large occupation of the CPU and the memory resource, a user can intuitively feel that the equipment is heated seriously, and when the hardware is damaged seriously, the equipment basically loses the working capacity. In the research process, the inventor finds that the problem of abnormal power consumption also occurs in the early stage of hardware damage, namely when the hardware has a wire damage and the equipment is possibly still usable.
According to an aspect of embodiments of the present application, there is provided an embodiment of a method of power consumption fault diagnosis.
Alternatively, in the embodiment of the present application, the method for diagnosing the power consumption fault may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a terminal 101 through a network, which may be used to provide services for the terminal or a client installed on the terminal, and a database 105 may be provided on the server or separately from the server, and is used to provide data storage services for the server 103, and the network includes but is not limited to: wide area network, metropolitan area network, or local area network, and the terminal 101 includes, but is not limited to, a PC, a mobile phone, a tablet, a gateway, and the like.
A method in this embodiment may be executed by the server 103, or may be executed by both the server 103 and the terminal 101, as shown in fig. 2, where the method may include the following steps:
step S202, acquiring first power consumption of the target device, wherein the first power consumption is used for indicating the total power consumption condition of the target device in the statistical time;
in the embodiment of the application, the target device can be a mobile phone, a PC, a tablet personal computer, a Bluetooth gateway, an air conditioner, an electric cooker, a refrigerator and other devices. The first power consumption amount may indicate an amount of power that the target device consumes in a statistical time, the statistical time may be set in advance, for example, two hours, one day, and the like, and the power consumption condition of the target device may be queried by calling an interface provided by a power office.
And step S204, under the condition that the target equipment is diagnosed to be in fault by using the first power consumption, identifying a fault module of the target equipment by using a second power consumption, wherein the second power consumption is the power consumption caused by abnormal operation of the fault module of the target equipment in the first power consumption.
In the embodiment of the application, the corresponding test device of the target device may perform a large number of load tests before the target device leaves a factory, for example, a plurality of application processes are simultaneously opened, the target device is operated in a game mode, a video mode, and the like within a certain time to test the power consumption threshold, the heating condition, and the like of the device under normal conditions, and a test environment in which each hardware module is damaged in an early stage may be created to collect the total power consumption of the hardware module and the device. Under normal conditions, the target equipment is used in a multi-process mode, a game mode, a video mode and the like, the power consumption is temporarily accelerated, the equipment is heated, and the equipment can be recovered to be normal after the mode is exited for a period of time. However, when the hardware is damaged, even in an early stage, the device continuously consumes power abnormally, so that when the detected first power consumption exceeds the power consumption threshold, the target device can be judged to have a hardware fault, and a module with the fault can be traced back according to the extra power consumed abnormally, so that the problem can be prevented and found in time in the early stage of the hardware fault, the problem is solved, and the problem in the early stage is prevented from being delayed to generate irreparable huge loss.
Optionally, after the fault module of the target device is identified by using the second power consumption amount, an optional fault module display manner is further provided in the embodiments of the present application, that is, the fault module of the target device is displayed to the target object through a preset model to prompt the target object to process a fault existing in the fault module, where the preset model is an AR model matched with the target device.
Augmented Reality (AR) is a new technology for seamlessly integrating real world information and virtual world information, and is a technology for applying virtual information to the real world and sensing the virtual information by human senses by overlaying entity information which is difficult to experience in a certain time space range of the real world originally through computer and other scientific technologies after simulation, so that the beyond-Reality sensory experience is achieved. The real environment and the virtual object are superimposed on the same picture or space in real time and exist simultaneously. According to the embodiment of the application, the information such as the outline, the internal structure and the current flow of the target device can be displayed through the mobile device through the augmented reality technology, for example, when a CPU is operated, the current operated on the CPU is green through an AR model, and when an abnormality occurs, the current turns red.
Optionally, the displaying, by the preset model, the fault module of the target device to the target object includes the following steps:
step 1, obtaining model information of target equipment;
step 2, obtaining a target AR model matched with the model information from an AR model library;
and 3, displaying the fault module at the position matched with the fault module in the target AR model.
In the embodiment of the application, the AR model of the device is stored in the cloud server, and can be preset in the local storage of the device, and the AR model can be called by the application program to perform related operations. Under the condition that the AR model is obtained through the cloud server, model information of the target device needs to be obtained, the AR model of the corresponding model is searched and obtained through the model information, and the obtained AR model is matched with the target device. The AR model can comprise information such as contour appearance, internal structure, module disassembly, current flow direction and the like of the equipment, and functions provided by the AR model can be enriched through various plug-ins. According to the embodiment of the application, the information such as the outline, the internal structure and the current flow of the target equipment can be displayed through the mobile equipment through the augmented reality technology, for example, when a CPU is operated, the current operated on the CPU is green through an AR model, and when the CPU is abnormal, the current becomes red to indicate that the CPU breaks down.
Optionally, an optional first power consumption obtaining method is further provided in an embodiment of the present application, including the following steps:
step 1, calling a query interface, wherein the query interface is an interface for querying the power consumption condition of target equipment;
and 2, acquiring first power consumption of the target equipment through the query interface.
In this embodiment, the query interface may be a query interface provided by a third party service provider, such as a power office, through which the detailed power consumption condition of the device may be checked.
Optionally, before the fault module of the target device is identified by using the second power consumption amount, an optional method for performing fault diagnosis on the target device by using the first power consumption amount is further provided in this embodiment of the present application, and includes the following steps:
step 1, comparing the first power consumption with a power consumption threshold value, wherein the power consumption threshold value represents the maximum power consumption consumed by normal operation of target equipment within statistical time;
and 2, determining that the target equipment fails under the condition that the first power consumption exceeds the power consumption threshold.
In the embodiment of the application, the target device can be judged according to the comparison result of the first power consumption and the power consumption threshold by utilizing the first power consumption for fault diagnosis, specifically, a large number of experimental researches show that the power consumption of the device in a period of time is larger than 1.3 times of the power consumption of the new device in the same period of time, the abnormal power consumption can be judged, at the moment, the use state of the device can be checked, if the power consumption is abnormal due to too many application processes or too long duration time of a game mode and a video mode, the power consumption condition in a period of time is counted, and if the power consumption is recovered to a normal value interval after a plurality of processes, a game mode and a video mode are quitted, the hardware state does not need to be detected. If the plurality of application processes, the game mode and the video mode are not started, and the electric quantity consumed by the equipment in a period of time is 1.3 times larger than that consumed by the new equipment in the same period of time, the equipment is judged to have a hardware fault, the equipment can still be used at the moment, and the equipment needs to be processed early in the early stage of the fault so as to avoid the problem in the early stage from being delayed to generate irreparable huge loss. The following is a description of processing according to actual circumstances.
Within the statistical time, the normal power consumption of the new device is 1000mAh, under the conditions of simultaneously operating a plurality of application processes, a continuous operation game mode, a continuous operation video mode and the like, the power consumption can be measured to be different from 1000mAh to 1300mAh, and under the condition of WIFI module failure, a WIFI module can be continuously in a working state and occupies a large amount of CPU and memory resources, so that the power consumption reaches 1430mAh, at the moment, the hardware failure of the device can be judged, and the position where abnormal power consumption is generated, namely the WIFI module, can be traced according to the extra power consumption exceeding the power consumption threshold 1300mAh, so that the hardware failure of the WIFI module is found before the major loss of the WIFI module is caused, and finally the hardware failure of the WIFI module is fed back in time, if the abnormal loss is lower than 10% of the power consumption threshold, no user operation is needed, the user can continuously use the device, and the application program can be automatically reported and repaired, the user can receive the telephone for maintenance the next day, and the equipment can be repaired quickly; when the abnormal loss is higher than 10% of the power consumption threshold and is less than 50%, reminding the user to report the repair in a prompt box notification mode, and suggesting the user to stop using the equipment; when the abnormal loss is higher than 50% of the power consumption threshold, the user is notified to report the repair and the use of the device is stopped.
Optionally, before identifying the faulty module of the target device using the second power consumption amount, the method further includes obtaining the second power consumption amount as follows: and calculating the difference value between the first power consumption and the power consumption threshold value to obtain second power consumption.
In this embodiment, the second power consumption is the extra power consumed by the faulty module in the first power consumption, i.e., the total power consumed by the device. For example, if the first power consumption is 1450mAh measured in a certain time period and the power consumption threshold in the time period is 1300mAh, the second power consumption can be calculated to be 150 mAh.
Optionally, the identifying the fault module of the target device using the second power consumption amount includes, in a case where the target device is diagnosed as faulty: and determining the fault module of the target equipment according to the generation position of the second power consumption.
In the embodiment of the application, each module in the equipment respectively plays its own role, the consumed electric quantity is also in a normal range, when a certain module has hardware faults, the fault module can additionally consume the electric quantity to cause quick power consumption, and the position of abnormal consumption is traced back according to the additionally consumed electric quantity, so that the fault module can be determined. The temperature of each module in the equipment can be calculated, so that the module which generates heat abnormally can be positioned, namely the fault module.
The embodiment of the application can be operated when the user needs, namely the user is started through the application program, or the user can calculate the power utilization condition of the equipment without opening the application program, judge whether the equipment is abnormal or not through the power utilization condition, if the equipment is abnormal, the equipment can be sent to the mobile terminal through a notification mode, and the maintenance personnel can be automatically fed back when the equipment is seriously abnormal.
The method comprises the steps of obtaining first power consumption of target equipment, wherein the first power consumption indicates the total power consumption condition of the target equipment in statistical time; under the condition that the target equipment is diagnosed to be out of order by utilizing the first power consumption, the fault module of the target equipment is identified by utilizing the second power consumption, wherein the second power consumption is the extra power consumed by the fault module of the target equipment in the first power consumption in an abnormal mode, the early hardware fault detection and identification are realized by applying the power consumption abnormity, the hardware abnormity can be found earlier, the fault can be prevented and solved as soon as possible, and meanwhile, the hardware fault and the fault module can be visually shown to a user by combining an augmented reality technology.
According to still another aspect of the embodiments of the present application, as shown in fig. 3, there is provided an apparatus for diagnosing a power consumption failure, including: the power obtaining module 301 is configured to obtain a first power consumption amount of the target device, where the first power consumption amount is used to indicate a total power consumption condition of the target device within a statistical time; and a fault diagnosis and location module 303, configured to identify a fault module of the target device by using a second power consumption amount when the target device is diagnosed to be faulty by using the first power consumption amount, where the second power consumption amount is a power consumption amount of the first power consumption amount, where the power consumption amount is caused by abnormal operation of the fault module of the target device.
It should be noted that the electric quantity obtaining module 301 in this embodiment may be configured to execute step S202 in this embodiment, and the fault diagnosing and positioning module 303 in this embodiment may be configured to execute step S204 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Optionally, the apparatus for diagnosing power consumption failure further includes: and the AR model module is used for displaying the fault module of the target equipment to the target object through the preset model so as to prompt the target object to process the fault existing in the fault module, wherein the preset model is an AR model matched with the target equipment.
Optionally, the apparatus for diagnosing power consumption failure further includes: the model acquisition module is used for acquiring model information of the target equipment; the model matching module is used for acquiring a target AR model matched with the model information from the AR model library; a display module to display the second power consumption at a fault module in the target AR model.
Optionally, the apparatus for diagnosing power consumption failure further includes: the interface calling module is used for calling a query interface, wherein the query interface is an interface for querying the power utilization condition of the target equipment; the first power consumption obtaining module is used for obtaining first power consumption of the target device through the query interface.
Optionally, the apparatus for diagnosing power consumption failure further includes: the comparison module is used for comparing the first power consumption with a power consumption threshold value, wherein the power consumption threshold value represents the maximum power consumption consumed by normal operation of the target equipment within the statistical time; and the fault determining module is used for determining that the target equipment is in fault under the condition that the first power consumption exceeds the power consumption threshold.
Optionally, the apparatus for diagnosing power consumption failure further includes: and the second power consumption calculating module is used for calculating the difference value between the first power consumption and the power consumption threshold value to obtain second power consumption.
Optionally, the apparatus for diagnosing power consumption failure further includes: and the fault tracing module is used for determining the fault module of the target equipment according to the generation position of the second power consumption.
There is also provided, in accordance with yet another aspect of the embodiments of the present application, a computer device, including a memory and a processor, the memory having stored therein a computer program executable on the processor, the processor implementing the steps when executing the computer program.
The memory and the processor in the computer device communicate with each other through a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
There is also provided, in accordance with yet another aspect of an embodiment of the present application, a computer-readable medium having non-volatile program code executable by a processor.
Optionally, in an embodiment of the present application, a computer readable medium is configured to store program code for the processor to perform the following steps:
step S202, acquiring first power consumption of the target device, wherein the first power consumption is used for indicating the total power consumption condition of the target device in the statistical time;
and step S204, under the condition that the target equipment is diagnosed to be in fault by using the first power consumption, identifying a fault module of the target equipment by using a second power consumption, wherein the second power consumption is the power consumption caused by abnormal operation of the fault module of the target equipment in the first power consumption.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
When the embodiments of the present application are specifically implemented, reference may be made to the above embodiments, and corresponding technical effects are achieved.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk. It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of power consumption fault diagnosis, comprising:
acquiring first power consumption of target equipment, wherein the first power consumption is used for indicating the total power consumption condition of the target equipment in statistical time;
identifying a fault module of the target device by using a second power consumption amount when the fault of the target device is diagnosed by using the first power consumption amount, wherein the second power consumption amount is a power consumption amount of the first power consumption amount, which is caused by abnormal operation of the fault module of the target device;
before obtaining the first power consumption of the target device, the method further includes: before delivery, the target equipment performs a load test on the target equipment by using test equipment, wherein the load test comprises the steps of simultaneously opening a plurality of application processes, and operating the target equipment in a game mode and a video mode within a certain time so as to test the power consumption threshold and the heating condition of the target equipment under a normal condition; creating a test environment in which each hardware module is damaged early, and collecting the power consumption of the hardware module and the total equipment;
if the plurality of application processes, the game mode and the video mode are not started and the electric quantity consumed by the equipment in a period of time is 1.3 times larger than that consumed by the new equipment in the same period of time, judging that an early hardware fault exists;
when the abnormal loss is less than 10% of the power consumption threshold, the application program automatically reports the power consumption threshold; when the abnormal loss is more than or equal to 10% of the power consumption threshold and less than 50%, sending a repair prompt message and a prompt message for recommending stopping using the equipment to the user; when the abnormal loss is higher than 50% of the power consumption threshold, the user is notified to report the repair and the use of the device is stopped.
2. The method of claim 1, wherein after identifying the faulty module of the target device using the second amount of power consumption, the method further comprises:
and displaying the fault module of the target equipment to a target object through a preset model to prompt the target object to process faults existing in the fault module, wherein the preset model is an AR model matched with the target equipment.
3. The method of claim 2, wherein presenting the failed module of the target device to a target object through a preset model comprises:
obtaining model information of the target equipment;
acquiring a target AR model matched with the model information from an AR model library;
displaying the failed module in a location in the target AR model that matches the failed module.
4. The method of claim 1, wherein obtaining the first power consumption of the target device comprises:
calling a query interface, wherein the query interface is an interface for querying the power utilization condition of the target equipment;
and acquiring the first power consumption of the target equipment through the query interface.
5. The method according to claim 4, wherein, in a case where the target apparatus is diagnosed as malfunctioning using the first power consumption amount, before identifying a malfunctioning module of the target apparatus using the second power consumption amount, further comprising performing malfunction diagnosis on the target apparatus using the first power consumption amount as follows:
comparing the first power consumption with a power consumption threshold, wherein the power consumption threshold represents a maximum power consumption consumed by the target device for normal operation within the statistical time;
determining that the target device is malfunctioning if the first amount of power consumption exceeds the power consumption threshold.
6. The method of claim 5, wherein identifying the faulty module of the target device using the second amount of power consumption is preceded by obtaining the second amount of power consumption as follows:
and calculating the difference value of the first power consumption and the power consumption threshold value to obtain the second power consumption.
7. The method of claim 6, wherein identifying the faulty module of the target device using the second power consumption amount in the case where the target device is diagnosed as faulty using the first power consumption amount comprises:
and determining the fault module of the target equipment according to the generation position of the second power consumption.
8. An apparatus for power consumption failure diagnosis, comprising:
the power consumption obtaining module is used for obtaining first power consumption of target equipment, wherein the first power consumption indicates the total power consumption condition of the target equipment within the statistical time;
the fault diagnosis and positioning module is used for identifying a fault module of the target equipment by using a second power consumption amount under the condition that the target equipment is diagnosed to be in fault by using the first power consumption amount, wherein the second power consumption amount is the power consumption amount of the first power consumption amount, which is caused by the abnormal operation of the fault module of the target equipment;
a load test module for: before delivery, the target equipment performs a load test on the target equipment by using test equipment, wherein the load test comprises the steps of simultaneously opening a plurality of application processes, and operating the target equipment in a game mode and a video mode within a certain time so as to test the power consumption threshold and the heating condition of the target equipment under a normal condition; creating a test environment in which each hardware module is damaged early, and collecting the power consumption of the hardware module and the total equipment;
the fault diagnosis and location module is further to: if the plurality of application processes, the game mode and the video mode are not started and the electric quantity consumed by the equipment in a period of time is 1.3 times larger than that consumed by the new equipment in the same period of time, judging that an early hardware fault exists;
an exception handling module to: when the abnormal loss is less than 10% of the power consumption threshold, the application program automatically reports the power consumption threshold; when the abnormal loss is more than or equal to 10% of the power consumption threshold and less than 50%, sending a repair prompt message and a prompt message for recommending stopping using the equipment to the user; when the abnormal loss is higher than 50% of the power consumption threshold, the user is notified to report the repair and the use of the device is stopped.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
CN202010237069.1A 2020-03-30 2020-03-30 Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault Active CN111475323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010237069.1A CN111475323B (en) 2020-03-30 2020-03-30 Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010237069.1A CN111475323B (en) 2020-03-30 2020-03-30 Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault

Publications (2)

Publication Number Publication Date
CN111475323A CN111475323A (en) 2020-07-31
CN111475323B true CN111475323B (en) 2021-08-17

Family

ID=71747974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010237069.1A Active CN111475323B (en) 2020-03-30 2020-03-30 Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault

Country Status (1)

Country Link
CN (1) CN111475323B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114065898B (en) * 2021-12-21 2022-05-17 特斯联科技集团有限公司 Air conditioner energy use measurement and control method and system based on decision-making technology

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383763A (en) * 2016-05-30 2017-02-08 徐克� Data center intelligent fault detection alarm system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE0601216L (en) * 2006-05-31 2007-12-01 Abb Technology Ltd Virtual workplace
CN102237681B (en) * 2010-04-27 2015-07-22 海尔集团公司 Control method and system for power consumption of home appliances and corresponding device
CN106097425A (en) * 2016-06-07 2016-11-09 天津天大求实电力新技术股份有限公司 Power equipment information retrieval based on augmented reality and methods of exhibiting and system
CN107832190B (en) * 2017-10-31 2020-09-22 维沃移动通信有限公司 Diagnosis method for power consumption abnormity, mobile terminal and storage medium
CN109298270A (en) * 2018-11-21 2019-02-01 珠海格力电器股份有限公司 One kind determining equipment fault detection method and its detection system based on electricity consumption

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383763A (en) * 2016-05-30 2017-02-08 徐克� Data center intelligent fault detection alarm system

Also Published As

Publication number Publication date
CN111475323A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN110069051A (en) Household electrical appliances fault handling method and device
CN111219942B (en) Refrigerator fault prediction method and device
CN110908964A (en) Monitoring method, device, terminal and storage medium of distributed file system
CN111858254B (en) Data processing method, device, computing equipment and medium
CN111786807A (en) Fault prompting system, method, device and storage medium
CN112101666A (en) Fault prediction method and device, readable storage medium and computer equipment
CN110749027B (en) Monitoring method and device for electrical equipment, air conditioner and storage medium
CN113432207A (en) Communication control method and device for indoor and outdoor units of air conditioner, air conditioner and storage medium
CN111475323B (en) Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault
CN107451003B (en) Test method and device for storage system
CN110967566A (en) Electrical appliance fault detection method and device
CN111917606B (en) Method and device for processing fault information, storage medium and electronic equipment
CN109597728B (en) Control method and device of test equipment and computer readable storage medium
CN116843314A (en) Monitoring terminal operation and maintenance management method, system, equipment and storage medium
CN111062503A (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN113835961B (en) Alarm information monitoring method, device, server and storage medium
WO2019128373A1 (en) Detection method, device, computer device and storage medium for faulty device
CN112230088B (en) Household appliance power-on self-checking method, system, equipment and storage medium
CN114610560B (en) System abnormality monitoring method, device and storage medium
CN110704219B (en) Hardware fault reporting method and device and computer storage medium
CN113946465A (en) Big data fault processing method and related equipment thereof
CN115372752A (en) Fault detection method, device, electronic equipment and storage medium
CN107957942B (en) SQL script fault repairing method and terminal thereof
CN112594865B (en) Fan fault processing method and device and electronic device
JP2019028573A (en) Display control program, display control method and display control device

Legal Events

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