CN105511879A - Multi-system starting method based on timer as well as intelligent terminal - Google Patents

Multi-system starting method based on timer as well as intelligent terminal Download PDF

Info

Publication number
CN105511879A
CN105511879A CN201510916326.3A CN201510916326A CN105511879A CN 105511879 A CN105511879 A CN 105511879A CN 201510916326 A CN201510916326 A CN 201510916326A CN 105511879 A CN105511879 A CN 105511879A
Authority
CN
China
Prior art keywords
operating system
timer event
timer
intelligent terminal
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510916326.3A
Other languages
Chinese (zh)
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.)
Beijing Yuanxin Science and Technology Co Ltd
Original Assignee
Beijing Yuanxin Science and Technology 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 Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201510916326.3A priority Critical patent/CN105511879A/en
Publication of CN105511879A publication Critical patent/CN105511879A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

An embodiment of invention provides a multi-system starting method based on a timer as well as an intelligent terminal. The method comprises steps as follows: the timer continuously keeps timing after shutdown or sleep of the intelligent terminal, and when appointed time for a pre-stored timer event is up, an enabled instruction carries the appointed time and is sent to a boot program module; after the boot program module receives the enabled instruction, if the intelligent terminal is in a shutdown state, startup operation is executed, and the timer event matched with the appointed time in the enabled instruction and a pre-stored operating system identification corresponding to the timer event are acquired; whether a corresponding system is started up or not is determined by the boot program module according to the acquired operating system identification; if yes, the acquired timer event is sent to the operating system after startup; otherwise, the operating system is started up, and the acquired timer event is sent to the operating system after startup. With the adoption of the embodiment, the startup disorder of the operating system can be avoided.

Description

