CN107861855A - A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption - Google Patents

A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption Download PDF

Info

Publication number
CN107861855A
CN107861855A CN201711041994.1A CN201711041994A CN107861855A CN 107861855 A CN107861855 A CN 107861855A CN 201711041994 A CN201711041994 A CN 201711041994A CN 107861855 A CN107861855 A CN 107861855A
Authority
CN
China
Prior art keywords
power consumption
application software
abnormal
terminal
drain conditions
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
CN201711041994.1A
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 CN201711041994.1A priority Critical patent/CN107861855A/en
Publication of CN107861855A publication Critical patent/CN107861855A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption, wherein method includes:Obtain power consumption information of the application software in running background;Judge whether the application software triggers default abnormal drain conditions;If judged result, which is the application software, triggers the abnormal drain conditions, the warning information of the application software triggering abnormal drain conditions is reported to server;Abnormal power consumption application software list is obtained from the server, and according to the abnormal power consumption application software of the abnormal power consumption application software list management terminal;Wherein, the abnormal power consumption application software list is that the server triggers the average times of the abnormal drain conditions in each terminal according to each application software and determined.By applying the technical scheme of the present invention, can solve the problems, such as to apply software anomaly power consumption in terminal, reduce the kwh loss of terminal, improve the cruising time of terminal.

Description

