CN111257631A - Terminal equipment power consumption measuring system and method - Google Patents

Terminal equipment power consumption measuring system and method Download PDF

Info

Publication number
CN111257631A
CN111257631A CN202010046555.5A CN202010046555A CN111257631A CN 111257631 A CN111257631 A CN 111257631A CN 202010046555 A CN202010046555 A CN 202010046555A CN 111257631 A CN111257631 A CN 111257631A
Authority
CN
China
Prior art keywords
power consumption
terminal equipment
electric quantity
consumption measurement
terminal
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
CN202010046555.5A
Other languages
Chinese (zh)
Other versions
CN111257631B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010046555.5A priority Critical patent/CN111257631B/en
Publication of CN111257631A publication Critical patent/CN111257631A/en
Application granted granted Critical
Publication of CN111257631B publication Critical patent/CN111257631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods

Abstract

One or more embodiments of the present specification disclose a system and a method for measuring power consumption of a terminal device, so as to solve the problems that the terminal device cannot interact with the terminal device and the measurement is inaccurate when power measurement is performed on the terminal device in the prior art. The system comprises a main control device and a power consumption measuring device. And the USB interface of the power consumption measuring device is connected with the USB interface of the terminal equipment. The positive terminal of the power consumption measuring device is connected with the positive electrode of the dummy battery, the negative terminal of the power consumption measuring device is connected with the grounding terminal of the system, and the negative terminal of the power consumption measuring device is connected with the negative electrode of the dummy battery through the fuel gauge. And the grounding end of the USB interface of the power consumption measuring device is connected with the electricity meter. The main control equipment sends a power consumption measurement instruction to the power consumption measurement device for instructing the power consumption measurement device to measure the power consumption of the terminal equipment. The power consumption measuring device obtains actual power consumption of the terminal device in the power consumption measuring process, and sends the actual power consumption to the main control device. And the main control equipment determines the power consumption of the terminal equipment according to the actual power consumption.

Description

