CN101610316A - The startup methods, devices and systems of application program of mobile phone - Google Patents

The startup methods, devices and systems of application program of mobile phone Download PDF

Info

Publication number
CN101610316A
CN101610316A CNA2009101601777A CN200910160177A CN101610316A CN 101610316 A CN101610316 A CN 101610316A CN A2009101601777 A CNA2009101601777 A CN A2009101601777A CN 200910160177 A CN200910160177 A CN 200910160177A CN 101610316 A CN101610316 A CN 101610316A
Authority
CN
China
Prior art keywords
application program
fast
registered
startup
starts
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
CNA2009101601777A
Other languages
Chinese (zh)
Other versions
CN101610316B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910160177A priority Critical patent/CN101610316B/en
Publication of CN101610316A publication Critical patent/CN101610316A/en
Priority to PCT/CN2010/073719 priority patent/WO2011009346A1/en
Application granted granted Critical
Publication of CN101610316B publication Critical patent/CN101610316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention discloses a kind of startup methods, devices and systems of application program of mobile phone, wherein, above-mentioned startup method comprises: when the startup request of receiving first application program, judge whether to exist the registered first kind to start process fast, if exist, then start first application program by registered first kind startup process fast; The if there is no registered first kind starts process fast, and the unregistered first kind that then stops having created starts process fast.Because the unregistered first kind that has stopped by force having created when starting application program starts process fast, and can start application program by registered second type startup process fast, thereby when application program is switched fast, accelerated the speed of application program launching, improved user experience.

Description