A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
Technical field
The present invention relates to communication technical field, more particularly to a kind of method, terminal, system and calculating for reducing abnormal power consumption Machine readable storage medium storing program for executing.
Background technology
Intelligent terminal, such as smart mobile phone and tablet personal computer just become to become more and more popular.In the use process of intelligent terminal In, short power consumption big cruising time is always prominent the problem of existing.The most important arch-criminal of this problem is caused to be mounted in intelligence Application software in terminal, software developer is primarily due to the privilege abuse of system or uses lack of standardization, is led Even if causing many softwares to fall back on backstage, it can still continue consumption mobile phone electricity, cause mobile phone exception power consumption.
In the prior art, generally by the power consumption of statistics application software come solve judge the application software whether power consumption It is high.In general way has, and first the power consumption ranking list for the application software that itself is installed is uploaded onto the server by terminal, taken afterwards Business device obtains the power consumption general list of each application software according to the power consumption ranking list of each terminal, and is used as and sentenced according to the general list The foundation of the whether abnormal power consumption of disconnected application program.
The shortcomings that prior art, is, simple that the power consumption feelings that can not truly reflect application software are ranked by power consumption Condition, because the power consumption of application software and the service condition of application software are closely related, for example, user often plays some game, The power consumption of the game is naturally just high.Therefore, simple power consumption seniority among brothers and sisters can not truly reflect the power consumption condition of application software, or Person, which says, cannot function as the basis for estimation whether this application software belongs to abnormal power consumption, because it can be specifically used by each user The time of this application is influenceed.It can be seen that prior art can not accurately obtain the application software of real abnormal power consumption, can not yet Solves the problems, such as terminal abnormal power consumption.
The content of the invention
The embodiment of the present invention provides a kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption, To solve the problems, such as to apply software anomaly power consumption in terminal.
In a first aspect, the embodiments of the invention provide a kind of method for reducing abnormal power consumption, this method includes:
Obtain power consumption information of the application software in running background;
Judge whether the application software triggers default abnormal drain conditions;
If judged result, which is the application software, triggers the abnormal drain conditions, the application software is reported to server Trigger the warning information of the abnormal drain conditions;
Abnormal power consumption application software list is obtained from the server, and according to the abnormal power consumption application software name single tube Manage the abnormal power consumption application software of terminal;Wherein, the abnormal power consumption application software list is the server according to each described What the average time that application software triggers the abnormal drain conditions in each terminal determined.
Second aspect, the embodiments of the invention provide a kind of system for reducing abnormal power consumption, the system includes server And multiple terminals;The terminal includes first acquisition unit, judging unit, reporting unit, second acquisition unit and management Unit;The server includes statistical analysis unit, wherein:
The acquiring unit is used to obtain power consumption information of the application software in running background;
The judging unit is used to judge whether the application software triggers default abnormal drain conditions;
It is that the application software triggers the abnormal drain conditions that if the transmitting element, which is used for judged result, to server The application software is reported to trigger the warning information of the abnormal drain conditions;
The statistical analysis unit triggers the abnormal drain conditions for counting each application software in each terminal Average time, and the average time that the abnormal drain conditions are triggered according to each application software in each terminal is true Fixed abnormal power consumption application software list;
The second acquisition unit is used to obtain abnormal power consumption application software list from the server;
The administrative unit is used for according to the abnormal power consumption of the abnormal power consumption application software list management terminal using soft Part.
The third aspect, the embodiments of the invention provide a kind of terminal, the terminal includes being used to perform above-mentioned first aspect The unit of method.
Fourth aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use In calling described program instruction, the method for performing above-mentioned first aspect.
5th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
By applying the technical scheme of the present invention, power consumption information of the application software in running background is obtained by terminal, and Server is reported when the power consumption of application software triggers default abnormal drain conditions;Respectively should by server statistics analysis The average time of abnormal drain conditions is triggered in each terminal with software and thereby determines that abnormal power consumption application software list;Afterwards Terminal pointedly manages the abnormal power consumption application software of itself according to the abnormal power consumption application software list, realizes different to its The early of normal power consumption behavior finds, early handled, and so as to solve the problems, such as that software anomaly power consumption is applied in terminal, reduces terminal Kwh loss, improve the cruising time of terminal.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for reducing abnormal power consumption provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for reduction exception power consumption that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram of the method for reduction exception power consumption that further embodiment of this invention provides;
Fig. 4 is a kind of schematic block diagram of system for reducing abnormal power consumption provided in an embodiment of the present invention
Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is the schematic block diagram of first acquisition unit in Fig. 5;
Fig. 7 is the schematic block diagram of the first judging unit in Fig. 5;
Fig. 8 is the schematic block diagram of administrative unit in Fig. 5;
Fig. 9 is another schematic block diagram of administrative unit in Fig. 5;
Figure 10 is the schematic block diagram of second acquisition unit in Fig. 5;
Figure 11 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
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, otherwise " one " of singulative, "one" and "the" are 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 any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, 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 It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal 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, such as one or more of following: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 performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs 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 is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Referring to Fig. 1, it is a kind of schematic flow diagram for the method for reducing abnormal power consumption provided in an embodiment of the present invention, is such as schemed Shown this method comprises the following steps S101-S104.
S101, obtain power consumption information of the application software in running background.
Application software refers to that application software does not use in operation and user the feelings of the application software actively in running background Condition.Under normal circumstances, power consumption of the application software in running background is all smaller.Also there is least a portion of application software on backstage During operation, substantial amounts of system operation resource is still taken, power consumption is very big.However, for a user, such power consumption is that do not have Necessary (because user does not use the application software actively), belongs to the behavior of abnormal power consumption.
Therefore, for this kind of abnormal power consumption behavior of discovery early, in the present embodiment, obtain application software and transported on backstage Power consumption information during row.Power consumption information includes power consumption and power consumption rate etc., and it embodies power consumption of the application software on backstage Behavior, if the power consumption and power consumption rate of application software are larger, show that the system operation resource that it takes is more, power consumption is different Often;Conversely, then showing that the system operation resource that it takes is less, power consumption is normal.
S102, judges whether the application software triggers default abnormal drain conditions.
In specific implementation, preset abnormal drain conditions, if power consumption behavior of the application software on backstage meet it is default Abnormal drain conditions, then it is assumed that application software is abnormal in backstage power consumption, and triggers the abnormal drain conditions.Abnormal drain conditions Can be empirically determined by those skilled in the art, such as can be set according to parameters such as the power consumption of application software and power consumption rates Abnormal drain conditions are put, the present invention does not do specific restriction to this.
S103, if judged result, which is the application software, triggers the abnormal drain conditions, described answer is reported to server The warning information of the abnormal drain conditions is triggered with software.
In specific implementation, if judgement is applied, software triggers abnormal drain conditions, and the application is reported to server Software triggers the warning information of abnormal drain conditions.
Accordingly, server collects the warning information that each terminal reports, and counts each application software and triggered in each terminal The average time of abnormal drain conditions.Server triggers the average secondary of abnormal drain conditions according to each application software in each terminal Number determines abnormal power consumption application software list.Specifically, if the average time of the abnormal drain conditions of application software triggering is more, Show that its abnormal power consumption behavior on backstage is more, therefore, it is determined that it is abnormal power consumption application software;If application software triggering is different The average time of normal drain conditions is less or does not have, then shows that its abnormal power consumption behavior on backstage is less or does not have, because This determines that it is normal power consumption application software.
S104, abnormal power consumption application software list is obtained from the server, and according to the abnormal power consumption application software The abnormal power consumption application software of list management terminal.
In specific implementation, terminal obtains abnormal power consumption application software list at server, afterwards according to the abnormal power consumption Application software list can determine that the abnormal power consumption application software in terminal, and tightened up monitoring and management are carried out to it, early Remind user its backstage power consumption behavior, realize to its abnormal power consumption behavior it is early find, early processing, so as to reduce The kwh loss of terminal, improve the cruising time of terminal.
In the present embodiment, power consumption information of the application software in running background is obtained by terminal, and in the consumption of application software Electricity is reported server when triggering default abnormal drain conditions;Each application software is analyzed in each terminal by server statistics The average time of the middle abnormal drain conditions of triggering simultaneously thereby determines that abnormal power consumption application software list;Terminal is according to the exception afterwards The abnormal power consumption application software of power consumption application software name single pair itself enters the tightened up monitoring and management of every trade, realizes different to its The early of normal power consumption behavior finds, early handled, and so as to reduce the kwh loss of terminal, improves the cruising time of terminal.
Referring to Fig. 2, it is a kind of schematic flow diagram of the method for reduction exception power consumption that another embodiment of the present invention provides, This method comprises the following steps S201-S207 as shown in the figure.
S201, if the application software in running background, obtains power consumption of the application software in the first preset duration Amount is used as the first power consumption.
In specific implementation, when application software is in running background, then counts its power consumption in the first preset duration and make For the first power consumption.First preset duration can be set according to specific demand, such as may be set to 10 minutes.Application software is Power consumption in one preset duration embodies its power consumption behavior on backstage, by application software in the first preset duration Power consumption is monitored, discovery its abnormal power consumption behavior that can be early.
S202, judges whether first power consumption is more than default first power consumption threshold value.
In specific implementation, one first power consumption threshold value is preset, the first power consumption threshold value is that application software is pre- first If the maximum of the normal power consumption of running background in duration.If the power consumption of application software running background in the first preset duration is big In the first power consumption threshold value, then judge that it is abnormal in backstage power consumption, namely trigger abnormal drain conditions.If application software is The power consumption of running background is not more than the first power consumption threshold value in one preset duration, then judges that it is normal in backstage power consumption, namely Abnormal drain conditions are not triggered.
S203, if judged result, which is the power consumption, is more than the first power consumption threshold value, described answer is reported to server The warning information of abnormal drain conditions is triggered with software.
In specific implementation, judge be applied software running background in the first preset duration power consumption be more than first Power consumption threshold value, namely during the application software abnormal drain conditions of triggering, terminal actively reports the application software to touch to server The warning information for sending out drain conditions abnormal.
Accordingly, server collects the warning information that each terminal reports, and counts each application software and triggered in each terminal The average time of abnormal drain conditions.Wherein, average time be application software trigger abnormal drain conditions total degree remove more than The application software is reported to trigger total number of terminals of abnormal drain conditions.Server triggers exception according to each application software in each terminal The average time of drain conditions determines abnormal power consumption application software list.Specifically, server triggers abnormal to each application software The average time of drain conditions carries out ranking, and using the application software of the preceding presetting digit capacity (such as first 20) in ranking as different Normal power consumption application software.
S204, abnormal power consumption application software list is obtained from the server, and according to the abnormal power consumption application software List determines the abnormal power consumption application software in terminal.
In specific implementation, terminal obtains abnormal power consumption application software list at server, afterwards according to the abnormal power consumption Application software list determines the abnormal power consumption application software of itself.Abnormal power consumption application software is the arch-criminal of terminal power consumption, therefore Need to carry out it stricter monitoring, to realize discovery early and handle its backstage exception power consumption behavior.
S205, if the abnormal power consumption application software in running background, obtains the abnormal power consumption application software second Power consumption in preset duration is as the second power consumption.
Wherein, second preset duration is shorter than first preset duration.
In specific implementation, when abnormal power consumption application software is in running background, its consumption in the second preset duration is counted Electricity is as the second power consumption.It should be noted that the second preset duration is shorter than the first preset duration, such as it may be set to 5 points Clock, such purpose are to be able to the abnormal power consumption behavior of the power consumption application software that notes abnormalities early.
S206, judges whether second power consumption is more than default second power consumption threshold value.
Wherein, the second power consumption threshold value is less than the first power consumption threshold value.
In specific implementation, one second power consumption threshold value is preset, the second power consumption threshold value is less than the first power consumption threshold Value.The abnormal power consumption behavior of abnormal power consumption application software is so enabled to be easier to be found.If abnormal power consumption application software The power consumption of running background is more than the second power consumption threshold value in the second preset duration, then judges that it is abnormal in backstage power consumption;If The power consumption of abnormal power consumption application software running background in the second preset duration is not more than the second power consumption threshold value, then judges it On backstage, power consumption is normal.
S207, if second power consumption is more than default second power consumption threshold value, prompt abnormal power consumption described in user should It is abnormal with software power consumption.
Backstage power consumption to abnormal power consumption application software is monitored, if abnormal power consumption application software is in the second preset duration The power consumption of interior running background is more than the second power consumption threshold value, then judges that it is abnormal in backstage power consumption, now prompts described in user Abnormal power consumption application software power consumption is abnormal, and the quick choosing for closing and retaining the abnormal power consumption application software is sent to user , choose whether to close the abnormal power consumption application software by the user.For example, " xxxx is (abnormal for transmittable pop-up message Power consumption application software) backstage power consumption exception, if cleaning ".
Referring to Fig. 3, it is a kind of schematic flow diagram of the method for reduction exception power consumption that further embodiment of this invention provides, This method comprises the following steps S301-S305 as shown in the figure.
S301, obtain power consumption information of the application software in running background.
Application software refers to that application software does not use in operation and user the feelings of the application software actively in running background Condition.Under normal circumstances, power consumption of the application software in running background is all smaller.Also there is least a portion of application software on backstage During operation, substantial amounts of system operation resource is still taken, power consumption is very big.However, for a user, such power consumption is that do not have Necessary (because user does not use the application software actively), belongs to the behavior of abnormal power consumption.
Therefore, for this kind of abnormal power consumption behavior of discovery early, in the present embodiment, obtain application software and transported on backstage Power consumption information during row.Power consumption information includes power consumption and power consumption rate etc., and it embodies power consumption of the application software on backstage Behavior, if the power consumption and power consumption rate of application software are larger, show that the system operation resource that it takes is more, power consumption is different Often;Conversely, then showing that the system operation resource that it takes is less, power consumption is normal.
S302, judges whether the application software triggers default abnormal drain conditions.
In specific implementation, preset abnormal drain conditions, if power consumption behavior of the application software on backstage meet it is default Abnormal drain conditions, then it is assumed that application software is abnormal in backstage power consumption, and triggers the abnormal drain conditions.Abnormal drain conditions Can be empirically determined by those skilled in the art, such as can be set according to parameters such as the power consumption of application software and power consumption rates Abnormal drain conditions are put, the present invention does not do specific restriction to this.
S303, if judged result, which is the application software, triggers the abnormal drain conditions, described answer is reported to server The warning information of the abnormal drain conditions is triggered with software.
In specific implementation, if judgement is applied, software triggers abnormal drain conditions, and the application is reported to server Software triggers the warning information of abnormal drain conditions.
Accordingly, server collects the warning information that each terminal reports, and counts each application software and triggered in each terminal The average time of abnormal drain conditions.Server triggers the average secondary of abnormal drain conditions according to each application software in each terminal Number determines abnormal power consumption application software list.Specifically, if the average time of the abnormal drain conditions of application software triggering is more, Show that its abnormal power consumption behavior on backstage is more, therefore, it is determined that it is abnormal power consumption application software;If application software triggering is different The average time of normal drain conditions is less or does not have, then shows that its abnormal power consumption behavior on backstage is less or does not have, because This determines that it is normal power consumption application software.
S304, periodically from abnormal power consumption application software list described in the server update, and if detected it is pre- under The application software of load, judge the application software of pre-download whether in the abnormal power consumption application software list.
In specific implementation, regular (such as 1 month) the update abnormal power consumption application software list at server of terminal.And During user's downloading application software, whether the application software for judging user's pre-download is abnormal power consumption application software, to realize exception The source control of power consumption application software.
S305, if the application software of the pre-download in the abnormal power consumption application software list, is prompted described in user The application software of pre-download is abnormal power consumption application software.
In specific implementation, if the application software of user's pre-download is (as different in the abnormal power consumption application software list Normal power consumption application software), then the application software for prompting user's pre-download is abnormal power consumption application software.For example, transmittable bullet Window message " xxxx (application software of user's pre-download) is abnormal power consumption application software ".Further, can also be carried to user For some non-abnormal power consumption application software with the application software same type of current pre-download, so as to realize abnormal power consumption application The source control of software.
Referring to Fig. 4, it is a kind of schematic block diagram for the system for reducing abnormal power consumption provided in an embodiment of the present invention, by scheming Understand, the system includes server 40 and multiple terminals 50;The terminal 50 includes first acquisition unit 51, judging unit 52nd, reporting unit 53, second acquisition unit 54 and administrative unit 55;The server includes statistical analysis unit 41, wherein Each unit is described below.
First acquisition unit 51, for obtaining power consumption information of the application software in running background.
First judging unit 52, for judging whether the application software triggers default abnormal drain conditions.
Reporting unit 53, if the judged result for the first judging unit 52 is the application software triggering abnormal consumption Electric condition, the warning information of the application software triggering abnormal drain conditions is reported to server.
Statistical analysis unit 41, the abnormal drain conditions are triggered in each terminal for counting each application software Average time, and the average time that the abnormal drain conditions are triggered according to each application software in each terminal determines Abnormal power consumption application software list.
Second acquisition unit 54, for obtaining abnormal power consumption application software list from the server.
Administrative unit 55, it is soft for being applied according to the abnormal power consumption of the abnormal power consumption application software list management terminal Part.
The embodiment of the present invention also provides a kind of terminal 50, and the terminal 50 is used to perform the method described in foregoing any embodiment Unit.Specifically, referring to Fig. 5, it is a kind of schematic block diagram of terminal 50 provided in an embodiment of the present invention.The end of the present embodiment End includes first acquisition unit 51, the first judging unit 52, reporting unit 53, second acquisition unit 54 and administrative unit 55. Each unit is described below.
First acquisition unit 51, for obtaining power consumption information of the application software in running background.
First judging unit 52, for judging whether the application software triggers default abnormal drain conditions.
Reporting unit 53, if the judged result for the first judging unit 52 is the application software triggering abnormal consumption Electric condition, the warning information of the application software triggering abnormal drain conditions is reported to server.
Second acquisition unit 54, for obtaining abnormal power consumption application software list from the server.
Wherein, the abnormal power consumption application software list be the server according to each application software at each end The average time determination of the abnormal drain conditions is triggered in end.
Administrative unit 55, it is soft for being applied according to the abnormal power consumption of the abnormal power consumption application software list management terminal Part.
Reference picture 6, in some embodiments, such as in the present embodiment, the first acquisition unit 51 includes the 3rd and obtains list Member 511.Wherein:
3rd acquiring unit 511, if the application software in running background, obtains the application software when first is default Power consumption in length is as the first power consumption.
Reference picture 7, in some embodiments, such as in the present embodiment, first judging unit 52 includes second and judges list First 521, first identifying unit 522 and the second identifying unit 523, wherein:
Second judging unit 521, for judging whether first power consumption is more than default first power consumption threshold value.
First identifying unit 522, if the judged result for the second judging unit 521 is more than described for the power consumption One power consumption threshold value, judge that the application software triggers the abnormal drain conditions.
Second identifying unit 523, if the judged result for the second judging unit 521 is the power consumption no more than described First power consumption threshold value, judge that the application software does not trigger the abnormal drain conditions.
Reference picture 8, in some embodiments, such as in the present embodiment, the administrative unit 55 includes determining unit 551, the Four acquiring units 552, the 3rd judging unit 553 and processing unit 554, wherein:
Determining unit 551, for determining the abnormal power consumption application in terminal according to the abnormal power consumption application software list Software.
4th acquiring unit 552, if for the abnormal power consumption application software in running background, the acquisition abnormal power consumption Power consumption of the application software in the second preset duration is as the second power consumption.It is pre- that second preset duration is shorter than described first If duration.
3rd judging unit 553, for judging whether second power consumption is more than default second power consumption threshold value.Its In, the second power consumption threshold value is less than the first power consumption threshold value
Processing unit 554, if for the 3rd judging unit 553 judged result for second power consumption be more than it is default Second power consumption threshold value, prompt abnormal power consumption application software power consumption described in user abnormal.
Referring to Fig. 9, in some embodiments, such as in the present embodiment, the administrative unit 55 includes the 4th judging unit 555 And Tip element 556, wherein:
4th judging unit 555, if the application software for detecting pre-download, judge that the application of the pre-download is soft Whether part is in the abnormal power consumption application software list;
Tip element 556, if for the 4th judging unit 555 judged result for the pre-download application software in institute State in abnormal power consumption application software list, the application software for prompting pre-download described in user is abnormal power consumption application software.
Referring to Figure 10, in some embodiments, such as in the present embodiment, the second acquisition unit 54 includes updating block 541, wherein:
Updating block 541, for periodically from abnormal power consumption application software list described in the server update.
It is the schematic block diagram of a kind of terminal 1100 that another embodiment of the present invention provides referring to Figure 11.This reality as depicted The terminal 1100 applied in example can include:One or more processors 1101;One or more input equipments 1102, one or more Individual output equipment 1103 and memory 1104.Above-mentioned processor 1101, input equipment 1102, output equipment 1103 and memory 1104 are connected by bus 1105.Memory 1102 is used to store computer program, and the computer program includes programmed instruction, Processor 1101 is used for the programmed instruction for performing the storage of memory 1102.Wherein, processor 1101 is arranged to described in calling Programmed instruction performs:
Obtain power consumption information of the application software in running background;Judge whether the application software triggers default exception Drain conditions;If judged result, which is the application software, triggers the abnormal drain conditions, report the application soft to server Part triggers the warning information of the abnormal drain conditions;From the abnormal power consumption application software list of server acquisition, and according to The abnormal power consumption application software of the abnormal power consumption application software list management terminal;Wherein, the abnormal power consumption application software List is that the server triggers the average secondary of the abnormal drain conditions according to each application software in each terminal What number determined.
In some embodiments, such as in the present embodiment, the processor 1101 is arranged to call described program instruction Perform:
If the application software in running background, obtains power consumption conduct of the application software in the first preset duration First power consumption.
In some embodiments, such as in the present embodiment, the processor 1101 is arranged to call described program instruction Perform:
Judge whether first power consumption is more than default first power consumption threshold value;If judged result is the power consumption More than the first power consumption threshold value, judge that the application software triggers the abnormal drain conditions;If judged result is described Power consumption is not more than the first power consumption threshold value, judges that the application software does not trigger the abnormal drain conditions.
In some embodiments, such as in the present embodiment, the processor 1101 is arranged to call described program instruction Perform:
The abnormal power consumption application software in terminal is determined according to the abnormal power consumption application software list;If the abnormal consumption Electric application software obtains power consumption of the abnormal power consumption application software in the second preset duration as second in running background Power consumption, second preset duration are shorter than first preset duration;It is default to judge whether second power consumption is more than Second power consumption threshold value;If second power consumption is more than default second power consumption threshold value, abnormal power consumption described in user is prompted Application software power consumption is abnormal.
In some embodiments, such as in the present embodiment, the processor 1101 is arranged to call described program instruction Perform:
If detecting the application software of pre-download, judge the application software of the pre-download whether in the abnormal power consumption In application software list;If the application software of the pre-download in the abnormal power consumption application software list, prompts user institute The application software for stating pre-download is abnormal power consumption application software.
In some embodiments, such as in the present embodiment, the processor 1101 is arranged to call described program instruction Perform:
Periodically from abnormal power consumption application software list described in the server update.
It should be appreciated that in embodiments of the present invention, alleged processor 1101 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processing Device can also be any conventional processor etc..
Input equipment 1102 can include Trackpad, fingerprint adopts sensor and (is used for the finger print information and fingerprint for gathering user Directional information), microphone etc., output equipment 1103 can include display (LCD etc.), loudspeaker etc..
The memory 1104 can include read-only storage and random access memory, and provide instruction to processor 1101 And data.The a part of of memory 1104 can also include nonvolatile RAM.For example, memory 1104 may be used also With the information of storage device type.
In the specific implementation, processor 1101, input equipment 1102, output equipment 1103 described in the embodiment of the present invention Implementation described in a kind of executable each embodiment for the method for reducing abnormal power consumption provided in an embodiment of the present invention, The implementation of terminal described by the executable embodiment of the present invention, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
Obtain power consumption information of the application software in running background;Judge whether the application software triggers default exception Drain conditions;If judged result, which is the application software, triggers the abnormal drain conditions, report the application soft to server Part triggers the warning information of the abnormal drain conditions;From the abnormal power consumption application software list of server acquisition, and according to The abnormal power consumption application software of the abnormal power consumption application software list management terminal;Wherein, the abnormal power consumption application software List is that the server triggers the average secondary of the abnormal drain conditions according to each application software in each terminal What number determined.
In some embodiments, such as in the present embodiment, described program instruction is also realized when being executed by processor:
If the application software in running background, obtains power consumption conduct of the application software in the first preset duration First power consumption.
In some embodiments, such as in the present embodiment, described program instruction is also realized when being executed by processor:
Judge whether first power consumption is more than default first power consumption threshold value;If judged result is the power consumption More than the first power consumption threshold value, judge that the application software triggers the abnormal drain conditions;If judged result is described Power consumption is not more than the first power consumption threshold value, judges that the application software does not trigger the abnormal drain conditions.
In some embodiments, such as in the present embodiment, described program instruction is also realized when being executed by processor:
The abnormal power consumption application software in terminal is determined according to the abnormal power consumption application software list;If the abnormal consumption Electric application software obtains power consumption of the abnormal power consumption application software in the second preset duration as second in running background Power consumption, second preset duration are shorter than first preset duration;It is default to judge whether second power consumption is more than Second power consumption threshold value;If second power consumption is more than default second power consumption threshold value, abnormal power consumption described in user is prompted Application software power consumption is abnormal.
In some embodiments, such as in the present embodiment, described program instruction is also realized when being executed by processor:
If detecting the application software of pre-download, judge the application software of the pre-download whether in the abnormal power consumption In application software list;If the application software of the pre-download in the abnormal power consumption application software list, prompts user institute The application software for stating pre-download is abnormal power consumption application software.
In some embodiments, such as in the present embodiment, described program instruction is also realized when being executed by processor:
Periodically from abnormal power consumption application software list described in the server update.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
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 Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, terminal and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, terminal and method, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or beg for The mutual coupling of opinion or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or unit Or communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, 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, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the 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 substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. method for reducing abnormal power consumption, it is characterised in that including:
    Obtain power consumption information of the application software in running background;
    Judge whether the application software triggers default abnormal drain conditions;
    If judged result, which is the application software, triggers the abnormal drain conditions, the application software is reported to trigger to server The warning information of the abnormal drain conditions;
    Abnormal power consumption application software list is obtained from the server, and it is whole according to the abnormal power consumption application software name menu manager The abnormal power consumption application software at end;Wherein, the abnormal power consumption application software list is the server according to each application What the average time that software triggers the abnormal drain conditions in each terminal determined.
  2. 2. according to the method for claim 1, it is characterised in that the power consumption letter for obtaining application software in running background Breath, including:
    If the application software in running background, obtains power consumption of the application software in the first preset duration as first Power consumption.
  3. 3. according to the method for claim 2, it is characterised in that described to judge whether the application software triggers default different Normal drain conditions, including:
    Judge whether first power consumption is more than default first power consumption threshold value;
    If judged result, which is the power consumption, is more than the first power consumption threshold value, judge that the application software triggers the exception Drain conditions;
    If judged result, which is the power consumption, is not more than the first power consumption threshold value, it is described to judge that the application software does not trigger Abnormal drain conditions.
  4. 4. according to the method for claim 3, it is characterised in that described according to the abnormal power consumption application software name menu manager The application software of terminal, including:
    The abnormal power consumption application software in terminal is determined according to the abnormal power consumption application software list;
    If the abnormal power consumption application software in running background, obtains the abnormal power consumption application software in the second preset duration Power consumption be shorter than first preset duration as the second power consumption, second preset duration;
    Judge whether second power consumption is more than default second power consumption threshold value, the second power consumption threshold value is less than described First power consumption threshold value;
    If second power consumption is more than the second power consumption threshold value, prompt abnormal power consumption application software power consumption described in user different Often.
  5. 5. according to the method for claim 1, it is characterised in that described according to the abnormal power consumption application software name menu manager The abnormal power consumption application software of terminal, including:
    If detecting the application software of pre-download, judge the application software of the pre-download whether in the abnormal power consumption application In software list;
    If the application software of the pre-download in the abnormal power consumption application software list, prompts answering for pre-download described in user It is abnormal power consumption application software with software.
  6. 6. according to the method for claim 1, it is characterised in that described to obtain abnormal power consumption application software from the server List includes:
    Periodically from abnormal power consumption application software list described in the server update.
  7. 7. a kind of system for reducing abnormal power consumption, it is characterised in that the system includes server and multiple terminals;The end End includes first acquisition unit, judging unit, reporting unit, second acquisition unit and administrative unit;The server includes Statistical analysis unit, wherein:
    The acquiring unit is used to obtain power consumption information of the application software in running background;
    The judging unit is used to judge whether the application software triggers default abnormal drain conditions;
    If it is that the application software triggers the abnormal drain conditions that the transmitting element, which is used for judged result, reported to server The application software triggers the warning information of the abnormal drain conditions;
    The statistical analysis unit triggers the flat of the abnormal drain conditions for counting each application software in each terminal Equal number, and the average time that the abnormal drain conditions are triggered according to each application software in each terminal determine it is different Normal power consumption application software list;
    The second acquisition unit is used to obtain abnormal power consumption application software list from the server;
    The administrative unit is used for the abnormal power consumption application software according to the abnormal power consumption application software list management terminal.
  8. 8. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-6 any claims Member.
  9. 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performed such as any one of claim 1-6 Described method.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-6.
