CN105975879A - Control method and device for displayed electric quantity of terminal - Google Patents
Control method and device for displayed electric quantity of terminal Download PDFInfo
- Publication number
- CN105975879A CN105975879A CN201610281204.6A CN201610281204A CN105975879A CN 105975879 A CN105975879 A CN 105975879A CN 201610281204 A CN201610281204 A CN 201610281204A CN 105975879 A CN105975879 A CN 105975879A
- Authority
- CN
- China
- Prior art keywords
- electricity
- terminal
- camouflage
- display
- instruction
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/81—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a control method and device for the displayed electric quantity of a terminal. The control method for the displayed electric quantity of the terminal comprises the following steps: entering an electric quantity camouflaging mode after reception of a first instruction input by a user; generating a power consumption camouflaging strategy according to the first instruction and a preset rule; and camouflaging the electric quantity of the terminal according to the power consumption camouflaging strategy. Through adoption of the control method and device in the embodiment of the invention, the terminal can display a false electric quantity according to the power consumption camouflaging strategy rather than display the electric quantity fixedly and rigidly according to an actual electric quantity, so that electric quantity camouflaging being more approximate to an actual condition can be performed. The user can input the instruction according to the intention of the user in order to determine the power consumption camouflaging strategy indirectly, and control the displayed electric quantity of the terminal according to the intention of the user, so that the autonomy and flexibility in terminal control of the user are enhanced, and the user experience is improved.
Description
Technical field
The present invention relates to electronic device field, particularly relate to the controlling party of a kind of terminal demonstration electricity
Method and device.
Background technology
Popular along with terminal price, notebook computer, smart mobile phone, PDA (Personal
Digital Assistant, personal digital assistant), PAD (panel computer) etc. come into
Huge numbers of families, terminal, in addition to undertaking most basic communication function, also provides a user with
Application in terms of a lot of amusements.These entertainment applications have huge captivation to child, usually
Making children indulge in wherein, no matter the dissuasion to the head of a family is ignored, until the electric quantity consumption of terminal
Till totally.
In order to prevent child wallow in terminal provide assorted entertainment applications, in prior art, family
Length can only be before being given to child by terminal, first opening timing shut-off function so that terminal arrives
Reach automatic shutdown after the time that user is predetermined, puppet take on terminal because electricity is not enough automatic shutdown
Phenomenon.But this camouflage is the most true to nature, it is easy to identified by child:
Firstly, since it is all normal that the electricity that terminal is before automatic shutdown shows, so,
Child is easy to the true electricity according to terminal demonstration and determines whether the shutdown of terminal is because electricity
Measure too low.
Then, the control mode of timing shutdown seems that comparison is stiff, this shutdown situation and terminal
The situation shut down because electricity is not enough is very different, such as, before terminal automatic shutdown,
User's electricity can't be pointed out too low as low electricity automatic shutdown.
Finally, if child often suffers from the phenomenon of timing shutdown when using terminal, will
Understand that this shutdown is only that the head of a family is in order to stop a kind of means of terminal that oneself use, not eventually
End breaks down or electricity is too low, and child is likely to again start shooting, and then proceedes to play.
Owing to, in prior art, the electricity of terminal being shown and can only enter according to the true electricity of terminal
OK, it is impossible to the most true to nature imitates the situation that terminal power is too low, so, cause passing through timed-shutoff
Machine controls child and terminal uses the mode effectiveness of time low.
Summary of the invention
The present invention provides control method and the device of a kind of terminal demonstration electricity, solves prior art
Middle terminal is because can only carrying out electricity according to true electricity and showing, thus causes cannot be carried out true to nature
Electricity camouflage technical problem.
For solve above-mentioned technical problem, the present invention by the following technical solutions:
A kind of control method of terminal demonstration electricity, including:
Control terminal after receiving the first instruction of user's input and enter electricity spoofing mode;
Power consumption camouflage strategy is generated according to preset rules according to described first instruction;
According to described power consumption camouflage strategy, the display electricity of described terminal is carried out camouflage process.
Further, also include:
When the display electricity after camouflage processes is less than predetermined threshold value, controls described terminal and enter low
Electric control state, under described low electric control state, described terminal cannot run the first application.
Further, also include:
When monitoring default recovery instruction under described low electric control state, control described terminal
Exit electricity spoofing mode.
Further, also include:
When monitoring charging signals under electricity spoofing mode, according to default charging camouflage strategy
Described terminal is shown, and electricity pretends and/or use to described terminal is controlled.
Further, described instruction according to described first generates power consumption camouflage plan according to preset rules
Slightly include:
Determine that described terminal enters electricity camouflage according to described first instruction and described preset rules
Initial display electricity during pattern and the depletion rate of described display electricity.
Further, described instruction according to described first determines described terminal with described preset rules
The depletion rate initially showing electricity and described display electricity when entering electricity spoofing mode
Mode include following any one:
When described first instruction include preset electricity, using described default electricity as described initially
Display electricity, using the true power consumption rate of described terminal as the depletion rate of described display electricity;
When described first instruction includes preset duration, estimate out described according to described preset duration
Initially show electricity, and determine according to described initial display electricity and described preset duration described aobvious
Show the depletion rate of electricity;
When described first instruction includes preset duration, true electricity current for described terminal is made
For described initial display electricity, determine institute according to described initial display electricity and described preset duration
State the depletion rate of display electricity;
When described first instruction includes presetting power consumption rate, by true electricity current for described terminal
Amount is as described initial display electricity, using described default power consumption rate as described display electricity
Depletion rate.
A kind of control device of terminal demonstration electricity, including:
First handover module, controls terminal after the first instruction receiving user's input and enters
Electricity spoofing mode;
Camouflage policy generation module, for generating consumption according to described first instruction according to preset rules
Electricity camouflage strategy;
Camouflage processing module, for entering the display electricity of terminal according to described power consumption camouflage strategy
Row camouflage processes.
Further, also include:
Low electric control module, when the display electricity after processing when camouflage is less than predetermined threshold value,
Control described terminal and enter low electric control state, under described low electric control state, described terminal
The first application cannot be run.
Further, described camouflage policy generation module includes:
Two-value determines module, for determining described according to described first instruction and described preset rules
The initial consumption speed showing electricity and described display electricity when terminal enters electricity spoofing mode
Degree.
Further, described two-value determine module include following any one:
First determines submodule, for including presetting electricity, by described when described first instruction
Default electricity is as described initial display electricity, using the true power consumption rate of described terminal as institute
State the depletion rate of display electricity;
Second determines submodule, for including preset duration, according to institute when described first instruction
State preset duration and estimate out described initial display electricity, and according to described initial display electricity and institute
State preset duration and determine the depletion rate of described display electricity;
3rd determines submodule, for including preset duration, by described when described first instruction
The current true electricity of terminal is as described initial display electricity, according to described initial display electricity
With the depletion rate that described preset duration determines described display electricity;
4th determines submodule, for including presetting power consumption rate when described first instruction, and will
The current true electricity of described terminal is as described initial display electricity, by described default power consumption speed
Spend the depletion rate as described display electricity.
The control method of the terminal demonstration electricity that the present invention provides and device, defeated when receiving user
Enter electricity spoofing mode after the first instruction entered, and generate according to the first instruction and preset rules
Power consumption camouflage strategy, is then carried out at camouflage the display electricity of terminal according to power consumption camouflage strategy
Reason, make terminal to the display no longer regular and rigid of electricity according to true electricity, but can root
According to the electricity of power consumption camouflage strategy display " false ", carry out the electricity closer to truth pseudo-
Dress.Make user can input instruction according to the wish of oneself, thus power consumption camouflage is determined indirectly
Strategy, and then according to the wish of oneself, the display electricity of terminal is controlled, add user
Autonomy and motility to terminal control, improves Consumer's Experience.
Accompanying drawing explanation
The flow process of the control method of the terminal demonstration electricity that Fig. 1 provides for the embodiment of the present invention one
Figure;
The one controlling device of the terminal demonstration electricity that Fig. 2 provides for the embodiment of the present invention three
Structural representation;
Fig. 3 is a kind of structural representation pretending policy generation module in Fig. 2;
Fig. 4 is a kind of structural representation that in Fig. 3, two-value determines module;
Fig. 5 is a kind of structural representation that in Fig. 3, two-value determines module;
The one controlling device of the terminal demonstration electricity that Fig. 6 provides for the embodiment of the present invention four
Structural representation;
The terminal demonstration electricity that Fig. 7 provides for the embodiment of the present invention four control device another
Plant structural representation;
The terminal demonstration electricity that Fig. 8 provides for the embodiment of the present invention four control device another
Plant structural representation;
Fig. 9 is a kind of structural representation that in Fig. 3, two-value determines module;
Figure 10 is a kind of structural representation that in Fig. 3, two-value determines module;
The control method flow chart of the terminal demonstration electricity that Figure 11 provides for the embodiment of the present invention five.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
Embodiment one:
The flow process of the control method of the terminal demonstration electricity that Fig. 1 provides for the embodiment of the present invention one
Figure, refer to Fig. 1, including following flow process:
S101, receive user input first instruction after control terminal enter electricity spoofing mode.
The purpose of electricity camouflage is the user to terminal, particularly child, prompting falseness
Information about power.Therefore, terminal exists with maximum difference under normal mode under electricity spoofing mode
In, in terminal, the electricity of display is not its true electricity, but the electricity after camouflage.
First instruction can be that user produces, example by triggering a certain terminal button or button
As, preset length in the terminal and can enter electricity spoofing mode by " volume+", or
The option of one " electricity spoofing mode ", this pattern and terminal can also be set in the terminal
Existing " silent mode ", " offline mode " etc. are similar, when user selects to enter " electricity puppet
Die-filling formula " time, can directly the pattern residing for terminal be switched over.
Due to existing terminal, such as mobile phone, when entering certain preset mode, can by with
Parameter under this pattern is configured by family, as user wants to make mobile phone enter " outdoor pattern ",
Then entering outdoor pattern " before, first to mobile phone incoming call volume under " outdoor pattern ",
The parameter such as incoming ring tone, display brightness is configured, and clicks on and confirms, thus cut after being provided with
Change to " outdoor pattern " after arranging.Therefore, it will be appreciated by those skilled in the art that
It is that under " electricity spoofing mode ", the various parameters of terminal can also be by User Defined, such as,
User can self-defined entrance electricity spoofing mode duration or enter electricity spoofing mode time
Initial display electricity etc..
S102, according to first instruction according to preset rules generate power consumption camouflage strategy.
After power consumption camouflage strategy is primarily to determine that terminal enters electricity spoofing mode, Mei Geshi
The display electricity carved should be how many, i.e. it needs to be determined that go out initially to show that electricity and entrance electricity are pseudo-
To the depletion rate showing electricity after die-filling formula.
In the present embodiment, proposition one generation power consumption camouflage strategy mode, in this way,
Just its display electricity can be pretended at the initial time of terminal entrance electricity spoofing mode
Process, i.e. initial display electricity is pretended.Such as, when in the first instruction of user's input
Including when presetting electricity, the default electricity that can comprise in instructing first is as initially showing electricity
Amount.Within the time subsequently, according to terminal real electric quantity consumption speed, display electricity is carried out
Consume, will terminal true power consumption rate as display electricity depletion rate.
Assuming that the current true electricity of terminal is 78%, user wishes that carrying out amusement child consumes
Can also there is the dump energy of 60% afterwards for himself carrying out normal communication, then user can be
Before entering electricity spoofing mode, just initial display electricity when entering electricity spoofing mode is set
It is set to 18%, in the case of then in electricity spoofing mode, the display electricity in each moment
Can be according to the user child under this pattern, electric quantity consumption situation actual to terminal is come really
Fixed, such as, within the time of 180s, child uses terminal to entertain, and makes terminal consume
The true electricity of 1%, then after entering electricity spoofing mode 3 minutes, the display electricity of terminal
Just should become 17%.In other words, this situation is equivalent to user and carries from true electricity
Take out a part of for entertainment for children, when this part of electricity will exhaust, terminal just place
In false " low electricity " state.
If not comprising default electricity in the first instruction, but comprising preset duration, such as user exists
When parameter under electricity spoofing mode is set, only it is provided with the time period entering electricity spoofing mode,
The control method of the terminal demonstration electricity so provided according to the present embodiment, can be according to the time period
Duration estimate out an initial display electricity, such as, the entrance electricity puppet that user sets is die-filling
The time period of formula is 20:00~20:30, then it is known that user to desire to enter into electricity puppet die-filling
During formula total a length of 30 minutes.According to the common service condition of this terminal, it may be determined that it is half years old
The power consumption of individual hour is about 12%, then just can be using 12% as initially showing electricity.When
So, in the mode estimating initial display electricity, the electricity estimating out might not be accurate,
It is to say, the electricity used in preset duration might not be exactly at the beginning of terminal is estimated out
Begin display electricity.But this can't affect user and child uses the control of terminal time, because of
For, the initial display electricity estimating out is only a show value, and terminal is in electricity puppet
The time of die-filling formula determines only in accordance with the preset duration in the first instruction, i.e. defeated according only to user
The time period entered determines, unrelated with the initial display electricity estimating out.
Such as, in the examples described above, when the time will arrive 20:30, terminal will be passed through
Voice message, or the battery icon of terminal is changed to the modes such as more eye-catching redness tell
Child's electricity is too low, even, when the time arrives 20:30, moreover it is possible to control terminal automatic shutdown.
Within this half an hour, if child only opens the junior application of power consumption, terminal consumption
Electricity be likely lower than 12%, if the power consumption of the application of child own is higher, or simultaneously
Open multiple application, then the electricity of terminal consumption may be far longer than 12%, but totally
For, child uses the time of terminal must be 30 minutes of user preset.
To sum up, there is no with the display electricity estimated due to the time of terminal entrance electricity spoofing mode
Association, so, when estimating initial display electricity, also it is not necessarily to according to the common consumption of terminal
Electricity situation is carried out, it might even be possible to arbitrarily determine an initial display electricity, but to press close to true
Truth condition, the initial display electricity estimated should be as far as possible less than the true electricity of terminal.
As to how determine the depletion rate of display electricity, the most how initially to show estimating out
Electricity is updated, and can the strategy of foundation have multiple, for example with the mode of mean consumption,
Assume initially to show that electricity is 12%, a length of 30 minutes of user preset value, then need per minute
Reduce 0.4%, it is assumed that it is 1% that terminal updates the minimum scale of display electricity, then entering
During 150s after electricity spoofing mode, the display electricity of terminal is updated to 11%.Same,
Non-average consumption ways can also be used, such as, in advance to the power consumption of each application in terminal
Situation is estimated, and determines that the power consumption grade of each application is the most high, medium and low, when terminal is opened
When opening the application during a power consumption grade is, the amplitude that display electricity reduces is less, when terminal is opened
The application power consumption grade opened for height, display electricity reduce amplitude bigger, although this non-averagely
The mode consumed is complex, but its analog electrical energy consumption process is the most true to nature.
In the middle of the mode that above two determines power consumption camouflage strategy, directly inputting initial display
In the mode of electricity, the follow-up renewal process to terminal demonstration electricity is the simplest, the most also side
Just user's control to dump energy, it is adaptable to user needs to ensure after child uses terminal,
Himself can also normally use the situation of terminal.And the first instruction comprises the mode of preset duration,
Can facilitate user that child uses the time of terminal carry out accurately control, thus allow users to
Terminal is given child relievedly use, it is not necessary to worry that child uses mobile terminal to regarding for a long time
Power has undesirable effect, and then can alleviate the burden of user, effectively promotes Consumer's Experience.
Beyond all doubt, when user makes terminal enter by triggering a certain terminal button or button
During electricity spoofing mode, the most self-defined preset duration of user or default electricity, then this
In the case of, terminal enters the parameters of electricity spoofing mode and can set in default in advance,
Such as, terminal acquiescence enter the time period of electricity spoofing mode be current time to 30 minutes it
After, then when user the morning 11:40 enter electricity spoofing mode by long by " volume+"
Time, the initial display electricity 12% estimated out can be shown by terminal, and at 11:40~12:10
Time in this " electricity " of 12% is carried out progressively " consumption ", until 12:10 display is electric
Amount is 0, then controls terminal and enters off-mode.
Same, the mode of above-mentioned default parameters is applicable to all not carry out that parameter is self-defined just to be entered
Enter the situation of electricity spoofing mode, be not limited in entering electricity by end entity button and pretend
This scene of pattern.
S103, according to power consumption camouflage strategy, the display electricity of terminal is carried out camouflage process.
After obtaining power consumption camouflage strategy, in the time subsequently, plan can be pretended according to power consumption
The slightly display electricity to terminal carries out camouflage process, such as, instructs, according to first, the puppet determined
Dress strategy is: initial display electricity is 17%, and the depletion rate of display electricity is per minute 0.5%,
Then after the 120s after entering terminal, pretend to be processed as 16% by the display electricity of terminal,
After 32nd minute terminates, display electricity is 1%.
Under electricity spoofing mode, the display electricity of terminal mainly aims at and reaches to allow user obtain
Get the effect of deceptive information, so, under electricity spoofing mode, it should avoid allowing making as far as possible
User gets real information about power.In the middle of a kind of preferred exemplary of the present embodiment, permissible
Cover with the display icon of terminal power after camouflage or replace the display icon of true electricity.Meanwhile,
In order to after making camouflage, the display mode of terminal power keeps consistent with the display of true electricity as far as possible,
The phase so the shape of display icon and true electricity icon after Wei Zhuan, size, color should be tried one's best
With.
It addition, sometimes, user can't specially close the display electricity of injection terminal, example
As, when user plays the game of terminal absorbedly, he can't notice current electricity
Amount number.So, in order to allow user need not the pass undue to terminal power information inputs
Note, it becomes possible to getting false information about power intuitively, the present embodiment also provides for one and preferably shows
Example: when the terminal power after camouflage is less than preset value, also can eject corresponding information and carry
Show that electricity is too low.The information ejected can be Word message or characterize the icon that electricity is too low.
Owing to Word message may be familiar with or sensitive by child not, so, further, also may be used
With while popup text information, voice messaging is used to carry out synchronizing prompting.If bullet
Go out is icon information, such as one battery icon that will exhaust, in order to eye-catching, and can be by
This battery icon amplifies, and such as covers whole display screen, the color of icon changes to tool simultaneously
There is the redness of warning function.It addition, ejection icon information is pointed out when, it is also possible to
Synchronization carries out voice message or plays caution sound.
Beyond all doubt, child is used the time of terminal to enter by camouflage terminal power by user
Row control is not necessarily to terminal entrance off-mode and could realize, for example it is assumed that terminal power
The when of less than 3%, the electricity figure rotating savings of display becomes red, and the head of a family can arrange with child,
Just stopping using terminal when electricity icon becomes redness when, this way is in some scenarios
Also it is feasible.
In the present embodiment, the first instruction and preset rules according to user's input generate power consumption puppet
Dress strategy, thus according to power consumption camouflage strategy, the display electricity of terminal is carried out camouflage process, make
Enter the terminal after electricity spoofing mode to carry out " disappearing to camouflage electricity according to power consumption camouflage strategy
Consumption ", allow the user under electricity spoofing mode, such as child get the electricity of falseness and show
Information, reaches to control child and uses the purpose of terminal time, and then the burden of reduction user, carry
High Consumer's Experience.
Embodiment two:
The present embodiment is still for the control method proposition of terminal demonstration electricity, and first embodiment
Except for the difference that, the power consumption camouflage strategy generated in the present embodiment is different.
In the first embodiment, terminal is that the initial quantity of electricity entrance electricity puppet with a camouflage is die-filling
Formula, this mode is referred to as " initially pretending mode " by us.But in the present embodiment, enter
The when of entering electricity spoofing mode, can enter with real electricity, that is, directly will be true
Electricity as enter electricity spoofing mode time initially show electricity.Simply in process subsequently
In the middle of, with the power consumption rate after camouflage, the electricity of terminal is consumed, i.e. with one with true
The display electricity of terminal is carried out " disappearing by the display electric quantity consumption speed that real electric quantity consumption speed is different
Consumption ".This camouflage mode is " middle camouflage mode ".
The first instruction and preset rules that the depletion rate of display electricity inputs according to user determine,
Such as, when the first instruction comprises the preset duration of user's input, can be by present terminal
True electricity, as initially showing electricity, then obtains showing the consumption of electricity according to below equation
Speed:
The depletion rate of display electricity=initially show electricity/preset duration;
It is understood that preset duration is necessarily less than terminal, currently true electricity is actual can make
With the time, say, that the depletion rate of display electricity have to be larger than terminal real power consumption speed
Degree.
In the middle of another example of the present invention, when the first instruction directly comprises default consumption
During electricity speed, can directly parse the default power consumption rate consumption as display electricity of user
Speed, same, default power consumption rate have to be larger than the real power consumption rate of terminal.
According to the camouflage mode in embodiment one, if user is controlled by same mode
Child processed uses the time of terminal, then be likely to terminal when entering electricity spoofing mode each time
Initial display electricity the most identical, this may result in child and perceives electricity camouflage.Such as,
User wishes that child just stops using after using the electricity of 10% every time, then terminal is entered every time
The initial display electricity entering electricity spoofing mode is all 10%.And according to terminal real power consumption feelings
From the point of view of condition, occur that the probability of this situation is very little, so, the situation of simulation can " be lost
Very ".Certainly, in initial camouflage mode, determine that the scheme of initial display electricity also has additionally
One, i.e. according to preset duration determine terminal enter electricity spoofing mode initially show electricity,
And suppose that the initial display electricity estimated out according to preset duration is not very accurate, but due to
One terminal is substantially relatively average, so also resulting in terminal in the power consumption level of different time points
The initial display electricity every time entering electricity spoofing mode is very nearly the same.So in order to ensure every time
Initial display electricity closer to true horizon, use " middle camouflage mode " that electricity is entered
Comprehend at row camouflage and seem the most true to nature, because this camouflage is by increasing disappearing of display electricity
Consumption speed so that the display electricity of terminal is quickly being consumed virtually, thus be more difficult to by
Child discovers.
Under electricity spoofing mode, if the display electricity of terminal less than the first preset value, start into
The relevant prompting that row electricity is too low, it is preferable that when the camouflage electricity of terminal is less than the first preset value
Afterwards, the most just carry out the prompting of low electricity, such as, in the present embodiment,
First preset value of mobile phone is set to 3%, when, after camouflage, the display electricity of mobile phone is low
In 3% time, just every 1 minute display " mobile phone electricity is too low, will automatic shutdown " literary composition
Word information, or show the icon characterizing low electricity on a display screen.Preferably, show when mobile phone
The when that the electricity shown being less than the second preset value, such as when showing electricity less than 1%, it is also possible to
Show the information of low electricity always, or play information of voice prompt always.First presets
The size of value and the second preset value can be arranged voluntarily by user.
In the middle of a kind of preferred exemplary that the present invention provides, the display electricity after camouflage processes is low
When predetermined threshold value, control terminal and enter low electric control state.Under low electric control state, eventually
End cannot run the first application, and the first application can be the preassigned application of user, such as,
User is set in advance under low electric control state, and terminal cannot run " the fruit person of bearing ", " indignation
Bird " etc. game.Preferably, the first application can also be all application of terminal, at this moment
Waiting, low electric control state can also be the off-mode of terminal, when low electric control state is shutdown
During state, the first application includes all of application of terminal.In the present invention, predetermined threshold value is big
Little can also be arranged voluntarily by user, it is to be appreciated that predetermined threshold value should be preset less than first
Value.
In the middle of the preferable embodiment of one, after terminal enters low electric control state, it is necessary to
Terminal could be controlled when monitoring default recovery instruction and exit electricity spoofing mode.Assume low electricity
Terminal under controlled state simply can not run some application program that user specifies, and does not enter
Enter off-mode, then default recovery instruction can be the information that specifically inputs, and such as, uses
The head of a household presses " volume-" key can exit electricity spoofing mode.When low electric control state is shutdown
State, then default recovers the number of times that instruction can be the start preset, as, it is necessary to prison
Measure user and have attempted to 3 starts, until terminal the 4th attempts just allowing the when of start
Terminal is switched to normal mode, and normally shows dump energy, beyond all doubt, 3 times
Start all should be failed.Assume that user, the true electricity of mobile phone is 50% when, presets with 10%
Initial display electricity enter electricity spoofing mode, when showing electricity less than 0.1%, control
Mobile phone enters low electric control state, makes off-mode.After mobile phone shutdown, child may
The start carrying out 1~2 is attempted, and can continue to use mobile phone to entertain with expectation.But because
User is provided with after the 4th starting-up signal have to being detected in advance, and mobile phone just can be made normal
Start, so when child attempts obtaining that " mobile phone electricity is too low, it is impossible to just in 1~2 starts
Normally opened machine!" information after, he may will really think that mobile phone electricity is too low, thus
Abandon utilizing mobile phone to carry out the idea played or surf the Net.
After preventing terminal from entering electricity spoofing mode, child attempts being charged terminal
So that the situation extending the use time occurs.The present embodiment also provides for such scheme: work as terminal
After monitoring the charging signals to terminal when being in electricity spoofing mode, pseudo-according to default charging
The display electricity of terminal is pretended by dress strategy, such as, make the increasing degree of terminal demonstration electricity
Less than actual charging rate, build the effect of terminal " charging rate is slow ".Further
Ground, the display screen display that can control terminal characterizes the information that charging is abnormal.Such as, directly show
Show that " charging is abnormal!" or " charge unsuccessfully!" certainly, it will be appreciated by those skilled in the art that,
Terminal is actually in normal charging condition.Preferably, when terminal, to be in electricity puppet die-filling
After monitoring the charging signals to terminal during formula, it is also possible to determine whether whether user is continuing
Terminal is used, without using signal, then can not show that sign is charged unsuccessfully
Information, simply controls terminal and shows the feature that charging rate is slower, such as, make camouflage electricity
Growth rate is less than real charging rate.If be detected that after to the use signal of terminal, then
Display characterizes the information that charging is failed, and the use to terminal simultaneously is controlled, and such as, makes end
End cannot run some program, or directly controls terminal entrance off-mode.
Embodiment three:
The present embodiment provides the control device of a kind of terminal demonstration electricity, above-mentioned enforcement example one He
The control method of the two terminal demonstration electricity provided can apply to the terminal that the present embodiment provides
The control device of display electricity, refer to Fig. 2:
The control device 2 of terminal demonstration electricity includes that the first handover module 21, camouflage strategy are raw
Become module 22 and camouflage processing module 23.
First handover module 21 controls terminal after the first instruction receiving user's input and enters
Enter electricity spoofing mode.
The purpose of electricity camouflage is the user to terminal, particularly child, prompting falseness
Information about power.Therefore, after the switching of the first handover module 21, terminal is pseudo-at electricity
The difference of die-filling formula and normal mode maximum is, in terminal, the electricity of display is not that it is true
Electricity, but the electricity after camouflage.
First instruction can be that user produces, example by triggering a certain terminal button or button
As, preset length in the terminal and can enter electricity spoofing mode by " volume+", or
The option of one " electricity spoofing mode ", this pattern and terminal can also be set in the terminal
Existing " silent mode ", " offline mode " etc. are similar, when user selects to enter " electricity puppet
Die-filling formula " time, can directly the pattern residing for terminal be switched over.
Due to existing terminal, such as mobile phone, when entering certain preset mode, can by with
Parameter under this pattern is configured by family, as user wants to make mobile phone enter " outdoor pattern ",
Then entering outdoor pattern " before, first to mobile phone incoming call volume under " outdoor pattern ",
The parameter such as incoming ring tone, display brightness is configured, and clicks on and confirms, thus cut after being provided with
Change to " outdoor pattern " after arranging.Therefore, it will be appreciated by those skilled in the art that
It is that, before the first handover module 21 controls terminal entrance electricity spoofing mode, user can also
Carrying out self-defined to the various parameters of terminal under electricity spoofing mode, such as, user can make by oneself
Justice enter electricity spoofing mode duration or enter electricity spoofing mode time initially show electricity
Amount etc..
Camouflage policy generation module 22 can generate power consumption according to the first instruction according to preset rules
Camouflage strategy.After power consumption camouflage strategy is primarily to determine that terminal enters electricity spoofing mode,
The display electricity in each moment should be how many, so, as it is shown on figure 3, camouflage strategy generating
Module 22 includes that two-value determines module 221, and two-value determines that module 221 is initial for determining
To the depletion rate showing electricity after display electricity and entrance electricity spoofing mode.
In the present embodiment, the initial time of electricity spoofing mode can be entered just to it in terminal
Display electricity carries out camouflage process, i.e. pretends initial display electricity.As shown in Figure 4,
Two-value determines that module 221 includes that first determines submodule 2211, when the first finger of user's input
When order includes presetting electricity, first determines that submodule 2211 can comprise in instructing first
Default electricity as initially showing electricity.Within the time subsequently, the most electric according to terminal
Display electricity is consumed by amount depletion rate, will the true power consumption rate of terminal as display
The depletion rate of electricity.
Assuming that the current true electricity of terminal is 78%, user wishes that carrying out amusement child consumes
The dump energy that can also have 60% afterwards supplies himself to carry out normal communication, then can be in terminal
Enter before electricity spoofing mode, determined that submodule 2211 inputs according to user by first the
Initial display electricity when entering electricity spoofing mode is set to 18% by one user instruction, with
After be in electricity spoofing mode in the case of, the display electricity in each moment can be according to this pattern
Under user child, electric quantity consumption situation actual to terminal determines.Such as, exist
In the time of 180s, child uses terminal to entertain, and makes terminal consume the true electricity of 1%,
So after entering electricity spoofing mode 3 minutes, the display electricity of terminal just should become 17%.
In other words, this situation is equivalent to user and extracts a part from true electricity for child
Amusement uses, and when this part of electricity will exhaust, terminal is at " the low electricity " of falseness
State.
Such as Fig. 5, two-value determines that module 221 includes that second determines submodule 2212, when first refers to
Order does not comprise default electricity, but when comprising preset duration, such as user is arranging electricity puppet
During parameter under die-filling formula, only it is provided with the time period entering electricity spoofing mode, then second
Determine that submodule 2212 can estimate out an initial display electricity according to the duration of this time period,
Such as, the time period entering electricity spoofing mode that user sets is as 20:00~20:30, then
It is known that when user desires to enter into electricity spoofing mode total a length of 30 minutes.According to this eventually
Hold common service condition, it may be determined that the power consumption of its half an hour is about 12%, then the
Two determine that submodule 2212 just can be using 12% as initially showing electricity.Certainly, second is true
The initial display electricity that stator modules 2212 is estimated might not be accurate, say, that in advance
If the electricity used in duration second might not determine that submodule 2212 is estimated out
Initially show electricity.But this can't affect user and child uses the control of terminal time,
Because second determines that the initial display electricity that submodule 2212 is estimated out is only one and shows
Indicating value, and terminal is in the time of electricity spoofing mode only in accordance with the preset duration in the first instruction
Determine, i.e. according only to user input time period determine, with estimate out initially show electricity
Measure unrelated.
Such as, in the examples described above, when the time will arrive 20:30, terminal will be passed through
Voice message, or the battery icon of terminal is changed to the modes such as more eye-catching redness tell
Child's electricity is too low, even, when the time arrives 20:30, moreover it is possible to control terminal automatic shutdown.
Within this half an hour, if child only opens the junior application of power consumption, terminal consumption
Electricity be likely lower than 12%, if the power consumption of the application of child own is higher, or simultaneously
Open multiple application, then the electricity of terminal consumption may be far longer than 12%, but totally
For, child uses the time of terminal must be 30 minutes of user preset.
To sum up, there is no with the display electricity estimated due to the time of terminal entrance electricity spoofing mode
Association, so, second determines when submodule 2212 estimates initial display electricity, also and differ
Surely to carry out according to the common power consumption condition of terminal.Second determines that submodule 2212 is the most permissible
Arbitrarily determining an initial display electricity, but to press close to truth, that estimates is initial aobvious
Show that electricity should be as far as possible less than the true electricity of terminal.
Determining how submodule 2212 determines the depletion rate of display electricity as second, it can
To carry out according to multiple strategy, for example with the mode of mean consumption, it is assumed that initially show electricity
It is 12%, a length of 30 minutes of user preset value, then second determines that submodule 2212 determines often
Minute needs reduce 0.4%, it is assumed that it is 1% that terminal updates the minimum scale of display electricity, then
When entering the 150s after electricity spoofing mode, camouflage processing module 23 is by the display electricity of terminal
Amount is updated to 11%.Same, it is also possible to use non-average consumption ways, such as, in advance
The power consumption condition of each application in terminal is estimated, determines the power consumption grade of each application respectively
For high, medium and low, when terminal opens the application during a power consumption grade is, display electricity subtracts
Little amplitude is less, and the application power consumption grade opened when terminal is high, the width that display electricity reduces
Spend bigger, although the mode of this non-mean consumption is complex, but its analog electrical energy consumes
Process is the most true to nature.
Determining in the middle of module 221 in above two two-value, first determines that submodule 2211 generates
Camouflage strategy can make the follow-up renewal process to terminal demonstration electricity of camouflage processing module 23
The simplest, it is also convenient for user's control to dump energy, it is adaptable to user needs to ensure simultaneously
After child uses terminal, himself can also normally use the situation of terminal.And second determines
The power consumption camouflage strategy that submodule 2212 generates, it is possible to facilitate user that child is used terminal
Time is carried out accurately control, thus allows users to that terminal is given child relievedly and use, no
Must worry that child uses mobile terminal to have undesirable effect vision for a long time, and then can alleviate
The burden of user, effectively promotes Consumer's Experience.
Beyond all doubt, when user makes terminal enter by triggering a certain terminal button or button
During electricity spoofing mode, the most self-defined preset duration of user or default electricity, then this
In the case of, terminal enters the parameters of electricity spoofing mode and can set in default in advance,
Such as, terminal acquiescence enter the time period of electricity spoofing mode be current time to 30 minutes it
After, then when user the morning 11:40 enter electricity spoofing mode by long by " volume+"
Time, the initial display electricity 12% estimated out can be shown by terminal, and at 11:40~12:10
Time in this " electricity " of 12% is carried out progressively " consumption ", until 12:10 display is electric
Amount is 0, then controls terminal and enters off-mode.
Same, the mode of above-mentioned default parameters is applicable to all not carry out that parameter is self-defined just to be entered
Enter the situation of electricity spoofing mode, be not limited in entering electricity by end entity button and pretend
This scene of pattern.
After obtaining power consumption camouflage strategy, camouflage processing module 23 needs to pretend plan according to power consumption
Slightly the display electricity of terminal is carried out camouflage process.Such as, submodule 2212 is determined when second
The camouflage strategy determined is: initial display electricity is 17%, and the depletion rate of display electricity is
Per minute 0.5%, then, after the 120s after entering terminal, camouflage processing module 23 is by terminal
Display electricity camouflage be processed as 16%, the 32nd minute terminate after, pretend processing module 23
The electricity controlling terminal demonstration is 1%.
Under electricity spoofing mode, the display electricity of terminal mainly aims at and reaches to allow user obtain
Get the effect of deceptive information, so, under electricity spoofing mode, it should avoid allowing making as far as possible
User gets real information about power.In the middle of a kind of preferred exemplary of the present embodiment, permissible
Cover with the display icon of terminal power after camouflage or replace the display icon of true electricity.Meanwhile,
In order to after making camouflage, the display mode of terminal power keeps consistent with the display of true electricity as far as possible,
The phase so the shape of display icon and true electricity icon after Wei Zhuan, size, color should be tried one's best
With.
It addition, sometimes, user can't specially close the display electricity of injection terminal, example
As, when user plays the game of terminal absorbedly, he can't notice current electricity
Amount number.So, in order to allow user need not the pass undue to terminal power information inputs
Note, it becomes possible to get false information about power intuitively, the present embodiment also provides for preferred exemplary:
When the terminal power after camouflage is less than preset value, corresponding information prompting electricity also can be ejected
Measure too low.The information ejected can be Word message or characterize the icon that electricity is too low.By
Word message may be familiar with or sensitive not in child, so, further, it is also possible to
While popup text information, voice messaging is used to carry out synchronizing prompting.If ejected
Be icon information, such as one battery icon that will exhaust, in order to eye-catching, can will should
Battery icon amplifies, and such as covers whole display screen, changes to the color of icon to have simultaneously
The redness of warning function.It addition, ejection icon information is pointed out when, it is also possible to
Step carries out voice message or plays caution sound.
Beyond all doubt, child is used the time of terminal to enter by camouflage terminal power by user
Row control is not necessarily to terminal entrance off-mode and could realize, for example it is assumed that terminal power
The when of less than 3%, the electricity figure rotating savings of display becomes red, and the head of a family can arrange with child,
Just stopping using terminal when electricity icon becomes redness when, this way is in some scenarios
Also it is feasible.
In the present embodiment, the first instruction that camouflage policy generation module 22 inputs according to user
Power consumption camouflage strategy is generated, so that camouflage processing module 23 is pseudo-according to power consumption with preset rules
Dress strategy carries out camouflage process to the display electricity of terminal, makes the end after entrance electricity spoofing mode
Hold, according to power consumption camouflage strategy, camouflage electricity is carried out " consumption ", allow under electricity spoofing mode
User, such as child get the electricity display information of falseness, reach to control child and use end
The purpose of end time, and then reduce the burden of user, improve Consumer's Experience.
Embodiment four:
The present embodiment proposes the control of terminal demonstration electricity different in a kind of and the 3rd embodiment
Device, refer to Fig. 6:
The control device 2 of terminal demonstration electricity includes that the first handover module 21, camouflage strategy are raw
Become module 22 and pretend beyond processing module 23, also include low electricity reminding module 24.
Under electricity spoofing mode, if the display electricity of terminal is less than the first preset value, low electricity carries
Show that module 24 begins to carry out the relevant prompting that electricity is too low, it is preferable that when the camouflage of terminal
Electricity is less than after the first preset value, and low electricity reminding module 24 is often the most just carried out
The prompting of low electricity, such as, in the present embodiment, is set to the first preset value of mobile phone
3%, when, after camouflage, when the display electricity of mobile phone is less than 3%, low electricity reminding module 24 is just
Every 1 minute display " mobile phone electricity is too low, will automatic shutdown " Word message, or
Show the icon characterizing low electricity on a display screen.The electricity shown when mobile phone is preset less than second
The when of value, such as when showing electricity less than 1%, low electricity reminding module 24 can also show always
Show the information of low electricity, or play information of voice prompt always.First preset value and
The size of two preset values can be arranged voluntarily by user.
In the middle of a kind of preferred exemplary that the present invention provides, refer to Fig. 7, terminal demonstration electricity
Control device 2 include at the first handover module 21, camouflage policy generation module 22 and camouflage
Reason module 23, low electricity reminding module 24 and low electric control module the 25, second handover module 26.
When the display electricity after camouflage processes is less than predetermined threshold value, low electric control module 25 is controlled
Terminal processed enters low electric control state.Under low electric control state, terminal cannot run first should
With, the first application can be the preassigned application of user, and such as, user presets,
Under low electric control state, terminal cannot run the game such as " the fruit person of bearing ", " bird of indignation ".
Preferably, the first application can also be all application of terminal, at this time, low electric control module
25 can also control terminal enters off-mode, directly using the off-mode of terminal as low electricity
Controlled state, when low electric control state is off-mode, the first application includes that terminal is all of
Application.The size of predetermined threshold value can also be arranged voluntarily by user, it is to be appreciated that presets threshold
Value should be less than the first preset value.
In the middle of the preferable embodiment of one, enter low when low electric control module 25 controls terminal
After electric control state, ability when the second handover module 26 have to monitor default recovery instruction
Terminal can be controlled and exit electricity spoofing mode.Assume that the terminal under low electric control state simply can not
Run some application program that user specifies, and do not enter into off-mode, then default is extensive
Multiple instruction can be the information that specifically inputs, and such as, presses " volume-" key with the head of a household,
Exit electricity spoofing mode.When low electric control state is off-mode, then default recovery refers to
Order can be the number of times of the start preset, and e.g., the second handover module 26 have to monitor use
Family has attempted to 3 starts, until terminal the 4th attempts just allowing terminal cut the when of start
Change to normal mode, and normally show dump energy, beyond all doubt, 3 times start shooting all
Should be failed.Assume that user, the true electricity of mobile phone is 50% when, presets with at the beginning of 10%
Begin display electricity entrance electricity spoofing mode, when showing electricity less than 0.1%, low electric control
Module 25 controls mobile phone and enters low electric control state, makes off-mode.After mobile phone shutdown,
Child may carry out the start of 1~2 and attempt, and can continue to use mobile phone to give pleasure to expectation
Happy.But because user is provided with after the 4th starting-up signal have to being detected in advance, second
Handover module 26 just can make mobile phone normal boot-strap, so when child attempts obtaining in 1~2 starts
To " mobile phone electricity is too low, it is impossible to normal boot-strap!" information after, he may will be true
Think that mobile phone electricity is too low, thus abandon utilizing mobile phone to carry out the idea played or surf the Net.
As shown in Figure 8, the control device 2 at terminal demonstration electricity includes the first handover module
21, camouflage policy generation module 22, camouflage processing module 23 and charging camouflage module 27.
After charging camouflage module 27 is possible to prevent terminal to enter electricity spoofing mode, child tastes
Terminal is charged by examination so that the situation extending the use time occurs.The present embodiment also provides for this
The scheme of sample: when terminal is in electricity spoofing mode, it is right that charging camouflage module 27 monitors
After the charging signals of terminal, according to default charging camouflage strategy, the display electricity of terminal is carried out
Camouflage, such as, make the increasing degree of terminal demonstration electricity less than actual charging rate, build
The effect of terminal " charging rate is slow ".Further, charging camouflage module 27 can be controlled
The display screen display of terminal processed characterizes the information that charging is abnormal.Such as, directly display and " charge different
Often!" or " charge unsuccessfully!" certainly, it will be appreciated by those skilled in the art that, terminal is actually
It is in normal charging condition.Preferably, monitor when terminal is in electricity spoofing mode
After the charging signals of terminal, whether charging camouflage module 27 can also determine whether user
In continuation, terminal is used, without using signal, then can not show sign charging
Failed information, simply controls terminal and shows the feature that charging rate is slower, such as, make camouflage
The growth rate of electricity is less than real charging rate.If be detected that the use signal to terminal
After, charging camouflage module 27 then controls terminal demonstration and characterizes the information that charging is failed, fills simultaneously
Electricity pretends the module 27 use also to terminal and is controlled, and such as, makes terminal cannot run certain
A little programs, or directly control terminal entrance off-mode.
It addition, in the third embodiment, first determines that submodule 2211 and second determines submodule
The power consumption camouflage strategy that block 2212 generates is all to make terminal enter with the initial quantity of electricity of a camouflage
Electricity spoofing mode, this camouflage mode is referred to as " initially pretending mode " by us.But at this
In embodiment, the when of entering electricity spoofing mode, can enter with real electricity, that is,
Directly using real electricity as initially showing electricity when entering electricity spoofing mode.Simply exist
In the middle of process subsequently, with the power consumption rate after camouflage, the electricity of terminal is consumed, i.e.
With a display electric quantity consumption speed display to terminal different from true electric quantity consumption speed
Electricity carries out " consumption ".This camouflage mode is " middle camouflage mode ".
As it is shown in figure 9, two-value determines that module 221 includes that the 3rd determines submodule 2213.The
Three determine that the first instruction and preset rules that submodule 2213 inputs according to user determine display electricity
The depletion rate of amount, such as, when the first instruction comprises the preset duration of user's input, the
Three determine submodule 2213 can using the true electricity of present terminal as initially showing electricity,
Then according to below equation obtain show electricity depletion rate:
The depletion rate of display electricity=initially show electricity/preset duration;
It is understood that preset duration is necessarily less than terminal, currently true electricity is actual can make
With the time, say, that the depletion rate of display electricity have to be larger than terminal real power consumption speed
Degree.
In the middle of another example of the present invention, as shown in Figure 10, two-value determines module 221
Submodule 2214 is determined, when the first instruction directly comprises default power consumption rate including the 4th
Time, the 4th determines that submodule 2214 can directly parse the default power consumption rate conduct of user
The depletion rate of display electricity, same, default power consumption rate have to be larger than terminal and consumes really
Electricity speed.
The camouflage strategy that module 221 generates is determined according to two-value in embodiment three, if user's warp
Submodule 2211 generates camouflage strategy often all to use first to determine, controls child and uses terminal
Time, then be likely to initially show electricity when terminal enters electricity spoofing mode each time
The most identical, this may result in child and perceives electricity camouflage.Such as, user wishes every time
Child just stops using after using the electricity of 10%, then terminal enters electricity spoofing mode every time
Initial display electricity be all 10%.And from the point of view of according to the real power consumption condition of terminal, there is this
The probability planting situation is very little, so, the situation of simulation can " distortion ".Certainly,
In initial camouflage mode, moreover it is possible to second determines that submodule 2212 comes really according to preset duration again
That determines terminal entrance electricity spoofing mode initially shows electricity, and supposes that second determines submodule
According to what preset duration was estimated out, 2212 initially show that electricity is not very accurate, but due to one
Individual terminal is substantially relatively average, so it is every to also result in terminal in the power consumption level of different time points
The initial display electricity of secondary entrance electricity spoofing mode is very nearly the same.So it is each in order to ensure
Initial display electricity, closer to true horizon, uses " middle camouflage mode " to carry out electricity
Comprehend at camouflage and seem the most true to nature, because this camouflage is the consumption by increasing display electricity
Speed so that the display electricity of terminal is quickly being consumed virtually, so being more difficult to by youngster
Child discovers.
Embodiment five:
Below using terminal for mobile phone as example, the control to the terminal demonstration electricity that the present invention provides
Method and apparatus processed is further elaborated, such as Figure 11:
S1101, reception user's setting to parameter each under electricity spoofing mode.
Such as, user can enter mobile phone operation interface, clicks on and arranges icon on mobile phone desktop,
Entrance arranges list, selects opponent's machine electric energy control.
Assume that user makes power consumption camouflage function first, can be while parameter be configured
Arranging user cipher, this user cipher can be numeral, letter or its combination.Can also be logical
Cross the information such as the user's gesture, the user fingerprints that collect.After user sets user cipher,
The when of making power consumption camouflage function afterwards, may be required for user input match close
Code information could normally use.
The parameter that user can be arranged includes entering electricity spoofing mode in which way, is initial
Camouflage mode or middle camouflage mode, after user have selected corresponding camouflage mode, need
Set other parameters under which further.Such as, have selected the initially side of camouflage as user
After formula enters electricity spoofing mode, or need self-defined initial electricity under electricity spoofing mode
Amount, or need the time period being set in electricity spoofing mode.If the electricity of current phone
Amount is 47%, and user wants the electricity retaining 35% for himself subsequently, then he can
Initial quantity of electricity can be set to 12%.
S1102, first instruction of reception user, control mobile phone and enter electricity spoofing mode.
User clicks on " determination " after setting each parameter, and this " determines " and is equivalent to one
Individual switching refers to.In the present embodiment, receive user on mobile phone, trigger the signal of " determination "
After, control mobile phone and enter electricity spoofing mode with the initial quantity of electricity of 12%.
S1103, according to first instruction with preset strategy, the true electricity of mobile phone is pretended.
Due to central in this camouflage, it it is the electricity camouflage entered with the initial quantity of electricity that user is predetermined
Pattern, so, when subsequently camouflage electricity being carried out " consumption ", can be simply according to true
The Expenditure Levels of real electricity is carried out, such as, and the true electric quantity consumption of mobile phone 3%, then camouflage
After mobile phone electricity be 9%, the dump energy of display is also 9%.
S1104, when detecting the electricity after mobile phone camouflaging less than the first preset value, proceed by
Low capacity prompt.
First preset value is the boundary whether carrying out low capacity prompt, when the electricity after camouflage is less than
During the first preset value, beginning to prompting, do not point out, the strategy of prompting is referred to second
Embodiment, suggests that once the most at every fixed time.Preferably, in the present embodiment
One preset value is 3%, when the mobile phone electricity after camouflage is less than 3% when, carries every one minute
Show once.
S1105, when detecting the electricity after mobile phone camouflaging and being zero, control mobile phone and enter shutdown shape
State.
Owing to off-mode belongs to the one of low electric control state, so controlling mobile phone to enter shutdown
State enters low electric control state the most exactly.It will be appreciated by persons skilled in the art that
Mobile phone can not also enter off-mode, and simply can not run the first application, and the first application can
To be some application program of specifying of user.
S1106, monitor and add up mobile phone attempt start number of times.
After entering low electric control state, need the recovery instruction that monitoring is preset, when low electricity condition is
During off-mode, can be using default start number of times as default recovery instruction.
S1107, judge start number of times whether reach preset value, the most then perform S1108,
If it is not, then continue executing with S1106.
Here, the boot action of preset times is i.e. to recover instruction, if start number of times reaches pre-
If value, then can enter normal mode, otherwise, needs continue statistics mobile phone and attempt the secondary of start
Number.
It is understood that arrive preset the start each time before start number of times all should be with
End up in failure, for example, it is possible to prompting user " mobile phone electricity is too low, it is impossible to start ".
S1108, control mobile phone normal boot-strap also show true electricity.
After user has been carried out the boot action of preset times, mobile phone can be controlled and move back
Go out electricity spoofing mode, enter normal mode.In the normal mode, mobile phone can show that it is true
Real electricity.
It should be noted that in this article, term " include ", " comprising " or its any its
His variant is intended to comprising of nonexcludability so that include the process of a series of key element,
Method, article or device not only include those key elements, but also include being not expressly set out
Other key elements, or also include being consolidated by this process, method, article or device
Some key elements.In the case of there is no more restriction, statement " including ... " limit
Fixed key element, it is not excluded that in including the process of this key element, method, article or device
There is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art it can be understood that
The mode of required general hardware platform can be added by software to above-described embodiment method to realize,
Can certainly pass through hardware, but a lot of in the case of the former is more preferably embodiment.Based on
Such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, this computer software product is stored in
In one storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions in order to
Make a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or
The network equipment etc.) perform the method described in each embodiment of the present invention.
Above in conjunction with accompanying drawing, embodiments of the invention are described, but the present invention not office
Being limited to above-mentioned detailed description of the invention, above-mentioned detailed description of the invention is only schematically,
Rather than restrictive, those of ordinary skill in the art is under the enlightenment of the present invention, not
In the case of departing from present inventive concept and scope of the claimed protection, it may also be made that a lot of shape
Formula, within these belong to the protection of the present invention.
Claims (10)
1. the control method of a terminal demonstration electricity, it is characterised in that including:
Control terminal after receiving the first instruction of user's input and enter electricity spoofing mode;
Power consumption camouflage strategy is generated according to preset rules according to described first instruction;
According to described power consumption camouflage strategy, the display electricity of described terminal is carried out camouflage process.
2. the control method of terminal demonstration electricity as claimed in claim 1, its feature
It is, also includes:
When the display electricity after camouflage processes is less than predetermined threshold value, controls described terminal and enter low
Electric control state, under described low electric control state, described terminal cannot run the first application.
3. the control method of terminal demonstration electricity as claimed in claim 2, its feature
It is, also includes:
When monitoring default recovery instruction under described low electric control state, control described terminal
Exit electricity spoofing mode.
4. the control method of terminal demonstration electricity as claimed in claim 1, its feature
It is, also includes:
When monitoring charging signals under electricity spoofing mode, according to default charging camouflage strategy
Described terminal is shown, and electricity pretends and/or use to described terminal is controlled.
5. the control method of the terminal demonstration electricity as described in any one of claim 1-4,
It is characterized in that, described tactful according to preset rules generation power consumption camouflage according to described first instruction
Including:
Determine that described terminal enters electricity camouflage according to described first instruction and described preset rules
Initial display electricity during pattern and the depletion rate of described display electricity.
6. the control method of terminal demonstration electricity as claimed in claim 5, its feature
Be, with described preset rules, described instruction according to described first determines that described terminal enters electricity
Initial display electricity and the mode of the depletion rate of described display electricity during spoofing mode include
Below any one:
When described first instruction include preset electricity, using described default electricity as described initially
Display electricity, using the true power consumption rate of described terminal as the depletion rate of described display electricity;
When described first instruction includes preset duration, estimate out described according to described preset duration
Initially show electricity, and determine according to described initial display electricity and described preset duration described aobvious
Show the depletion rate of electricity;
When described first instruction includes preset duration, true electricity current for described terminal is made
For described initial display electricity, determine institute according to described initial display electricity and described preset duration
State the depletion rate of display electricity;
When described first instruction includes presetting power consumption rate, by true electricity current for described terminal
Amount is as described initial display electricity, using described default power consumption rate as described display electricity
Depletion rate.
7. the control device of a terminal demonstration electricity, it is characterised in that including:
First handover module, controls terminal after the first instruction receiving user's input and enters
Electricity spoofing mode;
Camouflage policy generation module, for generating consumption according to described first instruction according to preset rules
Electricity camouflage strategy;
Camouflage processing module, for entering the display electricity of terminal according to described power consumption camouflage strategy
Row camouflage processes.
8. the control device of terminal demonstration electricity as claimed in claim 7, its feature
It is, also includes:
Low electric control module, when the display electricity after processing when camouflage is less than predetermined threshold value,
Control described terminal and enter low electric control state, under described low electric control state, described terminal
The first application cannot be run.
9. the control device of terminal demonstration electricity as claimed in claim 7 or 8, its
Being characterised by, described camouflage policy generation module includes:
Two-value determines module, for determining described according to described first instruction and described preset rules
The initial consumption speed showing electricity and described display electricity when terminal enters electricity spoofing mode
Degree.
10. the control device of terminal demonstration electricity as claimed in claim 9, its feature
Be, described two-value determine module include following any one:
First determines submodule, for including presetting electricity, by described when described first instruction
Default electricity is as described initial display electricity, using the true power consumption rate of described terminal as institute
State the depletion rate of display electricity;
Second determines submodule, for including preset duration, according to institute when described first instruction
State preset duration and estimate out described initial display electricity, and according to described initial display electricity and institute
State preset duration and determine the depletion rate of described display electricity;
3rd determines submodule, for including preset duration, by described when described first instruction
The current true electricity of terminal is as described initial display electricity, according to described initial display electricity
With the depletion rate that described preset duration determines described display electricity;
4th determines submodule, for including presetting power consumption rate, by described when described first instruction
Described default power consumption rate, as described initial display electricity, is made by the current true electricity of terminal
Depletion rate for described display electricity.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281204.6A CN105975879A (en) | 2016-04-29 | 2016-04-29 | Control method and device for displayed electric quantity of terminal |
PCT/CN2016/084065 WO2017185456A1 (en) | 2016-04-29 | 2016-05-31 | Method and apparatus for controlling displayed electricity quantity of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281204.6A CN105975879A (en) | 2016-04-29 | 2016-04-29 | Control method and device for displayed electric quantity of terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975879A true CN105975879A (en) | 2016-09-28 |
Family
ID=56994334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610281204.6A Pending CN105975879A (en) | 2016-04-29 | 2016-04-29 | Control method and device for displayed electric quantity of terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105975879A (en) |
WO (1) | WO2017185456A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033768A (en) * | 2018-06-28 | 2018-12-18 | 上海与德科技有限公司 | A kind of charging method based on intelligent mobile terminal, device and server |
CN109104533A (en) * | 2018-11-02 | 2018-12-28 | 上海掌门科技有限公司 | A kind of method and device showing virtual electricity |
CN109992084A (en) * | 2017-12-28 | 2019-07-09 | 深圳市优必选科技有限公司 | A kind of method, apparatus and robot of the protection of robot low battery |
CN112394802A (en) * | 2019-07-31 | 2021-02-23 | 奇酷互联网络科技(深圳)有限公司 | Reminding method, mobile terminal and computer readable storage medium |
WO2023109300A1 (en) * | 2021-12-17 | 2023-06-22 | 深圳市百富智能新技术有限公司 | Battery level calibration method, electronic device, and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114047449A (en) * | 2021-11-16 | 2022-02-15 | 深圳市广和通无线股份有限公司 | Battery power display method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN103207660A (en) * | 2012-01-16 | 2013-07-17 | 宇龙计算机通信科技(深圳)有限公司 | Invalidating processing method for application icons, and communication terminal |
CN103257320A (en) * | 2013-05-08 | 2013-08-21 | 百度在线网络技术(北京)有限公司 | Method and device for electric quantity environment construction of mobile terminal |
CN103792489A (en) * | 2013-11-22 | 2014-05-14 | 广州视源电子科技股份有限公司 | Improved method for measuring and calculating system battery electricity quantity |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312866A (en) * | 2012-03-11 | 2013-09-18 | 上海闻泰电子科技有限公司 | Mobile phone with power exhaustion prompt function and power exhaustion prompt method |
CN105653002B (en) * | 2014-11-14 | 2019-04-12 | 东莞宇龙通信科技有限公司 | Display method and device for battery electric quantity and electronic equipment |
-
2016
- 2016-04-29 CN CN201610281204.6A patent/CN105975879A/en active Pending
- 2016-05-31 WO PCT/CN2016/084065 patent/WO2017185456A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN103207660A (en) * | 2012-01-16 | 2013-07-17 | 宇龙计算机通信科技(深圳)有限公司 | Invalidating processing method for application icons, and communication terminal |
CN103257320A (en) * | 2013-05-08 | 2013-08-21 | 百度在线网络技术(北京)有限公司 | Method and device for electric quantity environment construction of mobile terminal |
CN103792489A (en) * | 2013-11-22 | 2014-05-14 | 广州视源电子科技股份有限公司 | Improved method for measuring and calculating system battery electricity quantity |
Non-Patent Citations (1)
Title |
---|
杰文托夫斯基: "IOS7越狱插件CCFakeLowBattery伪装电量显示", 《网页在线公开:HTTP://IOS.D.CN/NEWS/VIEW-9515.HTML》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992084A (en) * | 2017-12-28 | 2019-07-09 | 深圳市优必选科技有限公司 | A kind of method, apparatus and robot of the protection of robot low battery |
CN109033768A (en) * | 2018-06-28 | 2018-12-18 | 上海与德科技有限公司 | A kind of charging method based on intelligent mobile terminal, device and server |
CN109033768B (en) * | 2018-06-28 | 2022-07-19 | 重庆辉烨物联科技有限公司 | Charging method and device based on intelligent mobile terminal and terminal |
CN109104533A (en) * | 2018-11-02 | 2018-12-28 | 上海掌门科技有限公司 | A kind of method and device showing virtual electricity |
CN112394802A (en) * | 2019-07-31 | 2021-02-23 | 奇酷互联网络科技(深圳)有限公司 | Reminding method, mobile terminal and computer readable storage medium |
WO2023109300A1 (en) * | 2021-12-17 | 2023-06-22 | 深圳市百富智能新技术有限公司 | Battery level calibration method, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017185456A1 (en) | 2017-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975879A (en) | Control method and device for displayed electric quantity of terminal | |
CN104519124B (en) | A kind of distribution method and device of virtual resource | |
CN104780167B (en) | A kind of account login method and terminal | |
CN107185241B (en) | Random Factor Mahjong operation based reminding method and device based on internet | |
CN104331355B (en) | The Anti-addiction method and apparatus of mobile terminal | |
CN104333782B (en) | A kind of main broadcaster formulates the order method and system, relevant device of task | |
CN105260116B (en) | A method of real-time interception image in gaming | |
CN106066810B (en) | A kind of application management method, device and mobile terminal | |
CN108021794A (en) | One kind game control method for preventing indulging, terminal installation and readable storage medium storing program for executing | |
CN106790417A (en) | A kind of long-range control method, terminal and system | |
CN105353958B (en) | The control method and device of terminal applies | |
CN103856632B (en) | The control method of a kind of terminal applies and device thereof | |
CN107507616A (en) | The method to set up and device of gateway scene | |
CN106656237A (en) | Wearable intelligent equipment | |
CN106648421A (en) | Intelligent device control method and intelligent device | |
CN101854501A (en) | Method for preventing television set addiction by limiting time for watching television | |
CN109224445B (en) | Game control method, device, equipment and storage medium in intelligent wearable equipment | |
CN109348044A (en) | Control method, device, equipment and the storage medium of smart machine | |
CN104361125A (en) | Network activity participation method and related equipment | |
CN105141772B (en) | A kind of the alarm clock method for closing and device of mobile terminal | |
CN112084483B (en) | Application locking and unlocking method, device, equipment and storage medium | |
CN107038030A (en) | A kind of switching method and device of terminal system pattern | |
CN105727560A (en) | Video colloquy and game interactive fusion method and apparatus | |
CN110349577A (en) | Man-machine interaction method, device, storage medium and electronic equipment | |
CN112138409B (en) | Game result prediction method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160928 |
|
RJ01 | Rejection of invention patent application after publication |