The startup methods, devices and systems of application program of mobile phone
Technical field
The present invention relates to the communications field, in particular to a kind of startup methods, devices and systems of application program of mobile phone.
Background technology
Along with the quick growth of smart mobile phone quantity, people are also maked rapid progress to application demand in the smart mobile phone, and from basic phone directory, local services such as calling are to multimedia message, browser, value-added services such as java.The function and the complexity of mobile phone application simultaneously also strengthen day by day, certainly will will cause more resources consumption.Because mobile phone terminal belongs to a kind of small-sized embedded device, on CPU, internal memory unlike PC infinite expanding.For user experience, the variation of mobile phone application function has just become important criterion with the toggle speed of application.
At present, the realization of mobile phone application start is divided into following several mode:
1) starts with normal mode.
When the user clicks desktop icons, at first generate a subprocess, pass through the executable file of exec function load application then.
2) start in the prestrain mode, promptly adopt the mode that starts fast.
Will be divided into two stages to application by this way, first is the public initialization section of each application, comprises the initialization of window, and second is exactly that an initialization of using self and window show.Specific practice is exactly the quick startup process that starts in advance, finishes the task in first stage of application, and waiting needs to start when using, and by loading the mode of dynamic base, directly begins to enter the main window operation.The time that starts is divided into following two situations fast:
A) when system initialization starts;
B) after quick startup enters the application main window, just become certain concrete application, need to start next quick startup process this moment in order to next application use.
3) mode with prestrain+start fast pond starts.
Start the notion that the pond is similar to thread pool fast, when needs start certain application, just from quick startup pond, take out a quick startup process supply with using, in quick startup pond, do not have to supply quick startup process, just start in normal mode with using.
By practice, this will cause following problem:
1) starts application in first kind of mode, because the complexity of application program itself will cause toggle speed slow, poor user experience.
2) start to use with the second way and since fast the startup process finished use in the public initialization operation of phase I, when real startup application program, will improve the toggle speed of using greatly, solve the drawback of bringing by first kind of mode.But switch when using fast, this stylish quick startup process also is not activated success, and application will start with normal mode, cause toggle speed slack-off.In addition, also have such a case, new application program and new quick startup process start simultaneously, and the expense that causes switching between process increases, and makes application start slower than normal startup, poor user experience.
3) start application in the third mode, on some angle, can solve the problem that above-mentioned dual mode causes, but the process number that starts in the pond fast can't reach ideal value, if the process number is too little, then when multitask, a lot of application programs still will start in normal mode; If the process number is too big, then will consume too much originally with regard to limited memory source, when application program seldom the time, this shortcoming is more obvious.
This shows that the startup method of application program of mobile phone all has shortcoming separately in the prior art, particularly when application program is switched fast, exist toggle speed slow, poor user experience causes problems such as system resource waste simultaneously.
Summary of the invention
Slow at the toggle speed that startup method of the prior art exists when application program is switched fast, poor user experience, cause the problem of system resource waste simultaneously and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of startup methods, devices and systems of application program of mobile phone, one of to address the above problem at least.
A kind of startup method of application program of mobile phone is provided according to an aspect of the present invention.
Startup method according to application program of mobile phone of the present invention comprises: when the startup request of receiving first application program, judge whether to exist the registered first kind to start process fast, if exist, then start first application program by registered first kind startup process fast; The if there is no registered first kind starts process fast, and the unregistered first kind that then stops having created starts process fast.
Preferably, said method is after the unregistered first kind that stops having created starts process fast, further comprise: judge whether to exist registered second type to start process fast,, then start first application program by registered second type startup process fast if exist.
A kind of starting drive of application program of mobile phone is provided according to another aspect of the present invention.
Starting drive according to application program of mobile phone of the present invention comprises: receiver module is used to receive the startup request of application program of self terminal and the log-on message that comprises the application program launching sign; First judge module is used for judging whether to exist the registered first kind to start process fast after the startup request of the application program that receives self terminal; Stop module, be used for not existing the registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast; Start module, be used for starting application program by registered first kind startup process fast existing the registered first kind to start fast under the situation of process.
Preferably, said apparatus further comprises: second judge module, be used for after the unregistered first kind that stops having created starts process fast, judging whether to exist registered second type to start process fast, wherein, start module and also be used for existing registered second type to start fast under the situation of process, start application program by registered second type startup process fast.
A kind of start-up system of application program of mobile phone is provided according to a further aspect of the invention.
Start-up system according to application program of mobile phone of the present invention comprises: application management device, be used to monitor the state of each application program and each starts state of a process fast, and wherein, startup process fast comprises that the first kind starts process fast; The application start device is used for starting application program by quick startup process.Wherein, the application start device further comprises, first receiver module, be used to receive self terminal first application program the startup request and from the Query Result of application management device; First judge module is used for judging whether to exist the registered first kind to start process fast according to Query Result after receiving the startup request; Stop module, be used for not existing the registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast; Start module, be used for starting application program by registered first kind startup process fast existing the registered first kind to start fast under the situation of process; First sending module is used for sending query requests to inquire about quick startup state of a process to application management device.
Preferably, the quick startup process of above-mentioned application management device monitoring comprises that also second type starts process fast, and the application start device further comprises: second judge module, be used for after the unregistered first kind that stops having created starts process fast, judging whether to exist registered second type to start process fast according to Query Result from application management device, wherein, start module and also be used for existing registered second type to start fast under the situation of process, start application program by registered second type startup process fast.
When application program is switched fast, the present invention starts process fast judging the unregistered first kind that does not have the registered first kind to stop by force having created after starting process fast, and exist after registered second type starts process fast judging, use this registered second type startup process fast to start new application program.Because the unregistered first kind that has stopped by force having created when starting application program starts process fast, and can start application program by registered second type startup process fast, thereby it is slow to have solved the toggle speed that the program start method exists when application program is switched fast in the existing technology, poor user experience, cause the problem of system resource waste simultaneously, and then reached the speed of when application program is switched fast, accelerating application program launching, improve user experience effect.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is by start the flow chart of application program according to the first kind startup process fast that is registered as LAUNCH_FAST of the embodiment of the invention;
Fig. 2 is by the flow chart that LAUNCH_NORMAL second type startup process fast starts application program that is registered as according to the embodiment of the invention;
Fig. 3 is the startup method according to the application program of mobile phone of the embodiment of the invention;
Fig. 4 is the starting drive according to the application program of mobile phone of the embodiment of the invention;
Fig. 5 is the start-up system according to the application program of mobile phone of the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Functional overview
Consider that the toggle speed that startup method of the prior art exists when application program is switched fast is slow, poor user experience causes the problem of system resource waste simultaneously, and the embodiment of the invention provides a kind of startup methods, devices and systems of application program of mobile phone.When application program is switched fast, above-mentioned startup method starts process fast judging the unregistered first kind that does not have the registered first kind to stop by force having created after starting process fast, and judge and exist registered second type to start fast after the process, use this registered second type startup process fast to start new application program.Because the unregistered first kind that has stopped by force having created when starting application program starts process fast, and can start application program by registered second type startup process fast, thereby it is slow to have solved the toggle speed that the program start method exists when application program is switched fast in the existing technology, poor user experience, cause the problem of system resource waste simultaneously, and then reached the speed of when application program is switched fast, accelerating application program launching, improve user experience effect.
Method embodiment
According to embodiments of the invention, provide a kind of startup method of application program of mobile phone.
The method that should start application program of mobile phone fast is to realize on following basis:
1) make up an application management subsystem (AMSS, Application ManagementSub System), the purpose of this system is to monitor the startup and the login state of the running status (move and withdraw from) and the quick startup process of each application program.
2) as shown in Figure 2, when system initialization, can generate quick startup process A and B automatically, and process A creates (fork) simultaneously and goes out a subprocess C, wherein, start process B fast and be called the first kind and start process fast, be called second type and start process fast and start process C fast.Above-mentioned subprocess C mainly is responsible for being connected registration with AMSS, and is registered as LAUNCH_NORMAL.This subprocess C that is registered as LAUNCH_NORMAL is mainly used in and finished the required initialization operation of application program establishment before being called, to reduce start-up time required when calling process C starts application program, wherein, the required initialization operation of above-mentioned application program establishment belongs to operation public when starting each application program.In addition, the parent process A of subprocess C mainly is responsible for the state of this subprocess of monitoring, when this subprocess C withdraws from, creates out a subprocess again, repeats aforesaid operations.
3) first kind starts process B fast and mainly is responsible for finishing with AMSS and is connected registration, and is registered as LAUNCH_FAST.The first kind that is registered as LAUNCH_FAST starts process B fast and is mainly used in the task of finishing following two stages: the phase I task is that required initialization operation created in executive utility; The second stage task is the required initialization operation of executive utility window, and wherein, above-mentioned application program creates required initialization operation and the required initialization operation of application window belongs to operation public when starting each application program.Because the task in above-mentioned two stages was all finished before starting application program, so reduced start-up time required when calling the first kind and start process B fast and start application program.
Fig. 1 is by start the flow chart of application program according to the first kind startup process fast that is registered as LAUNCH_FAST of the embodiment of the invention.As described in Figure 1, the processing procedure that starts application program by the first kind startup process fast that is registered as LAUNCH_FAST according to the embodiment of the invention comprises that mainly following step S102 is to step S108:
Step S102, current application program and AMSS finish the information registration.
For example, the registered startup fast for the first kind of LAUNCH_FAST after process B starts current application program by existing will comprise that the information of application program launching sign sends to AMSS, register to finish information.
Step S104 creates the new first kind and starts process fast.
After AMSS receives log-on message, create a first kind again and start process fast, for example the first kind starts process D fast, to be used for next application program.
Step S106, the new first kind startup process of creating is fast finished the phase I task, enters event loop.
The quick startup process B that is created during with system initialization is the same, and the above-mentioned first kind of having created starts process D fast and just is registered as LAUNCH_FAST to AMSS after need finishing the task in following two stages: the phase I task is that required initialization operation created in executive utility; The second stage task is the required initialization operation of executive utility window.Herein, the new quick startup process D that creates at first finishes the task of phase I, and promptly required initialization operation created in executive utility, enters event loop then, to wait for that current application program withdraws from.
Step S108, current application program withdraws from, and triggers the unregistered first kind startup process of having created fast and finishes the second stage task, be i.e. the required initialization operation of executive utility window.Then, the first kind that is registered as LAUNCH_FAST to AMSS starts process fast, enters event loop, to wait for calling of next application program.
As from the foregoing, because before being employed routine call, the first kind that is registered as LAUNCH_FAST starts process fast have been finished application program and has created required initialization operation and the required initialization operation of application window, thereby has reduced start-up time required when calling this process and start application program.
In said process, the situation that application program is switched fast may appear, just, starting process D fast with the unregistered first kind after current application program withdraws from finishes before the second stage task, the user has initiated new application start request again, at this moment, the new first kind of creating starts the task that process D does not finish second stage as yet fast, thereby the first kind that does not have to be registered as LAUNCH_FAST to AMSS starts process fast.In this case, unregisteredly start process D fast for the first kind of LAUNCH_FAST according to what the method for the quick startup application program of mobile phone of the embodiment of the invention will stop having created by force, to discharge related resource, accelerate the startup of application program, its specific implementation process will be described in detail follow-up.
Fig. 2 is by start the flow chart of application program according to second type startup process fast that is registered as LAUNCH_NORMAL of the embodiment of the invention.As shown in Figure 2, the processing procedure that starts application program by second type startup process fast that is registered as LAUNCH_NORMAL according to the embodiment of the invention mainly comprises following step S202 to S210:
Step S202, system initialization is created quick startup process A;
Step S204, process A creates subprocess C (second type starts process fast);
Step S206, parent process A mainly monitor the state of subprocess C;
Step S208, process C is registered as the quick startup process of LAUNCH_NORMAL to AMSS, enters event loop then, is called to start application program with wait;
Step S210 when subprocess C withdraws from, goes to step S204, and to create out a subprocess again, promptly second type starts process fast, repeats aforesaid operations; If subprocess C does not withdraw from, then go to step S206.
Owing to starting process C fast, second type that is registered as LAUNCH_NORMAL before being called, finishes the required initialization operation of application program establishment, so reduce start-up time required when calling process C starts application program.
Be described in detail below in conjunction with the implementation procedure of example the embodiment of the invention.
As shown in Figure 3, comprise that according to the startup method of the application program of mobile phone of the embodiment of the invention following step S302 is to step S314:
Step S302, user initiate to start the request of application program.
When the user clicks the desktop application icon, initiate to start the request of application program to AMSS.Because each quick startup process all can be registered to AMSS, therefore, after AMSS received this startup request, AMSS can select corresponding startup process fast to supply according to log-on message and use routine call.
Step S304 judges whether to exist the first kind that is registered as LAUNCH_FAST to start process fast.
Whether AMSS at first searches the first kind that is registered as LAUNCH_FAST and starts process fast and exist, if exist, then goes to step S306; If do not exist, then go to step S308.For example, when system initialization, because having generated the first kind that is registered as LAUNCH_FAST automatically starts process B fast, so if user's this moment initiates the startup request of application program, then can find the required first kind that is registered as LAUNCH_FAST and start process B fast, thereby go to step S306, start application program to start process B fast by the first kind that is registered as LAUNCH_FAST.For another example, start fast under process B is called with the situation that starts current application program in the current first kind that is registered as LAUNCH_FAST, AMSS is after receiving the log-on message that comprises the application program launching sign, to create a first kind again and start process D fast, and this first kind starts the task that process D has finished the phase I fast, and promptly required initialization operation created in executive utility.If application program takes place to be switched fast, promptly starting process D fast with the unregistered first kind of new establishment after current application program withdraws from finishes before the second stage task, the user has initiated the new application program launching request as mentioning among the step S302 again, at this moment, because the new first kind of creating starts the task that process D does not finish second stage as yet fast, thereby the first kind of also failing to be registered as to AMSS LAUNCH_FAST starts process fast, like this, to go to step S308, to carry out subsequent treatment, the first kind of above-mentioned new establishment starts process D fast and will be described follow-up.
Step S306 with the first quick startup process that the is registered as LAUNCH_FAST process as application program, starts application program.
Owing to starting process fast, the first kind that is registered as LAUNCH_FAST finished required initialization operation and the required initialization operation of application window of application establishment, thereby saved more time for the startup of application program, make the speed of having accelerated application start when this first kind startup process fast that is registered as LAUNCH_FAST starts application program calling.In addition, as shown in Figure 1, after starting current application program, will comprise that the information of application program launching sign sends to AMSS, to finish the information registration by the first kind startup process fast that is registered as LAUNCH_FAST.AMSS creates a first kind again and starts process fast after receiving log-on message, is called by follow-up application program being used for, and its specific implementation process does not repeat them here with reference to above-mentioned description about Fig. 1.
Step S308 with unregisteredly stopping by force for the first kind of LAUNCH_FAST starts process fast of newly creating, and goes to step S310.
The first kind starts process D fast need carry out the second stage task (promptly originally, finish the required initialization operation of application window) to finish registration, if but carry out this second stage task, with consuming the more time and taking a large amount of cpu resources, so that the toggle speed of current request application program started is slack-off.At this moment, can be according to the method for the quick startup application program of mobile phone of the embodiment of the invention with unregisteredly, the first kind of LAUNCH_FAST stopping by force of newly creating for starting process D fast, thus discharge cpu resource, reduce start-up time.Further, at subsequent treatment (step S312), can start process (for example, process C) by second type that is registered as LAUNCH_NORMAL fast and start this application program.
Step S310 judges whether to exist second type that is registered as LAUNCH_NORMAL to start process fast.If exist, then go to step S312; If do not exist, then go to step S314.
Step S312 starts the program by second type startup process fast that is registered as LAUNCH_NORMAL, and its specific implementation process can not repeat them here with reference to the description about above-mentioned Fig. 2.Before being called, finish application program and create required initialization operation because second type that is registered as LAUNCH_NORMAL starts process fast, so reduced start-up time required when calling this second type startup process fast that is registered as LAUNCH_NORMAL and start application program.
Step S314 starts application program with normal mode.This normal mode can adopt correlation technique of the prior art to realize, does not repeat them here.
From above description, as can be seen, when application program is switched fast, start process according to the startup method of the application program of mobile phone of the embodiment of the invention fast judging the unregistered first kind that does not have the registered first kind to stop by force having created after starting process fast, and exist after registered second type starts process fast judging, use this registered second type startup process fast to start new application program.Because the unregistered first kind that has stopped by force having created starts process fast, thereby discharge cpu resource when starting application program, reduced start-up time.In addition, owing to can start application program rather than directly start in normal mode by registered second type startup process fast, thereby further reduced start-up time.Like this, it is slow to have solved the toggle speed that the program start method exists when application program is switched fast in the existing technology, poor user experience, cause the problem of system resource waste simultaneously, and then reached the speed of when application program is switched fast, accelerating application program launching, improve user experience effect.
Device embodiment
According to embodiments of the invention, provide a kind of starting drive of application program of mobile phone.
Fig. 4 is the starting drive according to the application program of mobile phone of the embodiment of the invention.As shown in Figure 4, this device comprises: receiver module 402 is used to receive the startup request of application program of self terminal and the log-on message that comprises the application program launching sign; First judge module 404 is connected to receiver module 402, is used for judging whether to exist the registered first kind to start process fast after the startup request of the application program that receives self terminal; Stop module 406, be connected to first judge module 404, be used for not existing the registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast; Start module 410, be connected to first judge module 404, be used for starting application program by registered first kind startup process fast existing the registered first kind to start fast under the situation of process.
Said apparatus further comprises second judge module 408, this second judge module 408 is connected to and stops module 406, is used for judging whether to exist registered second type to start process fast after the unregistered first kind that stops having created starts process fast.In addition, start module 410 and further be connected to second judge module 408.Exist registered second type to start fast under the situation of process, starting module 410 and start application program by registered second type startup process fast.
Said apparatus further comprises the creation module 412 that is connected to receiver module 402.After the log-on message of receiving from receiver module 402 that comprises the application program launching sign, creation module 412 is created the new first kind and is started process fast.
Said apparatus further comprises storage device 414, and the registered first kind of these storage device 414 preservations starts process fast and registered second type starts state of a process fast.Whether first judge module 404 and second judge module 408 are judged by the stored information of inquiring about this storage device 414 and are existed the registered first kind to start process fast or registered second type starts process fast.
System embodiment
According to embodiments of the invention, provide a kind of start-up system of application program of mobile phone.
Fig. 5 is the start-up system according to the application program of mobile phone of the embodiment of the invention.As shown in Figure 5, this system comprises: application management device 502, be used to monitor the running status of each application program and the startup and the login state of startup process fast, above-mentioned quick startup process comprises that the first kind starts process fast and second type starts process fast; Application start device 504 is used for the registration of the process that starts fast to application management device 502, and starts application program.
Above-mentioned application management device 502 can comprise: receiver module 506, memory module 508 and sending module 512.Above-mentioned receiver module 506 receives log-on message from application program, from the log-on message of quick startup process (for example the first kind starts process fast and second type starts process fast) with from the query requests of application start device 504, and above-mentioned log-on message is sent to memory module 508 stores, wherein, log-on message from application program comprises that at least the program start sign should be arranged, and comprise quick startup process type sign at least from the log-on message of quick startup process, be LAUNCH_FAST or be LAUNCH_NORMAL as type identification.Above-mentioned sending module 512 is connected to memory module 508.After the query requests that receives from application start device 504, application management device 502 visit memory modules 508, to inquire about quick startup state of a process, start process fast and second type starts state of a process fast as the registered first kind of current existence, then, sending module 512 sends to application start device 504 with Query Result.
Above-mentioned application management device 502 may further include creation module 510, and this creation module 510 is connected to receiver module 506, and after the log-on message of receiving from application program that comprises the application program launching sign, creates the first kind and start process fast.
Above-mentioned application start device 504 further comprises: receiver module 402, be used to receive self terminal application program the startup request and and from the Query Result of application management device 502; First judge module 404 is connected to receiver module 402, is used for judging whether to exist the registered first kind to start process fast according to the Query Result from application management device 502 after the startup request of the application program that receives self terminal; Stop module 406, be connected to first judge module 404, be used for not existing the registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast; Start module 410, be connected to first judge module 404, be used for starting application program by registered first kind startup process fast existing the registered first kind to start fast under the situation of process; Sending module 416, be connected to first judge module 404 and the second following judge module 408, be used for sending query requests to application management device 502 when whether judgement exists registered first or second type to start process fast, the described registered first kind starts process fast and described registered second type starts state of a process fast to inquire about.
Above-mentioned application start device 504 further comprises second judge module 408, this second judge module 408 is connected to and stops module 406, is used for judging whether to exist registered second type to start process fast according to the Query Result from application management device 502 after the unregistered first kind that stops having created starts process fast.
In addition, start module 410 and further be connected to second judge module 408.Exist registered second type to start fast under the situation of process, starting module 410 and start application program by registered second type startup process fast.
As described in the invention described above method embodiment, start process fast according to the first kind of apparatus of the present invention embodiment and system embodiment and can be registered as LAUNCH_FAST, and finish the task in following two stages before being called: the phase I task is that required initialization operation created in executive utility; The second stage task is the required initialization operation of executive utility window, and wherein, it is the public operation of each application program that above-mentioned application program is created required initialization operation and the required initialization operation of application window.Like this, because the task in above-mentioned two stages all finished before starting application program, so reduced start-up time required when calling the first kind and start process B fast and start application program.
Equally, start process fast according to second type of apparatus of the present invention embodiment and system embodiment and can be registered as LAUNCH_NORMAL, and before being called, finish application program and create required initialization operation, to reduce start-up time required when calling process C starts application program.
From above description, as can be seen, when application program is switched fast, start process according to the starting drive of the application program of mobile phone of the embodiment of the invention and system fast judging the unregistered first kind that does not have the registered first kind to stop by force having created after starting process fast, and exist after registered second type starts process fast judging, use this registered second type startup process fast to start new application program.Because the unregistered first kind that has stopped by force having created starts process fast, thereby discharge cpu resource when starting application program, reduced start-up time.In addition, owing to can start application program rather than directly start in normal mode by registered second type startup process fast, thereby further reduced start-up time.Like this, it is slow to have solved the toggle speed that the program start method exists when application program is switched fast in the existing technology, poor user experience, cause the problem of system resource waste simultaneously, and then reached the speed of when application program is switched fast, accelerating application program launching, improve user experience effect.
Need to prove, can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the startup method of an application program of mobile phone is characterized in that, comprising:
When the startup request of receiving first application program, judge whether to exist the registered first kind to start process fast, if exist, then start described first application program by described registered first kind startup process fast;
The if there is no described registered first kind starts process fast, and the unregistered first kind that then stops having created starts process fast.
2. method according to claim 1 is characterized in that, after the unregistered first kind that described termination has been created starts process fast, further comprises:
Judge whether to exist registered second type to start process fast,, then start described first application program by described registered second type startup process fast if exist.
3. method according to claim 1 is characterized in that, the described registered first kind starts process fast and realizes by following operation:
After second application program launching, create the first kind and start process fast, and described first kind startup process is fast carried out the phase I task, wherein, described second application program was requested to start before described first application program, and described phase I task comprises that at least finishing application program creates required initialization operation;
After described second application program withdraws from, described first kind startup process is fast carried out the second stage task, and register to become the registered first kind and start process fast, wherein, described second stage task comprises at least finishes the required initialization operation of application window.
4. method according to claim 1 is characterized in that, the described unregistered first kind of having created starts process fast and realizes by following operation:
After second application program launching, create the first kind and start process fast, and described first kind startup process is fast carried out the phase I task, wherein, described second application program was requested to start before described first application program, and described phase I task comprises that at least finishing application program creates required initialization operation;
Before after described second application program withdraws from, finishing the second stage task with described first kind startup process fast, receive the startup request of described first application program, the described first kind starts process fast and does not register, wherein, described second stage task comprises at least and finishes the required initialization operation of application window.
5. according to each described method of claim 1 to 4, it is characterized in that the described registered first kind starts process fast and finished required initialization operation and the required initialization operation of application window of application program establishment at least before being called.
6. according to each described method of claim 1 to 4, it is characterized in that described registered second type starts process fast and finished the required initialization operation of application program establishment at least before being called.
7. the starting drive of an application program of mobile phone is characterized in that, comprising:
Receiver module is used to receive the startup request of application program of self terminal and the log-on message that comprises the application program launching sign;
First judge module is used for judging whether to exist the registered first kind to start process fast after receiving described startup request;
Stop module, be used for not existing the described registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast;
Start module, be used for existing the described registered first kind to start fast under the situation of process, start described application program by described registered first kind startup process fast.
8. device according to claim 7 is characterized in that, further comprises:
Second judge module is used for judging whether to exist registered second type to start process fast after the unregistered first kind that stops having created starts process fast, wherein,
Described startup module also is used for existing described registered second type to start fast under the situation of process, starts described application program by described registered second type startup process fast.
9. the start-up system of an application program of mobile phone is characterized in that, comprising:
Application management device is used to monitor the state of each application program and each starts state of a process fast, and wherein, described quick startup process comprises that the first kind starts process fast;
The application start device is used for starting described application program by described quick startup process, and wherein, described application start device further comprises,
First receiver module, be used to receive self terminal first application program the startup request and from the Query Result of described application management device;
First judge module is used for judging whether to exist the registered described first kind to start process fast according to described Query Result after receiving described startup request;
Stop module, be used for not existing the described registered first kind to start fast under the situation of process, the unregistered first kind that stops having created starts process fast;
Start module, be used for existing the described registered first kind to start fast under the situation of process, start described application program by described registered first kind startup process fast;
First sending module is used for sending query requests to inquire about quick startup state of a process to described application management device.
10. system according to claim 9 is characterized in that, the quick startup process of described application management device monitoring comprises that also second type starts process fast, and described application start device further comprises:
Second judge module is used for that basis judges whether to exist registered second type to start process fast from described Query Result after the unregistered first kind that stops having created starts process fast, wherein,
Described startup module also is used for existing described registered second type to start fast under the situation of process, starts described application program by described registered second type startup process fast.
11., it is characterized in that described application management device further comprises according to claim 9 or 10 described systems,
Second receiver module, be used to receive first log-on message from quick startup process, from second log-on message of application program and from the query requests of described application start device, wherein, described first log-on message comprises quick startup process type sign at least, and described second log-on message comprises the application program launching sign at least;
Memory module is used to store the described log-on message that is received by described second receiver module;
Second sending module is used to send Query Result to described application start device.
CN200910160177A 2009-07-24 2009-07-24 Starting method, device and system of mobile phone application program Active CN101610316B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910160177A CN101610316B (en) 2009-07-24 2009-07-24 Starting method, device and system of mobile phone application program
PCT/CN2010/073719 WO2011009346A1 (en) 2009-07-24 2010-06-09 Mobile phone application starting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910160177A CN101610316B (en) 2009-07-24 2009-07-24 Starting method, device and system of mobile phone application program

