CN103260224B - A kind of mobile terminal and its method for realizing refresh charge animation during charging - Google Patents

A kind of mobile terminal and its method for realizing refresh charge animation during charging Download PDF

Info

Publication number
CN103260224B
CN103260224B CN201210037120.XA CN201210037120A CN103260224B CN 103260224 B CN103260224 B CN 103260224B CN 201210037120 A CN201210037120 A CN 201210037120A CN 103260224 B CN103260224 B CN 103260224B
Authority
CN
China
Prior art keywords
mobile terminal
state
animation
sleep
charging
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.)
Expired - Fee Related
Application number
CN201210037120.XA
Other languages
Chinese (zh)
Other versions
CN103260224A (en
Inventor
周国坡
冉晓龙
张映俊
丁克忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210037120.XA priority Critical patent/CN103260224B/en
Publication of CN103260224A publication Critical patent/CN103260224A/en
Application granted granted Critical
Publication of CN103260224B publication Critical patent/CN103260224B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of mobile terminal and its when realizing charging refresh charge animation method, methods described includes:When reaching the length of one's sleep of setting, wake up in dormant mobile terminal, and charging electric paintbrush new state is identified to refresh beginning state;Refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state is refreshing completion status;When charging electric paintbrush new state is refreshing completion status and the mobile terminal is in idle condition, triggers the mobile terminal and enter sleep state.The mobile terminal includes:First state processing module, animation refresh module and the second status processing module.The method of the invention and terminal, can reduce power consumption, on the premise of shortening the charging interval, reduce the system resources consumption of refresh charge animation, accelerate charging rate, shorten the charging interval, improve the Consumer's Experience of product.

Description

A kind of mobile terminal and its method for realizing refresh charge animation during charging
Technical field
The present invention relates to communication technical field, more particularly to refresh charge animation when a kind of mobile terminal and its realization charging Method.
Background technology
With developing rapidly for time of cell-phone science and technology, the performance of communication terminal also more comes powerful, and the particularly 3G epoch arrive Come, the multimedia such as image, audio frequency, video also becomes the focus of mobile terminal support, but all very big consumption of these business Electricity, because the characteristics of mobile terminal, battery finite volume, under existing technical conditions, battery capacity is also limited, so as to bring The very short problem of mobile terminal use time, causes the mobile terminal must to charge daily, and battery is into mobile terminal popularization Maximum bottleneck, therefore quick charge becomes a considerable key point.
At present, in mobile terminal charging process, in order to accelerate charging rate, when charging, system can be made in sleep State, reduces system resources consumption, meanwhile, in order to improve Consumer's Experience, system needs the refresh charge animation of timing (for example: Prompting user charges).However, system sleep control is generally in mechanical floor, and refresh charge animation is typically by application layer GUI (Graphical User Interface, graphic user interface) is completed, it is difficult to Coordinated Communication, so refreshing animation is completed Moment point it is difficult hold, so as to cause following problem:If system enters sleep state before animation is completed, animation refreshes low In normal speed;If system does not enter into sleep state after the completion of animation, system resources consumption is increased.
The content of the invention
A kind of method of refresh charge animation when the present invention provides mobile terminal and its realizes charging, to solve existing skill The problem coordinated, cause to increase system resources consumption difficult between refresh charge animation and control system sleep in art.
Specifically, the method that the present invention provides refresh charge animation when a kind of mobile terminal is realized charging, including:
When reaching the length of one's sleep of setting, wake up in dormant mobile terminal, and it is new to identify charging electric paintbrush State is refreshing beginning state;
Refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state is refreshing completion status;
When charging electric paintbrush new state is refreshing completion status and the mobile terminal is in idle condition, triggering is described Mobile terminal enters sleep state.
Further, in the method for the invention, the charging that the length of one's sleep for setting is set as mobile terminal system Animation refresh interval.
Further, it is in the method for the invention, described to wake up in sleep state when reaching the length of one's sleep of setting Mobile terminal specifically include:
Timer is arranged and started, and when reaching the length of one's sleep that the timer is arranged, by timer interruption, is called out The awake mobile terminal.
Further, in the method for the invention, the mobile terminal is referred in idle condition:The mobile terminal fortune Row is to the power saving thread with lowest priority for pre-actuating.
Further, in the method for the invention, the refreshing mode of the charging animation includes:Using display screen drives line Cheng Jinhang display screen brush screens.
The present invention also provides a kind of mobile terminal, including:
First state processing module, for when reaching the length of one's sleep of setting, waking up in dormant movement eventually End, and charging electric paintbrush new state is identified to refresh beginning state;
Animation refresh module, for refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state is brush New completion status;
Second status processing module, at when charging electric paintbrush new state for refreshing completion status and the mobile terminal When idle condition, trigger the mobile terminal and enter sleep state.
Further, in mobile terminal of the present invention, the length of one's sleep set in the first state processing module as The charging electric of mobile terminal system setting draws refresh interval.
Further, in mobile terminal of the present invention, the first state processing module arranges and starts timer, And when reaching the length of one's sleep that the timer is arranged, by timer interruption, wake up the mobile terminal.
Further, in mobile terminal of the present invention, in second status processing module, mobile terminal is in the free time State is referred to:The running of mobile terminal is to the power saving thread with lowest priority for pre-actuating.
Further, in mobile terminal of the present invention, the animation refresh module is carried out using display screen drive thread Display screen brush screen realizes the refreshing of charging animation.
Compared with prior art, the present invention has the beneficial effect that:
The method of the invention and device, using mark animation Flushing status, realize charge when from first floor system sleep and Animation refreshing is consistent, and reduces the system resources consumption of refresh charge animation, accelerates charging rate, shortens the charging interval, carries The Consumer's Experience of high product.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is the method flow of refresh charge animation when a kind of mobile terminal that the embodiment of the present invention one is provided is realized charging Figure;
Fig. 2 is the method flow of refresh charge animation when a kind of mobile terminal that the embodiment of the present invention two is provided is realized charging Figure;
Fig. 3 is a kind of structured flowchart of mobile terminal that the embodiment of the present invention three is provided.
Specific 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 is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order to solve problems of the prior art, the present invention provides a kind of mobile terminal and its refreshes when realizing charging The method of charging animation, methods described make control system sleep procedure with the new process coordinating of control charging electric paintbrush alternately, Accelerate charging rate.
In order to clearly illustrate the present invention, technical scheme is entered in terms of method and apparatus embodiment two below Row is illustrated.
Embodiment one
The method that the embodiment of the present invention provides refresh charge animation when a kind of mobile terminal is realized charging, as shown in figure 1, bag Include:
Step S101, when reaching the length of one's sleep of setting, wake up in dormant mobile terminal, and identify charging Animation Flushing status are refreshing beginning state;Wherein, the charging electric paintbrush that the length of one's sleep for setting is set as terminal system It is new to be spaced.
Step S102, refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state completes shape to refresh State;
Step S103, idle condition is in refresh completion status and the mobile terminal when charging electric paintbrush new state When, trigger the mobile terminal and enter sleep state.
Embodiment two
A kind of preferred embodiment of the present embodiment for one methods described of embodiment, as shown in Fig. 2 the one of the present embodiment offer The method for planting refresh charge animation when mobile terminal is realized charging, including:
Step 1, one lowest priority thread of startup are power saving thread, according to real time operating system feature, when system is transported When row is to lowest priority thread, represent that system is idle;
Step 2, when mobile terminal system is idle and charging electric paintbrush new state to refresh completion status when, system is entered Sleep state;Wherein, sleep state refers to closing chip clock, closes no circuit power etc.;
Step 3:Timer is arranged and started, when reaching the length of one's sleep of setting, system is waken up by timer interruption, and Mark charging electric paintbrush new state is refreshing beginning state;Wherein, the length of one's sleep is the time interval that charging animation once refreshes;
Step 4:Refresh the charging animation of mobile terminal, and after animation refreshing is completed, identify charging electric paintbrush new state To refresh completion status, the system before animation refreshes that completes will not be slept;
In the step, the mode for carrying out display screen brush screen using display screen drive thread realizes the refreshing of charging animation;Separately Outward, it is preferable that step 3, realize the mark to charging electric paintbrush new state using display screen drive thread in 4.
Step 5:Charging process repeat step 2 arrives step 5, until charging complete;
From above-described embodiment one and technical scheme described in embodiment two, the method for the invention is charged by identifying Animation Flushing status so that mobile terminal is only after the completion of charging electric paintbrush is new and when mobile terminal is in idle condition, Into sleep state, that is to say, that before completing animation and refreshing, mobile terminal system will not be slept, so as to the existing skill of effectively solving Problem present in art, accelerates charging rate, shortens the charging interval, improves the Consumer's Experience of product.
Embodiment three
The present embodiment provides a kind of mobile terminal, as shown in figure 3, specifically including:
First state processing module 310, for when reaching the length of one's sleep of setting, waking up in dormant movement Terminal, and after mark charging electric paintbrush new state is to refresh beginning state, triggering animation refresh module 320;Wherein, setting The length of one's sleep is that the charging electric of mobile terminal system setting draws refresh interval;
Preferably, the first state processing module 310, arranges and starts timer, and in timer setting When the length of one's sleep reaches, by timer interruption, the mobile terminal is waken up.
Animation refresh module 320, for refresh charge animation, and after the completion of refreshing, identifies charging electric paintbrush new state To refresh completion status;
Preferably, animation refresh module 320, carries out display screen brush screen using display screen drive thread and realizes charging animation Refresh.
Second status processing module 330, for when charging electric paintbrush new state is for refreshing completion status and the movement is whole When end is in idle condition, triggers the mobile terminal and enter sleep state.
Wherein, mobile terminal is referred in idle condition:The running of mobile terminal is to pre-actuating with minimum excellent The power saving thread of first level.
The mobile terminal that the present embodiment is provided, using mark animation Flushing status, sleeps from first floor system when realizing charging Refresh with animation and be consistent, reduce the system resources consumption of refresh charge animation, accelerate charging rate, shorten the charging interval, Improve the Consumer's Experience of product.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of method of refresh charge animation when mobile terminal is realized charging, it is characterised in that include:
When reaching the length of one's sleep of setting, wake up in dormant mobile terminal, and identify charging electric paintbrush new state To refresh beginning state;
Refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state is refreshing completion status;
When charging electric paintbrush new state is refreshing completion status and the mobile terminal is in idle condition, the movement is triggered Terminal enters sleep state.
2. the method for claim 1, it is characterised in that what the length of one's sleep for setting was set as mobile terminal system Charging electric draws refresh interval.
3. method as claimed in claim 1 or 2, it is characterised in that described wake-up when reaching the length of one's sleep of setting is in Dormant mobile terminal is specifically included:
Timer is arranged and started, and when reaching the length of one's sleep that the timer is arranged, by timer interruption, wakes up institute State mobile terminal.
4. method as claimed in claim 1 or 2, it is characterised in that the mobile terminal is referred in idle condition:The shifting Dynamic terminal operating is to the power saving thread with lowest priority for pre-actuating.
5. method as claimed in claim 1 or 2, it is characterised in that the refreshing mode of the charging animation includes:Using display Screen drive thread carries out display screen brush screen.
6. a kind of mobile terminal, it is characterised in that include:
First state processing module, for when reaching the length of one's sleep of setting, waking up in dormant mobile terminal, and Mark charging electric paintbrush new state is refreshing beginning state;
Animation refresh module, for refresh charge animation, and after the completion of refreshing, mark charging electric paintbrush new state is to have refreshed Into state;
Second status processing module, for when charging electric paintbrush new state is for refreshing completion status and the mobile terminal is in sky During not busy state, trigger the mobile terminal and enter sleep state.
7. mobile terminal as claimed in claim 6, it is characterised in that during the sleep set in the first state processing module Between for mobile terminal system setting charging electric draw refresh interval.
8. mobile terminal as claimed in claims 6 or 7, it is characterised in that the first state processing module, arranges and starts Timer, and when reaching the length of one's sleep that the timer is arranged, by timer interruption, wake up the mobile terminal.
9. mobile terminal as claimed in claims 6 or 7, it is characterised in that mobile terminal in second status processing module Refer in idle condition:The running of mobile terminal is to the power saving thread with lowest priority for pre-actuating.
10. mobile terminal as claimed in claims 6 or 7, it is characterised in that the animation refresh module, is driven using display screen Moving-wire journey carries out the refreshing that display screen brush screen realizes charging animation.
CN201210037120.XA 2012-02-17 2012-02-17 A kind of mobile terminal and its method for realizing refresh charge animation during charging Expired - Fee Related CN103260224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210037120.XA CN103260224B (en) 2012-02-17 2012-02-17 A kind of mobile terminal and its method for realizing refresh charge animation during charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210037120.XA CN103260224B (en) 2012-02-17 2012-02-17 A kind of mobile terminal and its method for realizing refresh charge animation during charging

Publications (2)

Publication Number Publication Date
CN103260224A CN103260224A (en) 2013-08-21
CN103260224B true CN103260224B (en) 2017-04-05

Family

ID=48963857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210037120.XA Expired - Fee Related CN103260224B (en) 2012-02-17 2012-02-17 A kind of mobile terminal and its method for realizing refresh charge animation during charging

Country Status (1)

Country Link
CN (1) CN103260224B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660816B (en) * 2015-02-13 2018-09-25 青岛海信移动通信技术股份有限公司 A kind of method and mobile terminal of display reminding information
CN105826624B (en) * 2015-11-02 2019-01-15 维沃移动通信有限公司 The method, apparatus and terminal that a kind of pair of terminal charges
CN106126201B (en) * 2016-06-14 2020-01-21 青岛海信移动通信技术股份有限公司 Terminal charging method and device
CN106775545B (en) * 2017-02-10 2020-06-02 泰凌微电子(上海)有限公司 Method and device for updating node
CN111198743B (en) * 2020-01-15 2023-04-25 Oppo广东移动通信有限公司 Display method and device of charging animation, equipment and storage medium
CN113220351B (en) * 2021-05-11 2022-06-28 深圳掌酷软件有限公司 System for automatically switching charging animation based on charging state of intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131606A (en) * 2006-08-23 2008-02-27 乐金电子(昆山)电脑有限公司 Palm PC standby time guarantee method
CN101198131A (en) * 2008-01-09 2008-06-11 中兴通讯股份有限公司 Electricity-saving control method and system for mobile terminal
CN101827166A (en) * 2010-01-19 2010-09-08 青岛海信移动通信技术股份有限公司 Low-current alarming circuit and intelligent mobile communication equipment with same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425087B1 (en) * 1999-05-28 2002-07-23 Palm, Inc. Method and apparatus for using residual energy in a battery-powered computer
CN101192688A (en) * 2006-11-22 2008-06-04 乐金电子(昆山)电脑有限公司 Intelligent battery system power control method
CN101170775A (en) * 2007-11-15 2008-04-30 北京创毅视讯科技有限公司 A method and terminal for receiving emergent broadcast under dormancy status

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131606A (en) * 2006-08-23 2008-02-27 乐金电子(昆山)电脑有限公司 Palm PC standby time guarantee method
CN101198131A (en) * 2008-01-09 2008-06-11 中兴通讯股份有限公司 Electricity-saving control method and system for mobile terminal
CN101827166A (en) * 2010-01-19 2010-09-08 青岛海信移动通信技术股份有限公司 Low-current alarming circuit and intelligent mobile communication equipment with same

Also Published As

Publication number Publication date
CN103260224A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103260224B (en) A kind of mobile terminal and its method for realizing refresh charge animation during charging
CN103077015B (en) A kind of method of Dynamic controlling frame rate of game
CN108924913A (en) A kind of information sends, channel-monitoring processing method and processing device
CN107302789B (en) Method and system for improving battery endurance of android device
CN104166542A (en) Method and device for detecting electricity consumption of application
CN103823546B (en) Information control method and electronic equipment
CN105393209A (en) Display co-processing
CN106648025A (en) Always on display method and terminal
CN107809793A (en) The wake-up control method and device of intelligent terminal
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
CN104866063B (en) A kind of method and electronic equipment of information processing
CN103731547A (en) Display method for mobile communication terminal
WO2018072411A1 (en) Screen control method, device and terminal
CN102968174A (en) Deep sleep awakening method of android device
CN107493595A (en) A kind of low-power consumption safety certification device and control method
CN105867577A (en) Terminal awakening method and terminal
CN108885486A (en) Enhanced dynamic clock and voltage scaling(DCVS)Scheme
CN104023147B (en) A kind of method and system that make mobile terminal stablize dormancy
CN103974394A (en) Mobile terminal and power consumption control method thereof
CN107302627A (en) Improve method, mobile terminal and the storage device of mobile terminal endurance
CN103150246A (en) Electronic device and method for setting time of timer
CN109189201A (en) Condition control method, control circuit and the mobile terminal of processor
CN107589821A (en) A kind of time display method and intelligent watch
CN105592233A (en) Ink screen terminal, and optimization method and device thereof
CN107423300B (en) Terminal file processing method and device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170405

Termination date: 20220217