CN102710859A - Method for regularly starting terminal and mobile terminal - Google Patents

Method for regularly starting terminal and mobile terminal Download PDF

Info

Publication number
CN102710859A
CN102710859A CN2012101802015A CN201210180201A CN102710859A CN 102710859 A CN102710859 A CN 102710859A CN 2012101802015 A CN2012101802015 A CN 2012101802015A CN 201210180201 A CN201210180201 A CN 201210180201A CN 102710859 A CN102710859 A CN 102710859A
Authority
CN
China
Prior art keywords
time
terminal
real
available machine
time clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101802015A
Other languages
Chinese (zh)
Other versions
CN102710859B (en
Inventor
林华坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210180201.5A priority Critical patent/CN102710859B/en
Publication of CN102710859A publication Critical patent/CN102710859A/en
Application granted granted Critical
Publication of CN102710859B publication Critical patent/CN102710859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the technical field of communication, and provides a method for regularly starting a terminal, which comprises the steps as followings: after receiving a starting trigger instruction, the terminal judges whether the starting trigger instruction is transmitted from a terminal real-time clock, is yes, the terminal continuously judges whether the current starting time of the terminal is matched with the starting time of the real-time clock, if not, the starting is continuously executed; if the current starting time is matched with the preset real-time clock starting time, the terminal continuously executes starting; and if the current starting time is not matched with the preset real-time clock starting time, the terminal is triggered to execute shutdown. Therefore, the mobile terminal cannot be automatically reset surely on the premise of abnormal shutdown, and the practicability is improved.

Description

The processing method of terminal timing start-up and portable terminal
Technical field
The present invention relates to communication technical field, relate in particular to the processing method and the portable terminal of a kind of terminal timing start-up.
Background technology
Existing intelligent terminal is supported the function of RTC (Real-Time Clock, real-time clock) timing wake-up mostly, and system in order to support timing wake-up, is provided with a pile timer toward RTC in running, can cancel the set RTC time of system during terminal closedown.If but the terminal powered-off fault as directly dialling battery, does not have normal shutdown, RTC does not cancel, and can cause the frequent appearance in terminal to restart phenomenon automatically like this, and life is made troubles to user job.
Can know that to sum up unusual postboost Timing Processing technology of existing portable terminal obviously exists inconvenience and defective, so be necessary to improve on reality is used.
Summary of the invention
To above-mentioned defective, the object of the present invention is to provide the processing method and the portable terminal of a kind of terminal timing start-up, can prevent to restart automatically after portable terminal from shutting down unusually.
To achieve these goals, the present invention provides the processing method of a kind of terminal timing start-up, and said method comprises:
When the terminal receives the start triggering command, judge whether said start triggering command comes the self terminal real-time clock;
Whether mate if said starting up of terminal triggering command from said real-time clock, then continues to judge the current available machine time at said terminal and preset real-time clock available machine time, otherwise continue to carry out start;
If said current available machine time and preset real-time clock available machine time coupling, start is continued to carry out in then said terminal;
If the said current available machine time did not match with the preset real-time clock available machine time, then trigger said terminal and carry out shutdown.
According to the processing method of terminal of the present invention timing start-up, said method also comprises:
The real-time clock available machine time at said terminal is set;
Judge whether said real-time clock supports shutdown to wake up, if then the said real-time clock available machine time is saved in the storage area.
Processing method according to terminal of the present invention timing start-up; If said real-time clock support shutdown wakes up; Then be stored into FLASH storage area with the mode of chained list said real-time clock time, and with being saved in real-time clock time of nearest time said chained list top.
According to the processing method of terminal of the present invention timing start-up, whether the current available machine time of judging said terminal matees step with the preset real-time clock available machine time is specially:
Judge whether mate the current available machine time at said terminal and the real-time clock time at said chained list top.
Processing method according to terminal of the present invention timing start-up also comprises:
If said current available machine time and preset real-time clock available machine time coupling, delete the said preset real-time clock available machine time after carrying out start at then said terminal from said storage area.
The present invention also provides a kind of portable terminal accordingly, comprising:
First judge module is used for said terminal and receives when starting shooting triggering command, judges whether said start triggering command comes the self terminal real-time clock, handles if then transfer to second judge module, otherwise continues to carry out start;
Second judge module is used to judge whether the current available machine time at said terminal and preset real-time clock available machine time mate, if then said terminal continues to carry out start, handles otherwise transfer to the shutdown trigger module;
The shutdown trigger module is used for the said current available machine time to trigger said terminal when not matching with the preset real-time clock available machine time and carry out shutdown.
According to portable terminal of the present invention, said portable terminal also comprises:
Module is set, is used to be provided with the real-time clock available machine time at said terminal;
The 3rd judge module is used to judge whether said real-time clock supports shutdown to wake up, if then transfer to storage module and handle;
Storage module is used for the said real-time clock available machine time is saved in the storage area.
According to portable terminal of the present invention, said storage module is used for be stored into FLASH storage area with the mode of chained list said real-time clock time, and with being saved in real-time clock time of nearest time said chained list top.
According to portable terminal of the present invention, said second judge module is used to judge whether mate the current available machine time at said terminal and the real-time clock time at said chained list top.
According to portable terminal of the present invention; Said portable terminal also comprises removing module; Be used for when said current available machine time and preset real-time clock available machine time coupling, delete the said preset real-time clock available machine time after carrying out start at said terminal from said storage area.
The present invention is through judging whether its start is by built-in real-time clock waking-up start when the mobile terminal-opening, if, continue then to judge whether current available machine time of portable terminal and the real-time clock available machine time of presetting are complementary, otherwise the terminal normal boot-strap.If the current available machine time was complementary with the preset real-time clock available machine time, explanation is normally to wake start up by real-time clock, and then the normal boot-strap operation is carried out at the terminal, otherwise explanation is that power-off operation is carried out at the terminal by the start of real-time clock non-normal wake-up.Whereby, make the terminal after unusual shutdown, can not restart automatically, improve user experience because of the setting of not removing real-time clock.
Description of drawings
Fig. 1 is the structural representation of the portable terminal of one embodiment of the invention;
Fig. 2 is the structural representation of the portable terminal of another embodiment of the present invention;
Fig. 3 is the process flow figure of the terminal timing start-up of one embodiment of the invention;
Fig. 4 is the process flow figure of the terminal timing start-up of another embodiment of the present invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Referring to Fig. 1; The invention provides a kind of portable terminal; This portable terminal 100 can be mobile phone, PDA (Personal Digital Assistant; Personal digital assistant), palmtop PC etc., it comprises module 10, first judge module 20, second judge module 30 and shutdown trigger module 40 is set, wherein:
Module 10 is set, is used to be provided with the RTC available machine time of portable terminal 100.In concrete the application, portable terminal 100 can be provided with timer through RTC, and concrete can be provided with application such as available machine time, alarm clock; When the timing start-up that sets RTC after the time; If portable terminal 100 is in off-mode, then arrive this preset time after, it can Auto Power On.
First judge module 20; After being used for portable terminal 100 triggering starts; Judge whether the start triggering command comes self terminal RTC, judge promptly whether portable terminal 100 start this time is to wake start up by RTC, if; Then transfer to second judge module 30 and handle, otherwise portable terminal 100 continues to carry out normal boot-strap.Portable terminal 100 can be accepted user's operational order start, also can receive the start that wakes up of RTC, and second judge module 20 can be judged the start mode of portable terminal 100.
Second judge module 30 is used to judge whether the current available machine time of portable terminal 100 and preset RTC available machine time mate, if then portable terminal 100 continues to carry out start, handles otherwise transfer to shutdown trigger module 40.Seeing that portable terminal 100 is in unusual shutdown; After directly taking down battery; The setting of its RTC can not eliminated, and unusual self-starting may appear in portable terminal 100, and whether second judge module 30 can be judged according to self-starting time and preset RTC time is unusual startup.
Shutdown trigger module 40, the current available machine time that is used for portable terminal 100 is not when matching with the preset RTC available machine time, i.e. and during the improper self-starting of portable terminal 100, triggering mobile terminals 100 is carried out shutdown.
Portable terminal 100 of the present invention can judge whether it is normal startup when the shutdown self-starting, if normal the startup then do not deal with, otherwise trigger shutdown, makes it keep off-mode, improves the practicality of user experience and portable terminal 100 whereby.
In the another embodiment of the present invention, in conjunction with Fig. 2, portable terminal 100 also comprises the 3rd judge module 50, storage module 60 and removing module 70, wherein:
The 3rd judge module 50 is used for portable terminal 100 and RTC is being set during the available machine time, judges whether RTC supports shutdown to wake up, if then transfer to storage module 60 and handle, otherwise do not deal with.When the user RTC available machine time through module 10 is set, 50 couples of RTC of the 3rd judge module classify, and the RTC available machine time that will support shutdown to wake up gives storage module 60 and handles.
Storage module 60 is used for the RTC available machine time is saved in the storage area.Concrete, if supporting to shut down, wakes up the corresponding RTC available machine time, then storage module 60 is stored into the FLASH storage area with the RTC time with the mode of chained list, and the RTC time of nearest time is saved in the chained list top.When portable terminal 100 starts are carried out matching judgment through 30 pairs of RTC available machine times of second judge module, judge preferentially whether the RTC time at 100 current available machine times of portable terminal and chained list top matees.
Removing module 70, the current available machine time that is used for portable terminal 100 mated with the preset RTC available machine time, and after the portable terminal 100 execution starts, the preset RTC available machine time was deleted from the storage area.Concrete; If what portable terminal 100 received RTC normally wakes start up; Then upgrade the RTC time stored information in FLASH zone, the RTC available machine time that this available machine time of portable terminal 100 is complementary is deleted the entering system of directly starting shooting then from the FLASH chained list.
Need explain that in practical application, possibly there is time-delay in RTC; Possibly there is certain small gap in the available machine time of its setting with the actual normal boot-strap time, and the present invention realizes coupling through a preset threshold values, such as; In one embodiment of the invention,, the time-delay threshold values of 1s can be set then if the RTC available machine time that is provided with is 9:00:00; That is to say; If the actual available machine time, then the 100 actual available machine times of judgement of portable terminal were complementary with the preset RTC available machine time, increased the accuracy of judging whereby between 8:59:59 ~ 9:00:01.
Referring to Fig. 3, the invention provides the processing method of a kind of terminal timing start-up, it can realize that this method comprises through portable terminal as shown in Figure 1 100:
Step S301; After portable terminal 100 triggered start, first judge module 20 judged whether the start triggering command come self terminal RTC, judged that promptly whether this time start is that the RTC of portable terminal 100 wakes start up; If; Execution in step S302 then, otherwise explanation portable terminal 100 is to receive the user's operating command normal boot-strap, directly execution in step S303.
Whether the current available machine time that step S302, second judge module 30 judge portable terminal 100 mated with the preset RTC available machine time, if, execution in step S303 then, otherwise execution in step S304.
Step S303, portable terminal 100 is carried out normal boot-strap.
Step S304, shutdown trigger module 40 triggering mobile terminals 100 are carried out power-off operation.
Need explain; Among the step S302; Because possibly there is time-delay in the RTC of portable terminal 100 in practical application, cause its normal boot-strap time and its preset RTC time that certain small gap is arranged, the present invention can address this problem through pre-set threshold value; If the available machine time in the threshold values scope of preset RTC time fluctuation, is then thought the two coupling.
Referring to Fig. 4, another embodiment of the present invention provides the processing method of a kind of preferred terminal timing start-up, and this method comprises:
Step S401 is through being provided with the RTC available machine time that module 10 is provided with portable terminal 100.
Step S402, the 3rd judge module 50 judge whether RTC supports shutdown to wake up, if, execution in step S403 then, otherwise do not deal with.
Step S403, storage module 60 is saved in the storage area with the RTC available machine time.Concrete, storage module 60 is stored into the FLASH storage area with the RTC time with the mode of chained list, and with being saved in real-time clock time of nearest time said chained list top.
Step S404, after portable terminal 100 triggered start, first judge module 20 judged that whether this time start is that the RTC of portable terminal 100 wakes start up, if, execution in step S405 then, otherwise execution in step S406.
Whether the current available machine time that step S405, second judge module 30 judge portable terminal 100 mated with the preset RTC available machine time, if, execution in step S406, otherwise execution in step S407.
Step S406, portable terminal 100 is carried out normal boot-strap.
Step S407, shutdown trigger module 40 triggering mobile terminals 100 are carried out power-off operation.
In sum; The present invention is through judging whether its start is by built-in real-time clock waking-up start when the mobile terminal-opening; If, continue then to judge whether current available machine time of portable terminal and the real-time clock available machine time of presetting are complementary, otherwise the terminal normal boot-strap.If the current available machine time was complementary with the preset real-time clock available machine time, explanation is normally to wake start up by real-time clock, and then the normal boot-strap operation is carried out at the terminal, otherwise explanation is that power-off operation is carried out at the terminal by the start of real-time clock non-normal wake-up.Whereby, make the terminal after unusual shutdown, can not restart automatically, improve user experience because of the setting of not removing real-time clock.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the processing method of a terminal timing start-up is characterized in that, said method comprises:
When the terminal receives the start triggering command, judge whether said start triggering command comes the self terminal real-time clock;
Whether mate if said starting up of terminal triggering command from said real-time clock, then continues to judge the current available machine time at said terminal and preset real-time clock available machine time, otherwise continue to carry out start;
If said current available machine time and preset real-time clock available machine time coupling, start is continued to carry out in then said terminal;
If the said current available machine time did not match with the preset real-time clock available machine time, then trigger said terminal and carry out shutdown.
2. the processing method of terminal according to claim 1 timing start-up is characterized in that, said method also comprises:
The real-time clock available machine time at said terminal is set;
Judge whether said real-time clock supports shutdown to wake up, if then the said real-time clock available machine time is saved in the storage area.
3. the processing method of terminal according to claim 2 timing start-up; It is characterized in that; If said real-time clock support shutdown wakes up; Then be stored into FLASH storage area with the mode of chained list said real-time clock time, and with being saved in real-time clock time of nearest time said chained list top.
4. the processing method of terminal according to claim 3 timing start-up is characterized in that, whether the said current available machine time of judging said terminal matees step with the preset real-time clock available machine time is specially:
Judge whether mate the current available machine time at said terminal and the real-time clock time at said chained list top.
5. according to the processing method of each described terminal timing start-up of claim 2 ~ 4; It is characterized in that; Also comprise: if said current available machine time and preset real-time clock available machine time coupling, delete the said preset real-time clock available machine time after carrying out start at then said terminal from said storage area.
6. a portable terminal is characterized in that, comprising:
First judge module is used for said terminal and receives when starting shooting triggering command, judges whether said start triggering command comes the self terminal real-time clock, handles if then transfer to second judge module, otherwise continues to carry out start;
Second judge module is used to judge whether the current available machine time at said terminal and preset real-time clock available machine time mate, if then said terminal continues to carry out start, handles otherwise transfer to the shutdown trigger module;
The shutdown trigger module is used for the said current available machine time to trigger said terminal when not matching with the preset real-time clock available machine time and carry out shutdown.
7. portable terminal according to claim 6 is characterized in that, said portable terminal also comprises:
Module is set, is used to be provided with the real-time clock available machine time at said terminal;
The 3rd judge module is used to judge whether said real-time clock supports shutdown to wake up, if then transfer to storage module and handle;
Storage module is used for the said real-time clock available machine time is saved in the storage area.
8. portable terminal according to claim 7 is characterized in that, said storage module is used for be stored into FLASH storage area with the mode of chained list said real-time clock time, and with being saved in real-time clock time of nearest time said chained list top.
9. portable terminal according to claim 8 is characterized in that, said second judge module is used to judge whether mate the current available machine time at said terminal and the real-time clock time at said chained list top.
10. according to each described portable terminal of claim 7 ~ 9; It is characterized in that; Said portable terminal also comprises removing module; Be used for when said current available machine time and preset real-time clock available machine time coupling, delete the said preset real-time clock available machine time after carrying out start at said terminal from said storage area.
CN201210180201.5A 2012-06-04 2012-06-04 Method for regularly starting terminal and mobile terminal Active CN102710859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210180201.5A CN102710859B (en) 2012-06-04 2012-06-04 Method for regularly starting terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210180201.5A CN102710859B (en) 2012-06-04 2012-06-04 Method for regularly starting terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN102710859A true CN102710859A (en) 2012-10-03
CN102710859B CN102710859B (en) 2015-02-11

Family

ID=46903402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210180201.5A Active CN102710859B (en) 2012-06-04 2012-06-04 Method for regularly starting terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN102710859B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349001A (en) * 2013-07-26 2015-02-11 佳能株式会社 Information processing apparatus, method for controlling the same, and program
CN104572174A (en) * 2014-12-12 2015-04-29 小米科技有限责任公司 Method and device for automatically waking up terminal screen
CN104820608A (en) * 2015-03-26 2015-08-05 广州视睿电子科技有限公司 Method and system for intelligently starting computer operation system and software
CN107341007A (en) * 2017-06-20 2017-11-10 深圳创维-Rgb电子有限公司 Display terminal and its timing start-up method, computer-readable recording medium
WO2021175194A1 (en) * 2020-03-04 2021-09-10 京东方科技集团股份有限公司 Method for timed startup of terminal, and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030080113A1 (en) * 2001-11-01 2003-05-01 Williamson Charles G. Intelligent oven appliance
CN1946210A (en) * 2006-10-17 2007-04-11 青岛海信移动通信技术股份有限公司 TD-SCDMA mobile phone for quick open, start and display and its realizing method
CN1983088A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 System and method for managing actuator
CN101360290A (en) * 2007-07-31 2009-02-04 英华达(上海)电子有限公司 Method and terminal implementing timed startup of terminal
CN101909112A (en) * 2010-07-01 2010-12-08 惠州Tcl移动通信有限公司 Implementation method for intelligent mobile phone shutdown alarm clock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030080113A1 (en) * 2001-11-01 2003-05-01 Williamson Charles G. Intelligent oven appliance
CN1983088A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 System and method for managing actuator
CN1946210A (en) * 2006-10-17 2007-04-11 青岛海信移动通信技术股份有限公司 TD-SCDMA mobile phone for quick open, start and display and its realizing method
CN101360290A (en) * 2007-07-31 2009-02-04 英华达(上海)电子有限公司 Method and terminal implementing timed startup of terminal
CN101909112A (en) * 2010-07-01 2010-12-08 惠州Tcl移动通信有限公司 Implementation method for intelligent mobile phone shutdown alarm clock

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349001A (en) * 2013-07-26 2015-02-11 佳能株式会社 Information processing apparatus, method for controlling the same, and program
CN104349001B (en) * 2013-07-26 2018-01-23 佳能株式会社 Information processor and its control method
CN104572174A (en) * 2014-12-12 2015-04-29 小米科技有限责任公司 Method and device for automatically waking up terminal screen
CN104820608A (en) * 2015-03-26 2015-08-05 广州视睿电子科技有限公司 Method and system for intelligently starting computer operation system and software
CN107341007A (en) * 2017-06-20 2017-11-10 深圳创维-Rgb电子有限公司 Display terminal and its timing start-up method, computer-readable recording medium
WO2021175194A1 (en) * 2020-03-04 2021-09-10 京东方科技集团股份有限公司 Method for timed startup of terminal, and terminal
CN113438362A (en) * 2020-03-04 2021-09-24 京东方科技集团股份有限公司 Method for starting terminal at fixed time and terminal

Also Published As

Publication number Publication date
CN102710859B (en) 2015-02-11

Similar Documents

Publication Publication Date Title
RU2686673C1 (en) Device and method of terminal control and terminal
CN102833392B (en) A kind of method and system of mobile terminal autoboot
CN102299992A (en) Terminal as well as method and device for controlling same
CN102262432B (en) System and method for automatic rebooting subsequent to crash of Modem of smart phone
CN102710859A (en) Method for regularly starting terminal and mobile terminal
CN102833831A (en) Network card device, routing device, system and method for realizing dynamic dormancy and wakeup
CN102665010B (en) Mobile terminal and conversation method
US20110154475A1 (en) Modem and method for conserving power consumption of an electronic device
CN104221445A (en) Method for waking up terminal system and terminal
CN102196097A (en) Method and device for automatically closing idle programs of mobile communication terminal background
CN103425506A (en) Powering off method, starting up method and communication terminal
US9008733B2 (en) Mobile terminal and shutdown device and method thereof
CN103313359A (en) Power saving method and power saving device for mobile terminal and mobile terminal
CN104679347A (en) Method for solving failure of touch screen of mobile terminal and mobile terminal
CN105373207A (en) Standby method of wireless communication terminal
CN109067416B (en) Method for realizing hot plug and start of SIM card and intelligent hardware
CN103200314A (en) Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal
JPWO2008007512A1 (en) Base station search method by wireless terminal device, wireless terminal device
CN102014021A (en) Method and device for controlling connection/disconnection of data link
CN104244378A (en) Wireless communication system with enhanced power management
CN102156534A (en) Hardware energy-saving processing method and device
CN102833830A (en) Mobile intelligent terminal and method for awakening same
CN102761645A (en) Electronic equipment and control method thereof
CN103716861B (en) Network searching method and mobile electronic device using same
CN104750516A (en) Upgrading method for terminal equipment operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant