Download Sleep method, wake method and mobile terminal device

Transcript
US 2013022523 8A1
(19) United States
(12) Patent Application Publication (10) Pub. No.: US 2013/0225238 A1
HE
(54)
(43) Pub. Date:
SLEEP METHOD, WAKE METHOD AND
Aug. 29, 2013
Publication Classi?cation
MOBILE TERMINAL DEVICE
(51)
(71) Applicant: HuaWei Device Co., Ltd., (US)
(72) Inventor:
Miao HE, Wuhan (CN)
Int. Cl.
H04W 52/02
(2009.01)
H04W 88/02
(52) us CL
(2009.01)
USPC
(73) Assignee: HUAWEI DEVICE CO., LTD.,
ShenZhen (CN)
......................................... .. 455/558; 455/574
(57)
ABSTRACT
The present invention discloses a sleep method, including:
When determining select a sleep mode of a mobile terminal
(21) Appl' NO‘: 13/622’677
(22)
(30)
Filed;
device, recording, by the mobile terminal device, service state
information related to data connection; according to the
recorded service state information related to the data connec
tion, turning off a service that is related to the data connection
and is in a tum-on state; and controlling a processor to enter
sep_ 19, 2012
Foreign Application Priority Data
a sleep mode, thereby saving the poWer consumption of the
Feb. 25, 2012
(CN) ...................... .. 201210045673.X
mobile terminal device more than that in the prior art.
When determining to select a sleep mode of a mobile terminal
device, the mobile terminal device records service state
information related to data connection
K S10
1
According to the recorded service state information related to the /- S12
data connection, turn off a service related to the data connection
and being in a tum-on state
i
Control a processor to enter the sleep mode
K
S14
Patent Application Publication
Aug. 29, 2013 Sheet 1 0f 10
US 2013/0225238 A1
When determining to select a sleep mode of a mobile terminal K. S10
device, the mobile terminal device records service state
information related to data connection
l
According to the recorded service state information related to the
data connection, turn off a service related to the data connection
and being in a turn-on state
K- S12
V
S14
Control a processor to enter the sleep mode
FIG. 1
K- S20
Determine Whether to select the sleep mode ofa mobile terminal device
l
When determining to select the sleep
"
mode of a mobile terminal device, the
324
/
mobile terminal device records service
state information related to data
_
_
connection
When determining to select
the sleep mode of the
mobile terminal device,
S22
K’
t
display a sleep effect in a
manner
of an animation
or a
_
'
wait box on a display screen
ofthc mobllc tcrmlnal
dCVlCC, Q1" prompt a 51%}?
According to the recorded service state
S26
information related to the data connection, K
turn off a service related to the data
connection and being in a turn-on state
progress 1n a sound manner
V
Control a processor to enter the sleep
mode
FIG. 2
2
K- S 8
Patent Application Publication
Aug. 29, 2013 Sheet 2 of 10
US 2013/0225238 A1
S30
Determine whether to select a sleep mode of a
K’
mobile terminal device
l
When determining to select the sleep mode of a
/ S32
mobile terminal device, the mobile terminal device
records service state information related to data
connection
l
According to the recorded service state information
S34
related to the data connection, turn off a service K
related to the data connection and being in a turn-on
state
i
S36
Kill or turn off a non-core process
i
Control a processor to enter the sleep mode
FIG. 3
\
S38
Patent Application Publication
Aug. 29, 2013 Sheet 3 of 10
US 2013/0225238 A1
K- S40
Determine Whether to select a sleep mode of a mobile terminal device
l
When determining to select the sleep
S44
mode of a mobile terminal device, the /
mobile terminal device records service
When determining to select
the sleep mode of the mobile
state information related to data
connection
terminal device, display a K S42
+
sleep effect in a manner of
an animation or a wait box
on a_ dlsplay Semen 9f th€
According to the recorded service state K S46
information related to the data connection,
moblk’ mrmlnal dwlwzor
turn off a service related to the data
Prompt a 5166p Pmgmss in a
connection and being in a turn-on state
sound manner
Kill or turn off a non-core process
l
Control a processor to enter the sleep
mode
FIG. 4
Patent Application Publication
Aug. 29, 2013 Sheet 4 0f 10
US 2013/0225238 A1
S50
When determining that a mobile terminal device needs to be [P
Waked, Wake a processor that has entered a sleep mode
l
Restore a service that is related to data connection and is in a K‘ 352
turn-on state and is turned off in a sleep mode, so that the
mobile terminal device enters a system
FIG. 5
( S60
Determine whether a mobile terminal device needs to be Waked
1
When determining that a mobile / S62
terminal device needs to be Waked,
' '
Wake a processor that has entered the
When determining that the
5166p mode
mobile terminal device needs
to be Waked, display a Wake
effect through an animation K
or a wait box on a display
screen of the mobile terminal
device, or prompt a wake
progress through a sound
$61
+
Restore a service that is related to
data connection and is in a turn-on K- S64
state and is tumed off in the sleep
mode, so that the mobile terminal
device enters a system
FIG. 6
Patent Application Publication
Aug. 29, 2013 Sheet 5 of 10
US 2013/0225238 A1
Determine whether a mobile terminal device needs to be Waked
i
When determining that a mobile terminal device needs to be
waked, wake a processor that has entered a sleep mode
K- S70
/ S71
l
Restore a service that is related to data connection and is in a K- 572
tum-on state and is turned off in the sleep mode, so that the
mobile terminal device enters a system
Send a starting complete message to an applicationin K- S73
the mobile terminal device, to implement that a service running
in need of startup begins to run in a startup procedure
FIG. 7
Patent Application Publication
Aug. 29, 2013 Sheet 6 0f 10
K
US 2013/0225238 A1
S80
Determine Whether a mobile terminal device needs to be Waked
l
t
When determining that a mobile terminal
device needs to be Waked, Wake a processor
that has entered a sleep mode
When determining that the
mobile terminal device
*
needs to be Waked, display a
‘Wake effect through an
anrmatron or 21 Walt box GI} a
display screen of the mobile
terminal device, or prompt a
Wake progress through a
/ S82
S81
K-
Restore a service that is related to data
connection and is in a turn-on state and is
turned off in the sleep mode, so that the
mobile terminal device enters a system
S83
sound
Send a starting complete message to an
application in the mobile terminal device, to
implement that a service running in need of
startup begins to run in a startup procedure
FIG. 8
$84
Patent Application Publication
Aug. 29, 2013 Sheet 7 0f 10
US 2013/0225238 A1
Mobile terminal device
Sleep determining unit
_
_
90
Recording unit
/
Tum-off unit
K
Control unit
K
_
_
_
_
_
_
_
_
94
_
_l
FIG. 9
|_
_
|
_
_
_
_
_
_
_
_
_
_
_
_
_
Mobile terminal device
:
_
91 |
I|
Sleep determining unit /—
|
|
90 |
I
Recording unit
/-
I
I 93
I
:
|
\ prompt
Sleep
unit
92 |
K- |
Turn-off unit
|
|
|
Control unit
K-
|
|
94
|
|
|_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
4
Patent Application Publication
Aug. 29, 2013 Sheet 8 0f 10
US 2013/0225238 A1
Ir Kr?nEwT?nEEJ _ _ _ _I
I
Sleep determining unit
:
l
:
Recording unit
90
K-
I
|
|
l
|
‘
Turn-off unit
K-
92
l
:
|
|
|
|_
|
Control unit
_
_
_
_
_
_
K_
_
_
94 |
_
|
_
1
FIG. 11
|
Mobile terminal device
91 |
:
Sleep determining unit K- :
I
90 I
:
Recording unit
/_
I
I 93
|
|
I
\ Sleep
prompt
unit
I
Turn-off unit
K92 |I
|
|
|
Control unit
/—
94
|
|________________
|
|
|
|
Patent Application Publication
Aug. 29, 2013 Sheet 9 of 10
Wake determining K
module
Wake unit /. 961
First Wake
sub-unit
(- 962
Second Wake
sub-unit
Restoring unit
FIG. 13
I
|
|
|
|
|
|
|
|
|
|
|
Mobile terminal device
Wake determining K
95
module
Wake unit
First Wake
sub-unit
961
Second Wake
sub-unit
97
|_
FIG. 14
95
US 2013/0225238 A1
Patent Application Publication
Aug. 29, 2013 Sheet 10 0f 10
Mobile terminal device
Wake determining K- 95
module
First Wake
Second Wake
sub-unit
sub-unit
Restoring unit
Sending unit
FIG. 15
m
95
w
P6
abm
mw2
Wake unit
Wm
F
my
dm
wd .wrug
9 62
gmm
6u Second Wake
m
a
a
m d9e60rm
.mRaS//
mu
M
V.m
&d
sub-unit
unvl
K97
K99
FIG. 16
US 2013/0225238 A1
Aug. 29, 2013
US 2013/0225238 A1
SLEEP METHOD, WAKE METHOD AND
MOBILE TERMINAL DEVICE
CROSS-REFERENCE TO RELATED
APPLICATION
[0001] This application claims priority to Chinese Patent
Application No. 201210045673.X, ?led on Feb. 25, 2012,
Which is hereby incorporated by reference in its entirety.
FIELD OF THE INVENTION
[0002] The present invention relates to the ?eld of commu
nication technologies, and in particular, to a sleep method, a
Wake method and a mobile terminal device.
BACKGROUND OF THE INVENTION
[0003] As a mobile terminal device, such as a smart mobile
phone and a tablet computer, is more and more popular
among vast users, more and more attention is also paid by
users to the user experience for the use time length of this type
of mobile terminal device.
[0004] In the prior art, the touch screen of the mobile ter
[0010] according to the recorded service state information
related to the data connection, turning off a service that is
related to the data connection and is in a turn-on state; and
[0011] controlling a processor to enter a sleep mode.
[0012] A Wake method includes:
[0013] When determining that a mobile terminal device
needs to be Waked, Waking a processor that has entered sleep;
and
[0014] restoring a service that is related to data connection
and is in a tum-on state and is turned off in a sleep mode, so
that the mobile terminal device enters a system.
[0015]
[001 6]
A mobile terminal device applied to sleep includes:
a recording unit, con?gured to, When determining to
select sleep of a mobile terminal device, record service state
information related to data connection;
[0017]
a tum-off unit, con?gured to, according to the
recorded service state information related to the data connec
tion, turn off a service that is related to the data connection
and is in a turn-on state; and
[0018] a control unit, con?gured to control a processor to
enter a sleep mode.
[0019]
[0020]
A mobile terminal device applied to Wake includes:
a Wake unit, con?gured to, When determining that a
minal device consumes a very large part of energy, so When a
user does not need to use the mobile terminal device, the user
turns off the touch screen of the mobile terminal device usu
that has entered sleep; and
ally by using a standby function, so that the mobile terminal
is related to data connection and is in a turn-on state and is
device is in an off-screen standby state; When the user needs
to use the mobile terminal device, the user then enables the
touch screen of the mobile terminal device in a standby state
to begin to normally Work through a Wake function, to save
the poWer consumption of the mobile terminal device and
achieve the objective of prolonging the use time of the mobile
terminal device.
turned off in a sleep mode, so that the mobile terminal device
[0005]
HoWever, in the standby solution in the prior art,
When a mobile terminal device is in a standby state, although
the touch screen of the mobile terminal device is turned off,
the mobile terminal device is still in the Working state and still
consumes the energy of the mobile terminal device to a very
large extent, so the prolonging of the use time of the mobile
terminal device in high ef?ciency cannot be achieved.
[0006]
To overcome the defect, the user may solve the
mobile terminal device needs to be Waked, Wake a processor
[0021]
a restoring unit, con?gured to restore a service that
enters a system.
BRIEF DESCRIPTION OF THE DRAWINGS
[0022]
FIG. 1 is a ?owchart of a sleep method according to
Embodiment l of the present invention;
[0023]
FIG. 2 is a ?owchart of a sleep method according to
Embodiment 2 of the present invention;
[0024]
FIG. 3 is a ?oWchart of a sleep method according to
Embodiment 3 of the present invention;
[0025]
FIG. 4 is a ?oWchart of a sleep method according to
Embodiment 4 of the present invention;
[0026]
FIG. 5 is a ?oWchart of a Wake method according to
Embodiment 5 of the present invention;
[0027]
FIG. 6 is a ?oWchart of a Wake method according to
problem through a method in Which the mobile terminal
device is turned off through a temporary poWer-off manner,
Embodiment 6 of the present invention;
and When the user needs to use the mobile terminal device, the
user then enables the mobile terminal device to begin to
Embodiment 7 of the present invention;
normally Work through startup again. HoWever, in the startup
[0028]
[0029]
FIG. 7 is a ?oWchart of a Wake method according to
FIG. 8 is a ?oWchart of a Wake method according to
procedure of the mobile terminal device, only after the system
Embodiment 8 of the present invention;
is initialiZed and various system programs are loaded, the
mobile terminal device can gradually enter the system, but
device according to Embodiment l of the present invention;
this startup procedure is very long. If the user urgently needs
to use the mobile terminal device, While the startup procedure
device according to Embodiment 2 of the present invention;
in the prior art makes the user Wait for a very long time, the
user experience of the user for the mobile terminal device is
device according to Embodiment 3 of the present invention;
in?uenced, thereby deteriorating the user experience.
[0030]
[0031]
[0032]
[0033]
FIG. 9 is a structural diagram of a mobile terminal
FIG. 10 is a structural diagram of a mobile terminal
FIG. 11 is a structural diagram of a mobile terminal
FIG. 12 is a structural diagram of a mobile terminal
device according to Embodiment 4 of the present invention;
SUMMARY OF THE INVENTION
[0034]
FIG. 13 is a structural diagram of a mobile terminal
device according to Embodiment 5 of the present invention;
[0007] An embodiments of the present invention adopt the
folloWing technical solutions.
[0008] A sleep method includes:
device according to Embodiment 6 of the present invention;
[0009]
device according to Embodiment 7 of the present invention;
When determining to select sleep of a mobile termi
nal device, recording, by the mobile terminal device, service
state information related to data connection;
[0035]
[0036]
FIG. 14 is a structural diagram of a mobile terminal
FIG. 15 is a structural diagram of a mobile terminal
[0037] FIG. 16 is a structural diagram of a mobile terminal
device according to Embodiment 8 of the present invention.
Aug. 29, 2013
US 2013/0225238 A1
DETAILED DESCRIPTION OF THE
EMBODIMENTS
[0038]
The technical solutions of the embodiments of the
present invention are hereinafter described clearly and com
pletely With reference to the accompanying drawings in the
embodiments of the present invention. Evidently, the
described embodiments are only some exemplary embodi
ments of the present invention, rather than all embodiments of
to select the sleep of the mobile terminal device is determined
in the user manual selection manner, the folloWing may be
further included.
[0049] The mobile terminal device detects Whether the user
triggers the application for selecting sleep.
[0050]
When the mobile terminal device detects that the
user triggers the application for selecting sleep, the mobile
terminal device begins step S10.
the present invention. All other embodiments obtained by
[0051]
persons of ordinary skill in the art based on the embodiments
of the present invention Without creative efforts shall fall
device is determined in the user manual selection manner, the
Within the protection scope of the present invention.
[0039] In this embodiment, When a user does not need to
use a mobile terminal device, the user may enable the current
mobile terminal device to enter a sleep mode through manual
selection or system setting, and may also enable the current
mobile terminal device to enter the sleep mode through an
automatic system selection standby function of the mobile
terminal device; and When the user needs to use the mobile
terminal device, the current mobile terminal device is Waked
through a user operation, and the current mobile terminal
device may also be Waked through an automatic system selec
tion Wake function of the mobile terminal device. In this
embodiment, the mobile terminal device may refer to a smart
mobile phone or tablet computer.
[0040] In this embodiment, the sleep mode refers to that the
mobile terminal device is poWered off in a faking manner, but
is not truly poWered off, and may also be referred to as a
standby mode. Illustration is provided beloW.
[0041] As shoWn in FIG. 1, FIG. 1 is a ?owchart ofa sleep
method according to Embodiment l of the present invention.
[0042] In this embodiment, step S10: When determining to
select sleep of a mobile terminal device, record, by the mobile
terminal device, service state information related to data con
nection. In this embodiment, the service related to the data
connection includes GPS, WIFI, and Bluetooth. In this
embodiment, When the mobile terminal device is normally
used, the service may have a current use state, so When the
mobile terminal device enters sleep, the mobile terminal
device records current information of a tum-on state and a
turn-off state of the service, and the recorded state informa
tion is to be subsequently used to Wake the mobile terminal
device.
[0043]
In this embodiment, Whether to select sleep of the
mobile terminal device may be determined in a user manual
selection manner or an automatic system selection manner.
Separate descriptions are made beloW.
[0044] First case: When Whether to select sleep of the
mobile terminal device is determined in a user manual selec
tion manner, the folloWing may be included.
[0045] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
When Whether to select sleep of the mobile terminal
folloWing may be further included. The mobile terminal
device provides a selection box for selecting to enter the sleep
mode in a system setting interface, so as to be selected by the
user.
[0052] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, Whether the selection box of the sleep mode in
the system setting interface is selected is determined.
[0053] If it is determined that the selection box of the sleep
mode in the system setting interface is selected, that is, it is
determined that the user selects the sleep mode, the mobile
terminal device begins step S10.
[0054] If it is determined that the selection box of the sleep
mode in the system setting interface is not selected, that is, it
is determined that the user does not select the sleep mode, the
mobile terminal device executes a normal poWer-off proce
dure, that is, it is poWered off.
[0055] Alternatively, When it is determined that the selec
tion box of the sleep mode in the system setting interface is
not selected, the mobile terminal device may further prompt
Whether the user selects to enter a sleep mode or enter a
poWer-off mode through a selection box.
[0056] Second case: When Whether to select sleep of the
mobile terminal device is determined in an automatic system
selection manner, the folloWing may be included.
[0057] When the mobile terminal device detects that a user
selects poWer-off, the mobile terminal device detects Whether
the mobile terminal device is currently in a charging state, or
Whether a high de?nition multimedia interface (High De?ni
tion Multimedia Interface, HDMI) is inserted With an HDMI
line.
[0058] When the mobile terminal device detects that the
mobile terminal device is currently in the charging state or the
HDMI is inserted With the HDMI line, the mobile terminal
device performs a normal poWer-off procedure.
[0059] When the mobile terminal device detects that the
mobile terminal device is not in the charging state currently or
the HDMI is not inserted With the HDMI line, the mobile
terminal device automatically selects the sleep mode in place
of poWer-off, and begins to execute step S10.
[0060]
When a poWer interface and a USB interface on the
for a long time, the mobile terminal device prompts Whether
mobile terminal device are different, and When Whether to
the user selects to enter a sleep mode or enter a poWer-off
select sleep of the mobile terminal device is determined in the
automatic system selection manner, the folloWing may be
further included.
mode through a selection box.
[0046] When the user selects the sleep mode, the mobile
terminal device begins step S10.
[0047] When the user selects the poWer-off mode, the
[0061] The mobile terminal device detects Whether an
event that the poWer interface is inserted With a poWer line
mobile terminal device executes a normal poWer-off proce
occurs.
dure, that is, it is poWered off.
[0062] When the mobile terminal device detects that the
event that the poWer interface is inserted With the poWer line
occurs, the mobile terminal device automatically selects the
[0048] The mobile terminal device may provide an appli
cation for selecting sleep to be selected by the user manually,
this application for selecting sleep may be displayed on a
touch screen of the mobile terminal device, and When Whether
sleep mode in place of poWer-off, and begins to execute step
S10.
Aug. 29, 2013
US 2013/0225238 A1
[0063]
De?nitely, When the power interface and the USB
the mobile terminal device or a sleep progress is prompted
interface on the mobile terminal device are the same, and
through a sound, so as to achieve improvement of user expe
When the mobile terminal device detects that the event that the
USB interface is inserted With a USB line occurs, the mobile
rience.
[0070]
terminal device performs a normal poWer-off procedure.
[0064] Step S12: according to the recorded service state
data connection and is in a tum-on state is turned off, a
non-core process may be killed or turned off. In this embodi
information related to the data connection, turn off a service
that is related to the data connection and is in a tum-on state.
In this embodiment, the turning off the service that is related
to the data connection and is turned on includes turning on an
offline mode and turning off GPS.
[0065] Step S14: control a processor to enter a sleep mode.
In this embodiment, When the processor is controlled to enter
the sleep mode, the processor does not process communica
tion and application services again. In this embodiment, the
processor may be controlled to enter the sleep mode by setting
the current running state of the processor to a sleep state.
[0066]
In this embodiment, the processor may include mul
tiple models of processors, such as a single-core processor, a
dual-core processor, and a quad-core processor. In this
Alternatively, after the service that is related to the
ment, core processes include a core process, a phone process,
a SYSTEM_UID process, and an android.process.media pro
cess. In this embodiment, killing or turning off a non-core
process refers to killing or turning off a process except the
core processes. In this embodiment, because the non-core
process is killed or turned off, the energy consumption of the
mobile terminal device may be further reduced.
[0071] The sleep method of Embodiment l in combination
With the alternative operation is described beloW.
[0072] FIG. 2 is a ?owchart of a sleep method according to
Embodiment 2 of the present invention.
[0073] In this embodiment, step S20: determine Whether to
select sleep of a mobile terminal device.
[0074] In this embodiment, Whether to select sleep of the
mobile terminal device may be determined in a user manual
embodiment, When the processor is a single-core processor,
selection manner or an automatic system selection manner.
because a communication service and an application service
Separate descriptions are made beloW.
[0075] First case: When Whether to select sleep of the
are processed by one processor, the single-core processor is
directly controlled to enter the sleep mode; When the proces
sor is a dual-core processor, it is required to control a proces
sor for processing a communication service and a processor
for processing an application service to enter the sleep mode;
When the processor is a quad-core processor, it is required to
mobile terminal device is determined in a user manual selec
tion manner, the folloWing may be included.
[0076] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, the mobile terminal device prompts Whether
control a processor for processing a communication service
and a processor for processing an application service to enter
the user selects to enter a sleep mode or enter a poWer-off
the sleep mode. The rest may be deduced by analogy. When
[0077] When the user selects the sleep mode, the mobile
terminal device begins steps S22 and S24.
[0078] When the user selects the poWer-off mode, the
the processor is a multi-core processor, it is required to con
trol a processor for processing a communication service and
a processor for processing an application service to enter the
mode through a selection box.
mobile terminal device executes a normal poWer-off proce
sleep mode.
dure, that is, it is poWered off.
[0067] In this embodiment, after the application service of
the processor enters the sleep mode, the mobile terminal
device turns off its screen, that is, it indicates that the mobile
terminal device has entered the sleep mode.
[0079] The mobile terminal device may provide an appli
cation for selecting sleep to be selected by the user manually,
this application for selecting sleep may be displayed on a
[0068] In the sleep method provided in the embodiment of
the present invention, by turning off the service that is related
to the data connection and is turned on, and controlling the
processor to enter the sleep mode, the service related to the
data connection and the use of the processor may be turned
off, and the poWer consumption of the mobile terminal device
in a standby state may be reduced. Compared With the prior
art, more services and apparatuses consuming energy are
turned off, and the poWer consumption of the mobile terminal
device is saved more than that in the prior art, so the use time
of the mobile terminal device is prolonged more, and a user
does not need to select a poWer-off manner to save the poWer
consumption of the mobile terminal device.
[0069] In this embodiment, alternatively, on the basis of
Embodiment 1, an additional operation may be added option
ally. For example, When it is determined to select sleep of the
mobile terminal device, a sleep effect through an animation or
a Wait box is displayed on the display screen of the mobile
terminal device, or a sleep progress is prompted through a
sound. De?nitely, the operation may be performed together
With other steps simultaneously. In this embodiment, the user
is prompted in a manner that a sleep effect is displayed
through an animation or a Wait box on the display screen of
touch screen of the mobile terminal device, and When Whether
to select sleep of the mobile terminal device is determined in
the user manual selection manner, the folloWing may be fur
ther included.
[0080] The mobile terminal device detects Whether the user
triggers the application for selecting sleep.
[0081]
When the mobile terminal device detects that the
user triggers the application for selecting sleep, the mobile
terminal device begins steps S22 and S24.
[0082]
When Whether to select sleep of the mobile terminal
device is determined in the user manual selection manner, the
folloWing may be further included. The mobile terminal
device provides a selection box for selecting to enter the sleep
mode in a system setting interface, so as to be selected by the
user.
[0083] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, Whether the selection box of the sleep mode in
the system setting interface is selected is determined.
[0084] If it is determined that the selection box of the sleep
mode in the system setting interface is selected, that is, it is
determined that the user selects the sleep mode, the mobile
terminal device begins steps S22 and S24.
[0085] If it is determined that the selection box of the sleep
mode in the system setting interface is not selected, that is, it
Aug. 29, 2013
US 2013/0225238 A1
is determined that the user does not select the sleep mode, the
mobile terminal device executes a normal poWer-off proce
dure, that is, it is powered off.
[0086] Alternatively, When it is determined that the selec
tion box of the sleep mode in the system setting interface is
not selected, the mobile terminal device may further prompt
Whether the user selects to enter the sleep mode or enter the
poWer-off mode through a selection box.
[0087] Second case: When Whether to select sleep of the
mobile terminal device is determined in an automatic system
selection manner, the following may be included.
[0088] When the mobile terminal device detects that a user
selects poWer-off, the mobile terminal device detects Whether
the mobile terminal device is currently in a charging state, or
Whether a high de?nition multimedia interface (High De?ni
tion Multimedia Interface, HDMI) is inserted With an HDMI
line.
[0089] When the mobile terminal device detects that the
mobile terminal device is currently in the charging state or the
HDMI is inserted With the HDMI line, the mobile terminal
device performs a normal poWer-off procedure.
[0090] When the mobile terminal device detects that the
mobile terminal device is not in the charging state currently or
the HDMI is not inserted With the HDMI line, the mobile
terminal device automatically selects the sleep mode in place
of poWer-off, and the mobile terminal device begins steps S22
and S24.
[0091]
When a poWer interface and a USB interface on the
mobile terminal device are different, and When Whether to
select sleep of the mobile terminal device is determined in the
automatic system selection manner, the folloWing may be
further included.
[0092] The mobile terminal device detects Whether an
event that the poWer interface is inserted With a poWer line
occurs.
[0093] When the mobile terminal device detects that the
event that the poWer interface is inserted With the poWer line
occurs, the mobile terminal device automatically selects the
sleep mode in place of poWer-off, and begins to execute steps
S22 and S24.
[0094]
De?nitely, When the poWer interface and the USB
interface on the mobile terminal device are the same, and
When the mobile terminal device detects that the event that the
USB interface is inserted With a USB line occurs, the mobile
terminal device performs a normal poWer-off procedure.
[0095] Step S22: When determining to select sleep of the
[0098]
Step S26: turn off the service that is related to the
data connection and is in a tum-on state. In this embodiment,
the turning off the service that is related to the data connection
and is turned on includes turning on an offline mode and
turning off GPS.
[0099] Step S28: control a processor to enter a sleep mode.
In this embodiment, When the processor is controlled to enter
the sleep mode, the processor does not process communica
tion and application services again. In this embodiment, the
processor may be controlled to enter the sleep mode by setting
the current running state of the processor to a sleep state.
[0100]
In this embodiment, the processor may include mul
tiple models of processors, such as a single-core processor, a
dual-core processor, and a quad-core processor. In this
embodiment, When the processor is a single-core processor,
because a communication service and an application service
are processed by one processor, the single-core processor is
directly controlled to enter the sleep mode; When the proces
sor is a dual-core processor, it is required to control a proces
sor for processing a communication service and a processor
for processing an application service to enter the sleep mode;
When the processor is a quad-core processor, it is required to
control a processor for processing a communication service
and a processor for processing an application service to enter
the sleep mode. The rest may be deduced by analogy. When
the processor is a multi-core processor, it is required to con
trol a processor for processing a communication service and
a processor for processing an application service to enter the
sleep mode.
[0101]
After the processor enters the sleep mode, step S22
may end, so as to indicate that the mobile terminal device has
entered the sleep mode currently.
[0102] In the sleep method provided in the embodiment of
the present invention, by turning off the service that is related
to the data connection and is turned on, and controlling the
processor to enter the sleep mode, the service related to the
data connection and the use of the processor may be turned
off, and the poWer consumption of the mobile terminal device
in a standby state may be reduced. Compared With the prior
art, more services and apparatuses consuming energy are
turned off, and the poWer consumption of the mobile terminal
device is saved more than that in the prior art, so the use time
of the mobile terminal device is prolonged more.
[0103] FIG. 3 is a ?owchart of a sleep method according to
Embodiment 3 of the present invention.
[0104] In this embodiment, step S30: determine Whether to
select sleep of a mobile terminal device.
mobile terminal device, display a sleep effect in a manner of
[0105]
an animation or a Wait box on a display screen of the mobile
mobile terminal device may be determined in a user manual
terminal device, or prompt a sleep progress in a sound man
selection manner or an automatic system selection manner.
ner.
Separate descriptions are made beloW.
[0106] First case: When Whether to select sleep of the
[0096] While step S22 is being executed, the folloWing
steps may be synchronously executed.
[0097] Step S24: When it is determined to select sleep of a
mobile terminal device, the mobile terminal device records
service state information related to data connection. In this
embodiment, the service related to the data connection
In this embodiment, Whether to select sleep of the
mobile terminal device is determined in a user manual selec
tion manner, the folloWing may be included.
[0107] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, the mobile terminal device prompts Whether
includes GPS, WIFI, and Bluetooth. In this embodiment,
When the mobile terminal device is normally used, the service
the user selects to enter a sleep mode or enter a poWer-off
may have a current use state, so When the mobile terminal
[0108] When the user selects the sleep mode, the mobile
terminal device begins step S32.
[0109] When the user selects the poWer-off mode, the
device enters sleep, the mobile terminal device records infor
mation of a current use state of the service, and the recorded
state information is to be subsequently used to Wake the
mobile terminal device.
mode through a selection box.
mobile terminal device executes a normal poWer-off proce
dure, that is, it is poWered off.
Aug. 29, 2013
US 2013/0225238 A1
[0110] The mobile terminal device may provide an appli
cation for selecting sleep to be selected by the user manually,
this application for selecting sleep may be displayed on a
touch screen of the mobile terminal device, and When Whether
to select sleep of the mobile terminal device is determined in
the user manual selection manner, the following may be fur
ther included.
[0111] The mobile terminal device detects Whether the user
triggers the application for selecting sleep.
occurs, the mobile terminal device automatically selects the
sleep mode in place of poWer-off, and begins to execute step
S32.
[0125]
De?nitely, When the poWer interface and the USB
interface on the mobile terminal device are the same, and
When the mobile terminal device detects that the event that the
USB interface is inserted With a USB line occurs, the mobile
terminal device performs a normal poWer-off procedure.
When the mobile terminal device detects that the
[0126] Step S32: When it is determined to select sleep of a
mobile terminal device, the mobile terminal device records
user triggers the application for selecting sleep, the mobile
terminal device begins step S32.
[0113] When Whether to select sleep of the mobile terminal
service state information related to data connection. In this
embodiment, the service related to the data connection
[0112]
device is determined in the user manual selection manner, the
folloWing may be further included. The mobile terminal
device provides a selection box for selecting to enter the sleep
mode in a system setting interface, so as to be selected by the
user.
[0114] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, Whether the selection box of the sleep mode in
the system setting interface is selected is determined.
[0115] If it is determined that the selection box of the sleep
mode in the system setting interface is selected, that is, it is
determined that the user selects the sleep mode, the mobile
terminal device begins step S32.
[0116] If it is determined that the selection box of the sleep
mode in the system setting interface is not selected, that is, it
is determined that the user does not select the sleep mode, the
mobile terminal device executes a normal poWer-off proce
dure, that is, it is poWered off.
[0117] Alternatively, When it is determined that the selec
tion box of the sleep mode in the system setting interface is
not selected, the mobile terminal device may further prompt
Whether the user selects to enter the sleep mode or enter the
includes GPS, WIFI, and Bluetooth. In this embodiment,
When the mobile terminal device is normally used, the service
may have a current use state, so When the mobile terminal
device enters sleep, the mobile terminal device records infor
mation of a current use state of the service, and the recorded
state information is to be subsequently used to Wake the
mobile terminal device.
[0127] Step S34: turn off the service that is related to the
data connection and is in a tum-on state. In this embodiment,
the turning off the service that is related to the data connection
and is turned on includes turning on an offline mode and
turning off GPS.
[0128]
Step S36: kill or turn offa non-core process. In this
embodiment, core processes include a core process, a phone
process, a SYSTEM_UID process, and an android.process.
media process. In this embodiment, killing or turning off a
non-core process refers to killing or turning off a process
except the core processes.
[0129] Step S38: control a processor to enter a sleep mode.
In this embodiment, When the processor is controlled to enter
the sleep mode, the processor does not process communica
tion and application services again. In this embodiment, the
processor may be controlled to enter the sleep mode by setting
poWer-off mode through a selection box.
[0118] Second case: When Whether to select sleep of the
the current running state of the processor to a sleep state.
mobile terminal device is determined in an automatic system
selection manner, the folloWing may be included.
[0119] When the mobile terminal device detects that a user
tiple models of processors, such as a single-core processor, a
dual-core processor, and a quad-core processor. In this
selects poWer-off, the mobile terminal device detects Whether
the mobile terminal device is currently in a charging state, or
Whether a high de?nition multimedia interface (High De?ni
tion Multimedia Interface, HDMI) is inserted With an HDMI
line.
[0120] When the mobile terminal device detects that the
mobile terminal device is currently in the charging state or the
HDMI is inserted With the HDMI line, the mobile terminal
because a communication service and an application service
device performs a normal poWer-off procedure.
[0121] When the mobile terminal device detects that the
mobile terminal device is not in the charging state currently or
the HDMI is not inserted With the HDMI line, the mobile
terminal device automatically selects the sleep mode in place
of poWer-off, and the mobile terminal device begins step S32.
[0122]
When a poWer interface and a USB interface on the
mobile terminal device are different, and When Whether to
select sleep of the mobile terminal device is determined in the
automatic system selection manner, the folloWing may be
further included.
[0123] The mobile terminal device detects Whether an
event that the poWer interface is inserted With a poWer line
occurs.
[0124] When the mobile terminal device detects that the
event that the poWer interface is inserted With the poWer line
[0130]
In this embodiment, the processor may include mul
embodiment, When the processor is a single-core processor,
are processed by one processor, the single-core processor is
directly controlled to enter the sleep mode; When the proces
sor is a dual-core processor, it is required to control a proces
sor for processing a communication service and a processor
for processing an application service to enter the sleep mode;
When the processor is a quad-core processor, it is required to
control a processor for processing a communication service
and a processor for processing an application service to enter
the sleep mode. The rest may be deduced by analogy. When
the processor is a multi-core processor, it is required to con
trol a processor for processing a communication service and
a processor for processing an application service to enter the
sleep mode.
[0131] In this embodiment, after the application service of
the processor enters the sleep mode, the mobile terminal
device turns off its screen, that is, it indicates that the mobile
terminal device has entered the sleep mode.
[0132] In the sleep method provided in the embodiment of
the present invention, by turning off the service that is related
to the data connection and is turned on, and controlling the
processor to enter the sleep mode, the service related to the
data connection and the use of the processor may be turned
off, and the poWer consumption of the mobile terminal device
Aug. 29, 2013
US 2013/0225238 A1
in a standby state may be reduced. Compared With the prior
Whether the user selects to enter the sleep mode or enter the
art, more services and apparatuses consuming energy are
turned off, and the poWer consumption of the mobile terminal
poWer-off mode through a selection box.
[0148] Second case: When Whether to select sleep of the
device is saved more than that in the prior art, so the use time
of the mobile terminal device is prolonged more. Further
more, on the basis of Embodiment 1, because the non-core
mobile terminal device is determined in an automatic system
selection manner, the folloWing may be included.
[0149] When the mobile terminal device detects that a user
process is killed or turned off, the energy consumption of the
mobile terminal device may be further reduced.
[0133] FIG. 4 is a ?owchart of a sleep method according to
Embodiment 4 of the present invention.
[0134] In this embodiment, step S40: determine Whether to
select sleep of a mobile terminal device.
mobile terminal device may be determined in a user manual
selects poWer-off, the mobile terminal device detects Whether
the mobile terminal device is currently in a charging state, or
Whether a high de?nition multimedia interface (High De?ni
tion Multimedia Interface, HDMI) is inserted With an HDMI
line.
[0150] When the mobile terminal device detects that the
mobile terminal device is currently in the charging state or the
HDMI is inserted With the HDMI line, the mobile terminal
selection manner or an automatic system selection manner.
device performs a normal poWer-off procedure.
Separate descriptions are made beloW.
[0136] First case: When Whether to select sleep of the
[0151] When the mobile terminal device detects that the
mobile terminal device is not in the charging state currently or
the HDMI is not inserted With the HDMI line, the mobile
[0135]
In this embodiment, Whether to select sleep of the
mobile terminal device is determined in a user manual selec
tion manner, the folloWing may be included.
[0137] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
terminal device automatically selects the sleep mode in place
of poWer-off, and the mobile terminal device begins steps S42
and S44.
for a long time, the mobile terminal device prompts Whether
[0152]
the user selects to enter a sleep mode or enter a poWer-off
mobile terminal device are different, and When Whether to
mode through a selection box.
[0138] When the user selects the sleep mode, the mobile
terminal device begins steps S42 and S44.
[0139] When the user selects the poWer-off mode, the
mobile terminal device executes a normal poWer-off proce
dure, that is, it is poWered off.
[0140] The mobile terminal device may provide an appli
cation for selecting sleep to be selected by the user manually,
this application for selecting sleep may be displayed on a
touch screen of the mobile terminal device, and When Whether
to select sleep of the mobile terminal device is determined in
the user manual selection manner, the folloWing may be fur
ther included.
[0141] The mobile terminal device detects Whether the user
triggers the application for selecting sleep.
[0142]
When the mobile terminal device detects that the
When a poWer interface and a USB interface on the
select sleep of the mobile terminal device is determined in the
automatic system selection manner, the folloWing may be
further included.
[0153] The mobile terminal device detects Whether an
event that the poWer interface is inserted With a poWer line
occurs.
[0154] When the mobile terminal device detects that the
event that the poWer interface is inserted With the poWer line
occurs, the mobile terminal device automatically selects the
sleep mode in place of poWer-off, and begins to execute steps
S42 and S44.
[0155]
De?nitely, When the poWer interface and the USB
interface on the mobile terminal device are the same, and
When the mobile terminal device detects that the event that the
USB interface is inserted With a USB line occurs, the mobile
terminal device performs a normal poWer-off procedure.
[0156] Step S42: When determining to select sleep of the
user triggers the application for selecting sleep, the mobile
terminal device begins steps S42 and S44.
mobile terminal device, display a sleep effect in a manner of
[0143]
terminal device, or prompt a sleep progress in a sound man
When Whether to select sleep of the mobile terminal
device is determined in the user manual selection manner, the
following may be further included. The mobile tenninal
device provides a selection box for selecting to enter the sleep
mode in a system setting interface, so as to be selected by the
user.
[0144] When the mobile terminal device detects that a user
presses a poWer key on the mobile terminal device manually
for a long time, Whether the selection box of the sleep mode in
the system setting interface is selected is determined.
[0145] If it is determined that the selection box of the sleep
mode in the system setting interface is selected, that is, it is
determined that the user selects the sleep mode, the mobile
terminal device begins steps S42 and S44.
[0146] If it is determined that the selection box of the sleep
mode in the system setting interface is not selected, that is, it
is determined that the user does not select the sleep mode, the
mobile terminal device executes a normal poWer-off proce
an animation or a Wait box on a display screen of the mobile
ner.
[0157] While step S42 is being executed, the folloWing
steps may be synchronously executed.
[0158] Step S44: When it is determined to select sleep of a
mobile terminal device, the mobile terminal device records
service state information related to data connection. In this
embodiment, the service related to the data connection
includes GPS, WIFI, and Bluetooth. In this embodiment,
When the mobile terminal device is normally used, the service
may have a current use state, so When the mobile terminal
device enters sleep, the mobile terminal device records infor
mation of a current use state of the service, and the recorded
state information is to be subsequently used to Wake the
mobile terminal device.
[0159] Step S46: turn off the service that is related to the
data connection and is in a tum-on state. In this embodiment,
the turning off the service that is related to the data connection
dure, that is, it is poWered off.
[0147] Alternatively, When it is determined that the selec
tion box of the sleep mode in the system setting interface is
turning off GPS.
not selected, the mobile terminal device may further prompt
embodiment, core processes include a core process, a phone
and is turned on includes turning on an offline mode and
[0160]
Step S48: kill or turn offa non-core process. In this
Aug. 29, 2013
US 2013/0225238 A1
process, a SYSTEM_UID process, and an android.process.
media process. In this embodiment, killing or turning off a
non-core process refers to killing or turning off a process
except the core processes.
[0161] Step S49: control a processor to enter a sleep mode.
In this embodiment, When the processor is controlled to enter
the sleep mode, the processor does not process communica
processor is Waked; or only the application service of the
processor may be Waked, and the communication service of
the processor is not Waked, or Which is understood as folloWs,
the application service of the processor is Waked ?rst, and
then Whether to Wake the communication service of the pro
cessor is determined; or the application service and the com
munication service of the processor may be Waked simulta
tion and application services again. In this embodiment, the
processor may be controlled to enter the sleep mode by setting
neously.
the current running state of the processor to a sleep state.
tion service of the processor may be Waked ?rst, and then the
communication service of the processor is Waked; or only the
application service of the processor may be Waked, and the
communication service of the processor is not Waked may
include:
[01 62]
In this embodiment, the processor may include mul
tiple models of processors, such as a single-core processor, a
dual-core processor, and a quad-core processor. In this
embodiment, When the processor is a single-core processor,
because a communication service and an application service
are processed by one processor, the single-core processor is
directly controlled to enter the sleep mode; When the proces
sor is a dual-core processor, it is required to control a proces
sor for processing a communication service and a processor
for processing an application service to enter the sleep mode;
When the processor is a quad-core processor, it is required to
control a processor for processing a communication service
and a processor for processing an application service to enter
[0170]
[0171]
In this embodiment, the procedure that the applica
after Waking the application service of the proces
sor, determining Whether the current mobile terminal device
is inserted With a SIM card and Whether an offline mode is not
turned on;
[0172]
When determining that the current mobile terminal
device is inserted With the SIM card and the offline mode is
not turned on, Waking the communication service of the pro
cessor;
the sleep mode. The rest may be deduced by analogy. When
[0173]
the processor is a multi-core processor, it is required to con
trol a processor for processing a communication service and
a processor for processing an application service to enter the
device is inserted With the SIM card and the offline mode is
When determining that the current mobile terminal
may end, so as to indicate that the mobile terminal device has
turned on, or the mobile terminal device is not inserted With
the SIM card and the offline mode is turned on, or the mobile
terminal device is not inserted With the SIM card and the
offline mode is not turned on, not Waking the communication
service of the processor.
entered the sleep mode currently.
[0164] In the sleep method provided in the embodiment of
the present invention, by turning off the service that is related
[0174] When the processor is a dual-core processor, it is
required to Wake a processor for processing a communication
service and a processor for processing an application service,
sleep mode.
[0163]
After the processor enters the sleep mode, step S42
to the data connection and is turned on, and controlling the
processor to enter the sleep mode, the service related to the
data connection and the use of the processor may be turned
off, and the poWer consumption of the mobile terminal device
in a standby state may be reduced. Compared With the prior
art, more services and apparatuses consuming energy are
turned off, and the poWer consumption of the mobile terminal
device is saved more than that in the prior art, so the use time
of the mobile terminal device is prolonged more. Further
more, on the basis of Embodiment 1, because the non-core
process is killed or turned off, the energy consumption of the
mobile terminal device may be further reduced.
[0165] In this embodiment, after the mobile terminal device
is slept, if the user needs to enable the slept mobile terminal
device again, the user needs to Wake the mobile terminal
device. When the user needs to use the mobile terminal
device, the current mobile terminal device is Waked through a
user operation, and the current mobile terminal device may
also be Waked through an automatic system selection Wake
function of the mobile terminal device.
[0166]
Corresponding to Embodiment l, Embodiment 2,
Embodiment 3, and Embodiment 4, descriptions are made
separately beloW.
[0167]
FIG. 5 is a ?owchart of a Wake method according to
Embodiment 5 of the present invention.
[0168]
In this embodiment, corresponding to Embodiment
1, step S50: When determining that a mobile terminal device
needs to be Waked, Wake a processor that has entered sleep.
[0169] In this embodiment, When the processor is a single
core processor, the application service of the processor may
be Waked ?rst, and then the communication service of the
Where the processor for processing an application service
may be Waked ?rst, and then the processor for processing a
communication service is Waked; or only the processor for
processing an application service may be Waked, and the
processor for processing a communication service is not
Waked; or the processor for processing an application service
and the processor for processing a communication service
may be Waked simultaneously.
[0175] When the processor is a quad-core processor, it is
required to Wake a processor for processing a communication
service and a processor for processing an application service,
Where the processor for processing an application service
may be Waked ?rst, and then the processor for processing a
communication service is Waked; or only the processor for
processing an application service may be Waked, and the
processor for processing a communication service is not
Waked; or Which is understood as folloWs, the processor for
processing an application service is Waked ?rst, and then
Whether to Wake the processor for processing a communica
tion service is determined; or the processor for processing an
application service and the processor for processing a com
munication service may be Waked simultaneously.
[0176] The rest may be deduced by analogy. If the proces
sor is a multi-core processor, it is required to Wake a processor
for processing a communication service and a processor for
processing an application service.
[0177] In this embodiment, the procedure that a processor
for processing an application service may be Waked ?rst, and
then Whether to Wake a processor for processing a communi
cation service is determined may include:
Aug. 29, 2013
US 2013/0225238 A1
[0178]
after Waking the application service of the proces
this embodiment, the service related to the data connection
sor, determining Whether the current mobile terminal device
includes GPS, WIFI, and Bluetooth. Before entering sleep,
is inserted With a SIM card and Whether an offline mode is not
turned on;
the mobile terminal device records current information of the
turn-on state and the tum-off state of the service, and When
entering sleep, the mobile terminal device needs to turn off
the service that is related to the data connection and is in the
turn-on state, so at the time of Waking the mobile terminal
device, the service that is related to the data connection and is
in the tum-on state and is turned off in the sleep mode needs
to be restored.
[0186] After the steps are executed, it may be considered
that the mobile terminal device is Waked, and the mobile
terminal device enters the system and displays a boot screen.
[0179]
When determining that the current mobile terminal
device is inserted With the SIM card and the of?ine mode is
not turned on, Waking the communication service of the pro
cessor;
[0180]
When determining that the current mobile terminal
device is inserted With the SIM card and the of?ine mode is
turned on, or the mobile terminal device is not inserted With
the SIM card and the of?ine mode is turned on, or the mobile
terminal device is not inserted With the SIM card and the
offline mode is not turned on, not Waking the communication
service of the processor.
[0181]
In this embodiment, the procedure of determining
that a mobile terminal device needs to be Waked may include:
[0182] detecting Whether the poWer key of the current
mobile terminal device is pressed, or detecting Whether the
poWer interface of the current mobile terminal device is
inserted With a poWer line, or detecting Whether the HDMI of
the current mobile terminal device is inserted With an HDMI
line, or detecting Whether the SIM card of the current mobile
terminal device is plugged or unplugged, Which may also be
understood as folloWs, detecting Whether an event that a
poWer key is pressed occurs, or Whether an event that a poWer
interface is inserted With a poWer line occurs, or Whether an
event that an HDMI is inserted With an HDMI line occurs, or
Whether an event that a SIM card is plugged or unplugged
occurs in the current mobile terminal device;
[0183] if detecting that the poWer key of the current mobile
terminal device is pressed, or detecting that the poWer inter
[0187] In the Wake method provided in the embodiment of
the present invention, When it is determined that the mobile
terminal device needs to be Waked, by Waking the processor
that has entered sleep and restoring the service that is related
to the data connection and is in the turn-on state and is turned
off in the sleep mode, the mobile terminal device is Waked,
and the mobile terminal device enters the system and displays
a boot screen. Compared With the prior art in Which a normal
startup procedure makes a user Wait for a very long time, it is
not required to execute operations of initialiZing the system
and loading each system program in the startup procedure in
the prior art, and it is only required to Wake the processor that
has entered sleep and restore the service that is related to the
data connection and is in the tum-on state and is turned off in
the sleep mode, the mobile terminal device can be quickly
Waked, and the mobile terminal device enters the system and
displays a boot screen. In this Way, the user does not need to
select a poWer-off manner to save the poWer consumption of
the mobile terminal device, and When a mobile phone is
face of the current mobile terminal device is inserted With the
poWer line, or detecting that the HDMI of the current mobile
terminal device is inserted With the HDMI line, or detecting
that the SIM card of the current mobile terminal device is
required, the user does not need to start up the mobile terminal
plugged or unplugged, determining that the mobile terminal
in the embodiment of the present invention, the mobile ter
minal device may be quickly Waked in the time of 2S.
[0189] In this embodiment, alternatively, on the basis of
FIG. 5, an additional operation may be added optionally. For
example, When it is determined that the mobile terminal
device needs to be Waked, a Wake effect is displayed through
device needs to be Waked, Which may also be understood as
folloWs, if detecting that the event that the poWer key is
pressed occurs, or the event that the poWer interface is
inserted With the poWer line occurs, or the event that the
HDMI is inserted With the HDMI line occurs, or the event that
the SIM card is plugged or unplugged occurs in the current
mobile terminal device, determining that the mobile terminal
device needs to be Waked;
[0184] if detecting that the poWer key of the current mobile
device again to enable it to begin normal Work, thereby
greatly improving user experience.
[0188]
In this embodiment, With the Wake method provided
an animation or a Wait box on a display screen of the mobile
terminal device, or a Wake progress is prompted through a
sound. De?nitely, the operation may be performed together
or the event that the HDMI is inserted With the HDMI line
does not occur, or the event that the SIM card is plugged or
unplugged does not occur in the current mobile terminal
With other steps simultaneously. In this embodiment, if an
additional operation may be added optionally on the basis of
FIG. 5, the time for Waking the mobile terminal device may be
prolonged, but is still shorter than the startup time of the prior
art. In this embodiment, an additional operation may be added
optionally, and the mobile terminal device may be quickly
Waked in the time of 5S. MeanWhile, the Wake effect of the
current mobile terminal device may also be prompted for the
user at any time, thereby improving user experience.
[0190] Alternatively, if killing or turning off a non-core
process is executed in a sleep procedure, in a Wake procedure,
after the service that is related to the data connection and is in
the tum-on state and is turned off in the sleep mode is
restored, a starting complete message is sent to an application
device, determining that the mobile terminal device does not
in the mobile terminal device, so as to implement that a
need to be Waked.
[0185] Step S52: restore a service that is related to data
connection and is in a tum-on state and is turned off in a sleep
mode, so that the mobile terminal device enters a system. In
service running in need of startup begins to run in a startup
procedure. In this embodiment, if an additional operation
may be added optionally on the basis of FIG. 5, the time for
Waking the mobile terminal device may be prolonged, but is
terminal device is not pressed, or detecting that the poWer
interface of the current mobile terminal device is not inserted
With the poWer line, or detecting that the HDMI of the current
mobile terminal device is not inserted With the HDMI line, or
detecting that the SIM card of the current mobile terminal
device is not plugged or unplugged, determining that the
mobile terminal device does not need to be Waked, Which may
also be understood as folloWs, if detecting that the event that
the poWer key is pressed does not occur, or the event that the
poWer interface is inserted With the poWer line does not occur,
Aug. 29, 2013
US 2013/0225238 A1
still shorter than the star‘tup time of the prior art. In this
embodiment, an additional operation may be added option
ally, and the mobile terminal device may be quickly Waked in
[0199] While step S61 is being executed, the folloWing
steps may be synchronously executed.
[0200] Step S62: When determining that a mobile terminal
the time of 5S.
[0191] The Wake method of Embodiment l in combination
device needs to be Waked, Wake a processor that has entered
With the alternative operation is described beloW.
Embodiment 6 of the present invention.
[0201] Step S64: restore a service that is related to data
connection and is in a tum-on state and is turned off in a sleep
mode, so that the mobile terminal device enters a system. In
[0193]
this embodiment, the service related to the data connection
[0192]
FIG. 6 is a ?owchart of a Wake method according to
In this embodiment, corresponding to Embodiment
2, step S60: determine Whether a mobile terminal device
needs to be Waked.
[0194]
In this embodiment, the procedure of determining
Whether the mobile terminal device needs to be Waked may
include:
[0195] detecting Whether a poWer key of the current mobile
terminal device is pressed, or detecting Whether a poWer
interface of the current mobile terminal device is inserted
With a poWer line, or detecting Whether an HDMI of the
current mobile terminal device is inserted With an HDMI line,
or detecting Whether a SIM card of the current mobile termi
nal device is plugged or unplugged; Which may also be under
stood as folloWs, detecting Whether an event that a poWer key
is pressed occurs, or Whether an event that a poWer interface
is inserted With a poWer line occurs, or Whether an event that
an HDMI is inserted With an HDMI line occurs, or Whether an
event that a SIM card is plugged or unplugged occurs in the
current mobile terminal device;
[0196] if detecting that the poWer key of the current mobile
terminal device is pressed, or detecting that the poWer inter
face of the current mobile terminal device is inserted With the
poWer line, or detecting that the HDMI of the current mobile
terminal device is inserted With the HDMI line, or detecting
that the SIM card of the current mobile terminal device is
sleep.
includes GPS, WIFI, and Bluetooth. Before entering sleep,
the mobile terminal device records current information of the
turn-on state and the tum-off state of the service, and When
entering sleep, the mobile terminal device needs to turn off
the service that is related to the data connection and is in the
turn-on state, so at the time of Waking the mobile terminal
device, the service that is related to the data connection and is
in the tum-on state and is turned off in the sleep mode needs
to be restored.
[0202] After the steps are executed, it may be considered
that the mobile terminal device is Waked, step S61 may end,
and the mobile terminal device enters the system and displays
a boot screen. In this embodiment, in the case of displaying
the Wake effect through an animation or a Wait box on the
display screen of the mobile terminal device or prompting the
Wake progress through a sound, the display time of the ani
mation or Wait box or the prompt time of the sound may be
greater than or equal to the time used to execute steps S62 and
S64.
[0203] In the Wake method provided in the embodiment of
the present invention, When it is determined that the mobile
terminal device needs to be Waked, by Waking the processor
that has entered sleep and restoring the service that is related
to the data connection and is in the turn-on state and is turned
plugged or unplugged, determining that the mobile terminal
device needs to be Waked, and executing steps S61 and S62,
off in the sleep mode, the mobile terminal device is Waked,
and the mobile terminal device enters the system and displays
Which may also be understood as folloWs, if detecting that the
event that the poWer key is pressed occurs, or the event that the
a boot screen. Compared With the prior art in Which a normal
star‘tup procedure makes a user Wait for a very long time, it is
poWer interface is inserted With the poWer line occurs, or the
event that the HDMI is inserted With the HDMI line occurs, or
the event that the SIM card is plugged or unplugged occurs in
not required to execute operations of initializing the system
and loading each system program in the star‘tup procedure in
the prior art, and it is only required to Wake the processor that
the current mobile terminal device, determining that the
mobile terminal device needs to be Waked, and executing
steps S61 and S62;
[0197] if detecting that the poWer key of the current mobile
terminal device is not pressed, or detecting that the poWer
has entered sleep and restore the service that is related to the
data connection and is in the tum-on state and is turned off in
the sleep mode, the mobile terminal device can be quickly
Waked, and the mobile terminal device enters the system and
interface of the current mobile terminal device is not inserted
With the poWer line, or detecting that the HDMI of the current
mobile terminal device is not inserted With the HDMI line, or
detecting that the SIM card of the current mobile terminal
required, the user does not need to start up the mobile terminal
device is not plugged or unplugged, determining that the
mobile terminal device does not need to be Waked, Which may
also be understood as folloWs, if detecting that the event that
the poWer key is pressed does not occur, or the event that the
poWer interface is inserted With the poWer line does not occur,
or the event that the HDMI is inserted With the HDMI line
does not occur, or the event that the SIM card is plugged or
unplugged does not occur in the current mobile terminal
device, determining that the mobile terminal device does not
need to be Waked, Where the mobile terminal device does not
respond, that is, does not perform any operation.
[0198] Step S61: When determining that the mobile termi
nal device needs to be Waked, display a Wake effect through
an animation or a Wait box on a display screen of the mobile
terminal device, or prompt a Wake progress through a sound.
displays a boot screen. In this Way, the user does not need to
select a poWer-off manner to save the poWer consumption of
the mobile terminal device, and When a mobile phone is
device again to enable it to begin normal Work, thereby
greatly improving user experience.
[0204]
FIG. 7 is a ?owchart of a Wake method according to
Embodiment 7 of the present invention.
[0205]
In this embodiment, corresponding to Embodiment
3, step S70: determine Whether a mobile terminal device
needs to be Waked.
[0206]
In this embodiment, the procedure of determining
Whether the mobile terminal device needs to be Waked may
include:
[0207] detecting Whether a poWer key of the current mobile
terminal device is pressed, or detecting Whether a poWer
interface of the current mobile terminal device is inserted
With a poWer line, or detecting Whether an HDMI of the
current mobile terminal device is inserted With an HDMI line,
or detecting Whether a SIM card of the current mobile termi