CN201711041994.1A 2017-10-30 2017-10-30 A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption Withdrawn CN107861855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711041994.1A CN107861855A (en) 2017-10-30 2017-10-30 A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711041994.1A CN107861855A (en) 2017-10-30 2017-10-30 A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption

Publications (1)

Publication Number Publication Date
CN107861855A true CN107861855A (en) 2018-03-30

Family

ID=61697977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711041994.1A Withdrawn CN107861855A (en) 2017-10-30 2017-10-30 A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption

Country Status (1)

Country Link
CN (1) CN107861855A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563319A (en) * 2018-04-02 2018-09-21 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN109901692A (en) * 2019-03-04 2019-06-18 上海卓易科技股份有限公司 Execution method, apparatus, terminal and the storage medium of target application
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
WO2019218299A1 (en) * 2018-05-17 2019-11-21 华为技术有限公司 Power consumption anomaly prompting method, server, and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563319A (en) * 2018-04-02 2018-09-21 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
WO2019218299A1 (en) * 2018-05-17 2019-11-21 华为技术有限公司 Power consumption anomaly prompting method, server, and terminal
US11422605B2 (en) 2018-05-17 2022-08-23 Huawei Technologies Co., Ltd. Power consumption exception prompt method, server, and terminal
CN109901692A (en) * 2019-03-04 2019-06-18 上海卓易科技股份有限公司 Execution method, apparatus, terminal and the storage medium of target application
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
CN110134219B (en) * 2019-05-13 2024-03-19 深圳传音通讯有限公司 Application program background power consumption processing method and device