Based on multisystem starting method and the intelligent terminal of timer
Technical field
The present invention relates to intelligent terminal technical field, specifically, the present invention relates to a kind of multisystem starting method based on timer and intelligent terminal.
Background technology
In China, the intelligent terminal such as smart mobile phone, panel computer is extensively popularized.Intelligent terminal depends on timer wherein, can realize numerous timing functions.Such as, timed power on/off, timing start-up alarm clock etc.
For the intelligent terminal installing single operating system, its system start method based on timer can comprise: the fixed time that user inputs by intelligent terminal before being powered off and start-up command corresponding stored; After shutdown, timer still performs Clocked operation; When timer determines that timing reaches the fixed time of storage, wake boot up; By boot according to the start-up command stored, start the operating system.
But the present inventor finds, the intelligent terminal having installed multiple operating system at present does not also possess the function of timing start-up usually.If by the timing start-up method of the intelligent terminal of single operating system, directly divert on the intelligent terminal of multiple operating system, occur the phenomenon of os starting disorder possibly.
Such as, installation and operation operating system A and operating system B in intelligent terminal; After the fixed time that operating system receives user's input and start-up command, the fixed time that user is inputted and start-up command corresponding stored; When timer continues timing after shutdown, when determining that timing reaches the fixed time of storage, wake boot up; Boot may according to the start-up command stored, or the B that starts the operating system, or the A that starts the operating system, also may start operating system A and B, thus occur the phenomenon of os starting disorder; If user expects to start the operating system A, and the actual operating system B that starts, then user's experience can be caused not good.
Therefore, be necessary to provide a kind of multisystem starting method based on timer and intelligent terminal, the operating system of specifying with start by set date user, avoid os starting disorderly, promote Consumer's Experience.
Summary of the invention
The present invention is directed to the shortcoming of the existing system Starting mode based on timer, propose a kind of multisystem starting method based on timer and intelligent terminal, there is the problem of os starting disorder in order to solve prior art.
Embodiments of the invention, according to an aspect, provide a kind of multisystem starting method based on timer, comprising:
Timer continues timing after intelligent terminal shutdown or dormancy, when determining that the timer event prestored reaches the fixed time, being carried in enabled instruction the described fixed time and being sent to bootstrap program module;
After described bootstrap program module receives described enabled instruction, if determine, described intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in described enabled instruction matches and with this timer event the mark of the corresponding operating system prestored;
Described bootstrap program module, according to the mark of the operating system obtained, determines whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the described operating system after startup; If not, then start described operating system, and the timer event of acquisition is sent to the described operating system after startup.
Embodiments of the invention, according to another aspect, additionally provide a kind of intelligent terminal, comprising: at least two operating systems, timers, and bootstrap program module; Wherein,
Described timer is used for continuing timing after the shutdown of this intelligent terminal or dormancy, when determining that the timer event prestored reaches the fixed time, being carried in enabled instruction the described fixed time and sending;
After described bootstrap program module is used for receiving described enabled instruction, if determine, described intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in described enabled instruction matches and with this timer event the mark of the corresponding operating system prestored; And according to the mark of operating system obtained, determine whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the described operating system after startup; If not, then start described operating system, and the timer event of acquisition is sent to the described operating system after startup.
In embodiments of the invention, timer continues timing after intelligent terminal shutdown or dormancy, and when determining that the timer event prestored reaches the fixed time, transmission carries the enabled instruction of fixed time to bootstrap program module.Bootstrap program module is the intelligent terminal start of having shut down, and obtains the mark with the timer event that the fixed time matches and the corresponding operating system prestored.Due to timer event normally user to pre-enter, therefore bootstrap program module starts respective operations system according to the mark of the operating system prestored corresponding to timer event, can think to start the operating system that user specifies, instead of the incoherent operating system of the mark of deactivation and acquisition, thus avoid os starting disorderly, improve the experience of intelligent terminal user.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the block schematic illustration of the inner structure of the intelligent terminal of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the multisystem starting method based on timer of the embodiment of the present invention;
Fig. 3 is the block schematic illustration of the inner structure of the bootstrap program module of the embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in instructions of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal device " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissive ability, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can carry out the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication facilitiess, its honeycomb or other communication facilities of having single line display or multi-line display or not having multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigitalAssistant, personal digital assistant), it can comprise radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, GPS) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal device " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal device " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
The present inventor considers, even if can arrange timer and the bootstrap program module that also can keep operation after the shutdown of this intelligent terminal in intelligent terminal.Timer can continue timing after intelligent terminal shutdown or dormancy, when determining that the timer event prestored reaches the fixed time, and notice bootstrap program module.Bootstrap program module can be started shooting for this intelligent terminal, and obtains the mark with the timer event that the fixed time matches and the corresponding operating system prestored.Be appreciated that timer event normally user to input before intelligent terminal shutdown or dormancy; Bootstrap program module starts respective operations system according to the mark of the operating system prestored corresponding to timer event, can think to start the operating system that user specifies, instead of the incoherent operating system of the mark of deactivation and acquisition, thus avoid os starting disorderly, improve the experience of intelligent terminal user.
The technical scheme of the embodiment of the present invention is specifically introduced below in conjunction with accompanying drawing.
Intelligent terminal in embodiments of the invention can be the terminal device such as smart mobile phone, panel computer, and the block schematic illustration of its inner structure as shown in Figure 1, can comprise: timer 101, bootstrap program module 102 and at least two operating systems.
Wherein, timer 101 can be entity hardware, such as, have the circuit of clocking capability; Timer 101 also can be the combination of entity hardware and program, such as, have the program of clocking capability and carrying and allow the circuit of this program.
Timer 101 is mainly used in carrying out timing according to timer event, and particular content will in follow-up detailed introduction.
Bootstrap program module 102 can be entity hardware, such as, have the circuit guiding intelligent terminal starting up, wake intelligent terminal startup or guiding os starting function up; Bootstrap program module 102 also can be the combination of entity hardware and program, such as, have to guide intelligent terminal starting up, wake intelligent terminal up and start or guide the program of os starting function and carrying and allow the circuit of this program.
Bootstrap program module 102 is mainly used in guiding intelligent terminal starting up, wakes intelligent terminal startup up or guide os starting etc., and particular content will in follow-up detailed introduction.
The operating system of the intelligent terminal of the embodiment of the present invention can be traditional (SuSE) Linux OS or Unix operating system, also can be the android system, Ubuntu system, Meego system etc. that are derived based on (SuSE) Linux OS.
The operating system of the intelligent terminal of the embodiment of the present invention, can be the operating system strengthening SELinux module based on safety, also can be the operating system based on container according to Linuxcontainer container Intel Virtualization Technology reality.
Particularly, technician can utilize Linuxcontainer container Intel Virtualization Technology, in intelligent terminal, create container, installs an operating system in a reservoir.Each container is configured with independently hardware resource access rights configuration, and the operating system of this container can independent access hardware resource, as CPU, IO (InputOutput, input and output) equipment etc.
Preferably, as shown in Figure 1, multiple operating system can be provided with in the intelligent terminal of the embodiment of the present invention.
Before the intelligent terminal shutdown or dormancy of the embodiment of the present invention, in intelligent terminal, run at least one operating system, after the fixed time that operating system receives user's input and the specified operation information corresponding with the fixed time, generate corresponding event identifier.
Particularly, operating system by timer setting interface receive user input fixed time and the specified operation information corresponding with the fixed time after, determine that user needs in this operating system, according to the fixed time perform assigned operation; For fixed time of this correspondence and specified operation information generate an event identifier.
In fact, the fixed time of user's input can refer to that timing is carved, and also can be set period, and specifies moment and set period mutually to change.
Specifically, after operating system receives the set period of user's input, according to the current time and the set period that receive set period, can determine and specify the moment.Such as, the set period that operating system receives user's input is 1 hour, and the current time receiving 1 hour this set period was 8 o'clock, then can determine and specify the moment to be 9 o'clock.Otherwise operating system, according to receiving the current time and appointment moment of specifying the moment, also can determine set period.
The specified operation information of user's input comprises one of following operation: alarm clock operation information, power-on operation information etc.In practical operation, power-on operation information can be represented by default blank operation information.
Operating system is according to the fixed time received, specified operation information, and the event identifier generated, and generates corresponding timer event, and starts timer 101.
Particularly, operating system is that the specified operation information received generates timer event; By receive fixed time, specified operation information, and generate event identifier, correspondence is carried on after in the timer event of generation, start timer 101.Carry out timing by timer 101 according to the fixed time in timer event, the concrete grammar of timing is well known to those skilled in the art, and repeats no more herein.
Preferably, each operating system in the intelligent terminal of the embodiment of the present invention, can generate multiple timer event.A timer event has unique event identifier.
Further, the operating system in the intelligent terminal of the embodiment of the present invention, by the mark of the program in timer event involved by specified operation information, also can be carried in timer event.Program involved by specified operation information can be the program performing assigned operation after running according to specified operation information.
In the intelligent terminal of the embodiment of the present invention, the timer event of operating system by generation and the mark of this operating system, corresponding stored is in the appointed area of the nonvolatile memory of the intelligent terminal of the embodiment of the present invention.Nonvolatile memory can at least comprise one of following device: flash memory, EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM (Electrically Erasable Programmable Read Only Memo)) etc.
Preferably, in the intelligent terminal of the embodiment of the present invention, the mark of operating system can be numeral or character string etc.
Such as, be provided with based on the operating system of container with not based on the android system of container in the intelligent terminal of the embodiment of the present invention, then the mark based on the operating system of container can be 1, and the mark of android system can be 2; Or the mark based on the operating system of container can be " yuanxin ", the mark of android system can be " android ".
Preferably, in the intelligent terminal of the embodiment of the present invention, operating system can by all timer events generated by this operating system, and all with the mark of this operating system, corresponding stored is in the appointed area of the nonvolatile memory of intelligent terminal.
In fact, at least two operating systems in the intelligent terminal of the embodiment of the present invention, can by the timer event of each self-generating respectively with respective mark, corresponding stored is in the appointed area of the nonvolatile memory of intelligent terminal.
Such as, in the appointed area of the nonvolatile memory of intelligent terminal, fixed time is the timer event A at 8 o'clock and mark " yuanxin " corresponding stored of operating system, and the fixed time is the timer event B of 9: 30 and mark " android " corresponding stored of operating system.
Further, in embodiments of the invention, can the form corresponding stored timer event of chained list and the mark of operating system in the appointed area of the nonvolatile memory of intelligent terminal.Particularly, the every a line in this chained list, stores the mark of a timer event and the operating system corresponding with this timer event.
In practical operation, in the embodiment of the present invention, at least two operating systems in intelligent terminal can generate the timer event with the identical fixed time, and by there is the identical fixed time timer event respectively with respective mark corresponding stored.
Such as, in the appointed area of the nonvolatile memory of intelligent terminal, fixed time is the timer event at 9 o'clock and mark " yuanxin " corresponding stored of operating system, and the fixed time is the timer event at 9 o'clock and mark " android " corresponding stored of operating system.
Based on the timer event of above-mentioned corresponding stored and the mark of operating system, the schematic flow sheet of the multisystem starting method based on timer of the embodiment of the present invention as shown in Figure 2, comprises the steps:
S201: timer 101 continues timing after intelligent terminal shutdown or dormancy, when determining that the timer event prestored reaches the fixed time, will be carried on the fixed time in enabled instruction and being sent to bootstrap program module 102.
Particularly, timer 101 continues timing after intelligent terminal shutdown or dormancy, and according to the event identifier of each timer event be pre-stored in the appointed area of this intelligent terminal nonvolatile memory, real-time timing result is matched with the fixed time in each timer event respectively, determines that matching result is consistent timer event.
Timer 101 is consistent each timer event for matching result, determines that this timer event reaches the fixed time, is carried in enabled instruction the fixed time in this timer event and is sent to bootstrap program module 102.
S202: after bootstrap program module 102 receives enabled instruction, determines whether intelligent terminal is in off-mode; If so, then step S203 is performed; Otherwise perform step S208.
Particularly, after bootstrap program module 102 receives enabled instruction, inquire about the state of this intelligent terminal, determine whether this intelligent terminal is in off-mode; If so, then step S203 is performed; Otherwise perform step S208.The concrete grammar of this intelligent terminal status poll, known by those skilled in the art, repeats no more herein.
Preferably, bootstrap program module 102, after receiving enabled instruction, confirms whether the transmit leg of enabled instruction is timer 101; If so, the state of this intelligent terminal is then inquired about; Otherwise, ignore the enabled instruction received.Confirm that the concrete grammar of the transmit leg of enabled instruction is known by those skilled in the art, repeats no more herein.
Such as, if bootstrap program module 102 determines that the transmit leg of enabled instruction is power key circuit or the circuit exporting enabled instruction according to reception instruction of restarting, then the enabled instruction received is ignored.
S203: bootstrap program module 102 performs power-on operation.
Particularly, bootstrap program module 102 is that the hardware circuit in this intelligent terminal except timer 101 and bootstrap program module 102 interlock circuit and nonvolatile memory switches on power, and starts the operating system preset.
S204: bootstrap program module 102 obtain with the timer event that the fixed time in enabled instruction matches and with this timer event the mark of the corresponding operating system prestored.
Particularly, bootstrap program module 102 parses the fixed time from enabled instruction; For each timer event in the appointed area of nonvolatile memory, obtain the fixed time in this timer event, by the fixed time in this timer event compared with the fixed time in enabled instruction, if judge, comparative result is consistent, then determine that the fixed time in this timer event and enabled instruction matches, obtain this timer event; The mark of the operating system of bootstrap program module 102 and then acquisition and this timer event corresponding stored.
Such as, bootstrap program module 102 determines the timer event matched with 8 o'clock of fixed time, obtains this timer event, and obtains the mark " yunaxin " with the operating system of this timer event corresponding stored.
Preferably, bootstrap program module 102 can obtain the mark of at least two timer events and each self-corresponding operating system of each timer event matched with the fixed time in same enabled instruction.
That is, bootstrap program module 102 can obtain and have the identical fixed time and the mark of at least two timer events of the mark of corresponding different operating system and each self-corresponding operating system of each timer event.
Such as, bootstrap program module 102 can obtain two timer events that the fixed time was all 9 o'clock, and obtain the mark " yuanxin " of the operating system corresponding with timer event, and " android " corresponding with another timer event.
Bootstrap program module 102 is for each timer event in the appointed area of nonvolatile memory, if judge, above-mentioned comparative result is inconsistent, then determine that this timer event did not mate with the fixed time in enabled instruction, ignore this timer event.
S205: bootstrap program module 102, according to the mark of the operating system obtained, determines whether corresponding operating system starts; If not, then step S206 is performed; If so, then step S207 is performed.
Particularly, bootstrap program module 102 is for the timer event obtained in above-mentioned steps S204, in this step according to the mark of operating system corresponding to this timer event obtained in above-mentioned steps S204, inquire about the running status of this operating system, determine whether this operating system starts; If not, then step S206 is performed; If so, then step S207 is performed.Wherein, the concrete grammar of the running status of query manipulation system is the common technology means of those skilled in the art, repeats no more herein.
Preferably, bootstrap program module 102 is for each timer event matched with the fixed time in same enabled instruction obtained, one by one according to the mark of the operating system corresponding with timer event, inquire about the running status of this operating system, determine whether this operating system starts.
Such as, bootstrap program module 102 for obtain with the timer event A matched at 9 o'clock and timer event B, according to " yuanxin " corresponding with timer event A, inquiry is designated the running status of the operating system of " yuanxin ", determines whether this operating system starts.Afterwards, according to " android " corresponding with timer event A, inquiry is designated the running status of the operating system of " android ", determines whether this operating system starts.
S206: bootstrap program module 102 starts corresponding operating system, and the timer event of acquisition is sent to the operating system after startup.
Particularly, bootstrap program module 102, for determining the operating system do not started in above-mentioned steps S205, starts this operating system.After determining that this operating system starts, the timer event obtained is sent to this operating system started in above-mentioned steps S204.
Preferably, bootstrap program module 102 is for each timer event in above-mentioned steps S205 with the identical fixed time, for its each self-corresponding operating system do not started, an operating system is started in this step according to the boot sequence preset, after determining that this operating system starts, the timer event of the correspondence obtained in above-mentioned steps S204 is sent to this operating system started; Afterwards, bootstrap program module 102 starts another operating system, after determining that this another operating system starts, the timer event of correspondence is sent to this another operating system; Until all start complete by all operating systems do not started determined in above-mentioned steps S205, and send corresponding timer event.
Such as, there is in the corresponding above-mentioned steps S205 of bootstrap program module 102 timer event A and B of identical fixed time, for each self-corresponding " yuanxin " and " android " operating system do not started of timer event A and B, first " yuanxin " operating system can be started, after determining that " yuanxin " operating system starts, the timer event A of correspondence is sent to " yuanxin " operating system; Afterwards, start " android " operating system, after determining that " android " operating system starts, the timer event B of correspondence is sent to " android " operating system.
After operating system after startup receives timer event, therefrom parse specified operation information; Specified operation information according to parsing operates.
Such as, the specified operation information that operating system parses from the timer event received is power-on operation information, then confirm that this operation completes.
Preferably, operating system after startup parses specified operation information from the timer event received, according to native system Program log-on message, determine the program involved by specified operation information parsed, after starting this program or confirming that this program starts, the timer event of reception is sent to this program; This program is operated according to the timer event received.
Such as, operating system after startup parses alarm clock operation information from the timer event received, according to native system Program log-on message, determine that the program involved by alarm clock operation information is alarm clock program, after starting alarm clock program or confirming that alarm clock program starts, the timer event of reception is sent to alarm clock program; Alarm clock program was operated according to the fixed time in the timer event received and alarm clock operation information.
S207: the timer event of acquisition is sent to the operating system after startup by bootstrap program module 102.
The concrete grammar of this step is consistent with the method that the timer event of acquisition is sent to the operating system after startup by bootstrap program module in above-mentioned steps S205 102, repeats no more herein.
S208: bootstrap program module 102 determines whether intelligent terminal is in dormant state; If so, then step S209 is performed; Otherwise, perform step S204.
S209: after bootstrap program module 102 performs wake operation, performs step S204.
Particularly, bootstrap program module 102 in this intelligent terminal except timer 101 and bootstrap program module 102 interlock circuit and nonvolatile memory, the hardware circuit being in dormant state wakes up, and start preset operating system.Concrete awakening method is well known to those skilled in the art, and repeats no more herein.Afterwards, step S204 is performed.
In fact, in above-mentioned steps S206 or S207, after the timer event of acquisition is sent to the operating system after startup by bootstrap program module 102, from the appointed area of the nonvolatile memory of this intelligent terminal, the mark of this timer event and the operating system with this timer event corresponding stored can also be deleted.
More excellent, the intelligent terminal in the embodiment of the present invention, utilizes the above-mentioned multisystem starting method based on timer, according to the timer event with the different fixed time, can start different operating system and perform corresponding operating.
Such as, the timer 101 in intelligent terminal and bootstrap program module 102, utilize the above-mentioned multisystem starting method based on timer, according to having the timer event A that the fixed time was 8 o'clock, starts " yuanxin " operating system at 8 o'clock; According to having the timer event B that the fixed time is 9: 30, started " android " operating system at 9: 30.
Preferably, intelligent terminal, after starting " yuanxin " operating system 8 o'clock, is deleted timer event A, can be reduced the workload that bootstrap program module 102 obtains timer event; And prevent bootstrap program module 102 mistake acquisition timer event A and error starting " yuanxin " operating system, prevent os starting disorderly further.
More excellent, according to the above-mentioned multisystem starting method based on timer, the block schematic illustration of the inner structure of the bootstrap program module 102 in the embodiment of the present invention as shown in Figure 3, comprising: event and system banner acquiring unit 301 and system start unit 302.
Wherein, event and system banner acquiring unit 301 are for after the enabled instruction that receives timer 101 and send, if determine, this intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in enabled instruction matches and with this timer event the mark of the corresponding operating system prestored.
System start unit 302, for the mark of the operating system according to event and system banner acquiring unit 301 acquisition, determines whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the operating system after startup; If not, then start the operating system, and the timer event that event and system banner acquiring unit 301 obtain is sent to the operating system after startup.
More excellent, as shown in Figure 3, bootstrap program module 102 also comprises: event and system banner delete cells 303.
After the timer event of acquisition is sent to the operating system after startup for system start unit 302 by event and system banner delete cells 303, the mark of the timer event that deletion correspondence prestores and operating system.
Particularly, after event and the operating system of system banner delete cells 303 after the timer event of acquisition is sent to startup by system start unit 302, from the appointed area of the nonvolatile memory of this intelligent terminal, the mark of this timer event and the operating system with this timer event corresponding stored can also be deleted.
The implementation method of above-mentioned event and system banner acquiring unit 301, system start unit 302 and event and system banner delete cells 303 function, can the particular content of the process step shown in the above-mentioned accompanying drawing 2 of parameter, repeats no more herein.
In embodiments of the invention, timer continues timing after intelligent terminal shutdown or dormancy, and when determining that the timer event prestored reaches the fixed time, transmission carries the enabled instruction of fixed time to bootstrap program module.Bootstrap program module is the intelligent terminal start of having shut down, and obtains the mark with the timer event that the fixed time matches and the corresponding operating system prestored.Due to timer event normally user to pre-enter, therefore bootstrap program module starts respective operations system according to the mark of the operating system prestored corresponding to timer event, can think to start the operating system that user specifies, instead of the incoherent operating system of the mark of deactivation and acquisition, thus avoid os starting disorderly, improve the experience of intelligent terminal user.
And in embodiments of the invention, bootstrap program module can pass through operating system, timer event is delivered to the program involved by the specified operation information in timer event, completes assigned operation by this program.
Further, in embodiments of the invention, timer matches with bootstrap program module, can according to the timer event with the identical fixed time, each self-corresponding operating system of each timer event of sequence starting; Also according to the timer event with the different fixed time, the operating system corresponding with timer event can be started in the different fixed times.
In addition, in embodiments of the invention, bootstrap program module can wake the intelligent terminal of dormancy up, and obtains the mark with the timer event that the fixed time matches and the corresponding operating system prestored, and starts respective operations system according to the mark obtained; That is, when intelligent terminal is in dormant state, the operating system utilizing the embodiment of the present invention also can start user to specify, and prevent from starting and the incoherent operating system of mark obtained, thus avoid os starting disorderly, the experience of intelligent terminal user can be promoted.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in multi-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computing machine) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto-optic disk), ROM (Read-OnlyMemory, ROM (read-only memory)), RAM (RandomAccessMemory, storer immediately), EPROM (ErasableProgrammableRead-OnlyMemory, Erarable Programmable Read only Memory), EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computing machine).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structural drawing and/or block diagram and/or flow graph and these structural drawing and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to multi-purpose computer, special purpose computer or other programmable data disposal routes realizes, thus is performed the scheme of specifying in the frame of structural drawing disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computing machine or other programmable data disposal routes.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1., based on a multisystem starting method for timer, it is characterized in that, comprising:
Timer continues timing after intelligent terminal shutdown or dormancy, when determining that the timer event prestored reaches the fixed time, being carried in enabled instruction the described fixed time and being sent to bootstrap program module;
After described bootstrap program module receives described enabled instruction, if determine, described intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in described enabled instruction matches and with this timer event the mark of the corresponding operating system prestored;
Described bootstrap program module, according to the mark of the operating system obtained, determines whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the described operating system after startup; If not, then start described operating system, and the timer event of acquisition is sent to the described operating system after startup.
2. method according to claim 1, is characterized in that, before described intelligent terminal shutdown or dormancy, also comprises:
After the fixed time that described operating system receives user's input and the specified operation information corresponding with the described fixed time, generate corresponding event identifier;
Described operating system is according to the fixed time received, specified operation information, and the event identifier generated, and generates corresponding timer event, and starts described timer.
3. method according to claim 2, is characterized in that, after the timer event that described generation is corresponding, also comprises:
The timer event of described operating system by generation and the mark of this operating system, corresponding stored is in the appointed area of the nonvolatile memory of described intelligent terminal.
4. method according to claim 1, is characterized in that, the described timer event by acquisition is sent to the described operating system after startup, specifically comprises:
Described operating system determines the program involved by the specified operation information in the timer event of reception, and described timer event is sent to described program; Described program is operated according to the described timer event received.
5. method according to claim 1, is characterized in that, the described timer event by acquisition also comprises after being sent to the described operating system after startup:
The mark of the described timer event that deletion correspondence prestores and operating system.
6. an intelligent terminal, is characterized in that, comprising: at least two operating systems, timers, and bootstrap program module; Wherein,
Described timer is used for continuing timing after the shutdown of this intelligent terminal or dormancy, when determining that the timer event prestored reaches the fixed time, being carried in enabled instruction the described fixed time and sending;
After described bootstrap program module is used for receiving described enabled instruction, if determine, described intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in described enabled instruction matches and with this timer event the mark of the corresponding operating system prestored; And according to the mark of operating system obtained, determine whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the described operating system after startup; If not, then start described operating system, and the timer event of acquisition is sent to the described operating system after startup.
7. intelligent terminal according to claim 6, is characterized in that, described bootstrap program module, comprising:
Event and system banner acquiring unit, after receiving described enabled instruction, if determine, described intelligent terminal is in off-mode, then perform power-on operation, and obtain with the timer event that the fixed time in described enabled instruction matches and with this timer event the mark of the corresponding operating system prestored;
System start unit, for the mark of the operating system according to described event and the acquisition of system banner acquiring unit, determines whether corresponding operating system starts; If so, then the timer event of acquisition is sent to the described operating system after startup; If not, then start described operating system, and the timer event that described event and system banner acquiring unit obtain is sent to the described operating system after startup.
8. intelligent terminal according to claim 7, is characterized in that,
Described operating system is used for before the shutdown of described intelligent terminal or dormancy, after the fixed time receiving user's input and the specified operation information corresponding with the described fixed time, generates corresponding event identifier; According to the fixed time received, specified operation information, and the event identifier generated, generate corresponding timer event, and start described timer.
9. intelligent terminal according to claim 8, is characterized in that,
Described operating system is also for after generating corresponding timer event, and by the timer event of generation and the mark of this operating system, corresponding stored is in the appointed area of the nonvolatile memory of described intelligent terminal.
10. intelligent terminal according to claim 7, is characterized in that, described bootstrap program module, also comprises:
Event and system banner delete cells, after the timer event of acquisition being sent to the described operating system after startup for described system start unit, the mark of the described timer event that deletion correspondence prestores and operating system.
CN201510916326.3A 2015-12-11 2015-12-11 Multi-system starting method based on timer as well as intelligent terminal Pending CN105511879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510916326.3A CN105511879A (en) 2015-12-11 2015-12-11 Multi-system starting method based on timer as well as intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510916326.3A CN105511879A (en) 2015-12-11 2015-12-11 Multi-system starting method based on timer as well as intelligent terminal