Terminal equipment power consumption measuring system and method
Technical Field
The present document relates to the field of communications technologies, and in particular, to a system and a method for measuring power consumption of a terminal device.
Background
With the increasingly wide Application of the mobile phone cloud measurement system, the power consumption measurement of the terminal device is urgently needed to be carried on line, particularly the power consumption measurement of some APPs (applications), so as to realize the remote and automatic power consumption measurement of the terminal device.
However, for the current end products (such as mobile phones) on the market, charging is always in progress (before the battery is fully charged) as long as a USB (universal serial Bus) cable is plugged. Since the USB cable is supplying power to the terminal device through the charging chip at this time, it is inaccurate to measure the power consumption of the terminal device from the battery interface in this case. An existing power consumption measurement method is as follows: through remote control of a switch, the USB connection is cut off to capture the state information of the terminal equipment during power consumption measurement, so that the power consumption value is calculated, and the USB connection is switched on after the power consumption measurement is finished. The mode is carried out manually and off-line, so that the state value of the terminal equipment cannot be captured dynamically in real time, and the terminal equipment cannot interact with the measuring process.
Disclosure of Invention
In one aspect, one or more embodiments of the present specification provide a terminal device power consumption measurement system for performing power consumption measurement on a terminal device connected to a dummy battery. The system comprises a main control device and a power consumption measuring device. And the USB interface of the power consumption measuring device is connected with the USB interface of the terminal equipment. The positive terminal of the power consumption measuring device is connected with the positive electrode of the dummy battery, the negative terminal of the power consumption measuring device is connected with the grounding terminal of the system, and the negative terminal of the power consumption measuring device is connected with the negative electrode of the dummy battery through the fuel gauge in the power consumption measuring device. And the grounding end of the USB interface of the power consumption measuring device is connected with the electricity meter. The main control device sends a power consumption measurement instruction to the power consumption measurement device, and the power consumption measurement instruction is used for indicating the power consumption measurement device to carry out power consumption measurement on the terminal device. The power consumption measuring device acquires the actual power consumption of the terminal equipment in the power consumption measuring process, displays the actual power consumption on the electricity meter, and sends the actual power consumption to the main control equipment. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And the main control equipment determines the power consumption of the terminal equipment according to the actual power consumption.
In another aspect, one or more embodiments of the present specification provide a terminal device power consumption measuring method, which is applied to the power consumption measuring apparatus according to any one of the above aspects, and includes: and receiving a power consumption measurement instruction sent by the main control equipment, wherein the power consumption measurement instruction is used for instructing a power consumption measurement device to perform power consumption measurement on the terminal equipment. And acquiring the actual consumed electric quantity of the terminal equipment in the power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
In another aspect, one or more embodiments of the present specification provide a method for measuring power consumption of a terminal device, where the method is applied to a master control device according to any of the above aspects, and includes: when it is monitored that the power consumption measuring device is connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device, and the power consumption measuring instruction is used for indicating the power consumption measuring device to carry out power consumption measurement on the terminal equipment. And receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And determining the power consumption of the terminal equipment according to the actual power consumption.
In another aspect, one or more embodiments of the present specification provide a power consumption measuring apparatus applied to the power consumption measuring apparatus according to any one of the above aspects, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: and receiving a power consumption measurement instruction sent by the main control equipment, wherein the power consumption measurement instruction is used for instructing the power consumption measurement device to perform power consumption measurement on the terminal equipment. And acquiring the actual consumed electric quantity of the terminal equipment in the power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
In another aspect, one or more embodiments of the present specification provide a power consumption measurement device, which is applied to the master control device according to any one of the above aspects, and includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: when it is monitored that the power consumption measuring device is connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device, and the power consumption measuring instruction is used for indicating the power consumption measuring device to carry out power consumption measurement on the terminal equipment. And receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And determining the power consumption of the terminal equipment according to the actual power consumption.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: and receiving a power consumption measurement instruction sent by the main control equipment, wherein the power consumption measurement instruction is used for instructing the power consumption measurement device to perform power consumption measurement on the terminal equipment. And acquiring the actual consumed electric quantity of the terminal equipment in the power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: when it is monitored that the power consumption measuring device is connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device, and the power consumption measuring instruction is used for indicating the power consumption measuring device to carry out power consumption measurement on the terminal equipment. And receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device. The actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. And determining the power consumption of the terminal equipment according to the actual power consumption.
Drawings
In order to more clearly illustrate one or more embodiments or technical solutions in the prior art in the present specification, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in one or more embodiments of the present specification, and other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic block diagram of a terminal device power consumption measurement system according to an embodiment of the present specification;
FIG. 2 is a schematic block diagram of a terminal device power consumption measurement system according to another embodiment of the present description;
FIG. 3 is a schematic block diagram of a terminal device power consumption measurement system according to yet another embodiment of the present description;
fig. 4 is a schematic flow chart of a terminal device power consumption measurement method according to an embodiment of the present specification;
fig. 5 is a schematic flow chart of a terminal device power consumption measurement method according to another embodiment of the present specification;
fig. 6 is a schematic flow chart of a method for measuring power consumption of a terminal device according to an embodiment of the present disclosure;
fig. 7 is a schematic flow chart of a method for measuring power consumption of a terminal device according to another embodiment of the present disclosure;
FIG. 8 is a schematic block diagram of a power consumption measurement device according to an embodiment of the present description;
fig. 9 is a schematic configuration diagram of a power consumption measurement apparatus according to another embodiment of the present specification.
Detailed Description
One or more embodiments of the present disclosure provide a system and a method for measuring power consumption of a terminal device, so as to solve the problems that the power measurement of the terminal device in the prior art cannot interact with the terminal device and the measurement is inaccurate.
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
Fig. 1 is a schematic block diagram of a terminal device power consumption measurement system according to an embodiment of the present specification, and as shown in fig. 1, the system includes a main control device 110 and a power consumption measurement apparatus 120, which are used for measuring power consumption of a terminal device 130 connected with a dummy battery. The connection between the terminal device 130 and the dummy battery may be: the terminal device 130 externally connects a dummy battery by using an adaptive wire; alternatively, the dummy battery is built into the terminal device 130 and replaces the primary battery in the terminal device 130 (fig. 1 only shows a case where the dummy battery is built into the terminal device).
In the terminal equipment power consumption measuring system, the USB interface of the power consumption measuring device 120 is connected with the USB interface of the terminal equipment 130; the positive terminal of the power consumption measuring device 120 is connected with the positive terminal of the dummy battery, the negative terminal is connected with the grounding terminal of the system, the negative terminal is connected with the negative terminal of the dummy battery through the fuel gauge in the power consumption measuring device 120, and the grounding terminal of the USB interface of the power consumption measuring device 120 is connected with the fuel gauge.
In the power consumption measurement process, the main control device 110 sends a power consumption measurement instruction to the power consumption measurement apparatus 120, where the power consumption measurement instruction is used to instruct the power consumption measurement apparatus 120 to perform power consumption measurement on the terminal device 130. The power consumption measurement device 120 acquires the actual power consumption amount of the terminal device 130 during the power consumption measurement process, and displays the acquired actual power consumption amount on the electricity meter. And, transmitting the actual amount of power consumed to the master control device 110. The main control device 110 determines the power consumption of the terminal device 130 according to the actual power consumption amount.
In this embodiment, the actual power consumption is the sum of the first power consumed by the terminal device 130 during the power consumption measurement process and the second power generated by supplying power to the terminal device 130 through the USB interface of the power consumption measurement apparatus 120. The actual amount of power consumed by the terminal device 130 during the power consumption measurement process may include at least one of: power consumed by an operating system of the terminal device 130, power consumed by an application installed on the terminal device 130. The first electric quantity consumed by the terminal device 130 in the power consumption measurement process includes not only the actual consumed electric quantity, but also the electric quantity supplement caused by the second electric quantity, and the electric quantity supplement makes the first electric quantity consumed by the terminal device 130 in the power consumption measurement process smaller than the actual consumed electric quantity, and the deviation value is the second electric quantity generated by supplying power to the terminal device 130 through the USB interface of the power consumption measurement apparatus 120.
Specifically, the relationship between the actual consumption electric quantity and the first and second electric quantities may be expressed as: the actual consumed electric quantity is equal to the first electric quantity + the second electric quantity. Assuming that the first power amount consumed by the terminal device 130 is a and the power supply amount supplied to the terminal device 130 through the USB interface of the power consumption measuring apparatus 120 is b in the data counted by the electricity meter, both values flow into the electricity meter, so that the value counted by the electricity meter is the integrated value of the two values, i.e., a + b.
By adopting the power consumption measurement system of the terminal device in the embodiment, the main control device sends the instruction for measuring the power consumption of the terminal device to the power consumption measurement device connected with the main control device, so that the terminal device can obtain the actual power consumption of the terminal device in the power consumption measurement process based on the instruction. In the power consumption measurement process, the USB interface of the power consumption measurement device is always connected with the USB interface of the terminal equipment, and the grounding end of the USB interface of the power consumption measurement device is connected with the electricity meter in the power consumption measurement device, so that the actual power consumption obtained by the power consumption measurement device is the sum of the first power consumption consumed by the terminal equipment and the second power generated by supplying power to the terminal equipment through the USB interface of the power consumption measurement device, namely the actual power consumption does not contain the power supplement caused by the power supply of the USB interface of the power consumption measurement device to the terminal equipment. Therefore, the power consumption measuring method of the system for the terminal equipment can not only dynamically capture the state value of the terminal equipment in real time under the condition of not influencing the USB signal interaction of the terminal equipment, but also improve the accuracy of the power consumption measuring result.
In the above embodiment, the ground terminal of the USB interface of the power consumption measuring device 120 may be connected to the electricity meter in an indirect manner or a direct manner. The following description will be made for each of these two connection methods.
In one embodiment, the ground terminal of the USB interface of the power consumption measuring device 120 is indirectly connected to the electricity meter. As shown in fig. 2, the ground terminal of the USB interface of the power consumption measuring apparatus 120 is connected to the ground terminal of the system through a switch 121, and the switch 121 is opened or closed according to a control signal from the main control device 110. Since the ground terminal of the system is connected to the electricity meter, indirect connection between the ground terminal of the USB interface of the power consumption measuring device 120 and the electricity meter is achieved. The power consumption measuring apparatus 120 further includes a microcontroller, and the microcontroller is connected to the main control device 110, the electricity meter, and the switch 121, respectively. The USB interface of the power consumption measuring device 120 includes a D + connection line and a D-connection line, and the D + connection line and the D-connection line are respectively used for connecting with a D + signal line and a D-signal line of the USB interface of the terminal device 130, so that USB signal interaction is performed between the power consumption measuring device 120 and the terminal device 130. The arrows on the connecting lines in fig. 2 indicate the signal flow direction.
The microcontroller controls the switch 121 to be opened during the power consumption measurement process according to the received control signal from the main control device 110, so as to disconnect the USB interface of the power consumption measurement apparatus 120 from the ground of the system, and controls the switch 121 to be closed at the end of the power consumption measurement process.
In this embodiment, during power consumption measurement, the microcontroller controls the switch 121 to be turned off, and at this time, the connection between the USB interface of the power consumption measurement apparatus 120 and the ground terminal of the system is turned off, so that all signals output by the USB interface of the power consumption measurement apparatus 120 sequentially flow into the electricity meter through the USB interface of the terminal device 130 and the negative electrode of the dummy battery, where the signals include an interaction signal passing through the USB interface and a charging current for the terminal device 130. Therefore, the electricity meter can count the actual consumed electricity amount of the terminal device 130, i.e., the sum of the first electricity amount consumed by the terminal device 130 during the power consumption measurement and the second electricity amount generated by supplying power to the terminal device 130 through the USB interface of the power consumption measurement apparatus 120.
In addition, in this embodiment, the microcontroller closes the control switch 121 when the power consumption measurement process is finished according to the received control signal from the main control device 110, so that when the power consumption measurement device 120 does not measure the terminal device 130, the ground terminal of the USB interface of the power consumption measurement device 120 is directly connected to the ground terminal of the system, thereby meeting the requirement of the D + connection line and the D-connection line of the USB interface on the backflow ground, reducing the interference of the outside on the USB signal interacted between the power consumption measurement device 120 and the terminal device 130, and ensuring the smooth signal communication of the USB interface.
In one embodiment, as shown in fig. 3, the ground terminal of the USB interface of the power consumption measuring device 120 is directly connected to the electricity meter. The power consumption measuring apparatus 120 further includes a microcontroller, and the microcontroller is connected to the main control device 110 and the electricity meter, respectively. The USB interface of the power consumption measuring device 120 includes a D + connection line and a D-connection line, and the D + connection line and the D-connection line are respectively used for connecting with a D + signal line and a D-signal line of the USB interface of the terminal device 130, so that USB signal interaction is performed between the power consumption measuring device 120 and the terminal device 130. The arrows on the connecting lines in fig. 3 indicate the signal flow direction.
In this embodiment, since the ground terminal of the USB interface of the power consumption measuring device 120 is directly connected to the electricity meter, all signals output by the USB interface of the power consumption measuring device 120 may be forced to flow into the electricity meter, where the signals include the interactive signals passing through the USB interface and the charging current for the terminal device 130, so that the electricity meter can count the actual power consumption of the terminal device 130, that is, the sum of the first power consumed by the terminal device 130 during the power consumption measurement and the second power generated by supplying power to the terminal device 130 through the USB interface of the power consumption measuring device 120.
In addition, in this embodiment, since the ground terminal of the USB interface of the power consumption measurement device 120 is connected to the ground terminal of the system through the electricity meter, the requirement of the D + connection line and the D-connection line of the USB interface for the return ground can be met, the interference of the outside on the USB signal interacted between the power consumption measurement device 120 and the terminal device 130 is reduced, and the smooth signal communication of the USB interface is ensured.
Therefore, no matter which connection mode shown in fig. 2 or fig. 3 is adopted, the power consumption measurement apparatus 120 can calculate the actual power consumption of the terminal device 130 through the electricity meter, so that the accuracy of the power consumption measurement result of the terminal device is greatly improved, and the USB signal interaction of the terminal device in the power consumption measurement process is not affected.
Fig. 4 is a schematic flowchart of a terminal device power consumption measurement method according to an embodiment of the present specification. As shown in fig. 4, the method is applied to the power consumption measuring apparatus 120 according to any of the above embodiments, and includes the following steps:
s402, receiving a power consumption measurement instruction sent by the main control device, wherein the power consumption measurement instruction is used for instructing the power consumption measurement device to perform power consumption measurement on the terminal device.
S404, acquiring the actual consumed electric quantity of the terminal equipment in the power consumption measurement process.
The actual consumed electric quantity is a comprehensive value of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. Specifically, the relationship between the actual consumption electric quantity and the first and second electric quantities may be expressed as: the actual consumed electric quantity is equal to the first electric quantity + the second electric quantity.
And S406, sending the actual consumed electric quantity to the main control equipment, so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
In an embodiment, before receiving the power consumption measurement instruction sent by the master device, a first control signal sent by the master device may be received, where the first control signal is used to control a switch (such as the switch 121 shown in fig. 2) to be disconnected during the power consumption measurement process, so as to disconnect the USB interface of the power consumption measurement apparatus from the ground terminal of the system; and then based on the first control signal, the switch is controlled to be switched off.
In one embodiment, after the actual power consumption amount is sent to the master device, a second control signal sent by the master device may be received, where the second control signal is used to control a switch (e.g., the switch 121 shown in fig. 2) to be closed at the end of the power consumption measurement process; and then based on the second control signal, the switch is controlled to be closed.
Fig. 5 is a schematic flowchart of a terminal device power consumption measurement method according to an embodiment of the present specification. As shown in fig. 5, the method applied to the master device 110 according to any of the above embodiments includes the following steps:
s502, when it is monitored that the power consumption measuring device is connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device, and the power consumption measuring instruction is used for indicating the power consumption measuring device to carry out power consumption measurement on the terminal equipment.
And S504, receiving the actual consumed electric quantity of the terminal equipment returned by the power consumption measuring device in the power consumption measuring process.
The actual consumed electric quantity is a comprehensive value of a first electric quantity consumed by the terminal equipment in the power consumption measuring process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. Specifically, the relationship between the actual consumption electric quantity and the first and second electric quantities may be expressed as: the actual consumed electric quantity is equal to the first electric quantity + the second electric quantity.
And S506, determining the power consumption of the terminal equipment according to the actual power consumption.
In one embodiment, after it is monitored that the power consumption measuring device is connected to the terminal device, a first control signal may be sent to a microcontroller in the power consumption measuring device, where the first control signal is used to control the switch to be disconnected during the power consumption measuring process, so as to disconnect the USB interface of the power consumption measuring device from the ground terminal of the system.
In one embodiment, after receiving the actual power consumption amount of the terminal device returned by the power consumption measurement device in the power consumption measurement process, the terminal device may send a second control signal to the power consumption measurement device, where the second control signal is used to control the switch to be closed at the end of the power consumption measurement process.
The following describes a power consumption measurement method of the power consumption measurement system of the terminal device according to a specific embodiment.
Fig. 6 is a schematic flowchart of a method for measuring power consumption of a terminal device according to an embodiment of the present disclosure. As shown in fig. 6, the method is applied to the terminal device power consumption measurement system shown in fig. 2, and comprises the following steps:
s601, the master control device monitors that the power consumption measuring device is connected with the terminal device, and sends a power consumption measuring instruction to a microcontroller in the power consumption measuring device.
The power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment.
S602, the main control device sends a first control signal to the microcontroller, where the first control signal is used to control a switch between a USB interface of the power consumption measurement apparatus and a ground terminal of the system to be turned off.
S603, the power consumption measuring device controls the switch to be switched off based on the first control signal.
And S604, the power consumption measuring device acquires the actual power consumption of the terminal equipment counted by the electricity meter through the microcontroller.
The actual consumed electric quantity is a comprehensive value of a first electric quantity consumed by the terminal equipment and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. Specifically, the relationship between the actual consumption electric quantity and the first and second electric quantities may be expressed as: the actual consumed electric quantity is equal to the first electric quantity + the second electric quantity.
And S605, the power consumption measuring device sends the acquired actual power consumption to the main control equipment through the microcontroller.
And S606, the main control device determines the power consumption of the terminal device according to the received actual power consumption.
And S607, the master control device sends a second control signal to the microcontroller, and the second control signal is used for controlling the switch to be closed when the power consumption measurement process is finished.
It should be noted that the execution order of S606 and S607 is not limited in this embodiment.
S608, the power consumption measuring device controls the switch to close based on the second control signal.
In this embodiment, during power consumption measurement, the master control device sends a control signal to the power consumption measurement device to control the switch to be turned off, so that the connection between the USB interface of the power consumption measurement device and the ground terminal of the system is turned off, and thus all signals output by the USB interface of the power consumption measurement device are forced to flow into the electricity meter sequentially through the USB interface of the terminal device and the negative electrode of the dummy battery, where the signals include an interaction signal passing through the USB interface and a charging current for the terminal device. Therefore, the electricity meter can count the actual consumed electricity of the terminal equipment, so that the state value of the terminal equipment is dynamically captured in real time under the condition that the USB signal interaction of the terminal equipment is not influenced, and the accuracy of the power consumption measurement result is improved. And when the power consumption measurement is finished, the master control equipment sends a control signal to the power consumption measurement device to control the switch, so that the grounding end of the USB interface of the power consumption measurement device is directly connected with the grounding end of the system, the requirements of a D + connecting wire and a D-connecting wire of the USB interface on a backflow ground are met, the interference of the outside on the interactive USB signal between the power consumption measurement device and the terminal equipment is reduced, and the smooth signal communication of the USB interface is ensured.
Fig. 7 is a schematic flowchart of a method for measuring power consumption of a terminal device according to an embodiment of the present disclosure. As shown in fig. 7, the method is applied to the terminal device power consumption measurement system shown in fig. 3, and comprises the following steps:
and S701, the master control equipment monitors that the power consumption measuring device is connected with the terminal equipment, and sends a power consumption measuring instruction to a microcontroller in the power consumption measuring device.
The power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment.
And S702, the power consumption measuring device obtains the actual power consumption of the terminal equipment counted by the electricity meter through the microcontroller based on the power consumption measuring instruction.
The actual consumed electric quantity is a comprehensive value of a first electric quantity consumed by the terminal equipment and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measuring device. Specifically, the relationship between the actual consumption electric quantity and the first and second electric quantities may be expressed as: the actual consumed electric quantity is equal to the first electric quantity + the second electric quantity.
And S703, the power consumption measuring device sends the acquired actual power consumption to the main control equipment through the microcontroller.
And S704, the main control device determines the power consumption of the terminal device according to the received actual power consumption.
In this embodiment, because the grounding end of the USB interface of the power consumption measurement device is directly connected to the electricity meter, all signals output by the USB interface of the power consumption measurement device can be forced to flow into the electricity meter, including the interaction signal through the USB interface and the charging current to the terminal device, so that the electricity meter can count the actual power consumption of the terminal device, thereby dynamically capturing the state value of the terminal device in real time without affecting the USB signal interaction of the terminal device, and improving the accuracy of the power consumption measurement result. In addition, the grounding end of the USB interface of the power consumption measuring device is connected with the grounding end of the system through the electricity meter, so that the requirement of a D + connecting wire and a D-connecting wire of the USB interface on a backflow ground can be met, the interference of the outside on a USB signal interacted between the power consumption measuring device and the terminal equipment is reduced, and the smooth signal communication of the USB interface is ensured.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same idea, one or more embodiments of the present specification further provide a power consumption measuring apparatus, as shown in fig. 8. The power consumption measuring device may have a large difference due to different configurations or performances, and may include one or more processors 801 and a memory 802, and one or more stored applications or data may be stored in the memory 802. Wherein the memory 802 may be a transient storage or a persistent storage. The application program stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the power consumption measurement device. Still further, the processor 801 may be configured to communicate with the memory 802 to execute a series of computer-executable instructions in the memory 802 on the power consumption measurement device. The power consumption measurement apparatus may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input-output interfaces 805, one or more keyboards 806.
In particular, in this embodiment, the power consumption measurement device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the power consumption measurement device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a power consumption measurement instruction sent by the master control equipment; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
acquiring actual consumed electric quantity of the terminal equipment in a power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
before receiving a power consumption measurement instruction sent by the master control device, receiving a first control signal sent by the master control device; the first control signal is used for controlling the switch to be disconnected in the power consumption measurement process so as to disconnect the connection between the USB interface of the power consumption measurement device and the grounding end of the system;
and controlling the switch to be switched off based on the first control signal.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
after the actual consumed electric quantity is sent to the main control equipment, receiving a second control signal sent by the main control equipment; the second control signal is used for controlling the switch to be closed when the power consumption measurement process is finished;
controlling the switch to close based on the second control signal.
Based on the same idea, one or more embodiments of the present specification further provide a power consumption measuring apparatus, as shown in fig. 9. The power consumption measuring device may have a relatively large difference due to different configurations or performances, and may include one or more processors 901 and a memory 902, where the memory 902 may store one or more stored applications or data. Memory 902 may be, among other things, transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the power consumption measurement device. Still further, the processor 901 may be configured to communicate with the memory 902 to execute a series of computer-executable instructions in the memory 902 on the power consumption measurement device. The power consumption measurement apparatus may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input-output interfaces 905, one or more keyboards 906.
In particular, in this embodiment, the power consumption measurement device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the power consumption measurement device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
when the power consumption measuring device is monitored to be connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and determining the power consumption of the terminal equipment according to the actual power consumption.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
after the power consumption measuring device is monitored to be connected with the terminal equipment, a first control signal is sent to a microcontroller in the power consumption measuring device; the first control signal is used for controlling the switch to be disconnected in the power consumption measurement process so as to disconnect the connection between the USB interface of the power consumption measurement device and the grounding end of the system.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
after receiving the actual power consumption of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device, sending a second control signal to the power consumption measurement device; the second control signal is used for controlling the switch to be closed when the power consumption measurement process is finished.
One or more embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned terminal device power consumption measurement method, and in particular to perform:
receiving a power consumption measurement instruction sent by the master control equipment; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
acquiring actual consumed electric quantity of the terminal equipment in a power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
One or more embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned terminal device power consumption measurement method, and in particular to perform:
when the power consumption measuring device is monitored to be connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and determining the power consumption of the terminal equipment according to the actual power consumption.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present specification are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only one or more embodiments of the present disclosure, and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of one or more embodiments of the present specification.

