CN111240917A - Equipment testing method and device - Google Patents

Equipment testing method and device Download PDF

Info

Publication number
CN111240917A
CN111240917A CN202010031275.7A CN202010031275A CN111240917A CN 111240917 A CN111240917 A CN 111240917A CN 202010031275 A CN202010031275 A CN 202010031275A CN 111240917 A CN111240917 A CN 111240917A
Authority
CN
China
Prior art keywords
power consumption
tested
equipment
consumption value
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010031275.7A
Other languages
Chinese (zh)
Other versions
CN111240917B (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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202010031275.7A priority Critical patent/CN111240917B/en
Publication of CN111240917A publication Critical patent/CN111240917A/en
Application granted granted Critical
Publication of CN111240917B publication Critical patent/CN111240917B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • 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/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 application discloses a device testing method and device, which are used for improving the accuracy of a device testing result. The method comprises the following steps: judging whether the minimum power consumption value of the device to be tested meets a first preset condition or not in the running process of the device to be tested; under the condition that the minimum power consumption value of the to-be-tested equipment meets a first preset condition, judging whether the average power consumption value of the to-be-tested equipment meets a second preset condition or not; under the condition that the average power consumption value of the equipment does not meet a second preset condition, judging whether the variation amplitude of the power consumption value of the equipment is smaller than a preset amplitude or not; and under the condition that the variation amplitude of the equipment power is smaller than the preset amplitude, determining that the equipment to be tested is normal equipment. By adopting the scheme provided by the application, the phenomenon that the normal machine is mistaken for the abnormal machine due to overhigh environment temperature can be avoided, and the accuracy of the equipment test result is improved.

Description

Equipment testing method and device
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method and an apparatus for testing devices.
Background
Before the equipment leaves the factory, quality detection is carried out, so that the equipment leaving the factory meets the relevant technical standards and user requirements. In particular, electronic devices may be shipped from a factory to perform detection of various indexes, where detection of device power consumption is one of the main detection indexes.
In the prior art, when detecting the power consumption of a device, the average power consumption of the device is usually detected, and when the average power consumption of the device is abnormal, the device is considered to be unqualified, but there are many reasons for causing the abnormal average power consumption of the device: for example, the screw lock of the heat dissipation module is missed, the heat dissipation paste of the heat dissipation module is not uniform, poor assembly in a factory causes the frequency locking of the processor, the main body of the processor is poor, the environment temperature is too high, the frequency reduction protection of the processor is caused, and the reason that the average power consumption of the equipment is abnormal is that the environment temperature is too high, under the condition that the frequency reduction protection of the processor is caused, after the environment temperature is improved, the power consumption can return to normal.
Disclosure of Invention
An object of the embodiments of the present application is to provide a device testing method and apparatus, so as to improve the accuracy of a device testing result.
In order to solve the technical problem, the embodiment of the application adopts the following technical scheme: a method of device testing, the method comprising:
judging whether the minimum power consumption value of the device to be tested meets a first preset condition or not in the running process of the device to be tested;
under the condition that the minimum power consumption value of the to-be-tested equipment meets a first preset condition, judging whether the average power consumption value of the to-be-tested equipment meets a second preset condition or not;
under the condition that the average power consumption value of the equipment does not meet a second preset condition, judging whether the variation amplitude of the power consumption value of the equipment is smaller than a preset amplitude or not;
and under the condition that the variation amplitude of the equipment power is smaller than the preset amplitude, determining that the equipment to be tested is normal equipment.
The beneficial effect of this application lies in: under the condition that the average power consumption value of the equipment to be tested does not meet the second preset condition, the equipment to be tested is not directly determined to be abnormal equipment, but whether the change amplitude of the power consumption value of the equipment is smaller than the preset amplitude is continuously judged; under the condition that the variation amplitude of the equipment power is smaller than the preset amplitude, the equipment to be tested is determined to be normal equipment, the condition that the normal equipment is mistaken for an abnormal equipment due to overhigh ambient temperature can be avoided, and the accuracy of the equipment test result is improved.
In one embodiment, the determining whether the minimum power consumption value of the device to be tested satisfies a first preset condition includes:
judging whether the minimum power consumption value of the device to be tested is higher than a first threshold value or not;
and under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value, determining that the minimum power consumption value does not meet a first preset condition.
In one embodiment, the method further comprises:
and under the condition that the minimum power consumption value of the device to be tested does not meet a first preset condition, determining that the device to be tested is an abnormal device.
In one embodiment, the determining whether the average power consumption value of the device to be tested satisfies a second preset condition includes:
comparing the average power consumption value of the device to be tested with a second threshold value;
determining that the average power consumption value of the equipment to be tested meets a second preset condition under the condition that the average power consumption value of the equipment to be tested is larger than a second threshold value;
and under the condition that the average power consumption value of the equipment to be tested is smaller than or equal to a second threshold value, determining that the average power consumption value of the equipment to be tested does not meet a second preset condition.
In one embodiment, the method further comprises:
and under the condition that the average power consumption value of the equipment meets a second preset condition, determining that the equipment to be tested is normal equipment.
In one embodiment, the method further comprises:
and determining the device to be tested as an abnormal device under the condition that the variation amplitude of the device power is larger than or equal to a preset amplitude.
The present application further provides an apparatus testing device, including:
the device comprises a first judgment module, a second judgment module and a control module, wherein the first judgment module is used for judging whether the minimum power consumption value of the device to be tested meets a first preset condition or not in the running process of the device to be tested;
the second judgment module is used for judging whether the average power consumption value of the equipment to be tested meets a second preset condition or not under the condition that the minimum power consumption value of the equipment to be tested meets the first preset condition;
the third judging module is used for judging whether the variation amplitude of the power consumption value of the equipment is smaller than the preset amplitude or not under the condition that the average power consumption value of the equipment does not meet a second preset condition;
the first determining module is used for determining the device to be tested to be normal device under the condition that the variation amplitude of the device power is smaller than a preset amplitude.
In one embodiment, the first determining module includes:
the judgment submodule is used for judging whether the minimum power consumption value of the device to be tested is higher than a first threshold value or not;
the first determining submodule is used for determining that the minimum power consumption value does not meet a first preset condition under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value.
In one embodiment, the apparatus further comprises:
and the second determining module is used for determining the device to be tested as abnormal equipment under the condition that the minimum power consumption value of the device to be tested does not meet the first preset condition.
In one embodiment, the second determining module includes:
the comparison submodule is used for comparing the average power consumption value of the device to be tested with a second threshold value;
the second determining submodule is used for determining that the average power consumption value of the equipment to be tested meets a second preset condition under the condition that the average power consumption value of the equipment to be tested is larger than a second threshold value;
and the third determining submodule is used for determining that the average power consumption value of the equipment to be tested does not meet a second preset condition under the condition that the average power consumption value of the equipment to be tested is smaller than or equal to a second threshold value.
Drawings
Fig. 1 is a flowchart of a device testing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for testing a device according to another embodiment of the present application;
FIG. 3 is a flow chart of a method for testing a device according to another embodiment of the present application;
FIG. 4 is a block diagram of an apparatus testing device according to an embodiment of the present application;
fig. 5 is a block diagram of a device testing apparatus according to another embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
Fig. 1 is a flowchart of a device testing method provided in an embodiment of the present application, where the method may be applied to a device providing device testing or a device to be tested itself. As shown in FIG. 1, the method includes the following steps S11-S14:
in step S11, in the running process of the device to be tested, it is determined whether the minimum power consumption value of the device to be tested meets a first preset condition;
in step S12, under the condition that the minimum power consumption value of the device to be tested satisfies the first preset condition, determining whether the average power consumption value of the device to be tested satisfies a second preset condition;
in step S13, in a case that the average power consumption value of the device does not satisfy the second preset condition, determining whether a variation amplitude of the device power consumption value is smaller than a preset amplitude;
in step S14, in the case that the variation amplitude of the device power is smaller than the preset amplitude, it is determined that the device to be tested is a normal device.
In this embodiment, in the running process of the device to be tested, it is determined whether the minimum power consumption value of the device to be tested satisfies the first preset condition, and specifically, it is determined whether the minimum power consumption value of the device to be tested satisfies the first preset condition by:
judging whether the minimum power consumption value of the device to be tested is higher than a first threshold value or not; and under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value, determining that the minimum power consumption value does not meet a first preset condition.
More specifically, determining whether the minimum power consumption value of the device to be tested is higher than the first threshold value may be implemented by the following formula 1:
Figure BDA0002364391240000051
where n is the duration of the test in seconds and PL1 is the first threshold. For example, the duration of the test is 20min, that n is 1200, i is the calculation start time, for example, the result of 10min later in 20min is taken, and i is 601. K1Is an allowed error value.
Under the condition that the minimum power consumption value of the device to be tested meets a first preset condition, judging whether the average power consumption value of the device to be tested meets a second preset condition or not; specifically, when judging whether the average power consumption value of the device to be tested meets a second preset condition, comparing the average power consumption value of the device to be tested with a second threshold value; if the average power consumption value of the equipment to be tested is larger than the second threshold value, determining that the average power consumption value of the equipment to be tested meets a second preset condition; and if the average power consumption value of the equipment to be tested is smaller than or equal to the second threshold value, determining that the average power consumption value of the equipment to be tested does not meet the second preset condition.
More specifically, determining whether the minimum power consumption value of the device to be tested is higher than the first threshold value may be implemented by the following formula 2:
Figure BDA0002364391240000052
where n is the duration of the test in seconds and PL2 is the second threshold. For example, the duration of the test is 20min, that n is 1200, i is the calculation start time, for example, the result of 10min later in 20min is taken, and i is 601. K2Is an allowed error value.
The meaning of this equation 2 is: the actual average value in the period from 601 second to 1200 second should be greater than or equal to the average value of the preset PL2 minus K2, and the value of K2 is different among different products because the average power of the products is different due to different designs of each product item. The preset value PL2 is stable power consumption expected by product design, but the PL2 design also allows fluctuation according to different use scenes, so the average value of the same time period needs to be tested, and the PL2 value is different when different product designs are used.
It should be noted that, in both formula 1 and formula 2, the test is started from the ith second, which is to obtain the average power consumption of the device after the operation is stable for a period of time, because the power tends to be stable after the device is stable, and the stable power consumption has a reference value for testing whether the device is abnormal, for example: it makes sense to take the average value of the next 10 minutes after the test time length is 20 minutes (n is 1200s), i is 601s of the calculation starting time, n-i +1 is 1200s-601s +1 is 600s, i is the average power consumption of the next 600s (10 minutes). That is, when the average power consumption value of the device is less than the second threshold value PL2 and the allowed error value K2The average power consumption value of the device does not satisfy the second preset condition.
Under the condition that the average power consumption value of the equipment does not meet a second preset condition, judging whether the change amplitude of the power consumption value of the equipment is smaller than a preset amplitude or not; specifically, whether the variation amplitude of the power consumption value of the device is smaller than the preset amplitude can be judged by the following formula 3:
Figure BDA0002364391240000061
wherein t is testing time in seconds; pt is the power consumption of the CPU at t seconds; pt-1 is the power consumption of the CPU at t-1 second; k3Is an allowed error value.
The meaning of the above formula 3 is: within a period of testing time, the obtained absolute value of the ratio of the current time power consumption of the CPU to the power consumption of the CPU in the previous second minus 1 is greater than or equal to a time set of K3, when an element in the set is 0 (i.e., card (p) ═ 0), it is indicated that the variation amplitude of the power consumption of the device is smaller than a preset amplitude, and in this case, although the average power of the device does not satisfy the second preset condition, the external environment temperature triggers the temperature sensor during testing, which causes the CPU to perform down-conversion protection, which is a protection mechanism of the product.
The beneficial effect of this application lies in: under the condition that the average power consumption value of the equipment to be tested does not meet the second preset condition, the equipment to be tested is not directly determined to be abnormal equipment, but whether the change amplitude of the power consumption value of the equipment is smaller than the preset amplitude is continuously judged; under the condition that the variation amplitude of the equipment power is smaller than the preset amplitude, the equipment to be tested is determined to be normal equipment, the normal equipment is prevented from being mistaken for an abnormal equipment due to overhigh ambient temperature, and the accuracy of the equipment test result is improved.
In one embodiment, as shown in FIG. 2, the above step S11 can be implemented as the following steps S21-S22:
in step S21, determining whether the minimum power consumption value of the device to be tested is higher than a first threshold;
in step S22, in the case that the minimum power consumption of the device to be tested is not higher than the first threshold, it is determined that the minimum power consumption value does not satisfy the first preset condition.
In the embodiment, whether the minimum power consumption value of the device to be tested is higher than a first threshold value is judged; and under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value, determining that the minimum power consumption value does not meet a first preset condition. Specifically, the method can be realized by the following formula 1:
Figure BDA0002364391240000071
where n is the duration of the test in seconds and PL1 is the first threshold. For example, the duration of the test is 20min, that n is 1200, i is the calculation start time, for example, the result of 10min later in 20min is taken, and i is 601. K1Is an allowed error value.
For example, the frequency locking power consumption of a CPU of a certain platform is 15W, the predetermined power consumption of PL1 in product design is 45W, the minimum power consumption is judged, the K value is 30W, the formula can meet the condition that the average value of the actual power consumption in a period of time is more than or equal to 45W-30W, and the K value can be set according to CPUs of different platforms or different models. That is, in determining whether the minimum power value of the device to be tested is higher than the first threshold, an error may also be set as long as the minimum power value of the device to be tested is greater than or equal to the first thresholds PL1 and K1May be determined to satisfy a first preset condition. If the minimum power of the device to be tested is less than the first threshold PL1 and K1Determining that the minimum power does not satisfy a first preset condition.
In one embodiment, the method may also be implemented as the steps of:
and under the condition that the minimum power consumption value of the device to be tested does not meet the first preset condition, determining that the device to be tested is an abnormal device.
In this embodiment, when the minimum power consumption of the device to be tested does not satisfy the first preset condition, that is, the minimum power consumption of the device to be tested does not satisfy formula 1, it is determined that the device to be tested is an abnormal device.
In one embodiment, as shown in FIG. 3, the above step S12 can be implemented as the following steps S31-S33:
comparing the average power consumption value of the device to be tested with a second threshold value in step S31;
in step S32, determining that the average power consumption value of the device to be tested satisfies a second preset condition when the average power consumption value of the device to be tested is greater than a second threshold;
in step S33, in the case that the average power consumption value of the device to be tested is less than or equal to the second threshold, it is determined that the average power consumption value of the device to be tested does not satisfy the second preset condition.
In the embodiment, under the condition that the minimum power consumption value of the device to be tested meets a first preset condition, whether the average power consumption value of the device to be tested meets a second preset condition is judged; specifically, when judging whether the average power consumption value of the device to be tested meets a second preset condition, comparing the average power consumption value of the device to be tested with a second threshold value; if the average power consumption value of the equipment to be tested is larger than the second threshold value, determining that the average power consumption value of the equipment to be tested meets a second preset condition; and if the average power consumption value of the equipment to be tested is smaller than or equal to the second threshold value, determining that the average power consumption value of the equipment to be tested does not meet the second preset condition.
Determining whether the minimum power consumption value of the device to be tested is higher than the first threshold value may be implemented by the following equation 2:
Figure BDA0002364391240000081
where n is the duration of the test in seconds and PL2 is the second threshold. For example, the duration of the test is 20min, that n is 1200, i is the calculation start time, for example, the result of 10min later in 20min is taken, and i is 601. K2Is an allowed error value.
The meaning of this equation 2 is: the actual average value in the period from 601 second to 1200 second should be greater than or equal to the average value of the preset PL2 minus K2, and the value of K2 is different among different products because the average power of the products is different due to different designs of each product item. The preset value PL2 is stable power consumption expected by product design, but the PL2 design also allows fluctuation according to different use scenes, so the average value of the same time period needs to be tested, and the PL2 value is different when different product designs are used.
It should be noted that, in both formula 1 and formula 2, the order is from the firstThe test is started in i seconds, so as to obtain the average power consumption of the device after the operation is stable for a period of time, because the power tends to be stable after the device is stable, and the stable power consumption has a reference value when the test device is abnormal, for example: it makes sense to take the average value of the next 10 minutes after the test time length is 20 minutes (n is 1200s), i is 601s of the calculation starting time, n-i +1 is 1200s-601s +1 is 600s, i is the average power consumption of the next 600s (10 minutes). That is, when the average power consumption value of the device is less than the second threshold value PL2 and the allowed error value K2The average power consumption value of the device does not satisfy the second preset condition.
In one embodiment, the method may also be implemented as the steps of:
and under the condition that the average power consumption value of the equipment meets a second preset condition, determining that the equipment to be tested is normal equipment.
In this embodiment, when the average power consumption of the device satisfies the second preset condition, that is, when it is determined whether the average power consumption of the device satisfies the second preset condition by the above formula 2, if the average power consumption value of the device is greater than or equal to the second threshold value PL2 and the allowed error value K2When the difference is smaller than the first threshold, the average power consumption value of the device meets a second preset condition.
In one embodiment, the method may also be implemented as the steps of:
and determining the device to be tested as abnormal equipment under the condition that the variation amplitude of the power of the device is larger than or equal to the preset amplitude.
In this embodiment, when the variation amplitude of the device power is greater than or equal to the preset amplitude, that is, when the calculation is performed according to the formula 3, if card (p) ≠ 0, it is determined that the average power consumption of the device to be tested is abnormal and is not triggered by the frequency-down protection mechanism due to the ambient temperature, and therefore, it is determined that the device to be tested is an abnormal device.
Fig. 4 is a block diagram of a device testing apparatus provided in an embodiment of the present application, where the apparatus may be applied to a device providing device testing or a device to be tested itself. As shown in fig. 4, the apparatus includes:
the first judging module 41 is configured to judge whether a minimum power consumption value of the device to be tested meets a first preset condition in an operation process of the device to be tested;
the second judging module 42 is configured to judge whether the average power consumption value of the device to be tested meets a second preset condition or not when the minimum power consumption value of the device to be tested meets the first preset condition;
a third determining module 43, configured to determine whether a variation amplitude of the power consumption value of the device is smaller than a preset amplitude when the average power consumption value of the device does not satisfy a second preset condition;
the first determining module 44 is configured to determine that the device to be tested is a normal device when the variation amplitude of the device power is smaller than the preset amplitude.
In one embodiment, as shown in fig. 5, the first determining module 41 includes:
the judgment submodule 51 is configured to judge whether the minimum power consumption value of the device to be tested is higher than a first threshold;
the first determining submodule 52 is configured to determine that the minimum power consumption value does not satisfy the first preset condition when the minimum power consumption of the device to be tested is not higher than the first threshold.
In one embodiment, the apparatus further comprises:
and the second determining module is used for determining the device to be tested as abnormal equipment under the condition that the minimum power consumption value of the device to be tested does not meet the first preset condition.
In one embodiment, the second determining module includes:
the comparison submodule is used for comparing the average power consumption value of the device to be tested with a second threshold value;
the second determining submodule is used for determining that the average power consumption value of the equipment to be tested meets a second preset condition under the condition that the average power consumption value of the equipment to be tested is larger than a second threshold value;
and the third determining submodule is used for determining that the average power consumption value of the equipment to be tested does not meet a second preset condition under the condition that the average power consumption value of the equipment to be tested is smaller than or equal to a second threshold value.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A method for testing a device, comprising:
judging whether the minimum power consumption value of the device to be tested meets a first preset condition or not in the running process of the device to be tested;
under the condition that the minimum power consumption value of the to-be-tested equipment meets a first preset condition, judging whether the average power consumption value of the to-be-tested equipment meets a second preset condition or not;
under the condition that the average power consumption value of the equipment does not meet a second preset condition, judging whether the variation amplitude of the power consumption value of the equipment is smaller than a preset amplitude or not;
and under the condition that the variation amplitude of the equipment power is smaller than the preset amplitude, determining that the equipment to be tested is normal equipment.
2. The method of claim 1, wherein the determining whether the minimum power consumption value of the device under test satisfies a first preset condition comprises:
judging whether the minimum power consumption value of the device to be tested is higher than a first threshold value or not;
and under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value, determining that the minimum power consumption value does not meet a first preset condition.
3. The method of claim 1 or 2, wherein the method further comprises:
and under the condition that the minimum power consumption value of the device to be tested does not meet a first preset condition, determining that the device to be tested is an abnormal device.
4. The method of claim 1, wherein determining whether the average power consumption value of the device under test satisfies a second preset condition comprises:
comparing the average power consumption value of the device to be tested with a second threshold value;
determining that the average power consumption value of the equipment to be tested meets a second preset condition under the condition that the average power consumption value of the equipment to be tested is larger than a second threshold value;
and under the condition that the average power consumption value of the equipment to be tested is smaller than or equal to a second threshold value, determining that the average power consumption value of the equipment to be tested does not meet a second preset condition.
5. The method of claim 1 or 4, wherein the method further comprises:
and under the condition that the average power consumption value of the equipment meets a second preset condition, determining that the equipment to be tested is normal equipment.
6. The method of any one of claims 1-5, further comprising:
and determining the device to be tested as an abnormal device under the condition that the variation amplitude of the device power is larger than or equal to a preset amplitude.
7. An apparatus testing device, comprising:
the device comprises a first judgment module, a second judgment module and a control module, wherein the first judgment module is used for judging whether the minimum power consumption value of the device to be tested meets a first preset condition or not in the running process of the device to be tested;
the second judgment module is used for judging whether the average power consumption value of the equipment to be tested meets a second preset condition or not under the condition that the minimum power consumption value of the equipment to be tested meets the first preset condition;
the third judging module is used for judging whether the variation amplitude of the power consumption value of the equipment is smaller than the preset amplitude or not under the condition that the average power consumption value of the equipment does not meet a second preset condition;
the first determining module is used for determining the device to be tested to be normal device under the condition that the variation amplitude of the device power is smaller than a preset amplitude.
8. The apparatus of claim 7, wherein the first determining module comprises:
the judgment submodule is used for judging whether the minimum power consumption value of the device to be tested is higher than a first threshold value or not;
the first determining submodule is used for determining that the minimum power consumption value does not meet a first preset condition under the condition that the minimum power consumption of the device to be tested is not higher than a first threshold value.
9. The apparatus of claim 7 or 8, wherein the apparatus further comprises:
and the second determining module is used for determining the device to be tested as abnormal equipment under the condition that the minimum power consumption value of the device to be tested does not meet the first preset condition.
10. The apparatus of claim 7, wherein the second determining module comprises:
the comparison submodule is used for comparing the average power consumption value of the device to be tested with a second threshold value;
the second determining submodule is used for determining that the average power consumption value of the equipment to be tested meets a second preset condition under the condition that the average power consumption value of the equipment to be tested is larger than a second threshold value;
and the third determining submodule is used for determining that the average power consumption value of the equipment to be tested does not meet a second preset condition under the condition that the average power consumption value of the equipment to be tested is smaller than or equal to a second threshold value.
CN202010031275.7A 2020-01-13 2020-01-13 Equipment testing method and device Active CN111240917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010031275.7A CN111240917B (en) 2020-01-13 2020-01-13 Equipment testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010031275.7A CN111240917B (en) 2020-01-13 2020-01-13 Equipment testing method and device

Publications (2)

Publication Number Publication Date
CN111240917A true CN111240917A (en) 2020-06-05
CN111240917B CN111240917B (en) 2022-03-29

Family

ID=70874527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010031275.7A Active CN111240917B (en) 2020-01-13 2020-01-13 Equipment testing method and device

Country Status (1)

Country Link
CN (1) CN111240917B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242463A1 (en) * 2005-03-29 2006-10-26 Fujitsu Limited Abnormal circuit operation detection system
CN104092835A (en) * 2014-07-31 2014-10-08 广东欧珀移动通信有限公司 Power consumption anomaly detection method and device for mobile terminal
CN109799385A (en) * 2019-01-17 2019-05-24 晶晨半导体(上海)股份有限公司 The power consumption test method and system of hardware device
CN110514927A (en) * 2019-08-16 2019-11-29 惠州Tcl移动通信有限公司 The unit exception detection method of mobile terminal, computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242463A1 (en) * 2005-03-29 2006-10-26 Fujitsu Limited Abnormal circuit operation detection system
CN104092835A (en) * 2014-07-31 2014-10-08 广东欧珀移动通信有限公司 Power consumption anomaly detection method and device for mobile terminal
CN109799385A (en) * 2019-01-17 2019-05-24 晶晨半导体(上海)股份有限公司 The power consumption test method and system of hardware device
CN110514927A (en) * 2019-08-16 2019-11-29 惠州Tcl移动通信有限公司 The unit exception detection method of mobile terminal, computer-readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆璐: ""无线传感器网络故障诊断的研究"", 《中国优秀硕士学位论文全文数据库•信息科技辑》 *

Also Published As

Publication number Publication date
CN111240917B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US10228411B2 (en) Testing apparatus
US20130179103A1 (en) Battery analysis device and method thereof
TW201317761A (en) Electrical source capable of monitoring using life automatically and monitoring methed thereof
CN111240917B (en) Equipment testing method and device
US6469516B2 (en) Method for inspecting capacitors
US11418019B2 (en) Method and device for detecting an electric arc in an electrical system
US20110196628A1 (en) Deterioration detection circuit
US9280188B2 (en) Thermal control method and thermal control system
CN109085423B (en) Load switch event detection method and system
JP2002323526A (en) Insulation resistance deterioration detecting method and apparatus
US8140282B2 (en) Determining a total length for conductive whiskers in computer systems
US11150284B2 (en) Frequency regulation method and apparatus
CN116973726A (en) IC burn-in test method, device, equipment and storage medium
JP2007279039A (en) Method of measuring impedance of electronic circuit
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
US20070126402A1 (en) Battery detection system and related method
CN116087698A (en) Method and system for evaluating thermal ageing state of high-voltage sleeve
JP6357384B2 (en) Impedance measuring method and measuring apparatus
CN110794258B (en) Electric circuit sparking detection method, device, equipment and storage medium
JP3175654B2 (en) Capacitor measurement terminal contact detection method
CN108169664B (en) Circuit board fault detection method and device, computer equipment and storage medium
JP3293541B2 (en) Capacitor insulation resistance measurement method
US20200033394A1 (en) Method for determining failure of power element and electronic device thereof
JP2004214235A (en) Device, method and program for judging minute change
CN113823406A (en) Practitioner health monitoring method and device and electronic equipment

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