Publications (1)

Publication Number Publication Date
CN105511879A true CN105511879A (en) 2016-04-20

Family

ID=55719889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510916326.3A Pending CN105511879A (en) 2015-12-11 2015-12-11 Multi-system starting method based on timer as well as intelligent terminal

Country Status (1)

Country Link
CN (1) CN105511879A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453413A (en) * 2016-11-29 2017-02-22 北京元心科技有限公司 Method and device for applying SELinux security policy in multi-system
CN106534147A (en) * 2016-11-29 2017-03-22 北京元心科技有限公司 Method and device for selecting and applying SELinux security policy in multi-system
CN107357615A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Method for starting terminal, device, storage medium and electronic equipment
CN108233968A (en) * 2016-12-21 2018-06-29 联芯科技有限公司 The control method and control device of digital RF interface
CN110308934A (en) * 2018-03-22 2019-10-08 龙芯中科技术有限公司 HPET driving method and device, readable storage medium storing program for executing and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308276A (en) * 2000-02-09 2001-08-15 国际商业机器公司 Method and system of preselecting operation system loaded in subsequent boot process
CN101859260A (en) * 2010-05-14 2010-10-13 中国科学院计算技术研究所 Timer management device and management method for operating system
CN103324469A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Timer implementation method and device
CN104821990A (en) * 2015-04-29 2015-08-05 努比亚技术有限公司 Intelligent terminal power-off alarm clock realization method and intelligent terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308276A (en) * 2000-02-09 2001-08-15 国际商业机器公司 Method and system of preselecting operation system loaded in subsequent boot process
CN101859260A (en) * 2010-05-14 2010-10-13 中国科学院计算技术研究所 Timer management device and management method for operating system
CN103324469A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Timer implementation method and device
CN104821990A (en) * 2015-04-29 2015-08-05 努比亚技术有限公司 Intelligent terminal power-off alarm clock realization method and intelligent terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453413A (en) * 2016-11-29 2017-02-22 北京元心科技有限公司 Method and device for applying SELinux security policy in multi-system
CN106534147A (en) * 2016-11-29 2017-03-22 北京元心科技有限公司 Method and device for selecting and applying SELinux security policy in multi-system
CN106453413B (en) * 2016-11-29 2019-06-25 北京元心科技有限公司 Method and device for applying SELinux security policy in multi-system
CN106534147B (en) * 2016-11-29 2019-08-27 北京元心科技有限公司 Method and device for selecting and applying SELinux security policy in multi-system
CN108233968A (en) * 2016-12-21 2018-06-29 联芯科技有限公司 The control method and control device of digital RF interface
CN108233968B (en) * 2016-12-21 2020-05-12 辰芯科技有限公司 Control method and control device of digital radio frequency interface
CN107357615A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Method for starting terminal, device, storage medium and electronic equipment
CN110308934A (en) * 2018-03-22 2019-10-08 龙芯中科技术有限公司 HPET driving method and device, readable storage medium storing program for executing and electronic equipment
CN110308934B (en) * 2018-03-22 2022-03-29 龙芯中科(成都)技术有限公司 HPET driving method and device, readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105511879A (en) Multi-system starting method based on timer as well as intelligent terminal
CN106020875B (en) Firmware update management method and device of embedded terminal
US8621568B2 (en) WAN module based remote wakeup system and terminal thereof
CN105138896A (en) Intelligent terminal and access right control method of hardware equipment thereof
CN102946600A (en) Method and system for updating mobile terminal parameters by firmware
CN105354097A (en) Data operation method and device based on clipboard and electronic equipment
US8868795B2 (en) Data processing device for multiple hardware systems, switching method and computer program product
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
WO2018000692A1 (en) Data synchronization method and system, user terminal and server for data synchronization
CN105573910A (en) Application program debugging method of protected system and intelligent terminal
CN102855428A (en) Security control method of computer and computer
CN112559082B (en) Terminal device, NFC clock control method, NFC module and medium
CN107734374B (en) Energy-saving method and device for remote controller and storage medium
CN104991805A (en) Intelligent device and system disaster recovery backup control method thereof
WO2018192207A1 (en) Satellite signal search method, device, and mobile terminal
CN105068870A (en) Method and device for multi-language information switching
CN113543104A (en) Bluetooth communication method, multimedia device and storage medium
CN107168924B (en) Control method and device of functional chip
CN111726450B (en) Control method of intelligent express cabinet and intelligent express cabinet
CN112055189A (en) Holographic system with network awakening function and network awakening method thereof
CN109711519B (en) Financial chip-based peripheral expansion method and financial card
CN107741865B (en) Standby system capable of self-awakening and standby method
CN112583706A (en) Gateway service processing method, gateway, receiving end, system and storage medium
CN105005476A (en) Android-mobile-application-mashup-oriented framework
CN105786534A (en) Information acquisition method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160420