Claims (14)

1. A power consumption measurement system of terminal equipment is used for measuring the power consumption of the terminal equipment connected with a false battery; the system comprises a main control device and a power consumption measuring device;
the USB interface of the power consumption measuring device is connected with the USB interface of the terminal equipment; the positive end of the power consumption measuring device is connected with the positive electrode of the false battery, the negative end of the power consumption measuring device is connected with the grounding end of the system, and the negative end of the power consumption measuring device is connected with the negative electrode of the false battery through an electricity meter in the power consumption measuring device; the grounding end of the USB interface of the power consumption measuring device is connected with the electricity meter;
the master control equipment sends a power consumption measurement instruction to the power consumption measurement device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
the power consumption measuring device acquires the actual power consumption of the terminal equipment in the power consumption measuring process, and displays the actual power consumption on the electricity meter; and sending the actual consumed electric quantity to the main control equipment; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and the main control equipment determines the power consumption of the terminal equipment according to the actual power consumption.
2. The system of claim 1, wherein a ground terminal of the USB interface of the power consumption measuring device is connected to a ground terminal of the system through a switch; the switch is opened or closed according to a control signal from the master control device.
3. The system of claim 2, the power consumption measurement device further comprising a microcontroller; the microcontroller is respectively connected with the main control equipment, the electricity meter and the switch;
the microcontroller controls the switch to be disconnected in the power consumption measurement process according to a received control signal from the main control equipment so as to disconnect the connection between the USB interface of the power consumption measurement device and the grounding end of the system; and controlling the switch to close at the end of the power consumption measurement process.
4. The system of claim 1, wherein the USB interface of the power consumption measuring apparatus comprises a D + connection line and a D-connection line, and the D + connection line and the D-connection line are respectively used for connecting with a D + signal line and a D-signal line of the USB interface of the terminal device, so as to perform USB signal interaction between the power consumption measuring apparatus and the terminal device.
5. A terminal device power consumption measuring method applied to the power consumption measuring apparatus according to any one of claims 1 to 4, comprising:
receiving a power consumption measurement instruction sent by the master control equipment; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
acquiring actual consumed electric quantity of the terminal equipment in a power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
6. The method of claim 5, before receiving the power consumption measurement instruction sent by the master device, further comprising:
receiving a first control signal sent by the main control equipment; the first control signal is used for controlling the switch to be disconnected in the power consumption measurement process so as to disconnect the connection between the USB interface of the power consumption measurement device and the grounding end of the system;
and controlling the switch to be switched off based on the first control signal.
7. The method of claim 6, after sending the actual amount of power consumed to the master device, further comprising:
receiving a second control signal sent by the main control equipment; the second control signal is used for controlling the switch to be closed when the power consumption measurement process is finished;
controlling the switch to close based on the second control signal.
8. A method for measuring power consumption of a terminal device, which is applied to the main control device of any one of claims 1-4, comprises the following steps:
when the power consumption measuring device is monitored to be connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and determining the power consumption of the terminal equipment according to the actual power consumption.
9. The method of claim 8, further comprising, after monitoring that the power consumption measurement device is connected to the terminal device:
sending a first control signal to a microcontroller within the power consumption measurement device; the first control signal is used for controlling the switch to be disconnected in the power consumption measurement process so as to disconnect the connection between the USB interface of the power consumption measurement device and the grounding end of the system.
10. The method according to claim 9, wherein after receiving the actual power consumption amount of the terminal device returned by the power consumption measuring device in the power consumption measuring process, the method further comprises:
sending a second control signal to the power consumption measurement device; the second control signal is used for controlling the switch to be closed when the power consumption measurement process is finished.
11. A power consumption measuring apparatus applied to the power consumption measuring device according to any one of claims 1 to 4, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a power consumption measurement instruction sent by the master control equipment; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
acquiring actual consumed electric quantity of the terminal equipment in a power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
12. A power consumption measuring device applied to the master control device according to any one of claims 1 to 4, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
when the power consumption measuring device is monitored to be connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and determining the power consumption of the terminal equipment according to the actual power consumption.
13. A storage medium storing computer-executable instructions that, when executed, implement the following:
receiving a power consumption measurement instruction sent by the master control equipment; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
acquiring actual consumed electric quantity of the terminal equipment in the power consumption measurement process, and displaying the actual consumed electric quantity on an electricity meter in the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and sending the actual consumed electric quantity to the main control equipment so that the main control equipment determines the power consumption of the terminal equipment according to the actual consumed electric quantity.
14. A storage medium storing computer-executable instructions that, when executed, implement the following:
when the power consumption measuring device is monitored to be connected with the terminal equipment, a power consumption measuring instruction is sent to the power consumption measuring device; the power consumption measurement instruction is used for instructing the power consumption measurement device to measure the power consumption of the terminal equipment;
receiving the actual consumed electric quantity of the terminal equipment in the power consumption measurement process returned by the power consumption measurement device; the actual consumed electric quantity is the sum of a first electric quantity consumed by the terminal equipment in the power consumption measurement process and a second electric quantity generated by supplying power to the terminal equipment through a USB interface of the power consumption measurement device;
and determining the power consumption of the terminal equipment according to the actual power consumption.
CN202010046555.5A 2020-01-16 2020-01-16 Terminal equipment power consumption measuring system and method Active CN111257631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010046555.5A CN111257631B (en) 2020-01-16 2020-01-16 Terminal equipment power consumption measuring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010046555.5A CN111257631B (en) 2020-01-16 2020-01-16 Terminal equipment power consumption measuring system and method

