Embodiment
Carry out clear, complete description below with reference to accompanying drawing to technical scheme of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, other embodiments all that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belong to the scope that the present invention protects.
Invention of the present invention finds, existing starting-up method makes the slow-paced key reason of mobile terminal-opening be: first initialization application processor reinitializes the sequence problem of baseband processor.
Therefore, in order to accelerate the starting up speed of mobile terminal, the present inventor considers, after mobile terminal powers up, can power up application processor and baseband processor simultaneously.That is, after power-up, start the initial work of application processor and baseband processor simultaneously.Wherein, the initialization of baseband processor can be carried out based on the start-up parameter prestored.
In practical application, the initialization deadline of baseband processor often will be less than the initialization deadline of application processor; And baseband processor just can receive communication event (such as, short message event, incoming call event) after completing initialization.Therefore, by starting the initial work of application processor and baseband processor simultaneously in the solution of the present invention, application processor can be made to complete initialization and after starting communication module, communication module can normally carry out conversing, note, reduce or remit the wait of the initialization deadline of baseband processor, improve the initialization speed of communication module, thus shorten starting time of mobile terminal.
Further, consider and complete initialization in baseband processor, and under application processor also do not complete initialized situation, if there is the communication event such as incoming call, note, also unripe communication module may process the communication event received, thus the problem causing communication event to be omitted.
Therefore, the present inventor considers, can by the function of expansion base provided with processor, make baseband processor initialization is completed to baseband processor after, the communication event that receives before completing initialization of application processor carries out buffer memory; And after application processor completes initialization, the communication event of buffer memory is reported the related application that application processor starts, avoid the omission of communication event with this.
In the solution of the present invention, mobile terminal mainly refers to mobile phone or has the smart mobile phone and panel computer etc. of multiple application function, not only can carry out basic call, SMS, based on different operating system and application program, the function that other are abundant can also be realized.Such as, take pictures, listen to the music, play games, locate, information processing, finger scan and alcohol content detection etc.
Mobile terminal can adopt the framework of dual processor on hardware, on the one hand, carrys out user oriented application, operation system and various application program by application processor; On the other hand, network service is responsible for by baseband processor.In practical application, can the control code of operational communications protocol physical layers by baseband processor, control the upper layer software (applications) of communication protocol.
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawing.
The invention provides a kind of mobile terminal, as shown in Figure 1, hardware can adopt the framework of dual processor, comprising: application processor 101, baseband processor 102.
In the embodiment of the present invention, after mobile terminal powers up, application processor 101 and baseband processor 102 power up simultaneously carries out initialization.
Wherein, after application processor 101 completes initialization, can related application be started, and send state notifying to baseband processor.
In the solution of the present invention, the initialization of application processor 101 can adopt initialize flow known in those skilled in the art, does not repeat them here.
In practical application, after application processor 101 completes initialization, need first to start the operating system, afterwards initialization startup is carried out to the related application being preset as starting up.
Further, application processor 101, after completing initialization, starts RIL (RadioInterfaceLayer, the radio interface layer) program of communication module, to carry out command interaction subsequently through RIL program and baseband processor 102, realize the normal use of communication module with this.Such as, state notifying is sent by RIL program to baseband processor.
Particularly, after application processor 101 completes initialization, issue the first extended instruction to RIL program, inform that its initialization of RIL program is complete with this.Then, by RIL program the second extended instruction completed on initialized state notifying as application processor 101 and sent to baseband processor 102.
In practical application, when communication module adopts GSM (GlobalSystemforMobileCommunication, global system for mobile communications) communications protocol, can expand the associated instruction set of GSM.
Such as, application processor 101 completes initialization and after starting RIL program, can by the first extended instruction RIL_REQUEST_OS_FLAG of expansion, to informing that its initialization of RIL program is complete.
Then, RIL program reports the second extended instruction ^OSREADY to baseband processor 102, notifies that application processor 101 completes initialization with this to baseband processor 102.
In the embodiment of the present invention, in order to avoid there is the situation that communication event is omitted, baseband processor 102 complete initialization and receive application processor 101 send state notifying after, the communication event of buffer memory can be reported the related application that application processor 101 starts.
Wherein, the communication event of buffer memory is the communication event received after baseband processor completes initialization.Communication event specifically comprises: short message event and/or the access failure words event hung up.
Particularly, baseband processor 102 complete initialization and from RIL process accepts to the second extended instruction after, the communication event of buffer memory is handed down to RIL program, the communication event of reception reported by RIL program the related application that application processor 101 starts, so that the note that receives during checking start of user and missed call number.
In the solution of the present invention, for the start-up parameter of initialization baseband processor 102, can be pre-stored within baseband processor 102; Start-up parameter can be configured in advance by those skilled in the art, or, also can be configured according to the parameter before mobile terminal shutdown.
In practical application, when communication module adopts GSM communications protocol, the elementary instruction that baseband processor 102 can utilize the start-up parameter of configuration and the dependent instruction of GSM to concentrate, carries out initialization.
Further, receive for after informing that application processor 101 has completed initialized second extended instruction in baseband processor 102, can also for the call event also do not hung up now received, calling order is issued, to show the phone do not hung up in time to user to communication module.
The starting-up method of the baseband processor that reinitializes compared to existing first initialization application processor, the solution of the present invention is by carrying out the initialization of application processor and baseband processor simultaneously, save the initialization deadline of baseband processor with this, thus improve the starting up speed of mobile terminal.
Based on above-mentioned mobile terminal, present invention also offers a kind of starting-up method of mobile terminal, its idiographic flow as shown in Figure 2, can comprise the steps:
S201: after mobile terminal powers up, application processor 101 and baseband processor 102 power up simultaneously carries out initialization.
S202: after application processor completes initialization, starts related application, and sends state notifying to baseband processor.
Particularly, after application processor 101 completes initialization, start the operating system, initialization startup is carried out to the related application being preset as starting up.
Further, application processor 101 is after completing initialization, the communication module of process communication event can also be opened, and start the RIL (RadioInterfaceLayer of communication module, radio interface layer) program, to send state notifying to baseband processor subsequently through RIL program in time by RIL program.
Particularly, after application processor 101 completes initialization, issue the first extended instruction to RIL program, inform that its initialization of RIL program is complete with this.After RIL process accepts to the first extended instruction, the second extended instruction is completed on initialized state notifying as application processor 101 and sends to baseband processor 102.
For GSM communications protocol, in advance the associated instruction set of GSM is expanded, expand two instructions: the first extended instruction RIL_REQUEST_OS_FLAG and the second extended instruction ^OSREADY.
First extended instruction RIL_REQUEST_OS_FLAG is issued to RIL program by application processor 101.RIL process accepts, to the first extended instruction RIL_REQUEST_OS_FLAG, namely represents that application processor 101 completes initialization.
Second extended instruction ^OSREADY is sent out in baseband processor 102 by RIL program.Baseband processor 102 receives the second extended instruction ^OSREADY, and namely represent that application processor 101 completes initialization, communication module can normally receive note, call event.
Like this, after the first extended instruction RIL_REQUEST_OS_FLAG that RIL process accepts issues to application processor 101, the second extended instruction ^OSREADY can be completed on initialized state notifying as application processor 101 and send to baseband processor 102.
S203: baseband processor completes initialization and after receiving state notifying, the communication event of buffer memory reported the related application that application processor starts.
Particularly, after baseband processor 102 completes initialization, just communication event can be received.Wherein, communication event can comprise: short message event and/or the access failure words event hung up.
The initialization deadline due to baseband processor 102 often will be less than initialization deadline of application processor, therefore, when baseband processor 102 completes initialization, application processor 101 does not also complete initialization, communication module does not also start, and just cannot make corresponding reaction to the communication event that baseband processor 102 receives yet.
Therefore, in the solution of the present invention, after baseband processor 102 completes initialization, the communication event received can be carried out buffer memory.Such as, can by the communication event buffer memory of reception to gsm protocol stack.
And when baseband processor 102 receives the state notifying of application processor 101 transmission, also just represent that application processor 101 has completed initialization, and start the related application being preset as starting up.Therefore, the communication event of buffer memory can be reported the related application that application processor starts by baseband processor 102.
Particularly, baseband processor 102 from RIL process accepts to the second extended instruction after, the communication event of buffer memory is handed down to RIL program, the communication event of reception is reported by RIL program the related application that application processor starts.
In practical application, after baseband processor 102 receives the second extended instruction, the communication event whether being cached with reception in gsm protocol stack can be judged, if had, then from protocol stack, the communication event of buffer memory can be handed down to RIL program.
More preferably, after baseband processor 102 receives the second extended instruction, can preferentially judge whether to be cached with short message event, if had, then the short message event of buffer memory is handed down to RIL program; Otherwise judge whether further to be cached with the access failure words event hung up, if had, then baseband processor 102 can issue to RIL program the 3rd extended instruction can carrying calling number.Like this, after RIL process accepts to the 3rd extended instruction carrying calling number, calling number can be reported as missed call number to related application, so that user checks.
In practical application, for GSM communications protocol, the 3rd extended instruction can carrying calling number belongs to the associated instruction set of the GSM of expansion.Such as, the 3rd extended instruction can carrying calling number is ^SRING, xxxxxx, and wherein, the content of " xxxxxx " can be calling number.
Further, consider in practical application that may appear at baseband processor 102 receives the call event existing in the process of the second extended instruction and do not hang up; All completed initialization in baseband processor 102 and application processor 101, mobile terminal is when completing starting up's process, user can carry out telephone operation.
Therefore, in the solution of the present invention, after baseband processor 102 receives the call event do not hung up, calling order can be issued to communication module, make user to carry out telephone operation.
In technical scheme of the present invention, the initialization deadline due to baseband processor often will be less than initialization deadline of application processor, therefore, after mobile terminal powers up, start the initialization of application processor and baseband processor simultaneously, application processor can be made to complete initialization and after starting communication module, communication module can normally carry out conversing, note, and without the need to waiting for that baseband processor completes the initialized time again, improve the initialization speed of communication module, thus shorten starting time of mobile terminal.
Further, consider and complete initialization in baseband processor, and under application processor also do not complete initialized situation, if there is the communication event such as incoming call, note, the communication module also do not started cannot process the communication event received, therefore, in the solution of the present invention, by after initialization is completed to baseband processor, the buffer memory of communication event that receives before completing initialization of application processor and reporting, effectively can avoid the omission of communication event, improve Consumer's Experience.
The term such as " module " used in this application, " system " is intended to comprise the entity relevant to computer, such as but not limited to hardware, firmware, combination thereof, software or executory software.Such as, module can be, but be not limited in: the thread of the process that processor runs, processor, object, executable program, execution, program and/or computer.For example, application program computing equipment run and this computing equipment can be modules.One or more module can be positioned at an executory process and/or thread, and module also and/or can be distributed on a computer between two or more platform computers.
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 all-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, computer) 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 optical disk), ROM (Read-OnlyMemory, read-only memory), RAM (RandomAccessMemory, memory 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, computer).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structure charts and/or block diagram and/or flow graph and these structure charts 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 all-purpose computer, special purpose computer or other programmable data processing methods realizes, thus is performed the scheme of specifying in the frame of structure chart disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computer or other programmable data processing methods.
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 the preferred embodiment 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.