Similar Documents

Publication Publication Date Title
KR101195695B1 (en) Device that determines whether to launch an application locally or remotely as a webapp
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN107357673A (en) A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption
CN107528922A (en) A kind of information push method, terminal and computer-readable recording medium
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN108108216A (en) A kind of method, terminal and computer readable storage medium for managing message
CN107357718A (en) One kind structure method of testing and device
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN106933677A (en) System exception processing method and processing device
CN106406494B (en) A kind of method and terminal of processor scheduling
CN108304274A (en) A kind of method of information exchange, server and computer-readable medium
CN107734033A (en) A kind of method, terminal, system and computer-readable recording medium exempted from flow and download application program
CN107479806A (en) The method and terminal of a kind of changing interface
CN107843844A (en) A kind of method, terminal and computer-readable recording medium for calibrating charge value
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN108089970A (en) Predict method, terminal and the storage medium of remaining capacity up time
CN106534514A (en) Incoming call processing method and terminal
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN108712559A (en) A kind of disturbance-free method, system and terminal device
CN108092911A (en) A kind of method, terminal and computer-readable medium for managing data traffic
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN107515666A (en) A kind of data managing method and terminal
CN107993087A (en) A kind of data processing method, server and computer-readable medium
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180330

WW01 Invention patent application withdrawn after publication