CN106502858A - A kind of multiple subsystem power consumption determines method and terminal - Google Patents

A kind of multiple subsystem power consumption determines method and terminal Download PDF

Info

Publication number
CN106502858A
CN106502858A CN201610881416.8A CN201610881416A CN106502858A CN 106502858 A CN106502858 A CN 106502858A CN 201610881416 A CN201610881416 A CN 201610881416A CN 106502858 A CN106502858 A CN 106502858A
Authority
CN
China
Prior art keywords
subsystem
terminal
quiescent current
power consumption
application processor
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.)
Withdrawn
Application number
CN201610881416.8A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610881416.8A priority Critical patent/CN106502858A/en
Publication of CN106502858A publication Critical patent/CN106502858A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of multiple subsystem power consumption determines that method and terminal, wherein method include:Obtain use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem includes application processor subsystem;The quiescent current of the terminal is obtained, and judges whether the quiescent current is abnormal;If the quiescent current exception, according to the power consumption information that power supply managing daily record determines the plurality of subsystem;Wherein, the power supply managing daily record includes the use information.Embodiment of the present invention terminal only just can determine the power consumption information of multiple subsystems in the case of quiescent current exception by power supply managing daily record, and its difficulty is low, workload is little and time-consuming short.

Description

A kind of multiple subsystem power consumption determines method and terminal
Technical field
The present invention relates to electronic technology field, more particularly to a kind of multiple subsystem power consumption determines method and terminal.
Background technology
Now intelligent terminal function is all more powerful, both can be used to install different program installation kits, again can be with Be used for making a phone call, sending short messages, can also be used to take pictures, connect WiFi, bluetooth, using data service online, use radio, GPS location etc..
The behind of above-mentioned concrete function is all that different chips are doing different work, such as installs different APK main It is that systematic difference processor is working, the use of data service online is that modem processor is working, using WiFi, indigo plant Tooth, GPS are then wireless chips in work, and these multiple different chips integrate jointly provided the user abundant Application experience.Although different chips is had nothing in common with each other when different application is responsible for, for some public resources differences Subsystem be required for using, such as Installed System Memory, system clock resource.
Said system entirety management-control method under normal circumstances will not be problematic, but asks when there is system overall power During topic, debugging is got up then inconvenient.There is related mechanism existing system entirety management-control method only application processor side to sentence The power consumption state of disconnected application processor chip, and for other subsystems, such as modem processor, wireless chip are in power consumption In terms of debugging and power consumption positioning, information is relatively fewer, and positioning power problemses are cumbersome.Generally, prior art is mainly by contrast The physics power consumption characteristics of whole machine current waveform and concrete processor chips are located come the power problemses for determining multiple subsystem, and the party Method is complicated, workload is big, and time-consuming.
In sum, existing multiple subsystem power consumption determines that method has that difficulty is big, workload is big and time-consuming.
Content of the invention
The embodiment of the present invention provides a kind of multiple subsystem power consumption and determines method and terminal, and its difficulty is low, workload is little and consumes When short.
In a first aspect, embodiments providing a kind of multiple subsystem power consumption determines that method, methods described include:
Obtain use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem includes answering use Reason device subsystem;
The quiescent current of the terminal is obtained, and judges whether the quiescent current is abnormal;
If the quiescent current exception, according to the power consumption letter that power supply managing daily record determines the plurality of subsystem Breath;Wherein, the power supply managing daily record includes the use information.
On the other hand, a kind of terminal is embodiments provided, and the terminal includes:
Acquiring unit, for obtaining use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem System includes application processor subsystem;
First judging unit, for obtaining the quiescent current of the terminal, and judges whether the quiescent current is abnormal;
Determining unit, if for the quiescent current exception, determine the plurality of son according to power supply managing daily record The power consumption information of system;Wherein, the power supply managing daily record includes the use information.
The embodiment of the present invention is electric to the use information of terminal public resource and the dormancy of terminal by obtaining multiple subsystems Stream, and judge whether the quiescent current is abnormal, if the quiescent current exception, determines institute according to power supply managing daily record The power consumption information of multiple subsystems is stated, and wherein, power supply managing daily record includes use information, and then terminal is caused in dormancy electricity In the case of throat floater, the power consumption information of multiple subsystems just can determine by power supply managing daily record only, its difficulty is low, Workload is little and time-consuming short.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, embodiment will be described below needed for be used Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this area general For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is the schematic flow diagram that a kind of multiple subsystem power consumption that the embodiment of the present invention one is provided determines method;
Fig. 2 is the schematic flow diagram that a kind of multiple subsystem power consumption that the embodiment of the present invention two is provided determines method;
Fig. 3 is a kind of schematic block diagram of terminal that the embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic block diagram of terminal that the embodiment of the present invention four is provided;
Fig. 5 is a kind of schematic block diagram of terminal that the embodiment of the present invention five is provided.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on this Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " indicates described special Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, The presence or interpolation of operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, and otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to the one or more any combinations in the associated item that lists and be possible to combine, and combine including these.
As in this specification and in the appended claims as use, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true Fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc are just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have and touch Touch the desk computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal for including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, for example following in one or more:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be executed in terminal can be public using at least one of such as touch sensitive surface Physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal (for example, is touched Sensing surface) the various application programs that can support with user interface directly perceived and transparent for a user.
Referring to Fig. 1, it is schematic flow diagram that a kind of multiple subsystem power consumption that the embodiment of the present invention one is provided determines method.This In embodiment, multiple subsystem power consumption determines that the executive agent of method is terminal, and the terminal can be that mobile phone, panel computer etc. are moved Dynamic terminal.The multiple subsystem power consumption determines that method may include following steps as shown in Figure 1:
S101:Obtain use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem includes answering Use processor subsystem.
Wherein, in embodiments of the present invention, by increasing in the SOC(system on a chip) (System On Chip, SOC) in terminal Programmable Logic Controller (Programmable Command Master, PCM) so that each in PCM control chips statistics, record SOC Service condition of the individual subsystem to terminal public resource, and then so that terminal gets multiple subsystems and its public resource is made Use information.The PCM control chips can be by by singlechip chip, field programmable gate array (Field-Programmable Gate Array, FPGA) control chip etc. realizes.
Furthermore, it is necessary to illustrate, multiple subsystems include but is not limited to application processor subsystem, modulation /demodulation and process Device subsystem, wireless chip processor subsystem etc.;Terminal public resource includes but is not limited to the internal memory of terminal, system clock money Source etc..
S102:The quiescent current of the terminal is obtained, and judges whether the quiescent current is abnormal.Wherein, in the present invention In embodiment, terminal can monitor the now electric current of itself after application processor subsystem enters dormancy working condition, so as to obtain The quiescent current of body is taken from, and judges whether the quiescent current is abnormal.
S103:If the quiescent current exception, according to the work(that power supply managing daily record determines the plurality of subsystem Consumption information;Wherein, the power supply managing daily record includes the use information.
Wherein, in embodiments of the present invention, as the power supply managing mechanism of application processor subsystem side is in application The subsystems that reading PCM control chips count, record before processor subsystem entrance resting state are public to terminal The use information of resource, and the use information for reading is printed, i.e. the system power supply pipe of application processor subsystem side The reason mechanism subsystems that reading PCM control chips count, record when application processor is in non-sleep state are to end The use information of end public resource, and power supply managing daily record, the power supply managing daily record are formed according to the use information Include the use information of subsystems that PCM control chips count, record to terminal public resource.
It should be noted that in embodiments of the present invention, determine that the power consumption information of multiple subsystems is referred in terminal When quiescent current is abnormal, determination causes the quiescent current of terminal to be located the reason for abnormal.
Power supply managing daily record also includes that, for identifying the information of dormancy flow process, terminal can be sentenced according to dormancy procedure information Whether disconnected current dormancy flow process is abnormal.
In embodiments of the present invention, terminal is by obtaining use information and terminal of multiple subsystems to terminal public resource Quiescent current, and judge that the quiescent current is whether abnormal, if the quiescent current exception, according to power supply managing day Will determines the power consumption information of the plurality of subsystem, and then causes terminal in the case of quiescent current exception, only passes through system Power management daily record just can determine the power consumption information of multiple subsystems, and its difficulty is low, workload is little and time-consuming short.
Referring to Fig. 2, it is schematic flow diagram that a kind of multiple subsystem power consumption that the embodiment of the present invention two is provided determines method.This In embodiment, multiple subsystem power consumption determines that the executive agent of method is terminal, and the terminal can be that mobile phone, panel computer etc. are moved Dynamic terminal.The multiple subsystem power consumption determines that method may include following steps as shown in Figure 2:
S201:Obtain use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem includes answering Use processor subsystem.
Wherein, in embodiments of the present invention, by increasing in the SOC(system on a chip) (System On Chip, SOC) in terminal Programmable Logic Controller (Programmable Command Master, PCM) so that each in PCM control chips statistics, record SOC Service condition of the individual subsystem to terminal public resource, and then so that terminal gets multiple subsystems and its public resource is made Use information.The PCM control chips can be by singlechip chip, field programmable gate array (Field-Programmable Gate Array, FPGA) control chip etc. realizes.
Furthermore, it is necessary to illustrate, multiple subsystems include but is not limited to application processor subsystem, modulation /demodulation and process Device subsystem, wireless chip processor subsystem etc.;Terminal public resource includes but is not limited to the internal memory of terminal, system clock money Source etc..
S202:The quiescent current of the terminal is obtained, and judges whether the quiescent current is abnormal.
Specifically, S202 is comprised the following steps:
The quiescent current of the terminal is detected, and the quiescent current and predetermined threshold value are compared;
If the quiescent current is identified as the quiescent current exception more than the predetermined threshold value.
Wherein, in embodiments of the present invention, terminal can be monitored after application processor subsystem enters dormancy working condition Now the electric current of itself, so as to obtain the quiescent current of itself, and the quiescent current of acquisition and predetermined threshold value is compared, with Judge whether the quiescent current is abnormal.
Predetermined threshold value is referred to after the application processor subsystem of terminal enters dormancy working condition, the maximum work of terminal Make current value, which can be configured as needed, be not particularly limited herein.
S203:If the quiescent current exception, according to the work(that power supply managing daily record determines the plurality of subsystem Consumption information;Wherein, the power supply managing daily record includes the use information.
Wherein, in embodiments of the present invention, as the power supply managing mechanism of application processor subsystem side is in application The subsystems that reading PCM control chips count, record before processor subsystem entrance resting state are public to terminal The use information of resource, and the use information for reading is printed, i.e. the system power supply pipe of application processor subsystem side The reason mechanism subsystems that reading PCM control chips count, record when application processor is in non-sleep state are to end The use information of end public resource, and power supply managing daily record, the power supply managing daily record are formed according to the use information Include the use information of subsystems that PCM control chips count, record to terminal public resource.
It should be noted that in embodiments of the present invention, determine that the power consumption information of multiple subsystems is referred in terminal When quiescent current is abnormal, determination causes the quiescent current of terminal to be located the reason for abnormal.
Power supply managing daily record also includes that, for identifying the information of dormancy flow process, terminal can be sentenced according to dormancy procedure information Whether disconnected current dormancy flow process is abnormal.
Further, S203 specifically includes following steps:
S2031:If the quiescent current exception, the application processor is judged according to the power supply managing daily record Whether the dormancy flow process of subsystem is abnormal.
Wherein, in embodiments of the present invention, if quiescent current exception, judge that application is processed according to power supply managing daily record Whether the dormancy flow process of device subsystem is specially extremely:If after application processor subsystem enters resting state, terminal is detected To now the quiescent current exception of itself, i.e. terminal detect now itself power consumption problematic when, terminal first looks at power supply The sleeping process label information of application processor subsystem in management daily record, when application processor subsystem in power management daily record Sleeping process label information show application processor subsystem related application be currently running, then be identified as application process The dormancy flow process exception of device subsystem;Conversely, the dormancy flow process for being then identified as application processor system is normal.
S2032:According to the power consumption information that judged result and the power supply managing daily record determine the plurality of subsystem.
Specifically, S2032 is comprised the following steps:
If the dormancy flow process exception of the application processor subsystem, it is determined that the power consumption information of the plurality of subsystem is The power consumption exception of the application processor;
If the dormancy flow process of the application processor subsystem is normal, according to making in the power supply managing daily record The power consumption information for determining the plurality of subsystem with information.
Wherein, in embodiments of the present invention, if the dormancy flow process exception of application processor subsystem, show that application is processed Device subsystem is currently in use terminal public resource, and therefore, terminal can determine that the power consumption information of multiple subsystems is application processor The power problemses of subsystem, i.e. terminal can determine that it is that application processor subsystem is caused to cause oneself power consumption problem the reason for point 's.
Further, if the dormancy flow process of the application processor subsystem is normal, according to the power supply managing Use information in daily record determines that the power consumption information of the plurality of subsystem is specially:
Judge in multiple subsystems, whether there are other subsystems according to the use information in the power supply managing daily record When the application processor subsystem is in non-sleep state using the public resource;Wherein, other subsystems described are Subsystem in the plurality of subsystem in addition to the application processor subsystem;
If, it is determined that the power consumption information of the plurality of subsystem is to be in non-sleep in the application processor subsystem During state using the public resource subsystem power consumption exception.
Wherein, in embodiments of the present invention, if the dormancy flow process of application processor subsystem is normal, show that application is processed Device subsystem does not have using terminal public resource, and now, terminal checks the use information that PCM control chips count, record, and Determine whether that other subsystems are in non-sleep state, i.e. application processor in application processor subsystem according to use information The public resource of using terminal before subsystem resting state, if having other subsystems in application processor subsystem resting state The public resource of using terminal, then can determine that the power consumption information of multiple subsystems is in application processor subsystem dormancy shape before Before state using public resource subsystem power consumption exception, i.e., terminal can determine that cause oneself power consumption problem the reason for point be by Before application processor subsystem resting state, the subsystem of using terminal public resource is caused.
It should be noted that other subsystems described herein refer to remove application processor subsystem in multiple subsystems Modem processor subsystem, wireless chip processor subsystem outside system etc..
Further, if in the quiescent current exception, determining the plurality of subsystem according to power supply managing daily record After the power consumption information of system, multiple subsystem power consumption provided in an embodiment of the present invention determines that method also includes step:
According to operation shape of the power consumption information to subsystem corresponding with the power consumption information in the plurality of subsystem State carries out abnormality processing.
Wherein, in embodiments of the present invention, if after terminal determines the reason for causing oneself power consumption problem, terminal can root Closing process is carried out to corresponding subsystem according to the reason, for example, when terminal determines that the reason for causing oneself power consumption problem is to answer Caused with the dormancy flow process of processor subsystem, then application processor subsystem is closed;Cause itself work(when terminal determines The reason for consumption problem be modem processor before application processor subsystem dormancy using public resource, then by modulatedemodulate Processor is adjusted to close.
In embodiments of the present invention, terminal is by obtaining use information and terminal of multiple subsystems to terminal public resource Quiescent current, and judge that the quiescent current is whether abnormal, if the quiescent current exception, according to power supply managing day Will determines the power consumption information of the plurality of subsystem, and then causes terminal in the case of quiescent current exception, only passes through system Power management daily record just can determine the power consumption information of multiple subsystems, and its difficulty is low, workload is little and time-consuming short.
Additionally, terminal is after the power consumption information for determining the plurality of subsystem, according to power consumption information to multiple subsystems In the running status of subsystem corresponding with power consumption information carry out abnormality processing, and then cause power consumption of terminal normal, so as to be lifted The endurance of terminal.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of terminal 3 provided in an embodiment of the present invention.Terminal 3 can be mobile phone, The mobile terminals such as panel computer, but this is not limited to, can also be other-end, not be limited herein.The terminal 3 of the present embodiment Including each unit be used for executing each step in the corresponding embodiments of Fig. 1, specifically refer to the corresponding enforcements of Fig. 1 and Fig. 1 Associated description in example, is not repeated herein.The terminal 3 of the present embodiment includes:Acquiring unit 310, the first judging unit 320 and Determining unit 330.
Acquiring unit 310 is used for obtaining use information of multiple subsystems to terminal public resource;Wherein, the plurality of son System includes application processor subsystem.
Such as, acquiring unit 310 obtains use information of multiple subsystems to terminal public resource;Wherein, the plurality of Subsystem includes application processor subsystem.
First judging unit 320 is used for the quiescent current for obtaining the terminal, and judges whether the quiescent current is abnormal.
Such as, the first judging unit 320 obtains the quiescent current of the terminal, and judges whether the quiescent current is different Often.First judging unit 320 is obtaining the quiescent current of the terminal, and judges the quiescent current whether after exception, to true Order unit 330 sends judged result.
Determining unit 330 is used for receiving the judged result that the first judging unit 320 sends, and stops for described in judged result Dormancy current anomaly, then determine the power consumption information of the plurality of subsystem according to power supply managing daily record;Wherein, the system electricity Source control daily record includes the use information.
Such as, determining unit 330 receives the judged result that the first judging unit 320 sends, and is described in judged result Quiescent current exception, then determine the power consumption information of the plurality of subsystem according to power supply managing daily record.
In embodiments of the present invention, terminal 3 is by obtaining use information and end of multiple subsystems to terminal public resource The quiescent current at end, and judge whether the quiescent current is abnormal, if the quiescent current exception, according to power supply managing Daily record determines the power consumption information of the plurality of subsystem, and then causes terminal in the case of quiescent current exception, only by being System power management daily record just can determine the power consumption information of multiple subsystems, and its difficulty is low, workload is little and time-consuming short.
Fig. 4 is referred to, Fig. 4 is a kind of schematic block diagram of terminal 4 provided in an embodiment of the present invention.Terminal 4 can be handss The mobile terminals such as machine, panel computer, but this is not limited to, can also be other-end, not be limited herein.The end of the present embodiment The each unit that end 4 includes is used for each step executed in the corresponding embodiments of Fig. 2, specifically refers to the corresponding realities of Fig. 2 and Fig. 2 The associated description in example is applied, is not repeated herein.The terminal 4 of the present embodiment includes:Acquiring unit 410, the first judging unit 420 with And determining unit 430.
Acquiring unit 410 is used for obtaining use information of multiple subsystems to terminal public resource;Wherein, the plurality of son System includes application processor subsystem.
Such as, acquiring unit 410 obtains use information of multiple subsystems to terminal public resource;Wherein, the plurality of Subsystem includes application processor subsystem.
First judging unit 420 is used for the quiescent current for obtaining the terminal, and judges whether the quiescent current is abnormal.
Such as, the first judging unit 420 obtains the quiescent current of the terminal, and judges whether the quiescent current is different Often.
Further, the first judging unit 420 includes comparing unit 4201 and recognition unit 4202.
Comparing unit 4201 is used for the quiescent current for detecting the terminal, and the quiescent current is carried out with predetermined threshold value Relatively.
For example, comparing unit 4201 detects the quiescent current of the terminal, and the quiescent current and predetermined threshold value are entered Row compares.Quiescent current of the comparing unit 4201 in the detection terminal, and the quiescent current and predetermined threshold value are compared After relatively, comparative result is sent to recognition unit 4202.
Recognition unit 4202 is used for the comparative result for receiving the transmission of comparing unit 4201, and if being described stopping in comparative result Dormancy electric current is then identified as the quiescent current exception more than the predetermined threshold value.
For example, recognition unit 4202 receives the comparative result that comparing unit 4201 sends, and if being described in comparative result Quiescent current is then identified as the quiescent current exception more than the predetermined threshold value.Recognition unit 4202 is in identification quiescent current When abnormal, recognition result is sent to determining unit 430.
Determining unit 330 is used for the recognition result for receiving the transmission of recognition unit 4202, and is the dormancy in recognition result Current anomaly, then determine the power consumption information of the plurality of subsystem according to power supply managing daily record;Wherein, the system power supply Management daily record includes the use information.
Such as, determining unit 430 receives the recognition result that recognition unit 4202 sends, and is the dormancy in recognition result Current anomaly, then determine the power consumption information of the plurality of subsystem according to power supply managing daily record.
Further, it is determined that unit 430 includes the second judging unit 4301.
If the second judging unit 4301 is used for the quiescent current exception, judged according to the power supply managing daily record Whether the dormancy flow process of the application processor subsystem is abnormal.
Further, it is determined that unit 430 is additionally operable to judged result and system electricity according to the second judging unit 4301 Source control daily record determines the power consumption information of the plurality of subsystem.
If further, it is determined that unit 430 is additionally operable to the dormancy flow process exception of the application processor subsystem, it is determined that The power consumption information of the plurality of subsystem is the power consumption exception of the application processor subsystem;If the application processor subsystem The dormancy flow process of system is normal, then determine the work(of the plurality of subsystem according to the use information in the power supply managing daily record Consumption information.
Further, it is determined that unit 430 also includes the 3rd judging unit 4302.
3rd judging unit 4302 is used for judging multiple subsystems according to the use information in the power supply managing daily record Whether there are other subsystems when the application processor subsystem is in non-sleep state using the public resource in system;Its In, other subsystems described are the subsystem in the plurality of subsystem in addition to the application processor subsystem.
If further, it is determined that it is yes that unit 430 is additionally operable to the judged result of the 3rd judging unit 4302, determining described many The power consumption information of individual subsystem is using the public resource when the application processor subsystem is in non-sleep state The power consumption exception of subsystem.
Further, terminal 4 also includes exception processing unit (not shown).
Exception processing unit is used for according to the power consumption information to corresponding with the power consumption information in the plurality of subsystem The running status of subsystem carry out abnormality processing.
In embodiments of the present invention, terminal 4 is by obtaining use information and end of multiple subsystems to terminal public resource The quiescent current at end, and judge whether the quiescent current is abnormal, if the quiescent current exception, according to power supply managing Daily record determines the power consumption information of the plurality of subsystem, and then causes terminal in the case of quiescent current exception, only by being System power management daily record just can determine the power consumption information of multiple subsystems, and its difficulty is low, workload is little and time-consuming short.
Additionally, terminal 4 is after the power consumption information for determining the plurality of subsystem, according to power consumption information to multiple subsystems In the running status of subsystem corresponding with power consumption information carry out abnormality processing, and then cause power consumption of terminal normal, so as to be lifted The endurance of terminal.
Referring to Fig. 5, Fig. 5 is a kind of terminal schematic block diagram that the embodiment of the present invention five is provided.This enforcement as depicted Terminal 5 in example can include:One or more processors 510;One or more input equipments 520, one or more outputs Equipment 530 and memorizer 540.Above-mentioned processor 510, input equipment 520, outut device 530 and memorizer 540 pass through bus 550 connections.
Memorizer 540 is instructed for storage program.
Processor 510 is used for executing following operation according to the programmed instruction of the storage of memorizer 540:
Processor 510 is used for obtaining use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem System includes application processor subsystem.
Processor 510 is additionally operable to the quiescent current for obtaining the terminal, and judges whether the quiescent current is abnormal.
If processor 510 is additionally operable to the quiescent current exception, determined according to power supply managing daily record the plurality of The power consumption information of subsystem;Wherein, the power supply managing daily record includes the use information.
Further, if processor 510 is specifically for the quiescent current exception, according to the power supply managing day Will judges whether the dormancy flow process of the application processor subsystem is abnormal;According to judged result and the power supply managing day Will determines the power consumption information of the plurality of subsystem.
Further, if processor 510 specifically for the application processor subsystem dormancy flow process exception, it is determined that The power consumption information of the plurality of subsystem is the power consumption exception of the application processor subsystem;If the application processor subsystem The dormancy flow process of system is normal, then determine the work(of the plurality of subsystem according to the use information in the power supply managing daily record Consumption information.
Further, processor 510 is more specifically for being judged according to the use information in the power supply managing daily record Whether there are other subsystems when the application processor subsystem is in non-sleep state using described public in individual subsystem Resource;Wherein, other subsystems described are the subsystem in the plurality of subsystem in addition to the application processor subsystem; If, it is determined that the power consumption information of the plurality of subsystem is to make when the application processor subsystem is in non-sleep state Power consumption exception with the subsystem of the public resource.
Further, processor 510 is specifically for detecting the quiescent current of the terminal, and by the quiescent current with pre- If threshold value is compared;If the quiescent current is identified as the quiescent current exception more than the predetermined threshold value.
Further, processor 510 be additionally operable to according to the power consumption information in the plurality of subsystem with the power consumption The running status of the corresponding subsystem of information carries out abnormality processing.
In embodiments of the present invention, terminal 5 is by obtaining use information and end of multiple subsystems to terminal public resource The quiescent current at end, and judge whether the quiescent current is abnormal, if the quiescent current exception, according to power supply managing Daily record determines the power consumption information of the plurality of subsystem, and wherein, power supply managing daily record includes use information, and then causes eventually End only just can determine the power consumption letter of multiple subsystems in the case of quiescent current exception by power supply managing daily record Breath, its difficulty is low, workload is little and time-consuming short.
It should be appreciated that in embodiments of the present invention, alleged processor 510 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be any conventional processor etc..
Input equipment 520 can include that Trackpad, fingerprint adopt sensor (for gathering the finger print information and fingerprint of user Directional information), mike etc., outut device 530 can include display (LCD etc.), speaker etc..
The memorizer 540 can include read only memory and random access memory, and to processor 510 provide instruction and Data.The a part of of memorizer 540 can also include nonvolatile RAM.For example, memorizer 540 can also be deposited The information of storage device type.
In implementing, processor 510, input equipment 520 described in the embodiment of the present invention, outut device 530 can Execute described in the first embodiment and second embodiment of the interactive interface generation method of application provided in an embodiment of the present invention Implementation, also can perform the embodiment of the present invention described by terminal implementation, will not be described here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware With the interchangeability of software, composition and the step of each example is generally described in the above description according to function.This A little functions are executed with hardware or software mode actually, the application-specific and design constraint depending on technical scheme.Specially Industry technical staff can use different methods to realize described function to each specific application, but this realization is not It is considered as beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, which can be passed through Its mode is realized.For example, device embodiment described above is only schematically, for example division of the unit, only Only a kind of division of logic function, can have other dividing mode, for example multiple units or component tie when actually realizing Close or be desirably integrated into another system, or some features can be ignored, or do not execute.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection, or electricity, machinery or other forms connections.
Step in present invention method can carry out order adjustment according to actual needs, merge and delete.
Unit in embodiment of the present invention terminal can be merged according to actual needs, divides and be deleted.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, or two or more units are integrated in a unit.Above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially The part that in other words prior art is contributed, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the invention Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain of requirement is defined.

Claims (10)

1. a kind of multiple subsystem power consumption determines method, it is characterised in that methods described includes:
Obtain use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem includes application processor Subsystem;
The quiescent current of the terminal is obtained, and judges whether the quiescent current is abnormal;
If the quiescent current exception, according to the power consumption information that power supply managing daily record determines the plurality of subsystem;Its In, the power supply managing daily record includes the use information.
2. method according to claim 1, it is characterised in that if the quiescent current exception, according to system electricity Source control daily record determines that the power consumption information of the plurality of subsystem is specially:
If the quiescent current exception, stopping for the application processor subsystem is judged according to the power supply managing daily record Whether dormancy flow process is abnormal;
According to the power consumption information that judged result and the power supply managing daily record determine the plurality of subsystem.
3. method according to claim 2, it is characterised in that described according to judged result and the power supply managing day Will determines that the power consumption information of the plurality of subsystem is specially:
If the dormancy flow process exception of the application processor subsystem, it is determined that the power consumption information of the plurality of subsystem is described The power consumption exception of application processor subsystem;
If the dormancy flow process of the application processor subsystem is normal, believed according to using in the power supply managing daily record Breath determines the power consumption information of the plurality of subsystem.
4. method according to claim 3, it is characterised in that if the dormancy flow process of the application processor subsystem Normally, then determine that the power consumption information of the plurality of subsystem includes according to the use information in the power supply managing daily record:
Judge in multiple subsystems, whether there are other subsystems in institute according to the use information in the power supply managing daily record State application processor subsystem in non-sleep state when using the public resource;Wherein, other subsystems described are described Subsystem in multiple subsystems in addition to the application processor subsystem;
If, it is determined that the power consumption information of the plurality of subsystem is to be in non-sleep state in the application processor subsystem When using the public resource subsystem power consumption exception.
5. the method according to any one of Claims 1-4, it is characterised in that the quiescent current of the acquisition terminal, And judge whether the quiescent current is specially extremely:
The quiescent current of the terminal is detected, and the quiescent current and predetermined threshold value are compared;
If the quiescent current is identified as the quiescent current exception more than the predetermined threshold value.
6. a kind of terminal, it is characterised in that the terminal includes:
Acquiring unit, for obtaining use information of multiple subsystems to terminal public resource;Wherein, the plurality of subsystem bag Include application processor subsystem;
First judging unit, for obtaining the quiescent current of the terminal, and judges whether the quiescent current is abnormal;
Determining unit, if for the quiescent current exception, determine the plurality of subsystem according to power supply managing daily record Power consumption information;Wherein, the power supply managing daily record includes the use information.
7. terminal according to claim 6, it is characterised in that the determining unit includes:
Second judging unit, if for the quiescent current exception, should according to the power supply managing daily record judges Whether the dormancy flow process with processor subsystem is abnormal;
The determining unit is specifically for determining the plurality of subsystem according to judged result with the power supply managing daily record Power consumption information.
8. terminal according to claim 7, it is characterised in that the determining unit is additionally operable to:
If the dormancy flow process exception of the application processor subsystem, it is determined that the power consumption information of the plurality of subsystem is described The power consumption exception of application processor subsystem;
If the dormancy flow process of the application processor subsystem is normal, believed according to using in the power supply managing daily record Breath determines the power consumption information of the plurality of subsystem.
9. terminal according to claim 8, it is characterised in that the determining unit also includes:
Whether the 3rd judging unit, for judging in multiple subsystems according to the use information in the power supply managing daily record There are other subsystems when the application processor subsystem is in non-sleep state using the public resource;Wherein, described Other subsystems are the subsystem in the plurality of subsystem in addition to the application processor subsystem;
If the determining unit is yes specifically for the 3rd judging unit judged result, it is determined that the plurality of subsystem Power consumption information is the work(of the subsystem when the application processor subsystem is in non-sleep state using the public resource Consumption is abnormal.
10. the terminal according to any one of claim 6 to 9, it is characterised in that first judging unit includes:
Comparing unit, for detecting the quiescent current of the terminal, and the quiescent current and predetermined threshold value is compared;
Recognition unit, if be identified as the quiescent current exception for the quiescent current more than the predetermined threshold value.
CN201610881416.8A 2016-10-09 2016-10-09 A kind of multiple subsystem power consumption determines method and terminal Withdrawn CN106502858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610881416.8A CN106502858A (en) 2016-10-09 2016-10-09 A kind of multiple subsystem power consumption determines method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610881416.8A CN106502858A (en) 2016-10-09 2016-10-09 A kind of multiple subsystem power consumption determines method and terminal

Publications (1)

Publication Number Publication Date
CN106502858A true CN106502858A (en) 2017-03-15

Family

ID=58294671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610881416.8A Withdrawn CN106502858A (en) 2016-10-09 2016-10-09 A kind of multiple subsystem power consumption determines method and terminal

Country Status (1)

Country Link
CN (1) CN106502858A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151144A (en) * 2018-08-14 2019-01-04 深圳市广和通无线通信软件有限公司 Method of hardware management, device, system, computer equipment and storage medium
CN109542726A (en) * 2018-11-15 2019-03-29 杭州嘉楠耘智信息科技有限公司 Power consumption detection method and device
CN111639002A (en) * 2020-04-29 2020-09-08 西安广和通无线软件有限公司 Method and system for testing sleep power consumption, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090001814A1 (en) * 2007-06-27 2009-01-01 Vijay Subramaniam Power gating for multimedia processing power management
CN102944734A (en) * 2012-11-21 2013-02-27 北京小米科技有限责任公司 Method for monitoring terminal state, monitoring circuit and terminal
CN103792425A (en) * 2014-02-12 2014-05-14 南京物联传感技术有限公司 Electric parameter measurement system based on wireless network and electricity saving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090001814A1 (en) * 2007-06-27 2009-01-01 Vijay Subramaniam Power gating for multimedia processing power management
CN102944734A (en) * 2012-11-21 2013-02-27 北京小米科技有限责任公司 Method for monitoring terminal state, monitoring circuit and terminal
CN103792425A (en) * 2014-02-12 2014-05-14 南京物联传感技术有限公司 Electric parameter measurement system based on wireless network and electricity saving method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151144A (en) * 2018-08-14 2019-01-04 深圳市广和通无线通信软件有限公司 Method of hardware management, device, system, computer equipment and storage medium
CN109151144B (en) * 2018-08-14 2020-12-29 深圳市广和通无线通信软件有限公司 Hardware management method, device, system, computer equipment and storage medium
CN109542726A (en) * 2018-11-15 2019-03-29 杭州嘉楠耘智信息科技有限公司 Power consumption detection method and device
CN111639002A (en) * 2020-04-29 2020-09-08 西安广和通无线软件有限公司 Method and system for testing sleep power consumption, computer equipment and storage medium
CN111639002B (en) * 2020-04-29 2024-03-15 西安广和通无线软件有限公司 Sleep power consumption testing method, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106502687A (en) A kind of method and terminal for entering resting state
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN106569585A (en) Method and terminal of managing application program process
CN107728876A (en) A kind of method of split screen display available, terminal and computer-readable recording medium
CN107357673A (en) A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN106373570A (en) Voice control method and terminal
CN107610698A (en) A kind of method for realizing Voice command, robot and computer-readable recording medium
CN106453904A (en) Information reminding method and terminal
CN106293914A (en) A kind of method of task scheduling and terminal
CN106484270A (en) A kind of voice operating event adding method and terminal
CN106156583A (en) A kind of method of speech unlocking and terminal
CN107908349A (en) Display interface amplification method, terminal and computer-readable recording medium
CN106375548A (en) Method for processing voice information and terminal
CN106502858A (en) A kind of multiple subsystem power consumption determines method and terminal
CN107656750A (en) Update of plug-in method and device
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107479806A (en) The method and terminal of a kind of changing interface
CN106406494A (en) Method for scheduling processor and terminal
CN106200976A (en) A kind of motion-activated method and terminal
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN106446683A (en) Detection method for malignant program and terminal
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN106529231A (en) User touch operation identification method and terminal
CN106599652A (en) Screen unlocking method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170315