Publications (2)

Publication Number Publication Date
CN111257631A true CN111257631A (en) 2020-06-09
CN111257631B CN111257631B (en) 2022-05-06

Family

ID=70946997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010046555.5A Active CN111257631B (en) 2020-01-16 2020-01-16 Terminal equipment power consumption measuring system and method

Country Status (1)

Country Link
CN (1) CN111257631B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126781A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 USB apparatus power consumption test device
KR20090132245A (en) * 2008-06-20 2009-12-30 주식회사 씨모텍 Apparatus and method of suppling power for usb device
JP2015010941A (en) * 2013-06-28 2015-01-19 京セラ株式会社 Power display device
CN105785113A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 System and method for automatically testing power consumption
CN106597085A (en) * 2016-12-21 2017-04-26 珠海市魅族科技有限公司 Power consumption testing method, device and system
KR20170115743A (en) * 2016-04-08 2017-10-18 한국전자통신연구원 Apparatus for testing luminaire based on usb and method using the same
CN108548956A (en) * 2018-05-07 2018-09-18 Oppo广东移动通信有限公司 Power consumption test device and method for intelligent terminal
CN109376051A (en) * 2018-09-03 2019-02-22 深圳壹账通智能科技有限公司 Detect the method and terminal device of mobile device application program power consumption

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126781A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 USB apparatus power consumption test device
KR20090132245A (en) * 2008-06-20 2009-12-30 주식회사 씨모텍 Apparatus and method of suppling power for usb device
JP2015010941A (en) * 2013-06-28 2015-01-19 京セラ株式会社 Power display device
CN105785113A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 System and method for automatically testing power consumption
KR20170115743A (en) * 2016-04-08 2017-10-18 한국전자통신연구원 Apparatus for testing luminaire based on usb and method using the same
CN106597085A (en) * 2016-12-21 2017-04-26 珠海市魅族科技有限公司 Power consumption testing method, device and system
CN108548956A (en) * 2018-05-07 2018-09-18 Oppo广东移动通信有限公司 Power consumption test device and method for intelligent terminal
CN109376051A (en) * 2018-09-03 2019-02-22 深圳壹账通智能科技有限公司 Detect the method and terminal device of mobile device application program power consumption

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
檀亚凤 等: "便携式电能表功耗测试仪的研发与应用", 《广西电力》 *

