CN111639002A - Method and system for testing sleep power consumption, computer equipment and storage medium - Google Patents

Method and system for testing sleep power consumption, computer equipment and storage medium Download PDF

Info

Publication number
CN111639002A
CN111639002A CN202010357235.1A CN202010357235A CN111639002A CN 111639002 A CN111639002 A CN 111639002A CN 202010357235 A CN202010357235 A CN 202010357235A CN 111639002 A CN111639002 A CN 111639002A
Authority
CN
China
Prior art keywords
current
time
tested
real
power consumption
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
CN202010357235.1A
Other languages
Chinese (zh)
Other versions
CN111639002B (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.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software Inc
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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202010357235.1A priority Critical patent/CN111639002B/en
Publication of CN111639002A publication Critical patent/CN111639002A/en
Application granted granted Critical
Publication of CN111639002B publication Critical patent/CN111639002B/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/26Functional testing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/06Arrangements for measuring electric power or power factor by measuring current and voltage
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a method, a system, a computer device and a storage medium for testing sleep power consumption. The method comprises the following steps: displaying a task configuration page of the dormant power consumption test task; determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page; when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time; determining an extreme current according to the current value and the acquisition time; and displaying the real-time current and the extreme current in a task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current. By adopting the method, the accuracy of the sleep power consumption test can be improved.

Description

Method and system for testing sleep power consumption, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a system for testing sleep power consumption, a computer device, and a storage medium.
Background
With the development of science and technology, the requirements of people on electronic products are more and more strict. At present, before electronic products leave a factory, a strict performance test needs to be performed, wherein a sleep power consumption test of a communication module is an important one. Therefore, whether the quality of the product meets the standard or not can be judged by testing the dormancy power consumption of the communication module, and the defective products are prevented from flowing into the market.
At present, the current value of a communication module to be tested in a dormant state is manually acquired through an ammeter at a preset current acquisition frequency, and then the corresponding dormant power consumption is determined through the acquired current value. However, in the sleep state, the communication module to be tested may receive and transmit data in a periodic manner or may move erroneously, thereby causing a sudden increase or a sudden decrease in current. Since the time variation range of the sudden increase or sudden decrease of the current is short, it is difficult to accurately collect the current in a manual manner, and thus the accuracy of the sleep power consumption calculated based on the collected current value is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a sleep power consumption testing method, system, computer device and storage medium capable of improving accuracy of sleep power consumption testing.
A sleep power consumption testing method, the method comprising:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in the task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
In one embodiment, a sleep control is included in the task configuration page; the method further comprises the following steps:
when the operation of clicking the dormant control occurs, determining a connection mode with the communication component to be tested;
when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on the connection mode;
sending the dormancy control instruction to the communication component to be tested; the dormancy control instruction is used for indicating the communication component to be tested to enter a dormant state.
In one embodiment, determining the extreme current based on the current value and the acquisition time comprises:
acquiring a tracing point template and setting parameters;
according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time;
drawing a current trend curve on the tracing point template based on the tracing point coordinates;
and judging the corner points in the current trend curve as extreme currents.
In one embodiment, the sleep power consumption comprises a modification of the sleep power consumption; the determining the sleep power consumption of the communication component to be tested in the sleep duration based on the real-time current and the extreme current comprises:
when error prompt information is received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a current to be corrected;
generating an ideal trend chart of the communication component to be tested by using a preset model;
correcting the current to be corrected according to the ideal trend graph;
and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
In one embodiment, the sleep duration comprises a plurality of sub-periods; the sub-period comprises a start time; the modifying the current to be modified according to the ideal power consumption trend graph comprises the following steps:
sequencing a plurality of sub-periods according to the starting time to obtain a time period sequence;
determining a target sub-period corresponding to the current to be modified and position information of the target sub-period in the time period sequence based on the acquisition time of the current to be modified;
determining a preamble sub-period before the target sub-period according to the position information;
and correcting the current to be corrected according to the current statistic value corresponding to the preamble sub-period and the ideal trend graph.
In one embodiment, said displaying said real-time current and said extreme current in said task configuration page differently comprises:
when the error prompt information is not received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a receiving and sending current;
and displaying the real-time current and the transceiving current in a task configuration page in a distinguishing manner.
A sleep power consumption test system, the system comprising: testing a computer and a communication component to be tested; the communication assembly to be tested comprises a communication module and a programmable power supply;
the testing computer is used for judging whether the communication module to be tested is in a dormant state or not, if not, determining a connection mode with the communication module to be tested, generating a corresponding dormancy control instruction based on the connection mode, and sending the dormancy control instruction to the communication module to be tested;
the communication module to be tested is used for receiving the dormancy control instruction and entering a dormancy state according to the dormancy control instruction;
the program-controlled power supply is used for providing a voltage value required by the communication module to be tested during operation, generating a real-time current according to the provided voltage value, and sending the real-time current value to the test computer based on a preset interface protocol so that the test computer generates the dormancy power consumption of the communication module to be tested according to the real-time current value.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in the task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in the task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
According to the sleep power consumption testing method, the sleep power consumption testing system, the computer equipment and the storage medium, the communication address and the sleep duration of the communication component to be tested can be determined based on the task configuration page by displaying the task configuration page, so that even a user who does not perform programming operation can perform sleep power consumption testing on the communication component to be tested, and the testing threshold is reduced; by acquiring the communication address, the real-time current of the communication component to be tested in the sleep time length can be pulled based on the communication address; by pulling the real-time current, the extreme current can be determined based on the current value in the real-time current and the acquisition time, so that the real-time current and the extreme current can be distinguished and displayed in a task configuration page, and the sleep power consumption of the communication component to be detected in the sleep time length can be determined based on the extreme current and the real-time current. Because the real-time current is automatically collected based on the automatic test script, compared with the traditional manual current collection value, the extreme current can be accurately known, and the accurate dormancy power consumption is determined based on the extreme current and the real-time current. In addition, because can automatic acquisition real-time current to distinguish show real-time current and extreme current in the task configuration page, consequently, compare in traditional needs manual acquisition current, manpower resources has not only been practiced thrift in this application, has promoted user experience moreover greatly.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a sleep power test method;
FIG. 2 is a flow diagram illustrating a method for sleep power consumption testing in one embodiment;
FIG. 3 is a diagram of a task configuration page in one embodiment;
FIG. 4A is a schematic diagram illustrating tabulated real-time current in one embodiment;
FIG. 4B is a schematic diagram of a curve showing real-time current in one embodiment;
FIG. 5 is a flowchart illustrating the sleep control steps in one embodiment;
FIG. 6 is a block diagram of an exemplary sleep power test apparatus;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The sleep power consumption testing method provided by the application can be applied to the application environment shown in fig. 1. The test computer 102 communicates with the communication component 104 to be tested through a Serial port line, a Universal Serial Bus (USB) line, or a General-Purpose-Bus (GPIB) line. The testing computer 102 may be, but not limited to, various personal computers, notebook computers, and tablet computers, and the testing computer 102 may be implemented by an independent testing computer or a testing computer cluster formed by a plurality of testing computers. The communication component 104 to be tested includes a communication module to be tested and a programmable power supply for supplying power to the communication module to be tested. A power consumption statistical platform is operated in the test computer 102 and used for counting the dormancy power consumption of the communication module to be tested according to the real-time current. The test computer 102 communicates with the communication module to be tested through the serial port line or the USB line, so that the communication module to be tested can be controlled to enter a sleep state based on the serial port line or the USB line. The test computer 102 communicates with the program-controlled power supply through the GPIB line, so that the real-time current of the communication module to be tested can be acquired based on the GPIB line.
In one embodiment, as shown in fig. 2, a sleep power consumption testing method is provided, which is described by taking the method as an example applied to the testing computer in fig. 1, and includes the following steps:
s202, displaying a task configuration page of the dormant power consumption test task.
The task configuration page is compiled based on an automatic test framework and can be used for correspondingly configuring the dormant power consumption test task.
Specifically, a developer may compile an automation script for implementing a power consumption test based on an automation test framework and generate a task configuration page based on the automation script. When the dormant power consumption test needs to be carried out on the communication assembly to be tested, a user can open a task configuration page by clicking an application identifier of the dormant power consumption test application. The communication assembly to be tested comprises a communication module to be tested and a programmable power supply. The programmable power supply refers to a high-precision standard power source which can be controlled by a program. The communication module to be tested is a functional module capable of receiving communication data and sending the communication data, and when the communication module to be tested is in different operation states, the required power consumption is different. The operation state is information reflecting the operation condition of the communication module to be tested, and the operation state comprises a dormant state and an activated state. The sleep state refers to a state in which the whole communication module to be tested does not receive and transmit communication data, and is low in power consumption. The active state is a state in which the communication module to be tested frequently receives and transmits communication data and is thus in high power consumption.
Fig. 3 is a schematic diagram of a task configuration page in an embodiment, and as shown in fig. 3, the task configuration page includes at least one of a sleep control, a sleep duration setting control, a data sending control, a scene switching control, and a GPIB device selection control. The dormancy control is used for controlling the communication component to be tested to enter a dormancy state. The dormancy duration setting control is used for setting a time period interval when the communication component to be tested enters the dormancy state. The data sending module is used for sending preset data to the communication component to be tested, so that power consumption consumed by the communication component to be tested in data receiving and sending can be known subsequently. The scene switching control is used for controlling the communication component to be tested to switch different scenes, such as testing the dormancy power consumption in a scene of opening Bluetooth and testing the dormancy power consumption in a scene of opening WIFI. Developers can write different test scripts aiming at different scenes in advance, so that scene switching can be carried out based on the scene switching control. Because one testing computer can test a plurality of communication assemblies to be tested at the same time, the GPIB equipment which needs to be set currently, namely the communication assemblies to be tested which need to be set currently, can be determined based on the GPIB equipment selection control.
S204, determining the communication address and the dormancy duration of the communication component to be tested configured based on the task configuration page.
Specifically, when it is determined that the user determines the communication component to be tested which needs to be tested currently based on the GPIB device selection control, the testing computer may extract the sleep duration set by the user in the task configuration page for the sleep duration setting control, determine the communication address of the program-controlled power supply in the communication component to be tested which needs to be tested currently according to the preset GPIB interface protocol, and then store the sleep duration and the communication address correspondingly.
And S206, when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address.
Specifically, when the field operator connects the programmable power supply with the communication module to be tested, the programmable power supply can provide a stable voltage for the communication module to be tested, so that the programmable power supply can determine a corresponding current value according to the provided voltage value and the real-time resistance value of the communication module to be tested. The program-controlled power supply acquires time information of a determined current value, the time information of the determined current value is used as acquisition time, and then real-time current is generated according to the acquisition time and the specific current value, for example, the real-time current can be (10, 2020-01-0110:00), wherein 10 is the specific current value, and 2020-01-0110:00 is the acquisition time. When the communication component to be tested is determined to be in the dormant state and the confirmation operation aiming at the communication address and the dormant duration occurs, the testing computer draws real-time current from the program-controlled power supply according to the communication address.
In one embodiment, before the real-time current is pulled based on the GPIB interface protocol, the test computer sends an information acquisition command to the programmable power supply, so that the programmable power supply reports general information such as manufacturer information and power specification information to the test computer after receiving the information acquisition command. The test computer judges whether the general information reported by the programmable power supply can be received within a preset time period after the information acquisition instruction is sent, if not, the GPIB interface message configuration between the test computer and the programmable power supply is considered to be wrong, and at the moment, the field operator performs interface message configuration again based on the GPIB interface protocol.
And S208, determining the extreme current according to the current value and the acquisition time.
The extreme current values refer to current protrusion and current drop during the sleep period. When the communication component to be tested receives and sends data or runs incorrectly, extreme current is generated.
Specifically, the test computer sequences the real-time currents according to the acquisition time to obtain a real-time current sequence, and traverses each real-time current in the real-time current sequence. When the test computer obtains the real-time current of the current traversal sequence, the test computer determines a pre-sequence real-time current which is adjacent to the real-time current of the current traversal sequence and is positioned before the real-time current of the current traversal sequence, and a post-sequence real-time current which is adjacent to the real-time current of the current traversal sequence and is positioned after the real-time current of the current traversal sequence. The test computer extracts the current value of the real-time current of the current traversal sequence, the current value of the preorder real-time current and the current value of the subsequent real-time current, and when the current value of the real-time current of the current traversal sequence is larger than the current value of the preorder real-time current and smaller than the current value of the subsequent real-time current, the real-time current of the current traversal sequence can be considered as a current protrusion, and at the moment, the test computer judges the real-time current of the current traversal sequence as an extreme current. When the current value of the real-time current of the current traversal sequence is smaller than the current value of the pre-sequence real-time current and smaller than the current value of the subsequent real-time current, the real-time current of the current traversal sequence can be considered as a current sudden drop, and at the moment, the real-time current of the current traversal sequence is judged as an extreme current by the testing computer.
S210, distinguishing and displaying the real-time current and the extreme current in the task configuration page, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
The sleep power consumption includes a mean sleep power consumption and a general sleep power consumption. The mean value sleep power consumption is determined based on the real-time current, and can truly reflect the sleep power consumption information of the communication component to be detected in the sleep time length. The general sleep power consumption is power consumption information determined based on the real-time current with the extreme current removed, and is used for reflecting a normal power consumption value which should be consumed when the communication component to be tested does not receive and transmit data and operates normally.
Specifically, the task configuration page has a display area for displaying the collected real-time current and the extreme current. The presentation forms include, but are not limited to, a graph presentation and a list presentation as shown in fig. 4. FIG. 4 is a schematic diagram illustrating real-time current flow in one embodiment. After the extreme current is determined, the test computer may draw a current curve with the collection time as an abscissa and the current value as an ordinate, display the drawn current curve in the display area, and then distinguish and display the extreme current in the current curve based on the collection time of the extreme current, for example, highlight the extreme current in the drawn current curve according to the collection time and the current value of the extreme current. Alternatively, after determining the extreme current, the testing computer may generate a current list based on the acquisition time and the current value, and display the generated current list in the display area, and then distinguish the display of the extreme current in the current list based on the acquisition time of the extreme current.
Furthermore, the testing computer counts the number value of the real-time current received in the dormancy duration, superimposes the current values of the real-time currents to obtain the current sum, and obtains the mean dormancy power consumption according to the current sum and the number value, so that a user can determine the real dormancy power consumption of the communication component to be tested in the dormancy duration based on the mean dormancy power consumption. The test computer deletes the extreme current from all the received real-time currents, and then calculates the general dormancy power consumption based on the real-time current with the extreme current deleted, so that a user can determine the specific power consumption value which should be consumed by the communication component to be tested in an ideal state within the dormancy duration based on the general dormancy power consumption, namely the power consumption value which should be consumed under the condition of normal operation without receiving the sending data at all. Therefore, the user can further analyze the running state of the communication component to be tested based on the mean dormancy power consumption and the general dormancy power consumption.
In the sleep power consumption testing method, the communication address and the sleep duration of the communication component to be tested can be determined based on the task configuration page by displaying the task configuration page, so that even a user who does not perform programming operation can perform sleep power consumption testing on the communication component to be tested, and a testing threshold is reduced; by acquiring the communication address, the real-time current of the communication component to be tested in the sleep time length can be pulled based on the communication address; by pulling the real-time current, the extreme current can be determined based on the current value in the real-time current and the acquisition time, so that the real-time current and the extreme current can be distinguished and displayed in a task configuration page, and the sleep power consumption of the communication component to be detected in the sleep time length can be determined based on the extreme current and the real-time current. Because the real-time current is automatically collected based on the automatic test script, compared with the traditional manual current collection value, the extreme current can be accurately known, and the accurate dormancy power consumption is determined based on the extreme current and the real-time current. In addition, because can automatic acquisition real-time current to distinguish show real-time current and extreme current in the task configuration page, consequently, compare in traditional needs manual acquisition current, manpower resources has not only been practiced thrift in this application, has promoted user experience moreover greatly.
In an embodiment, as shown in fig. 5, the sleep power consumption testing method further includes:
s502, when the operation of clicking the sleep control occurs, determining a connection mode with the communication component to be tested;
s504, when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on a connection mode;
s506, sending the sleep control instruction to the communication component to be tested; the sleep control instruction is used for indicating the communication component to be tested to enter a sleep state.
The connection mode comprises serial port connection and USB connection.
Specifically, when it is determined that the user clicks the sleep control, the test computer determines a connection mode with the communication module to be tested, acquires a corresponding communication protocol based on the connection mode, and generates a corresponding sleep query instruction according to the communication protocol. For example, when the test computer is connected to the communication module to be tested via the serial port line, the test computer may generate a sleep query instruction based on the serial port communication protocol, and send the sleep query instruction to the communication module to be tested, so that the communication module to be tested returns to its own operating state based on the sleep query instruction. When the communication module to be tested is determined to be in the activated state, the testing computer generates a dormancy control instruction according to the communication protocol, and then the dormancy control instruction is sent to the communication component to be tested, so that the communication component to be tested enters the dormant state based on the dormancy control instruction.
In this embodiment, because the sleep control instruction corresponding to the connection mode can be generated, the user can determine the connection mode between the test computer and the communication component to be tested based on the own requirement, thereby improving the user experience.
In one embodiment, determining the extreme current from the current value and the acquisition time comprises: acquiring a tracing point template and setting parameters; according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time; drawing a current trend curve on a tracing point template based on the tracing point coordinates; the corner points in the current trend curve are determined as extreme currents.
Specifically, the test computer stores a tracing point template and setting parameters configured for the tracing point template in advance. The dotted template refers to a template that includes coordinate axes but does not include a current curve. The setting parameters include an axis coordinate scale value and a Y-axis coordinate unit. The axis coordinate scale values include a Y-axis coordinate scale value, and an X-axis coordinate scale value. The scale value of the axis coordinate is numerical information represented by unit scales on the axis coordinate; the axis coordinate unit refers to unit information of a coordinate axis, for example, an axis coordinate unit of the Y axis may be milliampere, and a corresponding axis coordinate scale value may be 1, so that each unit scale on the Y axis coordinate may be represented as 1 milliampere. When all real-time currents in the sleep duration are acquired, the testing computer acquires the setting information of the programmable power supply, and determines the unit information of the acquired current value in the real-time currents according to the setting information of the programmable power supply, for example, the unit of the output current value appointed in the setting information of the programmable power supply is milliampere. The test computer obtains a conversion relation between a preset axis coordinate unit and the setting information, and converts a unit of a current value in the real-time current into a Y-axis coordinate unit based on the conversion relation.
Further, the testing computer sequences all real-time currents in the dormant duration according to the acquisition time to obtain a real-time current sequence, and traverses the first real-time current sequence according to the sequence to convert each real-time current into a trace point in the trace point template. More specifically, the test computer obtains the real-time current of the current traversal order and records the sequence value of the current traversal order, for example, the test computer is provided with a sequence value with an initial value of 0, and when the test computer obtains the real-time current at the head of the real-time current sequence, the test computer sets the sequence value to 1; when the testing computer obtains the next real-time current behind the real-time current sequence header, the testing computer adds 1 to the sequence value, and the sequence value at the moment is 2. The test computer divides the current value in the real-time current by the scale value of the Y-axis coordinate to obtain a Y-axis description point corresponding to the real-time current of the current traversal sequence, divides the sequence value corresponding to the current traversal sequence by the scale value of the X-axis to obtain an X-axis description point corresponding to the real-time current of the current traversal sequence, combines the X-axis description point and the Y-axis description point to obtain a tracing point coordinate, and draws the tracing point corresponding to the real-time current of the current traversal sequence in a tracing point template based on the tracing point coordinate. When the real-time current sequence is traversed, the testing computer is connected with each tracing point in the tracing point template to obtain a current trend curve, so that the testing computer can perform curve identification on the current trend curve, and angular points in the current trend curve, namely the salient point and the salient drop point, are judged as extreme current values.
Furthermore, the test computer correspondingly displays the current trend curve, obtains the extreme current value selected by the user in the current trend curve, and correspondingly corrects and identifies the generated extreme current value according to the extreme current value selected by the user, so that the accuracy of determining the extreme current value is improved. Similarly, the testing computer may also determine the extreme current value within the predetermined statistical time period based on this method.
In the embodiment, the angular points in the current trend curve can be quickly identified by drawing the current trend curve; the corner point can be determined as the extreme current by quickly determining the corner point, so that the determination efficiency of the extreme current can be improved, and the determination efficiency of the dormancy power consumption can be improved.
In one embodiment, determining the sleep power consumption of the communication component to be tested within the sleep duration based on the real-time current and the extreme current comprises: when error prompt information is received within a preset time range taking the acquisition time of the extreme current as the center, the extreme current is judged as the current to be corrected; generating an ideal trend chart of the communication component to be tested by using a preset model; correcting the current to be corrected according to the ideal trend graph; and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
The extreme current comprises an extreme current value and the acquisition time of the extreme current. The error prompt refers to prompt information reported by a communication module to be tested due to operation failure or execution function failure when the communication module to be tested performs a sleep power consumption test. Because of many types of errors, developers set error codes (error codes) in order to distinguish the errors, and if errors occur in the communication module to be tested in the running process, the communication module to be tested is judged and identified through the original setting in the communication module to be tested and reported to a test computer through the error codes.
The preset time range refers to a time period required for determining whether the error prompt information is acquired or not, and the preset time range can be determined according to a time delay of reporting the error prompt information by the communication module to be tested, for example, from the time when the communication module to be tested generates the error prompt information to the time when the test computer receives the error prompt information, the required time period is 0.2 milliseconds, and the correspondingly set preset time range can be 0.2 milliseconds.
The sleep power consumption includes a modification of the sleep power consumption. The corrected sleep power consumption is power consumption information determined based on the corrected current value, and is used for reflecting a specific power consumption value which should be consumed when the communication component to be detected operates normally.
Specifically, when at least one of the extreme currents is obtained, the test computer traverses the extreme current. More specifically, when the current extreme current collection time is obtained, the test computer determines whether an error prompt message is received within a preset time range before the current extreme current collection time and within a preset time range after the current extreme current collection time, if so, the current protrusion or current dip corresponding to the current extreme current is determined to be caused by an operation error of the communication module to be tested, and at this time, the test computer determines the current extreme current as the current to be corrected. If not, the current extreme current can be considered to be correct.
The testing computer generates a dormancy power consumption ideal trend graph of the communication component to be tested by using a preset model, estimates the current value of the current pair to be corrected according to the dormancy power consumption ideal trend graph, and replaces the current value in the current to be corrected by the estimated current value, so that the testing computer calculates the corrected dormancy power consumption of the communication component to be tested in the dormancy duration according to the estimated current value. The test computer calculates abnormal power consumption according to the real-time current acquired in the sleep duration, and determines the difference between the abnormal power consumption and the corrected sleep power consumption, so that the extra power consumption required to be consumed when the communication module to be tested is in error in operation can be determined according to the difference. The predetermined model may be a current analysis model. The user can determine the component parts forming the communication module to be tested, obtain the specification specifications of the component parts, input the specification specifications into the preset model, and generate the ideal trend graph by the preset model based on the standard current value and the standard voltage value marked in the specification. The abscissa of the ideal trend graph is time, and the ordinate is the current value. As the component parts are aged in the using process, the resistance values of the component parts are increased, and the consumed current is correspondingly increased. Therefore, the preset model obtains the change relation of the resistance value of each component part along with the change of time, and the standard current value and the standard voltage value which are marked in the specification, and the change relation, the standard current value and the standard voltage value of each component part are input into the fitting curve function to generate an ideal trend graph containing an ideal trend curve.
In this embodiment, by determining the corrected sleep power consumption, a difference between the corrected sleep power consumption and the average sleep power consumption can be determined, so that the communication component to be tested can be further analyzed subsequently based on the difference.
In one embodiment, the sleep duration includes a plurality of subintervals; the sub-period comprises a start time; the correction processing of the current value to be corrected according to the ideal trend chart comprises the following steps: sequencing the plurality of sub-periods according to the starting time to obtain a time period sequence; determining a target sub-period corresponding to the current to be corrected and position information of the target sub-period in a time period sequence based on the acquisition time of the current to be corrected; determining a preamble sub-period before the target sub-period according to the position information; and correcting the current to be corrected according to the current statistics corresponding to the preorder sub-period and the ideal trend graph of the sleep power consumption.
Specifically, the testing computer can divide the sleep duration to obtain a plurality of sub-periods, and sequence the plurality of sub-periods according to the starting time of the sub-periods to obtain a time period sequence. The test computer traverses the time interval sequence according to the arrangement sequence, judges whether current to be corrected exists in sub-time intervals of the current traversal sequence, if the current to be corrected exists, the test computer determines all pre-sequence sub-time intervals before the sub-time intervals of the current traversal sequence in the time interval sequence, real-time current acquired in all pre-sequence sub-time intervals is input into a fitting curve, a real-time current trend graph containing a current trend curve is generated, the abscissa of the real-time current trend graph is acquisition time, and the ordinate of the real-time current trend graph is a current value. And the testing computer performs similarity matching on the current trend curve and the ideal trend curve, and determines a target curve segment with the highest matching degree with the current trend curve in the ideal trend curve. And the testing computer acquires the current value at the tail position of the current trend curve and the current value at the tail position of the target curve line segment, and performs weighting operation on the current value at the tail position of the current trend curve and the current value at the tail position of the target curve line segment to obtain the corrected current.
In this embodiment, since a single current trend curve or an ideal trend curve has a certain difference from a real current curve under a normal operation condition, a correction value is determined by combining the current trend curve and the ideal trend curve, so that the correction value is more accurate, and the finally obtained sleep power consumption is more accurate.
In one embodiment, the distinguishing between the real-time current and the extreme current in the task configuration page comprises: when the error prompt information is not received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a transceiving current; and the real-time current and the transceiving current are displayed in a task configuration page in a differentiated mode.
Specifically, when at least one of the extreme currents is obtained, the test computer traverses the extreme current. More specifically, when acquiring the current extreme current acquisition time, the test computer determines whether error prompt information is received within a preset time range before the current extreme current acquisition time and within a preset time range after the current extreme current acquisition time, and if not, the test computer determines that the current extreme current is caused by data transmission and reception of the communication module to be tested, determines that the current extreme current is the transmission and reception current, and displays the real-time current and the transmission and reception current in a task configuration page in a distinguishing manner, for example, the transmission and reception current is highlighted in the task configuration page.
In the embodiment, the receiving and sending currents are displayed in a differentiated manner, so that a user can visually determine the data receiving and sending times and the data receiving and sending duration of the communication component to be tested in a staged manner, and the sleep power consumption can be further analyzed according to the data receiving and sending times and the data receiving and sending duration.
In one embodiment, a sleep power consumption test system is provided, which comprises a test computer and a communication component to be tested; the communication assembly to be tested comprises a communication module and a programmable power supply. The testing computer is used for judging whether the communication module to be tested is in a dormant state or not, if not, determining the connection mode of the communication module to be tested, generating a corresponding dormant control instruction based on the connection mode, and sending the dormant control instruction to the communication module to be tested; the communication module to be tested is used for receiving the dormancy control instruction and entering a dormancy state according to the dormancy control instruction; and the program-controlled power supply is used for providing a voltage value required by the communication module to be tested during operation, generating a real-time current according to the provided voltage value, and sending the real-time current value to the test computer based on a preset interface protocol so that the test computer generates the dormancy power consumption of the communication module to be tested according to the real-time current value.
Specifically, the test computer is connected with the communication module to be tested through a serial port line or a USB line. And is connected with the program-controlled power supply through a GPIB wire. And the testing computer runs a power consumption statistical platform and is used for drawing real-time current from the program control power supply and counting the dormancy power consumption of the communication module to be tested according to the real-time current. The test computer is communicated with the communication module to be tested through the serial port line or the USB line, so that the communication module to be tested can be controlled to enter a dormant state based on the serial port line or the USB line.
In this embodiment, through drawing real-time current from the programmable power supply automatically, can promote the efficiency of testing of dormancy consumption.
In one embodiment, the testing computer is further configured to determine a connection mode with the communication component to be tested when the operation of clicking the sleep control occurs; when the communication component to be tested is in an awakening state, generating a corresponding dormancy control instruction based on the connection mode; sending the dormancy control instruction to a communication component to be tested; the sleep control instruction is used for indicating the communication component to be tested to enter a sleep state.
Specifically, the test computer determines a connection mode with the communication module to be tested, acquires a corresponding communication protocol based on the connection mode, generates a corresponding dormancy query instruction according to the communication protocol, and then sends the dormancy query instruction to the communication module to be tested, so that the communication module to be tested returns to the running state of the communication module to be tested based on the dormancy query instruction. And when the communication module to be tested is determined to be in the activated state, the testing computer generates a dormancy control instruction according to the communication protocol so that the communication assembly to be tested enters a dormancy state based on the dormancy control instruction.
In this embodiment, because the sleep control instruction corresponding to the connection mode can be generated, the user can determine the connection mode between the test computer and the communication component to be tested based on the own requirement, thereby improving the user experience.
It should be understood that although the steps in the flowcharts of fig. 2 and 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 and 5 may include multiple steps or multiple periods, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or in turns with other steps or at least a portion of the steps or periods in other steps.
In one embodiment, as shown in fig. 6, there is provided a sleep power consumption test apparatus 600, including: a presentation module 602, an extreme current value determination module 604, and a sleep power consumption calculation module 606, wherein:
a displaying module 602, configured to display a task configuration page of the sleep power consumption test task.
An extreme current value determining module 604, configured to determine a communication address and a sleep duration of the to-be-tested communication component configured on the basis of the task configuration page; when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time; and determining the extreme current according to the current value and the acquisition time.
The sleep power consumption calculation module 606 is configured to show the real-time current and the extreme current in the task configuration page in a differentiated manner, and determine sleep power consumption of the communication component to be tested in the sleep duration based on the real-time current and the extreme current.
In one embodiment, the sleep power consumption testing apparatus 600 is further configured to determine a connection mode with the communication component to be tested when the operation of clicking the sleep control occurs; when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on a connection mode; sending the dormancy control instruction to a communication component to be tested; the sleep control instruction is used for indicating the communication component to be tested to enter a sleep state.
In one embodiment, the extreme current value determination module 604 further includes a pointing module 6041 for obtaining a pointing template and setting parameters; according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time; drawing a current trend curve on a tracing point template based on the tracing point coordinates; the corner points in the current trend curve are determined as extreme currents.
In one embodiment, the sleep power consumption calculation module 606 further includes a correction module 6061, configured to determine that the extreme current is the current to be corrected when the error prompt information is received within a preset time range centered on the acquisition time of the extreme current; generating an ideal trend chart of the communication component to be tested by using a preset model; correcting the current to be corrected according to the ideal trend graph; and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
In an embodiment, the modifying module 6061 is further configured to sort the multiple sub-periods according to the starting time, so as to obtain a time period sequence; determining a target sub-period corresponding to the current to be corrected and position information of the target sub-period in a time period sequence based on the acquisition time of the current to be corrected; determining a preamble sub-period before the target sub-period according to the position information; and correcting the current to be corrected according to the current statistic value corresponding to the preorder sub-period and the ideal trend graph.
In one embodiment, the sleep power consumption calculation module 606 is further configured to determine the extreme current as a transceiving current when the error prompt message is not received within a preset time range centered on the acquisition time of the extreme current; and the real-time current and the transceiving current are displayed in a task configuration page in a differentiated mode.
For specific limitations of the sleep power consumption test device, reference may be made to the above limitations of the sleep power consumption test method, which are not described herein again. All or part of each module in the sleep power consumption testing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server test computer, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the hibernation power consumption test data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a sleep power consumption testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in a task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
In one embodiment, a task configuration page includes a sleep control; the processor, when executing the computer program, further performs the steps of:
when the operation of clicking the dormant control occurs, determining a connection mode with the communication component to be tested;
when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on a connection mode;
sending the dormancy control instruction to a communication component to be tested; the sleep control instruction is used for indicating the communication component to be tested to enter a sleep state.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a tracing point template and setting parameters;
according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time;
drawing a current trend curve on a tracing point template based on the tracing point coordinates;
the corner points in the current trend curve are determined as extreme currents.
In one embodiment, the hibernate power consumption comprises a modification of the hibernate power consumption; the processor, when executing the computer program, further performs the steps of:
when error prompt information is received within a preset time range taking the acquisition time of the extreme current as the center, the extreme current is judged as the current to be corrected;
generating an ideal trend chart of the communication component to be tested by using a preset model;
correcting the current to be corrected according to the ideal trend graph;
and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
In one embodiment, the sleep duration includes a plurality of subintervals; the sub-period comprises a start time; the processor, when executing the computer program, further performs the steps of:
sequencing the plurality of sub-periods according to the starting time to obtain a time period sequence;
determining a target sub-period corresponding to the current to be corrected and position information of the target sub-period in a time period sequence based on the acquisition time of the current to be corrected;
determining a preamble sub-period before the target sub-period according to the position information;
and correcting the current to be corrected according to the current statistic value corresponding to the preorder sub-period and the ideal trend graph.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the error prompt information is not received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a transceiving current;
and the real-time current and the transceiving current are displayed in a task configuration page in a differentiated mode.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in a task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
In one embodiment, a task configuration page includes a sleep control; the computer program when executed by the processor further realizes the steps of:
when the operation of clicking the dormant control occurs, determining a connection mode with the communication component to be tested;
when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on a connection mode;
sending the dormancy control instruction to a communication component to be tested; the sleep control instruction is used for indicating the communication component to be tested to enter a sleep state.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a tracing point template and setting parameters;
according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time;
drawing a current trend curve on a tracing point template based on the tracing point coordinates;
the corner points in the current trend curve are determined as extreme currents.
In one embodiment, the hibernate power consumption comprises a modification of the hibernate power consumption; the computer program when executed by the processor further realizes the steps of:
when error prompt information is received within a preset time range taking the acquisition time of the extreme current as the center, the extreme current is judged as the current to be corrected;
generating an ideal trend chart of the communication component to be tested by using a preset model;
correcting the current to be corrected according to the ideal trend graph;
and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
In one embodiment, the sleep duration includes a plurality of subintervals; the sub-period comprises a start time; the computer program when executed by the processor further realizes the steps of:
sequencing the plurality of sub-periods according to the starting time to obtain a time period sequence;
determining a target sub-period corresponding to the current to be corrected and position information of the target sub-period in a time period sequence based on the acquisition time of the current to be corrected;
determining a preamble sub-period before the target sub-period according to the position information;
and correcting the current to be corrected according to the current statistic value corresponding to the preorder sub-period and the ideal trend graph.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the error prompt information is not received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a transceiving current;
and the real-time current and the transceiving current are displayed in a task configuration page in a differentiated mode.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for testing sleep power consumption, the method comprising:
displaying a task configuration page of the dormant power consumption test task;
determining a communication address and a dormancy duration of a communication component to be tested configured on the basis of a task configuration page;
when the confirmation operation occurs, pulling the real-time current of the communication component to be detected within the dormancy duration according to the communication address; the real-time current comprises a current value and acquisition time;
determining an extreme current according to the current value and the acquisition time;
and displaying the real-time current and the extreme current in the task configuration page in a distinguishing manner, and determining the sleep power consumption of the communication component to be tested in the sleep time length based on the real-time current and the extreme current.
2. The method of claim 1, wherein the task configuration page includes a sleep control; the method further comprises the following steps:
when the operation of clicking the dormant control occurs, determining a connection mode with the communication component to be tested;
when the communication component to be tested is in an activated state, generating a corresponding dormancy control instruction based on the connection mode;
sending the dormancy control instruction to the communication component to be tested; the dormancy control instruction is used for indicating the communication component to be tested to enter a dormant state.
3. The method of claim 1, wherein determining an extreme current from the current values and acquisition times comprises:
acquiring a tracing point template and setting parameters;
according to the setting parameters, determining the tracing point coordinates corresponding to the current value and the acquisition time;
drawing a current trend curve on the tracing point template based on the tracing point coordinates;
and judging the corner points in the current trend curve as extreme currents.
4. The method of claim 1, wherein the sleep power consumption comprises a modification of sleep power consumption; the determining the sleep power consumption of the communication component to be tested in the sleep duration based on the real-time current and the extreme current comprises:
when error prompt information is received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a current to be corrected;
generating an ideal trend chart of the communication component to be tested by using a preset model;
correcting the current to be corrected according to the ideal trend graph;
and determining the corrected dormancy power consumption of the communication component to be detected in the dormancy duration based on the corrected current.
5. The method of claim 4, wherein the sleep duration comprises a plurality of sub-periods; the sub-period comprises a start time; the modifying the current to be modified according to the ideal power consumption trend graph comprises the following steps:
sequencing a plurality of sub-periods according to the starting time to obtain a time period sequence;
determining a target sub-period corresponding to the current to be modified and position information of the target sub-period in the time period sequence based on the acquisition time of the current to be modified;
determining a preamble sub-period before the target sub-period according to the position information;
and correcting the current to be corrected according to the current statistic value corresponding to the preamble sub-period and the ideal trend graph.
6. The method of claim 1, wherein said differentiating said real-time current from said extreme current in said task configuration page comprises:
when the error prompt information is not received within a preset time range taking the acquisition time of the extreme current as the center, judging the extreme current as a receiving and sending current;
and displaying the real-time current and the transceiving current in a task configuration page in a distinguishing manner.
7. A sleep power consumption test system, the system comprising: testing a computer and a communication component to be tested; the communication assembly to be tested comprises a communication module and a programmable power supply;
the testing computer is used for judging whether the communication module to be tested is in a dormant state or not, if not, determining a connection mode with the communication module to be tested, generating a corresponding dormancy control instruction based on the connection mode, and sending the dormancy control instruction to the communication module to be tested;
the communication module to be tested is used for receiving the dormancy control instruction and entering a dormancy state according to the dormancy control instruction;
the program-controlled power supply is used for providing a voltage value required by the communication module to be tested during operation, generating a real-time current according to the provided voltage value, and sending the real-time current value to the test computer based on a preset interface protocol so that the test computer generates the dormancy power consumption of the communication module to be tested according to the real-time current value.
8. The system of claim 7, wherein the testing computer is further configured to determine a connection mode with the communication component to be tested when the operation of clicking the sleep control occurs; when the communication component to be tested is in an awakening state, generating a corresponding dormancy control instruction based on the connection mode; sending the dormancy control instruction to the communication component to be tested; the dormancy control instruction is used for indicating the communication component to be tested to enter a dormant state.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010357235.1A 2020-04-29 2020-04-29 Sleep power consumption testing method, system, computer equipment and storage medium Active CN111639002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010357235.1A CN111639002B (en) 2020-04-29 2020-04-29 Sleep power consumption testing method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010357235.1A CN111639002B (en) 2020-04-29 2020-04-29 Sleep power consumption testing method, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111639002A true CN111639002A (en) 2020-09-08
CN111639002B CN111639002B (en) 2024-03-15

Family

ID=72329929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010357235.1A Active CN111639002B (en) 2020-04-29 2020-04-29 Sleep power consumption testing method, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111639002B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326191A (en) * 2021-05-27 2021-08-31 合肥移瑞通信技术有限公司 Current consumption testing method and device and storage medium
CN113407420A (en) * 2021-07-16 2021-09-17 北京字节跳动网络技术有限公司 Power consumption detection method and device, electronic equipment and storage medium
CN115792364A (en) * 2023-02-07 2023-03-14 南京美斯玛微电子技术有限公司 Power consumption calculation method based on standby state analysis
CN116736076A (en) * 2023-05-12 2023-09-12 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207408A1 (en) * 2003-04-15 2004-10-21 Texas Instruments Incorporated Preconditional quiescent current testing of a semiconductor device
US20090164152A1 (en) * 2007-12-20 2009-06-25 Nokia Corporation Method, Apparatus and Computer Program Product for Providing Power Consumption Notification and Management
CN103179241A (en) * 2013-03-08 2013-06-26 百度在线网络技术(北京)有限公司 Method and system for automatically testing power consumption of mobile terminal
WO2014117340A1 (en) * 2013-01-30 2014-08-07 St-Ericsson Sa Method and device for measuring state of charge of mobile terminal
US20140333287A1 (en) * 2013-05-10 2014-11-13 Sunny GUPTA System for measuring power consumption of integrated circuit
JP2015102526A (en) * 2013-11-28 2015-06-04 日立アプライアンス株式会社 Power estimation device and power estimation method
CN105067928A (en) * 2015-08-11 2015-11-18 惠州华阳通用电子有限公司 Automobile electronic product dark current automatic test method and device
CN106383268A (en) * 2016-08-24 2017-02-08 深圳普创天信科技发展有限公司 Mobile terminal power consumption test device and test method
CN106502858A (en) * 2016-10-09 2017-03-15 深圳市金立通信设备有限公司 A kind of multiple subsystem power consumption determines method and terminal
CN107608854A (en) * 2017-09-07 2018-01-19 维沃移动通信有限公司 A kind of detection method and electronic equipment of quiescent current value
CN108152576A (en) * 2017-12-27 2018-06-12 上海移远通信技术股份有限公司 Power consumption of communication module tests system and method
CN110376428A (en) * 2019-07-31 2019-10-25 四川长虹电器股份有限公司 Quiescent current production line test system and method for battery power supply internet of things product
CN110569165A (en) * 2019-08-16 2019-12-13 苏州浪潮智能科技有限公司 Method and device for detecting power consumption of server

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207408A1 (en) * 2003-04-15 2004-10-21 Texas Instruments Incorporated Preconditional quiescent current testing of a semiconductor device
US20090164152A1 (en) * 2007-12-20 2009-06-25 Nokia Corporation Method, Apparatus and Computer Program Product for Providing Power Consumption Notification and Management
WO2014117340A1 (en) * 2013-01-30 2014-08-07 St-Ericsson Sa Method and device for measuring state of charge of mobile terminal
CN103179241A (en) * 2013-03-08 2013-06-26 百度在线网络技术(北京)有限公司 Method and system for automatically testing power consumption of mobile terminal
US20140333287A1 (en) * 2013-05-10 2014-11-13 Sunny GUPTA System for measuring power consumption of integrated circuit
JP2015102526A (en) * 2013-11-28 2015-06-04 日立アプライアンス株式会社 Power estimation device and power estimation method
CN105067928A (en) * 2015-08-11 2015-11-18 惠州华阳通用电子有限公司 Automobile electronic product dark current automatic test method and device
CN106383268A (en) * 2016-08-24 2017-02-08 深圳普创天信科技发展有限公司 Mobile terminal power consumption test device and test method
CN106502858A (en) * 2016-10-09 2017-03-15 深圳市金立通信设备有限公司 A kind of multiple subsystem power consumption determines method and terminal
CN107608854A (en) * 2017-09-07 2018-01-19 维沃移动通信有限公司 A kind of detection method and electronic equipment of quiescent current value
CN108152576A (en) * 2017-12-27 2018-06-12 上海移远通信技术股份有限公司 Power consumption of communication module tests system and method
CN110376428A (en) * 2019-07-31 2019-10-25 四川长虹电器股份有限公司 Quiescent current production line test system and method for battery power supply internet of things product
CN110569165A (en) * 2019-08-16 2019-12-13 苏州浪潮智能科技有限公司 Method and device for detecting power consumption of server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑万波;吴燕清;秦伟;张少华;李云波;覃海明;: "矿井应急救援指挥通信装置的休眠唤醒功能实现探讨", 煤矿安全, no. 03, 10 March 2010 (2010-03-10) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326191A (en) * 2021-05-27 2021-08-31 合肥移瑞通信技术有限公司 Current consumption testing method and device and storage medium
CN113407420A (en) * 2021-07-16 2021-09-17 北京字节跳动网络技术有限公司 Power consumption detection method and device, electronic equipment and storage medium
CN115792364A (en) * 2023-02-07 2023-03-14 南京美斯玛微电子技术有限公司 Power consumption calculation method based on standby state analysis
CN116736076A (en) * 2023-05-12 2023-09-12 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111639002B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN111639002A (en) Method and system for testing sleep power consumption, computer equipment and storage medium
CN107562610B (en) Method, device, terminal and medium for acquiring page loading time
CN109726100A (en) Application performance test method, apparatus, equipment and computer readable storage medium
WO2019095580A1 (en) Test method and apparatus, computer device, and readable storage medium
CN106897219B (en) Method and device for testing stability of mobile terminal system
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN111273153A (en) Automatic testing method, device and system for chip
CN111190827A (en) Interface automation test method and device, storage medium and electronic equipment
CN112231228A (en) Firmware upgrade test method, device, platform, equipment and storage medium
CN111796578A (en) Vehicle controller testing method, device and system and storage medium
CN112286825A (en) Screen testing method and device for intelligent cabin and electronic equipment
CN108910642B (en) Elevator debugging information processing method and system, readable storage medium and debugging equipment
CN112948189B (en) Margin test method, margin test system and related device
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN211554929U (en) Human-computer interaction interface automatic identification system based on Android OS
CN112289345A (en) Visual intelligent terminal voice diagnosis method
CN110032781B (en) Editing time sequence constraint method and device, computer equipment and storage medium
CN115086384B (en) Remote control test method, device, equipment and storage medium
CN110825649A (en) Application testing method, device, equipment and storage medium
CN108946370B (en) Elevator fault information processing method, system, equipment and readable storage medium
CN109426612B (en) Automatic use case development system based on intelligent machine learning
CN113238901B (en) Multi-device automatic testing method and device, storage medium and computer device
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
CN112530615B (en) Variable forcing method and system suitable for nuclear power station equipment
CN112598816B (en) Vehicle data acquisition method and device and vehicle diagnosis system

Legal Events

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