Publications (2)

Publication Number Publication Date
CN101610316A true CN101610316A (en) 2009-12-23
CN101610316B CN101610316B (en) 2012-10-10

Family

ID=41483889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910160177A Active CN101610316B (en) 2009-07-24 2009-07-24 Starting method, device and system of mobile phone application program

Country Status (2)

Country Link
CN (1) CN101610316B (en)
WO (1) WO2011009346A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011009346A1 (en) * 2009-07-24 2011-01-27 中兴通讯股份有限公司 Mobile phone application starting method, device and system
CN102081504A (en) * 2011-01-26 2011-06-01 惠州Tcl移动通信有限公司 Method and device for rapidly launching application programs of mobile phone
CN102122249A (en) * 2011-02-22 2011-07-13 中兴通讯股份有限公司 Java application program starting method and Java application program starting device
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN103067597A (en) * 2013-01-05 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal startup task execution method
CN104077151A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Method for fast starting network application and electronic equipment
CN104750553A (en) * 2013-12-30 2015-07-01 广州华多网络科技有限公司 Application operating method and device
CN104899052A (en) * 2014-03-07 2015-09-09 可牛网络技术(北京)有限公司 Startup method and startup device of application software home page
CN106874020A (en) * 2015-12-10 2017-06-20 五八同城信息技术有限公司 Start the method and device of plug-in unit
WO2017157175A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Application starting method and apparatus, and smart terminal
CN107368343A (en) * 2017-08-21 2017-11-21 广州创维平面显示科技有限公司 A kind of starting up of terminal method, terminal and storage medium based on Android system
CN103677922B (en) * 2013-12-13 2018-01-09 北京奇虎科技有限公司 The method and apparatus started to application software
CN108566424A (en) * 2018-04-11 2018-09-21 深圳市腾讯网络信息技术有限公司 Dispatching method, device and system based on server resource consumption forecast
CN109885340A (en) * 2019-01-10 2019-06-14 北京字节跳动网络技术有限公司 A kind of application program cold start-up accelerated method, device, electronic equipment
CN112181516A (en) * 2020-09-24 2021-01-05 武汉深之度科技有限公司 Application software execution method and computing device
CN113722011A (en) * 2021-09-01 2021-11-30 广州市百果园网络科技有限公司 Application interface starting method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4771823B2 (en) * 2006-02-10 2011-09-14 ソフトバンクモバイル株式会社 Portable information system, portable information terminal, communication program, and communication method
CN101222709B (en) * 2008-01-22 2011-08-10 中兴通讯股份有限公司 Fast starting method of mobile phone application program
CN101610316B (en) * 2009-07-24 2012-10-10 中兴通讯股份有限公司 Starting method, device and system of mobile phone application program

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011009346A1 (en) * 2009-07-24 2011-01-27 中兴通讯股份有限公司 Mobile phone application starting method, device and system
CN102081504A (en) * 2011-01-26 2011-06-01 惠州Tcl移动通信有限公司 Method and device for rapidly launching application programs of mobile phone
CN102122249A (en) * 2011-02-22 2011-07-13 中兴通讯股份有限公司 Java application program starting method and Java application program starting device
CN102929532B (en) * 2012-09-29 2015-07-22 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN103067597A (en) * 2013-01-05 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal startup task execution method
CN103067597B (en) * 2013-01-05 2014-06-04 广东欧珀移动通信有限公司 Mobile terminal startup task execution method
CN104077151A (en) * 2013-03-26 2014-10-01 联想(北京)有限公司 Method for fast starting network application and electronic equipment
CN104077151B (en) * 2013-03-26 2017-11-24 联想(北京)有限公司 The method and electronic equipment of fast start network application
CN103677922B (en) * 2013-12-13 2018-01-09 北京奇虎科技有限公司 The method and apparatus started to application software
CN104750553A (en) * 2013-12-30 2015-07-01 广州华多网络科技有限公司 Application operating method and device
CN104750553B (en) * 2013-12-30 2019-03-15 广州华多网络科技有限公司 Using operation method and device
CN104899052A (en) * 2014-03-07 2015-09-09 可牛网络技术(北京)有限公司 Startup method and startup device of application software home page
CN106874020A (en) * 2015-12-10 2017-06-20 五八同城信息技术有限公司 Start the method and device of plug-in unit
CN106874020B (en) * 2015-12-10 2021-02-02 五八同城信息技术有限公司 Method and device for starting plug-in
US10846101B2 (en) 2016-03-15 2020-11-24 Alibaba Group Holding Limited Method and system for starting up application
WO2017157175A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Application starting method and apparatus, and smart terminal
CN107368343A (en) * 2017-08-21 2017-11-21 广州创维平面显示科技有限公司 A kind of starting up of terminal method, terminal and storage medium based on Android system
CN107368343B (en) * 2017-08-21 2021-03-26 创维集团智能科技有限公司 Terminal starting method based on android system, terminal and storage medium
CN108566424A (en) * 2018-04-11 2018-09-21 深圳市腾讯网络信息技术有限公司 Dispatching method, device and system based on server resource consumption forecast
CN109885340A (en) * 2019-01-10 2019-06-14 北京字节跳动网络技术有限公司 A kind of application program cold start-up accelerated method, device, electronic equipment
CN109885340B (en) * 2019-01-10 2022-06-10 北京字节跳动网络技术有限公司 Application cold start acceleration method and device and electronic equipment
CN112181516A (en) * 2020-09-24 2021-01-05 武汉深之度科技有限公司 Application software execution method and computing device
CN113722011A (en) * 2021-09-01 2021-11-30 广州市百果园网络科技有限公司 Application interface starting method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2011009346A1 (en) 2011-01-27
CN101610316B (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN101610316B (en) Starting method, device and system of mobile phone application program
CN101222709B (en) Fast starting method of mobile phone application program
CN103425225B (en) Application programmer in portable data device operating system and operation method thereof
CN102830996B (en) A kind of fast starting method of handheld device
CN106227582B (en) Elastic telescopic method and system
US20130115940A1 (en) Method and Apparatus for Downloading a File Based on WIFI
CN102591726A (en) Multiprocess communication method
CN104991824A (en) Method and system for dynamically switching application program data sources
CN100442897C (en) Terminal and server communication method, system and device
CN102023899B (en) Multithreaded data synchronization method and device
CN110865824A (en) Android permeation method and device for realizing silence installation based on barrier-free service
CN101770378A (en) Method for configuring computer by BIOS (Basic Input/Output System), server and computer
CN110750284B (en) Application quick starting method, terminal and computer readable storage medium
CN104702534A (en) Method and device for processing data of multi-process sharing port
CN115550354A (en) Data processing method and device and computer readable storage medium
CN106550021B (en) Push method and device for push message
CN105589738A (en) Concurrent processing method of intelligent split screen and corresponding intelligent terminal
WO2022247934A1 (en) Paging method and device, electronic device, and storage medium
CN114327797A (en) Data collaborative initialization method and device, equipment and medium thereof
CN110389791B (en) Component scheduling method, device, equipment and storage medium
CN102693434A (en) Communication apparatus and method for interface layer of radio frequency identification device
CN109413489B (en) Serial multi-thread bullet screen distribution method, device, equipment and storage medium
CN116107687A (en) Cluster resource automatic telescoping method, device and system
CN102122249A (en) Java application program starting method and Java application program starting device
CN105528226A (en) Method and apparatus for starting intelligent terminal

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