Also Published As

Publication number Publication date
CN111257631B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
CN107611507B (en) Update method, device and the mobile terminal of battery parameter
CN111142030B (en) Method, device and equipment for detecting internal short-circuit current and readable storage medium
EP3349325B1 (en) Charging method, charging device and terminal
CN103376871A (en) System, apparatus, and method of performing charging operation in host mode
CN112748347B (en) Battery electric quantity acquisition method and device, storage medium and electronic equipment
CN111491235B (en) Charging method and system, charging box and Bluetooth headset
CN109164310A (en) Anti-interference test system, monitoring device, anti-interference test method and terminal device
CN105576753A (en) Information processing method and electronic equipment
CN111257631B (en) Terminal equipment power consumption measuring system and method
CN112092671A (en) Charging control method, device, equipment and storage medium
CN111830394A (en) Charging circuit fault detection method, electronic device and computer readable storage medium
CN113451669A (en) Charging method and device, electronic device and storage medium
US10903664B2 (en) Smart power supply
CN104778040A (en) Photographing device
CN110850311B (en) Method and device for displaying electric quantity by double batteries and computer readable storage medium
CN111049219B (en) Charging method and charging equipment
CN104052131B (en) Charge control method, electric quantity monitoring device and charger
CN111490568A (en) Wireless charging method and device
CN111092460B (en) Charging control method and device and computer storage medium
CN105188113A (en) Information processing method and wireless access device
CN111342505A (en) Charging method, device, system, electronic equipment and storage medium
KR20210042496A (en) Controlling method for charging battery of electronic device and electronic device thereof
CN110970947B (en) Charging method, terminal and computer storage medium
CN110943502B (en) Charging method, split terminal and computer storage medium

Legal Events

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