Home
Sleep method, wake method and mobile terminal device
Contents
1. 94 Control unit pn E Sleep determining unit 90 Recording unit ie y yr 93 Sleep prompt unit Turn off unit Control unit Patent Application Publication Aug 29 2013 Sheet 8 of 10 US 2013 0225238 A1 l Mobile terminal device 91 Sleep determining unit a E Recording unit m Turn off unit a i Control unit aa NE e mac aaa ir DIE E FIG 11 Mobile terminal device E Sleep determining unit a 90 Recording unit e T o N Sleep prompt unit Turn off unit Control unit ke N o a e e a e o os Patent Application Publication Aug 29 2013 Sheet 9 of 10 Mobile terminal device module 95 Wake determining y Wake unit 961 CG 962 sub unit sub unit 97 Restoring unit a First wake __ Second wake A Wake determining module First wake Second wake Wake sub unit sub unit prompt unit Wake unit 961 962 a a US 2013 0225238 A1 Patent Application Publication Aug 29 2013 Sheet 10 of 10 US 2013 0225238 A1 Wake determining po 2a module
2. Ifit is determined that the selection box of the sleep mode in the system setting interface is not selected that is it US 2013 0225238 Al 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 definition multimedia interface High Defini 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 termi
3. Wake unit 961 C O 962 First wake Second wake sub unit sub unit 97 Restoring unit module Wake unit i 961 First wake Second wake Wake sub unit sub unit prompt unit 97 Restoring unit aa 99 Sending unit a US 2013 0225238 Al 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 filed on Feb 25 2012 which is hereby incorporated by reference in its entirety FIELD OF THE INVENTION 0002 The present invention relates to the field of commu nication technologies and in particular to a sleep method a wake method and a mobile terminal device BACKGROUND OF THE INVENTION 0003 Asa 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 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 ally by using a standby function so that the mobile terminal device is in an off screen standby state when the
4. 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 Aug 29 2013 occurs the mobile terminal device automatically selects the sleep mode in place of power off and begins to execute step S32 0125 Definitely 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 0126 Step S32 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 0127 Step S34 turn off the service that is related to the data connection and is in a turn on state In this embodiment the turning off the servic
5. 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 Inthis 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 1 Embodiment 2 Embodiment 3 and Embodiment 4 descriptions are made separately below 0167 FIG 5 isa flowchart 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 first and then the communication service of the Aug 29 2013 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 first and then whether to wake t
6. record the service state information related to data connection 0243 Ifitis 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 0244 Alternatively when it is determined that the selec tion box of the sleep mode in the system setting interface is not selected the sleep determining unit 91 may further prompt whether the user selects to enter the sleep mode or enter the power off mode through a selection box Aug 29 2013 0245 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 0246 When the sleep determining unit 91 detects that a user selects power off the sleep determining unit 91 detects whether the mobile terminal device is currently in a charging state or whether a high definition multimedia interface High Definition Multimedia Interface HDMI is inserted with an HDMI line 0247 When the sleep determining unit 91 detects that the mobile terminal device is currently in the charging state or the HDMI is inserted with the HDMI line the sleep determining unit 91 determines to perform a normal power off procedure 0248 When the sleep determining unit 91 detects that the mobile terminal device is not in
7. 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 0163 After the processor enters the sleep mode step S42 may end so as to indicate that the mobile terminal device has entered the sleep mode currently 0164 Inthe 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 Further more
8. a mobile terminal device according to Embodiment 2 of the present invention 0032 FIG 11 isa structural diagram of a mobile terminal device according to Embodiment 3 of the present invention 0033 FIG 12 isa structural diagram of a mobile terminal device according to Embodiment 4 of the present invention 0034 FIG 13 is a structural diagram of a mobile terminal device according to Embodiment 5 of the present invention 0035 FIG 14 is a structural diagram of a mobile terminal device according to Embodiment 6 of the present invention 0036 FIG 15 isa structural diagram of a mobile terminal device according to Embodiment 7 of the present invention 0037 FIG 16 is a structural diagram of a mobile terminal device according to Embodiment 8 of the present invention US 2013 0225238 Al 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 the present invention All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention 0039 In this embodiment when a use
9. detected that a the user presses the power key on the mobile terminal device for a pre set time period expired determine whether the selection box of the Aug 29 2013 sleep mode in a system setting interface is selected and when determining that the selection box of the sleep mode in the system setting interface is selected deter mine that the user selects the sleep mode 26 The mobile terminal device according to claim 13 wherein the sleep determining unit is further configured to detect whether a user triggers an application for selecting sleep provided by the mobile terminal device and when the mobile terminal device detects that the user triggers the appli cation for selecting the sleep mode determine to select the sleep mode of the mobile terminal device 27 The mobile terminal device according to claim 22 wherein when the processor is a multi core processor the wake unit is further configured to wake a processor for pro cessing an application service and a processor for processing a communication service simultaneously
10. device detects that a user presses a power key on the mobile terminal device for a pre set time period expired prompting by the mobile terminal device whether the user selects to enter the sleep mode through a selection box and when it is detected that the user selects the sleep mode determining to select the sleep mode of the mobile ter minal device b wherein determining to select the sleep mode of the mobile terminal device in the user manual selection manner further comprises detecting whether the user triggers an application for selecting sleep provided by the mobile terminal device when the mobile terminal device detects that the user trig gers the application for selecting sleep determining to select the sleep mode ofthe mobile terminal device and c wherein determining to select the sleep mode of the mobile terminal device in the user manual selection manner further comprises US 2013 0225238 Al when the mobile terminal device detects that the user presses the power key on the mobile terminal device manually for a pre set time period expired determining whether the selection box of the sleep mode in a system setting interface is selected if determining that the selection box of the sleep mode in the system setting interface is selected determining to select the sleep mode of the mobile terminal device 4 canceled 5 The method according to claim 1 wherein the service related to the data connection compri
11. embodiment with the mobile terminal device provided in the embodiment of the present invention the mobile terminal device may be quickly waked in the time of 28 0280 FIG 14 is a structural diagram of a mobile terminal device according to Embodiment 6 of the present invention 0281 In this embodiment corresponding to Embodiment 6 alternatively on the basis of FIG 13 the mobile terminal device may further include a wake prompt unit 98 configured to when the wake determining module 95 determines that the mobile terminal 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 0282 In this embodiment the user is prompted in a man ner that a wake effect is displayed through an animation or a wait box on a display screen of the mobile terminal device or a wake progress is prompted through a sound to achieve improvement of user experience 0283 In this embodiment if an additional operation may be added optionally on the basis of FIG 13 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 option ally and the mobile terminal device may be quickly waked in the time of 5S US 2013 0225238 Al 0284 FIG 15 is a structural diagram of a mobile terminal device according to Emb
12. enters sleep the mobile terminal device records current infor mation of a turn on state and a turn off state of the service and the recorded state information is to be subsequently used to wake the mobile terminal device 0230 The turn off unit 92 is configured to according to the service state information related to the data connection recorded by the recording unit 90 turn off the service that is related to the data connection and is in a turn on state In this embodiment 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 0231 The control unit 94 is configured to after the turn off unit 92 turns off the service that is related to the data connection and is in the turn on state 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 communication 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 proces sor to a sleep state 0232 Inthis 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 sin
13. event that the power interface is inserted with a power line occurs 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 sleep mode in place of power off and begins to execute step S10 US 2013 0225238 Al 0063 Definitely 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 0064 Step S12 according to the recorded service state information related to the data connection turn off a service that is related to the data connection and is in a turn 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
14. for processing an application service may be waked and the processor for processing a communication service is not waked or which may be understood as follows the processor for processing an application service is waked first 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 0269 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 0270 Inthis embodiment when the application service of the processor may be waked first and then whether to wake the communication service of the processor is determined the wake unit 96 includes a first wake sub unit 961 and a second wake sub unit 962 0271 The first wake sub unit 961 is configured to wake a processor for processing an application service The second wake sub unit 962 is configured to after the processor for processing an application service is waked determine whether the current mobile terminal device is inserted with a SIM card and whether an offline mode is not turned on In this embodiment the second wake sub unit 962 is further config ured to when determining that the current mobile terminal US 2013 0225238 Al device is inserted with
15. if detecting that the power key of the current mobile 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 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 0210 Step S71 when determining that a mobile terminal device needs to be waked wake a processor that has entered sleep 0211 Step S72 restore a service that is related to data connection and is in a turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system In this embodiment the service related to the data connection includes GPS WIFI and Bluetooth Before entering sleep the mobile terminal device r
16. service related to the data connection includes GPS WIFI and Bluetooth Before entering sleep the mobile terminal device records current information of the turn on state and the turn 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 turn on state and is turned off in the sleep mode needs to be restored 0224 Step S84 send a starting complete message to an application in the mobile terminal device so as to implement that a service running in need of startup begins to run in a startup procedure 0225 After the steps are executed it may be considered that the mobile terminal device is waked step S81 may end and the mobile terminal device enters the system and displays a boot screen 0226 Inthe 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 wai
17. sleep determining unit 91 detects that the user triggers the application for selecting sleep the sleep determining unit 91 determines that the user selects the sleep mode and the recording unit 90 begins to record the service state information related to data connection That is the recording unit 90 is configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device record the service state information related to data connection 0240 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 0241 When detecting that the user presses the power key on the mobile terminal device manually for a long time the sleep determining unit 91 determines whether a selection box of the sleep mode in the system setting interface is selected 0242 Ifitis determined that the selection box of the sleep mode in the system setting interface is selected that is the sleep determining unit 91 determines that the user selects the sleep mode the recording unit 90 begins to record the service state information related to data connection That is the recording unit 90 is configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device
18. 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 turn 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 required the user does not need to start up the mobile terminal device again to enable it to begin normal work thereby greatly improving user experience 0215 FIG 8 isa flowchart of a wake method according to Embodiment 8 of the present invention 0216 In this embodiment corresponding to Embodiment 4 step S80 determine whether a mobile terminal device needs to be waked 0217 In this embodiment the procedure of determining whether the mobile terminal device needs to be waked may include 0218 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
19. that a processor for processing an application service may be waked first and then whether to wake a processor for processing a communi cation service is determined may include US 2013 0225238 Al 0178 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 0179 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 0180 when determining that the current mobile terminal device is 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 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
20. the SIM card and the offline mode is not turned on wake a processor for processing a communi cation service or when determining that the current mobile terminal device is 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 turned on or the mobile terminal device is not inserted with the SIM card and the offline mode is not turned on not wake the processor for processing a communication service 0272 The restoring unit 97 is configured to restore a ser vice that is related to data connection and is in a turn on state and is turned off in a sleep mode In this embodiment the service related to the data connection includes GPS WIFI and Bluetooth Before entering sleep the mobile terminal device records current information of the turn on state and the turn 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 turn on state and is turned off in the sleep mode needs to be restored 0273 In this embodiment through the execution opera tions of the wake unit 96 and the restoring unit 97 it may be considered that the mobile terminal device is waked and the mobile terminal device enters a system and displays a
21. the application service of the processor may be waked first 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 or which may be understood as follows the appli cation service of the processor is waked first and then whether to wake the communication service of the processor is determined or the application service and the communica tion service of the processor may be waked simultaneously 0265 Inthis embodiment when the application service of the processor may be waked first and then whether to wake Aug 29 2013 the communication service of the processor is determined the wake unit 96 includes a first wake sub unit 961 and a second wake sub unit 962 0266 The first wake sub unit 961 is configured to wake the application service of the processor The second wake sub unit 962 is configured to after the application service of the processor is waked determine whether the current mobile terminal device is inserted with a SIM card and whether an offline mode is not turned on In this embodiment the second wake sub unit 962 is further configured to when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is not turned on wake the communication service of the processor or when determin ing that the current mobile terminal device is inserted with th
22. the charging state currently or the HDMI is not inserted with the HDMI line the sleep determining unit 91 automatically selects the sleep mode in place of power off and the recording unit 90 begins to record the service state information related to data connection That is the recording unit 90 is configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device record the service state information related to data connection 0249 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 sleep determining unit 91 is further configured to detect whether an event that the power interface is inserted with a power line occurs When detecting that the event that the power interface is inserted with the power line occurs the sleep determining unit 91 automatically selects the sleep mode in place of power off 0250 Definitely when the power interface and the USB interface on the mobile terminal device are the same and when the sleep determining unit 91 detects that an event that the USB interface is inserted with a USB line occurs the sleep determining unit 91 determines to perform a normal power off procedure 0251 In the mobile terminal device provided in the embodiment of the present invention by turning off the ser vice that is related to the
23. 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 turn 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 0160 Step S48 kill or turn off a non core process In this embodiment core processes include a core process a phone US 2013 0225238 Al 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 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 0162 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
24. through a sound 0255 In this embodiment the user is prompted in a man ner that a sleep effect is displayed through an animation or a wait box on a display screen of the mobile terminal device or a sleep progress is prompted through a sound to achieve improvement of user experience 0256 FIG 11 is a structural diagram of a mobile terminal device according to Embodiment 3 of the present invention 0257 In this embodiment on the basis of FIG 9 alterna tively the turn off unit 92 may be further configured to after turning off the service that is related to the data connection and is in a turn on state kill or turn off a 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 offa non core process refers to killing or turning offa process except the core processes 0258 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 0259 FIG 12 isa structural diagram of a mobile terminal device according to Embodiment 4 of the present invention 0260 In this embodiment on the basis of FIG 9 alterna tively in combination with FIG 10 and FIG 11 the mobile terminal device may include the sleep prompt unit 93 and the turn off unit 92 simultaneously where the turn off unit 92 is configured
25. 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 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 plugged or unplugged determining that the mobile terminal 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 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 HD
26. user experience of the user for the mobile terminal device is influenced thereby deteriorating the user experience SUMMARY OF THE INVENTION 0007 An embodiments of the present invention adopt the following technical solutions 0008 A sleep method includes 0009 when determining to select sleep of a mobile termi nal device recording by the mobile terminal device service state information related to data connection Aug 29 2013 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 turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system 0015 A mobile terminal device applied to sleep includes 0016 arecording unit configured to when determining to select sleep of a mobile terminal device record service state information related to data connection 0017 a turn off unit configured 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 co
27. 4 is a flowchart 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 0135 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 0136 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 0137 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 the user selects to enter a sleep mode or enter a power off 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 mobil
28. I and Bluetooth Before entering sleep the mobile terminal device records current information of the turn on state and the turn 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 turn 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 off in the sleep mode the mobile terminal device is waked and the mobile terminal device enters the system and displays
29. MI 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 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 0185 Step S52 restore a service that is related to data connection and is in a turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system In Aug 29 2013 this embodiment the service related to the data connection includes GPS WIFI and Bluetooth Before entering sleep the mobile terminal device records current information of the turn on state and the turn 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 turn on state and is turned off in the sleep mode needs to be resto
30. US 20130225238A1 as United States a2 Patent Application Publication o Pub No US 2013 0225238 Al HE 43 Pub Date Aug 29 2013 54 SLEEP METHOD WAKE METHOD AND Publication Classification MOBILE TERMINAL DEVICE 51 Int Cl 71 Applicant Huawei Device Co Ltd US H04W 52 02 2009 01 HO4W 88 02 2009 01 72 Inventor Miao HE Wuhan CN 52 U S Cl USPE catas 455 558 455 574 73 Assignee HUAWEI DEVICE CO LTD 57 ABSTRACT Shenzhen CN The present invention discloses a sleep method including when determining select a sleep mode of a mobile terminal 21 Appl No 13 622 677 device recording by the mobile terminal device service state information related to data connection according to the 22 Filed Sep 19 2012 recorded service state information related to the data connec tion turning off a service that is related to the data connection 30 Foreign Application Priority Data and is in a turn on state and controlling a processor to enter a sleep mode thereby saving the power consumption of the Feb 25 2012 CN nonien 201210045673 X mobile terminal device more than that in the prior art When determining to select a sleep mode of a mobile terminal o S10 device the mobile terminal device records service state information related to data connection y According to the recorded service state information related to the VIT S12 data connection turn off a service related to the data connectio
31. 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 turn on state and is turned offin 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 required the user does not need to start up the mobile terminal device again to enable it to begin normal work thereby greatly improving user experience 0204 FIG 7 is a flowchart 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
32. ake the processor for process ing the communication service comprises after waking the processor for processing the application service determining whether the current mobile termi nal device is inserted with the SIM card and whether the offline mode is not turned on when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is not turned on waking the processor for processing the com munication service and when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is not turned on not waking the processor for processing the communi cation service 12 canceled 13 A mobile terminal device applied to sleep comprising a recording unit configured to when it is determined to select a sleep mode of the mobile terminal device record service state information related to data connection a turn off unit configured to according to the recorded service state information related to the data connection turn off a service that is related to the data connection and is in a turn on state and a control unit configured to control a processor to enter a sleep mode US 2013 0225238 Al wherein the sleep determining unit is fu
33. 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 0219 ifdetecting 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 plugged or unplugged determining that the mobile terminal device needs to be waked and executing steps S81 and S82 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 and executing steps S81 and S82 0220 if detecting that the power key of the current mobile 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
34. and is in a IT S72 turn 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 application in NT 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 of 10 US 2013 0225238 A1 S80 7 Determine whether a mobile terminal device needs to be waked S82 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 v needs to be waked display a S81 wake effect through an pr Restore a service that is related to data 883 animation or a wait box on a connection and is in a turn on state and is display screen of the mobile turned off in the sleep mode so that the terminal device or prompt a mobile terminal device enters a system wake progress through a sound 1 Send a starting complete message to an S84 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 Patent Application Publication Aug 29 2013 Sheet 7 of 10 US 2013 0225238 A1 Mobile terminal device Sleep determining unit 90 Recording unit m Turn off unit
35. bile terminal device enters sleep the mobile terminal device records current information of a turn 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 for a long time the mobile terminal device prompts whether the user selects to enter a sleep mode or enter a power off 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 mobile terminal device executes a normal power off proce dure that is it is powered off 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 Aug 29 2013 to select the sleep of the mobile terminal device is determined in the user manual selec
36. boot screen 0274 In this embodiment the mobile terminal device may further include a wake determining module 95 configured to determine whether the mobile terminal device needs to be waked 0275 In this embodiment the determining module 95 is further configured to determine whether the mobile terminal device needs to be waked by 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 terminal device is plugged or unplugged which may also be understood as determine whether the mobile terminal device needs to be waked by 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 0276 The wake determining module 95 is further config ured to 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 in
37. cation service may be waked first 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 first 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 first 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
38. 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 0252 FIG 10 is a structural diagram of a mobile terminal device according to Embodiment 2 of the present invention 0253 In this embodiment on the basis of FIG 9 alterna tively the mobile terminal device may further include a sleep prompt unit 93 which is configured to when it is determined to select sleep of the mobile terminal device display a sleep effect through an animation or a wait box on a display screen of the mobile terminal device or prompt a sleep progress through a sound 0254 In this embodiment the sleep prompt unit 93 is further configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device display a sleep effect through an animation or a wait box on a US 2013 0225238 Al display screen of the mobile terminal device or prompt a sleep progress
39. diment corresponding to Embodiment 8 alternatively on the basis of FIG 13 the mobile terminal device may further include a wake prompt unit 98 and a sending unit 99 The sending unit 99 is configured to after the service that is related to the data connection and is in the turn on state and is turned off in the sleep mode is restored send a starting complete message to an application in the mobile terminal device so as to implement that a service running in need of startup begins to run in a startup procedure The wake prompt unit 98 is configured to when the wake determining module 95 determines that the mobile terminal 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 0289 The sequence numbers of the preceding embodi ments of the present invention are merely for the purpose of description but do not indicate the preference of the embodi ments 0290 Persons of ordinary skill in the art should under stand that all or a part of the processes of the methods in the embodiments may be implemented by a computer program instructing relevant hardware The program may be stored in a computer readable storage medium When the program runs the process of each method embodiment is performed The storage medium may be a magnetic disk an optical disk a Read Only Memory Read Only Memory ROM a Ran dom Access Memo
40. 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 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 0068 Inthe 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
41. e 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 turned on or the mobile terminal device is not inserted with the SIM card and the offline mode is not turned on not wake the communication service of the processor 0267 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 where the processor for processing an application service may be waked first 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 may be understood as follows the processor for processing an application service is waked first 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 0268 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 first and then the processor for processing a communication service is waked or only the processor
42. e terminal device detects whether the user triggers the application for selecting sleep 0142 When the mobile terminal device detects that the user triggers the application for selecting sleep the mobile terminal device begins steps S42 and S44 0143 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 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 Ifitis 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 Ifitis 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 0147 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 de
43. e 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 off a 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 the current running state of the processor to a sleep state 0130 Inthis 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 c
44. ecords current information of the turn on state and the turn 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 turn on state and is turned off in the sleep mode needs to be restored 0212 Step S73 send a starting complete message to an application in the mobile terminal device so as to implement that a service running in need of startup begins to run in a startup procedure 0213 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 0214 Inthe wake method provided in the embodiment of the present invention when it is determined that the mobile Aug 29 2013 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
45. ed does not occur in the current mobile terminal device determine that the mobile terminal device does not need to be waked 0278 In the mobile terminal device 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 offin 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 anormal startup procedure makes a user wait fora very long time it is not required to execute operations of initializ ing 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 turn 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 required the user does not need to start up the mobile terminal device again to enable it to begin normal work thereby greatly improving user experience 0279 Inthis
46. er an event that a power interface is inserted with a power line occurs b whether an event that a high definition mul timedia interface HDMI is inserted with an HDMI line occurs and c whether an event that a Subscriber Iden tification Module SIM card is plugged or unplugged occurs in the current mobile terminal device and when detecting one of the group consisting of 1 the event that the power interface is inserted with the power line occurs ii the event that the HDMI is inserted with the HDMI line occurs and 111 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 9 The method according to claim 8 wherein when the processor is a single core processor waking the processor that has entered the sleep mode comprises first waking an application service of the processor and then determining whether to wake a communication service of the processor and wherein first waking the application service of the proces sor and then determining whether to wake the commu nication service of the processor comprises 16 Aug 29 2013 after waking the application service of the processor deter mining whether the current mobile terminal device is inserted with a SIM card and whether an offline mode is not turned on when determining that the current mobile terminal device is inserted with the SIM card and the offline
47. er 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 plugged or unplugged determining that the mobile terminal device needs to be waked and executing steps S61 and S62 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 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 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 w
48. essing a com munication service 23 The mobile terminal device according to claim 22 wherein when the processor is a multi core processor and wherein the wake unit comprises a first wake sub unit and a second wake sub unit wherein the first wake sub unit is configured to wake the processor for processing an application service the second wake sub unit is configured to after the proces sor for processing an application service is waked deter mine whether the current mobile terminal device is inserted with the SIM card and whether the offline mode is not turned on wherein the second wake sub unit is further configured to when determining that the current mobile terminal device is inserted with the SIM card and the offline mode US 2013 0225238 Al is not turned on wake the processor for processing a communication service and wherein the second wake sub unit is further configured to when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is not turned on not wake the processor for processing the communica tion service 24 canceled 25 The mobile terminal device according to claim 13 wherein the sleep determining unit is further configured to when it is
49. gle 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 0233 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 0234 Inthis embodiment the mobile terminal device may further include a sleep determining unit 91 where the sleep determining unit 91 is configured to determine whether to select sleep of the mobile terminal device In this embodi ment the sleep determining unit 91 determines whether to select sleep of the mobile terminal device in a user manual selection manner or an automatic system selection manner Separate descriptions are made below US 2013 0225238 Al 0235 First case when whether to select sleep of the
50. hat 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 0118 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 0119 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 definition multimedia interface High Defini 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 orthe HDMI is inserted with the HDMI line the mobile terminal 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 ofpower 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 ofthe mobile terminal device is determined in the automatic system selection manner the following may be
51. he communication service of the pro cessor is determined or the application service and the com munication service of the processor may be waked simulta neously 0170 In this embodiment the procedure that the applica tion service of the processor may be waked first 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 0171 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 0173 when determining that the current mobile terminal device is 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 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 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 where the processor for processing an appli
52. igured to determine whether the mobile terminal device needs to be waked wherein the wake determining module is further config ured to determine whether the mobile terminal device needs to be waked by detecting one of the group con sisting of a whether an event that a power interface is inserted with a power line occurs b whether an event 17 Aug 29 2013 that a high definition multimedia interface HDMI is inserted with an HDMI line occurs and c whether an event that a Subscriber Identification Module SIM card is plugged or unplugged occurs in the current mobile terminal device and wherein the wake determining module is further config ured to determine that the mobile terminal device needs to be waked when one is detected of the group consist ing of i the event that the power interface is inserted with the power line occurs ii the event that the HDMI is inserted with the HDMI line occurs and iii the event that the SIM card is plugged or unplugged occurs in the current mobile terminal device 20 The mobile terminal device according to claim 19 wherein when the processor is a single core processor the wake unit is further configured to first wake an application service of the processor and then determine whether to wake a communication service of the processor and wherein the wake unit comprises a first wake sub unit and a second wake sub unit wherein the first wake sub unit is configured to wake the a
53. ile terminal device is currently in a charging state and 2 whether a high definition multimedia interface HDMD is inserted with an HDMI line and when the mobile terminal device detects one of the group consist ing of 1 the mobile terminal device is not in the charg ing state currently and 11 the HDMI is not inserted with the HDMI line determining to select the sleep mode of the mobile terminal device and b wherein when a power interface and a Universal Serial Bus USB interface on the mobile terminal device are different determining to select the sleep mode of the mobile terminal device in the automatic system selec tion manner further comprises detecting by the mobile terminal device whether an event that the power interface is inserted with the power line occurs when the mobile terminal device detects that the event that the power interface is inserted with the power line occurs determining to select the sleep mode of the mobile terminal device 2 The method according to claim 1 wherein determining to select a sleep mode ofa mobile terminal device comprises determining to select the sleep mode of the mobile terminal device in a user manual selection manner or an auto matic system selection manner 3 The method according to claim 2 wherein determining to select the sleep mode of the mobile terminal device in the user manual selection manner comprises one of the group consisting of a when the mobile terminal
54. ith 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 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 Aug 29 2013 0199 While step S61 is being executed the following steps may be synchronously executed 0200 Step S62 when determining that a mobile terminal device needs to be waked wake a processor that has entered sleep 0201 Step S64 restore a service that is related to data connection and is in a turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system In this embodiment the service related to the data connection includes GPS WIF
55. l 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 Aug 29 2013 0098 Step S26 turn off the service that is related to the data connection and is in a turn 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 Inthis 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 applica
56. ly improving user experience 0188 In this embodiment with the wake method provided 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 an animation or a wait box on a display screen of the mobile terminal device or a wake progress is prompted through a sound Definitely the operation may be performed together 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 turn on state and is turned off in the sleep mode is restored a starting complete message is sent to an application in the m
57. mobile terminal device is determined in a user manual selec tion manner the following may be included 0236 When the sleep determining unit 91 detects that a user presses a power key on the mobile terminal device manu ally for a long time the sleep determining unit 91 prompts whether the user selects to enter a sleep mode or enter a power off mode through a selection box 0237 When the user selects the sleep mode the recording unit 90 begins to record the service state information related to data connection that is the recording unit 90 is configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device record the service state information related to data connection 0238 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 and in this case the mobile terminal device may further include a power off module not shown configured to execute a normal power off procedure 0239 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 sleep determining unit 91 detects whether the user triggers the application for select ing sleep When the
58. mode is not turned on waking the communication service of the processor and when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is turned on or the current 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 10 The method according to claim 8 wherein when the processor is a single core processor waking the processor that has entered the sleep mode further comprises one of the group consisting of a waking an application service and a communication service of the processor simultaneously b wherein when the processor is a multi core processor waking the processor that has entered a sleep mode further comprises first waking a processor for processing an application ser vice and then determining whether to wake a processor for processing the communication service c wherein when the processor is a multi core processor waking the processor that has entered the sleep mode further comprises waking a processor for processing the communication ser vice and a processor for processing the application ser vice simultaneously 11 The method according to claim 10 wherein first wak ing the processor for processing the application service and then determining whether to w
59. n and being in a turn on state y S14 Control a processor to enter the sleep mode a Patent Application Publication Aug 29 2013 Sheet 1 of 10 When determining to select a sleep mode of a mobile terminal device the mobile terminal device records service state information related to data connection US 2013 0225238 A1 aia S10 i 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 j Control a processor to enter the sleep mode FIG 1 ee 20 12 yo 14 yr Determine whether to select the sleep mode of a mobile terminal device i Aas connection When determining to select When determining to select the sleep S24 mode of a mobile terminal device the Gr mobile terminal device records service state information related to data the sleep mode of the J 522 mobile terminal device display a sleep effect in a manner of an animation or a 1 1 According to the recorded service state S26 wait box on a display screen information related to the data connection p of the mobile terminal turn off a service related to the data device or prompt a sleep connection and being in a turn on state progress in a sound manncr y mode Control a processor to enter the sleep nr Bee FIG 2 Patent Application Publicati
60. n 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 1 in combination with the alternative operation is described below 0072 FIG 2 is a flowchart 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 selection manner or an automatic system selection manner Separate descriptions are made below 0075 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 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 the user selects to enter a sleep mode or enter a power off mode through a selection box 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 mobile terminal device executes a normal power off
61. nal 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 Definitely 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 mobile terminal device display a sleep effect in a manner of an animation or a wait box on a display screen of the mobile terminal device or prompt a sleep progress in a sound man ner 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 termina
62. ntrol unit configured to control a processor to enter a sleep mode 0019 A mobile terminal device applied to wake includes 0020 awake unit configured to when determining that a mobile terminal device needs to be waked wake a processor that has entered sleep and 0021 a restoring unit configured to restore a service that is related to data connection and is in a turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system BRIEF DESCRIPTION OF THE DRAWINGS 0022 FIG 1 is a flowchart of a sleep method according to Embodiment 1 of the present invention 0023 FIG 2 is a flowchart of a sleep method according to Embodiment 2 of the present invention 0024 FIG 3 is a flowchart of a sleep method according to Embodiment 3 of the present invention 0025 FIG 4 is a flowchart of a sleep method according to Embodiment 4 of the present invention 0026 FIG 5 is a flowchart of a wake method according to Embodiment 5 of the present invention 0027 FIG 6 is a flowchart of a wake method according to Embodiment 6 of the present invention 0028 FIG 7 is a flowchart of a wake method according to Embodiment 7 of the present invention 0029 FIG 8 is a flowchart of a wake method according to Embodiment 8 of the present invention 0030 FIG 9 is a structural diagram of a mobile terminal device according to Embodiment 1 of the present invention 0031 FIG 10 isa structural diagram of
63. obile terminal device so as to implement that a 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 US 2013 0225238 Al still shorter than the startup 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 the time of 5S 0191 The wake method of Embodiment 1 in combination with the alternative operation is described below 0192 FIG 6 is a flowchart of a wake method according to Embodiment 6 of the present invention 0193 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 wheth
64. obile 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 0112 When the mobile terminal device detects that the user triggers the application for selecting sleep the mobile terminal device begins step S32 0113 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 0114 When the mobile terminal device detects that a user presses a power key on the mobile terminal device manually for a long time whetherthe selection box of the sleep mode in the system setting interface is selected is determined 0115 Ifitis 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 Ifitis 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 t
65. odiment 7 of the present invention 0285 In this embodiment corresponding to Embodiment 7 killing or turning off a non core process is executed in a sleep procedure so in a wake procedure after the service that is related to the data connection and is in the turn on state and is turned off in the sleep mode is restored a starting complete message needs to be sent to an application in the mobile terminal device so as to implement that a service running in need of startup begins to run in a startup procedure Alterna tively on the basis of FIG 13 the mobile terminal device may further include a sending unit 99 configured to after the service that is related to the data connection and is in the turn on state and is turned off in the sleep mode is restored send a starting complete message to an application in the mobile terminal device so as to implement that a service running in need of startup begins to run in a startup procedure 0286 In this embodiment if an additional operation may be added optionally on the basis of FIG 13 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 option ally and the mobile terminal device may be quickly waked in the time of 5S 0287 FIG 16 isa structural diagram of a mobile terminal device according to Embodiment 8 of the present invention 0288 In this embo
66. on Aug 29 2013 Sheet 2 of 10 US 2013 0225238 A1 S30 Determine whether to select a sleep mode of a p mobile terminal device When determining to select the sleep mode of a S32 mobile terminal device the mobile terminal device r records service state information related to data connection y According to the recorded service state information S34 related to the data connection turn off a service lt related to the data connection and being in a turn on state y S36 Kill or turn off a non core process y S38 Control a processor to enter the sleep mode a FIG 3 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 i When determining to select the sleep S44 mode ofa mobile terminal device the a mobile terminal device records service state information related to data connection When determining to select the sleep mode of the mobile terminal device display a 42 a According to the recorded service state nr S46 sleep effect in a manner of an animation or a wait box on a display screen of the information related to the data connection mobile terminal device or turn off a service related to the data prompt a sleep progress in a connection and being in a turn on state sound manner Kill or turn off a non core proces
67. ontrol 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 Inthe 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 US 2013 0225238 Al 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 0133 FIG
68. 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 Definitely 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 Aug 29 2013 the mobile terminal device or a sleep progress is prompted through a sound so as to achieve improvement of user expe rience 0070 Alternatively after the service that is related to the data connection and is in a turn on state is turned off a non core process may be killed or turned off In this embodi ment core processes include a core process a phone process aSYSTEM_UID process and a
69. pplication service of the processor and the second wake sub unit is configured to after the appli cation service of the processor is waked determine whether the current mobile terminal device is inserted with a SIM card and whether an offline mode is turned on 21 The mobile terminal device according to claim 20 wherein the second wake sub unit is further configured to when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is not turned on wake the communication service of the processor and wherein the second wake sub unit is further configured to when determining that the current mobile terminal device is inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is turned on or the current mobile terminal device is not inserted with the SIM card and the offline mode is not turned on not wake the communication service of the processor 22 The mobile terminal device according to claim 20 wherein when the processor is a single core processor the wake unit is further configured to wake an application service and a communication service of the processor simulta neously and wherein when the processor is a multi core processor the wake unit is further configured to first wake a processor for processing an application service and then deter mine whether to wake a processor for proc
70. proce dure that is itis powered off 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 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 ofthe 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 Ifit 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 24 0085
71. r 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 flowchart of a sleep method according to Embodiment 1 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 mo
72. red 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 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 turn 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 required the user does not need to start up the mobile terminal device again to enable it to begin normal work thereby great
73. resses a power key on the mobile terminal device for a pre set time period expired prompt whether the user selects to enter the sleep mode through a selection box and when it is detected that the user selects the sleep mode determine to select the sleep mode of the mobile terminal device 16 canceled 17 The mobile terminal device according to claim 13 wherein the turn off unit is further configured to after turning off the service that is related to the data connection and is in the turn on state turn off a non core process 18 The mobile terminal device according to claim 13 wherein the control unit is further configured to when the processor is a single core processor control the single core processor to enter the sleep mode or further configured to when the processor is a multi core processor control a pro cessor for processing a communication service and a proces sor for processing an application service to enter the sleep mode 19 A mobile terminal device applied to wake comprising a wake unit configured to when it is determined that the mobile terminal device needs to be waked wake a pro cessor that has entered a sleep mode and a restoring unit configured to 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 wherein the mobile terminal device further comprises a wake determining module conf
74. rther configured to when detecting that a user selects power off detect one of the group consisting of a whether the mobile termi nal device is currently in a charging state and b whether a high definition multimedia interface HDMI is inserted with an HDMI line and when detecting one of the group consisting of i the mobile terminal device is not in the charging state currently and 11 the HDMI is not inserted with the HDMI line determine to select the sleep mode of the mobile terminal device and wherein when a power interface and a Universal Serial Bus USB interface on the mobile terminal device are dif ferent the sleep determining unit is further configured to detect whether an event that the power interface is inserted with a power line occurs and when the mobile terminal device detects that the event that the power interface is inserted with the power line occurs deter mine to select the sleep mode of the mobile terminal device 14 The mobile terminal device according to claim 13 further comprising a sleep determining unit configured to determine to select the sleep mode of the mobile terminal device and is further configured to determine to select the sleep mode of the mobile terminal device in a user manual selection manner or an automatic system selection manner 15 The mobile terminal device according to claim 13 wherein the sleep determining unit is further configured to when it is detected that a user p
75. ry Read Only Memory RAM and the like 0291 Finally it should be noted that the foregoing embodiments are merely provided for describing the techni cal solutions of the present invention but not intended to limit the present invention It should be understood by persons of ordinary skill in the art that although the present invention has been described in detail with reference to the exemplary embodiments modifications or equivalent replacements can be made to the technical solutions of the present invention and such modifications or equivalent replacements cannot Aug 29 2013 make the modified technical solutions depart from the idea and scope of the technical solutions of the present invention 1 A sleep method comprising when determining to select a sleep mode of a mobile ter minal 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 connection turning offa service thatis related to the data connection and is in a turn on state and controlling a processor to enter the sleep mode wherein determining to select the sleep mode of the mobile terminal device in an automatic system selection manner comprises one of the group consisting of a when the mobile terminal device detects that a user selects power off detecting by the mobile terminal device one of the group consisting of 1 whether the mob
76. s y S49 Control a processor to enter the sleep nr mode FIG 4 Patent Application Publication Aug 29 2013 Sheet 4 of 10 US 2013 0225238 A1 S50 When determining that a mobile terminal device needs to be ie waked wake a processor that has entered a sleep mode Restore a service that is related to data connection and is in a IT 552 turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system FIG 5 a S60 Determine whether a mobile terminal device needs to be waked When determining that a mobile S62 terminal device needs to be waked wake a processor that has entered the sleep mode When determining that the mobile terminal device needs to be waked display a wake S61 effect through an animation a or a wait box on a display screen of the mobile terminal device or prompt a wake progress through a sound Restore a service that is related to data connection and is in a turn on S64 state and is turned 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 Al S70 Determine whether a mobile terminal device needs to be ae aoe S71 When determining that a mobile terminal device needs to be pa waked wake a processor that has entered a sleep mode Y Restore a service that is related to data connection
77. 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 flowchart 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 0105 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 0106 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 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 the user selects to enter a sleep mode or enter a power off mode through a selection box 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 mobile terminal device executes a normal power off proce dure that is it is powered off US 2013 0225238 Al 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 m
78. serted with the HDMI line or detecting that the SIM card of the current mobile terminal device is plugged or unplugged determine that the mobile terminal 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 determine that the mobile terminal device needs to be waked 0277 The wake determining module 95 is further config ured to if detecting that the power key of the current mobile Aug 29 2013 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 determine 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 unplugg
79. ses GPS WIFI and Bluetooth and the service state information comprises cur rent information of the turn on state and a turn off state 6 The method according to claim 1 wherein when the processor is a single core processor controlling the processor to enter the sleep mode comprises one ofthe group consisting of a controlling the single core processor to enter the sleep mode and b wherein when the processor is a multi core processor controlling the processor to enter the sleep mode com prises controlling a processor for processing a communication service and a processor for processing an application service to enter the sleep mode 7 The method according to claim 1 further comprising after turning off the service that is related to the data con nection and is in the turn on state turning off a non core process and wherein the non core process refers to another process except a core process a phone process a SYSTEM_UID process and an android process me dia process 8 A wake method comprising when determining that a mobile terminal device needs to be waked waking a processor that has entered a sleep mode and restoring 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 wherein determining that the mobile terminal device needs to be waked comprises detecting one of the group consisting of a wheth
80. t 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 turn 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 required the user does not need to start up the mobile terminal device again to enable it to begin normal work thereby greatly improving user experience Aug 29 2013 0227 Accordingly FIG 9 is a structural diagram of a mobile terminal device according to Embodiment 1 of the present invention 0228 In this embodiment a recording unit 90 a turn off unit 92 and a control unit 94 are provided 0229 The recording unit 90 is configured to when it is determined to select sleep of a mobile terminal device record service state information related to data connection In this embodiment a 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
81. t 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 Definitely 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 mobile terminal device display a sleep effect in a manner of an animation or a wait box on a display screen of the mobile terminal device or prompt a sleep progress in a sound man 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
82. the current mobile terminal device is inserted with an HDMI line or detecting whether a SIM card of the current mobile termi US 2013 0225238 Al 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 0208 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 plugged or unplugged determining that the mobile terminal device needs to be waked and executing step S71 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 and executing step S71 0209
83. 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 US 2013 0225238 Al 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 0221 Step S81 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 In this embodiment the step S81 and the following steps may be executed simultaneously 0222 Step S82 when determining that a mobile terminal device needs to be waked wake a processor that has entered sleep 0223 Step S83 restore a service that is related to data connection and is in a turn on state and is turned off in a sleep mode so that the mobile terminal device enters a system In this embodiment the
84. tion 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 0051 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 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 se
85. tion 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 Inthe 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
86. to after turning off the service that is related to the data connection and is in the turn on state kill or turn off a non core process the sleep prompt unit 93 is configured to when the sleep determining unit 91 determines to select sleep of the mobile terminal device display a sleep effect through an animation or a wait box on a display screen of the mobile terminal device or prompt a sleep progress through a sound 0261 Inthis 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 0262 Corresponding to Embodiment 5 Embodiment 6 Embodiment 7 and Embodiment 8 descriptions are made separately below 0263 FIG 13 isa structural diagram of a mobile terminal device according to Embodiment 5 of the present invention 0264 In this embodiment corresponding to Embodiment 5 the mobile terminal device includes a wake unit 96 and a restoring unit 97 The wake unit 96 is configured to when it is determined that the mobile terminal device needs to be waked wake a processor that has entered sleep In this embodiment when the processor is a single core processor
87. tting 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 definition multimedia interface High Defini 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 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 0061 The mobile terminal device detects whether an
88. 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 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 efficiency cannot be achieved 0006 To overcome the defect the user may solve the problem through a method in which the mobile terminal device is turned off through a temporary power off manner and when the user needs to use the mobile terminal device the user then enables the mobile terminal device to begin to normally work through startup again However in the startup procedure ofthe mobile terminal device only afterthe system is initialized and various system programs are loaded the mobile terminal device can gradually enter the system but this startup procedure is very long If the user urgently needs to use the mobile terminal device while the startup procedure in the prior art makes the user wait for a very long time the
89. vice may further prompt Aug 29 2013 whether the user selects to enter the sleep mode or enter the power off mode through a selection box 0148 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 0149 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 definition multimedia interface High Defini tion Multimedia Interface HDMD is inserted with an HDMI line 0150 When the mobile terminal device detects that the mobile terminal device is currently in the charging state orthe HDMI is inserted with the HDMI line the mobile terminal device performs a normal power off procedure 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 terminal device automatically selects the sleep mode in place ofpower off and the mobile terminal device begins steps S42 and S44 0152 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 0153 The mobile terminal device detects whether an event tha
Download Pdf Manuals
Related Search
Related Contents
Casio DR-120TM intext:Bedienungsanleitung filetype:pdf User Manual User Manual Logitech® Harmony® 700 Remote C__Users_5266_Desktop_BACKUP INST Panasonic JS-925 Lite-ray Specification Sheet MBS598045 - MyBioSource 取扱説明書 MF-7900,7900D/UT59 1. 2. Sears 200.71486 User's Manual Copyright © All rights reserved.
Failed to retrieve file